Date: Tue, 8 Mar 2005 16:39:23 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: current@freebsd.org Subject: cardbus support broken? (Was Re: cvs commit: src/sys/dev/cardbus cardbus.c) Message-ID: <Pine.GSO.4.43.0503081621570.2547-300000@sea.ntplx.net> In-Reply-To: <20050308.093535.39177166.imp@bsdimp.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, 8 Mar 2005, M. Warner Losh wrote: > In message: <20050308072731.GI94451@obiwan.tataz.chchile.org> > Jeremie Le Hen <jeremie@le-hen.org> writes: > : > Both laptops are Dell (Inspiron 4150 and Inspiron 8100). > : > : I don't know if it cares, but mine is a Dell Latitute CPx. > : > : dmesg(8) is attached, with cardbus rev 1.48. > > This looks like it is working to me. Is that correct? I tried it > last night on my Sony and got two interesting results. The rl card I > have just worked, and the dc card appeared to work, but locked up the > system completely. I've noticed some anomalies with the lights on the > card (which indicate power issues), which may be the cause of some of > these problems. I'll look into those when I get the chance (maybe > Thursday night unless work is exceptionally non-busy before then). I tried a kernel from today and now I don't get a panic. But, the dc-based Xircom isn't even recognized any longer. I get: NEW_UNRHDR 0-ffffff -> 0xc1b8c5c0 cbb0: Unsupported card type detected Full dmesg from today and previously working kernel are attached. I'll try reverting to r.148 of cardbus.c and see if that helps. -- DE [-- Attachment #2 --] Copyright (c) 1992-2005 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 6.0-CURRENT #5: Thu Feb 10 20:50:49 EST 2005 root@teos.clc.gdeb.com:/opt/FreeBSD/obj/opt/FreeBSD/src/sys/teos WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (1196.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536780800 (511 MB) avail memory = 516358144 (492 MB) acpi0: <DELL CPi R > on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU (2 Cx states)> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 5 on acpi0 pci_link2: <ACPI PCI Link LNKC> on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 pcm0: failed: rid 0x10 is ioport, requested 3 pcm0: [GIANT-LOCKED] pcm0: <SigmaTel STAC9721/23 AC97 Codec> cbb0: <TI4451 PCI-CardBus Bridge> at device 15.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <TI4451 PCI-CardBus Bridge> at device 15.1 on pci2 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: <Texas Instruments PCI4451> mem 0xf8ff8000-0xf8ffbfff,0xf8ffd800-0xf8ffdfff irq 10 at device 15.2 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 35:4f:c0:00:34:f6:2c:21 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 UDMA100 controller> port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xdce0-0xdcff irq 10 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801BA/BAM (ICH2) 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 uhub0: 2 ports with 2 removable, self powered acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 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 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface orm0: <ISA Option ROMs> at iomem 0xcf800-0xcffff,0xcf000-0xcf7ff,0xce800-0xcefff,0xce000-0xce7ff,0xc0000-0xcdfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1196016346 Hz quality 800 Timecounters tick every 1.000 msec dc0: <Xircom X3201 10/100BaseTX> port 0xe000-0xe07f mem 0xf4002000-0xf40027ff,0xf4002800-0xf4002fff irq 10 at device 0.0 on cardbus0 miibus0: <MII bus> on dc0 tdkphy0: <TDK 78Q2120 media interface> on miibus0 tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:10:a4:8a:17:17 dc0: if_start running deferred for Giant dc0: [GIANT-LOCKED] ad0: 38154MB <HITACHI DK23DA-40/00J0A0G0> [77520/16/63] at ata0-master UDMA100 acd0: CDRW <Samsung CD-RW/DVD-ROM SN-308B/U003> at ata0-slave PIO4 cd0 at ata0 bus 0 target 1 lun 0 cd0: <SAMSUNG CDRW/DVD SN-308B U003> Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s3a dc0: link state changed to UP [-- Attachment #3 --] opyright (c) 1992-2005 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 6.0-CURRENT #10: Tue Mar 8 15:31:13 EST 2005 root@teos.clc.gdeb.com:/opt/FreeBSD/obj/opt/FreeBSD/src/sys/teos WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (1196.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536780800 (511 MB) avail memory = 516354048 (492 MB) NEW_UNRHDR 0-ffffff -> 0xc19c5180 acpi0: <DELL CPi R > on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU (2 Cx states)> on acpi0 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 5 on acpi0 pci_link2: <ACPI PCI Link LNKC> on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 pcm0: failed: rid 0x10 is ioport, requested 3 pcm0: [GIANT-LOCKED] pcm0: <SigmaTel STAC9721/23 AC97 Codec> cbb0: <TI4451 PCI-CardBus Bridge> at device 15.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <TI4451 PCI-CardBus Bridge> at device 15.1 on pci2 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: <Texas Instruments PCI4451> mem 0xf8ff8000-0xf8ffbfff,0xf8ffd800-0xf8ffdfff irq 10 at device 15.2 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 35:4f:c0:00:34:f6:2c:21 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 UDMA100 controller> port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xdce0-0xdcff irq 10 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801BA/BAM (ICH2) 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 uhub0: 2 ports with 2 removable, self powered acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A NEW_UNRHDR 0-ffff -> 0xc1b7b000 ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 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 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface orm0: <ISA Option ROMs> at iomem 0xcf800-0xcffff,0xcf000-0xcf7ff,0xce800-0xcefff,0xce000-0xce7ff,0xc0000-0xcdfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1196018046 Hz quality 800 Timecounters tick every 1.000 msec NEW_UNRHDR 0-ffffff -> 0xc1b8c5c0 cbb0: Unsupported card type detected ad0: 38154MB <HITACHI DK23DA-40/00J0A0G0> [77520/16/63] at ata0-master UDMA100 acd0: CDRW <Samsung CD-RW/DVD-ROM SN-308B/U003> at ata0-slave PIO4 cd0 at ata0 bus 0 target 1 lun 0 cd0: <SAMSUNG CDRW/DVD SN-308B U003> Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s3ahelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0503081621570.2547-300000>
