Re: Answer (was Re: cdrecord + mache dvd patch question)
On Thu, 28 Feb 2002, Derrick J Brashear wrote: On Thu, 28 Feb 2002, Derrick J Brashear wrote: The machine has a PIIX4 onboard controller. I don't know if it's a problem; If I can come up with another piece of hardware to try this drive in, I will, but a communications time-out makes no sense. hdparm -c1 -d0 -X11 -p /dev/hdc made this problem go away. Why using DMA causes logical unit communication time-out I have no idea. It is possible, even probably that there is an error in the DMA support in the firmware of the drive. Um, you did build the kernel with support for DMA in the PIIX$ chipset and use DMA if available I assume? I'm not sure what would happen if you turned on DMA between the controller and the drive and not between the chipset and RAM. Using DMA will result in a large reduction in CPU usage, and I believe that's true only when the whole path is DMA. I haven't deliberately tried it, though. I do run all my ATAPI systems with DMA if the drive supports that feature. Glad it works. -- -bill davidsen ([EMAIL PROTECTED]) The secret to procrastination is to put things off until the last possible moment - but no longer -me -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ANSWER (was Re: cdrecord + mache dvd patch question)
On Wed, 27 Feb 2002, Derrick J Brashear wrote: cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 04 9E 7B 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 01 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 2.007s timeout 100s Just to correlate this with some Pioneer documentation in case someone else later has the same problem and uses Google usefully: http://www.pioneerelectronics.com/Pioneer/Files/PIB273900_DVDRRW-Gen_FAQ.pdf includes: What if I get the error, -10 at sector X - command: 2A sense: 04 ASC: 08 ASCQ: 01 To correct this error, disable DMA from the drive. In addition, you may need to disable DMA for this channel on the motherboard. It's of course not useful for explaining why, but at least Pioneer seems to think this is the right answer. -D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Answer (was Re: cdrecord + mache dvd patch question)
On Thu, 28 Feb 2002, Derrick J Brashear wrote: On Wed, 27 Feb 2002, Derrick J Brashear wrote: I had suggestions for bad cable and don't use the Promise PDC20267, so I replaced the IDE cable and moved the device to be (the only device) on the second onboard bus. I then used hdparm -d1 and we're back to (same command line and machine as before): [] I now must do something for work but when I come back I guess I will try some -X switches also. No change with that. No change when replaced the IDE cable yet again with another, this one still sealed in it's package. The machine has a PIIX4 onboard controller. I don't know if it's a problem; If I can come up with another piece of hardware to try this drive in, I will, but a communications time-out makes no sense. hdparm -c1 -d0 -X11 -p /dev/hdc made this problem go away. Why using DMA causes logical unit communication time-out I have no idea. -D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
On Wed, 27 Feb 2002, Joerg Schilling wrote: A buffer underrun, activate DMA and it will work. http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html Drive which is feeding it is DMA-enabled. When I enable DMA on the DVR-A03: cdrecord-prodvd-1.11a13-i586-pc-linux-gnu -dummy -dao dev=0,0,0 -v disc1 Track 01: 0 of 4458 MB written.cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 00 00 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 20 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.006s timeout 100s write track data: error after 0 bytes Sense Bytes: 70 00 00 00 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 Writing time:5.100s If I also turn on 32 bit I/O it doesn't even get that far and instead offers: cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Data will not fit on any disk. cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Cannot write CD's = 100 minutes. I also tried tweaking the DMA mode using various -X values to hdparm, with less success. This is with 2.4.3 as well as with stock 2.4.18; 2.4.18 with the IDE patch applied, incidentally not related to this, doesn't work on a machine with a PDC20267; It hangs probing drives hanging off the card. The system is running glibc 2.2.2 and is a dual processor Pentium 3 750. It started out as RedHat 7.1 but certainly isn't anymore. -D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
From: Derrick J Brashear [EMAIL PROTECTED] On Wed, 27 Feb 2002, Joerg Schilling wrote: A buffer underrun, activate DMA and it will work. http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/problems.html Drive which is feeding it is DMA-enabled. When I enable DMA on the DVR-A03: cdrecord-prodvd-1.11a13-i586-pc-linux-gnu -dummy -dao dev=0,0,0 -v disc1 Track 01: 0 of 4458 MB written.cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 00 00 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 20 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.006s timeout 100s Looks like a bad cable. Jörg EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) If you don't have iso-8859-1 [EMAIL PROTECTED] (work) chars I am Jorg Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
I had suggestions for bad cable and don't use the Promise PDC20267, so I replaced the IDE cable and moved the device to be (the only device) on the second onboard bus. I then used hdparm -d1 and we're back to (same command line and machine as before): cdrecord-prodvd-1.11a13-i586-pc-linux-gnu: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 04 9E 7B 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 01 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 2.007s timeout 100s hdparm -c1 had more useful result than failure-before-the-fact now, but also eventually offers the same failure. I now must do something for work but when I come back I guess I will try some -X switches also. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
Derrick J Brashear [EMAIL PROTECTED] writes: I have a DVR-A03 which I have used successfully to burn CDs with (this version of) cdrecord (1.11a11). When used with DVD media (the sample piece which came with the drive) I have had but one dummy burn succeed, and all others fail at a random point with e.g.: [...] Will I have better luck if I make some change to actually run at speed 1? Is there a guide on how to decode this information somewhere? Thus far my searches have turned up fruitless. Any success if you try with the cdrecord-dvdhack package that you can found (in dao mode only): ftp.free.fr:/pub/Distributions_Linux/Mandrake-devel/cooker/i586/Mandrake/RPMS/ -- Warly -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
On Tue, 26 Feb 2002, Warly wrote: Derrick J Brashear [EMAIL PROTECTED] writes: I have a DVR-A03 which I have used successfully to burn CDs with (this version of) cdrecord (1.11a11). When used with DVD media (the sample piece which came with the drive) I have had but one dummy burn succeed, and all others fail at a random point with e.g.: [...] Will I have better luck if I make some change to actually run at speed 1? Is there a guide on how to decode this information somewhere? Thus far my searches have turned up fruitless. Any success if you try with the cdrecord-dvdhack package that you can found (in dao mode only): ftp.free.fr:/pub/Distributions_Linux/Mandrake-devel/cooker/i586/Mandrake/RPMS/ Same, see below. I got the drive documentation and apparently it only burns CD-Rs in 2x speed mode; However, this seems a somewhat bizarre error for a data underrun. cdrecord-dvdhack: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 19 38 B8 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 01 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 2.007s timeout 200s write track data: error after 3385180160 bytes Sense Bytes: 70 00 00 00 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 Writing time: 1229.897s -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
On Tue, 26 Feb 2002, Derrick J Brashear wrote: Any success if you try with the cdrecord-dvdhack package that you can found (in dao mode only): ftp.free.fr:/pub/Distributions_Linux/Mandrake-devel/cooker/i586/Mandrake/RPMS/ Same, see below. And in the interest of equal opportunity discrimination, I tried cdrecord-ProDVD in -dummy mode as well, with the same result:-) I suspect the onboard IDE controller on the machine just sucks and I'm installing an ATA133 card I was able to scrounge to experiment further. -D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord + mache dvd patch question
Actually, I lied. I still do lose randomly with both the mache patch and the ProDVD version, but now the error is: status: 0x2 (CHECK CONDITION) Sense Bytes: F0 00 05 00 00 FA 10 0E 00 00 00 00 21 02 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x21 Qual 0x02 (logical block address out of range) [No matching qualifier] Fru 0x0 Sense flags: Blk 64016 (valid) cmd finished after 0.065s timeout 200s That said, I don't know what this really means. I'm looking for answers but if anyone has recommended reading, by all means, please suggest it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]