Current-Users archive

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

Re: satalink at cardbus



OK, I've found something a little disturbing: when the card is
inserted after the system boots up, everything is fine. If the card
is present at boot time, however, I get an NMI and a drop into the
debugger. If I continue, then everything works as mostly normal - but
there's sometimes a hang during reboot.

Sounds like the interrupts are wrong somewhere?

here's the dmesg:
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 4.99.72 (BOO) #0: Wed Aug  6 20:50:06 JST 2008
        dogcow@:/crap/obj/obj/usr/src/sys/arch/i386/compile/BOO
total memory = 511 MB
avail memory = 497 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Hewlett-Packard HP Compaq nc6000 (DQ880A#ABA)    (F.15                      )
mainbus0 (root)
cpu0 at mainbus0: Intel 686-class, 1594MHz, id 0x695
cpu0: Enhanced SpeedStep (1484 mV) 1600 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 1600 1400 1200 1000 800 
600
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <HP    ,HP0890  ,30080620>, AslId <CPQ ,00000001>
C0C1: ACPI: Found matching pin for 0.29.INTA at func 0: 10
C0C4: ACPI: Found matching pin for 0.29.INTB at func 1: 10
C0C3: ACPI: Found matching pin for 0.29.INTC at func 2: 10
C0C8: ACPI: Found matching pin for 0.29.INTD at func 7: 10
C0C3: ACPI: Found matching pin for 0.31.INTA at func 1: 10
C0C2: ACPI: Found matching pin for 0.31.INTB at func 5: 11
C0C1: ACPI: Found matching pin for 1.0.INTA at func 0: 10
C0C6: ACPI: Found matching pin for 2.4.INTA at func 0: 11
C0C3: ACPI: Found matching pin for 2.6.INTA at func 0: 10
C0C5: ACPI: Found matching pin for 2.14.INTA at func 0: 11
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpiec0 at acpi0 (C0E7, PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
C169 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
C16E (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
C183 (SMCF010) at acpi0 not configured
C185 (PNP0401) [ECP printer port] at acpi0 not configured
npx1 at acpi0 (C18E, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
attimer1 at acpi0 (C18F, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pcppi1 at acpi0 (C190, PNP0800)
pcppi1: io 0x61
sysbeep0 at pcppi1
pckbc1 at acpi0 (C192, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (C193, SYN0108): aux port
pckbc2: irq 12
C197 (IFX0101) at acpi0 not configured
acpibat0 at acpi0 (C137, PNP0C0A-1): ACPI Battery (Control Method)
acpibat0: battery info: Hewlett-Packard, LIon, Primary 06229 2004/04/14
acpibat1 at acpi0 (C136, PNP0C0A-2): ACPI Battery (Control Method)
acpiacad0 at acpi0 (C134, ACPI0003): ACPI AC Adapter
acpibut0 at acpi0 (C139, PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (C138, PNP0C0D): ACPI Lid Switch
C1B9 (PNP0C14) at acpi0 not configured
C20F (PNP0C0B) [ACPI Fan] at acpi0 not configured
C210 (PNP0C0B) [ACPI Fan] at acpi0 not configured
C211 (PNP0C0B) [ACPI Fan] at acpi0 not configured
C212 (PNP0C0B) [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (TZ1): active cooling level 0: 75.0C active cooling level 1: 
60.0C active cooling level 2: 50.0C active cooling level 3: 40.0C critical 
103.0C passive 58.0C
acpitz1 at acpi0 (TZ2): critical 115.0C, passive cooling
acpitz2 at acpi0 (TZ3): critical 103.0C passive 29.2C, passive cooling
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 5.9
pms0: Palm detect, Multi-finger
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: vendor 0x8086 product 0x3340 (rev. 0x03)
agp0 at pchb0: aperture at 0xb0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x3341 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x4e50 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x24c2 (rev. 0x03)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x24c4 (rev. 0x03)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x24c7 (rev. 0x03)
uhci2: interrupting at irq 10
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x24cd (rev. 0x03)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
ppb1 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0x83)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
vendor 0x168c product 0x0013 (ethernet network, revision 0x01) at pci2 dev 4 
function 0 not configured
cbb0 at pci2 dev 6 function 0: vendor 0x1217 product 0x7223 (rev. 0x00)
cbb1 at pci2 dev 6 function 1: vendor 0x1217 product 0x7223 (rev. 0x00)
vendor 0x1217 product 0x7110 (miscellaneous system) at pci2 dev 6 function 2 
not configured
cbb2 at pci2 dev 6 function 3: vendor 0x1217 product 0x7223 (rev. 0x00)
bge0 at pci2 dev 14 function 0: Broadcom BCM5705M Gigabit Ethernet
bge0: interrupting at irq 11
bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:08:02:e4:6d:8e
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x824000
cbb0: interrupting at irq 10
cardslot0 at cbb0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
cbb1: cacheline 0x0 lattimer 0x40
cbb1: bhlc 0x824000
cbb1: interrupting at irq 10
cardslot1 at cbb1
cardbus1 at cardslot1: bus 4
pcmcia1 at cardslot1
cbb2: cacheline 0x0 lattimer 0x40
cbb2: bhlc 0x824000
cbb2: interrupting at irq 10
cardslot2 at cbb2
cardbus2 at cardslot2: bus 5
pcmcia2 at cardslot2
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x24cc (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
vendor 0x8086 product 0x24c6 (modem communications, revision 0x03) at pci0 dev 
31 function 6 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
satalink0 at cardbus0 function 0
satalink0: Silicon Image SATALink 3512 (rev. 0x01)
satalink0: SATALink BA5 register space enabled
cardbus_mapreg_map called: cardbus0 0
cardbus_mapreg_map: physaddr 40000000
satalink0: bus-master DMA support presentcardbus_mapreg_map called: cardbus0 1
cardbus_mapreg_map: physaddr 4300

satalink0: primary channel wired to native-PCI mode
cardbus_mapreg_map called: cardbus0 1
cardbus_mapreg_map: physaddr 4700
cardbus_mapreg_map called: cardbus0 1
cardbus_mapreg_map: physaddr 4b00
atabus2 at satalink0 channel 0
satalink0: secondary channel wired to native-PCI mode
cardbus_mapreg_map called: cardbus0 1
cardbus_mapreg_map: physaddr 4f00
cardbus_mapreg_map called: cardbus0 1
cardbus_mapreg_map: physaddr 5300
atabus3 at satalink0 channel 1
satalink0: port 0: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <FUJITSU MHV2120AH>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Optiarc DVD RW AD-5540A, , 2.01> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1 at atabus2 drive 0: <ST3750640AS>
wd1: quirks 2<FORCE_LBA48>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 698 GB, 1453521 cyl, 16 head, 63 sec, 512 bytes/sect x 1465149168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
pad: requested 1 units
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
NMI ... going to debugger
Stopped in pid 0.2 (system) at  netbsd:x86_stihlt+0x5:  leave
db{0}> bt
x86_stihlt(ca287be0,0,c0257ed7,ca287be0,0,0,c046e7c8,ca287be0,c0250e00,ca287be0)
 at netbsd:x86_stihlt+0x5
idle_loop(ca287be0,0k,c01002cd,0,c01002cd,0,0,0,0,0) at netbsd:idle_loop+0x176
db{0}> c
boot device: wd0
root on wd0a dumps on wd0b
dump_misc_init: max_paddr = 0x1ffd0000
mountroot: trying ffs...
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11



Home | Main Index | Thread Index | Old Index