ReiserFS V3 and linux-kernel-2.6
Hello!
I run self compiled kernel 2.4.27 w/devfs and want to upgrade to 2.6.10 w/devfs. All kernels without using initrd
/dev/hdc2 - /boot - ext2/dev/hdc8 - / - ReiserFS V3
gcc 3.4.3, modultils-2.4.21, glibc-2.3.4
I installed
module-init-tools-3.1.tar.bz2
sysfsutils-1.1.0.tar.bz2
hotplug-2004_09_23.tar.bz2
udev-051
and all that I found in Changes from kernel-2.6.10
In the grub config i have:
--------------------------------
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mount
title GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
----------------------------------
I can boot into 2.4.x kernel, but when I try to boot to 2.6.10 kernel I get error message & kernel panic:
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Here is parts of my kernel config:
---------------------------------------------
.....
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not setCONFIG_REISERFS_PROC_INFO=yCONFIG_REISERFS_FS_XATTR=y
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_SECURITY is not setCONFIG_JFS_FS=m
# CONFIG_JFS_POSIX_ACL is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not setCONFIG_XFS_FS=m
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_SECURITY is not set
# CONFIG_XFS_POSIX_ACL is not setCONFIG_MINIX_FS=mCONFIG_ROMFS_FS=m
# CONFIG_QUOTA is not setCONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=y
......
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_DEVFS_FS=y
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not setCONFIG_DEVPTS_FS_XATTR=y
# CONFIG_DEVPTS_FS_SECURITY is not setCONFIG_TMPFS=yCONFIG_TMPFS_XATTR=y
# CONFIG_TMPFS_SECURITY is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not setCONFIG_RAMFS=y
---------------------------------------------
What should I do additionally, for using RieserFS V3 with kernel-2.6?
Should I enable CONFIG_REISERFS_FS_XATTR ?
---
Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd, West Russia, Kaliningrad (Koenigsberg) mailto:[email protected], icq# 33366588
Hello
Quoted 98 lines · Oleg O. Ossovitskii
Hello!
I run self compiled kernel 2.4.27 w/devfs and want to upgrade to 2.6.10 w/devfs. All kernels without using initrd
/dev/hdc2- /boot - ext2/dev/hdc8- / - ReiserFS V3gcc 3.4.3, modultils-2.4.21, glibc-2.3.4
I installed
module-init-tools-3.1.tar.bz2
sysfsutils-1.1.0.tar.bz2
hotplug-2004_09_23.tar.bz2
udev-051and all that I found in Changes from kernel-2.6.10
In the grub config i have:
--------------------------------
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mounttitle GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
----------------------------------I can boot into 2.4.x kernel, but when I try to boot to 2.6.10 kernel I get error message & kernel panic:
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Here is parts of my kernel config:
---------------------------------------------
.....
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=y
#CONFIG_EXT2_FS_POSIX_ACLis not set
#CONFIG_EXT2_FS_SECURITYis not setCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=y
#CONFIG_EXT3_FS_POSIX_ACLis not set
#CONFIG_EXT3_FS_SECURITYis not setCONFIG_JBD=y
#CONFIG_JBD_DEBUGis not setCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=y
#CONFIG_REISERFS_CHECKis not setCONFIG_REISERFS_PROC_INFO=yCONFIG_REISERFS_FS_XATTR=y
#CONFIG_REISERFS_FS_POSIX_ACLis not set
#CONFIG_REISERFS_FS_SECURITYis not setCONFIG_JFS_FS=m
#CONFIG_JFS_POSIX_ACLis not set
#CONFIG_JFS_DEBUGis not set
#CONFIG_JFS_STATISTICSis not setCONFIG_XFS_FS=m
#CONFIG_XFS_RTis not set
#CONFIG_XFS_QUOTAis not set
#CONFIG_XFS_SECURITYis not set
#CONFIG_XFS_POSIX_ACLis not setCONFIG_MINIX_FS=mCONFIG_ROMFS_FS=m
#CONFIG_QUOTAis not setCONFIG_DNOTIFY=y
#CONFIG_AUTOFS_FSis not setCONFIG_AUTOFS4_FS=y
......#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_DEVFS_FS=y
#CONFIG_DEVFS_MOUNTis not set
#CONFIG_DEVFS_DEBUGis not setCONFIG_DEVPTS_FS_XATTR=y
#CONFIG_DEVPTS_FS_SECURITYis not setCONFIG_TMPFS=yCONFIG_TMPFS_XATTR=y
#CONFIG_TMPFS_SECURITYis not set
#CONFIG_HUGETLBFSis not set
#CONFIG_HUGETLB_PAGEis not setCONFIG_RAMFS=y
Quoted 7 lines
---------------------------------------------
What should I do additionally, for using RieserFS V3 with kernel-2.6?
Should I enable
CONFIG_REISERFS_FS_XATTR?
Please send both complete .config-s.
Quoted 7 lines
---
Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd, West Russia, Kaliningrad (Koenigsberg) mailto:[email protected], icq# 33366588
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello, Vladimir!
Quoted 2 lines · You
Quoted 2 lines
VS> Please send both complete .config-s.
VS> .config-2.6.10 has
VS> # CONFIG_DEVFS_MOUNT is not set
VS> whereas .config-2.4.27 has
VS> CONFIG_DEVFS_MOUNT=y
VS> If you turned CONFIG_DEVFS_MOUNT on for 2.6.10 - would it change VS> anything?
I yesterday recompiled kernel 2.6.10 w/option CONFIG_DEVFS_MOUNT switched on. Same problem =(
---
С уважением, Олег Осовицкий
ведущий программист, ООО фирма КГПА, Калининград
тел: +7(0112)46-23-40, факс: +7(0112)43-64-96, моб: +79022193956 mailto:[email protected], icq# 33366588
Quoted 30 lines · Oleg O. Ossovitskii
Hello!
I run self compiled kernel 2.4.27 w/devfs and want to upgrade to 2.6.10 w/devfs. All kernels without using initrd
/dev/hdc2- /boot - ext2/dev/hdc8- / - ReiserFS V3gcc 3.4.3, modultils-2.4.21, glibc-2.3.4
I installed
module-init-tools-3.1.tar.bz2
sysfsutils-1.1.0.tar.bz2
hotplug-2004_09_23.tar.bz2
udev-051and all that I found in Changes from kernel-2.6.10
In the grub config i have:
--------------------------------
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mounttitle GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
----------------------------------
Quoted 8 lines
I can boot into 2.4.x kernel, but when I try to boot to 2.6.10 kernel I get error message & kernel panic:
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
please make sure that the rootfs block device driver (IDE disk) was compiled into the kernel.
Signature · 1 line
Alex.
Hello, Alex!
Quoted 10 lines · you
Quoted 10 lines
--------------------------------
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mounttitle GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
----------------------------------
Quoted 8 lines
Quoted 8 lines
I can boot into 2.4.x kernel, but when I try to boot to 2.6.10 kernel I get error message & kernel panic:
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
AZ> please make sure that the rootfs block device driver (IDE disk) was compiled AZ> into the kernel.
#
# ATA/ATAPI/MFM/RLL support
#CONFIG_IDE=yCONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives #CONFIG_BLK_DEV_IDE_SATA=y
# CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=yCONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#CONFIG_IDE_GENERIC=yCONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_IDEPNP is not setCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not setCONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not setCONFIG_BLK_DEV_RZ1000=yCONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not setCONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not setCONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not setCONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not setCONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
#
# SCSI device support
#CONFIG_SCSI=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not setCONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not setCONFIG_CHR_DEV_SG=y
Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd., West Russia
tel: +7(0112)46-23-40, fax: +7(0112)43-64-96, cell: +79022193956 mailto:[email protected], icq# 33366588
Quoted 18 lines · Oleg O. Ossovitskii
Hello, Alex!
Quoted 14 lines · you
Quoted 14 lines
--------------------------------
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mounttitle GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
----------------------------------I can boot into 2.4.x kernel, but when I try to boot to 2.6.10 kernel I get error message & kernel panic:
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)AZ> please make sure that the rootfs block device driver (IDE disk) was compiled AZ> into the kernel.
can you try to following?
1) boot w/o devfs
2) check that the block device driver is loaded successfully and partition table is read properly
(look at kernel boot messages)
btw, I have no troubles switching my system between 2.4.x and 2.6.x
Signature · 1 line
Alex.
Hello, Alex!
Quoted 7 lines · you
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)AZ> please make sure that the rootfs block device driver (IDE disk) was compiled AZ> into the kernel.
yes it compiled in the kernel
AZ> can you try to following?
AZ> 1) boot w/o devfs
No, my /dev directory is empty without devfs. It's mountpoint only
AZ> 2) check that the block device driver is loaded successfully
AZ> and partition table is read properly
AZ> (look at kernel boot messages)
As I can see (messages disappears too fast and Ctrl-PgUp don't work) ide driver loaded, but I'm not sure. How can I see kernel messages after kernel panic?
Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd., West Russia
tel: +7(0112)46-23-40, fax: +7(0112)43-64-96, cell: +79022193956 mailto:[email protected], icq# 33366588
Quoted 20 lines · Oleg O. Ossovitskii
Hello, Alex!
Quoted 7 lines · you
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
VFS: Cannot open root device "hdc8" or unknown-block(0,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)AZ> please make sure that the rootfs block device driver (IDE disk) was compiled AZ> into the kernel.
yes it compiled in the kernel
AZ> can you try to following?
AZ> 1) boot w/o devfs
No, my /dev directory is empty without devfs. It's mountpoint only
Quoted 7 lines
AZ> 2) check that the block device driver is loaded successfully
AZ> and partition table is read properly
AZ> (look at kernel boot messages)As I can see (messages disappears too fast and Ctrl-PgUp don't work) ide driver loaded, but I'm not sure. How can I see kernel messages after kernel panic?
1. serial console.
2. netconsole (linux-src/Documentation/networking/netconsole.txt)
Signature · 1 line
Alex.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 20 lines · Oleg O. Ossovitskii
Hello, Alex!
Wednesday, February 9, 2005, 5:56:26 PM, you wrote:
AZ> 2) check that the block device driver is loaded successfully
AZ> and partition table is read properly
AZ> (look at kernel boot messages)You're rigth! This is reason why I can't boot kernel 2.6.10
I have next HDD & DVD:
hda - IDE NEC DVD-RW ND-2500A
hdb - IDE Western Digitall (old 850 GB drive)
hdc - SATA (in legacy mode) Maxtor 80 GB (here Linux is placed)I can boot from hdc Windows 2000, qnx4, linux-2.4.27, but when I try to boot to linux-2.6.10 I got something like
ide: 0x170-0x1F0 is busy
Quoted 7 lines
and so on... I can't give full error message, until I receive it via serial console
Sorry, it's not a ReiderFS bug, but I don't understand how grub-0.92 can take kernel from
/dev/hdc2and why kernel can't read/dev/hdc8???May be it's a wrong kernel config, or wrong kernel option?
I would turn SATA (CONFIG_BLK_DEV_IDE_SATA) support off.
Quoted 22 lines
--- grub's menu.lst ---
....
# For booting GNU/Linux
title GNU/Linux-2.6.x
kernel (hd0,1)/vmlinuz root=/dev/hdc8 rw devfs=mounttitle GNU/Linux-2.4.x
kernel (hd0,1)/vmlinuz-2.4 root=/dev/hdc8 rw devfs=mount
....
-----------------------My harware list:
CPU: Pentium4 2.80 GHz RAM: 512MB MB: ASUS P4P800Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd., West Russia
tel: +7(0112)46-23-40, fax: +7(0112)43-64-96, cell: +79022193956 mailto:[email protected], icq# 33366588
Signature · 1 line
Alex.
Hello, Alex!
Quoted 1 line · you
Quoted 1 line
May be it's a wrong kernel config, or wrong kernel option?
AZ> I would turn SATA (CONFIG_BLK_DEV_IDE_SATA) support off.
I turned off support of SATA and now I can boot kernel-2.6 and use ReiserFS. Thaks for help & time You are wasted w/me. You are doung the great job, and ReiserFS is the best FS! (I didn't try yet Reiser4, but I plan to use it in future)
Best regards, Oleg O. Ossovitskii
chief programmer, KGPA Ltd., West Russia
tel: +7(0112)46-23-40, fax: +7(0112)43-64-96, cell: +79022193956 mailto:[email protected], icq# 33366588
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · Oleg O. Ossovitskii
Hello!
I run self compiled kernel 2.4.27 w/devfs and want to upgrade to 2.6.10 w/devfs. All kernels without using initrd
as a side-note (and i did not see anyone mention it):
devfs is considered OBSOLETE and plans are to remove it asap. udev has replaced it.
Christian.
- --
BOFH excuse #250:
Program load too heavy for processor to lift. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCD292C/PVm5+NVoYRAtqCAKDJJ6MaTu49nI7g9+Fxvjbo2L3KPwCgyTdg M1Z5lTQsP9+5R0Mcb3A+bks=
=829Y
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · On Wed, 9 Feb 2005 11:05:14 +0200 "Oleg O. Ossovitskii" <[email protected]> wrote:
#
CONFIG_DEVFS_MOUNTis not set
Your kernel won't probably mount the devfs filesystem without this option. I am however not sure whether this will have any influence on the kernel mounting its root fs or not (since DEVFS is mounted under /dev, and when there's no /, where to mount it?). But you could try it anyway.
Regards,
Milan
- --
Milan Holzäpfel alias jagdfalke alias jag
Antworten direkt an mich Answers directly to me gehen bitte an eine Addresse, go to an address one die man hier finden kann: can find here, please:
Kontaktinfos sowie Contact infos as well as
Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint
0CE5 DB0C AF4F 6583 7966
http://www.deppenleerzeichen.de/ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCFKQ52wyvT2WDeWYRAt0HAKC7xSkMzDQhjYTntEOqGEig00CRUACgsH58 u/eQeSCpmy8sQDeSBv22aXg=
=0cZL
-----END PGP SIGNATURE-----