NetBSD-Bugs archive

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

kern/52605: aceride crashes



>Number:         52605
>Category:       kern
>Synopsis:       aceride crashes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 09 09:30:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.3
>Organization:
The NetBSD Foundation, Inc.
>Environment:

System: NetBSD whoever-brings-the-night.aprisoft.de 8.99.2 NetBSD 8.99.2 (WHOEVER) #162: Fri Sep 15 15:50:54 CEST 2017 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64

>Description:

I have an on-board aceride and a few slightly strange devices on the ATA bus.
Old kernel shows:

aceride0 at pci2 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
aceride0: bus-master DMA support present
aceride0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance
aceride0: primary channel configured to native-PCI mode
aceride0: using ivec 1f98 for native-PCI interrupt
atabus4 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus5 at aceride0 channel 1
[..]
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus5: 2 targets
cd0 at atapibus0 drive 0: <JLMS XJ-HD166S, , D3S4> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus5: 2 targets
cd0 at atapibus0 drive 0: <JLMS XJ-HD166S, , D3S4> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)

After the NCQ merge, device detection fails - that is before the
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
line is printed, I get:

panic: kernel diagnostic assertion "chq->queue_actvie > 0" failed in ....dev/ata/ata.c, line 1589
...
ata_deactivate_xfer+0x120
__wdc_command_done+0x50
__wdccommand_intr+0x1f4
ata_xfer_start+0xa8
atastart+0x234
wdc_exec_command+0xd0
ata_get_params+0xcc
wdc_drvprobe+0x2a0
atabusconfig+0x1e8

(manually transcribed)

This happens before root is mounted, no other processes going on (besides
maybe concurrent probes for other ATA devices).

>How-To-Repeat:
Try to boot -current on a Sun Blade 2500?

>Fix:
n/a

>Unformatted:
 


Home | Main Index | Thread Index | Old Index