linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
@ 2003-09-27 14:51 Bradley Chapman
  2003-09-27 15:47 ` Jean-Marc Spaggiari
  0 siblings, 1 reply; 9+ messages in thread
From: Bradley Chapman @ 2003-09-27 14:51 UTC (permalink / raw)
  To: Jean-Marc; +Cc: linux-kernel

Mr. Spaggari,

> (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 option
> Kernel 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/hda2
> is on ext3.
>
> 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.

> 
> Regards,
>
> Jean-Marc Spaggiari (QC.CA)

Brad

=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 14:51 Kernel panic:Unable to mount root fs (2.6.0-test5) Bradley Chapman
@ 2003-09-27 15:47 ` Jean-Marc Spaggiari
  2003-09-27 16:24   ` Bradley Chapman
  0 siblings, 1 reply; 9+ messages in thread
From: Jean-Marc Spaggiari @ 2003-09-27 15:47 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: linux-kernel

>>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.
>
> Brad Chapman
> 
> Permanent e-mail: kakadu_croc@yahoo.com

I htink I have activated all that's possible in my Kernel :

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
CONFIG_MINIX_FS=m
# CONFIG_ROMFS_FS is not set
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y

If you have any suggestion, I can try immediatly an send you feedback 
fastly.

Thanks,

JMS.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 15:47 ` Jean-Marc Spaggiari
@ 2003-09-27 16:24   ` Bradley Chapman
  2003-09-27 16:48     ` Jean-Marc Spaggiari
  0 siblings, 1 reply; 9+ messages in thread
From: Bradley Chapman @ 2003-09-27 16:24 UTC (permalink / raw)
  To: Jean-Marc Spaggiari; +Cc: linux-kernel

Mr. Spaggari,

--- Jean-Marc Spaggiari <Jean-Marc@Spaggiari.org> wrote:
> >>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.
> >
> > Brad Chapman
> > 
> > Permanent e-mail: kakadu_croc@yahoo.com
> 
> I htink I have activated all that's possible in my Kernel :
> 
> #
> # File systems
> #
> CONFIG_EXT2_FS=y
> CONFIG_EXT2_FS_XATTR=y
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
> CONFIG_EXT3_FS=y
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y
> CONFIG_JBD=y
> # CONFIG_JBD_DEBUG is not set
> CONFIG_FS_MBCACHE=y
> # CONFIG_REISERFS_FS is not set
> # CONFIG_JFS_FS is not set
> CONFIG_FS_POSIX_ACL=y
> # CONFIG_XFS_FS is not set
> CONFIG_MINIX_FS=m
> # CONFIG_ROMFS_FS is not set
> CONFIG_QUOTA=y
> # CONFIG_QFMT_V1 is not set
> # CONFIG_QFMT_V2 is not set
> CONFIG_QUOTACTL=y
> CONFIG_AUTOFS_FS=y
> CONFIG_AUTOFS4_FS=y
> 
> 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)

> 
> Thanks,
> 
> JMS.
> 

Brad


=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 16:24   ` Bradley Chapman
@ 2003-09-27 16:48     ` Jean-Marc Spaggiari
  2003-09-27 16:57       ` Bradley Chapman
  2003-09-27 17:29       ` viro
  0 siblings, 2 replies; 9+ messages in thread
From: Jean-Marc Spaggiari @ 2003-09-27 16:48 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: linux-kernel

Bradley Chapman wrote:

> 
> 
> 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 16:48     ` Jean-Marc Spaggiari
@ 2003-09-27 16:57       ` Bradley Chapman
  2003-09-27 17:10         ` Jean-Marc Spaggiari
  2003-09-27 17:29       ` viro
  1 sibling, 1 reply; 9+ messages in thread
From: Bradley Chapman @ 2003-09-27 16:57 UTC (permalink / raw)
  To: Jean-Marc Spaggiari; +Cc: linux-kernel

Mr. Spaggari,

--- Jean-Marc Spaggiari <Jean-Marc@Spaggiari.org> wrote:
> Bradley Chapman wrote:
> 
> > 
> > 
> > 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 ?)

You're correct. What you've posted on the screen is exactly what I wanted,
thanks :)

> 
> 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)

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.

> 
> 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: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 16:57       ` Bradley Chapman
@ 2003-09-27 17:10         ` Jean-Marc Spaggiari
  0 siblings, 0 replies; 9+ messages in thread
From: Jean-Marc Spaggiari @ 2003-09-27 17:10 UTC (permalink / raw)
  To: Bradley Chapman; +Cc: linux-kernel

Bradley Chapman wrote:

> 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 16:48     ` Jean-Marc Spaggiari
  2003-09-27 16:57       ` Bradley Chapman
@ 2003-09-27 17:29       ` viro
  2003-09-27 18:04         ` Bradley Chapman
  1 sibling, 1 reply; 9+ messages in thread
From: viro @ 2003-09-27 17:29 UTC (permalink / raw)
  To: Jean-Marc Spaggiari; +Cc: Bradley Chapman, linux-kernel

On Sat, Sep 27, 2003 at 12:48:32PM -0400, Jean-Marc Spaggiari wrote:
 
> 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)

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Kernel panic:Unable to mount root fs (2.6.0-test5)
  2003-09-27 17:29       ` viro
@ 2003-09-27 18:04         ` Bradley Chapman
  0 siblings, 0 replies; 9+ messages in thread
From: Bradley Chapman @ 2003-09-27 18:04 UTC (permalink / raw)
  To: viro; +Cc: jean-marc, linux-kernel

Mr. Viro,

--- viro@parcelfarce.linux.theplanet.co.uk wrote:
> On Sat, Sep 27, 2003 at 12:48:32PM -0400, Jean-Marc Spaggiari wrote:
>  
> > 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)
> 
> 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.

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: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Kernel panic:Unable to mount root fs (2.6.0-test5)
@ 2003-09-27 12:45 Jean-Marc Spaggiari
  0 siblings, 0 replies; 9+ messages in thread
From: Jean-Marc Spaggiari @ 2003-09-27 12:45 UTC (permalink / raw)
  To: linux-kernel

(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 option
Kernel 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/hda2 is on ext3.

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 ?)

Regards,

Jean-Marc Spaggiari (QC.CA)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-27 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-27 14:51 Kernel panic:Unable to mount root fs (2.6.0-test5) Bradley Chapman
2003-09-27 15:47 ` Jean-Marc Spaggiari
2003-09-27 16:24   ` Bradley Chapman
2003-09-27 16:48     ` Jean-Marc Spaggiari
2003-09-27 16:57       ` Bradley Chapman
2003-09-27 17:10         ` Jean-Marc Spaggiari
2003-09-27 17:29       ` viro
2003-09-27 18:04         ` Bradley Chapman
  -- strict thread matches above, loose matches on Subject: below --
2003-09-27 12:45 Jean-Marc Spaggiari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).