Re: [expert] cdrecord always fail

2001-06-17 Thread Oscar

Hi.
I had the same problem in the past.
Today I can still have the problem: I only need to do a dummy write before 
really burning a CD.
In other words, I had the same error, but it only appears when I had a dummy 
write (simulated write, I don'k know if you understand me, my english maybe 
is not perfect;)
When I not do a dummy write, the problem is missing.
Maybe It can help you ???
Salu2,
Oscar.


El Dom 17 Jun 2001 01:24, escribiste:
 i've a lot of problems with LM8 and cdrecord.
 Some weeks ago i bought a ATAPI Acer cdrw, and tried to record some
 cd's. Cdrecord always produced errors, so i thought the recorder was broken
 and i took back. I changed the cdrw with another acer. Tried this, same
 problem. Brought back, took another, same problem.
 After this, i brought back the last acer and took an yamaha 2100 SCSI.
 tried it. same problem. This time i'm quite sure it's not an hardware
 problem.

 I tried the cdrecord shipped with mandrake, and the cdrecord 1.11a03
 (the last from the schilling site). I also recompiled the last 2.4.5
 kernel. same problem.

 i also tried to change the media, and i tried 2 or 3 different media. No
 results.

 I started searching on deja. A lot of people have my problem, but no one
 get a valid and useful (for them and for me) reply.

 this is the report (with 1.9, the report with 1.11a03 is identical).
 Sometimes instead of fatal error i get a retryable error, but the
 writing fails in the same manner.


 [root@quela bin]# ./cdrecord -v speed=8 dev=/dev/sgb /mnt/iso.iso
 Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
 TOC Type: 1 = CD-ROM
 scsidev: '/dev/sgb'
 devname: '/dev/sgb'
 scsibus: -2 target: -2 lun: -2
 Linux sg driver version: 3.1.17
 Using libscg version 'schily-0.1'
 atapi: 0
 Device type: Removable CD-ROM
 Version: 2
 Response Format: 2
 Capabilities   : SYNC
 Vendor_info: 'YAMAHA  '
 Identifikation : 'CRW2100S'
 Revision   : '1.0H'
 Device seems to be: Generic mmc CD-RW.
 Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
 Driver flags   : SWABAUDIO
 Drive buf size : 7582848 = 7405 KB
 FIFO size  : 4194304 = 4096 KB
 Track 01: data  629 MB
 Total size: 723 MB (71:38.58) = 322394 sectors
 Lout start: 723 MB (71:40/44) = 322394 sectors
 Current Secsize: 2048
 ATIP info from disk:
   Indicated writing power: 4
   Is not unrestricted
   Is not erasable
   Disk sub type: Medium Type A, high Beta category (A+) (3)
   ATIP start of lead in:  -11079 (97:34/21)
   ATIP start of lead out: 359849 (79:59/74)
 Disk type:Long strategy type (Cyanine, AZO or similar)
 Manuf. index: 11
 Manufacturer: Mitsubishi Chemical Corporation
 Blocks total: 359849 Blocks current: 359849 Blocks remaining: 37455
 Starting to write CD/DVD at speed 8 in write mode for single session.
 Last chance to quit, starting real write in 1 seconds.
 Waiting for reader process to fill input buffer ... input buffer ready.
 Performing OPC...
 Starting new track at sector: 0
 Track 01:   6 of 629 MB written (fifo  85%)../cdrecord: Input/output error.
 write_g1: scsi sendcmd: fatal error CDB:  2A 00 00 00 0C 5A 00 00 1F 00

 write track data: error after 6475776 bytes
 Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
 Writing  time:   21.307s
 Fixating...
 Fixating time:   31.199s
 ./cdrecord: fifo had 166 puts and 103 gets.
 ./cdrecord: fifo was 0 times empty and 20 times full, min fill was 84%.

 many thanks for the help. After this, i'll start downloading nero and
 seek for a windoze installation ;_;




Re: [expert] cdrecord always fail

2001-06-17 Thread munehiro

On Sun, Jun 17, 2001 at 09:39:40AM -0400, civileme wrote:
  here it is.
  the mobo is a Asus P2BS, with onboard AHA2940 controller. The
  actual cdrw is correctly terminated, and the scsi id is
  unique.
 
 
 Try this
 
 
 rmmod aic7xxx
 modprobe aic7xxx_old
 
 Civileme

it was not so simple. Since i have the master hd on the scsi chain, a
simple modprobe does not resolve, but even crashes the whole linux box
with an hard kernel panic (just to try the feeling having two
conflicting drivers together :) ). So i started hacking on initrd.img,
gunzipped it, mounted it on loopback, removed the module aic7xxx and
replaced with the old module from the /lib/modules/2.4.3-20mdk tree.

now the cdrw seems to work correctly. i've just burned an iso at 16x
with no writing errors (just a couple of them in the start/stop unit,
but i think it's quite normal since the drive is spinning up to catch
the media paramters... it's not writing time so i dont' care)
however, is not so clear why the ide cdrw had problems too... kernel 
hackers know :)

many thanks for the help. I'll broadcast the solution as fast as i can.


-- 


phalanx2 non ci crederai, ma ho visto un abaco con sotto scritto powered by linux







Re: [expert] cdrecord always fail

2001-06-17 Thread Larry Sword

civileme wrote:
--snip---snip--
 
  I see that you have an nVida GeForce video. My question, are
  you running your   X-Windows system at a DefaultDepth 16 and
  DRI? The reason for my question: I have a Maxtor G400 and
  when my Xf86Config-4 Section Screen was set for a
  DefaultDepth 16, which enabled the DRI my system would fault
  with the same errors as you are having. The ONLY way I could
  correct this was to change the DefaultDepth to 24 which
  disabled DRI for my card and system. After doing this my
  system now burns cd just fine. Don't know if this is you
  problem, but worth a try.
 
  Larry
 
 Well, if that is the case, the thing to try is updating
 mandrake_desk which also enables bluefish, screem, gfloppy and
 some others that were segfaulting or freezing in the original
 version because there was a faulty eazel-gtk theme in Gnome
 (and lots of our widets are gtk based)
 
 Civileme

Okay, I installed the mandrake_desk update, set my xf86Config-4 to
DefaultDepth 16 and DRI and now my cd-burner using Gnometoster works.
It works!

Thank you

Larry
-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587




[expert] cdrecord always fail

2001-06-16 Thread munehiro

i've a lot of problems with LM8 and cdrecord.
Some weeks ago i bought a ATAPI Acer cdrw, and tried to record some
cd's. Cdrecord always produced errors, so i thought the recorder was broken 
and i took back. I changed the cdrw with another acer. Tried this, same
problem. Brought back, took another, same problem.
After this, i brought back the last acer and took an yamaha 2100 SCSI.
tried it. same problem. This time i'm quite sure it's not an hardware
problem.

I tried the cdrecord shipped with mandrake, and the cdrecord 1.11a03
(the last from the schilling site). I also recompiled the last 2.4.5 kernel.
same problem.

i also tried to change the media, and i tried 2 or 3 different media. No
results.

I started searching on deja. A lot of people have my problem, but no one
get a valid and useful (for them and for me) reply.

this is the report (with 1.9, the report with 1.11a03 is identical).
Sometimes instead of fatal error i get a retryable error, but the
writing fails in the same manner.


[root@quela bin]# ./cdrecord -v speed=8 dev=/dev/sgb /mnt/iso.iso
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/sgb'
devname: '/dev/sgb'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.1'
atapi: 0
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : SYNC
Vendor_info: 'YAMAHA  '
Identifikation : 'CRW2100S'
Revision   : '1.0H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 7582848 = 7405 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  629 MB
Total size: 723 MB (71:38.58) = 322394 sectors
Lout start: 723 MB (71:40/44) = 322394 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11079 (97:34/21)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:Long strategy type (Cyanine, AZO or similar)
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 37455
Starting to write CD/DVD at speed 8 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01:   6 of 629 MB written (fifo  85%)../cdrecord: Input/output error. write_g1: 
scsi sendcmd: fatal error
CDB:  2A 00 00 00 0C 5A 00 00 1F 00
 
write track data: error after 6475776 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing  time:   21.307s
Fixating...
Fixating time:   31.199s
./cdrecord: fifo had 166 puts and 103 gets.
./cdrecord: fifo was 0 times empty and 20 times full, min fill was 84%.

many thanks for the help. After this, i'll start downloading nero and
seek for a windoze installation ;_;


-- 


Zuglio c'e' qualche requisito minimo x linux?
munehiro l'intelligenza







Re: [expert] cdrecord always fail

2001-06-16 Thread munehiro

On Sun, Jun 17, 2001 at 01:47:34AM -0400, civileme wrote:
 
 Something clicked--can you also send the output of lspcidrake?
 

[root@quela munehiro]# lspcidrake
agpgart : Intel Corporation|440BX/ZX - 82443BX/ZX Host bridge
unknown : Intel Corporation|440BX/ZX - 82443BX/ZX AGP bridge
unknown : Intel Corporation|82371AB PIIX4 ISA
unknown : Intel Corporation|82371AB PIIX4 IDE
usb-uhci: Intel Corporation|82371AB PIIX4 USB
unknown : Intel Corporation|82371AB PIIX4 ACPI - Bus Master IDE
Controller
aic7xxx : Adaptec|AHA-2940U2/W / 7890
ne2k-pci: Realtek|RTL-8029(AS)
Card:NVIDIA GeForce2 DDR (generic): nVidia Corporation|NV11

here it is.
the mobo is a Asus P2BS, with onboard AHA2940 controller. The actual 
cdrw is correctly terminated, and the scsi id is unique.


-- 


ma i floppy da 1e7 tengono dieci milioni di byte?







Re: [expert] cdrecord always fail

2001-06-16 Thread civileme

On Saturday 16 June 2001 19:24, munehiro wrote:
 i've a lot of problems with LM8 and cdrecord.
 Some weeks ago i bought a ATAPI Acer cdrw, and tried to record
 some cd's. Cdrecord always produced errors, so i thought the
 recorder was broken and i took back. I changed the cdrw with
 another acer. Tried this, same problem. Brought back, took
 another, same problem.
 After this, i brought back the last acer and took an yamaha
 2100 SCSI. tried it. same problem. This time i'm quite sure
 it's not an hardware problem.

 I tried the cdrecord shipped with mandrake, and the cdrecord
 1.11a03 (the last from the schilling site). I also recompiled
 the last 2.4.5 kernel. same problem.

 i also tried to change the media, and i tried 2 or 3 different
 media. No results.

 I started searching on deja. A lot of people have my problem,
 but no one get a valid and useful (for them and for me) reply.

 this is the report (with 1.9, the report with 1.11a03 is
 identical). Sometimes instead of fatal error i get a retryable
 error, but the writing fails in the same manner.


 [root@quela bin]# ./cdrecord -v speed=8 dev=/dev/sgb
 /mnt/iso.iso Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C)
 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM
 scsidev: '/dev/sgb'
 devname: '/dev/sgb'
 scsibus: -2 target: -2 lun: -2
 Linux sg driver version: 3.1.17
 Using libscg version 'schily-0.1'
 atapi: 0
 Device type: Removable CD-ROM
 Version: 2
 Response Format: 2
 Capabilities   : SYNC
 Vendor_info: 'YAMAHA  '
 Identifikation : 'CRW2100S'
 Revision   : '1.0H'
 Device seems to be: Generic mmc CD-RW.
 Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
 Driver flags   : SWABAUDIO
 Drive buf size : 7582848 = 7405 KB
 FIFO size  : 4194304 = 4096 KB
 Track 01: data  629 MB
 Total size: 723 MB (71:38.58) = 322394 sectors
 Lout start: 723 MB (71:40/44) = 322394 sectors
 Current Secsize: 2048
 ATIP info from disk:
   Indicated writing power: 4
   Is not unrestricted
   Is not erasable
   Disk sub type: Medium Type A, high Beta category (A+) (3)
   ATIP start of lead in:  -11079 (97:34/21)
   ATIP start of lead out: 359849 (79:59/74)
 Disk type:Long strategy type (Cyanine, AZO or similar)
 Manuf. index: 11
 Manufacturer: Mitsubishi Chemical Corporation
 Blocks total: 359849 Blocks current: 359849 Blocks remaining:
 37455 Starting to write CD/DVD at speed 8 in write mode for
 single session. Last chance to quit, starting real write in 1
 seconds. Waiting for reader process to fill input buffer ...
 input buffer ready. Performing OPC...
 Starting new track at sector: 0
 Track 01:   6 of 629 MB written (fifo  85%)../cdrecord:
 Input/output error. write_g1: scsi sendcmd: fatal error CDB: 
 2A 00 00 00 0C 5A 00 00 1F 00

 write track data: error after 6475776 bytes
 Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00
 00 00 Writing  time:   21.307s
 Fixating...
 Fixating time:   31.199s
 ./cdrecord: fifo had 166 puts and 103 gets.
 ./cdrecord: fifo was 0 times empty and 20 times full, min fill
 was 84%.

 many thanks for the help. After this, i'll start downloading
 nero and seek for a windoze installation ;_;


Looks like a streaming problem.  Is the IDE channel on DMA?

hdparm  /dev/hdc(or whatever place your device is plugged in)

Should tell you.  If you are not getting DMA, you cannot write a 
CD, most times.

Civileme




Re: [expert] cdrecord always fail

2001-06-16 Thread civileme

On Saturday 16 June 2001 19:24, munehiro wrote:
 i've a lot of problems with LM8 and cdrecord.
 Some weeks ago i bought a ATAPI Acer cdrw, and tried to record
 some cd's. Cdrecord always produced errors, so i thought the
 recorder was broken and i took back. I changed the cdrw with
 another acer. Tried this, same problem. Brought back, took
 another, same problem.
 After this, i brought back the last acer and took an yamaha
 2100 SCSI. tried it. same problem. This time i'm quite sure
 it's not an hardware problem.

 I tried the cdrecord shipped with mandrake, and the cdrecord
 1.11a03 (the last from the schilling site). I also recompiled
 the last 2.4.5 kernel. same problem.

 i also tried to change the media, and i tried 2 or 3 different
 media. No results.

 I started searching on deja. A lot of people have my problem,
 but no one get a valid and useful (for them and for me) reply.

 this is the report (with 1.9, the report with 1.11a03 is
 identical). Sometimes instead of fatal error i get a retryable
 error, but the writing fails in the same manner.


 [root@quela bin]# ./cdrecord -v speed=8 dev=/dev/sgb
 /mnt/iso.iso Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C)
 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM
 scsidev: '/dev/sgb'
 devname: '/dev/sgb'
 scsibus: -2 target: -2 lun: -2
 Linux sg driver version: 3.1.17
 Using libscg version 'schily-0.1'
 atapi: 0
 Device type: Removable CD-ROM
 Version: 2
 Response Format: 2
 Capabilities   : SYNC
 Vendor_info: 'YAMAHA  '
 Identifikation : 'CRW2100S'
 Revision   : '1.0H'
 Device seems to be: Generic mmc CD-RW.
 Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
 Driver flags   : SWABAUDIO
 Drive buf size : 7582848 = 7405 KB
 FIFO size  : 4194304 = 4096 KB
 Track 01: data  629 MB
 Total size: 723 MB (71:38.58) = 322394 sectors
 Lout start: 723 MB (71:40/44) = 322394 sectors
 Current Secsize: 2048
 ATIP info from disk:
   Indicated writing power: 4
   Is not unrestricted
   Is not erasable
   Disk sub type: Medium Type A, high Beta category (A+) (3)
   ATIP start of lead in:  -11079 (97:34/21)
   ATIP start of lead out: 359849 (79:59/74)
 Disk type:Long strategy type (Cyanine, AZO or similar)
 Manuf. index: 11
 Manufacturer: Mitsubishi Chemical Corporation
 Blocks total: 359849 Blocks current: 359849 Blocks remaining:
 37455 Starting to write CD/DVD at speed 8 in write mode for
 single session. Last chance to quit, starting real write in 1
 seconds. Waiting for reader process to fill input buffer ...
 input buffer ready. Performing OPC...
 Starting new track at sector: 0
 Track 01:   6 of 629 MB written (fifo  85%)../cdrecord:
 Input/output error. write_g1: scsi sendcmd: fatal error CDB: 
 2A 00 00 00 0C 5A 00 00 1F 00

 write track data: error after 6475776 bytes
 Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00
 00 00 Writing  time:   21.307s
 Fixating...
 Fixating time:   31.199s
 ./cdrecord: fifo had 166 puts and 103 gets.
 ./cdrecord: fifo was 0 times empty and 20 times full, min fill
 was 84%.

 many thanks for the help. After this, i'll start downloading
 nero and seek for a windoze installation ;_;


Something clicked--can you also send the output of lspcidrake?

Civileme




Re: [expert] cdrecord always fail

2001-06-16 Thread Larry Sword

munehiro wrote:
 
 On Sun, Jun 17, 2001 at 01:47:34AM -0400, civileme wrote:
 
  Something clicked--can you also send the output of lspcidrake?
 
 
 [root@quela munehiro]# lspcidrake
 agpgart : Intel Corporation|440BX/ZX - 82443BX/ZX Host bridge
 unknown : Intel Corporation|440BX/ZX - 82443BX/ZX AGP bridge
 unknown : Intel Corporation|82371AB PIIX4 ISA
 unknown : Intel Corporation|82371AB PIIX4 IDE
 usb-uhci: Intel Corporation|82371AB PIIX4 USB
 unknown : Intel Corporation|82371AB PIIX4 ACPI - Bus Master IDE
 Controller
 aic7xxx : Adaptec|AHA-2940U2/W / 7890
 ne2k-pci: Realtek|RTL-8029(AS)
 Card:NVIDIA GeForce2 DDR (generic): nVidia Corporation|NV11
 
 here it is.
 the mobo is a Asus P2BS, with onboard AHA2940 controller. The actual
 cdrw is correctly terminated, and the scsi id is unique.
 
 --
 
 
 ma i floppy da 1e7 tengono dieci milioni di byte?
 
 
munehiro:

I see that you have an nVida GeForce video. My question, are you running
your   X-Windows system at a DefaultDepth 16 and DRI? The reason for
my question: I have a Maxtor G400 and when my Xf86Config-4 Section
Screen was set for a DefaultDepth 16, which enabled the DRI my
system would fault with the same errors as you are having. The ONLY way
I could correct this was to change the DefaultDepth to 24 which disabled
DRI for my card and system. After doing this my system now burns cd
just fine. Don't know if this is you problem, but worth a try.

Larry

-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587