Subject: kern/12307: tlp driver causes panic on alpha 164LX.
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@polaris.garbled.net>
List: netbsd-bugs
Date: 03/01/2001 01:47:16
>Number:         12307
>Category:       kern
>Synopsis:       tlp driver causes panic on alpha 164LX.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 01 00:37:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Root
>Release:        -current as of 03/01/01<NetBSD-current source date>
>Organization:
	
>Environment:
	
machine is an alpha 164LX running a 1.5S kernel.

>Description:
Machine with a tlp card that worked fine with the de driver in 1.4.2, probes
and panics as follows:
tlp0 at pci0 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at eb164 irq 0
tlp0: Ethernet address 00:40:05:a3:4d:08
tlp0: unable to configure MII
tlp0: no media found!

# ifconfig -a
tlp0: flags=8802panic: tlp_2114x_isv_tmsw_get
Stopped in pid 8 (ifconfig) at  cpu_Debugger+0x4:       ret     zero,(ra)
db> 
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0xfc
tlp_2114x_isv_tmsw_get() at tlp_2114x_isv_tmsw_get+0x34
tlp_mediastatus() at tlp_mediastatus+0x3c
ifmedia_ioctl() at ifmedia_ioctl+0x13c
tlp_ioctl() at tlp_ioctl+0x88
ifioctl() at ifioctl+0x584
soo_ioctl() at soo_ioctl+0x1c4
sys_ioctl() at sys_ioctl+0x434
syscall_plain() at syscall_plain+0x12c
XentSys() at XentSys+0x5c
--- syscall (54) ---
--- user mode ---
db> 

Older (1.4.2) kernel probed as follows:
de0 at pci0 dev 6 function 0
de0: interrupting at eb164 irq 0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:40:05:a3:4d:08
de0: enabling 100baseTX port

	
>How-To-Repeat:
Boot, type ifconfig, lose.
	
>Fix:
ENOCLUE.. assuming the workaround is to use the de driver for now.
	
>Release-Note:
>Audit-Trail:
>Unformatted: