From owner-freebsd-questions Thu Jul 25 05:12:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22063 for questions-outgoing; Thu, 25 Jul 1996 05:12:03 -0700 (PDT) Received: from barney.ife.no (barney.ife.no [128.39.229.49]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA22026 for ; Thu, 25 Jul 1996 05:12:00 -0700 (PDT) Received: from tigern.ife.no by barney.ife.no (5.65/Ultrix3.0-C) id AA27937; Thu, 25 Jul 1996 14:10:56 +0200 From: stein@ife.no (Stein Morten Sandbech) Received: by tigern.ife.no ; Thu, 25 Jul 1996 14:10:04 +0200 Message-Id: <9607251210.AA02521@tigern.ife.no> Subject: 3C589C info and questions. To: freebsd-questions@freebsd.org Date: Thu, 25 Jul 96 14:10:04 METDST Cc: stein@ife.no Mailer: Elm [revision: 70.85] Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. After some unexpected problems during configuration of the 3Com 3C589C PCMCIA card, I finally got it working on an Olivetti Echos P133S notebook. I experienced two problems: 1. When I configured the PCMCIA card under dos with the 3Com config. utility (without dos card-services loaded), I ended up with the following: I/O Base address: 300h, irq: 10, CIS Memory Base Address: dc00h, Transreceiver Type: BNC. I saved this configuration and ran the diagnostics, which gave PASSED on every test. I have the following line in the kernel config file: "device zp0 at isa? port 0x300 net irq 10 iomem 0xdc000 vector zpintr" After kernel rebuild and boot, the system still would not recognize the card, "zp0 not found at 0x300". When I then rebooted and entered dos and 3Com config utility, I found that the CIS memory address had changed to de00h. I proceeded then to save the config anew, then it was back to dc00h (As far as I know, you can't set the memory address yourself). I booted FreeBSD---to no avail. Back in 3Com Conf. utility I just saved the configuration with addr. de00h, tested and rebooted to FreeBSD, under the theory that I would build a new kernel with addr. de00h. Suprise, suprise, FreeBSD recogniced the card at 0xdc000 :-() I tested some more and it seems that you have to say de00h when you mean dc00h! It seems that each time you enter the config. utility you flip the address. 2. Another problem seems to be that FreeBSD does not recognice BNC connected cards, it defaults to twisted pair. By adding "-link0" at the and of the ifconfig statement in /etc/sysconfig everything works OK. I'm not sure that this parameter is related to selecting transreceiver type, but it fixed my problem :-) The man pages are a little obscure on this... I may load the src, and have a look there later on though... Comments anyone? Stein Morten /* Stein M Sandbech Email: stein@ife.no ** ** Institute for Energy Technology Tel: +47 63 80 60 00 ** ** Box 40, N-2007 Kjeller, NORWAY Fax: +47 63 81 11 68 */