Subject: install/31951: Laptop floppy install never detects builtin DP83815 NIC
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <rkfrancis1@adelphia.net>
List: netbsd-bugs
Date: 10/30/2005 14:01:01
>Number:         31951
>Category:       install
>Synopsis:       Laptop floppy install never detects builtin DP83815 NIC
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 30 14:01:01 +0000 2005
>Originator:     Robert Ken Francis
>Release:        2.0.2
>Organization:
>Environment:
NetBSD rkfrancis.albyny.adelphia.net 2.0.2 NetBSD 2.0.2 (GENERIC_LAPTOP) #0: Wed Mar 23 08:59:09 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
>Description:
This is for a Compaq Presario 2500 laptop installation of NetBSD 2.0.2.  Using the bootlap1.fs and bootlap2.fs floppy images, I made floppy disks and they never detected the built-in NIC, which the dmesg says:

National Semiconductor DP83815 10/100 Ethernet (ethernet network) at pci0 dev 18 function 0 not configured

So I had to install from CDROM and it was never able to find the NIC.  There is nothing in the simple BIOS regarding plug and play or power management.

My dmesg:

NetBSD 2.0.2 (GENERIC_LAPTOP) #0: Wed Mar 23 08:59:09 UTC 2005
	jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 575 MB
avail memory = 556 MB
BIOS32 rev. 0 found at 0xfd740
PCI BIOS rev. 2.1 found at 0xfd88b
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfdf20, size 192 bytes (10 entries)
PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:06:0 0x10b9 0x5451   A  0x07   5  0    already assigned
000:08:0 0x10b9 0x5457   A  0x06  10  2    fixed up
000:10:0 0x1217 0x6972   A  0x05  11  0    fixed up
000:12:0 0x104c 0x8026   A  0x05  11  0    fixed up
000:15:0 0x10b9 0x5237   A  0x04  10  0    already assigned
000:18:0 0x100b 0x0020   A  0x01  10  0    already assigned
------------------------------------------
PCI fixup examining 1002:cbb2
PCI fixup examining 1002:7010
PCI fixup examining 1002:4337
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 10b9:5237
PCI fixup examining 10b9:5451
PCI fixup examining 10b9:1533
PCI fixup examining 10b9:5457
PCI fixup examining 1217:6972
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 104c:8026
PCI fixup examining 10b9:5237
PCI fixup examining 10b9:5229
PCI fixup examining 10b9:7101
PCI fixup examining 100b:20
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1002 0xcbb2 
	10h mem  0xd4000000 0x04000000
	14h mem  0xd000b000 0x00001000
		[OK]
000:01:0 0x1002 0x7010 
		[OK]
000:02:0 0x10b9 0x5237 
	10h mem  0xd0000000 0x00001000
		[OK]
000:06:0 0x10b9 0x5451 
	10h port 0x00001000 0x00000100
	14h mem  0xd0001000 0x00001000
		[OK]
000:07:0 0x10b9 0x1533 
		[OK]
000:08:0 0x10b9 0x5457 
	10h mem  0xd0002000 0x00001000
	14h port 0x00001400 0x00000100
		[OK]
000:10:0 0x1217 0x6972 
	10h mem  0xd0003000 0x00001000
		[OK]
000:12:0 0x104c 0x8026 
	10h mem  0xd0008000 0x00000800
	14h mem  0xd0004000 0x00004000
		[OK]
000:15:0 0x10b9 0x5237 
	10h mem  0xd0009000 0x00001000
		[OK]
000:16:0 0x10b9 0x5229 
	20h port 0x00002000 0x00000010
		[OK]
000:17:0 0x10b9 0x7101 
		[OK]
000:18:0 0x100b 0x0020 
	10h port 0x00002400 0x00000100
	14h mem  0xd000a000 0x00001000
		[OK]
001:05:0 0x1002 0x4337 
	10h mem  0xd8000000 0x08000000
	14h port 0x00009000 0x00000100
	18h mem  0xd0300000 0x00010000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x23f6c000
 PCI memory mapped I/O space start: 0x24000000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 2392.75 MHz, id 0xf27
cpu0: features bfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features bfebf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebf9ff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ATI Technologies product 0xcbb2 (rev. 0x02)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x7010 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: ATI Technologies Radeon Mobility M6 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller Audio Device (rev. 0x02)
autri0: interrupting at irq 5
autri0: ac97: CXT41 codec; reserved, headphone, 18 bit DAC, 18 bit ADC, no 3D stereo
audio0 at autri0: full duplex, mmap, independent
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
Acer Labs product 0x5457 (modem communications) at pci0 dev 8 function 0 not configured
cbb0 at pci0 dev 10 function 0: O2 Micro, Inc. OZ6912/OZ6972 PCI-Cardbus Bridge (rev. 0x00)
Texas Instruments TSB43AA21 OHCI IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci0 dev 12 function 0 not configured
ohci1 at pci0 dev 15 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci1: interrupting at irq 10
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
aceride0: bus-master DMA support present
aceride0: primary channel configured to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to compatibility mode
aceride0: secondary channel interrupting at irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 17 function 0 not configured
National Semiconductor DP83815 10/100 Ethernet (ethernet network) at pci0 dev 18 function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
Broadcom, 802.11b CardBus, 8.0, M^? (manufacturer 0x0, product 0x0) Broadcom Corporation product 0x4320 (miscellaneous network, revision 0x02) at cardbus0 dev 0 function 0 not configured
wd0 at atabus0 drive 0: <HITACHI_DK23EA-30>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4240N, , 0111> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

>How-To-Repeat:
For a Compaq Presario 2500 with a built-in National Semiconductor DP83815 Ethernet NIC, create boot floppies using the laptop floppy installation images and attempt to install NetBSD 2.0.2 onto a partition.
When the floppy fails to detect the NIC, proceed with the installation using the CDROM.
You end up with an installation that has no network!
>Fix:
None known