NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940 multifunction PCI card
The following reply was made to PR port-alpha/46776; it has been noted by GNATS.
From: Andrius V <vezhlys%gmail.com@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: matthew green <mrg%eterna.com.au@localhost>,
gnats-bugs%netbsd.org@localhost,
port-alpha-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940
multifunction PCI card
Date: Fri, 10 Aug 2012 02:04:25 +0300
Sorry for the late reply.
I was wrong that BETA and current netbsd-6 BETA2 kernel (fetched
sources from cvs) had the same problem. I probably didn't pay
attention that system was crashing at different points. Nevertheless,
the system still crashed during boot (copied dmesg and backtrace
below). I noticed that if I put SCSI card on higher PCI slot than
multifunction card then system boots ok (card is useless anyway but
system works ok). So I don't know if PR is still valid but on NetBSD 5
multifunction card didn't cause the crash on my previous setup
(multifunction card before SCSI card).
dmesg (when crashed)
NetBSD 6.0_BETA2 (GENERIC-$Revision: 1.343 $) #0: Fri Aug 10 00:11:00 EEST 2012
andrius@agraphic2.VIDANDRIUS:/usr/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164 500 MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 239 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 0x1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 0x21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
ahc0 at pci0 dev 6 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at eb164 irq 0
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
vr0 at pci0 dev 7 function 0: VIA Technologies VT6105 (Rhine III) 10/100
Ethern)
vr0: interrupting at eb164 irq 1
vr0: Ethernet address: 00:0d:88:b2:ab:da
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
uhci0 at pci0 dev 9 function 0: VIA Technologies VT83C572 USB Controller (rev.
)
uhci0: interrupting at eb164 irq 3
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 9 function 1: VIA Technologies VT83C572 USB Controller (rev.
)
uhci1: interrupting at eb164 irq 0
uhci1: controller did not reset
uhci1: cannot start
uhci1: init failed, error=13
ehci0 at pci0 dev 9 function 2: VIA Technologies VT8237 EHCI USB Controller
(re)
ehci0: interrupting at eb164 irq 0
ehci0: dropped intr workaround enabled
ehci0: companion controller, 15 ports each: uhci0
ehci0: reset timeout
ehci0: init failed, error=13
viaide0 at pci0 dev 9 function 3: VIA Technologies VT6421 Serial ATA RAID
Contr)
viaide0: I/O access disabled at device
cmdide0 at pci0 dev 11 function 0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
cd0 at atapibus0 drive 1: <HL-DT-ST DVDRAM GSA-4163B, K294CBE5602, A105> cdrom
e
wd0 at atabus0 drive 0
wd0: <FUJITSU MPE3043AE>
wd0: 4132 MB, 8956 cyl, 15 head, 63 sec, 512 bytes/sect x 8464142 sectors
uhci1: host system error
uhci1: host controller process error
uhci1: host controller halted
panic: softint_picklwp
Stopped in pid 0.5 (system) at netbsd:cpu_Debugger+0x4: ret
zero,(ra
)
db> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x4
vpanic() at netbsd:vpanic+0x274
panic() at netbsd:panic+0x54
softint_picklwp() at netbsd:softint_picklwp+0xa0
mi_switch() at netbsd:mi_switch+0x400
softint_thread() at netbsd:softint_thread+0x1a8
exception_return() at netbsd:exception_return
--- root of call graph ---
dmesg then multifunction card is below SCSI card:
NetBSD 6.0_BETA2 (GENERIC-$Revision: 1.343 $) #0: Fri Aug 10 00:11:00 EEST 2012
andrius@agraphic2.VIDANDRIUS:/usr/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164 500 MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 239 MB
timecounter: Timecounters tick every 0.976 msec
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 0x1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 0x21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
uhci0 at pci0 dev 6 function 0: VIA Technologies VT83C572 USB Controller
(rev.x)
uhci0: interrupting at eb164 irq 0
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 6 function 1: VIA Technologies VT83C572 USB Controller
(rev.x)
uhci1: interrupting at eb164 irq 0
uhci1: controller did not reset
uhci1: cannot start
uhci1: init failed, error=13
ehci0 at pci0 dev 6 function 2: VIA Technologies VT8237 EHCI USB Controller
(r.)
ehci0: interrupting at eb164 irq 0
ehci0: dropped intr workaround enabled
ehci0: EHCI version ff.ff
ehci0: wrong number of companions (15 != 1)
ehci0: companion controller, 15 ports each: uhci0
ehci0: reset timeout
ehci0: init failed, error=13
ller (rev. 0x50)
viaide0: I/O access disabled at device
ahc0 at pci0 dev 7 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at eb164 irq 1
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
vr0 at pci0 dev 9 function 0: VIA Technologies VT6105 (Rhine III) 10/100
Ethert)
vr0: interrupting at eb164 irq 3
vr0: Ethernet address: 00:0d:88:b2:ab:da
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cmdide0 at pci0 dev 11 function 0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: bus-master DMA support present
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
timecounter: Timecounter "PCC" frequency 500004480 Hz quality 1000
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
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
emovable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus0 drive 0
wd0: <FUJITSU MPE3043AE>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4132 MB, 8956 cyl, 15 head, 63 sec, 512 bytes/sect x 8464142 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
cd0(cmdide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAN3184MP, 4701> disk fixed
sd0: 17522 MB, 30050 cyl, 2 head, 597 sec, 512 bytes/sect x 35885448 sectors
sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to PIO mode 4
wd0(cmdide0:0:0): using PIO mode 4
cd0(cmdide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
wd0c: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
root on wd0a dumps on wd0b
root file system type: ffs
On Wed, Aug 8, 2012 at 10:22 AM, Martin Husemann
<martin%duskware.de@localhost> wrote:
> On Wed, Aug 08, 2012 at 09:48:41AM +0300, Andrius V wrote:
>> cia_swiz_io_read_2() at netbsd:cia_swiz_io_read_2+0x18
>> uhci_pci_attach() at netbsd:uhci_pci_attach+0x100
>
> Could you add a printf before each of the two calls to
> bus_space_read_2() in src/sys/dev/pci/uhci_pci.c:uhci_pci_attach so we
> know which one of those causes the trap?
>
> Martin
Home |
Main Index |
Thread Index |
Old Index