Ubuntu only doesn't like apic

Bug #120648 reported by redxii
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Whether 64-bit or i386, custom compiled or stock kernel, setup or actually in the distro, Ubuntu requires either noapic or pci=noacpi. That presents problems and trade-offs that don't make Ubuntu a viable option. Slackware works without the need to disable anything, and according to a Gentoo user on Linux on Laptops, neither does Gentoo.

This is the working config I use in Slackware that I also used in Ubuntu: 2621-HP.config
With the default parameters, Ubuntu will freeze as it loads GDM, so it hangs at a black screen. In single user mode, with apic enabled, it will still freeze. Without quiet nosplash it might hang at loading the drivers or "setting up console font and keymap".

If I disable apic, change xorg.conf to use the vesa driver, then boot normally, loading GDM no longer results in a black screen, it actually comes up and I can log in. However, it still freezes completely about a minute or two after.

'noapic' = Ok, the machine boots, everything works, except for USB. So adding irqpoll will fix the USB problem.
'noapic irqpoll' / 'noapic irqpoll noirqdebug' = Machine boots, but there doesn't seem to be any power management or cpu frequency scaling. The CPUs are constantly running at full speed. No battery detection, etc etc.
'pci=noacpi' = Big fat X11 error message trying to use the accelerated nVidia driver, a problem relating to edge-triggered IRQs.

I'd like to stick with Slackware, but I need a distro with a package manager. I have some logs zipped up, including from Slackware, and lspci -vvvv from Slackware. I hope they're enough to go on.

This is the computer: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00847924&lc=en&cc=us&dlc=en&product=3340175&lang=en
w/ latest BIOS

Currently I'm using Ubuntu Feisty 7.04 64-bit with 2.6.20-15 and 2.6.20-16 kernels installs. The 32-bit build isn't any different.

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 72
model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8legacy ts fid vid ttp tm stc
bogomips : 1608.35
clflush size : 64

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 72
model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8legacy ts fid vid ttp tm stc
bogomips : 1608.35
clflush size : 64

Revision history for this message
redxii (redxii1234) wrote :
description: updated
redxii (redxii1234)
description: updated
description: updated
redxii (redxii1234)
description: updated
Revision history for this message
redxii (redxii1234) wrote :

The problem was actually a combination of buggy 2.6.20 kernel + mobile GPUs do not play well with framebuffer drivers such as "nv", yet also "vesa" failed. I installed nVidia's driver (as I do in Slackware as well) and all is well. Custom 2.6.21 kernel + nVidia.

But, even though vanilla 2.6.20 sources worked in Slackware, Ubuntu's 2.6.20 kernel does not..

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

Thanks for your bug report. I am assigning the kernel package to drive attention to the people involved in Ubuntu kernel development.

Revision history for this message
redxii (redxii1234) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
redxii (redxii1234) wrote :

I'm using now Kubuntu KDE Remix (kubuntu-kde4-8.04.1-alternate-i386.iso) which has kernel 2.6.24, I dunno if it's the same as the regular Ubuntu w/ GNOME or KDE 3.5.x but this one is working fine and no longer have to use noapic or anything else, it just works.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks for the update, I'll go ahead and mark this "Fix Released". For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thanks again.

Changed in linux:
status: Incomplete → Fix Released
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.