HP Pavilion Laptop - System freezes due to IRQ interrupt problems

Bug #110396 reported by PerToft
16
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.20 (Debian)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Fedora)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Suse)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20, linux-source-2.6.21

Hardware:
HP Pavilion tx1040ea
AMD Turion X2 1,6

Ubuntu wont install/boot unless it gets irqpoll pci=noacpi options at boot.

If no extra options the kernel freezes at after theese lines:
dmesg:
...
[ 0.000001] CPU#0 had -156 usecs TSC skew, fixed it up.
[ 0.000004] CPU#1 had 156 usecs TSC skew, fixed it up.

if i only use pci=noacpi the system can boot and i can login at gdm but the xorg hangs when gnome startes (before the splash screen).
I can see that it is the hald which hangs due to irq problems.

The problem for the wireless card and the graphics card is the IRQ routning.
e.g. Interrupt: pin A routed to IRQ 0
03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
        Subsystem: Hewlett-Packard Company Unknown device 1361
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at b8000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-
        Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
                Address: 00000000 Data: 0000
        Capabilities: [d0] Express Legacy Endpoint IRQ 0
                Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
                Device: Latency L0s <4us, L1 unlimited
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0
                Link: Latency L0s <4us, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
                Link: Speed 2.5Gb/s, Width x1
00: e4 14 12 43 07 00 10 00 01 00 80 02 10 00 00 00
10: 00 00 00 b8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 61 13
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 00 00

Revision history for this message
PerToft (per-minfejl) wrote :

lspci -vvx

Revision history for this message
PerToft (per-minfejl) wrote :

dmesg

Revision history for this message
PerToft (per-minfejl) wrote :

root@per-laptop:~# cat /proc/interrupts
           CPU0 CPU1
  0: 163059 18694 XT-PIC-XT timer
  1: 188 9 IO-APIC-edge i8042
  2: 0 0 XT-PIC-XT cascade
  5: 1158 1 IO-APIC-edge libata
  7: 18645 162102 IO-APIC-edge ehci_hcd:usb2
  8: 11 2 IO-APIC-edge rtc
  9: 11 10 IO-APIC-edge acpi
 10: 5 1 IO-APIC-edge HDA Intel
 11: 177 1 IO-APIC-edge ohci_hcd:usb1, eth0
 12: 420 4 IO-APIC-edge i8042
 14: 34 1 IO-APIC-edge ide0
NMI: 0 0
LOC: 181589 181588
ERR: 1
MIS: 0

Revision history for this message
PerToft (per-minfejl) wrote :
Download full text (4.0 KiB)

After i modprobe ndiswrapper-1.42(source) or 1.38 (ubuntu pkg) the dmesg is attachted.

I have tried the drivers recomended on the official ndiswrapper.sf.net site among others, all with the same outcome,

I have tried both ubuntu 32 bit and 64 bit. There are no difference in the outcome.
I have also tried the bcm43xx driver, without any luck.

...
[ 752.484000] ndiswrapper version 1.38 loaded (preempt=no,smp=yes)
[ 752.824000] ndiswrapper: driver bcmwl5 (Broadcom,03/23/2006, 4.40.19.0) loaded
[ 752.824000] PCI: No IRQ known for interrupt pin A of device 0000:03:00.0. Probably buggy MP table.
[ 752.824000] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 752.832000] IRQ handler type mismatch for IRQ 0
[ 752.832000] current handler: timer
[ 752.832000] [<c01540fe>] setup_irq+0x12e/0x1e0
[ 752.832000] [<f8f1f130>] ndis_isr+0x0/0xc0 [ndiswrapper]
[ 752.832000] [<c0154253>] request_irq+0xa3/0xc0
[ 752.832000] [<f8f1da7b>] NdisMRegisterInterrupt+0x9b/0x120 [ndiswrapper]
[ 752.832000] [<f8f22151>] ExAllocatePoolWithTag+0x31/0x1c0 [ndiswrapper]
[ 752.832000] [<f8f2d104>] miniport_init+0xa4/0x170 [ndiswrapper]
[ 752.832000] [<f8f2d329>] NdisDispatchPnp+0xd9/0xd80 [ndiswrapper]
[ 752.832000] [<c011e341>] __activate_task+0x21/0x40
[ 752.832000] [<c0120706>] try_to_wake_up+0x46/0x480
[ 752.832000] [<c02f1334>] kprobe_flush_task+0x44/0x90
[ 752.832000] [<c02ecc15>] __sched_text_start+0x8d5/0xa90
[ 752.832000] [<c02f1334>] kprobe_flush_task+0x44/0x90
[ 752.832000] [<c02ecc15>] __sched_text_start+0x8d5/0xa90
[ 752.832000] [<f8f26cb8>] IoAllocateIrp+0x68/0xa0 [ndiswrapper]
[ 752.832000] [<f8f277c5>] IoBuildAsynchronousFsdRequest+0x35/0x170 [ndiswrapper]
[ 752.832000] [<f8f21e21>] get_current_nt_thread+0xc1/0xf0 [ndiswrapper]
[ 752.832000] [<f8f2791b>] IoQueueThreadIrp+0x1b/0x130 [ndiswrapper]
[ 752.832000] [<f8f2695a>] IofCallDriver+0x3a/0xa0 [ndiswrapper]
[ 752.832000] [<f8f2936b>] IoSendIrpTopDev+0xbb/0x120 [ndiswrapper]
[ 752.832000] [<f8f296c3>] pnp_start_device+0x53/0xb0 [ndiswrapper]
[ 752.832000] [<f8f298f3>] wrap_pnp_start_device+0x1d3/0x280 [ndiswrapper]
[ 752.832000] [<f8f299e5>] wrap_pnp_start_pci_device+0x45/0x50 [ndiswrapper]
[ 752.832000] [<c01b8005>] sysfs_dirent_exist+0x45/0x70
[ 752.832000] [<c01b8ede>] sysfs_create_link+0x6e/0x160
[ 752.832000] [<c01fb953>] pci_match_device+0x13/0xc0
[ 752.832000] [<f8f299a0>] wrap_pnp_start_pci_device+0x0/0x50 [ndiswrapper]
[ 752.832000] [<f8f299a0>] wrap_pnp_start_pci_device+0x0/0x50 [ndiswrapper]
[ 752.832000] [<c01fba76>] pci_device_probe+0x56/0x80
[ 752.832000] [<c0257a66>] really_probe+0x66/0x190
[ 752.832000] [<c0257bd9>] driver_probe_device+0x49/0xc0
[ 752.832000] [<c0257dae>] __driver_attach+0x9e/0xa0
[ 752.832000] [<c0256f3b>] bus_for_each_dev+0x3b/0x60
[ 752.832000] [<c0257904>] driver_attach+0x24/0x30
[ 752.832000] [<c0257d10>] __driver_attach+0x0/0xa0
[ 752.832000] [<c02572cb>] bus_add_driver+0x7b/0x1a0
[ 752.832000] [<c01fbc44>] __pci_register_driver+0x74/0xc0
[ 752.832000] [<f8f1b812>] loader_init+0x102/0x220 [ndiswrapper]
[ 752.832000] [<f8f29d4f>] wrap_procfs_init+0x3f/0xb0 [ndiswrapper]
[ 752.8320...

Read more...

description: updated
PerToft (per-minfejl)
description: updated
Revision history for this message
Marcus (marcus-liljedahl) wrote :

I have a similar problem. I have an HP pavilion dv9000, I use Ubuntu and I can't boot the system without the noapic (not noacpi) option.

I reported the bug at https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/112775

I have several problems with the usb-driver also. I can boot the system without the noacpi option but with the option init=/bin/sh and when I load the usb driver the system freezes.

I have also tried pci=noacpi and then the system starts, but the bcm43xx module reports problems continuously and the nvidia-glx module doesn't start at all complaining about edge triggered interrupts.

Revision history for this message
PerToft (per-minfejl) wrote : Re: [Bug 110396] Re: HP Pavilion Laptop - System freezes due to IRQ interrupt problems

Hi Marcus,

I have also tried a custom linux kernel 2.6.21 and the lastest
developemnt relase of the kernel.
System still freezes.

I have done some further experiments...

I have managed to boot the system into single user mode with the boot
options: pci=routeirq

This fixes the edge-trigger problems with the interrupts, but the system
freezes when the i start xorg with any of the nvidia and even with the
vesa driver.

Im out of ideas now... I have just accepted that my wireless network in
inoperable and I get an error every 5 minutes that DVD-drive failed to
mount and in some rare cases it ejects the drive.

The problem lies in the ACPI support for the nForce chipset. Some guy
told me that it an third party bios update might fix the problem, but i
didn't have time to test this.

Tell me if you get any updates on the problem...

//Per

Marcus wrote:
> I have a similar problem. I have an HP pavilion dv9000, I use Ubuntu and
> I can't boot the system without the noapic (not noacpi) option.
>
> I reported the bug at https://bugs.launchpad.net/ubuntu/+source/linux-
> source-2.6.20/+bug/112775
>
> I have several problems with the usb-driver also. I can boot the system
> without the noacpi option but with the option init=/bin/sh and when I
> load the usb driver the system freezes.
>
> I have also tried pci=noacpi and then the system starts, but the bcm43xx
> module reports problems continuously and the nvidia-glx module doesn't
> start at all complaining about edge triggered interrupts.
>
>

Revision history for this message
Marcus (marcus-liljedahl) wrote :

Hi again Per,

The pci=noacpi make my system start, but the bcm43xx modules fails and the nvidia-glx modules still complains about edge triggerint. pci=routeirq didn't help here either. Have you tried the "noapic" option (not the "pci=noacpi"). This seems to be the best solution for me.

I use the bcm43xx modulate together with the bcm43xx-fwcutter ubuntu package for my wireless card. My computer then recognizes the wireless card and finds networks. But I still cant connect to any of them, but his is necessarily not a driver problem.

Don't you have problems with the ehci_hcd module? When I load it the CPU fans goes high, and I can see from the output from "top" that the processor is doing someting heavy.

Output from top with ehci_hcd loaded:
top - 16:07:11 up 15 min, 1 user, load average: 0.12, 0.13, 0.16
Tasks: 130 total, 1 running, 129 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 2.0%sy, 0.0%ni, 9.3%id, 0.0%wa, 88.4%hi, 0.0%si, 0.0%st
Mem: 2059776k total, 665192k used, 1394584k free, 16744k buffers
Swap: 4803392k total, 0k used, 4803392k free, 346792k cached

Output from top with ehci_hcd not loaded:
top - 16:10:55 up 19 min, 1 user, load average: 0.24, 0.18, 0.17
Tasks: 131 total, 1 running, 130 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.0%us, 3.5%sy, 0.0%ni, 70.0%id, 0.0%wa, 1.3%hi, 21.2%si, 0.0%st
Mem: 2059776k total, 665632k used, 1394144k free, 16848k buffers
Swap: 4803392k total, 0k used, 4803392k free, 346836k cached

//marcus

Revision history for this message
Marcus (marcus-liljedahl) wrote :

Any news to this problem? I see several users having similar problems.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

This sounds similar to Bug #89746

Revision history for this message
Marcus (marcus-liljedahl) wrote :

Sitsofe, I agree, and also #112775

Revision history for this message
lemonman (jd-schroeder) wrote :

I'd like to add my two cents here. I'm experiencing the same problems on my dv9317cl, particularly the high interrupt handler CPU usage while booting with noapic. Running kernel 2.6.22.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in linux:
status: New → Incomplete
Revision history for this message
Marcus (marcus-liljedahl) wrote :

Isn't this a duplicate of #200057

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

The 18 month support period for Feisty Fawn 6.10 has reached it's end of life - http://www.ubuntu.com/news/ubuntu-7.04-end-of-life . As a result, we are closing the linux-source-2.6.20 kernel task. However, this will remain open against the actively developed kernel. If someone could confirm this with the 2.6.27 Intrepid Ibex kernel that would be great. Thanks.

Changed in linux-source-2.6.20:
status: New → Won't Fix
Revision history for this message
Sheldon (leewsb) wrote :

I have a dv9000 and I have the same problem. It is a strange issue though. The boot will hang unless I hold down a key on the keyboard until it gets to the point of running init scripts. If I boot with noacpi then it boots normally, unfortunately then I can't see my battery state. I haven't tried it with the irqpoll pci=noacpi options though.

Revision history for this message
Marcus (marcus-liljedahl) wrote :

Sheldon: Which version of ubuntu are you running? 8.04 or later?

Revision history for this message
Sheldon (leewsb) wrote :

Hi Marcus,

I'm running Ubuntu 8.10. I actually had no problems with Ubuntu 8.04 or any of the kernel updates.

Revision history for this message
Sheldon (leewsb) wrote :

Hi Marcus,

I've booted with pci=noacpi and it appears to be working properly. In fact, I think my problem more resembles bug 273318 https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/273318 so I'm going to move over to tracking that bug. Thanks for your help.

Revision history for this message
Charles McCreary (charles.r.mccreary) wrote :

On my HP Pavilion dv9000, similar problem. Boot hangs but will boot if you press a key whenever it hangs. Similar to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/272247
Also wireless is busted. Funny thing, everything was fine using 8.04 until I installed the latest kernel upgrade for 8.04, then wireless stopped working.

Revision history for this message
Steve Conklin (sconklin) wrote :

This problem is addressed in other bugs, so I am closing this one

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Sheldon (leewsb) wrote :

Which other bugs? I'd like to know so that I can track them pls.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

You have noted this is a bug in suse, fedora, & debian, but no upstream bug links.Could you please provide upstream bugs?

As well, I noticed the package your bugging is updated in Maverick. Does this occur in it? If so, please feel free to mark this bug as new. Thanks in advance!

Changed in linux-source-2.6.20 (Debian):
status: New → Incomplete
Changed in linux-source-2.6.20 (Fedora):
status: New → Incomplete
Changed in linux-source-2.6.20 (Suse):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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