Subject: RE: PCMCIA Ehernet Card on IBM TP755CX Laptop.
To: 'Deng Hongwei' <dhongwei@sz.cei.gov.cn>
From: Gunnar Helliesen <gunnar@bitcon.no>
List: port-i386
Date: 01/14/1998 11:28:42
Deng Hongwei wrote:
> 
>   3com: using irq5, but print
>         'lpt1 page out'

I recognize that message. I'm running 1.3 on my home machine, a
486DX2-66. I have an ISA 3Com 3C509 at IRQ11 and a VLB multi-I/O adapter
(IDE, floppy, serial, parallel). Strangely enough, the only settings for
the parallel port are "LPT2", "LPT3" and "DISABLED". I've set it to
"LPT2". The IRQ is also configurable, I can't remember all the options
but I set it to IRQ7. There's only one other card in the machine, a
SoundBlaster at IRQ5.

I can't really find any hardware conflicts, but NetBSD has always
complained about lpt0 being out of paper.

When the 3Com is ifconfig'ed at boot it hangs for a little while, prints
an "out of paper" message and continues.

I can also remember sysinst complaining about stray interrupts when I
configured the network in order to install via NFS.

Anyway, the 3Com card works, I've never had any problems with it.
Haven't tested the parallel port as I've got nothing to connect it to.

Here's the dmesg output from my machine (see especially the last line):


NetBSD 1.3 (DOUBLESIX) #0: Wed Jan  7 08:28:40 CET 1998
    root@doublesix.bitcon.no:/usr/src/sys/arch/i386/compile/DOUBLESIX
cpu0: family 4 model 3 step 5
cpu0: Intel 486DX2 (486-class)
real mem  = 25165824
avail mem = 23101440
using 332 buffers containing 1359872 bytes of memory
mainbus0 (root)
isa0 at mainbus0
ep0 at isa0 port 0x330-0x33f irq 11: 3Com 3C509 Ethernet
ep0: MAC address 00:a0:24:e7:79:f3
ep0: 8KB byte-wide FIFO, 1:1 Rx:Tx split, utp/aui/bnc (default bnc)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
Warning drive 1 returned 142/512 of indentify device data
cd0 at atapibus0 drive 1: <, , 38B03C20> type 5 cdrom removable
wd0 at wdc0 drive 0: <Seagate Technology 1275MB - ST31276A>
wd0: 1221MB, 2482 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
sb: setting drq mask 22 failed, got 21
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
sb1 at isapnp0 port 0x220/16,0x300/2,0x388/4 irq 5 drq 0,5
sb1: Creative SB32 PnP Audio: dsp v4.16
audio0 at sb1
joy0 at isapnp0 port 0x200/8
joy0: Creative SB32 PnP Game
joy0: joystick not connected
isapnp0: <Creative SB32 PnP, CTL0021, , WaveTable> port 0x620/4 not
configured
isapnp0: <Creative SB32 PnP, CTL2011, PNP0600, IDE> port 0x168/8,0x36e/2
irq 10 
not configured
biomask 4040 netmask 4840 ttymask 48c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
lpt0: out of paper


My PPRO machine at work (also running 1.3) has an LPT port on the
motherboard and a PCI 3C900 at IRQ9. lpt0 on this machine probes at
exactly the same address and IRQ:


lpt0 at isa0 port 0x378-0x37b irq 7


This machine never complains about lpt0 being out of paper.

Gunnar

--
Gunnar Helliesen   | Bergen IT Consult AS  | NetBSD/VAX on a uVAX II
Systems Consultant | Bergen, Norway        | '86 Jaguar Sovereign 4.2
gunnar@bitcon.no   | http://www.bitcon.no/ | '73 Mercedes 280 (240D)