Re: OpenBSD 4.4-release; Lockup after enabling 2nd NIC; both are Linksys EG1032

2009-02-09 Thread John Mark Schofield
Yes. Sorry for the self-contradiction. It's been a long day.

Just to be sure, I re-installed Ubuntu, and I'm currently doing a
system software upgrade with one NIC, and am logged in over the other
NIC and running top. (Plus it sees the onboard NIC, but I don't have
anything plugged into that.)

John

On Sun, Feb 8, 2009 at 5:07 PM, patrick keshishian pkesh...@gmail.com wrote:
 On Sun, Feb 8, 2009 at 4:51 PM, John Mark Schofield r...@sudosu.net wrote:
 This is looking to me like a bad slot on the motherboard. Which
 stinks, as this machine is out of warranty. Anyone have any further
 troubleshooting suggestions?

 Didn't you state earlier that you had tried the system with Ubuntu and
 the two NICs worked flawlessly?


 On Sat, Feb 7, 2009 at 8:02 PM, John Schofield jschofi...@gmail.com wrote:
 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.)





-- 
---
Got root? http://blog.sudosu.net



Re: OpenBSD 4.4-release; Lockup after enabling 2nd NIC; both are Linksys EG1032

2009-02-08 Thread John Mark Schofield
Thanks very much, Dorian, Stijn, and Stuart:

I upgraded to 4.4-Current dated February 6. No change in symptoms.

It occurred to me that I had eliminated hardware problems with the
cards, but not with the PCI slots. So I moved /etc/hostname.re0 to
/root, and booted with re1 enabled. Freeze.

Next I removed re0, to see whether I actually have a bad slot. But of
course, with only one NIC (in the bottom PCI slot) it showed up as re0
instead of re1. And the system froze while attempting to enable it.
So it's not having two NICs enabled that's a problem, it's having a
nic enabled in the bottom slot that's a problem.

I could not see a way in the BIOS (Damn Lenovo crippled BIOS) to set
IRQs directly for cards. I did turn on PNP OS, which did not seem to
make a difference.

I next disabled all USB support through BIOS.  (I'm able to do this
with no consequences because I'm using a PS/2 keyboard and no mouse.)
But the symptoms were unchanged; freeze after starting network at
boot.

I next tried to deactivate ACPI, but found only controls for selecting
S1 or S3 states, and which IRQ ACPI should use. (Currently set to IRQ
9.)

Just for the hell of it, I also disabled onboard sound and the
parallel port. No change in symptoms.

I re-enabled the onboard NIC, but the snapshot doesn't recognize it
either. (At least, ifconfig doesn't show it.)

I then put in a known-good (previously used in this system under
OpenBSD) wireless NIC in the bottom slot. Same symptoms once I copied
/root/hostname.re1 to /etc/hostname.ath0.

This is looking to me like a bad slot on the motherboard. Which
stinks, as this machine is out of warranty. Anyone have any further
troubleshooting suggestions?


John

On Sun, Feb 8, 2009 at 3:02 PM, Dorian B|ttner dorian.buett...@gmx.de
wrote:
 John Schofield schrieb:

 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,CFLUS
H,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