[2909] in linux-scsi channel archive
cdwrite on a scsi device
daemon@ATHENA.MIT.EDU (Louis Pare)
Mon Dec 8 13:46:08 1997
From: Louis Pare <louis@socoint.com>
To: "'linux-scsi@vger.rutgers.edu'" <linux-scsi@vger.rutgers.edu>
Cc: "'erdmann@zpr.uni-koeln.de'" <erdmann@zpr.uni-koeln.de>
Date: Mon, 8 Dec 1997 13:26:23 -0500
I , I can't write to my scsi cd-rom.
I can mount it to view a cd-rom, copy files, etc... but I can't write on it.
Here are some information about my system. I think there is a problem at boot time: scsi0: Target 1, channel A, refusing synchronous negotiation; using asynchronous transfers.
Can you help me on that purpose.
cat /proc/version
cat /proc/kmsg :
Linux version 2.0.30 (root@porky.redhat.com) (gcc version 2.7.2.1) #1 Tue Apr 22 10:49:45 EDT 1997
dmesg :
is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
Ramdisk driver initialized : 16 ramdisks of 4096K size
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide0: BM-DMA at 0xf000-0xf007
ide1: BM-DMA at 0xf008-0xf00f
hda: WDC AC33100H, 3020MB w/128kB Cache, LBA, CHS=767/128/63, DMA
hdb: V006E0DS, ATAPI CDROM drive
hdc: WDC AC33100H, 3020MB w/128kB Cache, LBA, CHS=6136/16/63, DMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is an 8272A
md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
hda: hda1 hda2 < hda5 hda6 > hda3 hda4
hdc: [PTBL] [767/128/63] hdc1
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
aic7xxx: devconfig = 0x580.
aic7xxx: Reading SEEPROM...done.
aic7xxx: Extended translation enabled.
aic7xxx: Memory check yields 16 SCBs, paging not enabled.
AHA-2940 (PCI-bus), I/O 0x6200, Mem 0xe1000000:
irq 10
bus release time 40 bclks
data fifo threshold 100%
SCSI CHANNEL A:
scsi id 7
scsi selection timeout 256 ms
scsi bus reset at power-on enabled
scsi bus parity disabled
scsi bus termination (low byte) enabled
aic7xxx: Downloading sequencer code...done.
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Target 1, channel A, refusing synchronous negotiation; using asynchronous transfers.
Vendor: YAMAHA Model: CDR400t Rev: 1.0d
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
VFS: Mounted root (ext2 filesystem) readonly.
Trying to unmount old root ... okay
Adding Swap: 80636k swap-space (priority -1)
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Appletalk 0.17 for Linux NET3.035
loading device 'eth0'...
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x6100: 00 60 67 08 0e 6f
eth0: NE2000 found at 0x6100, using IRQ 11.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
cdwrite -P -v -D /dev/sga cd_image:
cdwrite 2.0
Track 01: data 3 Mb pad
Manufacturer: YAMAHA
Model: CDR400t
Revision: 1.0d
Using mode: Yamaha
Using speed: 2
Track 01: 0 of 3 Mb written.
Track 01: 1
Track 01: 2
Track 01: 3
ERROR MESSAGE :
SENSE_ERROR iter 1 : pipe_to_cd result 0,pack_id 15 sense 70 00 05 00 00 00
00 0A 00 00 00 00 20 00 00 00
18 OF 18 PIPE_TO_CD REPLY BYTES 00 00 00 08 00 00 00 00 00 00 08 00 48 41 20
43 44
SENSE_ERROR iter 2 : pipe_to_cd result 0,pack_id 15 sense 70 00 05 00 00 00
00 0A 00 00 00 00 20 00 00 00
18 OF 18 PIPE_TO_CD REPLY BYTES 00 00 00 08 00 00 00 00 00 00 08 00 48 41 20
43 44
SENSE_ERROR iter 3 : pipe_to_cd result 0,pack_id 15 sense 70 00 05 00 00 00
00 0A 00 00 00 00 20 00 00 00
18 OF 18 PIPE_TO_CD REPLY BYTES 00 00 00 08 00 00 00 00 00 00 08 00 48 41 20
43 44
AND SO ON .....
I also tried with speed 1 and it maked no differences.
Thanks!
Louis Paré (lpare@socoint.com)
Technicien informatique
Socomar (1995) international inc.
25 G de Lauzon, Boucherville
Québec J4B 1E7