Skip to contentSkip to conversation

kernel panic & ext2 filesystem

DISCUSSION Luca Ferrari 4 participants 5 messages Mar 22, 2004 – Mar 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi,
I'm still fighting against kernel 2.6.4. Now I found a strange behavior, that cannot explain to myself. I've got all my partitions formatted with reiserfs, and in particular:

luca@lucaSassuolo:~> mount
/dev/hda2 on / type reiserfs (rw)

that means root partition /dev/hda2 is reiserfs. Now I've unchecked ext2 and ext3 support in the filesystem options, leaving support for reiserfs directly in the kernel (i.e., not as module):

lucaSassuolo:/usr/src/linux # grep REISER .config
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y

but at the reboot I got a kernel panic, since it was unable to mount /dev/hda2 as root. I've re-checked the support (not as module) for ext2 and ext3 and the system starts.
Why should I support ext2,3 if all my partitions are reiserfs? Can anybody explain me this?

Thanks,
Luca

Signature · 2 lines
Luca Ferrari,
[email protected]
#1 lore raw

What is the exact kernel output?
What looks your /etc/fstab like?

Quoted 19 lines · Luca Ferrari

Hi,
I'm still fighting against kernel 2.6.4. Now I found a strange behavior, that cannot explain to myself. I've got all my partitions formatted with reiserfs, and in particular:

luca@lucaSassuolo:~> mount
/dev/hda2 on / type reiserfs (rw)

that means root partition /dev/hda2 is reiserfs. Now I've unchecked ext2 and ext3 support in the filesystem options, leaving support for reiserfs directly in the kernel (i.e., not as module):

lucaSassuolo:/usr/src/linux # grep REISER .config
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y

but at the reboot I got a kernel panic, since it was unable to mount /dev/hda2 as root. I've re-checked the support (not as module) for ext2 and ext3 and the system starts. Why should I support ext2,3 if all my partitions are reiserfs? Can anybody explain me this?

Thanks,
Luca

Signature · 5 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?
#2 lore raw

Luca,
If you use initrd, its' filesystem is ext2.

Jeff

Quoted 25 lines · Thomas Steudten

What is the exact kernel output?
What looks your /etc/fstab like?

Quoted 19 lines · Luca Ferrari

Hi,
I'm still fighting against kernel 2.6.4. Now I found a strange behavior, that cannot explain to myself. I've got all my partitions formatted with reiserfs, and in particular:

luca@lucaSassuolo:~> mount
/dev/hda2 on / type reiserfs (rw)

that means root partition /dev/hda2 is reiserfs. Now I've unchecked ext2 and ext3 support in the filesystem options, leaving support for reiserfs directly in the kernel (i.e., not as module):

lucaSassuolo:/usr/src/linux # grep REISER .config
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y

but at the reboot I got a kernel panic, since it was unable to mount /dev/hda2 as root. I've re-checked the support (not as module) for ext2 and ext3 and the system starts. Why should I support ext2,3 if all my partitions are reiserfs? Can anybody explain me this?

Thanks,
Luca

Signature · 1 line
Jeff Largent                   ImageLinks, Inc.
#3 lore raw
Quoted 5 lines · On Monday 22 March 2004 15:13 Jeff Largent's cat walking on the keyboard wrote:

Luca,
If you use initrd, its' filesystem is ext2.

Jeff

In fact I suppose it it this the problem, but I thought that enabling initrd support in kernel suffices. However thanks for the help.

Luca

Signature · 2 lines
Luca Ferrari,
[email protected]
#4 lore raw
Quoted 6 lines · Luca Ferrari
Quoted 3 lines · On Monday 22 March 2004 15:13 Jeff Largent's cat walking on the keyboard wrote:

Luca,
If you use initrd, its' filesystem is ext2.

Quoted 7 lines
Quoted 2 lines

Jeff

In fact I suppose it it this the problem, but I thought that enabling initrd support in kernel suffices. However thanks for the help.

Luca

I think that what Jeff means is that if you're using an initrd that you didn't make yourself, it will be using an ext2 filesystem.

As far as I know, though, there is no reason you couldn't build your own to use whatever you want.

Andy