Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2025 09:13:03 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   Re: Removing USB stick returns EIO now, not ENXIO as 14.x
Message-ID:  <202509230913.58N9D3uY011779@critter.freebsd.dk>

index | next in thread | raw e-mail

--------
Poul-Henning Kamp writes:

> On CURRENT and 15.0-ALPHA2, pulling a USB-stick out returns EIO instead of=
>  ENXIO
>
> Easy way to test:
>
> 	# plug usb-stick in
> 	recoverdisk -v /dev/da0
> 	# pull usb-stick out
>
> On 14.3 we, correctly, get ENXIO and recoverdisk(1) terminates.
>
> On 16.0-CURRENT and 15.0-ALPHA2 we, wrongly, get EIO, despite
> the "umass0: detached" message in /var/log/messages.

Ticket:

	https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289785

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509230913.58N9D3uY011779>