Subject: port-i386/8921: ex driver initialization (x86 port)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smb@research.att.com>
List: netbsd-bugs
Date: 11/29/1999 19:33:43
>Number: 8921
>Category: port-i386
>Synopsis: ex ethernet driver doesn't initialize after Windows used
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer (NetBSD/i386 Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 29 19:33:00 1999
>Last-Modified:
>Originator: Steven M. Bellovin
>Organization:
>Release: Comdex snapshot
>Environment:
System: NetBSD cc102241-c.union1.nj.home.com 1.4M NetBSD 1.4M (SCREWBALL) #0: Sat Nov 27 11:56:41 EST 1999 root@:/usr/src/sys/arch/i386/compile/SCREWBALL i386
>Description:
If I'm running Windows and reboot to NetBSD (via the Windows shutdown-
restart option), the 3c905 driver fails to initialize properly.
(A dmesg of the failure is shown below.)
NetBSD 1.4M (SCREWBALL) #0: Sat Nov 27 11:56:41 EST 1999
root@:/usr/src/sys/arch/i386/compile/SCREWBALL
cpu0: family 6 model 5 step 1
cpu0: Intel Pentium II (Deschutes) (686-class)
total memory = 127 MB
avail memory = 114 MB
using 1659 buffers containing 6636 KB of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x02)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
vga1 at pci1 dev 0 function 0: Intel i740 Graphics Accelerator (rev. 0x21)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJNA-352500>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 24405MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 49981680 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1 at pciide0 channel 0 drive 1: <FUJITSU MPC3096AT>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 9296MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19038256 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <Pioneer CD-ROM ATAPI Model DR-A04S 010, , E1.05> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 10
uhci0: USB version 1.0
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
unknown vendor 0x12eb product 0x0001 (audio multimedia, revision 0x02) at pci0 dev 15 function 0 not configured
ex0 at pci0 dev 19 function 0: 3Com 3c905B-TX 10/100 Ethernet
ex0: unable to wake up from power state D3
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
com3 at isa0 port 0x2e8-0x2ef irq 9: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2 (slowidle)
apm0: A/C state: on
apm0: battery charge state: no battery
biomask ed45 netmask ed45 ttymask fdc7
wd0: no disk label
boot device: wd1
root on wd1a dumps on wd1b
root file system type: ffs
>How-To-Repeat:
>Fix:
If I power down and boot to NetBSD, everything works properly.
>Audit-Trail:
>Unformatted: