Re: [Dorset] New DVD writing error

2012-06-15 Thread Peter Merchant

On 14/06/12 23:07, Andrew Morgan wrote:

On 14/06/2012 20:36, Peter Merchant wrote:

Devices
---
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr0, CD-R, CD-RW, CD-ROM, 
DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, 
DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, 
DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [TAO, Restricted 
Overwrite, Layer Jump] [%7]
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr1, CD-R, CD-RW, CD-ROM, 
DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, 
DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, 
DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, 
SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted 
Overwrite, Layer Jump] [%7]



Is there any reason /dev/sr0 and /dev/sr1 show different results here?

Do they have the same (and latest) firmware?
I tend to check using 'dmesg' and searching the output for 'sr0', the 
line above the first instance of 'sr0' tends to be the correct one 
with drive info, eg. mine here says:


[1.865700] scsi 0:0:0:0: CD-ROMTSSTcorp DVDWBD 
SH-B123L  SB03 PQ: 0 ANSI: 5


Which is firmware SB03. I have just checked 5 drives and they all have 
the firmware version in the same place, so I am assuming it will be 
there.


I would be tempted to try one drive at a time, and writing an ISO 
(UDF, etc.) image, possibly using 'wodim'.


Ralph, Yes, it is old disk stock that I have had for a couple of years, 
but yesterday I wrote two disks of it from the XP machine


Victor, no, I have not tried removing and re-installing k3b. I will try 
that next.


Andrew,  Dmesg has:

[3.516235] ata3.00: ATAPI: TSSTcorp CDDVDW SH-222BB, SB00, max UDMA/100

[4.204228] ata4.00: ATAPI: TSSTcorp CDDVDW SH-222BB, SB00, max UDMA/100

So both look alike. I cannot find the text 'sr0' in Dmesg.
Actually the text around the line above is a bit disconcerting;

[4.196078] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 3F0)
[4.204228] ata4.00: ATAPI: TSSTcorp CDDVDW SH-222BB, SB00, max UDMA/100
[4.220223] ata4.00: configured for UDMA/100
[4.221613] scsi 3:0:0:0: CD-ROMTSSTcorp CDDVDW SH-222BB  
SB00 PQ: 0 ANSI: 5

[4.222628] ata4.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6
[4.222639] ata4: hard resetting link
[4.540071] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 3F0)
[4.564222] ata4.00: configured for UDMA/100
[4.564646] ata4: EH complete

Let's try re-installing kb3 and see if it is happier with these as they 
seem to favour UDMA.


I'll have to look into that.

Thanks everybody.





--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] New DVD writing error

2012-06-15 Thread Justin Stringfellow

On 14/06/2012 20:36, Peter Merchant wrote:

WRITE@LBA=240h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid
argument



Check out the following thread:
http://ubuntuforums.org/showthread.php?t=1317448

Other than that, try a live CD to see if it makes a difference (e.g. 
knoppix). Good luck burning that so you can boot off of it, though :)



(from the link above)
---
I solved! (it works at least for me)
You must verify that you DVD-writer have pata_atiixp driver for his scsi 
channel:


Code:

$ dmesg | grep scsi[0-5]\ :
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : pata_atiixp
scsi5 : pata_atiixp

4th and 5th chanell are controlled in pata_atiixp mode
then I plugged the SATA cable on 5th SATA connector on my mainboard
and after reboot:
Code:

$ dmesg | grep scsi | grep GH22NS50
scsi 5:0:1:0: CD-ROMHL-DT-ST DVDRAM GH22NS50  TN02 PQ: 0 ANSI: 5

well my DVDRAM is on 5th SATA channel, now

now I can burn DVDs!

Be sure that in your BIOS you have IDE (not AHCI) in SATA CONFIGURATION
after boot the kernel sets automatically on AHCI mode 4 (over 6) 
channels to AHCI


I noticed that on Intel-based mobo, scsi channels are always pata_atiixp
nb. AHCI is better than PATA_ATIIXP for SATA hard disks

I don't know how to select AHCI/PATA_PIIX mode in grub.conf kernel line

--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] New DVD writing error

2012-06-14 Thread Peter Merchant
Hi I have just replaced my old IDE DVD writer with a new Samsung 
SH-222BB from Novatech. This new one is a SATA drive. At that price I 
bought 2. I am using K3b to try and write a DVD data disc of photo's, 
and it fails. the error output is below. Can anyone point me at 
somewhere to look to resolve this? The old DVD wrote OK when it worked, 
it just got to the point where it screeched every time I put a CD/DVD in 
it and wouldn't read.


Thanks, Peter M

Burned media
---
DVD+R

Devices
---
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, 
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R 
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, 
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R 
Dual Layer, CD-ROM, CD-R, CD-RW] [TAO, Restricted Overwrite, Layer Jump] 
[%7]
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr1, CD-R, CD-RW, CD-ROM, DVD-ROM, 
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R 
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, 
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R 
Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, 
RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]


K3b::IsoImager
---
mkisofs print size result: 494277 (1012279296 bytes)

System
---
K3b Version: 2.0.2
KDE Version: 4.8.3 (4.8.3)
QT Version:  4.8.1
Kernel:  3.2.0-24-generic

Used versions
---
mkisofs: 1.1.11
growisofs: 7.1

growisofs
---
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: Current Write Speed is 16.4x1352KBps.
  0/1012279296 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU   0.0%
=== last message repeated 2 times. ===
:-[ WRITE@LBA=240h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid 
argument

:-( write failed: Invalid argument
/dev/sr0: flushing cache
/dev/sr0: closing track
/dev/sr0: closing session
:-[ CLOSE SESSION failed with SK=5h/CANNOT FORMAT MEDIUM - INCOMPATIBLE 
MEDIUM]: Wrong medium type


growisofs command:
---
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray 
-use-the-force-luke=tty -use-the-force-luke=4gms 
-use-the-force-luke=tracksize:494277 -speed=16 
-use-the-force-luke=bufsize:32m


mkisofs
---
494277
I: -input-charset not specified, using utf-8 (detected in locale settings)
  0.10% done, estimate finish Thu Jun 14 20:30:08 2012
  0.20% done, estimate finish Thu Jun 14 20:21:49 2012
 .
  3.34% done, estimate finish Thu Jun 14 20:20:11 2012
  3.44% done, estimate finish Thu Jun 14 20:19:59 2012

mkisofs calculate size command:
---
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid 
Christina's Camera -volset  -appid K3B THE CD KREATOR (C) 1998-2010 
SEBASTIAN TRUEG AND MICHAL MALEK -publisher  -preparer  -sysid LINUX 
-volset-size 1 -volset-seqno 1 -sort /tmp/kde-peterm/k3bJ13171.tmp 
-rational-rock -hide-list /tmp/kde-peterm/k3bH13171.tmp -joliet 
-joliet-long -hide-joliet-list /tmp/kde-peterm/k3bA13171.tmp 
-no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list 
/tmp/kde-peterm/k3bR13171.tmp


mkisofs command:
---
/usr/bin/genisoimage -gui -graft-points -volid Christina's Camera 
-volset  -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND 
MICHAL MALEK -publisher  -preparer  -sysid LINUX -volset-size 1 
-volset-seqno 1 -sort /tmp/kde-peterm/k3bC13171.tmp -rational-rock 
-hide-list /tmp/kde-peterm/k3bu13171.tmp -joliet -joliet-long 
-hide-joliet-list /tmp/kde-peterm/k3bP13171.tmp -no-cache-inodes 
-full-iso9660-filenames -iso-level 3 -path-list 
/tmp/kde-peterm/k3bp13171.tmp





--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] New DVD writing error

2012-06-14 Thread Ralph Corderoy
Hi Peter,

 :-[ CLOSE SESSION failed with SK=5h/CANNOT FORMAT MEDIUM -
 INCOMPATIBLE MEDIUM]: Wrong medium type

Is this a blank disk from old stock that you've had a while?

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] New DVD writing error

2012-06-14 Thread Victor Parr
Hi just wondered if you had tried uninstalling your burning software and
reinsatalling so the setup had a chance to point to the sata channel rather
than the ide channel.
just a thought and have you checked that the burner can write the disk type
your using (plus or minus) almost every burner  made lately can do both but
.. you never know
Cheers Victor P

On Thu, Jun 14, 2012 at 10:17 PM, Ralph Corderoy ra...@inputplus.co.ukwrote:

 Hi Peter,

  :-[ CLOSE SESSION failed with SK=5h/CANNOT FORMAT MEDIUM -
  INCOMPATIBLE MEDIUM]: Wrong medium type

 Is this a blank disk from old stock that you've had a while?

 Cheers, Ralph.

 --
 Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
 Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
 New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
 How to Report Bugs Effectively:  http://goo.gl/4Xue

--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] New DVD writing error

2012-06-14 Thread Andrew Morgan

On 14/06/2012 20:36, Peter Merchant wrote:

Devices
---
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, 
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R 
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, 
DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [TAO, Restricted 
Overwrite, Layer Jump] [%7]
TSSTcorp CDDVDW SH-222BB SB00 (/dev/sr1, CD-R, CD-RW, CD-ROM, DVD-ROM, 
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R 
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, 
DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, 
SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, 
Layer Jump] [%7]



Is there any reason /dev/sr0 and /dev/sr1 show different results here?

Do they have the same (and latest) firmware?
I tend to check using 'dmesg' and searching the output for 'sr0', the 
line above the first instance of 'sr0' tends to be the correct one with 
drive info, eg. mine here says:


[1.865700] scsi 0:0:0:0: CD-ROMTSSTcorp DVDWBD SH-B123L  
SB03 PQ: 0 ANSI: 5


Which is firmware SB03. I have just checked 5 drives and they all have 
the firmware version in the same place, so I am assuming it will be there.


I would be tempted to try one drive at a time, and writing an ISO (UDF, 
etc.) image, possibly using 'wodim'.


--

Andrew.



--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue