[ Next-in-Thread ]  [ Next Message ] 

Sad: Tecra 8100 & Ositech Jack of Spades - Help 

Forum: PCMCIA on Toshiba laptops
Date: 2000, Aug 05
From: Cristian Pavel cristian

Hi Dave and All,

I have:

Toshiba Tecra 8100 (320Mb memory)
Ositech Jack of Spades
Mandrake 7.1
pcmcia-cs-3.1.19

I think I'm close to have it up but I need some HELP. The card
looks like is started OK (got the 2 high beeps with both the
card in during boot or card inserted after boot; more, cardctl
commands: suspend resume reset eject and insert are working OK)
and the network is started for the localhost:

>ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:C0:E3:27:05:16
          inet addr:192.168.0.30 Bcast:192.168.0.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0x1100


But, I can not see any green light on my switch indicating
that the card is up (which I can get with the same identical
card & CAT5 cable when using WinNT and the driver provided by
Ositech for Micros..t).

If I try ">route add 192.162.0.10" I get: "SIOCADDRT: No such device"

At this point, after a couple of days of work_code_and_docs_study,
I decided to give up and ask for HELP.

Thanks

Cristian

--------------------------------------------------------------

a. My /etc/sysconfig/pcmcia is :

PCMCIA=yes
PCIC=i82365

b. My /etc/pcmcia/config.opts is:

#
# Local PCMCIA Configuration File
#

include port 0x100-0x477, port 0x1000-0x17ff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff

exclude irq 3
exclude irq 4
exclude irq 5
exclude irq 7
exclude irq 9
exclude irq 12
exclude irq 14
exclude irq 15

c. My /etc/sysconfig/network-scripts/networks.opts is

if [ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ] ; then
        start_fn() {
                /sbin/ifup $1
        }

        stop_fn() {
                /sbin/ifdown $1
        }
fi

After boot info:

>dmesg

Linux PCMCIA Card Services 3.1.19
  kernel build: 2.2.15-4mdk #1 Wed May 10 15:31:30 CEST 2000
  options: [pci] [cardbus] [apm]
PCI routing table version 1.0 at 0xf0140
  00:0b.0 -> irq 11
  00:0b.1 -> irq 11
ds: no socket drivers loaded!
unloading PCMCIA Card Services
Linux PCMCIA Card Services 3.1.19
  kernel build: 2.2.15-4mdk #1 Wed May 10 15:31:30 CEST 2000
  options: [pci] [cardbus] [apm]
PCI routing table version 1.0 at 0xf0140
Intel PCIC probe:
  Toshiba ToPIC95-B rev 07 PCI-to-CardBus at slot 00:0b, mem 0x68000000
    host opts [0]: [slot 0xf0] [ccr 0x10] [cdr 0x86] [rcr 0xc000000] [pci irq 11] [lat 64/176] [bus 20/20]
    host opts [1]: [slot 0xf0] [ccr 0x20] [cdr 0x86] [rcr 0xc000000] [pci irq 11] [lat 64/176] [bus 21/21]
    ISA irqs (default) = 3,4,5,7,9,10,12 PCI status changes
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x0100-0x0477: excluding 0x330-0x337 0x378-0x37f
cs: cb_alloc(bus 20): vendor 0x10b8, device 0x0006
ROM image dump:
  image 0: 0x000000-0x000bff, signature PCIR
epic100.c:v1.07h 8/18/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
cs: cb_config(bus 20)
  fn 0 bar 1: io 0x1100-0x11ff
  fn 0 bar 2: mem 0xa0041000-0xa0041fff
  fn 1 bar 1: io 0x1000-0x10ff
  fn 1 bar 2: mem 0xa0040000-0xa0040fff
  fn 0 rom: mem 0xa0030000-0xa003ffff
  fn 1 rom: mem 0xa0020000-0xa002ffff
  irq 11
cs: cb_enable(bus 20)
  bridge io map 0 (flags 0x21): 0x1000-0x11ff
  bridge mem map 0 (flags 0x1): 0xa0020000-0xa0041fff
epic_attach(bus 20, function 0)
eth0: <NULL> at 0x1100, IRQ 11, 00:c0:e3:27:05:16.
eth0: MII transceiver #1 control 3100 status 7809.
eth0: Autonegotiation advertising 01e1 link partner 0000.
serial_attach(device 14:00.1)
tty01 at 0x1000 (irq = 11) is a 16550A

>cat /var/log/messages
...
Aug 5 00:15:37 localhost pcmcia: Starting PCMCIA services:
Aug 5 00:15:37 localhost pcmcia: modules
Aug 5 00:15:37 localhost kernel: Linux PCMCIA Card Services 3.1.19
Aug 5 00:15:37 localhost kernel: kernel build: 2.2.15-4mdk #1 Wed May 10 15:31:30 CEST 2000
Aug 5 00:15:37 localhost kernel: options: [pci] [cardbus] [apm]
Aug 5 00:15:37 localhost kernel: PCI routing table version 1.0 at 0xf0140
Aug 5 00:15:37 localhost kernel: Intel PCIC probe:
Aug 5 00:15:37 localhost kernel: Toshiba ToPIC95-B rev 07 PCI-to-CardBus at slot 00:0b, mem 0x68000000
Aug 5 00:15:37 localhost kernel: host opts [0]: [slot 0xf0] [ccr 0x10] [cdr 0x86] [rcr 0xc000000] [pci irq 11] [lat 64/176] [bus 20/20]
Aug 5 00:15:37 localhost kernel: host opts [1]: [slot 0xf0] [ccr 0x20] [cdr 0x86] [rcr 0xc000000] [pci irq 11] [lat 64/176] [bus 21/21]
Aug 5 00:15:37 localhost kernel: ISA irqs (default) = 3,4,5,7,9,10,12 PCI status changes
Aug 5 00:15:37 localhost pcmcia: cardmgr.
Aug 5 00:15:37 localhost rc: Starting pcmcia succeeded
Aug 5 00:15:37 localhost cardmgr[410]: starting, version is 3.1.19
Aug 5 00:15:37 localhost cardmgr[410]: watching 2 sockets
Aug 5 00:15:37 localhost kernel: cs: IO port probe 0x1000-0x17ff: clean.
Aug 5 00:15:37 localhost kernel: cs: IO port probe 0x0100-0x0477: excluding 0x330-0x337 0x378-0x37f
Aug 5 00:15:38 localhost kernel: cs: cb_alloc(bus 20): vendor 0x10b8, device 0x0006
Aug 5 00:15:38 localhost cardmgr[410]: initializing socket 0
Aug 5 00:15:38 localhost cardmgr[410]: socket 0: Ositech Jack of Spades Fast Ethernet/Modem
Aug 5 00:15:38 localhost cardmgr[410]: executing: 'modprobe cb_enabler'
Aug 5 00:15:38 localhost cardmgr[410]: executing: 'modprobe epic_cb'
Aug 5 00:15:38 localhost kernel: epic100.c:v1.07h 8/18/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
Aug 5 00:15:38 localhost cardmgr[410]: executing: 'modprobe serial_cb'
Aug 5 00:15:38 localhost kernel: cs: cb_config(bus 20)
Aug 5 00:15:38 localhost kernel: fn 0 bar 1: io 0x1100-0x11ff
Aug 5 00:15:38 localhost kernel: fn 0 bar 2: mem 0xa0041000-0xa0041fff
Aug 5 00:15:38 localhost kernel: fn 1 bar 1: io 0x1000-0x10ff
Aug 5 00:15:38 localhost kernel: fn 1 bar 2: mem 0xa0040000-0xa0040fff
Aug 5 00:15:38 localhost kernel: fn 0 rom: mem 0xa0030000-0xa003ffff
Aug 5 00:15:38 localhost kernel: fn 1 rom: mem 0xa0020000-0xa002ffff
Aug 5 00:15:38 localhost kernel: irq 11
Aug 5 00:15:39 localhost kernel: eth0: <NULL> at 0x1100, IRQ 11, 00:c0:e3:27:05:16.
Aug 5 00:15:39 localhost kernel: eth0: MII transceiver #1 control 3100 status 7809.
Aug 5 00:15:39 localhost kernel: eth0: Autonegotiation advertising 01e1 link partner 0000.
Aug 5 00:15:39 localhost kernel: serial_attach(device 14:00.1)
Aug 5 00:15:39 localhost kernel: tty01 at 0x1000 (irq = 11) is a 16550A
Aug 5 00:15:38 localhost cardmgr[410]: executing: './network start eth0'
Aug 5 00:15:40 localhost cardmgr[410]: executing: './serial start ttyS1'
...

>cat /var/lib/pcmcia/stab
Socket 0: Ositech Jack of Spades Fast Ethernet/Modem
0 network epic_cb 0 eth0
0 serial serial_cb 0 ttyS1 4 65
Socket 1: empty 4 65
Socket 1: empty

>cardctl ident
Socket 0:
  product info: "Ositech", "Trumpcard:JoS Ethernet", "400062-002", "123456789abc"
  manfid: 0x0140, 0x0012
  function: 6 (network)
Socket 1:
  no product info available

>cardctl config
Socket 0:
  Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
  interface type is "cardbus"
  irq 11 [exclusive] [level]
  function 0:
    io 0x1000-0x11ff [32bit]
  function 1:
    io 0x1000-0x11ff [32bit]
Socket 1:
  not configured

>cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
  function 1: [ready]
Socket 1:
  no card

>cardctl ident
Socket 0:
  product info: "Ositech", "Trumpcard:JoS Ethernet", "400062-002", "123456789abc"
  manfid: 0x0140, 0x0012
  function: 6 (network)
Socket 1:
  no product info available

>cardctl config
Socket 0:
  Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
  interface type is "cardbus"
  irq 11 [exclusive] [level]
  function 0:
    io 0x1000-0x11ff [32bit]
  function 1:
    io 0x1000-0x11ff [32bit]
Socket 1:
  not configured

>cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
  function 1: [ready]
Socket 1:
  no card

>cat /proc/pci
...
  Bus 0, device 11, function 0:
    CardBus bridge: Toshiba ToPIC95 (rev 7).
      Slow devsel. Fast back-to-back capable. IRQ 11.
      Master Capable. Latency=64. Max Lat=4.
  Bus 0, device 11, function 1:
    CardBus bridge: Toshiba ToPIC95 (rev 7).
      Slow devsel. Fast back-to-back capable. IRQ 11.
      Master Capable. Latency=64. Min Gnt=128.Max Lat=4.

>cat /proc/modules
autofs 9604 1 (autoclean)
serial_cb 1148 1
epic_cb 10440 2
cb_enabler 2536 4 [serial_cb epic_cb]
ds 6444 2 [cb_enabler]
i82365 22948 2
pcmcia_core 45856 0 [cb_enabler ds i82365]
...


>cat /proc/interrupts
           CPU0
  0: 234892 XT-PIC timer
  1: 4248 XT-PIC keyboard
  2: 0 XT-PIC cascade
  8: 1 XT-PIC rtc
 11: 694 XT-PIC YMF744, i82365, eth0, usb-uhci
 12: 58481 XT-PIC PS/2 Mouse
 13: 1 XT-PIC fpu
 14: 5689 XT-PIC ide0
 15: 2 XT-PIC ide1
NMI: 0

------------------------------------------------------------------------------

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

I think this has recently been fixed

Re: Sad: Tecra 8100 & Ositech Jack of Spades - Help (Cristian Pavel)
Date: 2000, Aug 07
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Try the latest beta on projects.sourceforge.net in /pub/pcmcia-cs/NEW.
It fixes a startup bug in the epic_cb driver.

-- Dave

Feedback: Still not working

Re: I think this has recently been fixed (David Hinds)
Date: 2000, Aug 08
From: Cristian Pavel cristian

Hi Dave,

I got and installed the Jul 27 beta package but the results
are the same (same values in dmesg and /va/log/messages).

I have some new info also. I downloaded and installed the
epic-diag.c from Scyld and run the following:

localhost.localdomain:/root/tecra>epic-diag -a

epic-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/C 83c175 adapter at 0x1100.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 No interrupt sources are pending.
 Rx state is 'Running', Tx state is 'Idle'.
  Transmitter: slot time 512 bits, half-duplex mode.
  Last transmit FAILED!!, 0 collisions.
  Receiver control is 000c, multicast mode.
  The last Rx frame was 0 bytes, status 0.
Index #2: Found a SMSC EPIC/C 83c175 adapter at 0x1000.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 Interrupt sources are pending.
   Rx Buffer Overflow indication.
   Rx threshold crossed indication.
 Rx state is 'Running', Tx state is 'Running'.
  Transmitter: slot time 320 bits, full-duplex mode.
  Last transmit FAILED!!, 8 collisions.
  Receiver control is 4f4f4f4f, monitor only mode.
  The last Rx frame was 1330597711 bytes, status 8080808, Missed/Overflow.


localhost.localdomain:/root/tecra>epic-diag -e

epic-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/C 83c175 adapter at 0x1100.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 No interrupt sources are pending.
 Rx state is 'Running', Tx state is 'Idle'.
  Transmitter: slot time 512 bits, half-duplex mode.
  Last transmit FAILED!!, 0 collisions.
  Receiver control is 707000c, multicast mode.
  The last Rx frame was 0 bytes, status 0.
Parsing the EEPROM of a EPIC/100:
 Station Address 00:00:00:00:00:00.
 Board name '', revision 0.
  Calculated checksum is 00, correct.
 Subsystem ID Vendor/Device 0000/0000.
Index #2: Found a SMSC EPIC/C 83c175 adapter at 0x1000.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 Interrupt sources are pending.
   Rx Buffer Overflow indication.
   Rx threshold crossed indication.
 Rx state is 'Running', Tx state is 'Running'.
  Transmitter: slot time 320 bits, full-duplex mode.
  Last transmit FAILED!!, 8 collisions.
  Receiver control is 4f4f4f4f, monitor only mode.
  The last Rx frame was 1330597711 bytes, status 8080808, Missed/Overflow.
Parsing the EEPROM of a EPIC/100:
 Station Address 00:00:00:00:00:00.
 Board name '', revision 0.
  Calculated checksum is 00, correct.
 Subsystem ID Vendor/Device 0000/0000

localhost.localdomain:/root/tecra>epic-diag -m

epic-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/C 83c175 adapter at 0x1100.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 No interrupt sources are pending.
 Rx state is 'Running', Tx state is 'Idle'.
  Transmitter: slot time 512 bits, half-duplex mode.
  Last transmit FAILED!!, 0 collisions.
  Receiver control is 000c, multicast mode.
  The last Rx frame was 0 bytes, status 0.
 MII PHY found at address 1.
 MII PHY #1 transceiver registers:
   3100 7809 0300 e54a 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
Index #2: Found a SMSC EPIC/C 83c175 adapter at 0x1000.
The EPIC/100 chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
 Interrupt sources are pending.
   Rx Buffer Overflow indication.
   Rx threshold crossed indication.
 Rx state is 'Running', Tx state is 'Running'.
  Transmitter: slot time 320 bits, full-duplex mode.
  Last transmit FAILED!!, 8 collisions.
  Receiver control is 4f4f4f4f, monitor only mode.
  The last Rx frame was 1330597711 bytes, status 8080808, Missed/Overflow.
 ***WARNING***: No MII transceivers found!

But, when I executed the last command (epic-diag -m) the
green light on my switch went ON. Still not able to do any
route add or ping.

Do you think that more info (to add in /etc/conf.modules
"option epic_cb debug=6 full_dupplex=1") might help?

Thanks for cooperation,

Cristian

Sorry, my mistake...

Re: Feedback: Still not working (Cristian Pavel)
Date: 2000, Aug 08
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Try the 07-Aug-00 beta instead.

-- Dave

Feedback: New error - unsupported card now!

Re: Sorry, my mistake... (David Hinds)
Date: 2000, Aug 08
From: Cristian Pavel cristian

Hi Dave,

With the pcmcia-cs.07-Aug-00.tar.gz my card is "unsupported".

The "/var/log/messages" With 3.1.19 and 27-Jul-00 contained:

Aug 5 00:15:38 localhost cardmgr[410]: initializing socket 0
Aug 5 00:15:38 localhost cardmgr[410]: socket 0: Ositech Jack of Spades Fast Ethernet/Modem

The 07-Aug-00 says:

Aug 7 22:44:13 localhost cardmgr[410]: initializing socket 0
Aug 7 22:44:13 localhost cardmgr[410]: unsupported card in socket 0


Also, in the /etc/pcmcia/config files there are 2 entries for the
JoS card, is this correct?

card "Ositech Jack of Spades Fast Ethernet/Modem"
  manfid 0x0140, 0x000f
  bind "epic_cb" to 0, "serial_cb" to 1

card "Ositech Jack of Spades Fast Ethernet/Modem"
  manfid 0x0140, 0x0012
  bind "epic_cb" to 0, "serial_cb" to 1
  

Cristian

Ok: Veni Vidi Vinci - It is working !

Re: Sorry, my mistake... (David Hinds)
Date: 2000, Aug 08
From: Cristian Pavel cristian

Hi Dave,

The last beta solved it:

kernel: eth0: SMSC EPIC/C 83c175 at 0x1100, IRQ 11, 00:c0:e3:27:05:16.


I was able to ping, telnet & ftp with no Rx or Tx errors.


Your effort and promptitude are very much appreciated.

Thanks again,

Cristian
Tecra 8100 & Ositech Jack of Spades - Help


[ Add Message ]  to: "Tecra 8100 & Ositech Jack of Spades - Help"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]