Bug #2708

unable to send TCP nor UDP on age(4) interface

Added by dermiste about 1 month ago.

Status:NewStart date:08/09/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Driver
Target version:3.8.0

Description

On a fresh install, when using an age(4) interface, I can acquire a DHCP lease, ping my gateway and 8.8.8.8, but impossible to send TCP nor UDP.

How to reproduce:
1) dhclient age0
2) ping -c 8 8.8.8.8 # works
3) dig www.dragonflybsd.org
=> tcpdump on router shows packet going out, but nothing going back in
4) ssh 192.168.72.1
=> on router, running 'tcpdump -s 1500 -ni eth0 host 192.168.72.205' shows
19:21:48.844767 IP truncated-ip - 36905 bytes missing! 192.168.72.205.1026 > 192.168.72.1.22: Flags [S], seq 1807181392:1807218297, win 57344, options [mss 1460,nop,wscale 5,nop,nop,sackOK,nop,nop,TS val 189796 ecr 0], length 36905

# uname -a
DragonFly 3.8-RELEASE DragonFly v3.8.1-RELEASE #16: Mon Jun 16 21:36:15 PDT 2014 :/usr/obj/build/home/justin/src/sys/X86_64_GENERIC x86_64

# pciconf -a
hostb0@pci0:0:0:0: class=0x060000 card=0x81781043 chip=0x27708086 rev=0x81 hdr=0x00
pcib1@pci0:0:1:0: class=0x060400 card=0x27718086 chip=0x27718086 rev=0x81 hdr=0x01
pcib2@pci0:0:28:0: class=0x060400 card=0x81791043 chip=0x27d08086 rev=0x01 hdr=0x01
pcib3@pci0:0:28:2: class=0x060400 card=0x81791043 chip=0x27d48086 rev=0x01 hdr=0x01
uhci0@pci0:0:29:0: class=0x0c0300 card=0x81791043 chip=0x27c88086 rev=0x01 hdr=0x00
uhci1@pci0:0:29:1: class=0x0c0300 card=0x81791043 chip=0x27c98086 rev=0x01 hdr=0x00
uhci2@pci0:0:29:2: class=0x0c0300 card=0x81791043 chip=0x27ca8086 rev=0x01 hdr=0x00
uhci3@pci0:0:29:3: class=0x0c0300 card=0x81791043 chip=0x27cb8086 rev=0x01 hdr=0x00
ehci0@pci0:0:29:7: class=0x0c0320 card=0x81791043 chip=0x27cc8086 rev=0x01 hdr=0x00
pcib4@pci0:0:30:0: class=0x060401 card=0x81791043 chip=0x244e8086 rev=0xe1 hdr=0x01
isab0@pci0:0:31:0: class=0x060100 card=0x81791043 chip=0x27b88086 rev=0x01 hdr=0x00
atapci1@pci0:0:31:1: class=0x01018a card=0x81791043 chip=0x27df8086 rev=0x01 hdr=0x00
atapci2@pci0:0:31:2: class=0x01018f card=0x26011043 chip=0x27c08086 rev=0x01 hdr=0x00
none0@pci0:0:31:3: class=0x0c0500 card=0x81791043 chip=0x27da8086 rev=0x01 hdr=0x00
vgapci0@pci0:4:0:0: class=0x030000 card=0x2500174b chip=0x5b601002 rev=0x00 hdr=0x00
vgapci1@pci0:4:0:1: class=0x038000 card=0x2501174b chip=0x5b701002 rev=0x00 hdr=0x00
age0@pci0:2:0:0: class=0x020000 card=0x82261043 chip=0x10481969 rev=0xb0 hdr=0x00
atapci0@pci0:1:9:0: class=0x018000 card=0x31141095 chip=0x31141095 rev=0x02 hdr=0x00
re0@pci0:1:11:0: class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00

# dmesg
Copyright (c) 2003-2014 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
DragonFly v3.8.1-RELEASE #16: Mon Jun 16 21:36:15 PDT 2014
:/usr/obj/build/home/justin/src/sys/X86_64_GENERIC
TSC clock: 2400065469 Hz, i8254 clock: 1193215 Hz
CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.01-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20000800<SYSCALL,LM>
AMD Features2=0x1<LAHF>
Thermal and PM Features=0x1<SENSOR>
MONITOR/MWAIT Features=0x3<CST,INTBRK>
real memory = 1072954368 (1023 MB)
avail memory = 984633344 (939 MB)
lapic: divisor index 0, frequency 133333593 Hz
Initialize MI interrupts
VMM: PROCBASED_ACTIVATE_SECONDARY_CONTROLS not supported by this CPU
FQ scheduler policy version 1.1 loaded
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
disk scheduler: set policy of md0 to noop
md0: Malloc disk
ACPI: RSDP 0x00000000000FB110 000014 (v00 ACPIAM)
ACPI: RSDT 0x000000003FFA0000 000040 (v01 A_M_I_ OEMRSDT 06000708 MSFT 00000097)
ACPI: FACP 0x000000003FFA0200 000081 (v01 A_M_I_ OEMFACP 06000708 MSFT 00000097)
ACPI: DSDT 0x000000003FFA0590 0059A4 (v01 A0603 A0603000 00000000 INTL 20060113)
ACPI: FACS 0x000000003FFAE000 000040
ACPI: APIC 0x000000003FFA0390 000080 (v01 A_M_I_ OEMAPIC 06000708 MSFT 00000097)
ACPI: OEMB 0x000000003FFAE040 00006B (v01 A_M_I_ AMI_OEM 06000708 MSFT 00000097)
ACPI: HPET 0x000000003FFA5F40 000038 (v01 A_M_I_ OEMHPET 06000708 MSFT 00000097)
ACPI: MCFG 0x000000003FFA5F80 00003C (v01 A_M_I_ OEMMCFG 06000708 MSFT 00000097)
ACPI: SSDT 0x000000003FFAE0B0 0001C6 (v01 AMI CPU1PM 00000001 INTL 20060113)
ACPI: SSDT 0x000000003FFAE280 00013A (v01 AMI CPU2PM 00000001 INTL 20060113)
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
padlock0: No ACE support.
rdrand0: No RdRand support.
acpi0: <A_M_I_ OEMRSDT> on motherboard
ACPI: All ACPI Tables successfully acquired
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/high
ACPI: Executed 1 blocks of module-level executable AML code
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device. You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: frequency 14318180
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci4: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xe7fe0000-0xe7feffff,0xe8000000-0xefffffff irq 16 at device 0.0 on pci4
vgapci1: <VGA-compatible display> mem 0xe7ff0000-0xe7ffffff at device 0.1 on pci4
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib3
age0: <Attansic Technology Corp, L1 Gigabit Ethernet> mem 0xe7ec0000-0xe7efffff irq 18 at device 0.0 on pci2
age0: 1280 Tx FIFO, 2364 Rx FIFO
miibus0: <MII bus> on age0
atphy0: <Atheros F1 10/100/1000 PHY> on miibus0
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
age0: MAC address: 00:1b:fc:72:c2:37
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x7000-0x701f irq 20 at device 29.0 on pci0
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0x7400-0x741f irq 17 at device 29.1 on pci0
usbus0: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0x7800-0x781f irq 18 at device 29.2 on pci0
usbus1: 12Mbps Full Speed USB v1.0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0x8000-0x801f irq 19 at device 29.3 on pci0
usbus2: 12Mbps Full Speed USB v1.0
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xe7cffc00-0xe7cfffff irq 20 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus3: 12Mbps Full Speed USB v1.0
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib4
atapci0: <SiI 3114 SATA150 controller> port 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem 0xe7dff800-0xe7dffbff irq 17 at device 9.0 on pci1
usbus4: 480Mbps High Speed USB v2.0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
re0: <D-Link DGE-528(T) Gigabit Ethernet Adapter> port 0xb800-0xb8ff mem 0xe7dffc00-0xe7dffcff irq 22 at device 11.0 on pci1
re0: Hardware rev. 0x10000000; PCI32 33MHz
miibus1: <MII bus> on re0
rgephy0: <8211B/RTL8169S/8110S media interface> on miibus1
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
uhub0: 2 ports with 2 removable, self powered
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
re0: MAC address: 00:19:5b:5d:26:28
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH7 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhub1: 2 ports with 2 removable, self powered
atapci2: <Intel ICH7 SATA300 controller> port 0x8400-0x840f,0x8800-0x8803,0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 irq 23 at device 31.2 on pci0
ata6: <ATA channel 0> on atapci2
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
disk scheduler: set policy of ad12 to noop
ad12: 76323MB <WDC WD800JD-08MSA1 10.01E01> at ata6-master SATA150
ata7: <ATA channel 1> on atapci2
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x27da) at device 31.3 irq 23
acpi_button0: <Power Button> on acpi0
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
cpu0: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI Error: Method parse/execution failed [\\_PR_.CPU1._OSC] (Node 0xffffffe003347230), AE_ALREADY_EXISTS (20140424/psparse-553)
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu_pst0: <ACPI CPU P-State> on cpu0
clockmod0: <CPU clock modulation> on cpu0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
cpu1: <ACPI CPU> on acpi0
ACPI: Dynamic OEM Table Load:
ACPI Error: Method parse/execution failed [\\_PR_.CPU2._OSC] (Node 0xffffffe0033474b8), AE_ALREADY_EXISTS (20140424/psparse-553)
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu_pst1: <ACPI CPU P-State> on cpu1
clockmod1: <CPU clock modulation> on cpu1
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
orm0: <Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcdfff on isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
lm0: <Winbond W83627DHG Hardware Monitor> at port 0x290-0x297 on isa0
wbsio0: <Winbond LPC Super I/O W83627DHG rev 0x23> at port 0x2e-0x2f on isa0
wbsio0: hardware monitor iobase is 0x290
wbsio0: lm0 is already attached at 0x290
sio2: can't drain, serial port might not exist, disabling
ppc1: cannot reserve I/O port range
hpt27xx: no controller detected.
CAM: Configuring 8 busses
CAM: finished configuring all busses
uhub4: 8 ports with 8 removable, self powered
no B_DEVMAGIC (bootdev=0)
Device Mapper version 4.16.0 loaded
dm_target_error: Successfully initialized
dm_target_zero: Successfully initialized
Mounting root from ufs:da8s1a
no disk named 'da8s1a'
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Manual root filesystem specification:
<fstype>:<device> Specify root (e.g. ufs:da0s1a)
? List valid disk boot devices
panic Just panic
abort Abort manual input

mountroot> ufs:ad12s2a
Mounting root from ufs:ad12s2a
DMA space used: 588k, remaining available: 16384k
Mounting devfs

Also available in: Atom PDF