re: previous message wasn't complete, sending finished report to [email protected] regards, Daniel Villarreal
On Sun, Sep 11, 2011 at 10:51 PM, Daniel Villarreal <[email protected]>wrote: > installed latest current 201109101515, received same msgs with previous > current version 201109072136 > Install non-free firmware files on first boot? [no] yes > verified that firmware files are installed in /etc/firmware > > grep -i ath dmesg.boot > > athn0 at uhub0 port 1 "ATHEROS UB95" rev 2.00/2.02 addr 2 > athn0: failed loadfirmware of file athn-ar7010-11 (error 2) > athn0: could not load firmware > athn0 at uhub0 port 1 "ATHEROS UB95" rev 2.00/2.02 addr 2 > athn0: bad ROM checksum 0x2c17 > athn0: could not read ROM > athn0: could not attach chip > > reboot with TL-WN821N in computer > when TL-WN821N disconnected > # uvm_fault(0xffffffff80d2c0a0, 0x0, 0, 2) -> e > > kernel: page fault trap, code=0 > Stopped at ieee80211_ifdetach+0x49: movq %rdx,0(%rax) > ddb{0}> > > http://www.openbsd.org/report.html > sysctl ddb.console=1 > boot crash > > trace > ieee80211_ifdetach() at ieee80211_ifdetach+0x49 > athn_detach() at athn_detach+0x5a > athn_usb_detach() at athn_usb_detach+0x11 > config_detach() at config_detach+0x143 > usb_disconnect_port() at usb_disconnect_port+0x6a > uhub_expore()a at uhub_expore+0x12b > usb_explore() at usb_explore+0xcf > usb_task_thread() at usb_task_thread+0xb2 > end trace frame: 0x0, count: -8 > > ps > PID PPID PGRP UID S FLAGS WAIT > COMMAND > 22046 5938 22046 0 3 0x80 ttyin > ksh > 2594 1 2594 0 3 0x80 ttyin > getty > 24634 1 24634 0 3 0x80 > ttyin getty > 23530 1 23530 0 3 0x80 ttyin > getty > 1556 1 1556 0 3 0x80 ttyin > getty > 5938 1 5938 1000 3 0x88 pause > ksh > 19457 1 19457 0 3 0x80 select > cron > 17080 1 17080 0 3 0x80 select > inetd > 27633 1 27633 0 3 0x80 select > sendmail > 27154 1 27154 0 3 0x80 select > sshd > 32115 22870 22870 74 3 0x80 bpf > pflogd > 22870 1 22870 0 3 0x80 netio > pflogd > 24204 4537 4537 73 7 0x80 > syslogd > 4537 1 4537 0 3 0x80 netio > syslogd > 8741 1 8741 77 3 0x80 poll > dhclient > 20839 1 23652 0 3 0x80 poll > dhclient > 14 0 0 0 3 0x100200 aiodoned > aiodoned > 13 0 0 0 3 0x100200 syncer > update > 12 0 0 0 3 0x100200 cleaner > cleaner > 11 0 0 0 3 0x100200 reaper > reaper > 10 0 0 0 3 0x100200 pgdaemon > pagedaemon > 9 0 0 0 3 0x100200 > bored crypto > 8 0 0 0 3 0x100200 pftm pfpurge * 7 0 0 0 3 0x100200 usbatsk 6 0 0 0 3 0x100200 usbatsk usbatsk 5 0 0 0 3 0x100200 acpi0 acpi0 4 0 0 0 3 0x40100200 idle1 3 0 0 0 3 0x100200 bored syswq 2 0 0 0 3 0x40100200 idle0 1 0 1 0 3 0x80 wait init 0 -1 0 0 3 0x200 scheduler swapper I did save /var/crash/bsd.0.core, if you want that. It's a 2.0G file. at ddb{0}> show panic the kernel did not panic > On Sun, Sep 11, 2011 at 1:10 PM, Bill Allaire <[email protected]>wrote: > >> TP-Link (TLWN812N 300Mbps) USB device. What I found really surprising was >> that unplugging the device locked up the OS. >> >> Due to message: >> Sep 7 15:19:08 geeky /bsd: athn0 at uhub0 >> Sep 7 15:19:08 geeky /bsd: port 1 "ATHEROS UB95" rev 2.00/2.02 addr 3 >> Sep 7 15:19:08 geeky /bsd: athn0: failed loadfirmware of file >> athn-ar7010-11 (error 2) >> Sep 7 15:19:08 geeky /bsd: athn0: could not load firmware >> >> I downloaded athn-firmware-1.1.tgz and extracted those files into >> /etc/firmware. That file contained: >> firmware/athn-ar7010 >> firmware/athn-ar7010-11 >> firmware/athn-ar9271 >> >> >> That led to the following when plugged in: >> >> Sep 11 10:30:05 geeky /bsd: port 1 "ATHEROS UB95" rev 2.00/2.02 addr 3 >> Sep 11 10:30:07 geeky /bsd: athn0: bad ROM checksum 0x2c17 >> Sep 11 10:30:07 geeky /bsd: athn0: could not read ROM >> Sep 11 10:30:07 geeky /bsd: athn0: could not attach chip >> >> >> When unplugged: >> >> uvm_fault(0xd0a31aa0, 0x0, 0, 3) -> e >> kernel: page fault trap, code=0 >> Stopped at ieee80211_ifdetach+0x3e: movl %edx,0(%eax) >> ddb{1}> (lost keyboard response at this point) >> >> I did try setting "sysctl ddb.console=1" before unplugging the device >> again but: >> sysctl: ddb.console: Operation not permitted >> >> I'm not sure how else I can get a trace, ps, show registers, etc... >> >> >> >> dmesg (from a fit-PC2i): >> OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 >> >> [email protected]:/usr/**src/sys/arch/i386/compile/GENE**RIC.MP<http://GENERIC.MP> >> cpu0: Intel(R) Atom(TM) CPU Z530 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 >> GHz >> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,**MCE,CX8,APIC,SEP,MTRR,PGE,MCA,** >> CMOV,PAT,CFLUSH,DS,ACPI,MMX,**FXSR,SSE,SSE2,SS,HTT,TM,SBF,** >> SSE3,MWAIT,DS-CPL,VMX,EST,TM2,**SSSE3,xTPR,PDCM,MOVBE >> real mem = 1063354368 (1014MB) >> avail mem = 1035804672 (987MB) >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 09/14/10, BIOS32 rev. 0 @ 0xfdc70, >> SMBIOS rev. 2.5 @ 0x3f69f000 (33 entries) >> bios0: vendor Phoenix Technologies LTD version >> "NAPA0001.86C.0000.D.**1009141059" >> date 09/14/2010 >> bios0: CompuLab CM-iAM/SBC-FITPC2i >> acpi0 at bios0: rev 2 >> acpi0: sleep states S0 S3 S4 S5 >> acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SSDT >> acpi0: wakeup devices PXS1(S3) PXS2(S3) USB1(S3) USB2(S3) USB3(S3) >> EHC1(S3) >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpihpet0 at acpi0: 14318179 Hz >> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: apic clock running at 132MHz >> cpu1 at mainbus0: apid 1 (application processor) >> cpu1: Intel(R) Atom(TM) CPU Z530 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 >> GHz >> cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,**MCE,CX8,APIC,SEP,MTRR,PGE,MCA,** >> CMOV,PAT,CFLUSH,DS,ACPI,MMX,**FXSR,SSE,SSE2,SS,HTT,TM,SBF,** >> SSE3,MWAIT,DS-CPL,VMX,EST,TM2,**SSSE3,xTPR,PDCM,MOVBE >> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiprt1 at acpi0: bus 2 (RP01) >> acpiprt2 at acpi0: bus 3 (RP02) >> acpiec0 at acpi0 >> acpicpu0 at acpi0: C3, C3, C2, C1 >> acpicpu1 at acpi0: C3, C3, C2, C1 >> acpitz0 at acpi0acpitz0: TZ00: failed to read _TMP >> acpitz1 at acpi0acpitz1: TZ01: failed to read _TMP >> acpiac0 at acpi0: AC unit online >> acpibat0 at acpi0: BAT0 not present >> acpibat1 at acpi0: BAT1 not present >> acpibat2 at acpi0: BAT2 not present >> acpibtn0 at acpi0: PWRB >> acpivideo0 at acpi0: GFX0 >> acpivout0 at acpivideo0: DD01 >> acpivout1 at acpivideo0: DD02 >> acpivout2 at acpivideo0: DD03 >> acpivout3 at acpivideo0: DD04 >> bios0: ROM list: 0xc0000/0xe600! 0xce800/0x1000 0xcf800/0x1000 >> 0xe0000/0x1800! >> cpu0: Enhanced SpeedStep disabled by BIOS >> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> pchb0 at pci0 dev 0 function 0 "Intel US15W Host" rev 0x07 >> vga1 at pci0 dev 2 function 0 "Intel US15W Video" rev 0x07 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> intagp at vga1 not configured >> ppb0 at pci0 dev 28 function 0 "Intel SCH PCIE" rev 0x07: apic 2 int 17 >> (irq 4) >> pci1 at ppb0 bus 2 >> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C >> (0x3c00), apic 2 int 16 (irq 7), address 00:01:c0:08:84:aa >> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 >> ppb1 at pci0 dev 28 function 1 "Intel SCH PCIE" rev 0x07: apic 2 int 16 >> (irq 7) >> pci2 at ppb1 bus 3 >> re1 at pci2 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C >> (0x3c00), apic 2 int 17 (irq 4), address 00:01:c0:08:84:ab >> rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2 >> uhci0 at pci0 dev 29 function 0 "Intel SCH USB" rev 0x07: apic 2 int 23 >> (irq 10) >> uhci1 at pci0 dev 29 function 1 "Intel SCH USB" rev 0x07: apic 2 int 19 >> (irq 5) >> uhci2 at pci0 dev 29 function 2 "Intel SCH USB" rev 0x07: apic 2 int 18 >> (irq 3) >> ehci0 at pci0 dev 29 function 7 "Intel SCH USB" rev 0x07: apic 2 int 21 >> (irq 11) >> usb0 at ehci0: USB revision 2.0 >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >> sdhc0 at pci0 dev 30 function 0 "Intel SCH SD/MMC" rev 0x07: apic 2 int 22 >> (irq 12) >> sdmmc0 at sdhc0 >> sdhc1 at pci0 dev 30 function 1 "Intel SCH SD/MMC" rev 0x07: apic 2 int 20 >> (irq 10) >> sdmmc1 at sdhc1 >> sdhc2 at pci0 dev 30 function 2 "Intel SCH SD/MMC" rev 0x07: apic 2 int 18 >> (irq 3) >> sdmmc2 at sdhc2 >> pcib0 at pci0 dev 31 function 0 "Intel SCH LPC" rev 0x07 >> pciide0 at pci0 dev 31 function 1 "Intel SCH IDE" rev 0x07: DMA, channel 0 >> wired to compatibility >> wd0 at pciide0 channel 0 drive 0: <Hitachi HTS545016B9A300> >> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors >> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 >> 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 >> isa0 at pcib0 >> isadma0 at isa0 >> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >> com0: probed fifo depth: 15 bytes >> 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 >> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >> mtrr: Pentium Pro MTRR support >> scsibus0 at sdmmc1: 2 targets, initiator 0 >> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed >> sd0: 1938MB, 512 bytes/sec, 3970048 sec total >> athn0 at uhub0 port 1 "ATHEROS UB95" rev 2.00/2.02 addr 2 >> run0 at uhub0 port 7 "Ralink 802.11 n WLAN" rev 2.00/1.01 addr 3 >> run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address >> 00:0d:f0:8d:e9:2a >> uhidev0 at uhub1 port 2 configuration 1 interface 0 "LiteOn HP USB >> Multimedia Keyboard" rev 1.10/1.22 addr 2 >> uhidev0: iclass 3/1 >> ukbd0 at uhidev0: 8 modifier keys, 6 key codes >> wskbd1 at ukbd0 mux 1 >> wskbd1: connecting to wsdisplay0 >> uhidev1 at uhub1 port 2 configuration 1 interface 1 "LiteOn HP USB >> Multimedia Keyboard" rev 1.10/1.22 addr 2 >> uhidev1: iclass 3/0, 3 report ids >> uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 >> uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0 >> uhid2 at uhidev1 reportid 3: input=3, output=0, feature=4 >> vscsi0 at root >> scsibus1 at vscsi0: 256 targets >> softraid0 at root >> root on wd0a swap on wd0b dump on wd0b >> athn0: bad ROM checksum 0x2c17 >> athn0: could not read ROM >> athn0: could not attach chip >> >> >> Regards, >> Bill [demime 1.01d removed an attachment of type application/octet-stream which had a name of dmesg.boot]
