Date: Sat, 14 Jan 2006 10:50:06 GMT
From: Soeren Straarup <xride@x12.dk>
To: freebsd-bugs@FreeBSD.org
Subject: Re: kern/48758:[modules] kldunload if_{Bnic} can cause kernel panic
Message-ID: <200601141050.k0EAo6A4097813@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/48758; it has been noted by GNATS.
From: Soeren Straarup <xride@x12.dk>
To: bug-followup@FreeBSD.org, pawmal@unia.3lo.lublin.pl
Cc:
Subject: Re: kern/48758:[modules] kldunload if_{Bnic} can cause kernel panic
Date: Sat, 14 Jan 2006 11:44:42 +0100 (CET)
Hi
I tried this on head ( 7.0-CURRENT #0: Tue Dec 27 19:37:10 CET 2005 )
Take dc out of the kernel config file and only make it as a module.
on cosole 1:
ddev# kldload if_dc
dc0: <Macronix 98715AEC-C 10/100BaseTX> port 0xd400-0xd4ff mem
0xe6901000-0xe69010ff irq 5 at device 13.0 on pci0
dc0: Ethernet address: 00:80:c6:f9:fa:f5
miibus1: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 100baseT4
on console 2:
ddev# tcpdump -i dc0
tcpdump: WARNING: dc0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on dc0, link-type EN10MB (Ethernet), capture size 96 bytes
on console 1:
ddev# kldunload if_dc
ukphy0: detached
miibus1: detached
dc0: detached
on console 2:
tcpdump: pcap_loop: read: Device not configured
0 packets captured
0 packets received by filter
0 packets dropped by kernel
I could not reproduce on current.
\Soeren Straarup
Soeren Straarup | aka OZ2DAK aka Xride
FreeBSD wannabe | FreeBSD since 2.2.6-R
Incorrect documentation is often worse than no documentation.
- Bertrand Meyer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601141050.k0EAo6A4097813>
