NetBSD-Bugs archive

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

Re: kern/16789



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

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/16789
Date: Wed, 24 Oct 2018 22:31:20 +0200

 On Wed, Oct 24, 2018 at 07:55:01PM +0000, Jaromír DoleÄ?ek wrote:
 >  dump to unopened disk fails (e.g. dump do wd1b when wd1a not mounted), due
 >  to the open path executing ata_get_params(), which eventually tsleeps()
 >  while waiting for the command to finish; specifically, if WDF_LOADED is not
 >  set
 >  - happens due to wd_get_params() with just AT_WAIT in wdopen()
 >  - not easy to fix, open needs to read disklabel and all this mechanics
 >    is too much for emergency crash dump code path
 
 Would it be reasonable to open wd1b when it is configured as dump
 device? I assume if it is also a swap device, it works fine?
 
 Joerg
 


Home | Main Index | Thread Index | Old Index