> On Tue, Nov 18, 2003 at 12:43:57AM +0100, Olivier Blin wrote: > >On Mon, 17 Nov 2003 15:58:17 +0100 (MET) > >"Svetoslav Slavtchev" <[EMAIL PROTECTED]> wrote: > > > >> have you missed that cramfs is readonly ? > >> we actually are missing /dev/root > >> as "mkrootdev /dev/root" fails -- read only fs > >> but it probably needs quite deeper changes > > > >Actually, that isn't my problem for now, the kernel can't mount my > >cramfs initrd ... > >I've sent my kernel to Luca Berra, I hope he'll get some results :) > > > hello, > At the moment i put a new mkinitrd on > http://www.comedia.it/~bluca/cooker/lvm2/ > It is version mkinitrd-3.4.43-9.99.1mdk > It creates an mkinitrd which sounds safe to me, but i did not do > complete regression on it. > I am still unable to mount cramfs initrd at boot, i am seeing the same > problem as Olivier it doesn't work here too :(
> I tested both with olivier and svetljo kernels > (btw i had to run depmod -a a couple of time to get correct module deps > with svetljo kernel) strange :( here evrything is ok which module-init-tools do you use ? in case the one from cooker/or the latest from Andrey, could you check how does it work with my package ? > I am still trying to guess why the cramfs is not mounted (it is > detected and loaded correctly into ramdisk but does not load). > I will probably connect a serial console and dump the errors later. > could you include smth similar, but smarter then : ---------------------------------------------------------------------------- --- mkinitrd.luca 2003-11-18 21:30:00.000000000 +0100 +++ mkinitrd.mod_ide 2003-11-19 16:39:44.645379336 +0100 @@ -456,7 +456,17 @@ # If we have ide devices and module ide, do the right thing ide=/proc/ide/ide* if [ -n "$ide" ]; then - findmodule -ide-disk + drivers=$(awk '/^alias ide-controller[0-9]* / { print $3}' $modulefile) +# not sure what happens if secondary ide is loaded later +# drivers=$(awk '/^alias ide-controller0* / { print $3}' $modulefile) + if [ -n "$drivers" ]; then + for driver in $drivers; do + findmodule $driver + done + findmodule ide-mod + findmodule -ide-disk + findmodule -ide-probe-mod + fi fi # check to see if we need to set up a loopback filesystem --------------------------------------------------------------------------------- modprobe.conf contains: alias ide-controller0 hpt366 alias ide-controller1 via82cxxx and it seems to work without probs 53490 /boot/config-2.6.0-t9.ruby.9mdk 372879 /boot/initrd-2.6.0-t9.ruby.9mdk.img 537 /boot/kernel.h-2.6.0-t9.ruby.9mdk 806776 /boot/System.map-2.6.0-t9.ruby.9mdk 1095083 /boot/vmlinuz-2.6.0-t9.ruby.9mdk it even could fit on a floppy probably , if there was a way to use modular ext2 (( that is with xfs root, it may already work with all other fs's) is there a possibility to use minix for initrd ? best, svetljo PS. using debian's modular-ide patch with : built in ide -> a single oops at cd initialisation moduler ide -> no problems, no oopses may be we should add some ifdef's -- 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! +++