Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PCMCIA wd1a device timeout -- lost interrupt
Hello -- I have a clean install of NetBSD i386 10.1-RELEASE running on a
1998 Toshiba Satellite Pro laptop. I previously had NetBSD 5.1 running.
There is an issue with 10.1 that I didn't see in 5.1 when I use a PCMCIA
NIC and a CF card adapter at the same time (there are 2 PCMCIA sockets).
This is the error:
[ 262.563457] pcmcia1: card irq 9
[ 275.579772] autoconfiguration error: wdc2:0:0: lost interrupt
[ 275.579772] type: ata tc_bcount: 1536 tc_skip: 64000
[ 275.579772] wd1a: device timeout reading fsbn 364733 of
364608-364735 (wd1 bn 366781; cn 179 tn 5 sn 29), xfer f5c, retry 0
If I only use the CF card adapter, e.g. remove or disable the NIC, I
don't see the error. Same for the NIC -- it's works fine without using
the CF adapter.
It seems there is an irq conflict between the 2 PCMCIA sockets? Or
should it be fine if both use the same irq?
Both PCMCIA sockets use irq 9. It's been many years since I dealt with
i386 irq conflicts. I did see this in dmesg:
[ 1.028665] pcic0: controller 0 detecting irqs with mask 0xdeb8:..9
[ 1.038636] pcic0: autoconfiguration error: can't share irq with
cards; polling for socket events
[ 1.038636] autoconfiguration error: pcic0: WARNING:
powerhook_establish is deprecated[ 1.038636] autoconfiguration
error: pcic0: WARNING: powerhook_establish is deprecated
Does the above mean I shouldn't be sharing the same interrupt?
I tried various mask values with options PCIC_ISA_INTR_ALLOC_MASK=mask,
but this didn't help. I disabled FD support in the kernel so irq 6
should be available.
Any guidance appreciated. Otherwise it's been fun to see 10.1 run well
on this old laptop!
Full dmesg below.
Thanks - Joel
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, [ 1.000000] 2004, 2005, 2006, 2007, 2008,
2009, 2010, 2011, 2012, 2013, [ 1.000000] 2014, 2015,
2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [
1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights
reserved. [ 1.000000] Copyright (c) 1982, 1986,
1989, 1991, 1993 [ 1.000000] The
Regents of the University of California. All rights reserved.
[ 1.000000] NetBSD 10.1 (ROCK) #13: Tue Dec 24 15:47:40
PST 2024 [ 1.000000]
joelp@saybrook:/home/joelp/netbsd10.1/obj/sys/arch/i386/compile/ROCK
[ 1.000000] total memory = 81660 KB
[ 1.000000] avail memory = 70032 KB
[ 1.000000]
timecounter: Timecounters tick every 10.000 msec
[ 1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz
quality 100 [ 1.000003] mainbus0 (root)
[ 1.000003] cpu0 at mainbus0
[ 1.000003]
cpu0: Use cpuid to serialize rdtsc
[ 1.000003] cpu0: Intel 586-class, 133MHz, id 0x543
[ 1.000003] cpu0: node 0, package 0, core 0, smt
0 [ 1.000003] pci0 at mainbus0
bus 0: configuration mode 1 [ 1.000003]
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[ 1.000003] pchb0 at pci0 dev 0 function 0: vendor 1179 product
0601 (rev. 0x27) [ 1.000003] vga0 at pci0 dev 4 function 0:
vendor 102c product 00e4 (rev. 0xc2) [ 1.000003] wsdisplay0 at
vga0 kbdmux 1: console (80x25, vt100 emulation) [
1.000003] wsmux1: connecting to wsdisplay0
[ 1.000003] drm at vga0 not configured
[ 1.000003] ohci0 at pci0 dev 11
function 0: vendor 1033 product 0035 (rev. 0x01) [ 1.000003]
ohci0: interrupting at irq 11
[ 1.000003] ohci0: OHCI version 1.0
[ 1.000003] usb0 at ohci0: USB revision 1.0
[ 1.000003] isa0 at mainbus0
[ 1.000003]
lpt0 at isa0 port 0x378-0x37b irq 7
[ 1.000003] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 16-byte
FIFO [ 1.000003] com1 at isa0 port 0x2f8-0x2ff irq 3:
ns16550a, 16-byte FIFO [ 1.000003] pckbc0 at isa0 port
0x60-0x64 [ 1.000003]
pckbd0 at pckbc0 (kbd slot)
[ 1.000003] pckbc0: using irq 1 for kbd slot
[ 1.000003] wskbd0 at pckbd0: console keyboard,
using wsdisplay0 [ 1.000003] pms0 at pckbc0
(aux slot) [
1.000003] pckbc0: using irq 12 for aux slot
[ 1.000003] wsmouse0 at pms0 mux 0
[ 1.000003] attimer0 at isa0 port
0x40-0x43 [ 1.000003] wdc0
at isa0 port 0x1f0-0x1f7 irq 14 [
1.000003] atabus0 at wdc0 channel 0
[ 1.000003] wdc1 at isa0 port 0x170-0x177 irq 15
[ 1.000003] atabus1 at wdc1 channel
0 [ 1.000003] sb0 at
isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01 [
1.000003] audio0 at sb0: playback, capture, half duplex
[ 1.000003] audio0: slinear_le:16 -> ulinear_le:8 2ch
20000Hz, blk 400 bytes (10ms) for playback
[ 1.000003]
audio0: slinear_le:16 <- ulinear_le:8 2ch 20000Hz, blk 400 bytes (10ms)
for recording
[ 1.000003] midi0 at sb0: SB MIDI UART
[ 1.000003] opl0 at sb0: model OPL3
[ 1.000003] midi1 at opl0: SB Yamaha OPL3
[ 1.000003] wss0 at isa0 port 0x530-0x537 irq 10 drq 0,1: CS4231
[ 1.000003] audio1 at wss0: playback, capture, full duplex
[ 1.000003] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for playback
[ 1.000003] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms)
for recording
[ 1.000003] pcppi0 at isa0 port 0x61
[ 1.000003] midi2 at pcppi0: PC speaker
[ 1.000003] sysbeep0 at pcppi0
[ 1.000003] pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
[ 1.000003] pcic0: controller 0 (Intel 82365SL Revision 1) has
sockets A and B
[ 1.000003] pcmcia0 at pcic0 controller 0 socket 0
[ 1.000003] pcmcia1 at pcic0 controller 0 socket 1
[ 1.000003] attimer0: attached to pcppi0
[ 1.012874] timecounter: Timecounter "clockinterrupt" frequency 100
Hz quality 0
[ 1.012874] timecounter: Timecounter "TSC" frequency 132929400 Hz
quality 3000
[ 1.028810] pcic0: controller 0 detecting irqs with mask 0xdeb8:..9
[ 1.038845] pcic0: autoconfiguration error: can't share irq with
cards; polling for socket events
[ 1.038845] autoconfiguration error: pcic0: WARNING:
powerhook_establish is deprecated[ 1.038845] autoconfiguration
error: pcic0: WARNING: powerhook_establish is deprecated[ 1.048787]
uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev
1.00/1.00, addr 1
[ 1.048787] uhub0: 2 ports with 2 removable, self powered
[ 1.527689] ep0 at pcmcia0 function 0: <3Com, Megahertz 574B, B, 001>
[ 1.527689] pcic0: port 0x400-0x41f
[ 1.527689] pcmcia0: card irq 9
[ 1.537692] ep0: address 00:50:04:fd:31:c2, 64KB word-wide FIFO, 1:1
Rx:Tx split
[ 1.547676] tqphy0 at ep0 phy 0: 78Q2120 10/100 media interface, rev. 10
[ 1.547676] tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 2.335886] wdc2 at pcmcia1 function 0: <SanDisk, SDP, 5/3 0.6>
[ 2.335886] pcic0: port 0x420-0x42f
[ 2.335886] wdc2: i/o mapped mode
[ 2.335886] pcmcia1: card irq 9
[ 2.834773] atabus2 at wdc2 channel 0
[ 4.091969] wd0 at atabus0 drive 0
[ 4.091969] wd0: <TS8GCF133>
[ 4.091969] wd0: drive supports 1-sector PIO transfers, LBA addressing
[ 4.091969] wd0: 7647 MB, 15538 cyl, 16 head, 63 sec, 512 bytes/sect
x 15662304 sectors
[ 4.101971] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
mode 4 (Ultra/66)
[ 4.101971] atapibus0 at atabus1: 2 targets
[ 4.111948] cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-1502BN,
1200002133, 1001> cdrom removable
[ 4.111948] cd0: drive supports PIO mode 3, DMA mode 1
[ 4.111948] wd1 at atabus2 drive 0
[ 4.111948] wd1: <SanDisk SDCFH-004G>
[ 4.111948] wd1: drive supports 1-sector PIO transfers, LBA48 addressing
[ 4.111948] wd1: 3815 MB, 7751 cyl, 16 head, 63 sec, 512 bytes/sect
x 7813120 sectors
[ 4.141852] wd1: drive supports PIO mode 4
[ 4.441181] swwdog0: software watchdog initialized
[ 4.441181] WARNING: 3 errors while detecting hardware; check system
log.
[ 4.441181] pcmcia1: card irq 9
[ 4.989957] pcmcia1: card irq 9
[ 5.538736] boot device: wd0
[ 5.538736] root on wd0a dumps on wd0b
[ 5.548734] root file system type: ffs
[ 5.548734] kern.module.path=/stand/i386/10.1/modules
[ 27.878928] pcmcia0: card irq 9
Home |
Main Index |
Thread Index |
Old Index