qemu devd complains about qemu cd0

Hello,

I’m running FreeBSD 15.1-RELEASE on a VPS at netcup. It works OK, but every 5 3 seconds, these lines appear in the system logs:

Code:
devd[867]: Processing event '!system=CAM subsystem=periph type=error device=cd0 serial="QM00001" cam_status="0x4cc" scsi_status=2 scsi_sense="70 02 3a 00" CDB="00 00 00 00 00 00 " '
devd[867]: Pushing table
devd[867]: Processing notify event
devd[867]: Popping table

cd0 is emulated by QEmu :

Code:
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <QEMU QEMU DVD-ROM 2.5+> Removable CD-ROM SCSI device
cd0: Serial Number QM00001
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present

Is there a way to make this quiet?
 
i run 14.4 and

Code:
Aug 25 22:57:06 z kernel: cd0 at ata1 bus 0 scbus1 target 0 lun 0
Aug 25 22:57:06 z kernel: cd0: <QEMU QEMU DVD-ROM 2.5+> Removable CD-ROM SCSI device
Aug 25 22:57:06 z kernel: cd0: Serial Number QM00003
Aug 25 22:57:06 z kernel: cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
Aug 25 22:57:06 z kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
only does it during boot
do you have some image "loaded" in the cd drive ?
if so, eject it and try again
 
It’s 4 lines every 3 seconds, 24/7.
Unfortunately Netcup does not provide a way to eject/unload images or even check if one is hooked. I cannot disable the virtual DVD-ROM in the VPS config.
 
you can change media
The DVD "FreeBSD-14.4-RELEASE-amd64-disc1_20260413.iso" is currently inserted.
from the server control panel at https://www.servercontrolpanel.de/


cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <QEMU QEMU DVD-ROM 2.5+> Removable CD-ROM SCSI device
cd0: Serial Number QM00003
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: 1234MB (632177 2048 byte sectors)
 
ata devs look like this
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc1e0-0xc1ef at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
cd0 at ata1 bus 0 scbus1 target 0 lun 0

i would disable atapci with a hint like hint.atapci.0.disabled="1" if everything else fails
 
Back
Top