[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

em/bge Headaches



Hello:

Having problems here getting a new server up & running. The box is a 
Dell PowerEdge 1750 1U rackmount with (2) built-in & (1) PCI-X GigE 
NICs. All 3 are listed as supported, none work.

The built-in NICs are Broadcom 5704s, which are apparently pretty 
broken by design. The archives have at least one mention of the 
problem I'm seeing, but no solution. Basically, install goes fine, 
via CD over the 'net, but the box panics on boot:

<...>
/dev/rsd0g: file system is clean; not checking
setting tty flags
starting network
panic: mii_phy_setmedia
Stopped at	Debugger+0x4:	leave
RUN AT LEAST 'trace' AND 'ps'
<...>
ddb> trace
Debugger (d16f0800,d16f0800,22,d02dd659,e9296c24) at Debugger+0x4
panic (d04807b8,f0000,e9296bf8,d02adac0,d16f0800 at panic+0x87
mii_phy_setmedia (d16f0800,d0805848,0,d02a1a9a) at mii_phy_setmedia+0x57
ukphy_service (d16f0800,d17001e4,2,
(Sorry I don't have the time to write it all out or the adapters to 
do serial console to my TiBook.)
ddb> ps
PID	PPID	PGRP	UID	S	FLAGS		WAIT		COMMAND
* 7472	16036	16036	0	2	0x4006 
	ifconfig
16036	1	16036	0	3	0x4086		pause		sh
9	0	0	0	3	0x100204	usbtsk		usbtask
8	0	0	0	3	0x100204	usbevt		usb0
7	0	0	0	3	0x100204	crypto_wa	crypto
6	0	0	0	3	0x100204	aiodoned 
	aiodoned
5	0	0	0	3	0x100204	syncer		update
4	0	0	0	3	0x100204	cleaner		cleaner
3	0	0	0	3	0x100204	reaper		reaper
2	0	0	0	3	0x100204	pgdaemon 
	pageda..
1	0	1	0	3	0x4084		wait		init
0	-1	0	0	3	0x80204		scheduler	swapper

So, I got an Intel NIC from the supported hw list, installed it, 
disabled the onboard bges in BIOS, & wondered why it wouldn't work. 
It's an Intel PRO/1000 MT Server Adapter, PWLA8490MT, that should 
show up as em0. Maybe a simple patch to add support for a slightly 
newer card? Maybe Intel's taking a pointer from other vendors & 
shipping totally different devices with the same name? 13 minutes 
left, let me see if I can get a dmesg onto my flash stick thingy... 
Woohoo! Here it is:

OpenBSD 3.4 (GENERIC) #18: Wed Sep 17 03:34:47 MDT 2003
     deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 2.39 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SIMD,SIMD2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 1073164288 (1048012K)
avail mem = 990007296 (966804K)
using 4278 buffers containing 53760000 bytes (52500K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/02/03, BIOS32 rev. 0 @ 0xffe90
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfc4a0/144 (7 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0201
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1400 0xec000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "ServerWorks", unknown product 
0x14 rev 0x33
pchb1 at pci0 dev 0 function 1 vendor "ServerWorks", unknown product 
0x14 rev 0x00
pci1 at pchb1 bus 1
pchb2 at pci0 dev 0 function 2 vendor "ServerWorks", unknown product 
0x14 rev 0x00
pci2 at pchb2 bus 3
vendor "Intel", unknown product 0x1026 (class network subclass 
ethernet, rev 0x04) at pci2 dev 6 function 0 not configured
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb3 at pci0 dev 15 function 0 "ServerWorks CSB5 SouthBridge" rev 0x93
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N103> SCSI0 
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: 
irq 11, OHCI version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 PCI Bridge" rev 0x00
pchb4 at pci0 dev 16 function 0 vendor "ServerWorks", unknown product 
0x110 rev 0x12
pchb5 at pci0 dev 16 function 2 vendor "ServerWorks", unknown product 
0x110 rev 0x12
pci3 at pchb5 bus 2
pchb6 at pci0 dev 17 function 0 "ServerWorks CIOBX2" rev 0x05
pchb7 at pci0 dev 17 function 2 "ServerWorks CIOBX2" rev 0x05
pci4 at pchb7 bus 4
ami0 at pci4 dev 3 function 0 "Dell PERC 4/Di Verde" rev 0x02: irq 5 
Dell 14a/32b
ami0: FW 4.10, BIOS vB111, 128MB RAM
ami0: 2 channels, 0 FC loops, 1 logical drives
scsibus1 at ami0: 40 targets
sd0 at scsibus1 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed
sd0: 69758MB, 8892 cyl, 255 head, 63 sec, 512 bytes/sec, 142864384 sec total
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c860 netmask c860 ttymask c862
pctr: user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
WARNING: / was not properly unmounted

Enabling/disabling pcibios had no effect. Can anybody spare a clue 
for me here? (I'll try to get trace dumped to serial on Monday, I 
just don't have my adapters with me.)

Thanks,
-Kit
-- 
Everybody knows me,
Down at the local bar,
I drink until I can't see,
And I wonder where you are.    -Reverend Horton Heat, "Liquor, Beer, & Wine"