Hi all, Has anyone observed this before? My Samsung 348 DVD/CD-rw combo driver works flawlessly on Windows. Copying, CD-writing etc all works just fine. What pains is that accessing the drive in Linux causes regular read-errors. If I am playing a file/avi in mplayer, mplayer aborts. If I try to copy it in Linux, the file copy operation aborts. The same is done fantastically in Windows. Guess, it may be a problem with that particular CD and probably windows's copy command is a lot more fault tolerant compared to Linux [observed in the past also]. Is anyone having such a problem? Has anyone been able to solve this problem by using powertweak to alter latency/seek related parameters for a CD/DVD drive? Mine is running under IDE-scsi emulation. Thanks -- Rohit ----------------------------------------------------------------------------- +9122 5692 2108 G9,Floor-1,Chandivali : SDE : TLSI : 9821394599@bplmobile.com The note below, if any, is compulsorily added for non-mahindrabt recipients. ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com
On Wed, 2003-08-06 at 08:24, Rohit wrote:
Guess, it may be a problem with that particular CD Did you try any other CDs? Hardly though if it reads fine in windows. If it was a disc problem, it would moan in both.
and probably windows's copy command is a lot more fault tolerant compared to Linux [observed in the past also]. Windows is a lot more fault tolerant in general. Especially when it comes to hardware. If something like RAM or an IDE controller goes bad, windows will work happily (and likely start corrupting stuff later on) while the linux kernel WILL bitch.
What are the errors? Hans
On Wed, 06 Aug 2003, Rohit wrote:
Has anyone observed this before? My Samsung 348 DVD/CD-rw combo driver works flawlessly on Windows. Copying, CD-writing etc all works just fine. What pains is that accessing the drive in Linux causes regular read-errors. If I am playing a file/avi in mplayer, mplayer aborts. If I try to copy it in Linux, the file copy operation aborts. The same is done fantastically in Windows.
Got a new UDMA motherboard last year and started getting burn problems with CD-RW ide-scsi emulation that I never had before (with the same drive and same Linux on my old slow EIDE motherboard.) No consistent error messages, tried lots of different CD-R and CD-RW blanks So I had to disable UDMA on the CD-RW to get it to burn using hdparm -d1 X34 /dev/hdc which I put in /etc/init.d/boot.local (the LSB script for local admins to edit which executes immediately after booting.) Worked flawlessly since then. X34 might not be right for your drive. Sadly I don't know where if anywhere I documented my reasoning. AFAIR the docs for hdparm give most of the info you need, but there may be a more specific howto somewhere that googling might bring up. Hope this helps. David
On 08/10/2003 10:31 AM, David wrote:
Got a new UDMA motherboard last year and started getting burn problems with CD-RW ide-scsi emulation that I never had before (with the same drive and same Linux on my old slow EIDE motherboard.) No consistent error messages, tried lots of different CD-R and CD-RW blanks
So I had to disable UDMA on the CD-RW to get it to burn using
Do you mean disabling it in the BIOS?
hdparm -d1 X34 /dev/hdc
which I put in /etc/init.d/boot.local
Which ENABLES DMA. Actually, yours enables for udma 33. Just curious as it appears my CDRW has finally gone bad, and I was just wondering... -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Hi Joe! On Sun, 10 Aug 2003, Joe Morris (NTM) wrote:
On 08/10/2003 10:31 AM, David wrote:
Got a new UDMA motherboard last year and started getting burn problems with CD-RW ide-scsi emulation that I never had before (with the same drive and same Linux on my old slow EIDE motherboard.) No consistent error messages, tried lots of different CD-R and CD-RW blanks
So I had to disable UDMA on the CD-RW to get it to burn using
Do you mean disabling it in the BIOS?
Nope - I mean disabling it in the kernel - which is what the hdparm does. My BIOS Setting give hardly any control (KS75A mobo)
hdparm -d1 X34 /dev/hdc
which I put in /etc/init.d/boot.local
Which ENABLES DMA. Actually, yours enables for udma 33. Just curious as it appears my CDRW has finally gone bad, and I was just wondering...
UDMA is a very fast form of DMA which seems to be buggy in my older CD-RW. Disclaimer - I don't understand all that follows - it was merely good enough for me. This is what hdparm says :-
sudo /sbin/hdparm -i /dev/hdc
/dev/hdc: Model=SONY CD-RW CRX140E, FwRev=1.0n, SerialNo= Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=0kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=on/off, tPIO={min:180,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 UDMA modes: udma0 udma1 udma2 AdvancedPM=no Notice that the star is agains the mdma2 - this is a result of the X34 command I put in in the boot script. WIthout this it comes up with the * agains one of the umda modes (umda2 as far as I recall) and fails early in burns - and makes coasters. Thats all David
participants (4)
-
David
-
H du Plooy
-
Joe Morris (NTM)
-
Rohit