NetBSD-Bugs archive

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

Re: kern/57947: autoconfig errors probing card reader



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

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57947: autoconfig errors probing card reader
Date: Tue, 20 Feb 2024 06:15:51 -0000 (UTC)

 mrg%eterna23.net@localhost (matthew green) writes:
 
 > FWIW, this is not new behaviour.  i see it on some card readers
 > and not others.  some attach the various ports, sometimes as
 > separate sdN devices, sometimes not, at initial probe time, and
 > some only attach the sdN when you insert a card.
 
 
 "drive offline" is a common state for a SCSI device with a removable
 medium and sometimes even for fixed disks.
 
 You could suppress the error message from the wedge scanner for
 error = ENODEV. But a more specific handling of this case is
 to run dkwedge_discover() in sd.c only when the detected state
 is SDGP_RESULT_OK.
 
 You still have to handle the transition from offline to online
 and back manually, with or without wedges.
 


Home | Main Index | Thread Index | Old Index