vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there guys, Many apologies for the content matter of this msg; I've tried to avoid posting for as long as possible, but quite frankly, I haven't managed to find a solution anywhere on the net in the various archives postings that purport to deal with similar issues. Here's the situation: OpenBSD 3.4 Nov03 release, SONY CRX140E CDRW drive. I can mount cd9660 file systems no problems - it's the burning issue alone that's at issue; having created numerous coasters, it's pretty much an economic necessity that I ask for help here ;-) Essentially, when attempting to burn either .iso or .wavs[TAO or DAO - same problem] with cdrecord [cdrdao was also tried as a (futile) backup attempt] i get as far as the writing stage (ie cdrecord recognises the hardware, counts down, and starts the write) when it throws up an error: # cdrecord -dao speed=8 dev=/dev/rcd0c:0,0,0 *.wav Cdrecord 2.0 (i386-unknown-openbsd3.4) Copyright (C) 1995-2002 Jörg Schilling scsidev: '/dev/rcd0c:0,0,0' devname: '/dev/rcd0c' scsibus: 0 target: 0 lun: 0 Using libscg version 'schily-0.7' Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'SONY ' Identifikation : 'CD-RW CRX140E ' Revision : 'A1.0' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : MMC-2 SWABAUDIO Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R Starting to write CD/DVD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. cdrecord: CUE sheet not accepted. Retrying with minimum pregapsize = 1. cdrecord: Input/output error. send_cue_sheet: scsi sendcmd: retryable error CDB: 5D 00 00 00 00 00 00 00 C0 00 status: 0x0 (GOOD STATUS) resid: 192 cmd finished after 0.012s timeout 200s cdrecord: Cannot send CUE sheet. cdrecord: Could not write Lead-in. # The scsi sendcmd() doesn't seem to want to work. The following gets appended to dmesg [full output @ the end of the post] as a result of the attempted write process: cd0(atapiscsi0:0:0): Check Condition on opcode 0x0 SENSE KEY: Not Ready ASC/ASCQ: Medium Not Present cd0(atapiscsi0:0:0): Check Condition on opcode 0x0 SENSE KEY: Not Ready ASC/ASCQ: Medium Not Present cd0(atapiscsi0:0:0): Check Condition on opcode 0x43 SENSE KEY: Illegal Request ASC/ASCQ: Illegal Field in CDB cd0(atapiscsi0:0:0): Check Condition on opcode 0x28 SENSE KEY: Illegal Request ASC/ASCQ: Illegal Field in CDB But i'm afraid I'm not nearly proficient enough with OpenBSD atapscsi internals to fully understand the implications of the error, and hence the reasons behind it. I've tried with numerous discs and brands, and know for a fact that the same version of cdrecord works, with the same hardware, on NetBSD 1.6 and Linux 2.4.20 systems, so I can only draw the conclusion that I have to look towards the atapiscsi configuration as the source of the errors. As I say, I can't seem to figure out the exact cause of the problem. Clearly cdrecord is writing to the correct device, and since I can read from the device via the atapiscsi adaptor, I can only assume that for whatever reason it's not willing to accept write requests / sendcmd()s. many thanks, Marc MY FULL DMESG OUTPUT: ~~~~~~~~~~~~~~~~~~~~ For reference, here's my fully dmesg output [as you can see, I'm using the GENERIC kernel, on 3.4-release]: OpenBSD 3.4 (GENERIC) #18: Wed Sep 17 03:34:47 MDT 2003 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Celeron (Mendocino) ("GenuineIntel" 686-class, 128KB L2 cache) 332 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC A,CMOV,PAT,PSE36,MMX,FXSR real mem = 167292928 (163372K) avail mem = 148934656 (145444K) using 2067 buffers containing 8466432 bytes (8268K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(67) BIOS, date 04/22/99, BIOS32 rev. 0 @ 0xfd790 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev. 2.1 @ 0xfd790/0x870 pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdf30/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x8000 0xe4000/0xc000 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Matrox MGA G100 AGP" rev 0x02 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <IBM-DHEA-34330> wd0: 16-sector PIO, LBA, 4134MB, 8400 cyl, 16 head, 63 sec, 8467200 sectors wd1 at pciide0 channel 0 drive 1: <IBM-DHEA-34330> wd1: 16-sector PIO, LBA, 4134MB, 8400 cyl, 16 head, 63 sec, 8467200 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX140E, A1.0> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered "Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 7 function 3 not configured clcs0 at pci0 dev 11 function 0 "Cirrus Logic CS4610 SoundFusion Audio" rev 0x01: irq 9 clcs0: codec ready timeout isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 2.88MB 80 cyl, 2 head, 36 sec isapnp0 at isa0 port 0x279: read port 0x203 wss1 at isapnp0 "CS4236B, CSC0000, , WSS/SB" port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0: CS4236/CS4236B (vers 0) audio0 at wss1 joy0 at isapnp0 "CS4236B, CSC0001, , Game" port 0x200/8 "CS4236B, CSC0010, , Ctrl" at isapnp0 port 0x120/8 not configured mpu0 at isapnp0 "CS4236B, CSC0003, , MPU" port 0x330/2 irq 10 mpu0: find failed isapnp0: card 2 violates PnP spec; byte 0 isapnp0: Maximum tag size exceeded, card 2 isapnp0: No current device for tag, card 2 isapnp0: Maximum tag size exceeded, card 2 isapnp0: No current device for tag, card 2 isapnp0: Maximum tag size exceeded, card 2 isapnp0: No current device for tag, card 2 isapnp0: Maximum tag size exceeded, card 2 isapnp0: No current device for tag, card 2 isapnp0: Maximum tag size exceeded, card 2 isapnp0: Too many tag errors, card 2 biomask c240 netmask c240 ttymask d2c2 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matched BIOS disk 80 dkcsum: wd1 matched BIOS disk 81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wsdisplay0: screen 6 added (80x25, vt100 emulation) wsdisplay0: screen 7 added (80x25, vt100 emulation) wsdisplay0: screen 8 added (80x25, vt100 emulation) cd0(atapiscsi0:0:0): Check Condition on opcode 0x0 SENSE KEY: Not Ready ASC/ASCQ: Medium Not Present cd0(atapiscsi0:0:0): Check Condition on opcode 0x0 SENSE KEY: Not Ready ASC/ASCQ: Medium Not Present cd0(atapiscsi0:0:0): Check Condition on opcode 0x43 SENSE KEY: Illegal Request ASC/ASCQ: Illegal Field in CDB cd0(atapiscsi0:0:0): Check Condition on opcode 0x28 SENSE KEY: Illegal Request ASC/ASCQ: Illegal Field in CDB |