Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot errors after first update in quite some time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Sat Apr 21, 2007 1:17 pm    Post subject: boot errors after first update in quite some time Reply with quote

Hi all,

I have a machine that hasn't been updated in quite some time, and now I have a couple of issues:

#1 - I get an error "unable to unmount /tmp/.initrd - device is busy", and mount shows:

Code:
$ mount | grep initrd
/dev/root on /tmp/.initrd type ext2 (rw)
none on /tmp/.initrd/dev type devfs (rw)
proc on /tmp/.initrd/proc type proc (rw)


I get device busy if I try to unmount it manually.

#2 - Another error - "/etc/modules.conf is more recent than /lib/modules/2.4.34.2/modules.dep"
from insmod and modprobe

it suggests to run "update-modules force", which I have done several times now to no avail.

Any help is greatly appreciated!

TIA
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sat Apr 21, 2007 1:47 pm    Post subject: Reply with quote

What have you updated?
Back to top
View user's profile Send private message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Sat Apr 21, 2007 1:50 pm    Post subject: Reply with quote

Sorry, I updated the kernel to 2.4.32.2.

My concern is that these errors may have been there before, I just never watch this thing boot :(

I thought that the umount thing may have had something to do with my grub.conf, but nothing is jumping out at me:
Code:
title=Gentoo Linux 2.4.34.2
root (hd0,0)
kernel /kernel-genkernel-x86-2.4.34.2 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc ramdisk_size=8192
initrd /initrd-genkernel-x86-2.4.34.2
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sat Apr 21, 2007 1:55 pm    Post subject: Reply with quote

I heard that genkernel now used initramfs, even though the man pages appear not have been updated. I also heard some of those grub options have been deprecated, if I get to find the post that said that I'll post here.
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sat Apr 21, 2007 1:56 pm    Post subject: Reply with quote

Lol, it was actually easy to find:

https://forums.gentoo.org/viewtopic-t-553421-highlight-.html
Back to top
View user's profile Send private message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Sat Apr 21, 2007 2:04 pm    Post subject: Reply with quote

ok, so I guess I'm going to try:
Code:

title=Gentoo Linux 2.4.34.2
root (hd0,0)
kernel /kernel-genkernel-x86-2.4.34.2 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc ramdisk_size=8192


just removing the initrd?

make sense?
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sat Apr 21, 2007 2:07 pm    Post subject: Reply with quote

you better study that better, I don't know exactly what they updated (but no, you shouldn't delete that i think, how does the bootloader know where is your initial system?)
Back to top
View user's profile Send private message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Sat Apr 21, 2007 2:12 pm    Post subject: Reply with quote

k, I saw the
Quote:
Wrong, gentoo-sources don't need a initrd
and just assumed...

do you have a working example?

I'll go read more. :)
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sat Apr 21, 2007 2:16 pm    Post subject: Reply with quote

afraid not, google :P
Back to top
View user's profile Send private message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Sat Apr 21, 2007 2:22 pm    Post subject: Reply with quote

ok, so from https://forums.gentoo.org/viewtopic-t-497930.html

Code:

title=Test
kernel /kernel-genkernel-x86-2.4.34.2 root=/dev/hda3


boots and does not leave any mounts behind. :)

any thoughts on problem #2?
Quote:
#2 - Another error - "/etc/modules.conf is more recent than /lib/modules/2.4.34.2/modules.dep"
from insmod and modprobe

it suggests to run "update-modules force", which I have done several times now to no avail.


Thanks a ton for the help thus far :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum