[Bug 264709] Inappropriate ioctl for /dev/cd0 after upgrade 13.0 -> 13.1
Date: Wed, 22 Jun 2022 06:06:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264709
--- Comment #2 from amahling <andreas.mahling@googlemail.com> ---
Created attachment 234852
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234852&action=edit
truss output for freac
There is no dmesg output related to freac
I suppose, the relevant truss output lines are
fstatat(AT_FDCWD,"/dev/cd0",{ mode=crw-rw---- ,inode=108,size=0,blksize=4096
},0
x0) = 0 (0x0)
readlink("/dev/cd0",0x7fffffffbd80,255) ERR#22 'Invalid argument'
fstatat(AT_FDCWD,"/dev/cd0",{ mode=crw-rw---- ,inode=108,size=0,blksize=4096
},0
x0) = 0 (0x0)
nanosleep({ 0.100000000 }) = 0 (0x0)
openat(AT_FDCWD,"/dev/cd0",O_RDONLY,00) = 11 (0xb)
ioctl(11,CDIOCALLOW,0x0) = 0 (0x0)
ioctl(11,0xc4e01903 { IORW 0x19('?'), 3, 1248 },0x805156608) ERR#25
'Inappropria
te ioctl for device'
fstat(1,{ mode=p--------- ,inode=5190,size=0,blksize=4096 }) = 0 (0x0)
++ WARN: open: Inappropriate ioctl for device
write(1,"++ WARN: open: Inappropriate ioc"...,46) = 46 (0x2e)
close(11) = 0 (0x0)
complete truss output attached
It doesn't matter whether a cd is inserted or not, the error is always thrown.
--
You are receiving this mail because:
You are the assignee for the bug.