Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Go on kernel-2.6.x did not leave. Please help!!!
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
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 10:12 am    Post subject: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Hi everyone!
I had the kernel 2.4.26-gentoo-r6. I have solved to move to kernel 2.6.9
Did as it is written here - http://www.gentoo.org/doc/en/migration-to-2.6.xml. Kernel it was compiled orderly, in grub.conf has prescribed such parameters:
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo-2.6.9-r6
root(hd0,0)
kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.6.9-gentoo-r6

But such message is given when loading:
>> Determining root device...
>>Block device /dev/hda3 is not a valid root device...
>>The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
boot() ::

Wanted is loaded with old kernel, it was loaded, but ceased loads network interfaces, writes that not device is found /dev/eth0
Advise, is honoured it is necessary to do.
Is it Beforehand thanked for answer.
Back to top
View user's profile Send private message
Cosmin
Guru
Guru


Joined: 18 Dec 2003
Posts: 447
Location: Bucharest, Romania

PostPosted: Fri Dec 03, 2004 10:27 am    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Sirko wrote:

kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
Try to replace that line with
Code:
kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/hda3
and see what happens
[EDIT] Removed the '/linuxrc' part
_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Back to top
View user's profile Send private message
xsteadfastx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2004
Posts: 132
Location: germany/belgium

PostPosted: Fri Dec 03, 2004 10:38 am    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Sirko wrote:
Hi everyone!
I had the kernel 2.4.26-gentoo-r6. I have solved to move to kernel 2.6.9
Did as it is written here - http://www.gentoo.org/doc/en/migration-to-2.6.xml. Kernel it was compiled orderly, in grub.conf has prescribed such parameters:
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo-2.6.9-r6
root(hd0,0)
kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.6.9-gentoo-r6

But such message is given when loading:
>> Determining root device...
>>Block device /dev/hda3 is not a valid root device...
>>The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
boot() ::

Wanted is loaded with old kernel, it was loaded, but ceased loads network interfaces, writes that not device is found /dev/eth0
Advise, is honoured it is necessary to do.
Is it Beforehand thanked for answer.


i had exactly the same problem..you migrated to udev too?
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 11:12 am    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Cosmin wrote:
Sirko wrote:

kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
Try to replace that line with
Code:
kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/hda3
and see what happens
[EDIT] Removed the '/linuxrc' part


Well, has done. Now gives such message:
VFS: Mounted root (ext2 filesystem) - (this beside me boot section /dev/hda1)
Mounted devfs on /dev
/linuxrc has to be run as the init process as the one with a PID of 1. Try adding init="/linuxrc" to the kernel command line or running "exec /linuxrc".
VFS: Cannot open root device "hda3" (this beside me root section /dev/hda3, type reiserfs) or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)


That will advise to do?


Last edited by Sirko on Fri Dec 03, 2004 11:14 am; edited 1 time in total
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 11:14 am    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

xsteadfastx wrote:


i had exactly the same problem..you migrated to udev too?


Yes
Back to top
View user's profile Send private message
Cosmin
Guru
Guru


Joined: 18 Dec 2003
Posts: 447
Location: Bucharest, Romania

PostPosted: Fri Dec 03, 2004 12:21 pm    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Sirko wrote:

kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.6.9-gentoo-r6
When I take a closer look at your grub.conf, I realized you try to specify, for example, "kernel (hd0,0)/boot/kernel-...". If you have the /boot in another partition, you don't need to specify the directory. So you should have only "kernel (hd0,0)/kernel-..." (without the /boot part). In grub you can use autocomplete. When you get the grub menu, type 'E'dit and delete the last part of your "kernel" specification. It's easy, just like bash autocompletion. You'll figure it out.
Also, you still have /devfs compiled in your kernel. I'd advise you recompile your kernel without devfs support. As long as I understand, you want udev instead of devfs (which is a good thing).
Please be aware of the fact that you have to compile reiserfs support IN the kernel, not as a module (or worse, not at all).
So, you have to do 3 things:
1) add support for reiserfs (if it's not already there);
2) remove devfs support (you have udev);
3) use grub's autocomplete to figure out the correct paths.
Please keep us informed.
Good luck!
_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 2:14 pm    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Cosmin wrote:

1) add support for reiserfs (if it's not already there);

Has Added
Cosmin wrote:

2) remove devfs support (you have udev);

I have vamoosed support devfs from kernel
Cosmin wrote:

3) use grub's autocomplete to figure out the correct paths.

But here begins interesting. In an effort do autocomplete is given report on mistake: Error 11: Unrecognized device string. It Was Loaded with old kernel and has checked, there is device hda. The Device there is.

In an effort is loaded with this new kernel are given former reports on mistake.

That will advise to do now?
Back to top
View user's profile Send private message
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Fri Dec 03, 2004 2:36 pm    Post subject: Reply with quote

fstab?
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 2:48 pm    Post subject: Reply with quote

doonkel wrote:
fstab?


/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda3 / reiserfs noatime 0 0
/dev/hda2 /usr reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0

proc /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0
Back to top
View user's profile Send private message
Cosmin
Guru
Guru


Joined: 18 Dec 2003
Posts: 447
Location: Bucharest, Romania

PostPosted: Fri Dec 03, 2004 3:05 pm    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Cosmin wrote:
Sirko wrote:

kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.6.9-gentoo-r6
When I take a closer look at your grub.conf, I realized you try to specify, for example, "kernel (hd0,0)/boot/kernel-...". If you have the /boot in another partition, you don't need to specify the directory. So you should have only "kernel (hd0,0)/kernel-..." (without the /boot part).
Have you done this part?
_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Back to top
View user's profile Send private message
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Fri Dec 03, 2004 3:10 pm    Post subject: Reply with quote

/dev/hda3 / reiserfs noatime,notail 0 1

------------------------------------------

/dev/hda2 /usr reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0
WHOT IS THIS?
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 3:17 pm    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Cosmin wrote:
Cosmin wrote:
Sirko wrote:

kernel (hd0,0)/boot/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc
initrd (hd0,0)/boot/initrd-2.6.9-gentoo-r6
When I take a closer look at your grub.conf, I realized you try to specify, for example, "kernel (hd0,0)/boot/kernel-...". If you have the /boot in another partition, you don't need to specify the directory. So you should have only "kernel (hd0,0)/kernel-..." (without the /boot part).
Have you done this part?


Yes. Result such - or Kernel panic (when root (hd0,0)/kernel-2.6.9-gentoo-r6 root=/dev/hda3) or report on that that Block device /dev/hda3 is not a valid root device ... Please specify a device to boot, or "shell" for a shell (when root (hd0,0)/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3)
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 3:21 pm    Post subject: Reply with quote

doonkel wrote:
/dev/hda3 / reiserfs noatime,notail 0 1

------------------------------------------

/dev/hda2 /usr reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0
WHOT IS THIS?


My fstab. He wrong? Prompt, as it is correct, shall is much thanked (I beginner.....) Tried to do all on official gentoo-x86-install.
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Fri Dec 03, 2004 3:25 pm    Post subject: Reply with quote

doonkel wrote:
/dev/hda3 / reiserfs noatime,notail 0 1

------------------------------------------

/dev/hda2 /usr reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0
WHOT IS THIS?


Apologize, mistaken. The Correct variant:
/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda3 / reiserfs noatime 0 0
/dev/hda4 /usr reiserfs noatime 0 0
/dev/hda2 none swap sw 0 0

proc /proc proc defaults 0 0

none /dev/shm tmpfs defaults 0 0
Back to top
View user's profile Send private message
Cosmin
Guru
Guru


Joined: 18 Dec 2003
Posts: 447
Location: Bucharest, Romania

PostPosted: Fri Dec 03, 2004 4:23 pm    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Sirko wrote:
Yes. Result such - or Kernel panic (when root (hd0,0)/kernel-2.6.9-gentoo-r6 root=/dev/hda3) or report on that that Block device /dev/hda3 is not a valid root device ... Please specify a device to boot, or "shell" for a shell (when root (hd0,0)/kernel-2.6.9-gentoo-r6 root=/dev/ram0 real_root=/dev/hda3)
Well, maybe another silly question: have you really emerged udev?
_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Mon Dec 06, 2004 6:25 am    Post subject: Re: Go on kernel-2.6.x did not leave. Please help!!! Reply with quote

Cosmin wrote:
Well, maybe another silly question: have you really emerged udev?


Yes, he I have:
proxy2 root # emerge --search udev
Searching...
[ Result for search key: udev ]
[Application found: 2 ]

* app-text/uudevview
..........

* sys-fs/udev
Latest version available: 045
Latest version installed: 045
Size of downloaded files: 372 kB
Back to top
View user's profile Send private message
Sirko
n00b
n00b


Joined: 03 Dec 2004
Posts: 22
Location: Ukraine

PostPosted: Mon Dec 06, 2004 11:52 am    Post subject: Reply with quote

Can I restore the system with LiveCD that program, which I have remained (not to install whole system, but kernel only)?
If yes, that as?
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