ATA CDR problems

2000-01-23 Thread Mike Heffner

Hi,

Trying to write a data cd using the burndata script in
/usr/share/examples/atapi, I'm getting this on the console, and I'm unable to
write the cd:

acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00
acd1: sequence error (no open)
acd1: sequence error (no open)

Here's what the script outputs:

enterprise# ./burndata acd1c /usr/home/spock/disk.iso
preparing disk in /dev/racd1c
wormcontrol: ioctl(WORMIOCPREPDISK): Inappropriate ioctl for device
setting up to transfer data track
wormcontrol: ioctl(WORMIOCPREPTRACK): Inappropriate ioctl for device
writing data to disk
dd: /dev/racd1c: Input/output error
4+0 records in
0+0 records out
0 bytes transferred in 0.000737 secs (0 bytes/sec)
fixating disk
wormcontrol: ioctl(WORMIOFIXATION): Inappropriate ioctl for device
done!

And here's my dmesg and config lines:

ata-pci0: Intel PIIX4 ATA-33 controller port 0xffa0-0xffaf at device 7.1 on pc
i0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ata1 at 0x0170 irq 15 on ata-pci0
ad0: WDC AC310100B/32.02S3 ATA-4 disk at ata0 as master
ad0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad1: WDC AC313000R/15.01J5 ATA-4 disk at ata0 as slave 
ad1: 12416MB (25429824 sectors), 25228 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, UDMA33
acd0: EPO CD-ROM CR-836S/Ver1.06 CDROM drive at ata1 as master
acd0: read 171KB/s (6187KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
acd1: IDE-CD ReWritable-2x2x6/V:003.0 CD-RW drive at ata1 as slave 
acd1: read 344KB/s (1034KB/s) write 344KB/s (344KB/s), 768KB buffer, PIO3
acd1: Reads: CD-R, CD-RW, CD-DA stream, packet
acd1: Writes: CD-R, CD-RW, test write
acd1: Audio: play, 128 volume levels
acd1: Mechanism: ejectable tray
acd1: Medium: no/blank disc inside, unlocked, lock protected


Anyone else seeing this? Is this a crappy drive problem?


-
Mike Heffner [EMAIL PROTECTED]
Fredericksburg, VA
ICQ# 882073
Date: 23-Jan-2000   Time: 18:00:50
-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: ATA CDR problems

2000-01-23 Thread Mike Heffner


On 23-Jan-2000 Mike Heffner wrote:

  | And here's my dmesg and config lines:
  | 

oops, forgot the config lines. here they are:

# ATAPI devices
device  ata0
device  atadisk0# ATAPI DISK
device  atapicd0# ATAPI CDROM drives

options ATA_STATIC_ID

-
Mike Heffner [EMAIL PROTECTED]
Fredericksburg, VA
ICQ# 882073
Date: 23-Jan-2000   Time: 18:15:14
-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA CDR problems

2000-01-23 Thread Alex

Mike Heffner wrote:
 
 Hi,
 
 Trying to write a data cd using the burndata script in
 /usr/share/examples/atapi, I'm getting this on the console, and I'm unable to
 write the cd:
 
 acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00
 acd1: sequence error (no open)
 acd1: sequence error (no open)


If you're running -current, try the new burncd program (man burncd will
tell you more).

Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA CDR problems

2000-01-23 Thread Mike Heffner


On 23-Jan-2000 Alex wrote:
  | 
  | 
  | If you're running -current, try the new burncd program (man burncd will
  | tell you more).
  | 

Alright, I used the burncd program, and it seems to burn the cd correctly.
Unfortunately, I can't mount it in any other drive. I can mount/read it fine in
the cdr drive.

When burncd started I did get this error again:

acd1: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00

but it proceeded without any problems. When I try to mount it in any other
drive I get:

cd9660: Device busy

Any ideas?

-
Mike Heffner [EMAIL PROTECTED]
Fredericksburg, VA
ICQ# 882073
Date: 23-Jan-2000   Time: 23:29:34
-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message