linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1
@ 2006-11-08 19:17 Andrew Lyon
  2006-11-08 20:23 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lyon @ 2006-11-08 19:17 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Kernel Mailing List, linux-ide

On 10/24/06, Bill Davidsen <davidsen@tmr.com> wrote:
>
> Andrew Lyon wrote:
> >> Hi,
> >>
> >> I have a Samsung SH-W163A SATA CD/DVDRW connected to jmicron
> >> 20360/20363 onboard sata controller, running kernel 2.6.18 with sr_mod
> >> loaded I can mount recorded/original disks and read them, but if I try
> >> to burn a cd or dvd using cdrecord, and somtimes when mounting media I
> >> get loads of errors in dmesg and the burn fails:
>
> Not having any SATA CD burners, I can only go by my experience using USB
> and Firewire burners, which also appear to be SCSI. They work fine using
> the device name rather than playing with the ATA or ATAPI stuff. And if
> you're using ProDVD I suggest you download the latest cdrecord from the
> usual site and build that, DVD support is now in the cdrecord source, as
> it is in most distributions.
>
> I use multiple PATA and USB burners on several systems, and haven't had
> problems. I actually do have SCSI devices, they have always worked and
> continue to (slowly) do so.
>
> If you post again after trying the current source, please include the
> command used as well as the output from the log. By using the latest you
> at least MIGHT get some help from the author, instead of the usual
> "don't bother me with obsolete versions" reply.


Ok, now updated to kernel 2.6.18.1 and newer cdrtools:

 ./cdrecord -sao /store/test.iso dev=/dev/dvdrw
Cdrecord-ProDVD-Clone 2.01.01a19 (i686-pc-linux-gnu) Copyright (C)
1995-2006 Jörg Schilling
./cdrecord: Warning: Running on Linux-2.6.18-gentoo-r1
./cdrecord: There are unsettled issues with Linux-2.5 and newer.
./cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/dvdrw'
devname: '/dev/dvdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-W163A'
Revision       : 'TS01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
./cdrecord: CD/DVD-Recorder not ready.


And the same messages in dmesg:

ata2.00: speed down requested but no transfer mode left
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: (irq_stat 0x48000000, interface fatal error)
ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
ata2: soft resetting port
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for PIO0
ata2: EH complete
ata2.00: speed down requested but no transfer mode left
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: (irq_stat 0x48000000, interface fatal error)
ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
ata2: soft resetting port
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for PIO0
ata2: EH complete
ata2.00: speed down requested but no transfer mode left
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: (irq_stat 0x48000000, interface fatal error)
ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
ata2: soft resetting port
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for PIO0
ata2: EH complete
ata2.00: speed down requested but no transfer mode left
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: (irq_stat 0x48000000, interface fatal error)
ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
ata2: soft resetting port
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for PIO0
ata2: EH complete
ata2.00: speed down requested but no transfer mode left
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata2.00: (irq_stat 0x48000000, interface fatal error)
ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
ata2: soft resetting port
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for PIO0
ata2: EH complete

Andy




> >>
> >> ata2.00: speed down requested but no transfer mode left
> >> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> >> ata2.00: (irq_stat 0x48000000, interface fatal error)
> >> ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
> >> ata2: soft resetting port
> >> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> >> ata2.00: configured for PIO0
> >> ata2: EH complete
> >> ata2.00: speed down requested but no transfer mode left
> >> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> >> ata2.00: (irq_stat 0x48000000, interface fatal error)
> >> ata2.00: tag 0 cmd 0xa0 Emask 0x50 stat 0x51 err 0x30 (ATA bus error)
> >> ata2: soft resetting port
> >> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> >> ata2.00: configured for PIO0
> >> ata2: EH complete
> >> ata2.00: speed down requested but no transfer mode left
> >> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> >> ata2.00: (irq_stat 0x48000000, interface fatal error)
> >>
> >>
> >> It looks like the interface is trying to run at 1.5Gbps which is
> >> obviously too fast for this drive, is there any way to set the
> >> interface speed ? I have a WD Raptor on the other sata port of the
> >> jmicron and that works perfectly (as long as NCQ is disabled - drive
> >> firmware bug).
> >>
> >> What is the status of sata cd/dvdrw support? It is getting hard to buy
> >> machines with IDE writers, most of our workstations are dell and have
> >> only sata devices, we have similar problems with those.
> >>
> >> Andy
> >>
> >
> > I've done some more testing, I do not get the errors above when
> > reading a cd or dvd, only when I try to record using cdrecord (or
> > other apps) using ATAPI, here is some info from cdrecord:
> >
> > cdrecord dev=ATAPI:0,0,0 -checkdrive
> > Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C)
> > 1995-2006 Jörg Schilling
> > scsidev: 'ATAPI:0,0,0'
> > devname: 'ATAPI'
> > scsibus: 0 target: 0 lun: 0
> > Warning: Using ATA Packet interface.
> > Warning: The related Linux kernel interface code seems to be unmaintained.
> > Warning: There is absolutely NO DMA, operations thus are slow.
> > Using libscg version 'schily-0.8'.
> > Device type    : Removable CD-ROM
> > Version        : 5
> > Response Format: 2
> > Capabilities   :
> > Vendor_info    : 'TSSTcorp'
> > Identifikation : 'CD/DVDW SH-W163A'
> > Revision       : 'TS01'
> > Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> > Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
> > Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
> > Supported modes: PACKET SAO
> >
> >
> > Are these codes: Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen , from
> > the kernel? or from the sata chip? if they are from the chip does
> > anybody know where I might find datasheets for  JMicron 20360/20363
> > AHCI Controller (rev 02) ? perhaps I might find a clue there..
> >
> > Read speeds seem ok, 15MB/sec from a original dvd.
> >
> > andy
>
>
> --
> Bill Davidsen <davidsen@tmr.com>
>    Obscure bug of 2004: BASH BUFFER OVERFLOW - if bash is being run by a
> normal user and is setuid root, with the "vi" line edit mode selected,
> and the character set is "big5," an off-by-one errors occurs during
> wildcard (glob) expansion.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1
  2006-11-08 19:17 Andrew Lyon
@ 2006-11-08 20:23 ` Alan Cox
  2006-11-09 12:26   ` Bill Davidsen
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2006-11-08 20:23 UTC (permalink / raw)
  To: Andrew Lyon; +Cc: Bill Davidsen, Kernel Mailing List, linux-ide

Several people are reporting problems with AHCI and CD burning - are all
the people concerned seeing this with Jmicron controllers or with other
cases too ?

Alan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1
  2006-11-09 12:26   ` Bill Davidsen
@ 2006-11-09 12:25     ` Andrew Lyon
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lyon @ 2006-11-09 12:25 UTC (permalink / raw)
  To: Bill Davidsen, linux-ide

On 11/9/06, Bill Davidsen <davidsen@tmr.com> wrote:
> Alan Cox wrote:
>
> >Several people are reporting problems with AHCI and CD burning - are all
> >the people concerned seeing this with Jmicron controllers or with other
> >cases too ?
> >
> Now that you say that, I did have problems in the May-June time frame
> with AHCI. The machine has since been redeployed, but I doubt that it
> was a Jmicron controller, it was whatever Dell was shipping when
> Pentium-II was still in use. I dropped in a new UHCI card and the
> problems went away.
>
> Andrew, I don't know if using another interface is an option for you,
> but it might be useful information if you could try.
>
> --
> bill davidsen <davidsen@tmr.com>
>   CTO TMR Associates, Inc
>   Doing interesting things with small computers since 1979
>
>

The system has sata_piix ports as well, currently all used with hds,
but I can remove them as the boot/os hd is on the jmicron, I will do
that this weekend and report back.

Andy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1
  2006-11-08 20:23 ` Alan Cox
@ 2006-11-09 12:26   ` Bill Davidsen
  2006-11-09 12:25     ` Andrew Lyon
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Davidsen @ 2006-11-09 12:26 UTC (permalink / raw)
  To: Alan Cox; +Cc: Andrew Lyon, Kernel Mailing List, linux-ide

Alan Cox wrote:

>Several people are reporting problems with AHCI and CD burning - are all
>the people concerned seeing this with Jmicron controllers or with other
>cases too ?
>
Now that you say that, I did have problems in the May-June time frame 
with AHCI. The machine has since been redeployed, but I doubt that it 
was a Jmicron controller, it was whatever Dell was shipping when 
Pentium-II was still in use. I dropped in a new UHCI card and the 
problems went away.

Andrew, I don't know if using another interface is an option for you, 
but it might be useful information if you could try.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1
@ 2006-11-11  0:39 Fredrik
  0 siblings, 0 replies; 5+ messages in thread
From: Fredrik @ 2006-11-11  0:39 UTC (permalink / raw)
  To: linux-ide

>Several people are reporting problems with AHCI and CD burning - are
>all
>the people concerned seeing this with Jmicron controllers or with other
>cases too ?
>
>Alan

I have the same problems as Andrew Lyon when connected to jmicron 20363
AHCI. Samsung SH-S183A in my case. I'm currently using it on the onboard
ICH8 controller and that gives no errors. Asus P5B motherboard.

/Fredrik Rinnestam

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-11  0:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-11  0:39 Problems with Samsung SH-W163A SATA CD/DVDRW JMicron 20360/20363 2.6.18.1 Fredrik
  -- strict thread matches above, loose matches on Subject: below --
2006-11-08 19:17 Andrew Lyon
2006-11-08 20:23 ` Alan Cox
2006-11-09 12:26   ` Bill Davidsen
2006-11-09 12:25     ` Andrew Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).