From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 30 20:49:45 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1695216A4CE for ; Sat, 30 Oct 2004 20:49:45 +0000 (GMT) Received: from out-1.mail.amis.net (out-1.mail.amis.net [212.18.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A883943D45 for ; Sat, 30 Oct 2004 20:49:43 +0000 (GMT) (envelope-from karel.miklav@siol.net) Received: from localhost (in-1.mail.amis.net [212.18.32.15]) by out-1.mail.amis.net (Postfix) with ESMTP id 6061E5B4A10 for ; Sat, 30 Oct 2004 22:49:42 +0200 (CEST) Received: from in-1.mail.amis.net ([127.0.0.1]) by localhost (in-1.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06364-03 for ; Sat, 30 Oct 2004 22:49:38 +0200 (CEST) Received: from piranha.amis.net (piranha.amis.net [212.18.32.3]) by in-1.mail.amis.net (Postfix) with ESMTP id C5C483C80BD for ; Sat, 30 Oct 2004 22:49:38 +0200 (CEST) Received: from siol.net (ppp1-030.dialup.amis.net [212.18.37.158]) by piranha.amis.net (Postfix) with ESMTP id ED936FD8C for ; Sat, 30 Oct 2004 22:49:35 +0200 (CEST) Message-ID: <4183FE71.8050805@siol.net> Date: Sat, 30 Oct 2004 22:49:53 +0200 From: Karel Miklav User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, sl, hr MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, hits=-5.899 required=5 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: Subject: xl driver problems X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 20:49:45 -0000 FreeBSD 5.3 RC1 ThinkPad 600E 3Com Megahertz NIC, model 3CXFEM656C I have this NIC that works perfectly under all sorts of Windows, but not under Knoppix nor any of the latest FreeBSD releases. It should work fine with the xl driver and indeed, this driver is probed succesfuly during boot, but I'm not able to follow what's going wrong after that. cardbus0: Resource not specified in CIS: id=18, size=80 xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem 0x88000000-0x8800007 f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0 xl0: reset didn't complete xl0: command never completed! xl0: command never completed! xl0: eeprom failed to come ready xl0: failed to read station address device_attach: xl0 attach returned 6 cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: Resource not specified in CIS: id=14, size=100 cardbus0: at device 0.1 (no driver attached) cbb0: CardBus card activation failed With hw.cardbus.cis_debug=1 I got this: TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CXFEM656C-LAN | LAN | 1 | Manufacturer ID: 02016465 Functions: Network Adaptor, Multi-Functioned TUPLE: Unknown(0x1c) [2]: 02 ff cardbus0: Opening BAR: type=IO, bar=10, len=0100 cardbus0: Opening BAR: type=MEM, bar=14, len=0080 TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00 TUPLE: Unknown(0x05) [15]: 41 ba 01 b5 1e 01 b5 1e 02 30 f8 ff 04 01 02 CIS reading done cardbus0: Resource not specified in CIS: id=18, size=80 cardbus0: Non-prefetchable memory at 88000000-880000ff cardbus0: IO port at 1000-10ff xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem 0x88000000-0x8800007 f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0 xl0: reset didn't complete xl0: command never completed! xl0: command never completed! xl0: eeprom failed to come ready xl0: failed to read station address device_attach: xl0 attach returned 6 TUPLE: LINKTARGET [3]: 43 49 53 Product version: 5.0 Product name: 3Com Corporation | 3CXFEM656C-MDM | MDM | 1 | Manufacturer ID: 02016565 Functions: Serial Port, Multi-Functioned TUPLE: Unknown(0x1c) [2]: 02 ff cardbus0: Opening BAR: type=MEM, bar=18, len=0080 TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00 TUPLE: Unknown(0x05) [14]: 41 b2 01 b5 1e 01 b5 1e 30 f8 ff 08 01 02 Function Extension: 011f3f000400000400 Function Extension: 0206003f1c03030f060000ff Function Extension: 1306000f006a00ff Function Extension: 2306000f000200ff CIS reading done cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: Resource not specified in CIS: id=14, size=100 cardbus0: Non-prefetchable memory at 88000000-8800017f cardbus0: IO port at 1000-10ff cardbus0: at device 0.1 (no driver attached) cbb0: CardBus card activation failed It should be a simple resource allocation problem. I've tried all sorts of tricks with ThinkPad firmware, enabling/disabling devices with PS2 utility, tuning kernel but nothing. I've had the same episode with soundcard which suddenly started working after two months of poking when I reset the firmware. I know, I should get another card; but if someone knows what's the problem, I'd be glad to hear about it. -- Regards, Karel -- > pciconf -lv agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Implemented)' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge' class = bridge subclass = PCI-PCI cbb0@pci0:2:0: class=0x060700 card=0x00eb1014 chip=0xac1d104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1251 PC card CardBus Controller' class = bridge subclass = PCI-CardBus cbb1@pci0:2:1: class=0x060700 card=0x00eb1014 chip=0xac1d104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1251 PC card CardBus Controller' class = bridge subclass = PCI-CardBus none0@pci0:6:0: class=0x040100 card=0x10101014 chip=0x60011013 rev=0x01 hdr=0x00 vendor = 'Cirrus Logic' device = 'Crystal CS4610/11 SoundFusion PCI Audio Accelerator' class = multimedia subclass = audio isab0@pci0:7:0: class=0x068000 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge' class = bridge subclass = PCI-unknown atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA uhci0@pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M USB Interface' class = serial bus subclass = USB none1@pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller' class = bridge subclass = PCI-unknown none2@pci1:0:0: class=0x030000 card=0x00dd1014 chip=0x000510c8 rev=0x20 hdr=0x00 vendor = 'Neomagic Corporation' device = 'NM2200 MagicMedia 256AV' class = display subclass = VGA xl0@pci2:0:0: class=0x020000 card=0x656c10b7 chip=0x656410b7 rev=0x10 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3CCFEM656 [id 6564] Cyclone CardBus PC Card' class = network subclass = ethernet none3@pci2:0:1: class=0x078000 card=0x656c10b7 chip=0x656510b7 rev=0x10 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3CCFEM656C Global 10/10 Fast Ethernet+56K Modem CardBus PC Card' class = simple comms > dmesg Copyright (c) 1992-2004 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.3-RC1 #6: Sat Oct 30 22:44:18 CEST 2004 root@tp.unitedpeople.info:/usr/src/sys/i386/compile/TP600E Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (363.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134021120 (127 MB) avail memory = 125689856 (119 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_tz1: port 0x530-0x537 on acpi0 acpi_tz2: port 0x530-0x537 on acpi0 acpi_tz3: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0x40000000-0x43ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x50102000-0x50102fff irq 11 at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50101000-0x50101fff irq 10 at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppi0: on ppbus0 pcm0: port 0x220-0x233,0x388-0x38b,0x530-0x537 irq 5 drq 0,1 on acpi0 pcm0: [GIANT-LOCKED] atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 orm0: at iomem 0xc0000-0xcbfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 363962041 Hz quality 800 Timecounters tick every 10.000 msec Interrupt storm detected on "irq11: cbb0"; throttling interrupt source acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% cardbus0: Resource not specified in CIS: id=18, size=80 xl0: <3Com 3c656C Fast Etherlink XL> port 0x1000-0x10ff mem 0x88000000-0x8800007f,0x88000080-0x880000ff irq 11 at device 0.0 on cardbus0 xl0: reset didn't complete xl0: command never completed! xl0: command never completed! xl0: eeprom failed to come ready xl0: failed to read station address device_attach: xl0 attach returned 6 cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: Resource not specified in CIS: id=14, size=100 cardbus0: at device 0.1 (no driver attached) cbb0: CardBus card activation failed ad0: 38204MB [77622/16/63] at ata0-master UDMA33 acd0: CDROM at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s2a