NetBSD Problem Report #26375

Received: (qmail 656 invoked by uid 605); 20 Jul 2004 12:37:50 -0000
Message-Id: <200407201237.i6KCbNFT024684@Plectere.com>
Date: Tue, 20 Jul 2004 05:37:23 -0700 (PDT)
From: paul@Plectere.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: paul@Plectere.com
To: gnats-bugs@gnats.NetBSD.org
Subject: "ath" driver uses global country code variable (vs. per instance).
X-Send-Pr-Version: 3.95

>Number:         26375
>Category:       kern
>Synopsis:       "ath" driver uses global country code variable (vs. per instance).
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 20 12:38:00 +0000 2004
>Closed-Date:    
>Last-Modified:  
>Originator:     Paul Shupak
>Release:        NetBSD 2.0G
>Organization:

>Environment:


System: NetBSD cobalt 2.0G NetBSD 2.0G (COBALT-$Revision: 1.4 $) #568: Mon Jul 19 21:12:31 PDT 2004  root@svcs:/sys/arch/i386/compile/COBALT i386
Architecture: i386
Machine: i386
>Description:

		As simple as described above.  An example of a case is
	(hidden) below in the "dmesg" output.  The "ath0" is a Wistron/NewWeb
	CM9, "ath1" is a `hacked' D-Link DWL-AG530, "ath2" is a 5210 based
	Proxim Harmony pseudo-CardBus card (from a Japanese AP's internals),
	and "ath3" is a NetGear 511T Cardbus card.  All except the Proxim,
	i.e. "ath2", have country code (and regulatory domain) set to zero.
	Notice that the 511T is reported with channels 12 through 14 and as
	if its country code is Japanese, despite the fact that these channels
	should NOT be available.

	LONG "dmesg" output follows (hw.ath.debug is set and some extra
	"printf"'s have been added ) (suggested course of action in "fix"
	section below):

NetBSD 2.0G (COBALT-$Revision: 1.4 $) #568: Mon Jul 19 21:12:31 PDT 2004
	root@svcs:/sys/arch/i386/compile/COBALT
total memory = 1535 MB
avail memory = 1493 MB
Tested delay(0):
Cycles = 10084, 8768, 8736, 8736, 8736, 8736, 8736, 8736
res[0] =  84130427244
res[1] =  84130437328
res[2] =  84130446096
res[3] =  84130454832
res[4] =  84130463568
res[5] =  84130472304
res[6] =  84130481040
res[7] =  84130489776
res[8] =  84130498512
Tested delay(1):
Cycles = 17624, 17564, 17444, 17396, 17396, 17372, 17396, 17384
res[0] =  84198017304
res[1] =  84198034928
res[2] =  84198052492
res[3] =  84198069936
res[4] =  84198087332
res[5] =  84198104728
res[6] =  84198122100
res[7] =  84198139496
res[8] =  84198156880
Tested delay(2):
Cycles = 17488, 17416, 17412, 17372, 17420, 17396, 17360, 17396
res[0] =  84266758424
res[1] =  84266775912
res[2] =  84266793328
res[3] =  84266810740
res[4] =  84266828112
res[5] =  84266845532
res[6] =  84266862928
res[7] =  84266880288
res[8] =  84266897684
Tested delay(3):
Cycles = 17408, 17372, 17388, 17396, 17420, 17372, 17420, 17396
res[0] =  84334503260
res[1] =  84334520668
res[2] =  84334538040
res[3] =  84334555428
res[4] =  84334572824
res[5] =  84334590244
res[6] =  84334607616
res[7] =  84334625036
res[8] =  84334642432
Tested delay(4):
Cycles = 26172, 26188, 26028, 26052, 26052, 26052, 26052, 26052
res[0] =  84403295196
res[1] =  84403321368
res[2] =  84403347556
res[3] =  84403373584
res[4] =  84403399636
res[5] =  84403425688
res[6] =  84403451740
res[7] =  84403477792
res[8] =  84403503844
Tested delay(5):
Cycles = 26124, 26052, 26052, 26052, 26052, 26052, 26052, 26052
res[0] =  84471128524
res[1] =  84471154648
res[2] =  84471180700
res[3] =  84471206752
res[4] =  84471232804
res[5] =  84471258856
res[6] =  84471284908
res[7] =  84471310960
res[8] =  84471337012
Tested delay(6):
Cycles = 26052, 26052, 26120, 26052, 26052, 26052, 26052, 26052
res[0] =  84538921600
res[1] =  84538947652
res[2] =  84538973704
res[3] =  84538999824
res[4] =  84539025876
res[5] =  84539051928
res[6] =  84539077980
res[7] =  84539104032
res[8] =  84539130084
Tested delay(7):
Cycles = 34840, 34740, 34788, 34736, 34712, 34688, 34712, 34700
res[0] =  84607742288
res[1] =  84607777128
res[2] =  84607811868
res[3] =  84607846656
res[4] =  84607881392
res[5] =  84607916104
res[6] =  84607950792
res[7] =  84607985504
res[8] =  84608020204
Tested delay(8):
Cycles = 34676, 34736, 34712, 34688, 34712, 34700, 34736, 34712
res[0] =  84675686176
res[1] =  84675720852
res[2] =  84675755588
res[3] =  84675790300
res[4] =  84675824988
res[5] =  84675859700
res[6] =  84675894400
res[7] =  84675929136
res[8] =  84675963848
Tested delay(9):
Cycles = 34840, 34668, 34712, 34964, 34688, 34712, 34700, 34736
res[0] =  84744675656
res[1] =  84744710496
res[2] =  84744745164
res[3] =  84744779876
res[4] =  84744814840
res[5] =  84744849528
res[6] =  84744884240
res[7] =  84744918940
res[8] =  84744953676
Tested delay(10):
Cycles = 34780, 34688, 34712, 34700, 34736, 34712, 34712, 34688
res[0] =  84812532732
res[1] =  84812567512
res[2] =  84812602200
res[3] =  84812636912
res[4] =  84812671612
res[5] =  84812706348
res[6] =  84812741060
res[7] =  84812775772
res[8] =  84812810460
Tested delay(11):
Cycles = 43440, 43344, 43360, 43392, 43368, 43368, 43368, 43368
res[0] =  84880401392
res[1] =  84880444832
res[2] =  84880488176
res[3] =  84880531536
res[4] =  84880574928
res[5] =  84880618296
res[6] =  84880661664
res[7] =  84880705032
res[8] =  84880748400
Tested delay(12):
Cycles = 43448, 43372, 43368, 43368, 43788, 43344, 43368, 43836
res[0] =  84949279016
res[1] =  84949322464
res[2] =  84949365836
res[3] =  84949409204
res[4] =  84949452572
res[5] =  84949496360
res[6] =  84949539704
res[7] =  84949583072
res[8] =  84949626908
Tested delay(13):
Cycles = 43328, 43392, 43368, 43368, 43368, 43368, 43368, 43368
res[0] =  85017142960
res[1] =  85017186288
res[2] =  85017229680
res[3] =  85017273048
res[4] =  85017316416
res[5] =  85017359784
res[6] =  85017403152
res[7] =  85017446520
res[8] =  85017489888
Tested delay(14):
Cycles = 52188, 52052, 52072, 52060, 52000, 52048, 52084, 52024
res[0] =  85086046324
res[1] =  85086098512
res[2] =  85086150564
res[3] =  85086202636
res[4] =  85086254696
res[5] =  85086306696
res[6] =  85086358744
res[7] =  85086410828
res[8] =  85086462852
Tested delay(15):
Cycles = 52020, 52024, 52216, 52000, 52024, 52000, 52048, 52024
res[0] =  85154034280
res[1] =  85154086300
res[2] =  85154138324
res[3] =  85154190540
res[4] =  85154242540
res[5] =  85154294564
res[6] =  85154346564
res[7] =  85154398612
res[8] =  85154450636
Tested delay(16):
Cycles = 52080, 52004, 52000, 52048, 52036, 52000, 52024, 52048
res[0] =  85223007848
res[1] =  85223059928
res[2] =  85223111932
res[3] =  85223163932
res[4] =  85223215980
res[5] =  85223268016
res[6] =  85223320016
res[7] =  85223372040
res[8] =  85223424088
Tested delay(17):
Cycles = 60748, 61184, 60812, 60680, 60668, 60704, 60680, 60668
res[0] =  85290981068
res[1] =  85291041816
res[2] =  85291103000
res[3] =  85291163812
res[4] =  85291224492
res[5] =  85291285160
res[6] =  85291345864
res[7] =  85291406544
res[8] =  85291467212
Tested delay(18):
Cycles = 60676, 60680, 61160, 60680, 60680, 60668, 60704, 60680
res[0] =  85359029592
res[1] =  85359090268
res[2] =  85359150948
res[3] =  85359212108
res[4] =  85359272788
res[5] =  85359333468
res[6] =  85359394136
res[7] =  85359454840
res[8] =  85359515520
Tested delay(19):
Cycles = 60844, 60708, 60692, 60656, 60944, 60680, 60680, 60692
res[0] =  85428138100
res[1] =  85428198944
res[2] =  85428259652
res[3] =  85428320344
res[4] =  85428381000
res[5] =  85428441944
res[6] =  85428502624
res[7] =  85428563304
res[8] =  85428623996
Tested delay(20):
Cycles = 60760, 60656, 60704, 60692, 60656, 60704, 60692, 60656
res[0] =  85496194464
res[1] =  85496255224
res[2] =  85496315880
res[3] =  85496376584
res[4] =  85496437276
res[5] =  85496497932
res[6] =  85496558636
res[7] =  85496619328
res[8] =  85496679984
BIOS32 rev. 0 found at 0xfda74
PCI BIOS rev. 2.1 found at 0xfda95
pcibios: config mechanism [1][x], special cycles [x][x], last bus 4
PCI IRQ Routing Table rev. 1.0 found at 0xf2a40, size 224 bytes (12 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX) compatible)
PIR Entry 0:
	Bus: 0  Device: 0
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 1:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 2:
	Bus: 0  Device: 30
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 3:
	Bus: 0  Device: 31
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x6b bitmap 0xdef8
		INTD: link 0x63 bitmap 0xdef8
PIR Entry 4:
	Bus: 2  Device: 7
		INTA: link 0x61 bitmap 0xdef8
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 5:
	Bus: 2  Device: 8
		INTA: link 0x68 bitmap 0x0e00
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 6:
	Bus: 2  Device: 9
		INTA: link 0x69 bitmap 0xdef8
		INTB: link 0x6a bitmap 0xdef8
		INTC: link 0x6b bitmap 0xdef8
		INTD: link 0x61 bitmap 0xdef8
PIR Entry 7:
	Bus: 2  Device: 10
		INTA: link 0x6a bitmap 0xdef8
		INTB: link 0x6b bitmap 0xdef8
		INTC: link 0x61 bitmap 0xdef8
		INTD: link 0x69 bitmap 0xdef8
PIR Entry 8:
	Bus: 2  Device: 11
		INTA: link 0x6b bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x69 bitmap 0xdef8
		INTD: link 0x6a bitmap 0xdef8
PIR Entry 9:
	Bus: 2  Device: 12
		INTA: link 0x61 bitmap 0xdef8
		INTB: link 0x69 bitmap 0xdef8
		INTC: link 0x6a bitmap 0xdef8
		INTD: link 0x6b bitmap 0xdef8
PIR Entry 10:
	Bus: 2  Device: 13
		INTA: link 0x69 bitmap 0xdef8
		INTB: link 0x6a bitmap 0xdef8
		INTC: link 0x6b bitmap 0xdef8
		INTD: link 0x61 bitmap 0xdef8
PIR Entry 11:
	Bus: 2  Device: 14
		INTA: link 0x61 bitmap 0xdef8
		INTB: link 0x69 bitmap 0xdef8
		INTC: link 0x6a bitmap 0xdef8
		INTD: link 0x6b bitmap 0xdef8
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x01 already connected to IRQ 10
pciintr_link_fixup: PIRQ 0x07 already connected to IRQ 9
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 7
pciintr_link_fixup: PIRQ 0x04 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x05 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x06 already connected to IRQ 11
pciintr_link_route: route of PIRQ 0x00 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x01 -> IRQ 10 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x07 -> IRQ 9 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 7 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x04 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x05 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x06 -> IRQ 11 preserved BIOS setting
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:31:2 0x8086 0x2442   D  0x03   7  0    already assigned
000:31:3 0x8086 0x2443   B  0x01  10  0    already assigned
000:31:4 0x8086 0x2444   C  0x07   9  0    already assigned
000:31:5 0x8086 0x2445   B  0x01  10  0    already assigned
002:08:0 0x8086 0x2449   A  0x04  11  0    already assigned
002:11:0 0x109e 0x036e   A  0x07   9  0    already assigned
002:11:1 0x109e 0x0878   A  0x07   9  0    already assigned
002:12:0 0x1180 0x0476   A  0x01  10  0    fixed up
002:12:1 0x1180 0x0476   B  0x05  11  0    fixed up
002:13:0 0x168c 0x0013   A  0x05  11  0    already assigned
002:14:0 0x1002 0x5144   A  0x01  10  0    already assigned
------------------------------------------
pciintr_irq_release: fixup pciirq level/edge map 0x0e80
pciintr_irq_release: bios  pciirq level/edge map 0x0f80
pciintr_irq_release: final pciirq level/edge map 0x0f80
PCI fixup examining 8086:1a30
PCI fixup examining 8086:1a31
PCI fixup examining 1002:5144
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:244e
PCI fixup examining 8086:2449
PCI fixup examining 3388:21
PCI fixup examining 1033:35
PCI fixup examining 1033:35
PCI fixup examining 1033:e0
PCI fixup examining 1106:3044
PCI fixup examining 1095:680
PCI bridge 2: primary 2, secondary 3, subordinate 3
PCI fixup examining 3388:21
PCI fixup examining 168c:13
PCI bridge 3: primary 2, secondary 4, subordinate 4
PCI fixup examining 109e:36e
PCI fixup examining 109e:878
PCI fixup examining 1180:476
PCI bridge 4: primary 2, secondary 5, subordinate 5
PCI fixup examining 1180:476
PCI bridge 5: primary 2, secondary 6, subordinate 6
PCI fixup examining 168c:13
PCI fixup examining 1002:5144
PCI bridge 1: primary 0, secondary 2, subordinate 6
PCI fixup examining 8086:2440
PCI fixup examining 8086:244b
PCI fixup examining 8086:2442
PCI fixup examining 8086:2443
PCI fixup examining 8086:2444
PCI fixup examining 8086:2445
PCI bus #6 is the last bus
mainbus0 (root)
 tbxface-0198 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing all Control Methods:...........................................................................................................................................
Table [DSDT](id F005) - 433 Objects with 39 Devices 139 Methods 21 Regions
Parsing all Control Methods:
Table [SSDT](id F003) - 1 Objects with 0 Devices 0 Methods 0 Regions
ACPI Namespace successfully loaded at root 0xc08722c0
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium 4 (686-class), 2591.70 MHz, id 0xf29
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 4400<CID>
cpu0: "Intel(R) Pentium(R) 4 CPU 2.60GHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 16 page colors
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 2
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <D845HV,WN84510A,20030525>, AslId <MSFT,00001011>
evxfevnt-0175 [02] AcpiEnable            : Transition to ACPI mode successful
evgpeblk-0869 [08] EvCreateGpeBlock      : GPE 00 to 15 [_GPE] 2 regs at 0000000000000428 on int 9
evgpeblk-0869 [10] EvCreateGpeBlock      : GPE 16 to 31 [_GPE] 2 regs at 000000000000042C on int 9
Completing Region/Field/Buffer/Package initialization:.........................................................................
Initialized 21/21 Regions 7/7 Fields 34/34 Buffers 11/11 Packages (442 nodes)
Executing all Device _STA and_INI methods:..........................................
42 Devices found containing: 42 _STA, 2 _INI methods
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi_pci_fixup starts:
acpi0: fixup: _BBN success, bus # was 0 now 0
acpi0: fixing up PCI bus 0 at level 1
acpi0: fixing up PCI bus 1 at level 2
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
pckbc0 at acpi0 (PNP0F03): aux port
pckbc0: irq 12
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
fdc0 at acpi0 (PNP0700)
fdc0: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
com1 at acpi0 (PNP0501-2)
com1: io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
atppc0 at acpi0 (PNP0401): AT Parallel Port
atppc0: io 0x378-0x37f,0x778-0x77f irq 5 drq 1
atppc0: dtr = 0x0, str = 0x78, ctr = 0x0
atppc0: ecr = 0x15, cnfgA = 0x10, cnfgB = 0x79
atppc0: FIFO <depth,wthr,rthr>=<16,8,8>
atppc0: capabilities=3f<INTR,DMA,FIFO,PS2,ECP,EPP>
ppbus0 at atppc0
ppbus0: No IEEE1284 device found.
lpt0 at ppbus0: port mode = 1<COMPATIBLE>
INT0800 at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: Intel 82845 Host (rev. 0x04)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies Radeon 7200 (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x05)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 8 function 0: Intel i82562 Ethernet, rev 3
fxp0: interrupting at ioapic0 pin 20 (irq 11)
fxp0: Ethernet address 00:03:47:f2:b9:4d
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb2 at pci2 dev 9 function 0: HiNT HB1 PCI-PCI Bridge (rev. 0x15)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
ohci0 at pci3 dev 8 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at ioapic0 pin 21 (irq 11)
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci3 dev 8 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at ioapic0 pin 22 (irq 11)
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci3 dev 8 function 2: NEC USB Host Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23 (irq 9)
ehci0: EHCI version 0.95
ehci0: companion controllers, 2 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
fwohci0 at pci3 dev 9 function 0: VIA Technologies VT3606 OHCI IEEE 1394 Controller (rev. 0x46)
fwohci0: interrupting at ioapic0 pin 22 (irq 11)
fwohci0: OHCI 1.0, 00:01:08:00:38:00:6d:09, 400Mb/s, 2048 max_rec, 8 ir_ctx, 8 it_ctx
cmdide0 at pci3 dev 10 function 0
cmdide0: Silicon Image 0680 (rev. 0x02)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ioapic0 pin 23 (irq 9) for native-PCI interrupt
atabus2 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus3 at cmdide0 channel 1
ppb3 at pci2 dev 10 function 0: HiNT HB1 PCI-PCI Bridge (rev. 0x15)
pci4 at ppb3 bus 4
pci4: memory space enabled
ath0 at pci4 dev 8 function 0
ath0: interrupting at ioapic0 pin 22 (irq 11)
ath_attach: devid 0x13
ath0: mac 5.9 phy 4.3 5ghz radio 3.6
magic 0x19541014, abi 0x04050400, dev_id 0x0013 subvendorid 0x0000
HAL Country Code 0 (0x0)
macVersion 0x00000005, macRev 0x0009, phyRev 0x0043
5GHz analog Rev 0x0036, 2GHz analog Rev 0x0000

ath0: HAL channel 0/40 freq 2412 flags 0xa0 idx 1
ath0: HAL channel 1/40 freq 2412 flags 0xc0 idx 1
ath0: HAL channel 2/40 freq 2417 flags 0xa0 idx 2
ath0: HAL channel 3/40 freq 2417 flags 0xc0 idx 2
ath0: HAL channel 4/40 freq 2422 flags 0xa0 idx 3
ath0: HAL channel 5/40 freq 2422 flags 0xc0 idx 3
ath0: HAL channel 6/40 freq 2427 flags 0xa0 idx 4
ath0: HAL channel 7/40 freq 2427 flags 0xc0 idx 4
ath0: HAL channel 8/40 freq 2432 flags 0xa0 idx 5
ath0: HAL channel 9/40 freq 2432 flags 0xc0 idx 5
ath0: HAL channel 10/40 freq 2437 flags 0xa0 idx 6
ath0: HAL channel 11/40 freq 2437 flags 0xc0 idx 6
ath0: HAL channel 12/40 freq 2442 flags 0xa0 idx 7
ath0: HAL channel 13/40 freq 2442 flags 0xc0 idx 7
ath0: HAL channel 14/40 freq 2447 flags 0xa0 idx 8
ath0: HAL channel 15/40 freq 2447 flags 0xc0 idx 8
ath0: HAL channel 16/40 freq 2452 flags 0xa0 idx 9
ath0: HAL channel 17/40 freq 2452 flags 0xc0 idx 9
ath0: HAL channel 18/40 freq 2457 flags 0xa0 idx 10
ath0: HAL channel 19/40 freq 2457 flags 0xc0 idx 10
ath0: HAL channel 20/40 freq 2462 flags 0xa0 idx 11
ath0: HAL channel 21/40 freq 2462 flags 0xc0 idx 11
ath0: HAL channel 22/40 freq 5180 flags 0x140 idx 36
ath0: HAL channel 23/40 freq 5200 flags 0x140 idx 40
ath0: HAL channel 24/40 freq 5210 flags 0x150 idx 42
ath0: HAL channel 25/40 freq 5220 flags 0x140 idx 44
ath0: HAL channel 26/40 freq 5240 flags 0x140 idx 48
ath0: HAL channel 27/40 freq 5250 flags 0x150 idx 50
ath0: HAL channel 28/40 freq 5260 flags 0x140 idx 52
ath0: HAL channel 29/40 freq 5280 flags 0x140 idx 56
ath0: HAL channel 30/40 freq 5290 flags 0x150 idx 58
ath0: HAL channel 31/40 freq 5300 flags 0x140 idx 60
ath0: HAL channel 32/40 freq 5320 flags 0x140 idx 64
ath0: HAL channel 33/40 freq 5745 flags 0x140 idx 149
ath0: HAL channel 34/40 freq 5760 flags 0x150 idx 152
ath0: HAL channel 35/40 freq 5765 flags 0x140 idx 153
ath0: HAL channel 36/40 freq 5785 flags 0x140 idx 157
ath0: HAL channel 37/40 freq 5800 flags 0x150 idx 160
ath0: HAL channel 38/40 freq 5805 flags 0x140 idx 161
ath0: HAL channel 39/40 freq 5825 flags 0x140 idx 165
ath_desc_alloc: DMA map: 0xcd1e6000 (22924) -> 0x3774000 (22924)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
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: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
bktr0 at pci2 dev 11 function 0
bktr0: interrupting at ioapic0 pin 23 (irq 9)
bktr0: Warning - card vendor 0x1141 (model 0x0012) unknown.
bktr0: Pinnacle/Miro TV, Philips NTSC tuner.
Brooktree Bt878 Video Capture (Audio Section) (miscellaneous multimedia, revision 0x11) at pci2 dev 11 function 1 not configured
cbb0 at pci2 dev 12 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
cbb1 at pci2 dev 12 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
ath1 at pci2 dev 13 function 0
ath1: interrupting at ioapic0 pin 21 (irq 11)
ath_attach: devid 0x13
ath1: mac 5.9 phy 4.3 5ghz radio 3.6
magic 0x19541014, abi 0x04050400, dev_id 0x0013 subvendorid 0x0000
HAL Country Code 0 (0x0)
macVersion 0x00000005, macRev 0x0009, phyRev 0x0043
5GHz analog Rev 0x0036, 2GHz analog Rev 0x0000

ath1: HAL channel 0/40 freq 2412 flags 0xa0 idx 1
ath1: HAL channel 1/40 freq 2412 flags 0xc0 idx 1
ath1: HAL channel 2/40 freq 2417 flags 0xa0 idx 2
ath1: HAL channel 3/40 freq 2417 flags 0xc0 idx 2
ath1: HAL channel 4/40 freq 2422 flags 0xa0 idx 3
ath1: HAL channel 5/40 freq 2422 flags 0xc0 idx 3
ath1: HAL channel 6/40 freq 2427 flags 0xa0 idx 4
ath1: HAL channel 7/40 freq 2427 flags 0xc0 idx 4
ath1: HAL channel 8/40 freq 2432 flags 0xa0 idx 5
ath1: HAL channel 9/40 freq 2432 flags 0xc0 idx 5
ath1: HAL channel 10/40 freq 2437 flags 0xa0 idx 6
ath1: HAL channel 11/40 freq 2437 flags 0xc0 idx 6
ath1: HAL channel 12/40 freq 2442 flags 0xa0 idx 7
ath1: HAL channel 13/40 freq 2442 flags 0xc0 idx 7
ath1: HAL channel 14/40 freq 2447 flags 0xa0 idx 8
ath1: HAL channel 15/40 freq 2447 flags 0xc0 idx 8
ath1: HAL channel 16/40 freq 2452 flags 0xa0 idx 9
ath1: HAL channel 17/40 freq 2452 flags 0xc0 idx 9
ath1: HAL channel 18/40 freq 2457 flags 0xa0 idx 10
ath1: HAL channel 19/40 freq 2457 flags 0xc0 idx 10
ath1: HAL channel 20/40 freq 2462 flags 0xa0 idx 11
ath1: HAL channel 21/40 freq 2462 flags 0xc0 idx 11
ath1: HAL channel 22/40 freq 5180 flags 0x140 idx 36
ath1: HAL channel 23/40 freq 5200 flags 0x140 idx 40
ath1: HAL channel 24/40 freq 5210 flags 0x150 idx 42
ath1: HAL channel 25/40 freq 5220 flags 0x140 idx 44
ath1: HAL channel 26/40 freq 5240 flags 0x140 idx 48
ath1: HAL channel 27/40 freq 5250 flags 0x150 idx 50
ath1: HAL channel 28/40 freq 5260 flags 0x140 idx 52
ath1: HAL channel 29/40 freq 5280 flags 0x140 idx 56
ath1: HAL channel 30/40 freq 5290 flags 0x150 idx 58
ath1: HAL channel 31/40 freq 5300 flags 0x140 idx 60
ath1: HAL channel 32/40 freq 5320 flags 0x140 idx 64
ath1: HAL channel 33/40 freq 5745 flags 0x140 idx 149
ath1: HAL channel 34/40 freq 5760 flags 0x150 idx 152
ath1: HAL channel 35/40 freq 5765 flags 0x140 idx 153
ath1: HAL channel 36/40 freq 5785 flags 0x140 idx 157
ath1: HAL channel 37/40 freq 5800 flags 0x150 idx 160
ath1: HAL channel 38/40 freq 5805 flags 0x140 idx 161
ath1: HAL channel 39/40 freq 5825 flags 0x140 idx 165
ath_desc_alloc: DMA map: 0xcd6c1000 (22924) -> 0x378a000 (22924)
ath1: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath1: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ATI Technologies Radeon 7200 (VGA display) at pci2 dev 14 function 0 not configured
cbb0: interrupting at ioapic0 pin 17 (irq 10)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0
pcmcia0 at cardslot0
cbb1: interrupting at ioapic0 pin 21 (irq 11)
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0
pcmcia1 at cardslot1
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801BA LPC Interface Bridge (rev. 0x05)
ichlpcib0: TCO timer reboot disabled by hardware; hope SMBIOS properly handles it.
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801BA IDE Controller (ICH2) (rev. 0x05)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x05)
uhci0: interrupting at ioapic0 pin 19 (irq 7)
usb3 at uhci0: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x05) at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x05)
uhci1: interrupting at ioapic0 pin 23 (irq 9)
usb4 at uhci1: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at ioapic0 pin 17 (irq 10)
auich0: ac97: Analog Devices AD1885 codec; headphone, Analog Devices Phat Stereo
auich0: ac97: ext id 1<VRA>
isa0 at ichlpcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
auich0: measured ac97 link rate at 55115 Hz, will use 55000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
fw0 at fwohci0: 00:01:08:00:38:00:6d:09:0a:02:ff:ff:f0:01:00:00
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 1: <CD-RW IDE5232, , VER 000> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(cmdide0:0:1): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
ath2 at cardbus0 dev 0 function 0ath2: mapped device @ 0x60020000
ath_attach: devid 0x7
ath2: mac 1.7 phy 0.3 5ghz radio 0.10
magic 0x19980124, abi 0x04050400, dev_id 0x0007 subvendorid 0x0000
HAL Country Code 392 (0x188)
macVersion 0x00000001, macRev 0x0007, phyRev 0x0003
5GHz analog Rev 0x000A, 2GHz analog Rev 0x0000

ath2: HAL channel 0/4 freq 5170 flags 0x140 idx 34
ath2: HAL channel 1/4 freq 5190 flags 0x140 idx 38
ath2: HAL channel 2/4 freq 5210 flags 0x140 idx 42
ath2: HAL channel 3/4 freq 5230 flags 0x140 idx 46
ath_desc_alloc: DMA map: 0xcdf79000 (22924) -> 0x3896000 (22924)
ath2: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath3 at cardbus1 dev 0 function 0ath3: mapped device @ 0x60030000
ath_attach: devid 0x13
ath3: mac 5.6 phy 4.1 5ghz radio 4.6
magic 0x19541014, abi 0x04050400, dev_id 0x0013 subvendorid 0x0000
HAL Country Code 392 (0x188)
macVersion 0x00000005, macRev 0x0006, phyRev 0x0041
5GHz analog Rev 0x0046, 2GHz analog Rev 0x0000

ath3: HAL channel 0/27 freq 2412 flags 0xa0 idx 1
ath3: HAL channel 1/27 freq 2412 flags 0xc0 idx 1
ath3: HAL channel 2/27 freq 2417 flags 0xa0 idx 2
ath3: HAL channel 3/27 freq 2417 flags 0xc0 idx 2
ath3: HAL channel 4/27 freq 2422 flags 0xa0 idx 3
ath3: HAL channel 5/27 freq 2422 flags 0xc0 idx 3
ath3: HAL channel 6/27 freq 2427 flags 0xa0 idx 4
ath3: HAL channel 7/27 freq 2427 flags 0xc0 idx 4
ath3: HAL channel 8/27 freq 2432 flags 0xa0 idx 5
ath3: HAL channel 9/27 freq 2432 flags 0xc0 idx 5
ath3: HAL channel 10/27 freq 2437 flags 0xa0 idx 6
ath3: HAL channel 11/27 freq 2437 flags 0xc0 idx 6
ath3: HAL channel 12/27 freq 2442 flags 0xa0 idx 7
ath3: HAL channel 13/27 freq 2442 flags 0xc0 idx 7
ath3: HAL channel 14/27 freq 2447 flags 0xa0 idx 8
ath3: HAL channel 15/27 freq 2447 flags 0xc0 idx 8
ath3: HAL channel 16/27 freq 2452 flags 0xa0 idx 9
ath3: HAL channel 17/27 freq 2452 flags 0xc0 idx 9
ath3: HAL channel 18/27 freq 2457 flags 0xa0 idx 10
ath3: HAL channel 19/27 freq 2457 flags 0xc0 idx 10
ath3: HAL channel 20/27 freq 2462 flags 0xa0 idx 11
ath3: HAL channel 21/27 freq 2462 flags 0xc0 idx 11
ath3: HAL channel 22/27 freq 2467 flags 0xa0 idx 12
ath3: HAL channel 23/27 freq 2467 flags 0xc0 idx 12
ath3: HAL channel 24/27 freq 2472 flags 0xa0 idx 13
ath3: HAL channel 25/27 freq 2472 flags 0xc0 idx 13
ath3: HAL channel 26/27 freq 2484 flags 0xa0 idx 14
ath_desc_alloc: DMA map: 0xcdf8f000 (22924) -> 0x38b2000 (22924)
ath3: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath3: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
uhub5 at uhub4 port 2
uhub5: Intel product 0x1120, class 9/0, rev 1.10/0.00, addr 2
uhub5: 4 ports with 4 removable, self powered
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: Tangtop USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1
uhidev1: Tangtop USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
wd0 at atabus0 drive 0: <Maxtor 6Y160P0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 152 GB, 317632 cyl, 16 head, 63 sec, 512 bytes/sect x 320173056 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd2 at atabus1 drive 0: <Maxtor 6Y160P0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 152 GB, 317632 cyl, 16 head, 63 sec, 512 bytes/sect x 320173056 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd2g: error reading fsbn 32 of 32-33 (wd2 bn 129346592; cn 128320 tn 0 sn 32), retrying
wd2: (uncorrectable data error)
wd2g: error reading fsbn 32 of 32-33 (wd2 bn 129346592; cn 128320 tn 0 sn 32), retrying
wd2: (uncorrectable data error)
wd2g: error reading fsbn 32 of 32-33 (wd2 bn 129346592; cn 128320 tn 0 sn 32), retrying
wd2: (uncorrectable data error)
wd2g: error reading fsbn 32 of 32-33 (wd2 bn 129346592; cn 128320 tn 0 sn 32), retrying
wd2: (uncorrectable data error)
wd2g: error reading fsbn 33 of 32-33 (wd2 bn 129346593; cn 128320 tn 0 sn 33), retrying
wd2: (uncorrectable data error)
wd2g: error reading fsbn 33 of 32-33 (wd2 bn 129346593; cn 128320 tn 0 sn 33)wd2: (uncorrectable data error)

raid0: RAID Level 1
raid0: Components: /dev/wd0e /dev/wd2e
raid0: Total Sectors: 46001024 (22461 MB)
boot device: raid0
root on raid0a dumps on wd0b
root file system type: ffs
raid0: Device already configured!
raid1: Component /dev/wd0f being configured at col: 0
         Column: 0 Num Columns: 2
         Version: 2 Serial Number: 60111 Mod Counter: 3150
         Clean: Yes Status: 0
raid1: Component /dev/wd2f being configured at col: 1
         Column: 1 Num Columns: 2
         Version: 2 Serial Number: 60111 Mod Counter: 3150
         Clean: Yes Status: 0
raid1: RAID Level 0
raid1: Components: /dev/wd0f /dev/wd2f
raid1: Total Sectors: 129755520 (63357 MB)
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)
lfs_mountfs: please consider increasing BUFPAGES to at least 0
nfs_send: proc botch: rep 0x0 arg 0x0 curproc 0xd14f4004

>How-To-Repeat:

	Place two "ath" cards with different domain/country codes in the
same machine and boot a kernel which contains the "ath" driver.
>Fix:
	I have been told that Sam recently change the country code variable
to be "per instance" in the FreeBSD sources;  This would prevent part of this
problem -- The regulatory domain probably should remain global (though I can
still envision someone on the France/German border with 2 sector antennas and
two radios).

>Release-Note:
>Audit-Trail:
>Unformatted:
 	When a machine contains multiple cards which different country codes,
 the first non-zero code overides any crads config'd (or inserted) later.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.