From owner-freebsd-current@FreeBSD.ORG Tue Sep 26 22:27:43 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE8316A403 for ; Tue, 26 Sep 2006 22:27:43 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592B843D5A for ; Tue, 26 Sep 2006 22:27:42 +0000 (GMT) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id C001833E8E; Wed, 27 Sep 2006 00:27:40 +0200 (CEST) Date: Wed, 27 Sep 2006 00:27:40 +0200 From: Lars Engels To: current@freebsd.org Message-ID: <20060926222740.GF6216@e.0x20.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gneEPciiIl/aKvOT" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.0 User-Agent: Mutt/1.5.11 Cc: Subject: Atheros PCCard recognized, IRQ Problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 22:27:43 -0000 --gneEPciiIl/aKvOT Content-Type: multipart/mixed; boundary="8vCeF2GUdMpe9ZbK" Content-Disposition: inline --8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, when I insert a Netgear WAG511 Atheros-based PCCard into my notebook, the speakers crackle two times and nothing else happens. dmesg does not show anything. The card itself is works in Windows and used to work in another FreeBSD notebook. The PCCard Bus is also functioning, a wi(4) card is recognized and can be used. Searching the web and mailing list archives didn't show a similar issue. Could it be an IRQ or ACPI issue? I use a current with today's sources and attached you find the output of dmesg with the atheros card inserted, as well as vmstat -i output and pciconf -lv. Any help is appreciated. Thank you in advance! --=20 Lars Engels E-Mail: lars.engels@0x20.net =09 Mobil: +49 172 266 72 73 --8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename="dmesg.boot" Content-Transfer-Encoding: quoted-printable Copyright (c) 1992-2006 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #7: Tue Sep 26 18:00:51 CEST 2006 lars@maggie.bsd-geek.de:/usr/obj/usr/src/sys/MAGGIE WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1662.51-MHz 686-class= CPU) Origin =3D "GenuineIntel" Id =3D 0x6e8 Stepping =3D 8 Features=3D0xbfe9fbff Features2=3D0xc189> AMD Features=3D0x100000 Cores per package: 2 real memory =3D 1063845888 (1014 MB) avail memory =3D 1031749632 (983 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI-0390: *** Info: Table [SSDT] replaced by host OS ACPI: overriding DSDT/SSDT with custom table ACPI-0390: *** Info: Table [DSDT] replaced by host OS ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard wlan: mac acl policy registered kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x1807 mem 0xd8100000-0xd817f= fff,0xc0000000-0xcfffffff,0xd8200000-0xd823ffff irq 16 at device 2.0 on pci0 drm0: on vgapci0 error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize A= GP. device_attach: drm0 attach returned 12 vgapci1: mem 0xd8180000-0xd81fffff at device 2.1 o= n pci0 pci0: at device 27.0 (no driver attached) pcib1: irq 17 at device 28.0 on pci0 pci2: on pcib1 wpi0: mem 0xd4000000-0xd4000fff irq 16 at d= evice 0.0 on pci2 channel 1 pwr1 0x0060 pwr2 0x005e channel 2 pwr1 0x0068 pwr2 0x0064 channel 3 pwr1 0x0099 pwr2 0x009a channel 4 pwr1 0x0092 pwr2 0x0096 channel 5 pwr1 0x0000 pwr2 0x0000 channel 6 pwr1 0x0082 pwr2 0x0082 channel 7 pwr1 0x0082 pwr2 0x0083 channel 8 pwr1 0x007d pwr2 0x007d channel 9 pwr1 0x007d pwr2 0x007d channel 10 pwr1 0x0000 pwr2 0x0000 channel 11 pwr1 0xfffb pwr2 0xfffb channel 12 pwr1 0x0001 pwr2 0x0001 channel 13 pwr1 0xfffb pwr2 0xfffb channel 14 pwr1 0x0001 pwr2 0x0001 wpi0: Ethernet address: 00:13:02:3f:0d:e4 wpi0: [GIANT-LOCKED] pcib2: irq 16 at device 28.1 on pci0 pci3: on pcib2 uhci0: port 0x1820-0x183f irq 23 at device = 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1840-0x185f irq 19 at device = 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1860-0x187f irq 18 at device = 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1880-0x189f irq 16 at device = 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xd8444000-0xd84443f= f irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered usb4: handing over full speed device on port 5 to usb2 uhub4: port 5, device disappeared after reset pcib3: at device 30.0 on pci0 pci5: on pcib3 bfe0: mem 0xd8000000-0xd8001fff irq 22 = at device 5.0 on pci5 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:00:f0:7f:da:00 bfe0: [GIANT-LOCKED] cbb0: at device 9.0 on pci5 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: mem 0xd8002000-0xd80027ff at device 9.1 on pci5 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.0 (ROM=3D1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:f0:41:20:0f:ab:79 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:f0:0f:ab:79 fwe0: Ethernet address: 02:00:f0:0f:ab:79 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) pci5: at device 9.2 (no driver attached) pci5: at device 9.3 (no driver attached) pci5: at device 9.4 (no driver attached) pci5: at device 9.5 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x1810-0x181f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acp= i0 Timecounter "HPET" frequency 14318180 Hz quality 2000 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xdc000-0xdffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FAST] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled ugen0: on uhub2 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, = default to accept, logging disabled ad0: 69042MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA33 SMP: AP CPU #1 Launched! cd0 at ata0 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray closed Trying to mount root from ufs:/dev/ad0s3a setting h/w config 1200 microcode alive notification version 10d00 alive 1 temperature -192 scan finished rx tail flags error 702 scan finished wpi0: fatal firmware error wpi0: timeout resetting Rx ring setting h/w config 1200 microcode alive notification version 10d00 alive 1 temperature -195 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 rx tail flags error 702 --8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename=vmstat-i interrupt total rate irq1: atkbd0 3360 2 irq9: acpi0 1296 0 irq12: psm0 16636 12 irq14: ata0 8030 5 irq16: wpi0 uhci3 32488 23 irq18: uhci2 1 0 irq20: cbb0 4 0 irq21: fwohci0 1 0 irq22: pcm0 bfe0 2 0 irq23: uhci0 ehci0 1 0 cpu0: timer 2733760 1999 cpu1: timer 2723846 1992 Total 5519425 4037 --8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename=pciconf-lv hostb0@pci0:0:0: class=0x060000 card=0xc504144d chip=0x27a08086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI vgapci0@pci0:2:0: class=0x030000 card=0xc504144d chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA vgapci1@pci0:2:1: class=0x038000 card=0xc504144d chip=0x27a68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = display pcm0@pci0:27:0: class=0x040300 card=0xc504144d chip=0x27d88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia pcib1@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib2@pci0:28:1: class=0x060400 card=0x00000040 chip=0x27d28086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0xc504144d chip=0x27c88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0xc504144d chip=0x27c98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0xc504144d chip=0x27ca8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0xc504144d chip=0x27cb8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0xc504144d chip=0x27cc8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib3@pci0:30:0: class=0x060401 card=0x00000050 chip=0x24488086 rev=0xe2 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0xc504144d chip=0x27b98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801GBM (ICH7-M) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0xc504144d chip=0x27df8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA none0@pci0:31:3: class=0x0c0500 card=0xc504144d chip=0x27da8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus wpi0@pci2:0:0: class=0x028000 card=0x10018086 chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = network bfe0@pci5:5:0: class=0x020000 card=0xc504144d chip=0x170c14e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM440x 100Base-TX Fast Ethernet' class = network subclass = ethernet cbb0@pci5:9:0: class=0x060700 card=0xc504144d chip=0x04761180 rev=0xb4 hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'RL5c476 CardBus Controller' class = bridge subclass = PCI-CardBus fwohci0@pci5:9:1: class=0x0c0010 card=0xc024144d chip=0x05521180 rev=0x09 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'RL5c552 IEEE-1394 Controller' class = serial bus subclass = FireWire none1@pci5:9:2: class=0x080500 card=0xc024144d chip=0x08221180 rev=0x18 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'SD Bus Host Adapter' class = base peripheral none2@pci5:9:3: class=0x088000 card=0xc024144d chip=0x08431180 rev=0x00 hdr=0x00 vendor = 'Ricoh Co Ltd' class = base peripheral none3@pci5:9:4: class=0x088000 card=0xc024144d chip=0x05921180 rev=0x09 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'Memory Stick Bus Host Adapter' class = base peripheral none4@pci5:9:5: class=0x088000 card=0xc024144d chip=0x08521180 rev=0x04 hdr=0x00 vendor = 'Ricoh Co Ltd' class = base peripheral --8vCeF2GUdMpe9ZbK-- --gneEPciiIl/aKvOT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFGalcKc512sD3afgRAopGAKC0neigHv1slK+vpYGH4JByHV47dACcDHZW 5/6yNDDsM97Ne4yp3E0n9DU= =pcu/ -----END PGP SIGNATURE----- --gneEPciiIl/aKvOT--