I'm new to OpenBSD, so I may be doing something stupid. But Google,
the FAQ, and other resources have not shed any light.

I'm attempting to set up an IBM ThinkCentre desktop PC as a
router/firewall for my home network. OpenBSD did not recognize the
onboard NIC, and it did not appear on the supported hardware list as
far as I could tell, so I purchased two Linksys Gigabit NICs that were
listed. (EG1032, probably V3, as they show up as re0 and re1.) I also
disabled the onboard NIC in BIOS.

When doing the install from the CD (OpenBSD 4.4-release), if I
configure re0 ONLY, everything works fine. If I also give re1 an IP,
the system locks up with no error message printed. I was able to
install successfully by only configuring re0.

Once installed and booted from the internal HD, I attempted to enable
re1. I got the same symptom -- system freeze with no error message
upon attempting to activate the card. This was the same whether I
activated the card via "sh /etc/netstart" or whether I rebooted.

I swapped cards and cabling, thinking that I had a bad card. The
behavior continued unchanged. The re0 (which had been re1) card
worked, and activating the re1 card (which used to be re0) locked the
system.

For the record, my /etc/hostname.re0 currently in use is:
inet 192.168.1.20 255.255.255.0 NONE

The hostname.re1 (currently in my /root directory) is:
inet 10.10.10.1 255.255.255.0 NONE

To further attempt to rule out bad hardware, I installed Linux (Ubuntu
8.10). Both NICs operated flawlessly. (I realize that this is not
conclusive, as different OS's can exercise hardware in different
ways.)

After reinstalling OpenBSD and replicating the issue, I was unable to
find any further troubleshooting information or logs which indicated
what the problem was. I'm attaching dmesg output (dmesg.txt),
/var/run/dmesg.boot, and my /var/log/messages. I welcome suggestions
as to solutions or further troubleshooting steps.  (All of the above
logs were gathered after booting to single-user mode, moving
/etc/hostname.re1 to the /root directory, and rebooting.)


John Schofield
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.93GHz ("GenuineIntel" 686-class) 2.93 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,xTPR
real mem  = 795373568 (758MB)
avail mem = 760115200 (724MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/25/05, BIOS32 rev. 0 @ 0xfd6ec, SMBIOS 
rev. 2.34 @ 0xefb60 (49 entries)
bios0: vendor IBM version "2FKT15AUS" date 05/25/2005
bios0: IBM 813116U
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP TCPA APIC BOOT MCFG
acpi0: wakeup devices EXP0(S5) EXP1(S5) EXP2(S5) EXP3(S5) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) USBE(S3) SLOT(S5) KBC_(S3) PSM_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus -1 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 10 (SLOT)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 255 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xaa00! 0xe0000/0x10000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915G Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc0000000, size 0x10000000
drm at vga1 unsupported
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 3
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751" rev 0x11: can't find mem space
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 9
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 10
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 10
re0 at pci2 dev 0 function 0 "Linksys EG1032" rev 0x10: RTL8169S (0x0400), irq 
12, address 00:1e:e5:d7:4e:0b
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
re1 at pci2 dev 1 function 0 "Linksys EG1032" rev 0x10: RTL8169S (0x0400), irq 
10, address 00:1e:e5:d7:4e:3b
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 3, ICH6 AC97
ac97: codec id 0x41445368 (Analog Devices AD1888)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD400BD-08JMC0>
wd0: 16-sector PIO, LBA, 38162MB, 78156288 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, COMBO SOHC-5236V, R$06> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 9
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB DDR2 SDRAM non-parity PC2-3200CL5
spdmem1 at iic0 addr 0x54: 512MB DDR2 SDRAM non-parity PC2-3200CL3
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ff65 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.boot]

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of messages]

Reply via email to