[vortex] Problem with 3com 10/100 Mini PCI adapter (3c556B?) under 2.2.19

Akihiko YAMAMOTO (=?iso-2022-jp?B?GyRCOzNLXExASScbKEI=?=) star@eos.hokudai.ac.jp
Thu, 05 Jul 2001 16:21:51 +0900 (JST)


Thanks for your time, Andrew.

;; "andrewm>" == andrewm@uow.edu.au (Andrew Morton) wrote:

andrewm> We may be barking up the wrong tree here.

I think so...

andrewm> And also try some of the other options as described in
andrewm> Documentation/networking/vortex.txt.  Particularly 4 and
andrewm> 9.

OK. First, I tried this in modules.conf on boot time under 2.4.6.

	# cat /etc/modules.conf
	alias eth0 3c59x
	options 3c59x options=8

Then, after booting 2.4.6, I tried several cases:

	# cat getup
	#!/bin/sh
	/sbin/ifdown eth0
	/sbin/rmmod  3c59x
	/sbin/insmod /lib/modules/2.4.6-a/kernel/drivers/net/3c59x.o options=$1
	/sbin/ifup   eth0


Results are: (part of syslogs)

============================================================================
# ./getup 8
Jul  5 15:48:15 jasmin kernel: PCI: Found IRQ 10 for device 00:06.0 
Jul  5 15:48:15 jasmin kernel: PCI: Sharing IRQ 10 with 00:06.1 
Jul  5 15:48:15 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.0 
Jul  5 15:48:15 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.1 
Jul  5 15:48:15 jasmin kernel: PCI: Sharing IRQ 10 with 00:0d.0 
Jul  5 15:48:15 jasmin kernel: 3c59x.c:LK1.1.15 6 June 2001  Donald Becker and others. http://www.scyld.com/network/vortex.html 
Jul  5 15:48:15 jasmin kernel: See Documentation/networking/vortex.txt 
Jul  5 15:48:15 jasmin kernel: 00:06.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800,  00:01:03:87:ed:c1, IRQ 10 
Jul  5 15:48:15 jasmin kernel:   product code 0000 rev aa.8 date 03-01-00 
Jul  5 15:48:15 jasmin kernel: 00:06.0: CardBus functions mapped fc000000->d08b7000 
Jul  5 15:48:15 jasmin kernel:   8K byte-wide RAM 5:3 Rx:Tx split, 100baseTX interface. 
Jul  5 15:48:15 jasmin kernel:   Media override to transceiver type 8 (Autonegotiate). 
Jul  5 15:48:15 jasmin kernel:   MII transceiver found at address 0, status 7849. 
Jul  5 15:48:16 jasmin kernel:   Enabling bus-master transmits and whole-frame receives. 
Jul  5 15:48:16 jasmin kernel: 00:06.0: scatter/gather enabled. h/w checksums enabled 
Jul  5 15:48:16 jasmin kernel: eth0: Media override to transceiver 8 (Autonegotiate). 

============================================================================
# ./getup 4
Jul  5 15:49:03 jasmin kernel: PCI: Found IRQ 10 for device 00:06.0 
Jul  5 15:49:03 jasmin kernel: PCI: Sharing IRQ 10 with 00:06.1 
Jul  5 15:49:03 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.0 
Jul  5 15:49:03 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.1 
Jul  5 15:49:03 jasmin kernel: PCI: Sharing IRQ 10 with 00:0d.0 
Jul  5 15:49:03 jasmin kernel: 3c59x.c:LK1.1.15 6 June 2001  Donald Becker and others. http://www.scyld.com/network/vortex.html 
Jul  5 15:49:03 jasmin kernel: See Documentation/networking/vortex.txt 
Jul  5 15:49:03 jasmin kernel: 00:06.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800,  00:01:03:87:ed:c1, IRQ 10 
Jul  5 15:49:03 jasmin kernel:   product code 0000 rev aa.8 date 03-01-00 
Jul  5 15:49:03 jasmin kernel: 00:06.0: CardBus functions mapped fc000000->d08b9000 
Jul  5 15:49:03 jasmin kernel:   8K byte-wide RAM 5:3 Rx:Tx split, Autonegotiate interface. 
Jul  5 15:49:03 jasmin kernel:   Media override to transceiver type 4 (100baseTX). 
Jul  5 15:49:03 jasmin kernel:   Enabling bus-master transmits and whole-frame receives. 
Jul  5 15:49:04 jasmin kernel: 00:06.0: scatter/gather enabled. h/w checksums enabled 
Jul  5 15:49:04 jasmin kernel: eth0: Media override to transceiver 4 (100baseTX). 

============================================================================
# ./getup 9
Jul  5 15:49:29 jasmin kernel: PCI: Found IRQ 10 for device 00:06.0 
Jul  5 15:49:29 jasmin kernel: PCI: Sharing IRQ 10 with 00:06.1 
Jul  5 15:49:29 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.0 
Jul  5 15:49:29 jasmin kernel: PCI: Sharing IRQ 10 with 00:0c.1 
Jul  5 15:49:29 jasmin kernel: PCI: Sharing IRQ 10 with 00:0d.0 
Jul  5 15:49:29 jasmin kernel: 3c59x.c:LK1.1.15 6 June 2001  Donald Becker and others. http://www.scyld.com/network/vortex.html 
Jul  5 15:49:29 jasmin kernel: See Documentation/networking/vortex.txt 
Jul  5 15:49:29 jasmin kernel: 00:06.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800,  00:01:03:87:ed:c1, IRQ 10 
Jul  5 15:49:29 jasmin kernel:   product code 0000 rev aa.8 date 03-01-00 
Jul  5 15:49:29 jasmin kernel: 00:06.0: CardBus functions mapped fc000000->d08bb000 
Jul  5 15:49:29 jasmin kernel:   8K byte-wide RAM 5:3 Rx:Tx split, 100baseTX interface. 
Jul  5 15:49:29 jasmin kernel:   Media override to transceiver type 9 (MII-External). 
Jul  5 15:49:29 jasmin kernel:   Enabling bus-master transmits and whole-frame receives. 
Jul  5 15:49:29 jasmin kernel: 00:06.0: scatter/gather enabled. h/w checksums enabled 
Jul  5 15:49:29 jasmin kernel: eth0: Media override to transceiver 9 (MII-External). 
============================================================================

I tried every option listed in vortex.txt. The driver tries to
negotiate and initialize adapter, but every option I tried lead
to unexpected results. :-(

BTW, I tried Donald's drivers (-Re) under 2.2.19 with additional
codes related to 3c556B, but card initialization failed, too. :-(
Diffs are:

--- 3c59x.c.org	Thu May 17 03:05:19 2001
+++ 3c59x.c	Thu Jul  5 14:55:06 2001
@@ -282,6 +282,10 @@
 	 PCI_IOTYPE, CYCLONE_SIZE, IS_TORNADO|HAS_NWAY|EEPROM_8BIT, },
 	{"3c556 series Laptop Tornado",{ 0x605510B7, 0xf0ffffff },
 	 PCI_IOTYPE, CYCLONE_SIZE, IS_TORNADO|HAS_NWAY|EEPROM_8BIT, },
+	{"3c556B Laptop TORNADO",{ 0x605610B7, 0xffffffff },
+	 PCI_IOTYPE, CYCLONE_SIZE, IS_TORNADO|HAS_NWAY|EEPROM_8BIT, },
+	{"3c556B series Laptop TORNADO",{ 0x605610B7, 0xfff0ffff },
+	 PCI_IOTYPE, CYCLONE_SIZE, IS_TORNADO|HAS_NWAY|EEPROM_8BIT, },
 	{"3c575 Boomerang CardBus",	{ 0x505710B7, 0xffffffff },
 	 PCI_IOTYPE,BOOMERANG_SIZE, IS_BOOMERANG|HAS_MII|EEPROM_8BIT, },
 	{"3CCFE575BT Cyclone CardBus",{ 0x515710B7, 0xffffffff },


I have not tried his drivers under 2.4.6 because compilation
failed.

No other choice?

-- 
Akihiko
star@eos.hokudai.ac.jp
---------------------------------------
Fatal Error # 0x155 : Windows not found.
(C)heer  (P)arty  (D)ance