From: Jonathan R. <mma...@ya...> - 2002-02-11 20:21:49
|
Actually, the ramdisk_size switch does work properly. Compiling 7168 into the kernel didn't help. It has to be something, and I am suspicious that this factor may be found in the config you are using. > > Also, you must make sure that initrd and minix are compiled into the > > kernel (not as modules), and make sure that the ram dev size is big > > enough (I use 7168) > > Initrd and minix are compiled into the kernel. > > You should be able to pass ramdisk_size=7168, this may be the problem > because the RAMDISK doesn't seem to recognize this switch. I'll try the > 7168 compiled into the kernel to find out whether this makes a difference. > It may be a uml bug or just the lack of this feature. > > If you can, please send or post that .config just in case it is a weird > interaction in the kernel. Thanks. > > > On Sun, 2002-02-10 at 17:25, Jonathan Rosenbaum wrote: > > > Hi,exec ../linux > > > > > > I've been trying to get the initrd from trinux-uml-0.1.tgz to work with > > > another kernel which has both CONFIG_BLK_DEV_RAM and CONFIG_BLK_DEV_INITRD > > > configured, the minix fs mounts, but for some reason an initial console > > > can't be found, and this isn't a devfs issue either since nomount is used. > > > > > > Usually, in a situation like this it would be safe to assume that > > > something is amiss in the initrd, but this is definitely not the case, and > > > the initrd does work properly with the kernel which comes with trinux-uml. > > > I thought maybe it was a compiler issue so I made a uml (2.4.17-5um) with > > > the same compiler used to make the trinux-uml kernel, but I still had the > > > same results. > > > > > > This leads me to suspect that it is a configuration conflict. Could you > > > please send me the .config you used for the trinux-uml kernel? It would > > > also be a good idea to include this .config with the trinux-uml package. > > > > > > The kernel which ships with gbootroot (gbootroot.sf.net) exhibits the same > > > problem, and the config used to make this kernel is included. I am > > > thinking that it may be something simple causing this problem. > > > > > > Thanks, > > > > > > > > > Jonathan > > > > > > > > > RAMDISK: Minix filesystem found at block 0 > > > RAMDISK: Loading 4096 blocks [1 disk] into ram disk... done. > > > Freeing initrd memory: 4096k freed > > > cramfs: wrong magic > > > MINIX-fs: mounting unchecked file system, running fsck is recommended. > > > VFS: Mounted root (minix filesystem). > > > Warning: unable to open an initial console. > > > Kernel panic: No init found. Try passing init= option to kernel. > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > -- > > Bill Burdick > > Bi...@ap... > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > |