Shvetal_Patel Posted December 23, 2003 Report Share Posted December 23, 2003 Hello all, I am trying to Install the Vanilla 2.6.0 Kernel on my 9.2 mdk download edition. I have the glibc-static-devel. Installed and the module-init-tools 0.9.15 pre-4. Have compiled the kernel and modules. The module_install worked fine too without any Unresolved Symbol stuff. I do use the mkinitrd to create the initrd.img file and the file is mention in lilo.conf But when I reboot my system. I get the following error message. mount: error 6 mounting ext3 pivotroot: pivot_root (/sysroot,sysroot/initrd) failed: 2 freeing unused kernel memory: 304k freed kernel panic: no init found. try passing init=option to kernel I have an IDE and a SCSI Disk. I boot from my IDE drive and the root partition is on SCSI.(/dev/sda5) I have tried googling the web and for the past 3 day have been trying to solve the issue including several rebuilds of the kernel with and without ext3 support in the kernel and as module. Any info to proceed in the right direction will be appreciated. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 23, 2003 Report Share Posted December 23, 2003 easiest way is to install an mdk kernel and let rom resolve all deps and get all the necessary pkgs. After a successfull boot to it.....do the vanilla.....that's what I did. Quote Link to comment Share on other sites More sharing options...
Falcdragon Posted December 23, 2003 Report Share Posted December 23, 2003 That looks like the problem I was getting earlier. What CPU do you have and what version of gcc? As gcc 3.3.1 (mdk 9.2 default) is screwed for k6,k6-2,k6-3 cpu's. While Cookers gcc-3.3.2-1 and gcc-3.3.2-2 are screwed for compiling any kernel by the looks of it. You should also check to make sure you have scsi compiled into the kernel or as modules. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 well I said what I said because the first time I tried it, I needed more than just the new module-init-tools and a kernel and I was and still am cooker. The error you're getting is the same I got when I had 9.1 and tried to get by without one pkg (don't remember which one). A good cooker source for urpmi and you're good to go. It's that simple. I do not remeber which pkgs, because well, why would I with urpmi (rhyme)? I'm thinking a new initscripts and mkinitrd. I can understand not wanting to do this if dialup and if it's not a necessity, but if you're broadband why haggle with whether it will or won't? Let the distro do the work, is what I say. [root@suse /]# rpm -qa | grep init SysVinit-2.85-1mdk module-init-tools-0.9.15-0.pre4.1mdk xinitrc-2.4.4-76mdk initscripts-7.06-32mdk mkinitrd-3.4.43-10mdk [root@suse /]# rpm -qa | grep module-init-tools module-init-tools-0.9.15-0.pre4.1mdk [root@suse /]# Quote Link to comment Share on other sites More sharing options...
Shvetal_Patel Posted December 24, 2003 Author Report Share Posted December 24, 2003 I have a dual Pentium III 650 Mhz. processor. Also I haven't had any trouble compiling the kernel. I don't know whether the mdk kernel will do the trick. Also I would appreciate some directions as to how to use urpmi in the kernel upgrade process. thanks Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) I haven't had any trouble compiling either w/ cooker gcc's. Just use the gui in mcc>Software Management>Software Media Manager and add an FTP or HTTP server. When it's done adding the source, open rpmdrake+>Search for kernel>select the 2.6 and say yes to deps>check that you bootloader was edited correctly>reboot. Oh, I'm using ftp://ftp.club-internet.fr/pub/unix/linux...6/Mandrake/RPMS ftp://ftp.club-internet.fr/pub/unix/linux...el/contrib/i586 ftp://ftp.club-internet.fr/pub/linux/plf/...mandrake/cooker Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) ftp://ftp.club-internet.fr/pub/unix/linux...6/Mandrake/RPMS Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) ftp://ftp.club-internet.fr/pub/unix/linux...el/contrib/i586 Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 ftp://ftp.club-internet.fr/pub/linux/plf/...mandrake/cooker Quote Link to comment Share on other sites More sharing options...
Shvetal_Patel Posted December 24, 2003 Author Report Share Posted December 24, 2003 what about the modules?? Forgive me but I have never upgraded a kernel like this before. I have always compiled my kernel from source. I see the vmlinuz in the /boot partition but am wondering about the modules. And thanks bvc for all the links on your previous posts. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) what about the modules?? you mean in /lib/modules/uname -r? (version) should be there after install, no? Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
Shvetal_Patel Posted December 24, 2003 Author Report Share Posted December 24, 2003 :woops: They are there... Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) for some weird reason have yet to figure out.....I can't get any of the plf pkgs to download and install.....been having to go there manually and rpm -ivh or add the dir to my sources. Oh, it worked for a couple of weeks, and the hdlist is there....I d/k what's up... Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 26, 2003 Report Share Posted December 26, 2003 okay, i had a similar problem, it turned out I had included initrd support but not included Ramdisk support. Make sure you compile your SCSI and IDE drivers into the kernel. Also make sure EXT3 is compiled into the kernel. Even try avoiding an initrd completely, dont compile initrd support into it and compile all your devices into the kernel instead of as modules. I have tried googling the web and for the past 3 day have been trying to solve the issue including several rebuilds of the kernel with and without ext3 support in the kernel and as module. Your root filesystem MUST MUST read me, MUST be compiled into the kernel, if it isnt, how the fsck is it meant to be able to read yout root partition to find modules?? ALWAYS Compile Ext3/your root file system into the kernel. Good luck :D iphitus Quote Link to comment Share on other sites More sharing options...
bvc Posted December 26, 2003 Report Share Posted December 26, 2003 (edited) that's interesting...I don't do any of the above and do not have any probs......weird....distro specific prob? I know debian has debian specific kernel/scripts but I never got in to them and never compiled a kernel in debian either. Weird. Edited December 26, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.