Current-Users archive

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

Re: Another ACPI interrupt patch for testing



joerg%britannica.bec.de@localhost wrote:

> On Sat, May 31, 2008 at 11:41:00PM +0900, Izumi Tsutsui wrote:
> > A bit differnt problem, but ACPI kernel on my Abit KT7A motherboard
> > (with VIA VT8363A + VT82C686B) always refuses to use
> > irq 9 as following:
> 
> Try MPVERBOSE. It should tell you what the BIOS allows as values.

Here it is (BTW, #options MPVERBOSE should be in GENERIC?):

---
NetBSD 4.99.63 (TEST) #1: Sun Jun  1 10:34:09 JST 2008
        tsutsui@mirage:/usr/src/sys/arch/i386/compile/TEST
total memory = 767 MB
avail memory = 741 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
VIA Technologies, Inc. VT8363 ( )
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
cpu0 at mainbus0: AMD 686-class, 1300MHz, id 0x671
cpu0: idle lwp at 0xcaf07be0, idle sp at 0xcaefcd28
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <VT8371,AWRDACPI,42302e31>, AslId <AWRD,00000000>
mpacpi: could not get bus number, assuming bus 0
mpacpi: found root PCI bus 0 at level 1
mpacpi: 1 PCI busses
mpacpi: configuring PCI bus 0 int routing
LNKA: ACPI: Found matching pin for 0.17.INTA at func 0: 10
LNKB: ACPI: Found matching pin for 0.15.INTA at func 0: 5
LNKD: ACPI: Found matching pin for 0.15.INTB at func 1: 9
LNKD: BIOS IRQ 9 for 0.15.INTB is invalid
LNKC: ACPI: Found matching pin for 0.15.INTC at func 2: 11
LNKB: ACPI: Found matching pin for 0.13.INTA at func 0: 5
LNKC: ACPI: Found matching pin for 0.19.INTA at func 0: 11
LNKD: ACPI: Found matching pin for 0.7.INTD at func 2: 9
LNKD: BIOS IRQ 9 for 0.7.INTD is invalid
pic0: pin 0 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
pic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
linkdev LNKA attached to pci0 device 17 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 17 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 17 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 17 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 15 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 15 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 15 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 15 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 13 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 13 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 13 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 13 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 11 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 11 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 11 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 11 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 9 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 9 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 9 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 9 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 8 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 8 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 8 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 8 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 19 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 19 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 19 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 19 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 7 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 7 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 7 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 7 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKA attached to pci0 device 1 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKB attached to pci0 device 1 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKC attached to pci0 device 1 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev LNKD attached to pci0 device 1 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
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
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
UAR2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
ECP1 (PNP0401) [ECP printer port] at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13): aux port
pckbc1: irq 12
pckbc2 at acpi0 (PS2K, PNP0303): kbd port
pckbc2: io 0x60,0x64 irq 1
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1mainbus0: added to list as bus 0

pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8363 (Apollo KT133) Host Bridge (rev. 0x03)
agp0 at pchb0 (v2): aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8363 (Apollo KT133) PCI to 
AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1ppb0: added to list as bus 1

pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x82)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A PCI-ISA Bridge (rev. 0x40)
viaide0 at pci0 dev 7 function 1
viaide0: VIA Technologies VT82C686A (Apollo KX133) ATA100 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 
0x16)
LNKD: Picked IRQ 5 with weight 9
linkdev LNKD returned ACPI global irq 5, line 5
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 
0x16)
linkdev LNKD returned ACPI global irq 5, line 5
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
VIA Technologies VT82C686A SMBus Controller (miscellaneous bridge, revision 
0x40) at pci0 dev 7 function 4 not configured
ppb1 at pci0 dev 11 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 
0x05)
pci2 at ppb1 bus 2ppb1: added to list as bus 2

pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ex0 at pci2 dev 4 function 0: 3Com 3c980C-TXM 10/100 Ethernet (rev. 0x78)
linkdev LNKD returned ACPI global irq 5, line 5
ex0: interrupting at irq 5
ex0: MAC address 00:01:03:ce:74:48
bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex1 at pci2 dev 5 function 0: 3Com 3c980C-TXM 10/100 Ethernet (rev. 0x78)
linkdev LNKA returned ACPI global irq 10, line 10
ex1: interrupting at irq 10
ex1: MAC address 00:01:03:ce:74:49
bmtphy1 at ex1 phy 24: Broadcom 3c905C internal PHY, rev. 7
bmtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bge0 at pci0 dev 13 function 0: Broadcom BCM5705 Gigabit Ethernet
linkdev LNKB returned ACPI global irq 5, line 5
bge0: interrupting at irq 5
bge0: ASIC BCM5705 A1 (0x3001), Ethernet address 00:04:2e:01:a2:77
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
uhci2 at pci0 dev 15 function 0: VIA Technologies VT83C572 USB Controller (rev. 
0x61)
linkdev LNKB returned ACPI global irq 5, line 5
uhci2: interrupting at irq 5
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 15 function 1: VIA Technologies VT83C572 USB Controller (rev. 
0x61)
linkdev LNKD returned ACPI global irq 5, line 5
uhci3: interrupting at irq 5
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 15 function 2: VIA Technologies VT8237 EHCI USB Controller 
(rev. 0x63)
linkdev LNKC returned ACPI global irq 11, line 11
ehci0: interrupting at irq 11
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci2 uhci3
usb4 at ehci0: USB revision 2.0
fwohci0 at pci0 dev 15 function 3: VIA Technologies VT6306 IEEE 1394 Host 
Controller (rev. 0x46)
linkdev LNKB returned ACPI global irq 5, line 5
fwohci0: interrupting at irq 5
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:01:08:00:37:02:79:4f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 1024 bytes.
fwohci0: max_rec 1024 -> 2048
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
vge0 at pci0 dev 15 function 4: VIA VT612X Gigabit Ethernet (rev. 0x11)
linkdev LNKB returned ACPI global irq 5, line 5
vge0: interrupting at irq 5
vge0: Ethernet address: 00:01:08:00:b1:71
ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
yds0 at pci0 dev 17 function 0: Yamaha 744 (DS-1S) Audio (rev. 0x02)
linkdev LNKA returned ACPI global irq 10, line 10
yds0: interrupting at irq 10
yds0: ac97: SigmaTel STAC9708 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
yds0: ac97: ext id 80<SDAC>
audio0 at yds0: full duplex, mmap, independent
hptide0 at pci0 dev 19 function 0
hptide0: Triones/Highpoint HPT370 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
linkdev LNKC returned ACPI global irq 11, line 11
hptide0: using irq 11 for native-PCI interrupt
atabus2 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus3 at hptide0 channel 1
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
opl0 at yds0: model OPL3
midi1 at opl0: DS-1 integrated Yamaha OPL3 (CPU-intensive output)
mpu0 at yds0
midi2 at mpu0: Yamaha DS-1 MIDI UART (CPU-intensive output)
Link Device LNKA:
Index  IRQ  Rtd  Ref  IRQs
    0   10   Y     9  1 3 4 5 6 7 10 11 12 14 15 polarity 1 trigger 0

Link Device LNKB:
Index  IRQ  Rtd  Ref  IRQs
    0    5   Y     9  1 3 4 5 6 7 10 11 12 14 15 polarity 1 trigger 0

Link Device LNKC:
Index  IRQ  Rtd  Ref  IRQs
    0   11   Y    10  1 3 4 5 6 7 10 11 12 14 15 polarity 1 trigger 0

Link Device LNKD:
Index  IRQ  Rtd  Ref  IRQs
    0    5   Y     8  1 3 4 5 6 7 10 11 12 14 15 polarity 1 trigger 0

fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: VIA Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 4 ports with 4 removable, self powered
wd0 at atabus0 drive 0: <WDC WD400BB-00FJA0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 1: <SONY    CD-RW  CRX160E, , 1.0g> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
---

> It happens regulary that the BIOS is setting up values it doesn't
> allow...

Hmm, bogus BIOS problem? Then no problem. Thanks,
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index