[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CD Burning problem



Hi Alvin,

Thanks for your advice.

> you're missing some modules ( the one for /dev/pg0 )
>
> complete list of modules ( kernel options ) that is needed
> 	http://www.linux-1u.net/CDRW

I have visited the above site, some of link already missing.  Several things 
have changed with cdrecord lately.  The latest versions of cdrecord, however, 
support writing to IDE/ATAPI cd writers directly using the ATAPI system.  
'man cdrecord' does not help much.

# cdrecord -scanbus
did not generate the needed information.  I have to use following command 
instead

# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01a24 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J\x{FFFD}rg 
Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-240B ' 'R403' Removable CD-ROM
0,1,0 1) 'SONY ' 'CD-ROM CDU5221 ' '0.35' Removable CD-ROM

Test on CDRW
============
With following command I can blank a CDRW
# cdrecord dev=ATAPI:0,0,0 speed=4 blank=all -v -eject
without complaint.

However with following command I can't burn a CDRW

# cdrecord dev=ATAPI:0,0,0 speed=4 -v -eject /path/to/folder containing 
tarballs

.....
.......
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'SAMSUNG '
Identifikation : 'CD-R/RW SW-240B '
Revision : 'R403'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 5554176 = 5424 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 14 MB
Total size: 16 MB (01:37.16) = 7287 sectors
Lout start: 16 MB (01:39/12) = 7287 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11615 (97:27/10)
ATIP start of lead out: 335925 (74:41/00)
1T speed low: 0 (reserved val 0) 1T speed high: 4
power mult factor: 4 5
recommended erase/write power: 3
A1 values: 02 4A B0
A2 values: 00 00 00
Disk type: Phase change
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Blocks total: 335925 Blocks current: 335925 Blocks remaining: 328638
Forcespeed is OFF.
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01: 14 of 14 MB written (fifo 100%) [buf 99%] 4.1x.
WARNING: padding up to secsize.
Track 01: Total bytes read/written: 14919100/14919680 (7285 sectors).
Writing time: 28.257s
Average write speed 3.7x.
Min drive buffer fill was 99%
Fixating...
Fixating time: 76.884s
cdrecord.mmap: fifo had 235 puts and 235 gets.
cdrecord.mmap: fifo was 0 times empty and 129 times full, min fill was 96%.

Failed. Can't burn CDRW

I am still searching for method on remedy.

I have made following tests according to suggestions in the abovementioned 
website (URL)

# egrep -i "BLK_DEV_LOOP|BLK_DEV_RAM|
BLK_DEV_RAM_SIZE" /usr/local/src/linux-2.4.22/.config | grep -v ^#
grep: /usr/local/src/linux-2.4.22/.config: No such file or directory

# egrep -i "CONFIG_BLK_DEV_S|CONFIG_BLK_DEV_IDECD|
BLK_DEV_IDESCSI" /usr/local/src/linux-2.4.22/.config | grep -v ^#
grep: /usr/local/src/linux-2.4.22/.config: No such file or directory

#  egrep -i "CONFIG_SCSI|CONFIG_BLK_DEV_SR|
CONFIG_BLK_DEV_SG" /usr/local/src/linux-2.4.22/.config | grep -v ^#
grep: /usr/local/src/linux-2.4.22/.config: No such file or directory

# egrep -i "CONFIG_MINIX_FS|CONFIG_JOLIET|
CONFIG_ISO9660_FS" /usr/local/src/linux-2.4.22/.config | grep -v ^#
grep: /usr/local/src/linux-2.4.22/.config: No such file or directory

# cat /proc/version
Linux version 2.4.22-1-386 (herbert@gondolin) (gcc version 3.3.2 20030908 
(Debian prerelease)) #9 Sat Oct 4 14:30:39 EST 2003

(Website suggests to run following command)
cd /usr/local/src/linux-2.4.22 ; make xconfig)

But
# locate linux-2.4.22
# locate Linux-2.4.22
No printout

# ls -al /usr/local/src/
total 8
drwxrwsr-x    2 root     staff        4096 Dec 17 05:33 .
drwxrwsr-x   11 root     staff        4096 Dec 29 00:32 ..

linux-2.4.22 is not existing in these folders

(Equivalent modules.conf FileNames on various Distros)
ls -al /etc/ | grep modules.conf
-rw-r--r--    1 root     root         4326 Jan 10 21:59 modules.conf
-rw-r--r--    1 root     root         4326 Jan 10 21:59 modules.conf.old

# lsmod | grep sg
@ lsmod | grep sr_mod
# cat /proc/devices /grep sg
# cat /proc/devices /grep fd
# cat /proc/devices /grep sd
# cat /proc/devices /grep sr
# ls -la /dev/sq /dev/sg?
# ls -la /dev/pg /dev/pgG?
All no printout

B.R.
Stephen Liu








> On Sun, 11 Jan 2004, Stephen Liu wrote:
> > Hi all folks,
> >
> > GNOME console
> >
> > I met following problem in burning CD
> >
> > # cdrecord dev=0,0,0 speed=12 blank=all -eject
> > Cdrecord-Clone 2.01a24 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg
> > Schillin g
> > scsidev: '0,0,0'
> > scsibus: 0 target: 0 lun: 0
> > cdrecord.mmap: No such file or directory. Cannot open '/dev/pg0'. Cannot
> > open SC SI driver.
> > cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure
> > you are r oot.
> > cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'.
> > cdrecord.mmap: Also make sure that you have loaded the sg driver and the
> > driver for
> > cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives
> > over cdrecord.mmap: ide-scsi emulation. For more information, install the
> > cdrtools-do c
> > cdrecord.mmap: package and read
> > /usr/share/doc/cdrecord/README.ATAPI.setup
> >
> > However I could not locate 'README.ATAPI.setup'
> >
> > # locate README.ATAPI.setup
> > # find / -name readme.atapi.setup
> > all no printout
> >
> > # dvd=yes cdrecord dev=0,0,0 speed=12 blank=all -v -eject
> > Cdrecord-Clone 2.01a24 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg
> > Schillin g
> > TOC Type: 1 = CD-ROM
> > scsidev: '0,0,0'
> > scsibus: 0 target: 0 lun: 0
> > cdrecord.mmap: No such file or directory. Cannot open '/dev/pg0'. Cannot
> > open SC SI driver.
> > cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure
> > you are r oot.
> > cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'.
> > cdrecord.mmap: Also make sure that you have loaded the sg driver and the
> > driver for
> > cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives
> > over cdrecord.mmap: ide-scsi emulation. For more information, install the
> > cdrtools-do c
> > cdrecord.mmap: package and read
> > /usr/share/doc/cdrecord/README.ATAPI.setup .
> >
> > # apt-cache search cdrecord.nmap
> > No printout
> >
> > Kindly advise how to proceed.
> >
> > TIA
> >
> > B.R.
> > Stephen Liu



Reply to: