*BSD News Article 46331


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!news.sprintlink.net!cam.news.pipex.net!pipex!soap.news.pipex.net!pipex!edi.news.pipex.net!pipex!sunic!sunic.sunet.se!news.funet.fi!news.eunet.fi!news.muncca.fi!count
From: count@snafu.muncca.fi (Bror 'Count' Heinola)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: 2.0.5-RELEASE: Problems with NE2100
Date: 3 Jul 1995 02:49:38 GMT
Organization: Muncca UNIX (technical mismanagement)
Lines: 152
Distribution: world
Message-ID: <3t7ls2$4ap@wizard.muncca.fi>
NNTP-Posting-Host: snafu.muncca.fi
Keywords: FreeBSD 2.0.5 NE2100 lnc

	(This is a message I posted to freebsd-questions@freebsd.org yesterday
	with some additions)


	Is there a (known?) problem with the lnc0 driver? I'm using a
	NE2100 (the real thing, not a clone) and I get the following message
	now and then;

Jul  2 11:22:45 key /kernel: lnc0: Transmit underflow error -- Resetting

	I haven't noticed any other strangeness with the thing. 
	I also mailed hackers@freebsd.org about a problem with network card
	a few days ago - this is the same setup except for the network card.


	I recently tried to ftp a large (50M) file over to a Linux box on
	the same ethernet with me, and these are the results;

Jul  3 04:31:55 key /kernel: lnc0: Transmit underflow error -- Resetting
Jul  3 04:31:57 key /kernel: lnc0: Transmit underflow error -- Resetting
Jul  3 04:32:41 key /kernel: lnc0: Transmit underflow error -- Resetting
Jul  3 04:45:32 key /kernel: lnc0: Transmit underflow error -- Resetting
Jul  3 04:46:12 key last message repeated 27 times

	Throughput was something like 30k/s - I didn't try to ftp the whole
	file over.

	And this is what I got when I ftp'd stuff from the Linux box into
	mine;

Jul  3 04:46:29 key /kernel: lnc0: Receive overflow error 
Jul  3 04:46:31 key last message repeated 5 times


	Does any else have this kind of problems with NE2100? I'd be most
	delighted to know. I'll be trying a SMC Elite Ultra to see if it 
	works any better.


	Other possibly relevant info;

uname -a:

FreeBSD key.hole.fi 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #0: Sun Jul  2 10:04:26 EET DST 1995     root@key.hole.fi:/usr/src/sys/compile/KEY  i386
FreeBSD 2.0.5-RELEASE #0: Sun Jul  2 10:04:26 EET DST 1995
    root@key.hole.fi:/usr/src/sys/compile/KEY

dmesg:

CPU: i486DX (486-class CPU)
real memory  = 7995392 (1952 pages)
avail memory = 6885376 (1681 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x300
ed1 not found at 0x280
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST3390A>
wd0: 325MB (666624 sectors), 768 cyls, 14 heads, 62 S/T, 512 B/S
wdc1 not found at 0x170
lnc0 at 0x340-0x357 irq 5 drq 7 on isa
lnc0: NE2100 (LANCE) Ethernet controller, address 00:00:1b:18:c9:a6
npx0 on motherboard
npx0: INT 16 interface
Probing for devices on the pci0 bus:
	configuration mode 1 allows 32 devices.
pci0:16: vendor=0x1060, device=0x8881, class=bridge [not supported]
pci0:18: vendor=0x1060, device=0x8886, class=bridge [not supported]
lnc0: Transmit underflow error -- Resetting
lnc0: Transmit underflow error -- Resetting


current kernel config:

# KEY - key.hole.fi FreeBSD 2.0.5 kernel config
#
#	KEY - 486DX/33 PCI 8M 340M

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
ident		KEY	
maxusers	10
options		"CHILD_MAX=128"
options		"OPEN_MAX=128"

config		kernel	root on wd0 

options		"COMPAT_43"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		KTRACE			
options		UCONSOLE
options		INET			
pseudo-device	ether			
pseudo-device	loop			
options		IPACCT			
options		FFS			
options		NFS			
options		MSDOSFS			
options		PROCFS			
options		"NSWAPDEV=10"
pseudo-device	pty	64	
pseudo-device	log		
controller	isa0
options		"AUTO_EOI_1"
#options	"AUTO_EOI_2"
options	DUMMY_NOPS
# The syscons console driver (sco color console compatible) - default.
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		HARDFONTS
options         "MAXCONS=16"
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		ed0 	at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
device		ed1	at isa? port 0x280 net irq 5 iomem 0xcc000 vector edintr
device 		lnc0 	at isa? port 0x340 net irq 5 drq 7 vector lncintr
controller 	pci0
device 		de0
options 	PROBE_VERBOSE




-- 
Bror 'Count' Heinola	# E-mail:		# Network admin of muncca.fi
Pengerkatu 13b A5	# count@snafu.muncca.fi	# Count in IRC
00530  HELSINKI		# count@key.hole.fi	# "Is that lemon in your tea?"
			# ...free your mind...	# "No, s'lime."