Subject: Re: NetBSD Life! CD available
To: Jeremy C. Reed <reed@reedmedia.net>
From: Eric Jacoboni <jaco@scrogneugneu.org>
List: netbsd-users
Date: 06/22/2002 01:13:48
>>>>> "Jeremy" == Jeremy C Reed <reed@reedmedia.net> writes:

Jeremy> What cdrecord messages?

Ooops...

$ cdrecord -v -dev=15,1,0 i386live.iso
Cdrecord 1.10 (i386-unknown-netbsd1.5.1) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '15,1,0'
scsibus: 15 target: 1 lun: 0
Using libscg version 'schily-0.5'
cdrecord: Warning: using inofficial libscg transport code version (frueauf-scsi-bsd.c-1.40nb1 '@(#)scsi-bsd.c   1.40 01/03/18 Copyright 1997 J. Schilling').
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W1210A'
Revision       : '1.07'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1190112 = 1162 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  667 MB
Total size:     766 MB (75:53.41) = 341506 sectors
Lout start:     766 MB (75:55/31) = 341506 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -11606 (97:27/19)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 18343
Starting to write CD/DVD at speed 1 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation
starts.
Performing OPC...
Starting new track at sector: 0
Track 01: 627 of 667 MB written (fifo  22%).cdrecord: Input/output error. read error on input file
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error
CDB:  1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
cdrecord: fifo had 10716 puts and 10716 gets.
cdrecord: fifo was 1 times empty and 10641 times full, min fill was 0%.


$ sudo vnconfig vnd0 i386live.iso
$ sudo mount -t cd9660 /dev/vnd0c /mnt/
$ cd /mnt
$ ls
DISKETTEBOOT    README.de       home            readme.de       usr
HARDWARE        bin             kern            readme.pdf      var
MACHINES        cdboot          mkrocd.sh       root
NEU_IN_V._0.4   dev             mnt             sbin
PASSWORDS       dosboot.com     netbsd          stand
README          etc             readme          tmp
$ du -ks .
694881  .

Jeremy> Maybe try to get it to eject with:
Jeremy>   cdplay eject

$ sudo cdplay -f /dev/cd1 eject
cdplay: ioctl(CDIOCALLOW): Invalid argument
cdplay: ioctl(CDIOCEJECT): Invalid argument



-- 
Éric Jacoboni, né il y a 1328144302 secondes