Date: Fri, 13 Jul 2007 16:40:34 GMT From: Alan Grow <alangrow+b9d2265c@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/114562: [acpi] cardbus is dead after s3 Message-ID: <200707131640.l6DGeYoc021643@www.freebsd.org> Resent-Message-ID: <200707131650.l6DGo1Qg080228@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114562 >Category: i386 >Synopsis: [acpi] cardbus is dead after s3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 13 16:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alan Grow >Release: 6.2 >Organization: >Environment: FreeBSD scalar 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Fri Jul 13 00:44:41 EDT 2007 root@scalar:/usr/obj/usr/src/sys/SCALAR i386 >Description: I've tracked it down to a failed pci_read_device() call during cardbus_attach_card(). It seems we can't even read off the vendor id: db> s [thread pid 33 tid 100037 ] Stopped at pcireg_cfgread+0x215: inl %dx,%eax db> s [thread pid 33 tid 100037 ] Stopped at pcireg_cfgread+0x216: movl %eax,%ebx db> p $eax ffffffff db> p $edx cfc Same problem on both 6.2 and -CURRENT. The machine is a Thinkpad T43 with a TI1510 CardBus Bridge. Here's some more info. $ pciconf -l hostb0@pci0:0:0: class=0x060000 card=0x05751014 chip=0x25908086 rev=0x03 hdr=0x00 vgapci0@pci0:2:0: class=0x030000 card=0x05821014 chip=0x25928086 rev=0x03 hdr=0x00 vgapci1@pci0:2:1: class=0x038000 card=0x05821014 chip=0x27928086 rev=0x03 hdr=0x00 pcib1@pci0:28:0: class=0x060400 card=0x00000000 chip=0x26608086 rev=0x03 hdr=0x01 pcib2@pci0:28:2: class=0x060400 card=0x00000000 chip=0x26648086 rev=0x03 hdr=0x01 uhci0@pci0:29:0: class=0x0c0300 card=0x05651014 chip=0x26588086 rev=0x03 hdr=0x00 uhci1@pci0:29:1: class=0x0c0300 card=0x05651014 chip=0x26598086 rev=0x03 hdr=0x00 uhci2@pci0:29:2: class=0x0c0300 card=0x05651014 chip=0x265a8086 rev=0x03 hdr=0x00 uhci3@pci0:29:3: class=0x0c0300 card=0x05651014 chip=0x265b8086 rev=0x03 hdr=0x00 ehci0@pci0:29:7: class=0x0c0320 card=0x05661014 chip=0x265c8086 rev=0x03 hdr=0x00 pcib3@pci0:30:0: class=0x060401 card=0x00000000 chip=0x24488086 rev=0xd3 hdr=0x01 pcm0@pci0:30:2: class=0x040100 card=0x05671014 chip=0x266e8086 rev=0x03 hdr=0x00 none0@pci0:30:3: class=0x070300 card=0x05761014 chip=0x266d8086 rev=0x03 hdr=0x00 isab0@pci0:31:0: class=0x060100 card=0x05681014 chip=0x26418086 rev=0x03 hdr=0x00 atapci0@pci0:31:2: class=0x010180 card=0x056a1014 chip=0x26538086 rev=0x03 hdr=0x00 none1@pci0:31:3: class=0x0c0500 card=0x056b1014 chip=0x266a8086 rev=0x03 hdr=0x00 bge0@pci2:0:0: class=0x020000 card=0x05771014 chip=0x167d14e4 rev=0x11 hdr=0x00 cbb0@pci4:0:0: class=0x060700 card=0x05281014 chip=0xac56104c rev=0x00 hdr=0x02 iwi0@pci4:2:0: class=0x028000 card=0x27118086 chip=0x42208086 rev=0x05 hdr=0x00 $ dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #9: Fri Jul 13 00:44:41 EDT 2007 root@scalar:/usr/obj/usr/src/sys/SCALAR ACPI APIC Table: <IBM TP-70 > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (798.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE> Features2=0x180<EST,TM2> AMD Features=0x100000<NX> real memory = 527302656 (502 MB) avail memory = 502288384 (479 MB) ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 102C/0 [20070320] ioapic0: Changing APIC ID to 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <IBM TP-70> on motherboard acpi0: [ITHREAD] acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 1ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0x90080000-0x900fffff,0xb0000000-0xbfffffff,0x90000000-0x9003ffff irq 16 at device 2.0 on pci0 agp0: <Intel 82915GM (915GM GMCH) SVGA controller> on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M vgapci1: <VGA-compatible display> at device 2.1 on pci0 pcib1: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib1 pci2:0:0: bad VPD cksum, remain 14 bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4101> mem 0x90100000-0x9010ffff irq 16 at device 0.0 on pci2 miibus0: <MII bus> on bge0 brgphy0: <BCM5750 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:16:41:11:09:3d bge0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0 pci3: <ACPI PCI bus> on pcib2 uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x1820-0x183f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x1840-0x185f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x1860-0x187f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0x1880-0x189f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3 usb3: USB revision 1.0 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0x90040000-0x900403ff irq 19 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0 usb4: USB revision 2.0 uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci4: <ACPI PCI bus> on pcib3 cbb0: <TI1510 PCI-CardBus Bridge> mem 0x90300000-0x90300fff irq 16 at device 0.0 on pci4 cbb0: Found memory at 90300000 cbb0: Secondary bus is 5 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0x90301000-0x90301fff irq 21 at device 2.0 on pci4 iwi0: Ethernet address: 00:16:6f:1a:58:10 iwi0: [ITHREAD] pcm0: <Intel ICH6 (82801FB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0x90040800-0x900409ff,0x90040400-0x900404ff irq 22 at device 30.2 on pci0 pcm0: [ITHREAD] pcm0: <Analog Devices AD1981B AC97 Codec> pci0: <simple comms, generic modem> at device 30.3 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH6M SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.2 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] ppc0: <Parallel port> port 0x3bc-0x3be irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] battery0: <ACPI Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 798057355 Hz quality 800 Timecounters tick every 1.000 msec Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V ad0: 95396MB <Seagate ST910021A 3.04> at ata0-master UDMA100 acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4242N/0J05> at ata1-master UDMA33 ath0: <Atheros 5212> mem 0x90310000-0x9031ffff irq 16 at device 0.0 on cardbus0 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:13:46:c4:d9:9a ath0: mac 7.8 phy 4.5 radio 5.6 Trying to mount root from ufs:/dev/ad0s1a drm0: <Intel i915GM> on vgapci0 info: [drm] AGP at 0x90080000 0MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] ath0: detached cbb0: cbb_power: 0V cbb0: PCI Memory allocated: 90300000 wakeup from sleeping state (slept 00:00:06) Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V >How-To-Repeat: $ acpiconf -s 3 $ # wakeup $ # insert new cardbus card >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707131640.l6DGeYoc021643>