On Fri, Aug 03, 2012 at 01:31:18PM +0200, Stefan Sperling wrote: > I haven't received any test reports so far, apart from my own > testing and edd@'s testing. It's been working splendid for me > so far but I would like to get more testing if possible. > > I've Bcc'd some people who were involved in testing earlier ral diffs > or complained about ral not working for them. It would be great if > some of you could try this diff on access points and clients. Cheers!
Finally got around to dig out the card and put it in a Blade 1500. With -current, I get around 10Mb using tcpbench. With your diff, freelist corruption messages pop up rather quickly, speed is the same. I guess the panic at the end is just an effect of the modify after free. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org : Tue Aug 14 19:57:29 CEST 2012 tobi...@blade.tmux.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 2147483648 (2048MB) avail mem = 2100854784 (2003MB) mainbus0 at root: Sun Blade 1500 (Silver) cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1503 MHz cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l) "memory-controller" at mainbus0 not configured schizo0 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 1 schizo0: dvma map c0000000-dfffffff pci0 at schizo0 ebus0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 "flashprom" at ebus0 addr 0-fffff not configured rtc0 at ebus0 addr 70-71: m5823 pcfiic0 at ebus0 addr 320-321 ivec 0x2e iic0 at pcfiic0 admtt0 at iic0 addr 0x2e spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM registered ECC PC2300CL2.5 spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM registered ECC PC2300CL2.5 spdmem2 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2300CL2.5 spdmem3 at iic0 addr 0x53: 512MB DDR SDRAM registered ECC PC2300CL2.5 "ics951601" at iic0 addr 0x69 not configured power0 at ebus0 addr 800-82f ivec 0x20 com0 at ebus0 addr 3f8-3ff ivec 0x2c: ns16550a, 16 byte fifo com0: console com1 at ebus0 addr 2e8-2ef ivec 0x2c: ns16550a, 16 byte fifo "dma" at ebus0 addr 0-ffff not configured alipm0 at pci0 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock iic1 at alipm0 "scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x02: ivec 0x7a4 ac97: codec id 0x41445348 (Analog Devices AD1881A) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at autri0 midi0 at autri0: <4DWAVE MIDI UART> ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7a7, version 1.0, legacy support ohci1 at pci0 dev 11 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7a6, version 1.0, legacy support pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x798 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <ST3120026A> wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors wd1 at pciide0 channel 0 drive 1: <ST3250620A> wd1: 16-sector PIO, LBA48, 238474MB, 488395055 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ral0 at pci0 dev 2 function 0 "Ralink RT2561" rev 0x00: ivec 0x790, address 00:80:5a:38:c4:0b ral0: MAC/BBP RT2661B, RF RT2527 ppb0 at pci0 dev 3 function 0 "TI PCI2250 PCI-PCI" rev 0x02 pci1 at ppb0 bus 1 ohci2 at pci1 dev 8 function 0 "NEC USB" rev 0x43: ivec 0x78c, version 1.0 ohci3 at pci1 dev 8 function 1 "NEC USB" rev 0x43: ivec 0x78d, version 1.0 ehci0 at pci1 dev 8 function 2 "NEC USB" rev 0x04: ivec 0x78e usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1 "TI TSB43AB23 FireWire" rev 0x00 at pci1 dev 11 function 0 not configured usb1 at ohci2: USB revision 1.0 uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci3: USB revision 1.0 uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1 "ppm" at mainbus0 not configured schizo1 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0 schizo1: dvma map c0000000-dfffffff pci2 at schizo1 bge0 at pci2 dev 2 function 0 "Broadcom BCM5703" rev 0x00, BCM5702/5703 A2 (0x1002): ivec 0x7dc, address 00:14:4f:23:72:a2 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 ifb0 at pci2 dev 3 function 0 "3D Labs Wildcat 5110" rev 0x01 ifb0: XVR-1200 (SUNW,375-3101), 1152x900 wsdisplay0 at ifb0 mux 1 wsdisplay0: screen 0 added (std, sun emulation) "3D Labs Wildcat 5110" rev 0x01 at pci2 dev 3 function 1 not configured "i2c" at mainbus0 not configured vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets bootpath: /pci@1e,600000/ide@d,0/disk@0,0 root on wd0a (3ab2b9d02742e2f7.a) swap on wd0b dump on wd0b Automatic boot in progress: starting file system checks. /dev/rwd0a: file system is clean; not checking /dev/rwd0k: file system is clean; not checking /dev/rwd0d: file system is clean; not checking /dev/rwd0f: file system is clean; not checking /dev/rwd0g: file system is clean; not checking /dev/rwd0h: file system is clean; not checking /dev/rwd0j: file system is clean; not checking /dev/rwd0i: file system is clean; not checking /dev/rwd0e: file system is clean; not checking setting tty flags pf enabled kern.bufcachepercent: 20 -> 90 kern.pool_debug: 1 -> 0 machdep.allowaperture: 0 -> 2 starting network DHCPREQUEST on bge0 to 255.255.255.255 port 67 DHCPREQUEST on bge0 to 255.255.255.255 port 67 DHCPACK from 10.0.2.1 (00:e0:52:f1:a0:40) bound to 10.0.2.6 -- renewal in 21600 seconds. starting early daemons: syslogd pflogd ntpd. starting RPC daemons:. savecore: no core dump checking quotas: done. clearing /tmp starting pre-securelevel daemons:. setting kernel security level: kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd sendmail inetd sndiod. starting local daemons: cron. Tue Aug 14 19:59:01 CEST 2012 OpenBSD/sparc64 (blade.tmux.org) (tty00) login: Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (invalid addr 0x40000000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (0x1 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (invalid addr 0xf00000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (0x0 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (invalid addr 0xf00000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (0x0 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (invalid addr 0xf00000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (0x0 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (invalid addr 0x40000000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (0x1 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (0x0 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x40 previous type free (0x0 != 0xdeadbeef) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (invalid addr 0xf00000000) Data modified on freelist: word 0 of object 0x400020433c0 size 0x28 previous type free (0x0 != 0xdeadbeef) panic: kernel data fault: pc=11ce338 addr=40000000000 kdb breakpoint at 146c280 Stopped at Debugger+0x4: nop RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb> trace data_access_fault(e0017698, 30, 11ce338, 40000000000, 40000000070, 800809) at d ata_access_fault+0x294 trapbase_sun4v(40002040918, 5, 1542558, 1887c90, 180b000, 180b000) at trapbase_ sun4v+0x8790 bufq_done(400020433c8, 4000bcb1cb0, 1544108, 800000023a2de012, 0, 0) at bufq_do ne+0x34 biodone(8000, 10000, 8000, 0, 0, 4000c00dad0) at biodone+0x15c wddone(40002040800, 4000bdda000, 60, 4000c03a1e0, 10000, 182d000) at wddone+0xb 8 wdc_ata_bio_done(40002066168, 4000bdda000, 0, 0, 50, 2) at wdc_ata_bio_done+0x5 0 wdc_ata_bio_intr(40002066168, 4000bdda000, 1, 0, 18af000, 1810000) at wdc_ata_b io_intr+0x128 wdcintr(40002066168, e, 18cdac8, 1887c90, 400020d0d20, 0) at wdcintr+0x5c pciide_pci_intr(40002066000, 0, e0017ec8, 0, 13b9140, 180e0c0) at pciide_pci_in tr+0x78 sparc_interrupt(188bd58, e0018000, 1540928, 1887c90, 4000c00d2fa, 6) at sparc_i nterrupt+0x2a0 sched_idle(e0018000, 4000c00c4e0, 1540f90, 1c09d30, 0, 0) at sched_idle+0x140 proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4 ddb> boot reboot splassert: if_down: want 1 have 5 splassert: if_down: want 1 have 5 splassert: if_down: want 1 have 5 splassert: if_down: want 1 have 5 rebooting