[ACPI-sppt] USB insertion hardlocks 2.4.22-preX (2nd try)
Wan Tat Chee <[email protected]>
| Newsgroups | gmane.linux.acpi.support |
|---|---|
| Message-ID | <[email protected]> |
(logs edited to show only ACPI related stuff)
Hi,
I've been asked by the USB folks to send this to the ACPI list.
There's a problem with the ACPI code in 2.4.22-preX, (tested up to pre7)
that causes my Fujitsu P2120 notebook to lock up hard when a USB device
such as a mouse or flash drive is inserted.
---------- Forwarded message ----------
> Subject: Re: [Linux-usb-users] USB insertion hardlocks 2.4.22-pre2/3
[...]
> I found out (after lots of hangs and restarts) that the problem has to
do
> with the IRQ setting of the USB ports. I had the built-in Ethernet port
> set to Auto in the BIOS (enabled only when on AC power or Ethernet cable
> plugged in). When powering up in battery-only mode (eth0 disabled), the
> USB IRQ was set to 10, while it is set to 9 in AC power mode (sharing
> with eth0/8139too driver).
> The dmesg logs of both cases are attached.
----- eth0 disabled in Battery mode (USB fails) ----------
Linux version 2.4.22-pre3 (root@tcwlbook) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Mon Jul 7 18:21:21 MYT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009c000 (usable)
BIOS-e820: 000000000009c000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000efe0000 (usable)
BIOS-e820: 000000000efe0000 - 000000000efefc00 (ACPI data)
BIOS-e820: 000000000efefc00 - 000000000eff0000 (ACPI NVS)
BIOS-e820: 000000000eff0000 - 000000000f100000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
239MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 61408
zone(0): 4096 pages.
zone(1): 57312 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 FUJ ) @ 0x000f6f70
ACPI: RSDT (v001 FUJ PAULING3 00261.00000) @ 0x0efec50d
ACPI: FADT (v001 FUJ PAULING3 00261.00000) @ 0x0efefa6a
ACPI: SSDT (v001 PTLTD ACPIPST1 00000.00001) @ 0x0efefade
ACPI: BOOT (v001 FUJ PAULING3 00261.00000) @ 0x0efefbd8
ACPI: DSDT (v001 FUJ PAULING3 00261.00000) @ 0x00000000
ACPI: BIOS passes blacklist
ACPI: MADT not present
Kernel command line: ro root=LABEL=/ hdc=ide-scsi vga=0x317 video=vesa:ypan resume=/dev/hda8
[...]
ACPI: Subsystem revision 20030619
PCI: PCI BIOS revision 2.10 entry at 0xfd89e, last bus=1
PCI: Using configuration type 1
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:........................................................................................................................................................
Table [DSDT](id F005) - 540 Objects with 46 Devices 152 Methods 24 Regions
Parsing all Control Methods:
Table [SSDT](id F003) - 3 Objects with 0 Devices 0 Methods 0 Regions
ACPI Namespace successfully loaded at root c037dcdc
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block : GPE 00 to 63 [_GPE] 8 regs at 000000000000FF18 on int 9
Completing Region/Field/Buffer/Package initialization:...........................................................................
Initialized 24/24 Regions 0/0 Fields 23/23 Buffers 28/28 Packages (551 nodes)
Executing all Device _STA and_INI methods:...............................................
47 Devices found containing: 47 _STA, 7 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 (swsusp) S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 0)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKU] (IRQs 3 4 5 7 9 10 *11)
ACPI: Power Resource [USBP] (on)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
pci_irq-0297 [23] acpi_pci_irq_derive : Unable to derive IRQ for device 00:0f.0
PCI: No IRQ known for interrupt pin A of device 00:0f.0
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
[...]
ACPI: AC Adapter [AC] (off-line)
ACPI: Battery Slot [CMB1] (battery present)
ACPI: Battery Slot [CMB2] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
acpi_processor-0899 [28] acpi_processor_get_per: Unsupported address space [127] (control_register)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
[...]
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 00:0f.0
pci_irq-0297 [22] acpi_pci_irq_derive : Unable to derive IRQ for device 00:0f.0
PCI: No IRQ known for interrupt pin A of device 00:0f.0
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:DMA, hdd:pio
[...]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xcfb2c000, IRQ 11
usb-ohci.c: usb-00:02.0, ALi Corporation USB 1.1 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Enabling device 00:09.0 (0000 -> 0002)
PCI: Setting latency timer of device 00:09.0 to 64
usb-ohci.c: USB OHCI at membase 0xcfb2e000, IRQ 9
usb-ohci.c: usb-00:09.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 1 port detected
PCI: Enabling device 00:09.1 (0000 -> 0002)
PCI: Setting latency timer of device 00:09.1 to 64
usb-ohci.c: USB OHCI at membase 0xcfb30000, IRQ 10
usb-ohci.c: usb-00:09.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 1 port detected
PCI: Enabling device 00:09.2 (0000 -> 0002)
ehci_hcd 00:09.2: NEC Corporation USB 2.0
ehci_hcd 00:09.2: irq 9, pci mem cfb38000
usb.c: new USB bus registered, assigned bus number 4
PCI: 00:09.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:09.2 PCI cache line size corrected to 32.
ehci_hcd 00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jun-19/2.4
hub.c: USB hub found
----- eth0 always enabled (USB works) ---------------
Linux version 2.4.22-pre3 (root@tcwlbook) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Mon Jul 7 18:21:21 MYT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009c000 (usable)
BIOS-e820: 000000000009c000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000efe0000 (usable)
BIOS-e820: 000000000efe0000 - 000000000efefc00 (ACPI data)
BIOS-e820: 000000000efefc00 - 000000000eff0000 (ACPI NVS)
BIOS-e820: 000000000eff0000 - 000000000f100000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
239MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 61408
zone(0): 4096 pages.
zone(1): 57312 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 FUJ ) @ 0x000f6f70
ACPI: RSDT (v001 FUJ PAULING3 00261.00000) @ 0x0efec50d
ACPI: FADT (v001 FUJ PAULING3 00261.00000) @ 0x0efefa6a
ACPI: SSDT (v001 PTLTD ACPIPST1 00000.00001) @ 0x0efefade
ACPI: BOOT (v001 FUJ PAULING3 00261.00000) @ 0x0efefbd8
ACPI: DSDT (v001 FUJ PAULING3 00261.00000) @ 0x00000000
ACPI: BIOS passes blacklist
ACPI: MADT not present
Kernel command line: ro root=LABEL=/ hdc=ide-scsi vga=0x317 video=vesa:ypan resume=/dev/hda8
[...]
ACPI: Subsystem revision 20030619
PCI: PCI BIOS revision 2.10 entry at 0xfd89e, last bus=1
PCI: Using configuration type 1
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:........................................................................................................................................................
Table [DSDT](id F005) - 540 Objects with 46 Devices 152 Methods 24 Regions
Parsing all Control Methods:
Table [SSDT](id F003) - 3 Objects with 0 Devices 0 Methods 0 Regions
ACPI Namespace successfully loaded at root c037dcdc
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block : GPE 00 to 63 [_GPE] 8 regs at 000000000000FF18 on int 9
Completing Region/Field/Buffer/Package initialization:...........................................................................
Initialized 24/24 Regions 0/0 Fields 23/23 Buffers 28/28 Packages (551 nodes)
Executing all Device _STA and_INI methods:...............................................
47 Devices found containing: 47 _STA, 7 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 (swsusp) S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 0)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 *9 10 11)
ACPI: PCI Interrupt Link [LNKU] (IRQs 3 4 5 7 9 10 *11)
ACPI: Power Resource [USBP] (on)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
pci_irq-0297 [23] acpi_pci_irq_derive : Unable to derive IRQ for device 00:0f.0
PCI: No IRQ known for interrupt pin A of device 00:0f.0
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
[...]
ACPI: AC Adapter [AC] (off-line)
ACPI: Battery Slot [CMB1] (battery present)
ACPI: Battery Slot [CMB2] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
acpi_processor-0899 [28] acpi_processor_get_per: Unsupported address space [127] (control_register)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
[...]
ALI15X3: IDE controller at PCI slot 00:0f.0
pci_irq-0297 [22] acpi_pci_irq_derive : Unable to derive IRQ for device 00:0f.0
PCI: No IRQ known for interrupt pin A of device 00:0f.0
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:DMA, hdd:pio
[...]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xcfb2c000, IRQ 11
usb-ohci.c: usb-00:02.0, ALi Corporation USB 1.1 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Enabling device 00:09.0 (0000 -> 0002)
PCI: Setting latency timer of device 00:09.0 to 64
usb-ohci.c: USB OHCI at membase 0xcfb2e000, IRQ 9
usb-ohci.c: usb-00:09.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 1 port detected
PCI: Enabling device 00:09.1 (0000 -> 0002)
PCI: Setting latency timer of device 00:09.1 to 64
usb-ohci.c: USB OHCI at membase 0xcfb30000, IRQ 9
usb-ohci.c: usb-00:09.1, NEC Corporation USB (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 1 port detected
PCI: Enabling device 00:09.2 (0000 -> 0002)
ehci_hcd 00:09.2: NEC Corporation USB 2.0
ehci_hcd 00:09.2: irq 9, pci mem cfb38000
usb.c: new USB bus registered, assigned bus number 4
PCI: 00:09.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:09.2 PCI cache line size corrected to 32.
ehci_hcd 00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jun-19/2.4
hub.c: USB hub found
[...]
hub.c: new USB device 00:09.1-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xd7d/0x100) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB DISK Rev: 2.08
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396
Internet: [email protected] Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01