Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 1996 21:36:08 +0100 (MET)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@FreeBSD.ORG, se@FreeBSD.ORG
Subject:   Re: Racal Interlan ethernet card: any good?
Message-ID:  <199612022036.VAA00342@yedi.iaf.nl>
In-Reply-To: <199612011613.RAA14412@uriah.heep.sax.de> from "J Wunsch" at Dec 1, 96 05:13:32 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As J Wunsch wrote...
> As Stefan Esser wrote:
> 
> > No experience, but it should be supported by the lnc driver.
> > I added the Lance PCI probe code to -current half a year ago,
> > and got no complaints (which means it works or isn't used :)
> > 
> > You need a config line for "lnc0 at isa?", and the PCI card 
> > will then be "lnc1" (the later ISA probe could still find an
> > ISA card at the port address specified).
> 
> Does the line
> 
> device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
> 
> in GENERIC count for this?  If so, i'll leave for a business trip
> tomorrow, and i know that this customer is also using HP Vectras which
> come with a builtin Lance-derived PCI ethernet adaptor.  While i know
> that an older version of FreeBSD runs on them fine using the PCI
> addresses in the ISA driver (you certainly remember, Stefan), i can
> also stick a plain installation floppy there and see whether it will
> detect the card.

The Racal did not smoke-test the test box so I decided to give it a try
in my 215R home machine. Data from a boot -v (see >> for some remarks):

Dec  2 21:15:24 yedi /kernel: pcibus_setup(1):  mode1res=0x80000000
(0x80000000), mode2res=0xff (0x0e)
Dec  2 21:15:24 yedi /kernel: pcibus_setup(2):  mode1res=0x80000000
(0x80000000)
Dec  2 21:15:24 yedi /kernel: pcibus_check:     device 0 is there
(id=122d8086)
Dec  2 21:15:24 yedi /kernel: Probing for devices on PCI bus 0:
Dec  2 21:15:24 yedi /kernel:   configuration mode 1 allows 32 devices.
Dec  2 21:15:24 yedi /kernel: chip0 <Intel 82437 PCI cache memory
controller> rev 2 on pci0:0
Dec  2 21:15:25 yedi /kernel:   CPU Inactivity timer:  clocks
Dec  2 21:15:25 yedi /kernel:   Peer Concurrency: enabled
Dec  2 21:15:25 yedi /kernel:   CPU-to-PCI Write Bursting: enabled
Dec  2 21:15:25 yedi /kernel:   PCI Streaming: enabled
Dec  2 21:15:25 yedi /kernel:   Bus Concurrency: enabled
Dec  2 21:15:25 yedi /kernel:   Cache: 256K pipelined-burst secondary; L1
enabled
Dec  2 21:15:25 yedi /kernel:   DRAM: no memory hole, 66 MHz refresh
Dec  2 21:15:25 yedi /kernel:   Read burst timing: x-2-2-2/x-3-3-3
Dec  2 21:15:25 yedi /kernel:   Write burst timing: x-3-3-3
Dec  2 21:15:25 yedi /kernel:   RAS-CAS delay: 3 clocks
Dec  2 21:15:25 yedi /kernel: chip1 <Intel 82371 PCI-ISA bridge> rev 2 on
pci0:7:0
Dec  2 21:15:25 yedi /kernel:   I/O Recovery Timing: 8-bit 1 clocks, 16-bit
1 clocks
Dec  2 21:15:25 yedi /kernel:   Extended BIOS: disabled
Dec  2 21:15:25 yedi /kernel:   Lower BIOS: enabled
Dec  2 21:15:25 yedi /kernel:   Coprocessor IRQ13: enabled
Dec  2 21:15:25 yedi /kernel:   Mouse IRQ12: disabled
Dec  2 21:15:25 yedi /kernel:   Interrupt Routing: A: disabled, B: IRQ11, C:
IRQ12, D: IRQ9
Dec  2 21:15:26 yedi /kernel:           MB0: disabled, MB1: disabled
Dec  2 21:15:26 yedi /kernel: chip2 <Intel 82371 Bus-master IDE controller>
rev 2 on pci0:7:1
Dec  2 21:15:26 yedi /kernel:   mapreg[20] type=1 addr=0000e800 size=0010.
Dec  2 21:15:26 yedi /kernel:   I/O Base Address: %#lx
Dec  2 21:15:26 yedi /kernel:   Primary IDE: disabled
Dec  2 21:15:26 yedi /kernel:   Secondary IDE: disabled
Dec  2 21:15:26 yedi /kernel: pci0:9:    AMD, device=0x2000, class=network
(ethernet) int a irq 9 [no driver assigned]

>> Yep, it did see the card. But it sez: no driver assigned

Dec  2 21:15:26 yedi /kernel:   map(10): io(e400)
Dec  2 21:15:26 yedi /kernel: ncr0 <ncr 53c810 scsi> rev 2 int a irq 12 on
pci0:10
Dec  2 21:15:26 yedi /kernel:   mapreg[10] type=1 addr=0000e000 size=0100.
Dec  2 21:15:26 yedi /kernel:   mapreg[14] type=0 addr=fbfe0000 size=0100.
Dec  2 21:15:26 yedi /kernel:   reg20: virtual=0xf4950000
physical=0xfbfe0000 size=0x100
Dec  2 21:15:26 yedi /kernel: ncr0: restart (scsi reset).
Dec  2 21:15:26 yedi /kernel: ncr0 scanning for targets 0..6 (V2 pl23
95/09/07)
Dec  2 21:15:26 yedi /kernel: Choosing drivers for scbus configured at 0
Dec  2 21:15:26 yedi /kernel: (ncr0:0:0): "DEC RZ28     (C) DEC 442C" type 0
fixed SCSI 2
Dec  2 21:15:26 yedi /kernel: sd is configured at 0
Dec  2 21:15:26 yedi /kernel: sd0(ncr0:0:0): Direct-Access
Dec  2 21:15:26 yedi /kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec)
offset 8.
Dec  2 21:15:26 yedi /kernel: 2007MB (4110480 512 byte sectors)
Dec  2 21:15:26 yedi /kernel: sd0(ncr0:0:0): with 3045 cyls, 16 heads, and
an average 84 sectors/track
Dec  2 21:15:26 yedi /kernel: (ncr0:3:0): "TANDBERG  TDC 4200 00A1" type 1
removable SCSI 2
Dec  2 21:15:26 yedi /kernel: st is configured at 0
Dec  2 21:15:26 yedi /kernel: st0(ncr0:3:0): Sequential-Access
Dec  2 21:15:26 yedi /kernel: st0(ncr0:3:0): asynchronous.
Dec  2 21:15:27 yedi /kernel:
Dec  2 21:15:27 yedi /kernel: st0(ncr0:3:0): asynchronous.
Dec  2 21:15:27 yedi /kernel: density code 0x0,  drive empty
Dec  2 21:15:27 yedi /kernel: (ncr0:4:0): "TOSHIBA CD-ROM XM-5301TA 0925"
type 5 removable SCSI 2
Dec  2 21:15:27 yedi /kernel: cd is configured at 0
Dec  2 21:15:27 yedi /kernel: cd0(ncr0:4:0): CD-ROM
Dec  2 21:15:27 yedi /kernel: cd0(ncr0:4:0): 250ns (4 Mb/sec) offset 8.
Dec  2 21:15:27 yedi /kernel:
Dec  2 21:15:27 yedi /kernel: cd0(ncr0:4:0): NOT READY asc:4,1
Dec  2 21:15:27 yedi /kernel: cd0(ncr0:4:0):  Logical unit is in process of
becoming ready
Dec  2 21:15:27 yedi /kernel: can't get the size
Dec  2 21:15:27 yedi /kernel:
Dec  2 21:15:27 yedi /kernel: ncr1 <ncr 53c810 scsi> rev 2 int a irq 11 on
pci0:11
Dec  2 21:15:27 yedi /kernel:   mapreg[10] type=1 addr=0000d800 size=0100.
Dec  2 21:15:27 yedi /kernel:   mapreg[14] type=0 addr=fbfd0000 size=0100.
Dec  2 21:15:27 yedi /kernel:   reg20: virtual=0xf4953000
physical=0xfbfd0000 size=0x100
Dec  2 21:15:27 yedi /kernel: ncr1: restart (scsi reset).
Dec  2 21:15:28 yedi /kernel: ncr1 scanning for targets 0..6 (V2 pl23
95/09/07)
Dec  2 21:15:28 yedi /kernel: Choosing drivers for scbus configured at 1
Dec  2 21:15:28 yedi /kernel: vga0 <VGA-compatible display device> rev 1 on
pci0:12
Dec  2 21:15:28 yedi /kernel:   mapreg[10] type=0 addr=fb000000 size=800000.
Dec  2 21:15:28 yedi /kernel: pci0: uses 8389120 bytes of memory from
fb000000 upto fbfe00ff.
Dec  2 21:15:28 yedi /kernel: pci0: uses 528 bytes of I/O space from d800
upto e80f.
Dec  2 21:15:28 yedi /kernel: Probing for devices on the ISA bus:
Dec  2 21:15:28 yedi /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec  2 21:15:28 yedi /kernel: sc0: VGA color <16 virtual consoles,
flags=0x0>
Dec  2 21:15:28 yedi /kernel: ed0 at 0x300-0x31f irq 10 on isa
Dec  2 21:15:28 yedi /kernel: ed0: address 00:00:24:06:32:56, type NE2000
(16 bit)
Dec  2 21:15:28 yedi /kernel: bpf: ed0 attached
Dec  2 21:15:28 yedi /kernel: sio0: probe test 3 failed

>> The sio's are no longer probed correctly (there's 2 of the onboard
(Asus), and 4 on a AST/4 card). This only happens when the Racal is in
the machine, rest unchanged.

Dec  2 21:15:28 yedi /kernel: sio0 not found at 0x3f8
Dec  2 21:15:28 yedi /kernel: sio1 not found at 0x2f8
Dec  2 21:15:28 yedi /kernel: sio2 not found at 0x1a0
Dec  2 21:15:28 yedi /kernel: sio3 not found at 0x1a8
Dec  2 21:15:28 yedi /kernel: sio4 not found at 0x1b0
Dec  2 21:15:28 yedi /kernel: sio5 not found at 0x1b8
Dec  2 21:15:28 yedi /kernel: si0 not found
Dec  2 21:15:28 yedi /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec  2 21:15:28 yedi /kernel: lpt0: Interrupt-driven port
Dec  2 21:15:28 yedi /kernel: lp0: TCP/IP capable interface
Dec  2 21:15:28 yedi /kernel: bpf: lp0 attached
Dec  2 21:15:29 yedi /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec  2 21:15:29 yedi /kernel: fdc0: NEC 72065B
Dec  2 21:15:29 yedi /kernel: fd0: 1.44MB 3.5in
Dec  2 21:15:29 yedi /kernel: fd1: 1.2MB 5.25in
Dec  2 21:15:29 yedi /kernel: npx0 on motherboard
Dec  2 21:15:29 yedi /kernel: npx0: INT 16 interface
Dec  2 21:15:29 yedi /kernel: lnc0 not found
Dec  2 21:15:29 yedi /kernel: Device configuration finished.
Dec  2 21:15:29 yedi /kernel: Considering FFS root f/s.
Dec  2 21:15:29 yedi /kernel: changing root device to sd0a
Dec  2 21:15:29 yedi /kernel: Configuring root and swap devs.

I now have another PCI ethernet card in the box. Before someone asks:
going to -current on this machine is not an option (it's my 'production'
machine and my test box != PCI). And I also don't want to mess around
with the hardware too much.

Stefan: if you want to borrow the Racal I can mail 'm to you. If you
want me to do so email me a shipping address.

Wilko
_     ____________________________________________________________________
 |   / o / /  _  Bulte  email: wilko@yedi.iaf.nl - Arnhem, The Netherlands
 |/|/ / / /( (_) 	Do, or do not. There is no 'try' - Yoda
--------------------------------------------------------------------------



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