Subject: kern/34918: panic: wm_gmii_mediachange: bad media 0x22
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 10/26/2006 05:00:01
>Number:         34918
>Category:       kern
>Synopsis:       panic: wm_gmii_mediachange: bad media 0x22
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 26 05:00:01 +0000 2006
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 4.99.3
>Organization:
	
>Environment:
	
	
System: NetBSD 4.99.3 (amd64)
>Description:

	boot device: wm0
	root on wm0
	nfs_boot: trying DHCP/BOOTP
	panic: wm_gmii_mediachange: bad media 0x22
	Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x5:        leave
	db{0}> t
	cpu_Debugger() at netbsd:cpu_Debugger+0x5
	panic() at netbsd:panic+0x1f5
	wm_gmii_mediachange() at netbsd:wm_gmii_mediachange+0x9e
	wm_init() at netbsd:wm_init+0xd11
	ether_ioctl() at netbsd:ether_ioctl+0x1b8
	wm_ioctl() at netbsd:wm_ioctl+0x65
	in_ifinit() at netbsd:in_ifinit+0x111
	in_control() at netbsd:in_control+0x88c
	compat_ifioctl() at netbsd:compat_ifioctl+0x9c
	ifioctl() at netbsd:ifioctl+0x400
	nfs_boot_setaddress() at netbsd:nfs_boot_setaddress+0xd1
	nfs_bootdhcp() at netbsd:nfs_bootdhcp+0x3a
	nfs_boot_init() at netbsd:nfs_boot_init+0x2cb
	nfs_mountroot() at netbsd:nfs_mountroot+0x87
	vfs_mountroot() at netbsd:vfs_mountroot+0x140
	main() at netbsd:main+0x277
	db{0}>

>How-To-Repeat:
	reboot nfs-root machine again and again?
	it doesn't always happen.
>Fix:
	

>Unformatted: