NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/41624: atheros-card works in 4.0 but not in 5.0



>Number:         41624
>Category:       port-i386
>Synopsis:       atheros-card works in 4.0 but not in 5.0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 22 09:15:00 +0000 2009
>Originator:     Nino
>Release:        5.0, 4.0
>Organization:
(home)
>Environment:
(both just with generic kernel)
>Description:
I am using a laptop (Acer Aspire 3634) with a wireless-card of Atheros type, I 
guess made by Amtel. On NetBSD 5.0 this card does not work. On NetBSD 4.0 this 
card DOES work, and produces the device ath0.

Below is the dmesg 1. from NetBSD 4.0, where it works, and 2. of NetBSD 5.0, 
where it only reads "cannot map register space". I would be very grateful for 
any help.

NETBSD 4.0:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0 (GENERIC_LAPTOP) #0: Sun Dec 16 00:27:57 PST 2007
        
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 957 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 932 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd600
PCI BIOS rev. 2.1 found at 0xfd786
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdd40, size 144 bytes (7 entries)
PCI Interrupt Router at 000:02:0 (Silicon Integrated System 85C503 or 5597/5598 
ISA bridge compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:5 0x1039 0x5513   A  0x41   7  0    fixed up
000:02:6 0x1039 0x7013   C  0x43   3  2    fixed up
000:02:7 0x1039 0x7012   C  0x43   3  2    fixed up
000:04:0 0x1039 0x0900   A  0x44   5  0    already assigned
000:06:0 0x1524 0x1410   A  0x44   5  0    fixed up
000:11:0 0x168c 0x001a   A  0x42   3  0    already assigned
------------------------------------------
mainbus0 (root)
pci_addr_fixup: 000:06:0 0x1524 0x1410 new address 0x3be00000
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium M (Dothan) (686-class), 1604.46 MHz, id 0x6d8
cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: "Intel(R) Celeron(R) M processor         1.60GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: using thermal monitor 1
ioapic at mainbus0: not configured
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 11
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
LNKD: ACPI: Found matching pin for 0.6.INTA at func 0: 5
LNKB: ACPI: Found matching pin for 0.11.INTA at func 0: 3
LNKA: ACPI: Found matching pin for 0.2.INTA at func 5: 7
LNKC: ACPI: Found matching pin for 0.2.INTC at func 6: 3
LNKE: ACPI: Found matching pin for 0.3.INTA at func 0: 9
LNKF: ACPI: Found matching pin for 0.3.INTB at func 1: 11
LNKH: ACPI: Found matching pin for 0.3.INTD at func 3: 10
LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 5
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0303 at acpi0 not configured
SYN1003 at acpi0 not configured
PNP0003 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 97.0C passive 61.0C
apm0 at acpi0: Power Management spec V1.2
acpiacad0: AC adapter online.
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System 661 Host Bridge (rev. 0x11)
agp0 at pchb0: aperture at 0xe0000000, size 0x2000000
ppb0 at pci0 dev 1 function 0: Silicon Integrated System product 0x0003 (rev. 
0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Silicon Integrated System product 0x6330 (rev. 
0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x25)
siside0 at pci0 dev 2 function 5
siside0: Silicon Integrated Systems 96X UDMA6661 IDE controller (rev. 0x00)
siside0: bus-master DMA support present
siside0: primary channel configured to compatibility mode
siside0: primary channel interrupting at irq 14
atabus0 at siside0 channel 0
siside0: secondary channel configured to compatibility mode
siside0: secondary channel interrupting at irq 15
atabus1 at siside0 channel 1
Silicon Integrated System product 0x7013 (modem communications, revision 0xa0) 
at pci0 dev 2 function 6 not configured
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
auich0: interrupting at irq 3
auich0: ac97: Avance Logic unknown (0x414c4770) codec; headphone, 20 bit DAC, 
18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
ohci0 at pci0 dev 3 function 0: Silicon Integrated System 5597/5598 USB host 
controller (rev. 0x0f)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1: Silicon Integrated System 5597/5598 USB host 
controller (rev. 0x0f)
ohci1: interrupting at irq 11
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 3 function 3: Silicon Integrated System 7002 USB 2.0 host 
controller (rev. 0x00)
ehci0: interrupting at irq 10
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Silicon Integrated System EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
sip0 at pci0 dev 4 function 0: SiS 900 10/100 Ethernet, rev 0x91
sip0: interrupting at irq 5
sip0: Ethernet address 00:16:36:3c:47:e0
rlphy0 at sip0 phy 13: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0 at pci0 dev 6 function 0: ENE Technology CB1410 CardBus Controller (rev. 
0x01)
ath0 at pci0 dev 11 function 0
ath0: interrupting at irq 3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 7.8 phy 4.5 radio 5.6
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Up/down buttons, Palm detect, Multi-finger
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
pcppi0: children must have an explicit unit
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2
pcmcia0 at cardslot0
WARNING: Callback scheduled before sysmon task queue thread present.
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
acpiec0: evaluation of GPE query method _Q80 failed: AE_NOT_FOUND
acpiec0: evaluation of GPE query method _Q80 failed: AE_NOT_FOUND
acpiacad0: AC adapter online.
acpibat0: battery info: SANYO, LION, 01ZL, 244
wd0 at atabus0 drive 0: <FUJITSU MHK2060AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Slimtype DVDRW SSW-8015S, , HRS2> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(siside0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)







NETBSD 5.0:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
        
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 957 MB
avail memory = 929 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Acer, inc. Aspire 3630      (Not Applicable)
mainbus0 (root)
cpu0 at mainbus0: Intel 686-class, 1600MHz, id 0x6d8
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1039 product 0x0661 (rev. 0x11)
agp0 at pchb0: aperture at 0xe0000000, size 0x2000000
ppb0 at pci0 dev 1 function 0: vendor 0x1039 product 0x0003 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1039 product 0x6330 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
pcib0 at pci0 dev 2 function 0
pcib0: vendor 0x1039 product 0x0008 (rev. 0x25)
siside0 at pci0 dev 2 function 5
siside0: Silicon Integrated Systems 96X UDMA6661 IDE controller (rev. 0x00)
siside0: bus-master DMA support present
siside0: primary channel configured to compatibility mode
siside0: primary channel interrupting at irq 14
atabus0 at siside0 channel 0
siside0: secondary channel configured to compatibility mode
siside0: secondary channel interrupting at irq 15
atabus1 at siside0 channel 1
vendor 0x1039 product 0x7013 (modem communications, revision 0xa0) at pci0 dev 
2 function 6 not configured
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
pci_intr_map: no mapping for pin C (line=ff)
auich0: can't map interrupt
ohci0 at pci0 dev 3 function 0: vendor 0x1039 product 0x7001 (rev. 0x0f)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 3 function 1: vendor 0x1039 product 0x7001 (rev. 0x0f)
ohci1: interrupting at irq 11
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 3 function 3: vendor 0x1039 product 0x7002 (rev. 0x00)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
sip0 at pci0 dev 4 function 0: SiS 900 10/100 Ethernet, rev 0x91
sip0: interrupting at irq 5
sip0: Ethernet address 00:16:36:3c:47:e0
rlphy0 at sip0 phy 13: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0 at pci0 dev 6 function 0: vendor 0x1524 product 0x1410 (rev. 0x01)
ath0 at pci0 dev 11 function 0cannot map register space
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Up/down buttons, Palm detect, Multi-finger
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
attimer0: attached to pcppi0
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x24000
pci_intr_map: no mapping for pin A (line=ff)
cbb0: couldn't map interrupt
cardslot0 at cbb0
cardbus0 at cardslot0: bus 2
pcmcia0 at cardslot0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Slimtype DVDRW SSW-8015S, , HRS2> cdrom removable
uhub0 at usb0: vendor 0x1039 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x1039 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
uhub2 at usb2: vendor 0x1039 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(siside0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
umass0 at uhub2 port 4 configuration 1 interface 0
umass0: SMI Corporation USB DISK, rev 2.00/11.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <S31B0808, USB DISK, 1100> disk removable
sd0: 1960 MB, 3936 cyl, 16 head, 63 sec, 512 bytes/sect x 4014080 sectors
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


Thank you in advance for your kind help.

- Nino
>How-To-Repeat:
Boot an Acer Aspire 3643 with a Harddisk containing NetBSD 4.0 - the wireless 
card will work. Boot it with a USB-stick with NetBSD 5.0 - the card will not 
work.
>Fix:
No fix known, but maybe a hint: I experienced a similar problem in Ubuntu 8.04. 
Apparently, the madwifi drivers were at fault. The problem has been mitigated 
there in the meantime.



Home | Main Index | Thread Index | Old Index