Re: Curious: Hang at open trying to rip dvd?

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

 



On Thu, 09 Apr 2020 15:33:38 +0200
Thomas Schmitt wrote:

> If /tmp/xorriso.log is long (one or two dozen KB) then send it to
> my mail address directly. I will then report what it tells me.
> If it is short, please post it here.

It sat here for about three minutes till I got bored:

zooty> xorriso -scsi_log on -outdev /dev/sr0 -toc 2>&1 | tee -i /tmp/xorriso.log
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.

Then I powered off the drive, and the rest came out:

 139255322 us     [ 180481085 ]

INQUIRY
12 00 00 00 24 00 
>From drive: 36b
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
       25 us     [ 180481551 ]
--- SG_IO: host_status= 0x7 SG_ERR_DID_ERROR (Internal error detected in the host adapter)
--- SG_IO: Gave up connection to drive
libburn : FAILURE : SCSI command 12h yielded host problem: 0x7 SG_ERR_DID_ERROR (Internal error detected in the host adapter)
libburn : FAILURE : Command: INQUIRY : 12 00 00 00 24 00  : dxfer_len= 36
libburn : FATAL : Lost connection to drive
xorriso : FAILURE : Cannot acquire drive '/dev/sr0'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FATAL'

If I run it under strace, it is by golly hanging at open:

stat("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(0xb, 0), ...}) = 0
openat(AT_FDCWD, "/dev/sr0", O_RDWR|O_EXCL|O_NONBLOCK

But wait! After thirty second or so the open finally worked (returned 3) and
it hangs in a new place:

ioctl(3, HDIO_GET_IDENTITY, 0x7fffd76decd0) = -1 EINVAL (Invalid argument)
ioctl(3, SG_GET_SCSI_ID, 0x7fffd76dee80) = -1 EINVAL (Invalid argument)
ioctl(3, SG_IO, {interface_id='S', dxfer_direction=SG_DXFER_NONE, cmd_len=6, cmdp="\x00\x00\x00\x00\x00\x00", mx_sb_len=0, iovec_count=0, dxfer_len=0, timeout=12345, flags=0

That one hangs long enough for me to decide to turn off the drive again.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux