To: scsi @ freebsd.org cc: "Dirk Froemberg" Subject: cdrecord: Input/output error. close track/session: From: "Julian H. Stacey" (MAINTAINER= for ports/sysutils/cdrtools) (Dirk, please feel free to forward to Joerg Schilling if appropriate). With standard FreeBSD 4.4-RELEASE & GENERIC kernel & standard port for Cdrecord 1.10 (i386-unknown-freebsd4.4) & with just 3 things on scsi bus: ahc0: port 0xe800-0xe8ff mem 0xfebff000-0xfeb fffff irq 11 at device 18.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/255 SCBs cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd1 at ahc0 bus 0 target 4 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 10.000MB/s transfers (10.000MHz, offset 15) & with no activity on cd1 device, just using cd0, I see the following error: ----- Track 01: Total bytes read/written: 667222016/667222016 (325792 sectors). Writing time: 2191.237s Fixating... cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 10 2D 1F 33 0A 00 00 00 00 09 00 00 00 00 00 00 00 00 08 0 0 00 00 00 00 00 08 00 01 06 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x09 Qual 0x00 (track following error) Fru 0x0 Sense flags: Blk 271392563 (not valid) cmd finished after 79.636s timeout 480s cmd finished after 79.636s timeout 480s Fixating time: 79.663s cdrecord: fifo had 10510 puts and 10510 gets. cdrecord: fifo was 0 times empty and 10377 times full, min fill was 98%. ----- I have done an md5 of the resultant burnt cdrom, & it contains an exact copy of what's on hard disk, so the cd burn (to a cd-r media, not a cd-rw) worked OK, but the message is worrying. The drive reports 3.300MB/s but my controller only goes down to 5, I was writing at double speed, a cdrom reported as: Manuf. index: 13 Manufacturer: Multi Media Masters & Machinary SA Anything else I should state ? What code in FreeBSD &/or cdrecord should be changed to avoid this misleading non- error ? PS I see the note in manual: -------- The following message is not an error: Track 01: Total bytes read/written: 2048/2048 (1 sectors). cdrecord: I/O error. flush cache: scsi sendcmd: no error CDB: 35 00 00 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: F0 00 05 80 00 00 27 0A 00 00 00 00 B5 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0xB5 Qual 0x00 (dummy data blocks added) Fru 0x0 Sense flags: Blk -2147483609 (valid) cmd finished after 0.002s timeout 40s ------- Should we just add another error to the manual as another error to ignore ? Julian J.Stacey Munich Unix (FreeBSD, Linux etc) Independent Consultant