Re: burncd block size

From: Jeremy Messenger <mezz7_at_cox.net>
Date: Fri, 07 Nov 2003 14:30:02 -0600
On Fri, 7 Nov 2003 10:28:42 +0100 (CET), Soren Schmidt 
<sos_at_spider.deepcore.dk> wrote:

> It seems Jeremy Messenger wrote:
>> On Fri, 07 Nov 2003 10:10:40 +0100, Dag-Erling Smørgrav <des_at_des.no> 
>> wrote:
>>
>> > I've been having a variety of problems burning CDs with atang:
>> >
>> >  - burncd consistently failing in exactly the same spot in the ISO,
>> >    and reporting "only wrote 0 of 32768 bytes: Unknown error: 0"
>> >
>> >  - burncd failing right at the start with "only wrote -1 of 32768
>> >    bytes: Input/output error" (this generally happens after a couple
>> >    of the previous, and once it starts happening I have to reboot)
>>
>> Whew, glad that I am not only one.. I *just* have wasted two of my blank
>> CD in like fifteen minutes ago, I keep wondering if I created the ISO
>> files in the wrong way or was it burncd's fault.. Until now here..
>
> This is fallout from getting atapi-cd under GEOM. GEOM wasn't designed
> to handle medias of size 0 and where the sizes can change during an
> open. I just committed a fix that has solved the issue here (and its 
> ugly).

It's fixed, now I am able to burn it full on CD. I get the new messages 
(see bottom) when it boot, but it seems to be harmless since I can use 
anything and work ok. Does this messages mean I need to give the 
SCSI_DELAY more time?

==================================
Nov  7 13:21:43 mezz kernel: acd0: CDRW <CD-W516EB> at ata0-master PIO4
Nov  7 13:21:43 mezz kernel: Waiting 5 seconds for SCSI devices to settle
Nov  7 13:21:43 mezz kernel: GEOM: create disk cd0 dp=0xc2e44e00
Nov  7 13:21:43 mezz kernel: GEOM: create disk da0 dp=0xc2e36450
Nov  7 13:21:43 mezz kernel: da0 at ahc0 bus 0 target 0 lun 0
Nov  7 13:21:43 mezz kernel: da0: <SEAGATE ST336706LW 0109> Fixed Direct 
Access SCSI-3 device
Nov  7 13:21:43 mezz kernel: da0: 160.000MB/s transfers (80.000MHz, offset 
63, 16bit), Tagged Queueing Enabled
Nov  7 13:21:43 mezz kernel: da0: 35003MB (71687370 512 byte sectors: 255H 
63S/T 4462C)
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Recovered Sense
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): READ CD RECORDED CAPACITY. 
CDB: 25 0 0 0 0 0 0 0 0 0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): CAM Status: SCSI Status 
Error
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): SCSI Status: Check Condition
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): NOT READY asc:3a,0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Medium not present
Nov  7 13:21:43 mezz kernel: cd0 at ata0 bus 0 target 0 lun 0
Nov  7 13:21:43 mezz kernel: cd0: <TEAC CD-W516EB 1.0A> Removable CD-ROM 
SCSI-0 device
Nov  7 13:21:43 mezz kernel: cd0: 16.000MB/s transfers
Nov  7 13:21:43 mezz kernel: cd0: Attempt to query device size failed: NOT 
READY, Medium not present
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Recovered Sense
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): READ CD RECORDED CAPACITY. 
CDB: 25 0 0 0 0 0 0 0 0 0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): CAM Status: SCSI Status 
Error
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): SCSI Status: Check Condition
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): NOT READY asc:3a,0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Medium not present
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Recovered Sense
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): READ CD RECORDED CAPACITY. 
CDB: 25 0 0 0 0 0 0 0 0 0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): CAM Status: SCSI Status 
Error
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): SCSI Status: Check Condition
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): NOT READY asc:3a,0
Nov  7 13:21:43 mezz kernel: (cd0:ata0:0:0:0): Medium not present
Nov  7 13:21:43 mezz kernel: Mounting root from ufs:/dev/da0s1a
==================================

Cheers,
Mezz

> -Søren


-- 
bsdforums.org 's moderator, mezz.
Received on Fri Nov 07 2003 - 11:31:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC