PCMCIA Driver for SMC 10/100 CardBus

Thomas Gagne tgagne@ix.netcom.com
Thu May 4 14:11:25 2000


This is a multi-part message in MIME format.
--------------58D8F32CFE16FA070A1F9AFF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I didn't see anything particular stand out in dmesg that looked like it
recognized
it.  What kind of message am I looking for?

It's curious that when I ifconfig eth0, the MAC address looks stupid.  I
attached
tulip-diag's -ee output which looks closer to correct.

I also attached the output of the dmesg.  Maybe you will see something in
there I
didn't.

JOHN DEGOOD wrote:

> Was the card recognized at boot-up? (look in dmesg)  On my Toshiba my
> Xircom CardBus card wasn't recognized until I went into the BIOS setup
> menu and changed the PCMCIA slot mode to CardBus, which was not the
> default setting.  Once I did that it was recognized and worked fine in
> Linux.
>
> John
>
> Thomas Gagne wrote:
> >
> > I haven't even subscribed yet, so I'm unsure if this message will get to the
> > folks I hope it will get to.
> >
> > I just got an SMC EZCardBus 10/100 PCMCIA card and was reading some comments
> > about it on www.deja.com that said the card should use the tulip driver.  It
> > went on to mention an edit the user made to /etc/pcmcia/config.  I made the
> > edits but the card isn't quite working yet.
> >
> > Is it possible to debug the driver when not connected to a network?  Should I
> > be able to at least ping myself on that interface?
> > -------------------------------------------------------------------
> > To unsubscribe send a message body containing "unsubscribe"
> > to linux-tulip-request@beowulf.org
--------------58D8F32CFE16FA070A1F9AFF
Content-Type: text/plain; charset=us-ascii;
 name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.txt"

Linux version 2.2.14-5.0 (root@rocky) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #6 Wed May 3 17:50:16 EDT 2000
Detected 497842372 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 496.44 BogoMIPS
Memory: 257824k/262080k available (896k kernel code, 416k reserved, 2884k data, 60k init, 0k bigmem)
Dentry hash table entries: 262144 (order 9, 2048k)
Buffer cache hash table entries: 262144 (order 8, 1024k)
Page cache hash table entries: 65536 (order 6, 256k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium III (Coppermine) stepping 01
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfd9ae
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 262144 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1050-0x1057, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1058-0x105f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DARA-218000, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-C2402, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: IBM-DARA-218000, 17301MB w/418kB Cache, CHS=2343/240/63
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
   pII_mmx   :  1150.620 MB/sec
   p5_mmx    :  1222.629 MB/sec
   8regs     :   856.488 MB/sec
   32regs    :   479.298 MB/sec
using fastest function: p5_mmx (1222.629 MB/sec)
md.c: sizeof(mdp_super_t) = 4096
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 60k freed
Adding Swap: 264560k swap-space (priority -1)
maestro: version 0.14 time 16:08:20 May  3 2000
PCI: Enabling bus mastering for device 00:40
maestro: Configuring ESS Maestro 2E found at IO 0x1400 IRQ 5
maestro:  subvendor id: 0x009f1028
maestro: PCI power managment capability: 0x7622
maestro: AC97 Codec detected: v: 0x83847609 caps: 0x6940 pwr: 0xf
maestro: 1 channels configured.
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
Linux PCMCIA Card Services 3.1.8
  kernel build: 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000
  options:  [pci] [cardbus] [apm]
Intel PCIC probe: 
  TI 1225 PCI-to-CardBus at bus 0 slot 4, mem 0x68000000, 2 sockets
    host opts [0]: [ring] [pwr save] [serial pci & irq] [no pci irq] [lat 168/32] [bus 32/34]
    host opts [1]: [ring] [pwr save] [serial pci & irq] [no pci irq] [lat 168/32] [bus 35/37]
    ISA irqs (scanned) = 3,4,7,9,10 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x1087
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: cb_alloc(bus 32): vendor 0x1011, device 0x0019
kmem_grow: Called nonatomically from int - size-128
ROM image dump:
  image 0: 0x000000-0x0001ff, signature PCIR
cs: cb_config(bus 32)
  fn 0 bar 1: io 0x200-0x27f
  fn 0 bar 2: mem 0x600c0000-0x600c03ff
  fn 0 rom: mem 0x60080000-0x600bffff
cs: cb_enable(bus 32)
  bridge io map 0 (flags 0x21): 0x200-0x27f
  bridge mem map 0 (flags 0x1): 0x60080000-0x600c0fff
tulip_attach(bus 32, function 0)
tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
eth0: Digital DS21143 Tulip rev 65 at 0x200, FC:00:FC:00:00:00, IRQ 3.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
ibmtr_cs: MapMemPage: Bad offset
Lucent Modem driver version 4.27.5.66 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS14 at 0x1800 (irq = 5) is a Lucent
registered device ppp0
PPP BSD Compression module registered
PPP Deflate Compression module registered
eth0: 21140 transmit timed out, status f0260000, SIA 000000c6 ffff0000 fffbffff 8ff10008, resetting...
eth0: 21140 transmit timed out, status f0260000, SIA 000010c6 ffff0001 fffbffff 8ff30008, resetting...
eth0: 21140 transmit timed out, status f0260000, SIA 000000c6 ffff0000 fffbff7f 8ff10008, resetting...
parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPPS2]

--------------58D8F32CFE16FA070A1F9AFF
Content-Type: text/plain; charset=us-ascii;
 name="ee.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ee.txt"

tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x200.
 Port selection is 10mpbs-serial, full-duplex.
 Transmit stopped, Receive stopped, full-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Waiting for Tx to finish'.
  The transmit threshold is 72.
  The NWay status register is 000000c6.
EEPROM size is 6.
PCI Subsystem IDs, vendor 10b8, device 8034.
CardBus Information Structure at offset 0000003f.
Ethernet MAC Station Address 00:E0:29:5A:AE:AD.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 21.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 0886 0002.
   21143 MII reset sequence is 2 words: 0886 0002.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents:
  10b8 8034 003f 0000 0000 0000 0000 0200
  985b 0104 e000 5a29 adae 1e00 0000 0800
  9501 0003 8602 0208 0200 0886 0002 7800
  01e0 5000 1800 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 8e6d
  0000 0000 0000 e000 5a29 adae 0140 0000
  0000 0000 0000 0000 0000 0000 0000 004e
 ID block CRC 0x5b (vs. 0x5b).
  Full contents CRC 0xeda5 (read as 0x004e).
   No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.

--------------58D8F32CFE16FA070A1F9AFF--

-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org