Re: AR5424 diffirent errors before and after recompiling same kernel
From binary kernel -- Forwarded message -- From: Sergey Kish sergey.k...@gmail.com Date: Wed, Jan 26, 2011 at 5:18 PM Subject: Acer Aspire One 751, Atheros AR5424 doesn't work To: dm...@openbsd.org OpenBSD 4.8 (GENERIC) #1: Wed Jan 26 12:03:41 EET 2011 r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR, PDCM,MOVBE real mem = 1063514112 (1014MB) avail mem = 1036156928 (988MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @ 0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries) bios0: vendor Acer version V0.3210 date 09/22/2009 bios0: Acer AO751h acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 124MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, 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: C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 not present acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD01 acpivout1 at acpivideo0: DD02 acpivout2 at acpivideo0: DD04 acpivout3 at acpivideo0: DD05 acpivout4 at acpivideo0: DD04 acpivout5 at acpivideo0: DD05 bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800! cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz 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 azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic 2 int 22 (irq 10) azalia0: codecs: Realtek ALC272 audio0 at azalia0 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 8101E rev 0x02: RTL8102EL (0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1 ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq 7) pci2 at ppb1 bus 3 mem address conflict 0xd000/0x1 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0 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 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: OCZ-VERTEX wd0: 1-sector PIO, LBA48, 61057MB, 125045424 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 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 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 uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev 2.00/2.22 addr 2 video0 at uvideo0 umass0 at uhub0 port 7 configuration 1 interface 0 Generic USB2.0-CRW rev 2.00/58.88 addr 3 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct removable sd0: 15193MB, 512 bytes/sec, 31116288 sec total softraid0 at root root on sd0a swap on sd0b dump on sd0b hw.sensors.acpitz0.temp0=55.00 degC (zone temperature) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpibat0.volt0=11.10 VDC (voltage) hw.sensors.acpibat0.volt1
Re: AR5424 diffirent errors before and after recompiling same kernel
Now with recompiled kernel OpenBSD 4.8 (GENERIC) #3: Fri Jan 28 10:04:06 EET 2011 r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR, PDCM,MOVBE real mem = 1063514112 (1014MB) avail mem = 1036156928 (988MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @ 0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries) bios0: vendor Acer version V0.3210 date 09/22/2009 bios0: Acer AO751h acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 124MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, 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: C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 not present acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD01 acpivout1 at acpivideo0: DD02 acpivout2 at acpivideo0: DD04 acpivout3 at acpivideo0: DD05 acpivout4 at acpivideo0: DD04 acpivout5 at acpivideo0: DD05 bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800! cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz 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 azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic 2 int 22 (irq 10) azalia0: codecs: Realtek ALC272 audio0 at azalia0 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 8101E rev 0x02: RTL8102EL (0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1 ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq 7) pci2 at ppb1 bus 3 mem address conflict 0xd000/0x1 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0 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 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: OCZ-VERTEX wd0: 1-sector PIO, LBA48, 61057MB, 125045424 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 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 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 uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev 2.00/2.22 addr 2 video0 at uvideo0 umass0 at uhub0 port 7 configuration 1 interface 0 Generic USB2.0-CRW rev 2.00/58.88 addr 3 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct removable sd0: 15193MB, 512 bytes/sec, 31116288 sec total softraid0 at root root on sd0a swap on sd0b dump on sd0b ath0: unable to reset hardware; hal status 200 ath0: unable to reset hardware; hal status 3692322188
Re: AR5424 diffirent errors before and after recompiling same kernel
First, why do you not think you have an AR5424 chipset? I ask because you've said so elsewhere. It is not AR5424. My question is simple Why is it different?, maybe What else can be different? So, to fix the issue ... mark your card as 'down' No, my issue isn't few lines in dmesg then I try to use hardware. But working hardware.
Re: AR5424 diffirent errors before and after recompiling same kernel
I've found that Luis Henriques was able to use it year ago http://www.mail-archive.com/tech@openbsd.org/msg01613.html Short answer, it doesn't work. As you can see I've already red it. But here I'm not asking how to make AR5424 work. My point is different. No changes were applied, clean src.tar.gz and sys.tar.gz which I get from the same place as distribution CD... I've made no changes and wait for no changes. But behaviour changed! -ath0: unable to reset hardware: hal status 3 +ath0: unable to reset hardware; hal status 200 +ath0: unable to reset hardware; hal status 3692322168 Why? Does install binaries were made not from provided source?
Audio noise with Intel SCH HD Audio
Today I've checked audio support. azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic 2 int 22 (irq 10) azalia0: codecs: Realtek ALC272 audio0 at azalia0 With vorbis-tools-1.4.0 `ogg123 song45.ogg` - I can hear music, but with a big noise. It works well in Linux $ lspci -vvv -s 00:1b.0 00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 07) Subsystem: Acer Incorporated [ALI] Device 0244 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 22 Region 0: Memory at b005 (64-bit, non-prefetchable) [size=16K] Capabilities: access denied Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel How can to found the problem and fix it?
Atheros AR5001
My Acer Aspire One 751 shipped with Atheros AR5001. Recognized and works in Linux $ lspci -vv -s 03:00.0 03:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01) Subsystem: Foxconn International, Inc. Device e00d Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 17 Region 0: Memory at d000 (64-bit, non-prefetchable) [size=64K] Capabilities: access denied Kernel driver in use: ath5k Kernel modules: ath5k It is recognized as AR5424 by OpenBSD: ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0 Doesn't work $ ifconfig ath0 scan debug ath0: unable to reset hardware: hal status 3 I need help to make it work. It is working in Linux, and backport was already made for AR5424 http://www.mail-archive.com/tech@openbsd.org/msg01613.html PS: is it a right mailing list?
Re: AR5424 diffirent errors before and after recompiling same kernel
But why? There was no changes except kernel! Indeed. Thanks. Jan, please read the message No changes were applied, clean src.tar.gz and sys.tar.gz which I get from the same place as distribution CD Once again. The only change I've made - recompiled kernel. Same release kernel. Same as (I thought) was used to make distribution. But it gives me other errors. And the only way I know to make other erros is different source code. Is it true?
Re: AR5424 diffirent errors before and after recompiling same kernel
Why? I've made no changes in kernel and I was waiting for same error (status 3)! Possibly the card is in a different state (cold boot vs warm boot)? Could be lots of possible reasons. No, same state. I've copied binary kernel bsd from mirror and it returns error 3 again. What's why I've posted here.
Re: Atheros AR5001
You have been answered in your other thread... It doesn't work. In another thread I've asked about unexpected difference between shipped kernel and same kernel built from source. Still have no answer, but a lot of answers about AR5424. But I have no AR5424! My Acer Aspire One 751 shipped with Atheros AR5001.
AR5424 diffirent errors before and after recompiling same kernel
My Acer Aspire One 751 shipped with Atheros AR5424. It isn't supported, but was found during boot ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0 It fails to scan network: $ ifconfig ath0 scan debug ath0: unable to reset hardware: hal status 3 I've found that Luis Henriques was able to use it year ago http://www.mail-archive.com/tech@openbsd.org/msg01613.html So I've started from recompiling my kernel. No changes applied just src.tar.gz by ftp and recompiled kernel Running same command gives me other errors: $ ifconfig ath0 scan debug ath0: unable to reset hardware; hal status 200 ath0: unable to reset hardware; hal status 3692322168 Running again gives only second: $ ifconfig ath0 scan debug ath0: unable to reset hardware; hal status 3692322168 Why? I've made no changes in kernel and I was waiting for same error (status 3)! there was no changes except recompiling kernel. I've downloaded src.tar.gz and sys.tar.gz from ftp://ftp.spline.de/pub/OpenBSD/4.8/ which is official ftp mirror 12:33 sergeykish then I've used instructions from http://openbsd.org/faq/faq5.html 5.3.4 - Building the kernel 12:36 sergeykish yes, AR5424 isn't supported, but I've found http://www.mail-archive.com/tech@openbsd.org/msg01613.html 12:36 sergeykish and first step is recompiling kernel and checking same behaviour 12:37 sergeykish but for some reason it is changed, why? 12:37 sergeykish (I've recompiled kernel without patch)
AR5424 diffirent errors before and after recompiling same kernel
Hello My Acer Aspire One 751 shipped with Atheros AR5424. It isn't supported, but was found during boot ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0 It fails to scan network: $ ifconfig ath0 scan debug ath0: unable to reset hardware: hal status 3 I've found that Luis Henriques was able to use it year ago http://www.mail-archive.com/tech@openbsd.org/msg01613.html So I've started from recompiling my kernel. No changes were applied, clean src.tar.gz and sys.tar.gz which I get from the same place as distribution CD ftp://ftp.spline.de/pub/OpenBSD/4.8/ by FTP. I've used 5.3.4 - Building the kernel FAQ insturctions http://openbsd.org/faq/faq5.html # cd /usr/src/sys/arch/i386/conf # config GENERIC # cd ../compile/GENERIC # make clean make depend make [...lots of output...] # make install # reboot Now running same command gives me other errors: $ ifconfig ath0 scan debug ath0: unable to reset hardware; hal status 200 ath0: unable to reset hardware; hal status 3692322168 Running again gives only second: $ ifconfig ath0 scan debug ath0: unable to reset hardware; hal status 3692322168 But why? There was no changes except kernel!