Date: Thu, 30 Jul 2020 14:17:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248368] devd MEDIACHANGE events are delivered unreliably for /dev/cdX devices Message-ID: <bug-248368-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248368 Bug ID: 248368 Summary: devd MEDIACHANGE events are delivered unreliably for /dev/cdX devices Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: arrowd@FreeBSD.org 1. VirtualBox On a VirtualBox VM with a CD-ROM device attached I run: # cat /var/run/devd.pipe | grep cd While it runs, I insert and then eject an ISO image to/from the drive. This yields MEDIACHANGE event only during **ejection**: !system=DEVFS subsystem=CDEV type=MEDIACHANGE cdev=cd0 !system=GEOM subsystem=DEV type=MEDIACHANGE cdev=cd0 2. Real hardware The same test done on real computer and DVD-ROM drive results in MEDIACHANGE events emitted during **insertion** only, and not on ejection. Additionally, devd log is spammed with following errors, not sure if relevant: !system=CAM subsystem=periph type=error device=cd0 serial="K1KH3TA2730" cam_status="0xcc" scsi_status=2 scsi_sense="71 02 3a 02" CDB="00 00 00 00 00 00 " -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248368-227>
