Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 11:26:13 -0800
From:      Ted Faber <faber@ISI.EDU>
To:        hackers@FreeBSD.ORG
Subject:   Problem with the lnc driver in 3.0-RELEASE
Message-ID:  <199901121926.LAA25780@boreas.isi.edu>

next in thread | raw e-mail | index | archive | help

I have a Hitachi MX-133 laptop with the built-in lance ethernet, and
the lnc driver under 3.0 won't properly initialize it.  (I know, I'm
late moving to 3.0 on this machine, but I had a hell of a semester
when 3.0 came out.)

The Hitachi has the Am79C970A PC/Net II chip in it, and works fine
under 2.2.7 release with the lance driver patched with Robert
Swindells patches.  As far as I can tell from the mailing lists and
CVS records and diffs, this patch was put into 3.0-RELEASE (and
2.2.8-RELEASE).

Unfortunately the driver no longer runs my ethernet.  Any ideas what
changed in the driver that I missed, or elsewhere in the 3.0 system
that would confuse the driver further?

The error printed to the console and syslog is:

lnc1: Initialisation failed

It seems to come from the attach routine, but I don't know enough
about the lance chips to be sure exactly what's failing.

A somewhat clipped dmesg is attached (the buffer allocated in the
GENERIC kernel doesnt seem to be big enough to hold the whole thing.)

Any help would be appreciated.

----------------------------------------------------------------------
Ted Faber                                                faber@isi.edu
USC/ISI Computer Scientist                   http://www.isi.edu/~faber
(310) 822-1511 x190      PGP Key: http://www.isi.edu/~faber/pubkey.asc

[top fell out of the buffer]

s=0 	secondarybus=0
chip0: <Intel 82437MX mobile PCI cache memory controller> rev 0x02 on pci0.0.0
found->	vendor=0x8086, dev=0x1234, revid=0x03
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
chip1: <Intel 82371MX mobile PCI I/O IDE accelerator (MPIIX)> rev 0x03 on pci0.1.0
found->	vendor=0x100b, dev=0x0002, revid=0x01
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=14
	map[0]: type 4, range 32, base 000001f0, size  3
	map[1]: type 4, range 32, base 000003f4, size  2
	map[2]: type 4, range 32, base 00000170, size  3
	map[3]: type 4, range 32, base 00000374, size  2
	map[4]: type 4, range 32, base 0000fcd0, size  4
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x01 int a irq 14 on pci0.5.0
found->	vendor=0x1022, dev=0x2000, revid=0x16
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[0]: type 4, range 32, base 0000fce0, size  5
	map[1]: type 1, range 32, base fedffc00, size  5
lnc1: <PCNet/PCI Ethernet adapter> rev 0x16 int a irq 9 on pci0.18.0
lnc1: PCnet-PCI II address 00:c0:9f:00:51:45
found->	vendor=0x1013, dev=0x1110, revid=0xc1
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=255
chip2: <PCI to CardBus bridge (vendor=1013 device=1110)> rev 0xc1 int a irq 255 on pci0.19.0
found->	vendor=0x1013, dev=0x1110, revid=0xc1
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=0
chip3: <PCI to CardBus bridge (vendor=1013 device=1110)> rev 0xc1 int b irq 0 on pci0.19.1
found->	vendor=0x102c, dev=0x00e0, revid=0xc6
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[0]: type 1, range 32, base fd000000, size 24
vga0: <Chips & Technologies model 00e0 VGA-compatible display device> rev 0xc6 on pci0.20.0
Probing for devices on the ISA bus:
video: RTC equip. code:0x03, DCC code:0x09
video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16
video: param table EGA/VGA:0xf00c02e2, CGA/MDA:0
video: rows_offset:1
video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4
video#0: init mode:24, bios mode:3, current mode:24
video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:0k
video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000
video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000
video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000
video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000
video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000
video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000
video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000
video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000
video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000
video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000
video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000
video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000
video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000
VGA parameters upon power-up
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff 
sc0: the current keyboard controller command byte 0045
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0: keyboard device ID: ab41
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0: current command byte:0045
kbdio: TEST_AUX_PORT status:0000
kbdio: RESET_AUX return code:00fa
kbdio: RESET_AUX status:00aa
kbdio: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: status 10 00 64
psm: data 08 00 00
psm: data 08 00 00
psm: status 00 02 64
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <TOSHIBA MK1401MAV>
wd0: 1376MB (2818368 sectors), 2796 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD-48E/1.0C>, removable, accel, ovlap, dma, iordis
wcd0: 1377Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
ze: slot 0: no card in slot
ze: slot 1: no card in slot
ze0 not found at 0x300
zp: slot 0: no card in slot
zp: slot 1: no card in slot
zp0 not found at 0x300
cs0 not found at 0x300
adv0 not found at 0x330
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0 not found at 0x134
aha0 not found at 0x134
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 173761946 bytes/sec
bzero() bandwidth = 653594771 bytes/sec
apm0: disabled, not probed.
imasks: bio c008c040, tty c007129a, net c007129a
BIOS Geometries:
 0:02b93f3f 0..697=698 cylinders, 0..63=64 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
Intel Pentium F00F detected, installing workaround
new masks: bio c008c040, tty c007129a, net c007129a
Considering MFS root f/s.
No MFS image available as root f/s.
Considering FFS root f/s.
changing root device to wd0s1a
wd0s1: type 0xa5, start 63, end = 2818367, size 2818305 : OK


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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