Menu

#181 Stuck after Flushing Cache.

not reproducible
open
nobody
None
5
2022-04-12
2022-04-12
Aidan
No

Hello. I'm having some issues with sdrdao writing a CD. It gets stuck after the "Flushing Cache..." step:

$ strace -o strace.log cdrdao write --eject cd.toc
Cdrdao version 1.2.4 - (C) Andreas Mueller <andreas@daneb.de>
/dev/sr0: PLDS DVDRWBD DH-12E3S Rev: MD11
Using driver: Generic SCSI-3/MMC (raw writing) - Version 2.0 (options 0x0000)

Starting write at speed 48...
Pausing 10 seconds - hit CTRL-C to abort.
Process can be aborted with QUIT signal (usually CTRL-\).
Turning BURN-Proof on
Using 96 byte raw P-W sub-channel data mode for CD-TEXT.
Executing power calibration...
Power calibration successful.
WARNING: No super user permission to setup real time scheduling.
Writing lead-in and gap...
Writing track 01 (mode AUDIO/AUDIO )...
Writing track 02 (mode AUDIO/AUDIO )...
Writing track 03 (mode AUDIO/AUDIO )....
Writing track 04 (mode AUDIO/AUDIO )....
Writing track 05 (mode AUDIO/AUDIO )....
Writing track 06 (mode AUDIO/AUDIO )....
Writing track 07 (mode AUDIO/AUDIO )....
Writing track 08 (mode AUDIO/AUDIO )....
Wrote 633 of 633 MB (Buffers 100%  98%).
Wrote 282528 blocks. Buffer fill min 93%/max 100%.
Writing lead-out...
Wrote 15 of 15 MB.
Flushing cache...

When I strace it I see this repeated over and over at the end (FD 3 is my drive):

ioctl(3, SG_IO, {interface_id='S', dxfer_direction=0 /* SG_DXFER_??? */, cmd_len=6, cmdp="\x00\x00\x00\x00\x00\x00", mx_sb_len=16, iovec_count=0, dxfer_len=0, timeout=30000, flags=SG_FLAG_DIRECT_IO, status=0x2, masked_status=0x1, msg_status=0, sb_len_wr=16, sbp="\x70\x00\x02\x00\x00\x00\x00\x0a\x00\x00\x00\x00\x3a\x01\x00\x00", host_status=0, driver_status=0x8, resid=0, duration=34, info=SG_INFO_CHECK}) = 0

Is there something wrong with my CD writer, or is there anything I can tweak to fix this? Let me know if there's any other information I can provide.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB