On Mon, 11 Nov 2013 18:22:36 +0100, Comète <com...@daknet.org> wrote:
> Hi, > > In March, i reported this bug on jme driver and hopefully Brad Smith > answered with the following patch which work nicely, many thanks to I've been using the patch on the same hardware since March and never had any problem. Thanks! > him ! Now two releases later, this patch is still not included. I > sent him 2 or 3 mails to ask why but didn't get any answer. > Do you know any particular reason for this patch not being applied ? > > Thanks a lot ! > > > Le 24/03/2013 15:46, Comète a écrit : > > Hello, > > > > i own a Shuttle XS35v2 and actually run OpenBSD 5.2 amd64 (SMP) on > > it. I run OpenBSD on this hardware since 4.9 and i always > > encountered the following problem, sorry for the late report it > > took me some time to identify it: > > > > The NIC uses the jme driver which run in a kernel panic each time i > > upload data from the XS35v2 to any other machine with a transfer > > rate above 7 Mbits/s (XS35v2 -----> other PC). No problem at all > > when downloading. > > > > I made some tests that you can follow to easily reproduce the crash: > > > > On the XS35: > > > > iperf -s > > > > On the other machine: > > > > iperf -c IP_XS35 -n 2048M -d > > > > This is a screenshot of the kernel panic message: > > > > https://cloud.geekandfree.org/public.php?service=files&t=06ff6a95949e392989191588d360b875&download > > > > and i join the dmesg: > > > > > > OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > real mem = 2136670208 (2037MB) > > avail mem = 2057482240 (1962MB) > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfc8b0 (23 entries) > > bios0: vendor American Megatrends Inc. version "080015" date > > 06/23/2011 bios0: Standard XS35 > > acpi0 at bios0: rev 2 > > acpi0: sleep states S0 S3 S4 S5 > > acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET GSCI > > acpi0: wakeup devices P0P1(S4) AZAL(S3) P0P4(S4) P0P5(S4) JLAN(S3) > > P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S3) USB1(S3) USB2(S3) > > USB3(S3) EUSB(S3) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 2154.83 MHz > > cpu0: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF > > cpu0: 512KB 64b/line 8-way L2 cache > > cpu0: apic clock running at 199MHz > > cpu1 at mainbus0: apid 2 (application processor) > > cpu1: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 1795.50 MHz > > cpu1: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF > > cpu1: 512KB 64b/line 8-way L2 cache > > cpu2 at mainbus0: apid 1 (application processor) > > cpu2: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 1795.50 MHz > > cpu2: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF > > cpu2: 512KB 64b/line 8-way L2 cache > > cpu3 at mainbus0: apid 3 (application processor) > > cpu3: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 1795.50 MHz > > cpu3: > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF > > cpu3: 512KB 64b/line 8-way L2 cache > > ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins > > ioapic0: misconfigured as apic 3, remapped to apid 4 > > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > > acpihpet0 at acpi0: 14318179 Hz > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 4 (P0P1) > > acpiprt2 at acpi0: bus 1 (P0P4) > > acpiprt3 at acpi0: bus 2 (P0P5) > > acpiprt4 at acpi0: bus -1 (P0P6) > > acpiprt5 at acpi0: bus 3 (P0P7) > > acpiprt6 at acpi0: bus -1 (P0P8) > > acpiprt7 at acpi0: bus -1 (P0P9) > > acpiec0 at acpi0 > > acpicpu0 at acpi0 > > acpicpu1 at acpi0 > > acpicpu2 at acpi0 > > acpicpu3 at acpi0 > > acpitz0 at acpi0: critical temperature is 104 degC > > acpibtn0 at acpi0: SLPB > > acpibtn1 at acpi0: PWRB > > acpivideo0 at acpi0: GFX0 > > acpivout0 at acpivideo0: LCD_ > > pci0 at mainbus0 bus 0 > > pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02 > > vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02 > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > intagp0 at vga1 > > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 > > inteldrm0 at vga1: apic 4 int 16 > > drm0 at inteldrm0 > > "Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not > > configured azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD > > Audio" rev 0x02: msi > > azalia0: codecs: IDT 92HD81B1X > > audio0 at azalia0 > > ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi > > pci1 at ppb0 bus 1 > > ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi > > pci2 at ppb1 bus 2 > > "JMicron SD/MMC" rev 0x80 at pci2 dev 0 function 0 not configured > > sdhc0 at pci2 dev 0 function 2 "JMicron SD Host Controller" rev > > 0x80: apic 4 int 18 > > sdmmc0 at sdhc0 > > "JMicron Memory Stick" rev 0x80 at pci2 dev 0 function 3 not > > configured jme0 at pci2 dev 0 function 5 "JMicron JMC250" rev 0x03: > > apic 4 int 17, address 80:ee:73:13:59:fa > > jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev. 1 > > ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: msi > > pci3 at ppb2 bus 3 > > "Realtek 8188CE" rev 0x01 at pci3 dev 0 function 0 not configured > > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic > > 4 int 23 > > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic > > 4 int 19 > > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic > > 4 int 18 > > uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic > > 4 int 16 > > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic > > 4 int 23 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > > ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 > > pci4 at ppb3 bus 4 > > pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02 > > ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, > > AHCI 1.1 > > scsibus0 at ahci0: 32 targets > > sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD5000BEVT-0, 01.0> SCSI3 > > 0/direct fixed naa.50014ee656995ba9 > > sd0: 476940MB, 512 bytes/sector, 976773168 sectors > > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: > > apic 4 int 19 > > iic0 at ichiic0 > > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM > > usb1 at uhci0: USB revision 1.0 > > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb2 at uhci1: USB revision 1.0 > > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at uhci2: USB revision 1.0 > > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb4 at uhci3: USB revision 1.0 > > uhub4 at usb4 "Intel UHSI root hub" rev 1.00/1.00 addr 1 > > 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 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > mtrr: Pentium Pro MTRR support > > umass0 at uhub0 port 6 configuration 1 interface 0 "JMicron Samsung > > S2 Portable" rev 2.00/0.00 addr 2 > > umass0: using SCSI over Bulk-Only > > scsibus1 at umass0: 2 targets, initiator 0 > > sd1 at scsibus1 targ 1 lun 0: <Samsung, S2 Portable, > SCSI2 > > 0/direct fixed serial.04e81f03E0931050107C > > sd1: 305245MB, 1024 bytes/sector, 312571224 sectors > > vscsi0 at root > > scsibus2 at vscsi0: 256 targets > > softraid0 at root > > scsibus3 at softraid0: 256 targets > > root on sd0a (08c7379dec8d8e08.a) swap on sd0b dump on sd0b > > panic: kernel diagnostic assertion "sc->jme_cdata.jme_tx_cnt <= > > JME_TX_RING_CNT - JME_TXD_RSVD" failed: file > > "../../../../dev/pci/if_jme.c", line 1144 > > Stopped at > > > > > > > > A friend of mine own the same hardware and did the same tests with > > the same results. > > > > I can do other tests, if you need, to help to fix this bug. > > > > Thanks a lot. > > > > Morgan > > [demime 1.01d removed an attachment of type text/x-diff which had a > name of jme_fix_last.patch] > -- Vigdis