Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2003 11:11:12 -0500
From:      Robin Smith <rasmith@aristotle.tamu.edu>
To:        freebsd-mobile <freebsd-mobile@freebsd.org>
Subject:   cardbus problem on older Dell Latitude
Message-ID:  <200306051611.h55GBCOk002798@aristotle.tamu.edu>

next in thread | raw e-mail | index | archive | help
On my Dell Latitude PII-366 (Intel Celeron), I have two cardbus problems:

(1) Inserting my Zoom Telephonics 2975L modem causes a kernel panic (same if it's
present at bootup).  This card worked without problems under 4-STABLE (last I built
was 4.7).  I've also just discovered that it works with an OLDCARD kernel.


(2) My 3Com 3CCFEM656 combo lan/modem isn't being recognized:

[from dmesg:]

 cardbus1: Resource not specified in CIS: id=18, size=80
 xl0: <3Com 3c656 Fast Etherlink XL> port 0x1000-0x107f mem 0x88002000-0x8800207f,0x88002080-0x880020ff irq 11 at device 0.0 on cardbus1
 xl0: Ethernet address: ff:ff:ff:ff:ff:ff
 xl0: bogus XCVR value in EEPROM (f)
 xl0: choosing new default based on card type
 xl0: unknown device IT: ffff -- defaulting to 10BaseT
 xl0: unknown XCVR type: 15
 cardbus1: Resource not specified in CIS: id=10, size=80
 cardbus1: Resource not specified in CIS: id=14, size=80
 cardbus1: <simple comms> at device 0.1 ((no driver attached)

After a wait, we then hear from xl again: 

 xl0: reset didn't complete
 xl0: command never completed!

One problem seems to be that the 3CCFEM656 doesn't have a line in if_xlregs.h. The
relevant output from scanpci indicates that this creature has a device id of 0x6560:


pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x10b7 device 0x6560
 3Com Corporation 3CCFM656 Cyclone CardBus
 CardVendor 0x107b card 0x656a (3Com Corporation 3CCFEM656 10/100 LAN+56K Modem CardBus)
  STATUS    0x0210  COMMAND 0x0007
  CLASS     0x02 0x00 0x00  REVISION 0x02
  BIST	    0x00  HEADER 0x80  LATENCY 0xa8  CACHE 0x08
  BASE0     0x00001001  addr 0x00001000  I/O
  BASE1     0x88002080  addr 0x88002080  MEM
  BASE2     0x88002000  addr 0x88002000  MEM  
  MAX_LAT   0x05  MIN_GNT 0x0a  INT_PIN 0x01  INT_LINE 0x0b

pci bus 0x0004 cardnum 0x00 function 0x01: vendor 0x10b7 device 0x6561
####****************************************************NOTE HERE ^^^^****
 3Com Corporation 3CCFEM656 10/100 LAN+56K Modem CardBus
 CardVendor 0x107b card 0x656a (3Com Corporation 3CCFEM656 10/100 LAN+56K Modem CardBus)
  STATUS    0x0210  COMMAND 0x0007
  CLASS     0x02 0x00 0x00  REVISION 0x02
  BIST	    0x00  HEADER 0x00  LATENCY 0xa8  CACHE 0x08
  BASE0     0x00001001  addr 0x00001000  I/O
  BASE1     0x88002100  addr 0x88002100  MEM
  BASE2     0x88002180  addr 0x88002180  MEM  
  MAX_LAT   0x05  MIN_GNT 0x0a  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0x79  BYTE_1  0x15  BYTE_2  0x02  BYTE_3 0x00

However, that particular id is not present in pci/if_xlregs.h.  The place
we'd expect it is about here:

 693 #define TC_DEVICEID_HURRICANE_656		0x6560
 694 #define TC_DEVICEID_HURRICANE_656B		0x6562
 695 #define TC_DEVICEID_TORNADO_656C		0x6564

There also doesn't appear to be a matching definition in 
/etc/defaults/pccard.conf.  The closest would be:


# 3Com Megahertz 3CCFEM556BI, 3CXEM556 and model B
# as ethernet
card "3Com" "/Megahertz 3C(CF|X)EM556/"
        config  default "ep" ? 0x1
#       config  auto "sio" ?
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop

This, however, selects ep rather than xl, and at any rate the
regexp won't pick up the 3CCFEM656 (that's `656', not `556'). 




Robin Smith              
Department of Philosophy            rasmith@tamu.edu
Texas A&M University                Voice (979) 845-5696
College Station, TX 77843-4237      FAX   (979) 845-0458



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306051611.h55GBCOk002798>