Hi,

I tried to install OpenBSD 3.8 on a box with two Gigabit 3Com cards with
Broadcom BCM5701 chipset. I set up networking, configured the ip address,
set the default route, put the nameserver into the resolv.conf file. Pinging
the nameserver works, resolving dns names and doing anything over tcp or udp
don't (already tried telnet, dns, ftp, ...). The xl0 interface works fine, btw.

The box is a dual Athlon 2800, but even using the smp kernel didn't sort out
my problem :)

Any idea, what went wrong?  I retried that, using the ramdisk kernel from
the 3.9-current install iso, even in the ramdisk kernel still the same.

I retried another time, using serial console and captured everything:

>> OpenBSD/i386 CDBOOT 1.04
boot> boot
booting cd0a:/3.9/i386/bsd.rd: /4434228|+740348-52+155456|+142075/=0x538114
entry point at 0x200120
m
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.9-current (RAMDISK_CD) #1042: Sun Mar 19 17:04:08 MST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: AMD Athlon(tm) MP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.14 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 535863296 (523304K)
avail mem = 483098624 (471776K)
using 4278 buffers containing 26894336 bytes (26264K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2e) BIOS, date 08/05/03, BIOS32 rev. 0 @ 0xfd6b0
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6b0/0x950
pcibios0: PCI BIOS has 13 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:07:0 ("AMD 768 Power" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x800 0xe0000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11
ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Radeon VE QY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05
pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST3802110A>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, COMBO LTC-48161H, KH0D> SCSI0 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <ST3802110A>
wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
"AMD 768 Power" rev 0x03 at pci0 dev 7 function 3 not configured
bge0 at pci0 dev 8 function 0 "Broadcom BCM5701" rev 0x15, BCM5701 B5 (0x0105): 
irq 5, address 00:0a:5e:01:9e:15
brgphy0 at bge0 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 9 function 0 "Broadcom BCM5701" rev 0x15, BCM5701 B5 (0x0105): 
irq 9, address 00:0a:5e:01:9a:a8
brgphy1 at bge1 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: irq 10, version 1.0, 
legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
xl0 at pci2 dev 8 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 10, address 
00:e0:81:25:60:ee
exphy0 at xl0 phy 24: 3Com internal media interface
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
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: 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 fdc5 netmask ffe5 ttymask ffe7
rd0: fixed, 3800 blocks
wd0: no disk label
dkcsum: wd0 matches BIOS drive 0x80
wd1: no disk label
dkcsum: wd1 matches BIOS drive 0x81
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? s
# ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 33224
        groups: lo
bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0a:5e:01:9e:15
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0a:5e:01:9a:a8
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:e0:81:25:60:ee
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
# ifconfig bge0 XXX.YYY.146.56 netmask 255.255.240.0
# ping XXX.YYY.147.10
PING XXX.YYY.147.10 (XXX.YYY.147.10): 56 data bytes
64 bytes from XXX.YYY.147.10: icmp_seq=0 ttl=255 time=0.608 ms
64 bytes from XXX.YYY.147.10: icmp_seq=1 ttl=255 time=0.253 ms
^C--- XXX.YYY.147.10 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.253/0.430/0.608/0.178 ms
# echo "nameserver XXX.YYY.147.10" > /etc/resolv.conf
# route add default XXX.YYY.147.1
add net default: gateway XXX.YYY.147.1
# ping XXX.YYY.4.1
PING XXX.YYY.4.1 (XXX.YYY.4.1): 56 data bytes
64 bytes from XXX.YYY.4.1: icmp_seq=0 ttl=251 time=0.820 ms
64 bytes from XXX.YYY.4.1: icmp_seq=1 ttl=251 time=0.604 ms
^C--- XXX.YYY.4.1 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.604/0.712/0.820/0.108 ms
# ping www.heise.de
^C
# echo "nameserver XXX.YYY.4.1" > /etc/resolv.conf
# ping XXX.YYY.4.1
PING XXX.YYY.4.1 (XXX.YYY.4.1): 56 data bytes
64 bytes from XXX.YYY.4.1: icmp_seq=0 ttl=251 time=0.665 ms
64 bytes from XXX.YYY.4.1: icmp_seq=1 ttl=251 time=0.522 ms
64 bytes from XXX.YYY.4.1: icmp_seq=2 ttl=251 time=0.479 ms
^C--- XXX.YYY.4.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.479/0.555/0.665/0.081 ms
# ping www.heise.de
^C


So, XXX.YYY.147.10 is the local nameserver (doesn't work) and XXX.YYY.4.1 is
a remote nameserver (doesn't work either).  Tcpdump on the gateway gives the
following:

3:06:45.375630 IP XXX.YYY.146.56 > XXX.YYY.4.1: icmp 64: echo request seq 0
13:06:45.375981 IP XXX.YYY.4.1 > XXX.YYY.146.56: icmp 64: echo reply seq 0
13:06:46.380518 IP XXX.YYY.146.56 > XXX.YYY.4.1: icmp 64: echo request seq 1
13:06:46.380761 IP XXX.YYY.4.1 > XXX.YYY.146.56: icmp 64: echo reply seq 1
13:06:47.390788 IP XXX.YYY.146.56 > XXX.YYY.4.1: icmp 64: echo request seq 2
13:06:47.391026 IP XXX.YYY.4.1 > XXX.YYY.146.56: icmp 64: echo reply seq 2
13:07:04.160746 IP XXX.YYY.146.56.21237 > XXX.YYY.4.1.53:  33246+ A?  
www.heise.de. (30)
13:07:04.162487 IP XXX.YYY.4.1.53 > XXX.YYY.146.56.21237:  33246 1/3/3 A 
193.99.144.85 (175)
13:07:09.166999 IP XXX.YYY.146.56.14454 > XXX.YYY.4.1.53:  33246+ A?  
www.heise.de. (30)
13:07:09.169241 IP XXX.YYY.4.1.53 > XXX.YYY.146.56.14454:  33246 1/3/3 A 
193.99.144.85 (175)
13:07:19.179883 IP XXX.YYY.146.56.2661 > XXX.YYY.4.1.53:  33246+ A?  
www.heise.de. (30)
13:07:19.182623 IP XXX.YYY.4.1.53 > XXX.YYY.146.56.2661:  33246 1/3/3 A 
193.99.144.85 (175)
13:07:39.195651 IP XXX.YYY.146.56.42206 > XXX.YYY.4.1.53:  33246+ A?  
www.heise.de. (30)
13:07:39.197642 IP XXX.YYY.4.1.53 > XXX.YYY.146.56.42206:  33246 1/3/3 A 
193.99.144.85 (175)



Any idea what the problem is, or how to debug further?

Thanks for reading,
- Alexander

Reply via email to