View previous topic :: View next topic |
Author |
Message |
Passa n00b
Joined: 15 Jan 2004 Posts: 20
|
Posted: Tue Oct 05, 2004 3:39 pm Post subject: Problems with kernel 2.6 |
|
|
Can't get kernel 2.6.7-r11 to boot.
Code: |
VFS: Cannot open root device "hdc8" or hdc8
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on hdc8
|
My grub.conf:
Code: |
default 0
timeout 20
splashimage=(hd0,5)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,5)
kernel (hd0,5)/kernel-2.4.22 root=/dev/hdc8
title=Gentoo Linux - dev-sources
root (hd0,5)
kernel (hd0,5)/kernel-2.6.7-gentoo-r11 root=/dev/hdc8
title=Windows XP
rootnoverify (hd0,0)
chainloader +1
|
and my fstab:
Code: | /dev/hdc6 /boot ext2 noauto,noatime 1 2
/dev/hdc8 / reiserfs noatime 0 0
/dev/hdc7 none swap sw 0 0
/dev/hdc9 /home reiserfs noatime 0 1
/dev/hdc10 /usr reiserfs noatime 0 1
/dev/hdc11 /var reiserfs noatime 0 1
/dev/hdc12 /tmp reiserfs noatime 0 1
/dev/cdroms/cdrom0 /dvdrom auto noauto,ro,user 0 0
|
Reiser fs is build in kernel. Kernel 2.4 works fine. I think this is a common problem but didn't find old topic that would have helped me =(. _________________ Google is my friend. |
|
Back to top |
|
|
obmun n00b
Joined: 17 Jan 2004 Posts: 66 Location: Europe (Spain)
|
Posted: Tue Oct 05, 2004 4:11 pm Post subject: |
|
|
Are you sure the root partition is hdc8 and not hda8? As grub launches the kernel I'm supposing grub hd0 is correct. And as you have in fstab all entries using hdc ... I suppose boot partition and root partition are on the same harddisk. |
|
Back to top |
|
|
Passa n00b
Joined: 15 Jan 2004 Posts: 20
|
Posted: Tue Oct 05, 2004 4:16 pm Post subject: Think so... |
|
|
Kernel 2.4.22 works fine with hdc8 and boot it says:
Code: |
hdc: MAXTOR 6L060J3, ATA DISK drive
|
when booting. _________________ Google is my friend. |
|
Back to top |
|
|
obmun n00b
Joined: 17 Jan 2004 Posts: 66 Location: Europe (Spain)
|
Posted: Tue Oct 05, 2004 4:42 pm Post subject: |
|
|
Funny! Then I'm missing something. Grub manual says you should have that set as (hd2,x) and not (hd0,x) (and my grubs works with (hd1) being my harddisk hdb) ... maybe bios boot order change? |
|
Back to top |
|
|
Passa n00b
Joined: 15 Jan 2004 Posts: 20
|
Posted: Tue Oct 05, 2004 5:15 pm Post subject: not really |
|
|
Hdc is hd0 because it is the first (and only) hard disk. Hda and hdb are cdroms. _________________ Google is my friend. |
|
Back to top |
|
|
obmun n00b
Joined: 17 Jan 2004 Posts: 66 Location: Europe (Spain)
|
Posted: Tue Oct 05, 2004 6:16 pm Post subject: |
|
|
Ok. Now forget my last two messages.
Question: have u activated the generic IDE chipset support in the devices/ata section? If not, try adding it (also with your specific chipset driver). |
|
Back to top |
|
|
Passa n00b
Joined: 15 Jan 2004 Posts: 20
|
Posted: Tue Oct 05, 2004 6:32 pm Post subject: yes sir |
|
|
yes... _________________ Google is my friend. |
|
Back to top |
|
|
verlane24 Tux's lil' helper
Joined: 18 May 2004 Posts: 75 Location: Springfield, MO
|
Posted: Tue Oct 05, 2004 7:07 pm Post subject: |
|
|
Did you enable support for PC/MSDOS partitions in the kernel.....
I didn't during a 2.6 kernel config and had a very similar error.
good luck |
|
Back to top |
|
|
Passa n00b
Joined: 15 Jan 2004 Posts: 20
|
Posted: Tue Oct 05, 2004 7:17 pm Post subject: Damn |
|
|
Did that too... But all suggestions are good suggestions... _________________ Google is my friend. |
|
Back to top |
|
|
obmun n00b
Joined: 17 Jan 2004 Posts: 66 Location: Europe (Spain)
|
Posted: Wed Oct 06, 2004 3:26 pm Post subject: |
|
|
Try to isolate the problem.
It's because of kernel 2.6.7? Other 2.6.x version works? Have you ever launched 2.6.x in that computer or you're upgrading now from 2.4?
Can you boot using other root partition (for example one in ext2 or ext3)? Dev problems? I imagine you have an IDE controller (you're using hda and not sda), so no SATA problems should be causing this.
Try to compile all drivers in kernel (if you're not doing that already). I have no more ideas, sorry. |
|
Back to top |
|
|
UTgamer Veteran
Joined: 10 Aug 2003 Posts: 1326 Location: Troisdorf (Köln) Deutschland
|
Posted: Thu Oct 07, 2004 9:14 am Post subject: |
|
|
I do have with 2.6.8-gentoo-r5 exactly the same problem, 2.4.x do work fine with same grub settings, here are my error messages:
Code: | VFS: Cannot open root device "hda7" or unknown-block (3,7)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on an unknown-block (3-7) |
My device map settings:
Code: | (fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/ataraid/d0
(hd3) /dev/ataraid/d1 |
My Grub settings:
Code: | title Gentoo
root (hd0,0)
kernel (hd0,0)/gentoo-2.6.8-r5 root=/dev/hda7 apic=off
title Gentoo (alter Kernel)
root (hd0,0)
kernel (hd0,0)/gentoo-2.4.26-r9 root=/dev/hda7 apic=off hdc=ide-scsi hdclun=0 hdd=ide-scsi hddlun=0 |
The ATAraid harddrives I did disconnect for testing, that did not change anything.
Whilst kernel booting it do show me all harddrives printed onto the console. _________________ AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.
Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748 |
|
Back to top |
|
|
|