kern/59934: Cardbus won't work if ACPI is enabled on latest CURRENT
Olivier Houchard
cognet at FreeBSD.org
Wed Dec 3 16:00:48 PST 2003
>Number: 59934
>Category: kern
>Synopsis: Cardbus won't work if ACPI is enabled on latest CURRENT
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 03 16:00:43 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Olivier Houchard
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
<
>Environment:
System: FreeBSD cognet.ci0.org 5.2-BETA FreeBSD 5.2-BETA #1410: Tue Dec 2 12
+13:54:01 CEST 2003 root at cognet.ci0.org:/usr/src/sys/i386/compile/KERDOG i386
With latest current, CardBus won't work if ACPI is enabled.
Backing out sys/contrib/dev/acpica/dsmthdat.c to rev 1.1.1.17 seems to fix the
problem.
A working kernel gives :
Copyright (c) 1992-2003 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 5.2-BETA #1410: Tue Dec 2 22:20:09 CET 2003
doginou at kopak.ci0.org:/usr/src/sys/i386/compile/KERKOP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc085a000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz (1600.07-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf24 Stepping = 4
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 267321344 (254 MB)
avail memory = 249958400 (238 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc07b8602 (1000022)
VESA: ATI MOBILITY RADEON
acpi0: <PTLTD RSDT > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 10
pcib0: slot 6 INTA is routed to irq 5
pcib0: slot 18 INTA is routed to irq 11
agp0: <Ali Generic host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGPB - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
drm0: <ATI Radeon LY Mobility M6> port 0x9000-0x90ff mem 0xe0100000-0xe010ffff,0xe8000000-0xefffffff irq 9 at device 0.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xe0000000-0xe0000fff irq 10 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <simple comms> at device 8.0 (no driver attached)
cbb0: <TI1520 PCI-CardBus Bridge> at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: slot 10 INTA is routed to irq 11
cbb0: [MPSAFE]
cbb1: <TI1520 PCI-CardBus Bridge> at device 10.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib0: slot 10 INTA is routed to irq 11
cbb1: [MPSAFE]
pci0: <serial bus, FireWire> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA100 controller> port 0x1800-0x180f at device 16.0 on pci0
dev here is 0xc2d51600
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
dev here is 0xc2d51580
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached)
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x1c00-0x1cff mem 0xe0008000-0xe0008fff irq 11 at device 18.0 on pci0
sis0: Silicon Revision: DP83815D
sis0: Ethernet address: 00:c0:9f:0e:c6:88
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/1 bytes threshold
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
sio0 port 0x2f8-0x2ff irq 3 drq 0 on acpi0
sio0: type 16550A
sio1 port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xe4000-0xe4fff,0xe0000-0xe3fff,0xcf000-0xcffff,0xc0000-0xcefff on isa0
pmtimer0 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 1600066012 Hz quality 800
Timecounters tick every 1.000 msec
GEOM: create disk ad0 dp=0xc2db8460
ad0: 28615MB <IC25N030ATCS04-0> [58140/16/63] at ata0-master UDMA100
acd0: CDRW <TOSHIBA DVD-ROM SD-R2212> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
sis0: Applying short cable fix (reg=f1)
sis0: Applying short cable fix (reg=e8)
sis0: Applying short cable fix (reg=e8)
A non-working kernel gives :
Copyright (c) 1992-2003 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 5.2-BETA #1409: Tue Dec 2 22:16:12 CET 2003
doginou at kopak.ci0.org:/usr/src/sys/i386/compile/KERKOP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc085a000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz (1600.07-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf24 Stepping = 4
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 267321344 (254 MB)
avail memory = 249958400 (238 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc07b85c2 (1000022)
VESA: ATI MOBILITY RADEON
acpi0: <PTLTD RSDT > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 10
pcib0: slot 6 INTA is routed to irq 5
pcib0: slot 18 INTA is routed to irq 11
agp0: <Ali Generic host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGPB - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
drm0: <ATI Radeon LY Mobility M6> port 0x9000-0x90ff mem 0xe0100000-0xe010ffff,0xe8000000-0xefffffff irq 9 at device 0.0 on pci1
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xe0000000-0xe0000fff irq 10 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <simple comms> at device 8.0 (no driver attached)
cbb0: <TI1520 PCI-CardBus Bridge> at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: device has no interrupts
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
cbb0: <TI1520 PCI-CardBus Bridge> at device 10.1 on pci0
cardbus1: <CardBus bus> on cbb0
pccard1: <16-bit PCCard bus> on cbb0
pcib0: device has no interrupts
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
pci0: <serial bus, FireWire> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA100 controller> port 0x1800-0x180f at device 16.0 on pci0
dev here is 0xc2d51600
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
dev here is 0xc2d51580
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached)
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x1c00-0x1cff mem 0xe0008000-0xe0008fff irq 11 at device 18.0 on pci0
sis0: Silicon Revision: DP83815D
sis0: Ethernet address: 00:c0:9f:0e:c6:88
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/1 bytes threshold
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
sio0 port 0x2f8-0x2ff irq 3 drq 0 on acpi0
sio0: type 16550A
sio1 port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xe4000-0xe4fff,0xe0000-0xe3fff,0xcf000-0xcffff,0xc0000-0xcefff on isa0
pmtimer0 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 1600071168 Hz quality 800
Timecounters tick every 1.000 msec
GEOM: create disk ad0 dp=0xc2dad360
ad0: 28615MB <IC25N030ATCS04-0> [58140/16/63] at ata0-master UDMA100
acd0: CDRW <TOSHIBA DVD-ROM SD-R2212> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
ACPI-0331: *** Error: Cannot release Mutex [MUT1], not acquired
ACPI-1287: *** Error: Method execution failed [\\_TZ_.THRM._TMP] (Node 0xc2d3c860), AE_AML_MUTEX_NOT_ACQUIRED
sis0: Applying short cable fix (reg=f0)
sis0: Applying short cable fix (reg=e8)
sis0: Applying short cable fix (reg=e8)
pciconf -l -v output is :
agp0 at pci0:0:0: class=0x060000 card=0x00000000 chip=0x167110b9 rev=0x02 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M1671 AGP System Controller'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x524710b9 rev=0x00 hdr=0x01
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M1621 PCI to AGP Bridge'
class = bridge
subclass = PCI-PCI
ohci0 at pci0:2:0: class=0x0c0310 card=0x0025103c chip=0x523710b9 rev=0x03 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M5237 OpenHCI USB Controller'
class = serial bus
subclass = USB
none0 at pci0:6:0: class=0x040100 card=0x0025103c chip=0x545110b9 rev=0x02 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M5451 PCI AC-Link Controller Audio Device'
class = multimedia
subclass = audio
isab0 at pci0:7:0: class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M1533 Aladdin IV ISA Bridge'
class = bridge
subclass = PCI-ISA
none1 at pci0:8:0: class=0x070300 card=0x0025103c chip=0x545710b9 rev=0x00 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI N5457 Agere Systems AC97 Modem'
class = simple comms
cbb0 at pci0:10:0: class=0x060700 card=0x0025103c chip=0xac55104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1520 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
cbb1 at pci0:10:1: class=0x060700 card=0x0025103c chip=0xac55104c rev=0x01 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1520 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none2 at pci0:12:0: class=0x0c0010 card=0x0025103c chip=0x8026104c rev=0x00 hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'TSB43AB21 1394a-2000 OHCI PHY/link-layer Controller'
class = serial bus
subclass = FireWire
atapci0 at pci0:16:0: class=0x0101b0 card=0x0025103c chip=0x522910b9 rev=0xc4 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'M1543 Southbridge EIDE Controller'
class = mass storage
subclass = ATA
none3 at pci0:17:0: class=0x068000 card=0x0025103c chip=0x710110b9 rev=0x00 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'ALI M7101 Power Management Controller'
class = bridge
subclass = PCI-unknown
sis0 at pci0:18:0: class=0x020000 card=0xa4003c08 chip=0x0020100b rev=0x00 hdr=0x00
vendor = 'National Semiconductor'
device = 'DP83815/16 Fast Ethernet Adapter (MacPhyter/MacPhyter-II)'
class = network
subclass = ethernet
drm0 at pci1:0:0: class=0x030000 card=0x0025103c chip=0x4c591002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies'
device = 'Mobility 6 Radeon Mobility M6 LY'
class = display
subclass = VGA
acpidump output may be found at :
http://www.ci0.org/olivier-HPXE4500.asl
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list