coverup Posted June 1, 2005 Report Share Posted June 1, 2005 I has installed 10.1 using alt1 install option, ie, using 2.4.x boot kernel . The standard install didn't work because of the "No CDROM found" error. There are 2.4-smp and 2.6-smp kernel entries in the lilo prompt. 2.4 kernel boots with no problem, 2.6 kernel stops with the message "Kernel panic: No init found. Try passing init= option to kernel". How do I fix this? Quote Link to comment Share on other sites More sharing options...
rolf Posted June 1, 2005 Report Share Posted June 1, 2005 What are the contents of /boot and /etc/lilo.conf? $ ll /boot $ cat /etc/lilo.conf Quote Link to comment Share on other sites More sharing options...
adamw Posted June 1, 2005 Report Share Posted June 1, 2005 What's your hardware? I think the 2.6 kernel doesn't like your IDE controller, or something. Quote Link to comment Share on other sites More sharing options...
coverup Posted June 2, 2005 Author Report Share Posted June 2, 2005 The PC is IBM ThinkCentre A51p, its hardware has been certified for RedHat and SuSE, except for sound. I will post the details and lilo.conf later when get home. I remember a message during alt1 install (that is 2.4 based one) saying that some module (ata_something) was not found. The 2.6 install just did not work at all. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 2, 2005 Report Share Posted June 2, 2005 The ata_piix module is for sata controllers, the intel sata controller to be more specific(ICH5,6). I think other sata controller modules also start with "ata_xxxx". However, it would be unusual for a 2.4 kernel to have better sata support than a 2.6 kernel. Could be the fact that you used an "alt" kernel during install. The no init found errror message usually means the kernel is unable to find the root partition and mount it which would be the case if you had a sata drive and the sata driver module was not loaded. This could be a tough one to dive into; I'd recommend trying LE2005 as it's now available for public download and has a more recent kernel. It may like your hardware better. Quote Link to comment Share on other sites More sharing options...
coverup Posted June 2, 2005 Author Report Share Posted June 2, 2005 Thanks pmpatrick. That explains... Indeed, I have a SATA drive, and the install did complain about ata_piix... Still, I am confused... How come this module could not be found? I don't get it. It's an official powerpack, so you would expect all goodies should be there. Do you reckon, could kernel update/upgrade provide a fix? Apart from general curiousity (never used 2.6 kernel before), I was hoping to use 2.6 power management features. Otherwise I don't mind using 2.4. After all, I sorted out all probs except power management. The beast's BIOS does not seam to support APM, so I have to use ACPI. By the way, can somebody point to a good site on configuring ACPI for desktops? All I've read so far, is about centrino laptops. For instance, how do I enable CPU speedstepping for Pentium 4 with hyperthreading? Quote Link to comment Share on other sites More sharing options...
coverup Posted June 2, 2005 Author Report Share Posted June 2, 2005 Ok, here is my original /etc/lilo.conf # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file default="linux-smp" boot=/dev/hda map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda6 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hda7 splash=silent" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda6 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hda7" read-only image=/boot/vmlinuz-smp label="linux-smp" root=/dev/hda6 initrd=/boot/initrd-smp.img append="devfs=nomount acpi=ht resume=/dev/hda7 splash=silent" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda6 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hda7" read-only other=/dev/hda1 label="windows" table=/dev/hda I later enabled acpi in MCC, and this removed "acpi=ht". Also, the content of /boot $ ls -l /boot total 4580 -rw-r--r-- 1 root root 512 May 31 09:57 boot.0300 lrwxrwxrwx 1 root root 28 Jun 3 00:14 config -> config-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 52557 Jun 4 2004 config-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 57972 Oct 1 2004 config-2.6.8.1-12mdksmp -rw-r--r-- 1 root root 5032 Oct 7 2004 diag1.img -rw-r--r-- 1 root root 16796 Oct 7 2004 diag2.img drwxr-xr-x 2 root root 4096 May 31 09:11 grub/ -rw-r--r-- 1 root root 101759 May 31 09:57 initrd-2.4.27-0.pre2.1mdksmp.img -rw-r--r-- 1 root root 175982 May 31 09:57 initrd-2.6.8.1-12mdksmp.img lrwxrwxrwx 1 root root 27 May 31 09:57 initrd.img -> initrd-2.6.8.1-12mdksmp.img lrwxrwxrwx 1 root root 32 May 31 09:57 initrd-smp.img -> initrd-2.4.27-0.pre2.1mdksmp.img lrwxrwxrwx 1 root root 36 Jun 3 00:14 kernel.h -> /boot/kernel.h-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 537 May 31 00:10 kernel.h-2.4.27-0.pre2.1mdksmp -rw------- 1 root root 114176 Jun 1 00:27 map lrwxrwxrwx 1 root root 15 May 31 00:42 message -> message-graphic -rw-r--r-- 1 root root 62997 May 31 09:57 message-graphic -rw-r--r-- 1 root root 116 May 31 09:57 message-text lrwxrwxrwx 1 root root 32 May 31 22:07 System.map -> System.map-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 639089 Jun 4 2004 System.map-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 549882 Oct 1 2004 System.map-2.6.8.1-12mdksmp -rw-r--r-- 1 root root 256 May 31 09:57 us.klt lrwxrwxrwx 1 root root 24 May 31 09:57 vmlinuz -> vmlinuz-2.6.8.1-12mdksmp -rw-r--r-- 1 root root 1464882 Jun 4 2004 vmlinuz-2.4.27-0.pre2.1mdksmp -rw-r--r-- 1 root root 1363444 Oct 1 2004 vmlinuz-2.6.8.1-12mdksmp lrwxrwxrwx 1 root root 29 May 31 09:57 vmlinuz-smp -> vmlinuz-2.4.27-0.pre2.1mdksmp Finally, hardware # lspci 00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O Controller (rev 04) 00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port (rev 04) 00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) 00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03) 00:1f.2 IDE interface: Intel Corp. 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) 00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 3e50 01:00.1 Display controller: ATI Technologies Inc: Unknown device 3e70 0a:0a.0 Communication controller: Conexant: Unknown device 2702 (rev 01) 0a:0b.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet (rev 03) 0a:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 2, 2005 Report Share Posted June 2, 2005 Very odd, indeed!!! From lilo.conf, your hard drive is being designated as /dev/hda. SATA drives are reported as scsi devices and designated /dev/sda for the first such device. If you run: # lsmod I'll bet you won't see libata or ata_piix loaded either(i.e. the sata modules). Given your installation woes (cd drive not found), I'm wondering if your cd drive is not also a sata device. Sata optical drives started coming out fairly recently and I would guess only the newest kernels would have support for them, i.e. support for sata-atapi, which would be necessary for a sata optical drive. Another possibility, the 2.6 kernel reports the sata drive as /dev/sda but the 2.4 kernel reports it as /dev/hda. You can test this theory by passing the "init=" option at boot. This will explicitly tell the 2.6 kernel where to find init(the root partition) in terms it understands. Do this by rebooting and as soon as you see the lilo selection screen, hit the Esc key. That will take you to a boot prompt at which you should type: linux init=/dev/sda6 If this is the problem, it should boot a little further but report errors when it tries to mount the filesystems in fstab because they are still set in terms of /dev/hda instead of /dev/sda. Quote Link to comment Share on other sites More sharing options...
coverup Posted June 2, 2005 Author Report Share Posted June 2, 2005 Very odd, indeed!!! From lilo.conf, your hard drive is being designated as /dev/hda. SATA drives are reported as scsi devices and designated /dev/sda for the first such device. If you run: # lsmod I'll bet you won't see libata or ata_piix loaded either(i.e. the sata modules). Given your installation woes (cd drive not found), I'm wondering if your cd drive is not also a sata device. Sata optical drives started coming out fairly recently and I would guess only the newest kernels would have support for them, i.e. support for sata-atapi, which would be necessary for a sata optical drive. Another possibility, the 2.6 kernel reports the sata drive as /dev/sda but the 2.4 kernel reports it as /dev/hda. <{POST_SNAPBACK}> Of course! most likely, this is the reason. As for the cd drive, it's actually a 8x DVD multiburner, a pretty newish. I haven't tried burning yet - I guess I should expect another surprise... You can test this theory by passing the "init=" option at boot. This will explicitly tell the 2.6 kernel where to find init(the root partition) in terms it understands. Do this by rebooting and as soon as you see the lilo selection screen, hit the Esc key. That will take you to a boot prompt at which you should type: linux init=/dev/sda6 If this is the problem, it should boot a little further but report errors when it tries to mount the filesystems in fstab because they are still set in terms of /dev/hda instead of /dev/sda. <{POST_SNAPBACK}> Will try this of course, but it looks like I am stuck with 2.4 kernel. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 2, 2005 Report Share Posted June 2, 2005 If it's an hda vs sda problem as I'm beginning to suspect it is, you can probably get it to go but you'll need a live linux cd like knoppix to access your root partition in case your editing of fstab leaves the system in an unbootable condition. Then you could edit it back to the original configuration. Basically, all you would do is change every fstab reference to hdax to sdax and reboot with the "linux init=/dev/sda6" trick and see if it goes. If it does, your 2.6 kernel is working but now your 2.4 kernel won't boot. You can then change your lilo.conf file over to "sda" and rerun lilo so you don't have to do the init= thing every time you boot. If it doesn't work, boot with your knoppix cd and change fstab back to "hda" and you should be back at square one. You might want to post your current /etc/fstab here so we can take a look at it. Quote Link to comment Share on other sites More sharing options...
coverup Posted June 3, 2005 Author Report Share Posted June 3, 2005 No, this does not work... I get the same kernel panic even though I try to boot with init=/dev/sda6. Here are the exact error messages (well I wrote them on a piece of paper as accurately as I could): Mounting root filesystem mount: error 6 mounting ext3 flags defaults well, rerying without the option flags mount: error 6 mounting ext3 well, rerying read-only without any flag mount: error 6 mounting ext3 pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed : 2 umount /initrd/sys failed : 2 umount /initrd/proc failed : 2 Initrd finished Freeing unused kernel memory: 216k freed Kernel panic: No init found. Try passing init= option to kernel _ Here is my /etc/fstab /dev/hda6 / ext3 defaults 1 1 /dev/hda8 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro ,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso88 59-1,sync,codepage=850 0 0 /dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 3, 2005 Report Share Posted June 3, 2005 (edited) I think you will have to edit fstab converting every hdax to sdax before it will work. At least that's what I would try next. You will need a knoppix cd in case it doesn't work since this would leave your system unbootable; you must have some way to redit fstab back. The other thing I would suggest is to try and reinstall with the standard kernel. This time you could try hitting F1 and passing different boot options. I assume you don't have a lot invested in your current install. The most common ones to try are: linux noapic nolapic acpi=off Also, check your bios settings, particularly those for your hard drives/sata. I've seen at least one other post describing the problem your having on this board: https://mandrivausers.org/index.php?showtopic=21650&hl=noapic So I'm begginning to wonder if your not better off just downloading LE2005 and seeing if the install will go. Everything points to this being a kernel issue; you can try an updated kernel but you will definitely run into the hdax, sdax issue as all the newer 2.6 kernels will designate a sata drive as sda. Edit: Was just killing some time looking through the Mandriva Club forum and came across this: http://forum.mandrivaclub.com/viewtopic.ph...dc35f091ea566ce Same problem with the installer loosing the cd drive with several suggestions on different boot options used with varying degrees of success. Worth taking a look at as this definitely seems to be a 2.6 kernel issue and it doesn't look like LE2005's kernel was much better. Edited June 3, 2005 by pmpatrick Quote Link to comment Share on other sites More sharing options...
coverup Posted June 4, 2005 Author Report Share Posted June 4, 2005 (edited) Thanks for the info, pmpatrick. I have tried to reinstall 10.1 with all of the options listed in the mandrakeclub thread to no avail. The Mandriva LE thread does not sound optimistic to me. So far, I got all important pieces of hardware working under 2.4 smp kernel - X with 3D acceleration, sound (not the best quality, but audible), DVD burning. I only miss power management. ACPI temperature in proc/acpi shows 60 deg. If this figure is centigrade , isn't it a bit high? Edited June 4, 2005 by coverup 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.