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: Mon, 23 Dec 2019 12:06:21 +0000

 From Frank & Michael's comments it sounds as though the spinout is a
 secondary symptom of the "lost interrupt"s? This is with mvsata.c v1.51
 
 - example of early lost interrupt:
 
 [   3.6618488] ata_queue_alloc_slot: channel 4 qavail 0xffffffff qact 0atastart(chp=0xffff893d7986e010): xfer 0xffff893d79c2c038 channel 4 drive 0
 [   3.6618488] mvsata1:4: mvsata_bio_start: drive=0 wait_flags=0
 [   3.6618488] wdccommand mvsata1:4:0: command=0xc4 cylin=0 head=64 sector=0 count=32 features=0
 [   3.6618488] atastart(chp=0xffff893d7986e010): channel 4 queue_xfer is empty
 [  13.7050587] wdctimeout
 mvsata1:4:0: lost interrupt
 [  13.7050587]  type: ata tc_bcount: 16384 tc_skip: 0
 
 
 - the spinout with wait_flags (apparently not polling):
 
 [ 135.6760828] ata_exec_xfer 0xffff893d79c2c038 channel 1 drive 0
 [ 135.6760828] atastart from ata_exec_xfer, flags 0x800
 [ 135.6760828] ata_queue_alloc_slot: channel 1 qavail 0xffffffff qact 0atastart(chp=0xffffa0801edffa20): xfer 0xffff893d79c2c038 channel 1 drive 0
 [ 135.6760828] atastart(chp=0xffffa0801edffa20): channel 1 queue_xfer is empty
 [ 135.7134179] atastart(chp=0xffffa0801edffa20): channel 1 queue_xfer is empty
 [ 135.7134179] mvsata1:4: mvsata_bio: drive=0, blkno=0, bcount=512
 [ 135.7134179] ata_exec_xfer 0xffff893d79c2c038 channel 4 drive 0
 [ 135.7134179] atastart from ata_exec_xfer, flags 0x0
 [ 135.7134179] ata_queue_alloc_slot: channel 4 qavail 0xffffffff qact 0atastart(chp=0xffff893d7986e010): xfer 0xffff893d79c2c038 channel 4 drive 0
 [ 135.7134179] mvsata1:4: mvsata_bio_start: drive=0 wait_flags=0
 [ 135.7134179] ata_channel_freeze_locked(chp=0xffff893d7986e010) -> 1
 [ 135.7633699] ata_channel_thaw_locked(chp=0xffff893d7986e010) -> 0
 [ 135.7634379] mvsata1:4: mvsata_bio_start: drive=0 wait_flags=0
 [ 137.5141317] Kernel lock error: _kernel_lock,222: spinout
 


Home | Main Index | Thread Index | Old Index