Skip to contentSkip to conversation

initrd and 2.6.0-test8

DISCUSSION Svetoslav Slavtchev 3 participants 6 messages Oct 18, 2003

lore
Share & tools
lore
#0 lore raw

me had the same problems,
with devfs enabled

could it be this (from Documentation/initrd)

Note that changing the root directory does not involve unmounting it.
the "normal" root file system is mounted. initrd data can be read
root=/dev/ram0 (without devfs)
root=/dev/rd/0 (with devfs)
initrd is mounted as root, and the normal boot procedure is followed, with the RAM disk still mounted as root.

the patch doesn't mention anything about /dev/rd/0 , but does for /dev/ram0

svetljo

Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++
#1 lore raw
Quoted 5 lines · Svetoslav Slavtchev

me had the same problems,
with devfs enabled

could it be this (from Documentation/initrd)

Quoted 8 lines

Note that changing the root directory does not involve unmounting it.
the "normal" root file system is mounted. initrd data can be read
root=/dev/ram0 (without devfs)
root=/dev/rd/0 (with devfs)
initrd is mounted as root, and the normal boot procedure is followed, with the RAM disk still mounted as root.

the patch doesn't mention anything about /dev/rd/0 , but does for /dev/ram0

*Arrgh*

Presense of devfs is, indeed, the problem. /dev/rd/0 vs. /dev/ram0 is not an issue; visibility of /dev/initrd, OTOH, is - we have /dev of rootfs overmounted by devfs, so the thing becomes inaccessible.

OK, that's trivially fixable. We need to put the sucker outside of /dev, that's all. Patch in a few...

#2 lore raw
Quoted 17 lines · Svetoslav Slavtchev
Quoted 10 lines

me had the same problems,
with devfs enabled

could it be this (from Documentation/initrd)

Note that changing the root directory does not involve unmounting it.
the "normal" root file system is mounted. initrd data can be read
root=/dev/ram0 (without devfs)
root=/dev/rd/0 (with devfs)
initrd is mounted as root, and the normal boot procedure is

followed,

Quoted 3 lines

with the RAM disk still mounted as root.

the patch doesn't mention anything about /dev/rd/0 , but does for

/dev/ram0

Quoted 8 lines

*Arrgh*

Presense of devfs is, indeed, the problem. /dev/rd/0 vs. /dev/ram0 is not an issue; visibility of /dev/initrd, OTOH, is - we have /dev of rootfs overmounted by devfs, so the thing becomes inaccessible.

OK, that's trivially fixable. We need to put the sucker outside of /dev, that's all. Patch in a few...

:-)

waiting a few... for a patch to test

svetljo

Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++
#3 lore raw
In reply to [email protected]

Dnia sob 18. października 2003 21:25, [email protected]

Quoted 16 lines · napisał:
Quoted 12 lines · Svetoslav Slavtchev

me had the same problems,
with devfs enabled

could it be this (from Documentation/initrd)

Note that changing the root directory does not involve unmounting it.
the "normal" root file system is mounted. initrd data can be read
root=/dev/ram0 (without devfs)
root=/dev/rd/0 (with devfs)
initrd is mounted as root, and the normal boot procedure is followed, with the RAM disk still mounted as root.

Quoted 2 lines

the patch doesn't mention anything about /dev/rd/0 , but does for /dev/ram0

Quoted 8 lines

*Arrgh*

Presense of devfs is, indeed, the problem. /dev/rd/0 vs. /dev/ram0 is not an issue; visibility of /dev/initrd, OTOH, is - we have /dev of rootfs overmounted by devfs, so the thing becomes inaccessible.

OK, that's trivially fixable. We need to put the sucker outside of /dev, that's all. Patch in a few...

What about situation when devfs is not mounted and even not used at all, and it is still not working?

Signature · 3 lines
Witold Kręcicki (adasi) adasi [at] culm.net
GPG key: 7AE20871
http://www.culm.net
#4 lore raw
Quoted 2 lines · Witold Krecicki

What about situation when devfs is not mounted and even not used at all, and it is still not working?

If it is configured, it gets mounted for a while by late-boot code.

Do you have CONFIG_DEVFS_FS=y in your .config?

#5 lore raw
In reply to [email protected]
Quoted 17 lines · Svetoslav Slavtchev
Quoted 10 lines

me had the same problems,
with devfs enabled

could it be this (from Documentation/initrd)

Note that changing the root directory does not involve unmounting it.
the "normal" root file system is mounted. initrd data can be read
root=/dev/ram0 (without devfs)
root=/dev/rd/0 (with devfs)
initrd is mounted as root, and the normal boot procedure is

followed,

Quoted 3 lines

with the RAM disk still mounted as root.

the patch doesn't mention anything about /dev/rd/0 , but does for

/dev/ram0

Quoted 9 lines

*Arrgh*

Presense of devfs is, indeed, the problem. /dev/rd/0 vs. /dev/ram0 is not an issue; visibility of /dev/initrd, OTOH, is - we have /dev of rootfs overmounted by devfs, so the thing becomes inaccessible.

OK, that's trivially fixable. We need to put the sucker outside of /dev, that's all. Patch in a few...

here it works OK :-)
thanks

although i seem to lost http support ?
ftp was working OK, but i couldn't get to any web site :( using web mail :(

sorry for the delay

svetljo

Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++