NetBSD-Bugs archive

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

kern/38749: ACPI doesn't work on MSI RS480, and interrupt problems



>Number:         38749
>Category:       kern
>Synopsis:       ACPI doesn't work on MSI RS480, and interrupt problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 19:50:00 +0000 2008
>Originator:     Tobias Nygren
>Release:        4.99.63
>Organization:
>Environment:
NetBSD ixp.int.nygren.pp.se 4.99.63 NetBSD 4.99.63 (GENERIC.ixp) #2: Wed May 21 
17:03:05 CEST 2008  
tnn%ixp.int.nygren.pp.se@localhost:/work/obj/sys/arch/amd64/compile/GENERIC.ixp 
amd64
>Description:
When booting NetBSD on this 2-3 year old motherboard, no onboard devices (USB, 
IDE, LAN nor audio) appear to generate interrupts. The boot stalls on probing 
wd0.

The board has three PCI slots. Cards in those slots generate interrupts.
I can netboot from an addon NIC with ACPI enabled.

With ACPI disabled the SATA and ohci work. But auixp, ehci and rtk0 are still 
dead. rtk0 says watchdog timeout.

You can see from the dmesg that rtk0 onboard and skc0 in pci slot appear to 
share ioapic pin 5. The skc works fine.

dmesg with ACPI disabled:

NetBSD 4.99.63 (GENERIC.ixp) #2: Wed May 21 17:03:05 CEST 2008
        
tnn%ixp.int.nygren.pp.se@localhost:/work/obj/sys/arch/amd64/compile/GENERIC.ixp
total memory = 2046 MB
avail memory = 1966 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable acpi
[369] acpi0 disabled
uc> quit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xf0000 (42 entries)
    ( )
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0 apid 0: AMD 686-class, 1790MHz, id 0x10ff0
cpu0: AMD Cool`n'Quiet Technology 1800 MHz
cpu0: available frequencies (Mhz): 1000 1800
cpu0: WARNING: errata present, BIOS upgrade may be
cpu0: WARNING: necessary to ensure reliable operation
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type ISA
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 21, 24 pins
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 0x1002 product 0x5950 (rev. 0x00)
ppb0 at pci0 dev 2 function 0: vendor 0x1002 product 0x5a34 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x71c2 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x1002 product 0x71e2 (miscellaneous display) at pci1 dev 0 function 1 
not configured
ixpide0 at pci0 dev 17 function 0
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
pci_intr_map: bus 0 dev 17 func 0 pin 1; line 10
pci_intr_map: no MP mapping found
ixpide0: using irq 10 for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
ixpide1 at pci0 dev 18 function 0
ixpide1: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide1: bus-master DMA support present
ixpide1: primary channel configured to native-PCI mode
pci_intr_map: bus 0 dev 18 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
ixpide1: using irq 11 for native-PCI interrupt
atabus2 at ixpide1 channel 0
ixpide1: secondary channel configured to native-PCI mode
atabus3 at ixpide1 channel 1
ohci0 at pci0 dev 19 function 0: vendor 0x1002 product 0x4374 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 19
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 19 function 1: vendor 0x1002 product 0x4375 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 19
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 19 function 2: vendor 0x1002 product 0x4373 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 19
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
piixpm0 at pci0 dev 20 function 0
piixpm0: vendor 0x1002 product 0x4372 (rev. 0x04)
piixpm0: interrupting at SMI
iic0 at piixpm0: I2C bus
ixpide2 at pci0 dev 20 function 1
ixpide2: ATI Technologies IXP IDE Controller (rev. 0x00)
ixpide2: bus-master DMA support present
ixpide2: primary channel configured to compatibility mode
ixpide2: primary channel interrupting at ioapic0 pin 14
atabus4 at ixpide2 channel 0
ixpide2: secondary channel configured to compatibility mode
ixpide2: secondary channel interrupting at ioapic0 pin 15
atabus5 at ixpide2 channel 1
pcib0 at pci0 dev 20 function 3
pcib0: vendor 0x1002 product 0x4377 (rev. 0x00)
ppb1 at pci0 dev 20 function 4: vendor 0x1002 product 0x4371 (rev. 0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
skc0 at pci2 dev 0 function 0: ioapic0 pin 5
skc0: interrupt moderation is 0 us
skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
sk0 at skc0 port A: Ethernet address 00:19:5b:2f:15:41
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
rtk0 at pci2 dev 3 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic0 pin 5
rtk0: Ethernet address 00:11:09:bc:7b:27
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
auixp0 at pci0 dev 20 function 5: vendor 0x1002 product 0x4370 (rev. 0x00)
auixp0: interrupting at ioapic0 pin 17
auixp0: soft resetting aclink
pchb1 at pci0 dev 24 function 0
pchb1: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: vendor 0x1022 product 0x1102 (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: vendor 0x1022 product 0x1103 (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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)
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
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auixp0: ac97: Avance Logic ALC658 codec; 20 bit DAC, 18 bit ADC, no 3D stereo
auixp0: ac97: ext id 9c7<AC97_23,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
audio0 at auixp0: full duplex, mmap, independent
auixp0: codec spdif support detected but disabled for now
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
uhub2 at usb2: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
WARNING: module error: builtin module `drm' failed to init
umass0 at uhub2 port 2 configuration 1 interface 0
umass0: TTI-MSA USB 2.0 Memory Adapter, rev 2.00/1.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: <USB 2.0, Memory Adapter, > disk removable
sd0: fabricating a geometry
sd0: 123 MB, 123 cyl, 64 head, 32 sec, 512 bytes/sect x 251904 sectors
sd0: fabricating a geometry
wd0 at atabus2 drive 0: <HTS541040G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ixpide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (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
skc0: interrupt moderation is 1000 us
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)
nfs: debug: enabling nocto
nfs: debug: enabling nocto
nfs: debug: enabling nocto
nfs: debug: enabling nocto

>How-To-Repeat:
boot, try to use onboard devices.

>Fix:
Workaround:
boot -c
disable acpi



Home | Main Index | Thread Index | Old Index