From owner-freebsd-bugs Sat Jun 16 10:50:53 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AE0C137B40C for ; Sat, 16 Jun 2001 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5GHo1A17188; Sat, 16 Jun 2001 10:50:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 505C337B410 for ; Sat, 16 Jun 2001 10:42:30 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5GHgUg16598; Sat, 16 Jun 2001 10:42:30 -0700 (PDT) (envelope-from nobody) Message-Id: <200106161742.f5GHgUg16598@freefall.freebsd.org> Date: Sat, 16 Jun 2001 10:42:30 -0700 (PDT) From: Viren Shah To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/28203: NEWCARD won't recognize my cardbus controllers or my Xircom Realport 10/100+56k card Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28203 >Category: misc >Synopsis: NEWCARD won't recognize my cardbus controllers or my Xircom Realport 10/100+56k card >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 16 10:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Viren Shah >Release: -current from 13 Jun 2001 >Organization: >Environment: slithytove# uname -a FreeBSD slithytove.cigital.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jun 13 08:55:17 EDT 2001 root@slithytove.cigital.com:/usr/src/sys/compile/LAPTOP i386 >Description: This is a Dell C800 Latitude Laptop. I'm using the stock NEWCARD kernel config after removing the following options: cpu I486_CPU options MD_ROOT options NFS_ROOT The problem is twofold: 1a. The cardbus (newcard) drivers will not allocate the resources that the cardbus controllers (TI4451) are asking for (essentially the the memory range asked for) 1b. If I edit pci_pci.c and ignore the error check routines in the pcib_alloc_resource() function, then the card is attached to dc0 (the ethernet part) but the card still is unrecognized (or so it seems from the messages received upon card insertion). Note that dc0 will not be attached if the Xircom card is in the slot on boot, but only if (re)inserted after bootup is complete. 2. The modem part of the card does not work (but this seems to be a known problem. Here is the dmesg with editing pci_pci.c Jun 13 08:36:08 Copyright (c) 1992-2001 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.0-CURRENT #3: Tue Jun 5 12:57:23 EDT 2001 root@slithytove.cigital.com:/usr/src/sys/compile/LAPTOP Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 848146936 Hz CPU: Pentium III/Pentium III Xeon/Celeron (848.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 268353536 (262064K bytes) config> di pcic1 config> di pcic0 config> q avail memory = 255283200 (249300K bytes) Preloaded elf kernel "kernel" at 0xc05c1000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc05c109c. Pentium Pro MTRR support enabled WARNING: Driver mistake: destroy_dev on 154/0 Using $PIR table, 10 entries at 0xc00fbc20 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at 3.0 (no driver attached) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe880-0xe8ff mem 0xf8ffdc00-0xf8ffdc7f irq 10 at device 8.0 on pci2 xl0: Ethernet address: 00:b0:d0:a7:a4:c1 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pccbb0: irq 11 at device 15.0 on pci2 pcib2: device pccbb0 requested unsupported memory range 0x44000000-0xefffffff (decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff) pccbb0: Could not grab register memory device_probe_and_attach: pccbb0 attach returned 12 pccbb0: irq 11 at device 15.1 on pci2 pcib2: device pccbb0 requested unsupported memory range 0x44000000-0xefffffff (decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff) pccbb0: Could not grab register memory device_probe_and_attach: pccbb0 attach returned 12 pci2: at 15.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xdce0-0xdcff irq 11 at device 31.2 on pci0 usb0: 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 orm0: