NetBSD-Bugs archive

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

Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)



The following reply was made to PR kern/52126; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)
Date: Fri, 4 Sep 2020 16:07:12 +0100

 Retrying with NetBSD-9.99.72/amd64, I now see no panics nor lost interrupts,
 but simple a hang on boot. Sending break down the serial line doesn't
 get me into ddb. Apart from GENERIC, I also tried:
 
   include "arch/amd64/conf/GENERIC"
   options         DEBUG
   options         LOCKDEBUG
   options         ATADEBUG
   options         ATADEBUG_MASK=0x58
   options         MVSATA_DEBUG
   options         WDCNDELAY_DEBUG=50
   #options        MVSATA_WITHOUTDMA
 
 highlights of which are:
 
 [   1.0405006] ppb4 at pci1 dev 0 function 3: Intel 63xxESB PCI Express to PCI-X Bridge (rev. 0x01)
 [   1.0405006] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 [   1.0405006] pci5 at ppb4 bus 5
 [   1.0405006] mvsata0 at pci5 dev 1 function 0: Marvell 88SX6081 SATA II (rev. 0x09)
 [   1.0405006] mvsata0: interrupting at ioapic1 pin 1
 [   1.0405006] mvsata0: GenII, 2hc, 4port/hc
 [   1.0405006] atabus0 at mvsata0 channel 0
 [   1.0405006] atabus1 at mvsata0 channel 1
 [   1.0405006] atabus2 at mvsata0 channel 2
 [   1.0405006] atabus3 at mvsata0 channel 3
 [   1.0405006] atabus4 at mvsata0 channel 4
 [   1.0405006] atabus5 at mvsata0 channel 5
 [   1.0405006] atabus6 at mvsata0 channel 6
 [   1.0405006] atabus7 at mvsata0 channel 7
 [   1.0405006] mvsata1 at pci5 dev 2 function 0: Marvell 88SX6081 SATA II (rev. 0x09)
 [   1.0405006] mvsata1: interrupting at ioapic1 pin 2
 [   1.0405006] mvsata1: GenII, 2hc, 4port/hc
 [   1.0405006] atabus8 at mvsata1 channel 0
 [   1.0405006] atabus9 at mvsata1 channel 1
 [   1.0405006] atabus10 at mvsata1 channel 2
 [   1.0405006] atabus11 at mvsata1 channel 3
 [   1.0405006] atabus12 at mvsata1 channel 4
 [   1.0405006] atabus13 at mvsata1 channel 5
 [   1.0405006] atabus14 at mvsata1 channel 6
 [   1.0405006] atabus15 at mvsata1 channel 7
 ...
 [   1.0405006] piixide0 at pci0 dev 31 function 1: Intel 631xESB/632xESB IDE Controller (rev. 0x09)
 [   1.0405006] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0405006] atabus16 at piixide0 channel 0
 [   1.0405006] piixide0: secondary channel interrupting at ioapic0 pin 15
 [   1.0405006] atabus17 at piixide0 channel 1
 [   1.0405006] ahcisata0 at pci0 dev 31 function 2: Intel 63xxESB AHCI Serial ATA Controller (rev. 0x09)
 [   1.0405006] ahcisata0: AHCI revision 1.10, 6 ports, 32 slots, CAP 0xc6227f05<PSC,SSC,SPM,ISS=0x2=Gen2,SAL,SALP,SNCQ,S64A>
 [   1.0405006] ahcisata0: interrupting at ioapic0 pin 20
 [   1.0405006] atabus18 at ahcisata0 channel 0
 [   1.0405006] atabus19 at ahcisata0 channel 1
 [   1.0405006] atabus20 at ahcisata0 channel 2
 [   1.0405006] atabus21 at ahcisata0 channel 3
 [   1.0405006] atabus22 at ahcisata0 channel 4
 [   1.0405006] atabus23 at ahcisata0 channel 5
 ...
 [   2.6746267] wdcprobe1:0: before reset, st0=0x50, st1=0x1
 [   2.6746267] wdcprobe1:0 drive 1 wd_cyl_lo: got 0x0 != 0x02
 [   2.6746267] wdcprobe1:0 drive 1 wd_cyl_lo: got 0x0 != 0x01
 [   2.6746267] wdcprobe1:0 drive 1 wd_sector: got 0x41 != 0x01
 [   2.6746267] wdcprobe1:0 drive 1 wd_sector: got 0x42 != 0x02
 [   2.6746267] wdcprobe1:0 drive 1 wd_cyl_lo(2): got 0x0 != 0x01
 ...
 [   2.7646198] wdcprobe1:1: before reset, st0=0x7f, st1=0x7f
 [   2.7646198] wdcprobe1:1 drive 0 wd_cyl_lo: got 0x7f != 0x02
 [   2.7646198] wdcprobe1:1 drive 0 wd_cyl_lo: got 0x7f != 0x01
 [   2.7646198] wdcprobe1:1 drive 0 wd_sector: got 0x7f != 0x01
 [   2.7646198] wdcprobe1:1 drive 0 wd_sector: got 0x7f != 0x02
 [   2.7646198] wdcprobe1:1 drive 0 wd_cyl_lo(2): got 0x7f != 0x01
 [   2.7646198] wdcprobe1:1 drive 1 wd_cyl_lo: got 0x7f != 0x02
 [   2.7646198] wdcprobe1:1 drive 1 wd_cyl_lo: got 0x7f != 0x01
 [   2.7646198] wdcprobe1:1 drive 1 wd_sector: got 0x7f != 0x01
 [   2.7646198] wdcprobe1:1 drive 1 wd_sector: got 0x7f != 0x02
 [   2.7646198] wdcprobe1:1 drive 1 wd_cyl_lo(2): got 0x7f != 0x01
 [   2.8259235] ata_queue_alloc_slot: channel 0 qavail 0xffffffff qact 0ata_queue_alloc_slot: channel 1 qavail 0xffffffff qact 0ata_queue_alloc_slot: channel 2 qavail 0xffffffff qact 0ata_queue_alloc_slot: channel 3 qavail 0xffffffff qact 0ata_queue_alloc_slot: channel 4 qavail 0xffffffff qact 0ata_queue_alloc_slot: channel 5 qavail 0xffffffff qact 0piixide0:0:0: after reset, sc=0x1 sn=0x1 cl=0x14 ch=0xeb
 [   2.8646197] piixide0:0:1: after reset, sc=0x0 sn=0x0 cl=0x0 ch=0x0
 [   2.8746188] piixide0:0: wdcwait_reset() end, st0=0x10 st1=0x0
 [   2.8846202] wdcprobe1:0: after reset, ret_value=0x1
 [   2.8846202] wdcprobe1:0:0: after reset, sc=0x1 sn=0x1 cl=0x14 ch=0xeb
 [   2.8946223] piixide0:0: wait DRDY st0 0x0 st1 0x0
 [   2.9046198] ata_get_params
 [   2.9046198] wdc_exec_command piixide0:0:0
 [   2.9046198] ata_exec_xfer 0xffffd69369140038 channel 0 drive 0
 [   2.9146204] atastart from ata_exec_xfer, flags 0x0
 [   2.9146204] ata_queue_alloc_slot: channel 0 qavail 0x1 qact 0atastart(chp=0xffffdb801f8421e0): xfer 0xffffd69369140038 channel 0 drive 0
 [   2.9346199] __wdccommand_start piixidead=160 sector=0 count=0 features=0
 [   2.9446209] __wdcwait: timeout (time=11), status 90 error 1 (mask 0x8 bits 0x8)
 [   2.9546198] __wdccommand_done piixide0:0:0 flags 0x59
 [   2.9546198] atastart(chp=0xffffdb801f8421e0): channel 0 queue_xfer is empty
 [6182] ahcisata0 port 0: device present, speed: 1.5Gb/s
 [   3.9846181] wd0 at atabus12 drive 0
 [   3.9846181] ata_get_params
 [   3.9846181] ata_exec_xfer 0xffffd69369140038 channel 4 drive 0
 [   3.9946226] atastart from ata_exec_xfer, flags 0x0
 [   3.99462_xfer is empty
 [   4.0246200] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.0377748] wd0: <ST3500630AS>
 [   4.0377748] wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
 [   4.0446210] ata_get_params
 [   4hannel 4 drive 0
 [   4.0746204] wdccommand mvsata1:4:0: command=0xec cylin=0 head=0 sector=0 count=0 features=0
 [   4.0746204] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.0846209] atastart(chp=0xffffd6902bc37008): channel 4 queue channel 4 drive 0
 [   4.1146206] ata_channel_freeze_locked(chp=0xffffd6902bc37008) -> 1
 [   4.1246206] ata_channel_thaw_locked(chp=0xffffd6902bc37008) -> 0
 [   4.1246206] wdccommandshort mvsata1:4:0 command 0x10
 [   4.1246206] __wdcwait: did busy-wait, ts=0
 [   4.1636341] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.1705662] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.1775598] ata_exec_xfer 0xffffd69369140038 channel 4 drive 0
 [   4.1775598] atastart frotor=0 count=3 features=0
 [   4.1881314] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.2162904] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.2162904] ata_exec_xfer 0xffffd69369140038 channel 4 drive 0
 [   4. sector=64 count=1 features=0
 [   4.2349051] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.2631482] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [   4.2701319] ata_exec_xfer 0xffffd69369140038 channel 4 drive 0
 [and=0xc4 cylin=0 head=64 sector=0 count=32 features=0
 [   4.2759362] atastart(chp=0xffffd6902bc37008): channel 4 queue_xfer is empty
 [  25.8046209] ipmi0: ID 32.1 IPMI 2.0 Available
 hang and no ddb
 


Home | Main Index | Thread Index | Old Index