LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-08-2012, 03:41 PM   #1
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Rep: Reputation: Disabled
Seg fault, Fedora 17 upgrade kernel?


So I follow the instructions on the Fedora page to use preupgrade to convert my system to Fedora 17. It doesn't work. Perhaps the problem is related to this:

grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /upgrade/vmlinuz
kernel /upgrade/vmlinuz
[Linux-bzImage, setup=0x4000, size=0x3dbf60]
Segmentation fault


Any suggestions?

mjb.
 
Old 07-08-2012, 05:57 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Sounds like a corrupt image, I'd clean up and try again - and if all else fails you could always use the preferred "clean install" method.
 
Old 07-08-2012, 11:50 PM   #3
aijazbaig1
LQ Newbie
 
Registered: Jun 2007
Location: Mumbai, India
Distribution: centos, opensuse
Posts: 15

Rep: Reputation: 0
Hi

Could you please elaborate a little about how you arrived at this conclusion that the image is corrupt? Perhaps for educational purposes.

Also, the size of the kernel image is around 4MB (as per the above). How can be kernel be so small (assuming its a regular desktop for which it was built). May be it is an embedded system and they might have customized the kernel according to their constraints? Or is there something else you think?
 
Old 07-09-2012, 06:08 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
It wasn't a conclusion, it was just a guess. I guessed that the boot loader would attempt to load the image into memory and test it for validity - the fact that it raised a seg fault seemed to indicate that something was wrong with the image.
 
Old 07-10-2012, 12:29 AM   #5
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
No longer an issue

I decided to go from 11 to 17 in smaller steps, not all at once, and everything worked. Well, almost, now the machine boots but won't display anything, even though one can log in using ssh from another host. But that is not a kernel issue, most likely.

Thanks for the assistance.

mjb.
 
Old 07-10-2012, 01:48 AM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
<bleep> .. you didn't say you were upgrading from Fed 11, I highly recommend a fresh install.
 
Old 07-10-2012, 08:23 PM   #7
mjbradakis
Member
 
Registered: Apr 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
I did end up starting from a fresh install of 15 from a disk I had. The day I started the upgrade project I was also dealing with a clogged main sewer line, so my focus was a bit scattered. Things are much better now, both sewer and software.

Next time I'll provide more specific details.

mjb.
 
Old 07-10-2012, 09:35 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i would not even try to Upgrade from fedora 15 to 17

the fedora 11 to 17 upgrade will NEVER have worked well

download a fedora 17 install dvd and do a clean fresh NEW install of fedora 17
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seg fault / mem fault - in cron, but works in shell? kauaikat Red Hat 1 04-29-2008 04:24 PM
seg fault / mem fault - in cron, but works in shell? kauaikat Linux - Software 1 04-29-2008 08:21 AM
seg fault on fedora only dh0104 Programming 3 03-26-2005 12:57 PM
C seg fault drigz Programming 5 10-01-2004 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration