You are not logged in.

#1 2004-06-25 13:08:33

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 329
Website

Kernel panic!

Hi,

I am just installing a new machine with an intel mother board and a pentium 4 processor.

All goes reasonably well untill I pacman -Syu then reboot when I get a kernel panic reporting some issues with acpi 9which I can't turn off on my board)

Has anyone else had similar problems with a recent pacman -Syu?


Kind regards

Benedict White

Offline

#2 2004-06-25 13:19:12

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Kernel panic!

don't upgrade your kernel, you can compile your own later on  big_smile


arch + gentoo + initng + python = enlisy

Offline

#3 2004-06-25 13:31:40

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 329
Website

Re: Kernel panic!

The problem is that when you do a pacman -Syu it wants to upgrade the kernel, I appreaciate that I can tell it not to (looking up where the config file is) but I was hoping to be able to keep the lot up to date automatically.


Kind regards

Benedict White

Offline

#4 2004-06-25 14:58:39

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Kernel panic!

is there not boot parameters you can pass to turn off acpi?

i appreciate that you don't want to have to maintain many or any of your own packages but in this case you just have to modify the config file and rebuild the kernel package. then add it to your ignore list and the next time the kernel is upgraded check what config changes were made and whetether or not they benefit you then recompile.


AKA uknowme

I am not your friend

Offline

#5 2004-06-25 21:33:30

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Kernel panic!

yes that is right BW, arch is made for running uptodate but the kernel is a special case, Because things like i.e acpi-stuff is developing all the time and sometimes it just don't work even if it is a newer version.
hope you get it to work again. There is also a wiki-howto how you compile a kernel.


arch + gentoo + initng + python = enlisy

Offline

#6 2004-06-25 22:54:38

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Kernel panic!

Problems with acpi/apic in the linux kernel are known from some time. What boot manager are you using? I'm not sure about lilo but in grub you can just add acpi=off apm=off noapic manually during boot. You should also add this to your kernel line in grub menu.lst. My experience is that acpi/apic problems show up and disappear quite frequently :-) On the other hand I've just installed and upgraded arch on one of the severs with acpi, apm and apic turned on and it runs very fine including powering off etc. - no easy rules here.

Offline

#7 2004-06-26 10:09:49

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 329
Website

Re: Kernel panic!

Ok, so here is the line from /boot/grub/menu.lst

kernel (hd0,0)/vmlinuz26 root=/dev/discs/disc0/part3 ro

What do I add to the end of the line? would it be:

kernel (hd0,0)/vmlinuz26 root=/dev/discs/disc0/part3 ro acpi=off apm=off noapic

(Without the word wrap?)


Kind regards

Benedict White

Offline

#8 2004-06-26 13:44:06

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Kernel panic!

Correct. You don't have to use all the options - first try to use just acpi=off then if this won't help add noapic, etc.
acpi=off turns off acpi in kernel
apm=off turns off apm ("older acpi") in kernel
noapic makes kernel manage irqs on it's own
If you want to know more about those settings search the forums for acpi and apic.
The strange thing is that you can't change acpi settings in your bios - if it's pIV mainboard it should have some settings available. Newer boards also have apic settings in bios. But I guess you just upgraded kernel from 2.4 to 2.6 and got into troubles with acpi - that's what I also experienced on my desktop machine. Remember that you can maintain a few grub setups for each kernel in menu.lst - if you don't want to mess with the settings which worked before just duplicate them and add new things.

Offline

#9 2004-06-26 15:55:59

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 329
Website

Re: Kernel panic!

Many thanks, using the first two options in the boot loader solved the problem.

Usefull to know I can reconfigure the Kernal to provide a safe mode option like that.

Is there a completly failsafe set of options I can use?


Kind regards

Benedict White

Offline

#10 2004-06-26 23:03:25

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Kernel panic!

I don't think there is something like "completly safe set of options" for newest linux kernel or even any linux kernel :-) Most problems (in standard ide kernels at least) come from acpi/apm, apic (irq) or ide (like some mainboards with via/promise chipsets and controllers). The reason may be for example bios incompability. When you will have the troubles with ide drives you can use ide=nodma but this of course slows down drive performance - use this when you will not have any other option. I also don't have any SATA drives but some people have problems with them (but not always). I'm not sure if there is some ultimate and uptodate docs for kernel boot parameters. Usually the best way is to use google. You can also read this howto first http://www.ibiblio.org/mdw/HOWTO/BootPrompt-HOWTO.html

Offline

#11 2004-06-29 11:17:44

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Kernel panic!

But this is really not arch related problem. It's linux kernel (at least vanilla version) related (check the lkml list, kernel bug tracker and kerneltrap.org for examples). Even more - on other systems it runs without any problems - I have two computers with arch installed and on only on one of them I have to disable acpi. In other words if you use some other distro with newer kernel it will fail in the same way (I tried this with some newest live cds). If you check the install guide you will find now acpi solution in the faq section.

Offline

#12 2004-06-29 18:07:30

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Kernel panic!

If you take away the acpi from my kernel, my laptop won't work.  It needs ACPI.  I think it would be a critical bug to not include ACPI in the kernel.  So nyah! tongue


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB