booting HP Pavilion tx1020 laptop requires noapic kernel option

Bug #103273 reported by StarMan
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

PROBLEM: Ubuntu isn't able to boot on my laptop and hangs mostly on "Loading hardware drivers..." (in two instances got a couple of lines further but that could be an anomaly). This occurs both on live-CD and after installation (alternate text installation works) - yes different dics/downloads, the media is fine. So far I've been able to get my hands on DSL 3.2 (damn small linux) and SimplyMEPIS-DVD_6.0-1_i386 and both of them boot but lack stuff like touchpad. More detailed specs below. Via install-CD recovery I can get to a shell in the root.

QUESTIONS: On long term I suppose I'll have to start retrieving info about possible problemspots (whose ot say it's just one in there) to first get it to boot to desktop. That will be the end of this bug, I suppose.
On short term to be able to do most things, as rescue gives me only limited access, I'm going to need some way to boot to shell at least.

HARDWARE:
Laptop HP Pavilion tx1020
AMD Turion™ 64 X2 TL-5
1024 Mb
120 Gt SATA
12,1" touchscreen (1280x800)
NVIDIA(r) GeForce™ Go 6150 (128Mb shared)
802.11a/b/g WLAN, Bluetooth, ethernet,
cardreader, web-cam, speakers, FireWire,
fingerprint scanner, modem, ir-remote,
touchpad, spdif-audio-out, modem
Lightscribe CD/DVD (+/-R; +/-RW; dl)
In stores: 3/2007 (Vista included)
Link to HP:s support site: http://search.hp.com/query.html?charset=iso-8859-1&hpvc=sitewide&la=en&qs=&lk=1&rf=0&uf=1&nh=10&st=1&qt=HP+Pavilion+tx1020ea+Notebook+PC&ocoldqt=Pavilion+tx1020&oc=3352239

HDD split: Vista (ntfs); HP recovery (ntfs); Ubuntu (ext3, ext3, swap)
Edited grub to allow doubleboot to Vista.

cd iso/kernel: ubuntu-6.06.1-alternate-amd64.iso / 2.6.15-26-amd64-generic

Sequence on installation (normal) and some notes from along the way:
text install method
...
do network setup
"system has several network devices/ports..."; primääri eth0: broadcom
corporation bcm4310 UART (wireless), eth1: nVidia corporation mcp51
Ethernet controller
could not set up wireless network (offered only wep, not wpa)
...
disk partitioned
...
username and pw set
...
installing basic setup
...
no language support downloaded
...
xserver-xorg setup; 1280x800 only
...
installing grub
...
remove cd and reboot
...
hp, grub, booting, slash screen
...
loading hardwere drivers...
####hangs
####re-try
hp, grub, booting (recovery mode)
...
loading hardwere drivers...
####hangs

---

####ubuntu-cd: rescue system, shell (hdd root partition)

(Output from commands that were asked to try on https://wiki.ubuntu.com/LaptopTestingTeam/FAQ)

# "less -F /var/log/messages"
-> can't be executed, "terminal not fully functional"
# "ifconfig -a"
-> "cannot open /proc/net/dev (No such file or directory). Limited output"
# "tcpdump -i ethx"
-> "ioctl: No such device"
# "netstat -in"
-> "Kernel interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVER Flg
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
missing interface information: NOsuch file or directory"
# "netstat -rn"
-> "/proc/met/route: No such file or directory
INET (IPv4) not configured in this system"

StarMan (starproject)
description: updated
StarMan (starproject)
description: updated
StarMan (starproject)
description: updated
Revision history for this message
Sami Haahtinen (ressu) wrote :

this same laptop also was tested with Feisty Beta minimal CD with the same results.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. The final version of Feisty Fawn has now been released. Do you still have problems booting with it? Thanks in advance.

Revision history for this message
StarMan (starproject) wrote :

I downloaded ubuntu-7.04-desktop-amd64.iso couple of hours ago. Didn't boot right away, BUT...
thanks for the help menu, press f6 and added "noapic nolapic" and we're in business :-)
So far I got Live booted up nicely (including touchpad, haven't tested other features), install is running.
Will update later if installation doesn't boot.

Revision history for this message
StarMan (starproject) wrote :

Installation apparently went ok BUT...
U doesn't boot on it's own or on recovery mode (hangs on "Loading hardware drivers").
I don't know how to include "noapic nolapic" (if usable?) for booting. What exactly does it do anyway (good to know for possible other problems)?

Revision history for this message
Brian Murray (brian-murray) wrote :

You can pass the same options to the kernel by modifying the kernel boot options in the grub menu. You can learn about it at https://help.ubuntu.com/community/GrubHowto . Please let us know how that works out for you.

Revision history for this message
StarMan (starproject) wrote :

Ok, this peace of hardware has just been "Ubuntugraded". A simple matter in the end it seems, but for the benefit of others to come:
- on first boot edit grub's line for ubuntu: press e, select line that says kernel, press e and add noapic and boot
- when in ubuntu, edit grub menu.lst (as shown on instructions) and add noapic again to the end of kernel line on both normal and rescue modes.
This problem with tx1020 is now solved.
(I'll try to set up a page for all the other tweaks later somewhere)

Revision history for this message
Kishore (kitts) wrote :

I have the tx1003 and the difference seems to only be with the processor. tx1003 comes with TL-52.

The laptop would repeatedly hang on boot. I had to enter single user mode when using the live cd, unload the bcm43xx module and then it would boot.

Touchscreen works but is grossly uncalibrated. Wireless works with ndiswrapper and sound does not work.

Revision history for this message
Brian Murray (brian-murray) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. Thanks again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  I got a similar problem on my HP Pavilion dv6391 laptop (runs on a Turion X2 processor):
Feisty (AMD64) Live CD does freezes
When booting Feisty (AMD64) after being installed on my harddisk, it freezes at the "Loading hardware drivers..." stage, unless I run it with acpi=off

Gutsy Live CD works (I used the 23/7 CD image), yet also the installed version doesn't boot unless I use acpi=off option.

Note that with this option, some things don't work, like the system beep and the USB (inserting a flash disk causes nothing to happen, not even detected in dmesg output).
I think this dmesg error is related to USB:

[ 438.030260] irq 7: nobody cared (try booting with the "irqpoll" option)
[ 438.030336]
[ 438.030336] Call Trace:
[ 438.030339] <IRQ> [<ffffffff8026aabe>] __report_bad_irq+0x1e/0x80
[ 438.030361] [<ffffffff8026ada3>] note_interrupt+0x283/0x2c0
[ 438.030369] [<ffffffff8026ba20>] handle_edge_irq+0xe0/0x150
[ 438.030376] [<ffffffff8020c6bb>] do_IRQ+0x7b/0x100
[ 438.030380] [<ffffffff80209010>] default_idle+0x0/0x40
[ 438.030384] [<ffffffff8020a3a1>] ret_from_intr+0x0/0xa
[ 438.030386] <EOI> [<ffffffff804216e0>] unix_poll+0x0/0xb0
[ 438.030397] [<ffffffff80209039>] default_idle+0x29/0x40
[ 438.030401] [<ffffffff802090c0>] cpu_idle+0x70/0xc0
[ 438.030414]
[ 438.030415] handlers:
[ 438.030477] [<ffffffff88023d10>] (usb_hcd_irq+0x0/0x60 [usbcore])
[ 438.030654] Disabling IRQ #7

also I keep getting this:

[ 596.319878] Trying to free already-free IRQ 0
[ 596.588211] bcm43xx: Cannot register IRQ0

The complete dmesg output is attached

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

In Gutsy, there isn't a /proc/version_signature file, so I attached the /proc/version file instead

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 103273] Re: Ubuntu installation (and live-CD) unable to boot in HP Pavilion tx1020 laptop (AMD64, tablet), hangs

On Thu, Jul 26, 2007 at 07:38:21PM -0000, Ahmed El-Mahmoudy wrote:
> Gutsy Live CD works (I used the 23/7 CD image), yet also the installed
> version doesn't boot unless I use acpi=off option.
> Note that with this option, some things don't work, like the system beep and the USB (inserting a flash disk causes nothing to happen, not even detected in dmesg output).

Hello,

  I just did another test last night, I booted with pci=noacpi option,
  and it boots ! Not only that, but also USB is working, and system beep
  is working too ! But there seems to be a problem still with the wifi
  as I am still getting this in dmesg:

[ 596.319878] Trying to free already-free IRQ 0
[ 596.588211] bcm43xx: Cannot register IRQ0

  Please tell me if there are any outputs I should provide.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Sorry, I found that if I waited for about 10 minutes I get that error
message about the USB again:

[ 438.030260] irq 7: nobody cared (try booting with the "irqpoll" option)
[ 438.030336]

[ 438.030336] Call Trace:
[ 438.030339] <IRQ> [<ffffffff8026aabe>] __report_bad_irq+0x1e/0x80
[ 438.030361] [<ffffffff8026ada3>] note_interrupt+0x283/0x2c0
[ 438.030369] [<ffffffff8026ba20>] handle_edge_irq+0xe0/0x150
[ 438.030376] [<ffffffff8020c6bb>] do_IRQ+0x7b/0x100
[ 438.030380] [<ffffffff80209010>] default_idle+0x0/0x40
[ 438.030384] [<ffffffff8020a3a1>] ret_from_intr+0x0/0xa
[ 438.030386] <EOI> [<ffffffff804216e0>] unix_poll+0x0/0xb0
[ 438.030397] [<ffffffff80209039>] default_idle+0x29/0x40
[ 438.030401] [<ffffffff802090c0>] cpu_idle+0x70/0xc0
[ 438.030414] =

[ 438.030415] handlers:
[ 438.030477] [<ffffffff88023d10>] (usb_hcd_irq+0x0/0x60 [usbcore])
[ 438.030654] Disabling IRQ #7

and the USB ceases to work (for ex. won't detect a USB flash disk being
inserted)

Also I forgot to mention that sound also works well with pci=noacpi
option, in contrast with the acpi=off option which made sound work
incorrectly, for example, when I run:

aplay /usr/share/sounds/question.wav

once, the file gets played 3 times, and then another 3 times but with a
lower voice. (note that this is what GDM runs when it starts)

Yet with pci=noacpi option it is normal !

Revision history for this message
Hugh Jacobs (circuskiller) wrote :

Now, I had this problem in Feisty, but after testing Gutsy Tribe 2, I noticed that it still has the same problem.

When booting up, it halts at a blank screen. The workaround i used was to add "noapic irqpoll noirqdebug" to the kernel parameters.

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

(Might be a a dup of Bug #89746 )

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Try 'nolapic_timer nohz=off' instead.

Changed in linux-source-2.6.22:
assignee: ubuntu-kernel-team → timg-tpi
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 103273] Re: booting HP Pavilion tx1020 laptop requires noapic kernel option

On Mon, Aug 06, 2007 at 02:32:29PM -0000, Tim Gardner wrote:
> Try 'nolapic_timer nohz=off' instead.

Hello, I tried nolapic_timer nohz=off, yet the laptop still freezes at
the "Loading hardware drivers..." stage.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  I just tried "noapic irqpoll noirqdebug" kernel parameters, and the
  results were good:

  1. system beep works
  2. USB errors dissappeared
  3. wifi errors dissappeared
  4. sound works

  and of course the system didn't freeze during boot.

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

I seem to have to seem problem with my dv9398eu. Using the kernel options "noapic irqpoll noirqdebug" makes my ehci usb module use 50% of cpu load. You can see that by running "top" in a console window and watch the %id (idle) number. It should be close to 100% when computer is idle. When the ehci module is loaded it is more close to 47%-50%.

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.22:
assignee: timg-tpi → ubuntu-kernel-team
status: Triaged → Confirmed
Revision history for this message
Sebastian (haas-ems-wuensche) wrote :

I have the same problems on a dv9266eu. I've also blacklisted ehci_hcd to reduce IRQ load.

Revision history for this message
Mindphaser (mindo83) wrote :

Exactly the same problem with a HP 6715s on gutsy ! Without the noapic option, screen turns black during boot and nothing happens.
With noapic it runs (almost) stable, but it breaks Sleep/Hibernate.

Interesting is, that on feisty this problem didnt exists for me.

Revision history for this message
Igor Lopez (igor-lopez) wrote :

I am seeing this problem on Feisty, without the noapic boot option the PC will not start.
It is a HP Pavilion DV9094EA and installed using the x86 image.
I am in the process of DL the Gutsy AMD64 image and will try to boot into the live option. This did not work on Feisty.
The problems with booting with noapic is that sleep and hibernate does not work nor does high speed USB2.0 work.

I am seeing the same thing as Ahmed does and am attaching the same outputs in one log.

Revision history for this message
Igor Lopez (igor-lopez) wrote :

Just tested the Gutsy DL and it also did not come up in live mod.
However when I went to reboot my Feisty i removed the noapic option just to see where it stopped (I did not know about the kernel logs earlier) and this time it worked....
I can confess that it was a while back i tried without the noapic option. I don't think it worked in July beginning Aug but whatever has changed since then has made it work.
I will try the sleep and hibernate know.

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
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  This problem got solved for me somewhere during Jan or Feb 2008. Actually the motherboard fried, so after I replaced it, those problems vanished ! I'm not sure wether the reason was the motherboard itself, or was it also a kernel upgrade that I done after I replaced the board that solved it.

I am using Hardy now, and it's just fine.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Fixed in Hardy.

Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

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.