Kernel panic:Unable to mount root fs (2.6.0-test5)
Mr. Spaggari,
Quoted 20 lines
(as you can see, i'm a newbie of english speeking, and linux-kernel posting, so, excuse me if this is a duplicate contribution, I have search on the web and on the archive and fine nothing about this error.)
Error message :
VFS : Cannot open root device "302" or unknown-block(3,2) Please append a corect "root=" boot optionKernel panic: VFS: Unable to mount root fs on unknown-block(3,2)Kernel version : 2.6.0-test5
System : Toshiba Satellite laptop
More information : Linux is installe on /deh/hda2. There 2 other kernel on this computer. A 2.2.20 and a 2.4.22, both of them working fine. Ia have try many differend option for compile the kernel, but never working any more. My
/dev/hda2is on ext3.
Quoted 4 lines
I will try soon on my other systems.
I will be hapy if I can help in any kind, so, at this time, i'm going back to 2.4.22. (Need I to poste my .config here ?)
Please do so. Specifically, post the part of your .config which shows how your filesystems are configured. It looks to me like you may have accidentally compiled ext3 as a module; if your / filesystem is ext3, it must be compiled into the kernel in order for the kernel to mount your root filesystem and run /sbin/init.
Quoted 4 lines
Regards,
Jean-Marc Spaggiari (QC.CA)
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 4 lines
Quoted 2 lines
I will be hapy if I can help in any kind, so, at this time, i'm going back to 2.4.22. (Need I to poste my .config here ?)
Quoted 8 lines
Please do so. Specifically, post the part of your .config which shows how your filesystems are configured. It looks to me like you may have accidentally compiled ext3 as a module; if your / filesystem is ext3, it must be compiled into the kernel in order for the kernel to mount your root filesystem and run
/sbin/init.Brad Chapman
Permanent e-mail: [email protected]
I htink I have activated all that's possible in my Kernel :
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not setCONFIG_MINIX_FS=m
# CONFIG_ROMFS_FS is not setCONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not setCONFIG_QUOTACTL=yCONFIG_AUTOFS_FS=yCONFIG_AUTOFS4_FS=y
If you have any suggestion, I can try immediatly an send you feedback fastly.
Thanks,
JMS.
Mr. Spaggari,
Quoted 44 lines · --- Jean-Marc Spaggiari
Quoted 6 lines
Quoted 2 lines
I will be hapy if I can help in any kind, so, at this time, i'm going back to 2.4.22. (Need I to poste my .config here ?)
Please do so. Specifically, post the part of your .config which shows how your filesystems are configured. It looks to me like you may have accidentally
compiled
Quoted 1 line
ext3 as a module; if your / filesystem is ext3, it must be compiled into the
kernel
Quoted 5 lines
in order for the kernel to mount your root filesystem and run
/sbin/init.Brad Chapman
Permanent e-mail: [email protected]
I htink I have activated all that's possible in my Kernel :
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_JBD=y
#CONFIG_JBD_DEBUGis not setCONFIG_FS_MBCACHE=y
#CONFIG_REISERFS_FSis not set
#CONFIG_JFS_FSis not setCONFIG_FS_POSIX_ACL=y
#CONFIG_XFS_FSis not setCONFIG_MINIX_FS=m
#CONFIG_ROMFS_FSis not setCONFIG_QUOTA=y
#CONFIG_QFMT_V1is not set
#CONFIG_QFMT_V2is not setCONFIG_QUOTACTL=yCONFIG_AUTOFS_FS=yCONFIG_AUTOFS4_FS=y
Quoted 2 lines
If you have any suggestion, I can try immediatly an send you feedback fastly.
Can you send more of the dmesg that comes from 2.6 when you try to boot it? (i.e. send more lines of it than the last few)
Quoted 5 lines
Thanks,
JMS.
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 6 lines · Bradley Chapman
Can you send more of the dmesg that comes from 2.6 when you try to boot it? (i.e. send more lines of it than the last few)
Please, can you explain me how can I do that ? BEcause when I'm starting with 2.6 kernel, it's hanging will starting, and when I'm starting with 2.4.22 kernel, only informations about 2.4.22 is show by dmesg ... (If the 2.6 can't mounty the /, maybe it's why it can't write information for dmesg on ?)
Here is what I can see on the screen :
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: Realtek RTL8139 at 0xe3809f00, 00:08:0d:89:3c:38, IRQ 5
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
Firware: 5.9
Sensor: 15
ne absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60, 0x64 irq 1
NET: Registred protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registerd protocol family 1
VFS: Cannont open root device "302" or unknown-block(3,2) Please append a correct "root=" boot option
Kernel panics: VFS: Unable to mount root fr onunknown-block(3,2)
That's all. I will try to modify the number of line of the screen in the bis for seeing more information, but I can't promise anythinks ...
JMS.
Mr. Spaggari,
Quoted 9 lines · --- Jean-Marc Spaggiari
Quoted 6 lines · Bradley Chapman
Can you send more of the dmesg that comes from 2.6 when you try to boot it? (i.e. send more lines of it than the last few)
Quoted 5 lines
Please, can you explain me how can I do that ? BEcause when I'm starting with 2.6 kernel, it's hanging will starting, and when I'm starting with 2.4.22 kernel, only informations about 2.4.22 is show by dmesg ... (If the 2.6 can't mounty the /, maybe it's why it can't write information for dmesg on ?)
You're correct. What you've posted on the screen is exactly what I wanted, thanks :)
Quoted 26 lines
Here is what I can see on the screen :
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: Realtek RTL8139 at0xe3809f00, 00:08:0d:89:3c:38, IRQ 5
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
Firware: 5.9
Sensor: 15
ne absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at0x60,0x64irq 1
NET: Registred protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registerd protocol family 1
VFS: Cannont open root device "302" or unknown-block(3,2) Please append a correct "root=" boot option
Quoted 1 line
Kernel panics: VFS: Unable to mount root fr onunknown-block(3,2)
I don't understand this "unknown-block" thing; I've never seen it before on a 2.4 kernel. Grepping the source of a 2.6.0-test5-mm4 kernel, which is what I use, shows that the "unknown-block" message comes from this function:
const char *__bdevname(dev_t dev, char *buffer)
{
struct gendisk *disk;
int part;
disk = get_gendisk(dev, &part);
if (disk) {
buffer = disk_name(disk, part, buffer);
put_disk(disk);
} else {
snprintf(buffer, BDEVNAME_SIZE, "unknown-block(%u,%u)",
MAJOR(dev), MINOR(dev));
}
return buffer;
}Which is completely out of my league.
At this point I'd try 2.6.0-test5-mm4 (available at [www,ftp].kernel.org/pub/linux/ kernel/people/akpm/patches/2.6/2.6.0-test5/2.6.0-test5-mm4/2.6.0-test5-mm4.[bz2,gz]) or appeal to one of the Block Device Overlords, like Jens Axboe, for help.
Quoted 6 lines
That's all. I will try to modify the number of line of the screen in the bis for seeing more information, but I can't promise anythinks ...
JMS.
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 8 lines · Bradley Chapman
Which is completely out of my league.
At this point I'd try 2.6.0-test5-mm4 (available at [www,ftp].kernel.org/pub/linux/ kernel/people/akpm/patches/2.6/2.6.0-test5/2.6.0-test5-mm4/2.6.0-test5-mm4.[bz2,gz]) or appeal to one of the Block Device Overlords, like Jens Axboe, for help.
Brad
Thanks for your help. I have download the mm4 patch, but don't know how to install it. And can you explain me how can I send a request to Jens Axboe or other Block Device Overlords ?
JMS.
Quoted 25 lines · Jean-Marc Spaggiari
Here is what I can see on the screen :
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: Realtek RTL8139 at0xe3809f00, 00:08:0d:89:3c:38, IRQ 5
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
Firware: 5.9
Sensor: 15
ne absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at0x60,0x64irq 1
NET: Registred protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registerd protocol family 1
VFS: Cannont open root device "302" or unknown-block(3,2) Please append a correct "root=" boot option
Quoted 1 line
Kernel panics: VFS: Unable to mount root fr onunknown-block(3,2)
Which has one interesting thing and doesn't have another.
1) kernel has no idea WTF major 3/minor 2 means.
2) kernel hadn't even tried to look around for IDE disks
The most likely cause: IDE support is not turned on. Check your .config - the interesting parts are CONFIG_BLK_DEV_IDE and CONFIG_BLK_DEV_IDEDISK.
Mr. Viro,
Quoted 29 lines · --- [email protected] wrote:
Quoted 25 lines · Jean-Marc Spaggiari
Here is what I can see on the screen :
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: Realtek RTL8139 at0xe3809f00, 00:08:0d:89:3c:38, IRQ 5
mice: PS/2 mouse device common for all mice
Synaptics Touchpad, model: 1
Firware: 5.9
Sensor: 15
ne absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at0x60,0x64irq 1
NET: Registred protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registerd protocol family 1
VFS: Cannont open root device "302" or unknown-block(3,2) Please append a correct "root=" boot optionQuoted 1 line
Kernel panics: VFS: Unable to mount root fr onunknown-block(3,2)
Quoted 6 lines
Which has one interesting thing and doesn't have another.
1) kernel has no idea WTF major 3/minor 2 means.
2) kernel hadn't even tried to look around for IDE disksThe most likely cause: IDE support is not turned on. Check your .config - the interesting parts are
CONFIG_BLK_DEV_IDEandCONFIG_BLK_DEV_IDEDISK.
I never thought of that. But if he had used make oldconfig, make xconfig or copied a 2.4 .config into the source tree, how would CONFIG_BLK_DEV_IDE and CONFIG_BLK_DEV_IDEDISK end up N?
Brad
=====
Brad Chapman
Permanent e-mail: [email protected]
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com