LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-27-2004, 03:31 PM   #1
randum9
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
can't install new kernels! umount hangs


Hello all,
Recently my fedora installation stopped wanting to let me install a new kernel, whether by rpm or manual compile. When I do a kernel rpm, it gets to 100% then never exits - top shows there is a umount process taking 100% cpu, and it seems unkillable. So I tried building the kernel I wanted from source, which worked fine, untill I got to 'make install' at which point it did the same thing (with the unkillable 'umount' eating all free cpu). The last line output by the make install is the following:

sh -x ./install.sh 2.4.24-1.ll.rhfc1.ccrmacustom bzImage /usr/src/linux-2.4.24-1.ll.rhfc1.ccrma/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 2.4.24-1.ll.rhfc1.ccrmacustom bzImage /usr/src/linux-2.4.24-1.ll.rhfc1.ccrma/System.map ''

Thats where it hangs, indefinitely, with the umount going.

as you can see from the kernel version #, this was a non-stock kernel, although this happens for any kernel, even stock.

When I use a kernel rpm, no entry gets written to grub prior to it hanging.... with a manually built one, it does, however upon trying to boot to the new grub entry results in an error (something about pivotroot and /proc/somethingorother... sorry, can't copy and paste the entire error from there - if its useful, let me know and I can copy the whole thing down).

I'm not sure what would have to be umount'ed in the process of installing a kernel - perhaps if I did I might be able to figure out why its failing.

Any ideas anyone? Any help at all is appreciated.
 
Old 01-27-2004, 03:59 PM   #2
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
'make install' installs the kernel into LILO, so grub will definately have problems. Solution: Don't use 'make install'. Manually install the kernel (copy bzImage to /boot/vmlinuz and System.map to /boot/System.map, and put it into grub however you're supposed to (I'm not sure)).

P.S. DON'T DOUBLE POST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pick 1 category!
 
Old 01-27-2004, 04:27 PM   #3
randum9
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,
thanks for the reply, sorry about the crosspost, I wasn't sure which category was appropriate.

I'm not building from kernel.org source, this is a fedora kernel source... and fedora uses grub, so I would think thats where they would have their build scripts put it - and in fact is DOES seem to be doing so.

Any idea what it would be attempting to umount in the process of installing the kernel? Or what could cause umount to hang, eating 100% cpu?
 
Old 01-27-2004, 07:19 PM   #4
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
Sorry, duh, Fedora kernel. Unfortunately, I don't use Fedora and I have no idea why it would give you a umount hang. Can you run mount before and after/during the install so we can see what's actually mounted at the time? Note also that the problem may not be expressly with umount - e.g. umount could have become a ghost or orphan process (so it can't shut itself down). Also, anything interesting in /var/log/syslog or /var/log/messages or /var/log/[any kernel log or installer log]?

Fedora experts - any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 10.1 won't let me install kernels from cd 2 dave`2005 Slackware 5 10-07-2005 06:23 AM
Building driver modules to work with Install kernels? Erik_FL Slackware 4 10-06-2005 09:05 PM
GRUB commands during install (kernels?) out_of_my_depth Linux - Newbie 2 02-25-2005 01:14 PM
2 disc install, can't umount 1st to continue install with 2nd redbeansnrice Linux - Software 6 09-01-2004 03:14 PM
can't install new kernels! umount hangs randum9 Linux - Software 2 01-27-2004 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration