On 14/06/12 21:08, Justin Stringfellow wrote:
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-ROM HL-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
Different configs for different BIOS's. I cannot find anything to do
with scsi in mine. The output from the commands that he suggests
(altered to fit) are:
peterm@peterm-desktop:~$ dmesg | grep scsi | grep TSSTcorp
[ 3.517846] scsi 2:0:0:0: CD-ROM TSSTcorp CDDVDW SH-222BB
SB00 PQ: 0 ANSI: 5
[ 4.205586] scsi 3:0:0:0: CD-ROM TSSTcorp CDDVDW SH-222BB
SB00 PQ: 0 ANSI: 5
peterm@peterm-desktop:~$ dmesg | grep scsi[0-5]\ :
[ 2.573403] scsi0 : pata_sis
[ 2.573563] scsi1 : pata_sis
[ 3.171061] scsi2 : sata_sis
[ 3.173867] scsi3 : sata_sis
peterm@peterm-desktop:~$
I notice that both Sata disks are 'Masters' but not sure if that is
relevant.
This error might be: I need to look into it more:
[ 3.492161] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 3F0)
[ 3.500478] ata3.00: ATAPI: TSSTcorp CDDVDW SH-222BB, SB00, max UDMA/100
[ 3.516266] ata3.00: configured for UDMA/100
[ 3.517846] scsi 2:0:0:0: CD-ROM TSSTcorp CDDVDW SH-222BB
SB00 PQ: 0 ANSI: 5
*** [ 3.518932] ata3.00: exception Emask 0x100 SAct 0x0 SErr 0x0
action 0x6
[ 3.518946] ata3: hard resetting link
[ 3.836071] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl
3F0) *** repeat of above
[ 3.860223] ata3.00: configured for
UDMA/100 *** repeat of above
[ 3.860669] ata3: EH
complete
** OK now
[ 3.862759] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw
xa/form2 cdda tray
[ 3.862765] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.863094] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 3.863358] sr 2:0:0:0: Attached scsi generic sg1 type 5
[ 4.180076] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 3F0)
[ 4.188225] ata4.00: ATAPI: TSSTcorp CDDVDW SH-222BB, SB00, max UDMA/100
[ 4.204224] ata4.00: configured for UDMA/100
[ 4.205586] scsi 3:0:0:0: CD-ROM TSSTcorp CDDVDW SH-222BB
SB00 PQ: 0 ANSI: 5
[ 4.206602] ata4.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6
[ 4.206614] ata4: hard resetting link
[ 4.524071] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 3F0)
[ 4.548230] ata4.00: configured for UDMA/100
[ 4.548640] ata4: EH complete
[ 4.550717] sr1: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw
xa/form2 cdda tray
[ 4.551018] sr 3:0:0:0: Attached scsi CD-ROM sr1
[ 4.551277] sr 3:0:0:0: Attached scsi generic sg2 type 5
[ 4.569101] ata4.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6
[ 4.569118] ata4: hard resetting link
https://ata.wiki.kernel.org/index.php/Libata_error_messages explains
the error message.
Other suggestions are faulty cables, but I don't think two would be
faulty (- but they did both come from the same place at the same time.)
Also poor power.
Another suggestion is to set acpi = off. But that is if it is a
timeout problem.
looking at above, I think it is just not responding fast enough and the
Hard reset enables it to respond appropriately.
--- Forget that-- looking further down dmesg it keeps repeating this
set of data, hard resetting and trying again.
--- Needs more thinking - It played one track of a Jelly Roll Morton CD
and froze Kaffeine with all sorts of errors in dmesg.
PM.
--
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