On 8/17/05, Christian Jones <[EMAIL PROTECTED]> wrote: > I had similar (nearly identical) problems about a month ago using a > then-current snapshot, also with a Linksys router, with a wi(4) card, > a problem I didn't see in 3.7. I further would recieve a console > message "Discarding packet with invalid hlen" at each (I think) > DHCPOFFER. > Okay, I've installed CURRENT again for testing (the 19 August snapshot). This problem does not occur in 3.7-STABLE. Below is a script of the behavior using a laptop, a wi(4) card, and a Linksys BEFW11S4 ver. 2 "Wireless Access Point and Cable/DSL Router with 4-port switch". The raw tcpdump is available for download at http://www.aleph0.com/computing/machines/dave/OpenBSD-3.8-dhcp-bug-tcpdump
If there's any concern about what I expect to see (instead of what I did see), or any other information I can provide which might be helpful, please let me know. Question: should I go ahead and submit an official problem report, or just expect to talk about it here? Final note: This is with a wireless card, since that's the only thing convenient to test with, but I have an almost identical problem with onboard ethernet and DHCP: the output of dhclient looks like (copied by hand): DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 3 ip length 576 disagrees with bytes received 580. accepting packet with data after udp payload. DHCPOFFER from 192.168.1.1 DHCPREQUEST on sis0 to 255.255.255.255 port 67 ip length 576 disagrees with bytes received 580. accepting packet with data after udp payload. Discarding packet with invalid hlen. [repeat ad infinitum] Okay, onto the full script (using wi(4)): Script started on Sat Aug 20 17:13:29 2005 # dmesg OpenBSD 3.8-beta (GENERIC) #108: Fri Aug 19 02:32:32 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Celeron(R) CPU 2.20GHz ("GenuineIntel" 686-class) 2.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 232300544 (226856K) avail mem = 205090816 (200284K) using 2861 buffers containing 11718656 bytes (11444K) of memory User Kernel Config UKC> disable apm0 265 apm0 disabled UKC> quit Continuing... mainbus0 (root) bios0 at mainbus0: AT/286+(e5) BIOS, date 03/04/05, BIOS32 rev. 0 @ 0xfd830 apm at bios0 function 0x15 not configured pcibios0 at bios0: rev 2.1 @ 0xfd830/0x7d0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0xc000 0xcc000/0xa000 0xd6000/0x800! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SIS 650 PCI" rev 0x80 ppb0 at pci0 dev 1 function 0 "SIS 86C201 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SIS 650 VGA" rev 0x00: aperture at 0xe8000000, size 0x400000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x25 pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 650: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <IC25N030ATMR04-0> wd0: 16-sector PIO, LBA48, 28615MB, 58605120 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 cd0 at scsibus0 targ 0 lun 0: <QSI, CDRW/DVD SBW242C, UQ81> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured auich0 at pci0 dev 2 function 7 "SIS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 9, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 10, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0 at pci0 dev 3 function 2 "SIS 7002 USB" rev 0x00: irq 3 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: SIS EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x91: irq 4, address 00:11:43:44:86:42 rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 cbb0 at pci0 dev 10 function 0 "Texas Instruments PCI1510 CardBus" rev 0x00: irq 9 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pckbcintr: no dev for slot 1 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 biomask efcd netmask efdd ttymask ffdf pctr: user-level cycle counter enabled wi0 at pcmcia0 function 0 "Dell, TrueMobile 1150 Series PC Card, Version 01.01" port 0xa000/64 wi0: Firmware 8.10 variant 1, address 00:02:2d:91:f5:64 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 # cat /etc/hostname.wi0 dhcp nwid askew NONE # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 sis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:11:43:44:86:42 media: Ethernet autoselect (none) status: no carrier pflog0: flags=0<> mtu 33224 pfsync0: flags=0<> mtu 1348 enc0: flags=0<> mtu 1536 wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:02:2d:91:f5:64 media: IEEE802.11 autoselect (none) ieee80211: nwid IBSS -12dBm (auto) # tcpdump -i wi0 -w OpenBSD-3.8-dhcp-bug-tcpdump tcpdump: WARNING: wi0: no IPv4 address assigned tcpdump: listening on wi0, link-type EN10MB ^Z[1] + Suspended tcpdump -i wi0 -w OpenBSD-3.8-dhcp-bug-tcpdump # bg [1] tcpdump -i wi0 -w OpenBSD-3.8-dhcp-bug-tcpdump # sh /etc/netstart DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 192.168.1.1 DHCPREQUEST on wi0 to 255.255.255.255 port 67 Discarding packet with invalid hlen. DHCPREQUEST on wi0 to 255.255.255.255 port 67 Discarding packet with invalid hlen. DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 DHCPOFFER from 192.168.1.1 DHCPREQUEST on wi0 to 255.255.255.255 port 67 Discarding packet with invalid hlen. DHCPREQUEST on wi0 to 255.255.255.255 port 67 Discarding packet with invalid hlen. DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 3 DHCPOFFER from 192.168.1.1 DHCPREQUEST on wi0 to 255.255.255.255 port 67 Discarding packet with invalid hlen. ^C # pkill tcpdump # 25 packets received by filter 0 packets dropped by kernel ^D [1] + Done tcpdump -i wi0 -w OpenBSD-3.8-dhcp-bug-tcpdump Script done on Sat Aug 20 17:15:40 2005 (Special thanks to anyone who read this far, or even just scrolled to the bottom.) -- Christian Jones [EMAIL PROTECTED] http://www.aleph0.com/~chjones