Bug 22454

Summary: `dc' device support broken in -STABLE branch
Product: Base System Reporter: paul.magwene <paul.magwene>
Component: kernAssignee: Bill Paul <wpaul>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description paul.magwene 2000-10-31 20:50:03 UTC
The 'dc' driver appears to have become broken in the -STABLE branch sometime 
in the last week or so.

From dmesg on offending kernel...

FreeBSD 4.2-BETA #25: Tue Oct 31 14:41:23 EST 2000
    pmagwene@sluggo:/usr/src/sys/compile/SLUGGO
<< SNIP >>
dc0: <82c169 PNIC 10/100BaseTX> irq 17 at device 16.0 on pci0
dc0: couldn't map ports/memory
device_probe_and_attach: dc0 attach returned 6

Compared to dmesg on previous working kernel:

FreeBSD 4.1.1-STABLE #24: Mon Oct 23 16:54:39 EDT 2000
    pmagwene@sluggo:/usr/src/sys/compile/SLUGGO
<< SNIP >>
dc0: <82c169 PNIC 10/100BaseTX> port 0xb000-0xb0ff mem 0xfedfd800-0xfedfd8ff irq
 17 at device 16.0 on pci0
dc0: Ethernet address: 00:c0:f0:59:04:f3
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
lnc0: <PCNet/PCI Ethernet adapter> port 0xbcc0-0xbcdf mem 0xfedfdc00-0xfedfdc1f
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-11-03 21:59:46 UTC
State Changed
From-To: open->feedback

Hi 

Do you have  
device miibus 
in your kernel config file?
Comment 2 Johan Karlsson freebsd_committer freebsd_triage 2000-11-04 10:14:55 UTC
State Changed
From-To: feedback->open

Thanks for clrifying that. 

Over to dc(4) maintainer. 


Comment 3 Johan Karlsson freebsd_committer freebsd_triage 2000-11-04 10:14:55 UTC
Responsible Changed
From-To: freebsd-bugs->wpaul
Comment 4 Bill Paul freebsd_committer freebsd_triage 2000-11-08 20:21:34 UTC
State Changed
From-To: open->closed

Heisenbug. After checking BIOS, reseating card and completely flushing 
kernel build directory and recompiling without make -j 6, the card now 
probes correctly.