Certain machines need to be booted with noapic

Bug #29601 reported by mon
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hi

I'm using kubuntu dapper up to date. I have a centrino laptop (acer aspire 1691WMLi). I have installed the linux-686 kernel for my centrino & my laptop doesn't boot at all with it. However, it boots correctly with the 386 standard kernel. My laptop has a DSDT file for battery support installed, and the 386 kernel boots correctly with it, so I don't know where is the error.

Please ask for any information needed to erase this bug.

Thanxs.

Here's the contents of /boot:

javier@a1691:~$ cd /boot/
javier@a1691:/boot$ ls
abi-2.6.15-13-386 config-2.6.15-13-686 initrd.img-2.6.15-13-686 System.map-2.6.15-13-686
abi-2.6.15-13-686 grub memtest86+.bin vmlinuz-2.6.15-13-386
config-2.6.15-13-386 initrd.img-2.6.15-13-386 System.map-2.6.15-13-386 vmlinuz-2.6.15-13-686
javier@a1691:/boot$

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've tried disabling the dsdt with no luck. The 386 compiled version boots fine, but the 686 one freezes. This didn't happened to me in warty, hoary or breezy, where I could succesfully boot the 686-compiled kernel.

Revision history for this message
Ben Collins (ben-collins) wrote :

Need to know where it fails. Please disable splash and quiet in your boot commands (grub), and also follow this:

https://wiki.ubuntu.com/DebuggingSystemCrash
https://wiki.ubuntu.com/DebuggingIRQProblems

Changed in linux-source-2.6.15:
status: Unconfirmed → Needs Info
Revision history for this message
mon (javiermon-deactivatedaccount) wrote : 386 kernel log

This is /var/log/kern.log when booted from the 386 kernel. Here everything boots correctly

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : shots of te booting process

Here I'm attaching some shots I've taken from the boot process with the 686 kernel. Unfortunately the camera is a really crappy one, and the photos aren't very good. Maybe tomorrow I can ask a friend for a better one & upload a better photo. I've taken some & to make it a little bit more complete here are the last lines of the boot process:

[4294671.116000] EISA: Detected 0 cards
[4294671.117000] NET: Registered protocol family 2
[4294671.285000] input: AT Translated Set 2 keyboard as /class/input/input0

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : dmesg output

Here's my dmesg output on the 386 kernel

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : Re: linux-386 boots, but linux-686 doesn't boot.

I've tried the suggested actions on debugging crashes. The system outputs:

SysRq : Changing logleve
loglevel set to 1
SysRq : Show State

and nothing else happens. I can't to anything usefull in that console... so I don't know what else to do.

Revision history for this message
Ben Collins (ben-collins) wrote :

Those pics were great. No need to get better ones.

Looks to me like you are experiencing IRQ related issues. Likely it's caused by the fact that the 686 kernel has IOAPIC enabled.

Realistically, you aren't going to get any better out of the 686 kernel than you do out of the 386 kernel performance wise.

I would like to resolve this issue, so how about trying some of the boot options at:

https://wiki.ubuntu.com/DebuggingIRQProblems

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've followed your instructions, first of all I need to boot the 386 kernel with noapic nolapic options or else it won't boot. After trying the other booting options only acpi=off did the trick.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I want to add that booting with acpi=off leaves my laptop with no battery status & probably more things disabled (which I assumed it's expected). Also, FYI the recent linux kernel update hasn't fixed this issue. Please ask for more info if it's needed.

Thanxs

Revision history for this message
Ben Collins (ben-collins) wrote :

Can you try pci=noacpi? If this works, then please attach the output of "sudo dmidecode > dmi.txt"

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : output of dmidecode

output of dmidecode

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : Re: linux-386 boots, but linux-686 doesn't boot.

Hi

I've managed to boot with pci=noacpi. Interesting results:
- The laptop battery is detected & switching on & off the power supply changes kde's KLaptop icon in the taskbar.

IIRC this didn't happened before, maybe it's because of the recent kernel support for smart batteries?

- Network doesn't work at all. Not even after trying to reestablish a dhcp ip address.

- USB work (I expected this to happen).

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've tried the following:
renamed my DSDT.aml to DSDT.aml_
sudo dpkg-reconfigure linux-image-2.6.15-15-386
rebooted with the 386 kernel & no battery detected, so I don't know why the laptop battery was detected in the previous attempt.

Revision history for this message
zdzichu (zdzichu-gmail) wrote :

I've got similar issue with Optimus brand celeron based laptop with sis graphic chip (which may imply it's sis-chipset based).

Kernel stopped booting, but after few seconds it detected soft-lockup and displayed stack backtrace. EIP was at mwait_idle().
So I've added 'idle=poll' to kernel command line. Similar hang, EIP at poll_idle().

I was able to boot after REMOVING 'noapic nolapic' from kernel command line.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Any updates on this? Recent kernel updates haven't fixed the problem here.

Thanxs

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

For the record, linux image 2.6.15-17 still doesn't fix this bug :(
Same error, stalled in "input: AT Translated set 2 keyboard..."

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi again,

This bug is marked as "need info". Ben: What kind of information can I supply?

Thanxs

Revision history for this message
Ben Collins (ben-collins) wrote :

Can you try hitting "ctrl + scroll-lock" when it stops and see if anything comes out on the console? Seems this bug goes further than just our Ubuntu kernel, and I'd like to help get more info on it.

Thanks

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

Ctrl+scroll lock revealed some info. I'm attaching a shot.

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : shots

ctrl+scroll block

Revision history for this message
mon (javiermon-deactivatedaccount) wrote : Re: linux-386 boots, but linux-686 doesn't boot.

Hi

Does the attached info revealed something usefull? I consider a regression on breezy, since I could use the optimized kernel with this computer. If you need more info I can provide please ask.

Thanxs

Revision history for this message
mzwanik (mzwanik) wrote :

Hello!, I've been dealing with this boot trouble for more than a month, and the only thing that work for me was the linux-386 image...
Today I removed the kernel option "nolapic", and wow! it works!!!!
The complete line option I use is:

/boot/vmlinuz-2.6.15-19-k7 root=/dev/hda2 ro vga=791 noapic quiet splash

I have an HP nx6125 with a Sempron 2800+, and an upgrade from ubuntu breezy badger to Dapper Drake.

Hope this help someone...

Sorry for my english... Thks to all :)

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

Hi

I no longer have this laptop, so I'm afraid I can't help anymore with this bug. If someone else sees this behaviour please help Ben, if not, you can close this bug.

Thanxs

Revision history for this message
Frank McCormick (fmccormick) wrote :

I'm running kernel 2-6-15-19 - until I read this discussion my HP Vectra (Pentium 3) wouldn't boot with the 686 version - adding NOAPIC to the Kernel command line solved the problem. To ensure my network card was not sharing an IRQ I already had acpi=noirq on the command line. But everything still **seems** to work. We'll see.

Simon Law (sfllaw)
Changed in linux-source-2.6.15:
status: Needs Info → Confirmed
status: Confirmed → Needs Info
Revision history for this message
zdzichu (zdzichu-gmail) wrote :

with 2.6.15-26-686 still hang on boot with soft lockup detected. To boo, I have to remove "nolapic" from kernel command line. Working command line for me is: [17179569.184000] Kernel command line: root=/dev/hda5 ro noapic quiet splash.
I'm attaching dmidecode output, so this machine coul dbe autodetected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-source-2.6.15 (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.