Bug 7944 - Dock hotplug PCI results in kernel bug - Acer Ferrari 4005WLMi
Summary: Dock hotplug PCI results in kernel bug - Acer Ferrari 4005WLMi
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Hotplug (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Kristen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 17:00 UTC by Guo-Rong Koh
Modified: 2007-11-28 10:05 UTC (History)
1 user (show)

See Also:
Kernel Version: Mainline 2.6.20
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Guo-Rong Koh 2007-02-05 17:00:01 UTC
Most recent kernel where this bug did *NOT* occur: Unknown, never tried
Distribution: Gentoo Linux
Hardware Environment: Acer Ferrari 4005WLMi
Software Environment: Console, no X, acpid running
Problem Description:

Hotplugging an Acer Ferrari 4005 into its dock results in the kernel issuing a BUG message.
Kernel seems to continue OK after this. Additional USB controllers in the dock station also seem 
to be hotplugged correctly (and work).

Steps to reproduce:

Configure ACPI hotplug into kernel
Configure SHPC into kernel
Configure PCI and PCIE hotplug

Boot notebook without dock attached.
Attach dock, get this in the kernel output:

"""
Feb  6 10:57:30 rapidash ACPI: PCI Interrupt 0000:03:03.2[C] -> GSI 17 (level, low) -> IRQ 17
Feb  6 10:57:30 rapidash ehci_hcd 0000:03:03.2: init 0000:03:03.2 fail, -16
Feb  6 10:57:30 rapidash ehci_hcd: probe of 0000:03:03.2 failed with error -16
Feb  6 10:57:30 rapidash pci 0000:03:03.2: Error adding device, continuing
Feb  6 10:57:30 rapidash ------------[ cut here ]------------
Feb  6 10:57:30 rapidash kernel BUG at drivers/pci/bus.c:127!
Feb  6 10:57:30 rapidash invalid opcode: 0000 [1]
Feb  6 10:57:30 rapidash CPU 0
Feb  6 10:57:30 rapidash Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_oss 
snd_seq_midi_event snd_seq snd_seq_device snd_atiixp snd_ac97_codec ac97_bus snd_pcm 
snd_timer snd soundcore snd_page_alloc aes cbc blkcipher ehci_hcd uhci_hcd ohci_hcd usbhid 
usbcore psmouse tg3 evdev dm_crypt dm_mod loop sg
Feb  6 10:57:30 rapidash Pid: 39, comm: kacpid Not tainted 2.6.20 #5
Feb  6 10:57:30 rapidash RIP: 0010:[<ffffffff80315bc9>]  [<ffffffff80315bc9>] 
pci_bus_add_devices+0x69/0x122
Feb  6 10:57:30 rapidash RSP: 0000:ffff81007fc1bce0  EFLAGS: 00010246
Feb  6 10:57:30 rapidash RAX: ffff81007e182810 RBX: ffff81007e182800 RCX: ffff81007fc13600
Feb  6 10:57:30 rapidash RDX: 0000000000000000 RSI: ffff81007d3f5a40 RDI: ffff81007fc1bc90
Feb  6 10:57:30 rapidash RBP: ffff81007f4ec000 R08: 0000000000000000 R09: ffff81007d2fb870
Feb  6 10:57:30 rapidash R10: 0000000000000001 R11: 0000000000000000 R12: 
ffff81007f4ec028
Feb  6 10:57:30 rapidash R13: ffff81007fc13600 R14: ffff81007fc58c50 R15: ffff81007fc58c68
Feb  6 10:57:30 rapidash FS:  00002b6dd9c4a6d0(0000) GS:ffffffff804bb000(0000) 
knlGS:0000000000000000                                                           Feb  6 10:57:30 rapidash CS:  
0010 DS: 0018 ES: 0018 CR0: 000000008005003b      Feb  6 10:57:30 rapidash CR2: 
0000000000512bd0 CR3: 000000007cdb7000 CR4: 00000000000006e0
Feb  6 10:57:30 rapidash Process kacpid (pid: 39, threadinfo ffff81007fc1a000, task 
ffff810002ff6960)
Feb  6 10:57:30 rapidash Stack:  ffff81007e976000 ffff81007fc13600 ffff81007fc13628 
ffffffff80315c1e
Feb  6 10:57:30 rapidash ffff81007fc58c40 ffff81007fc58c50 ffff81007fc58c40 ffffffff803212c5
Feb  6 10:57:30 rapidash ffff81007fc219a0 ffff810002f3ee50 ffff81007fc42000 ffff81007fc43800
Feb  6 10:57:30 rapidash Call Trace:
Feb  6 10:57:30 rapidash [<ffffffff80315c1e>] pci_bus_add_devices+0xbe/0x122
Feb  6 10:57:30 rapidash [<ffffffff803212c5>] acpiphp_enable_slot+0x34e/0x423
Feb  6 10:57:30 rapidash [<ffffffff803214cc>] handle_hotplug_event_func+0x72/0x13e
Feb  6 10:57:30 rapidash [<ffffffff803a0236>] pci_mmcfg_read+0x54/0xc5
Feb  6 10:57:30 rapidash [<ffffffff80354e92>] hotplug_dock_devices+0x3d/0x113
Feb  6 10:57:30 rapidash [<ffffffff80320a1b>] post_dock_fixups+0x30/0x84
Feb  6 10:57:30 rapidash [<ffffffff80338ff4>] acpi_os_execute_deferred+0x0/0x2c
Feb  6 10:57:30 rapidash [<ffffffff803550ef>] dock_notify+0x7a/0xb3
Feb  6 10:57:30 rapidash [<ffffffff8033ea5b>] acpi_ev_notify_dispatch+0x57/0x60
Feb  6 10:57:30 rapidash [<ffffffff80339017>] acpi_os_execute_deferred+0x23/0x2c
Feb  6 10:57:30 rapidash [<ffffffff802405e1>] run_workqueue+0x76/0x10a
Feb  6 10:57:30 rapidash [<ffffffff8023d7ea>] worker_thread+0x0/0x145
Feb  6 10:57:30 rapidash [<ffffffff8023d8f9>] worker_thread+0x10f/0x145
Feb  6 10:57:30 rapidash [<ffffffff8026c036>] default_wake_function+0x0/0xe
Feb  6 10:57:30 rapidash [<ffffffff8022ae1d>] kthread+0xca/0xfb
Feb  6 10:57:30 rapidash [<ffffffff80278de5>] keventd_create_kthread+0x0/0x4e
Feb  6 10:57:30 rapidash [<ffffffff8024e068>] child_rip+0xa/0x12
Feb  6 10:57:30 rapidash [<ffffffff80278de5>] keventd_create_kthread+0x0/0x4e
Feb  6 10:57:30 rapidash [<ffffffff8022ad53>] kthread+0x0/0xfb
Feb  6 10:57:30 rapidash [<ffffffff8024e05e>] child_rip+0x0/0x12
Feb  6 10:57:30 rapidash
Feb  6 10:57:30 rapidash
Feb  6 10:57:30 rapidash Code: 0f 0b eb fe 48 8b 43 28 48 85 c0 0f 84 87 00 00 00 48 39 00
Feb  6 10:57:30 rapidash RIP  [<ffffffff80315bc9>] pci_bus_add_devices+0x69/0x122
Feb  6 10:57:30 rapidash RSP <ffff81007fc1bce0>
Feb  6 10:57:30 rapidash <6>usb 5-1: new low speed USB device using uhci_hcd and address 2
Feb  6 10:57:30 rapidash usb 5-1: configuration #1 chosen from 1 choice
Feb  6 10:57:30 rapidash input: HID 0430:0005 as /class/input/input6
Feb  6 10:57:30 rapidash input: USB HID v1.00 Keyboard [HID 0430:0005] on usb-0000:03:02.1-1
Feb  6 10:57:31 rapidash usb 5-2: new low speed USB device using uhci_hcd and address 3
Feb  6 10:57:31 rapidash usb 5-2: configuration #1 chosen from 1 choice
Feb  6 10:57:31 rapidash input: Microsoft Microsoft Trackball Optical
Comment 1 Len Brown 2007-02-05 20:17:50 UTC
same if you boot with "pci=nommconf"?
Comment 2 Guo-Rong Koh 2007-02-05 22:38:29 UTC
Same with 'pci=nommconf'.
The notebook may be PCIE (not PCI) hotplug if that makes any difference?
Comment 3 Kristen 2007-11-27 10:02:31 UTC
Hi, can you let us know if you are still having a problem with the dock driver and the most recent kernel version?  Thanks.
Comment 4 Guo-Rong Koh 2007-11-27 14:59:02 UTC
Hi, unfortunately I am no longer in possession of the laptop to test it.
I'll be happy to mark it unreproducible.
Thanks.
Comment 5 Kristen 2007-11-28 10:05:15 UTC
OK, we can reopen if we need to.

Note You need to log in before you can comment on or make changes to this bug.