Help - Search - Members - Calendar
Full Version: Kernel: I need a Guru!
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
sjaglin
Hi There,

I am trying to optimise my install of Mandriva 2008 on the asus P701 mini laptop. I installed as described there :

http://mandrivausers.org/index.php?showtop...139&hl=asus

My mandriva is on a usb external driver, on the first partition and so far has the following install:

CODE
[root@localhost stephane]# uname -a
Linux localhost 2.6.22.9-desktop586-1mdv #1 SMP Thu Sep 27 03:58:17 CEST 2007 i686 Intel(R) Celeron(R) M processor          900MHz GNU/Linux
[root@localhost stephane]# uname -r
2.6.22.9-desktop586-1mdv


All is good, although not that fast (slow usb drive). My problem is to try to get a more recent kernel. So far the updates have installed for me some better version 2.6.22.12-desktop-1mdv being the most recent.

In order to boot I have to chose the linux-nonfb noapic nolapic otherwise I get a kernel panic at the end of the initrd.
If I do any other kernel than the 22.9 I get a kernel panic.

CODE
My Lilo :[root@localhost stephane]# cat /etc/lilo.conf
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/sda
map=/boot/map
install=menu
keytable=/boot/uk-latin1.klt
menu-scheme=wb:bw:wb:bw
compact
prompt
nowarn
timeout=100
message=/boot/message
disk=/dev/sda bios=0x80
image=/boot/vmlinuz-desktop
        label="linux"
        root=/dev/sda1
        initrd=/boot/initrd-desktop.img
        append="resume=/dev/sda5 splash=silent"
        vga=788
image=/boot/vmlinuz
        label="linux-nonfb"
        root=/dev/sda1
        initrd=/boot/initrd.img
        append="resume=/dev/sda5"
image=/boot/vmlinuz
        label="failsafe"
        root=/dev/sda1
        initrd=/boot/initrd.img
        append="failsafe"
image=/boot/vmlinuz
        label="desktop586_2.6.22.9-1"
        root=/dev/sda1
        initrd=/boot/initrd.img
        append="resume=/dev/sda5 splash=silent"
        vga=788
image=/boot/vmlinuz-desktop586
        label="desktop586_2.6.22.12-1"
        root=/dev/sda1
        initrd=/boot/initrd-desktop586.img
        append="resume=/dev/sda5 splash=silent"
        vga=788
image=/boot/vmlinuz-2.6.22.12-desktop586-1mdv
        label="alt_desktop586_2.6.22.12-1"
        root=/dev/sda1
        initrd=/boot/initrd.img
        append="resume=/dev/sda5 splash=silent"
        vga=788
image=/boot/vmlinuz-2.6.22.12-desktop-1mdv
        label="desktop_2.6.22.12-1"
        root=/dev/sda1
        initrd=/boot/initrd-2.6.22.12-desktop-1mdv.img
        append="resume=/dev/sda5 splash=silent"
        vga=788
[root@localhost stephane]#


Sorry, I feel more at home with lilo... (Boooh)

My questions:
Is there any other options than noapic/nolapic which could work?
Can I write the noapic nolapic bit somewhere in order to avoid retyping it?
Any idea why the old kernel is the only one to work?

Thanks for your help

Stef
theYinYeti
QUOTE
Can I write the noapic nolapic bit somewhere in order to avoid retyping it?
You can append it to each append="..." line (inside the double-quotes of course).

Yves.
sjaglin
Thanks have done it, it works,

wink.gif
sjaglin
Hi,

I am back with my booting problems on the Eee laptop from Asus. I am testing the installation of 2008.1 on an external usb disk for that laptop. The aim is to keep Mandriva on external disk and Xandros on the internal ssd (very fast boot - 30 secs).

In order to install 2008.1 on the usb external hard drive I had to cheat : I unplugged all the hard drive from my Desktop and booted on the cdrom (2008.1 live) therefore fooling the installer in thinking the external drive was the only drive on board (in order for the drive to get the sda label).

Thanks to this method, I can install and boot the Eee on 2008.1 on external drive with a booting time of approx. 80 seconds. Acceptable for me as once booted the lan/wifi/webcam/sound/3d work perfectly and it's really a great distro on this machine.

Nevertheless in order to progress I need the more recent kernel , 2.6.24-desktop586-0.rc8.2mdv is the one I run successfully. Any other kernel and the Eee won't boot despite trying noapic, nolapic, irqpoll.

MY QUESTIONS:

1- How can I get the source to compile 2.6.24-desktop586-0.rc8.2mdv?
2-Any ideas why Mandriva will not boot except if I use the kernel used during prime install?

Thanks for your help,

Stef (fighting for Mandriva being a great distro for the Eee PC!! see : http://wiki.eeeuser.com/mandiva_2008_on_eee_pc )
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.