2008-01-28 23:22:24

by Christoph Anton Mitterer

[permalink] [raw]
Subject: Blu Ray LG GGW-H20L crashes Linux

Hi everybody.

I've just bought and installed a LG GGW-H20L Blu-Ray burner,...
This is an SATA device, I'm running a 2.6.23.10 kernel (not the Debian
version) on Debian sid (AMD64) and I use the proprietary nvidia drivers
(169.07).
The system is an Dual (!) DualCore AMD Opteron machine.
(Please ask if you need further information)

The kernel seems to correctly identify the device (part of dmesg):
Jan 28 23:22:28 fermat kernel: ata4: SATA link up 1.5 Gbps (SStatus 113
SControl 300)
Jan 28 23:22:28 fermat kernel: ata4.00: ATAPI: HL-DT-ST BD-RE GGW-H20L,
YL02, max UDMA/133
Jan 28 23:22:28 fermat kernel: ata4.00: configured for UDMA/133
Jan 28 23:22:28 fermat kernel: scsi 2:0:0:0: Direct-Access ATA
ST3750640AS 3.AA PQ: 0 ANSI: 5
Jan 28 23:22:28 fermat kernel: ata3: bounce limit 0xFFFFFFFFFFFFFFFF,
segment boundary 0xFFFFFFFF, hw segs 61
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] 1465149168 512-byte
hardware sectors (750156 MB)
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write Protect is off
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] 1465149168 512-byte
hardware sectors (750156 MB)
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write Protect is off
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write cache: enabled,
read cache: enabled, doesn't support DPO or FUA
Jan 28 23:22:28 fermat kernel: sdc: sdc1
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Attached SCSI disk
Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: Attached scsi generic sg2
type 0
Jan 28 23:22:28 fermat kernel: scsi 3:0:0:0: CD-ROM HL-DT-ST
BD-RE GGW-H20L YL02 PQ: 0 ANSI: 5
Jan 28 23:22:28 fermat kernel: ata4: bounce limit 0xFFFFFFFF, segment
boundary 0xFFFF, hw segs 127
Jan 28 23:22:28 fermat kernel: sr0: scsi3-mmc drive: 0x/0x caddy
Jan 28 23:22:28 fermat kernel: sr 3:0:0:0: Attached scsi CD-ROM sr0
Jan 28 23:22:28 fermat kernel: sr 3:0:0:0: Attached scsi generic sg3
type 5


Anyway,... as soon as I insert an BluRay disc or an DVD my system
crashes (it either freezes, that happened with the DVD-R, or it reboots,
that happened with the BluRay disc).

There are no panics, oopses, or any other messages in the usual logs (at
least I didn't recognize them ;) ).

Any ideas?

Thanks and best wishes,
Chris.

btw: I'm cross posting this to lkml and debian-user,... hope nobody
feels offended :-)


2008-01-28 23:36:54

by Robert Hancock

[permalink] [raw]
Subject: Re: Blu Ray LG GGW-H20L crashes Linux

Christoph Anton Mitterer wrote:
> Hi everybody.
>
> I've just bought and installed a LG GGW-H20L Blu-Ray burner,...
> This is an SATA device, I'm running a 2.6.23.10 kernel (not the Debian
> version) on Debian sid (AMD64) and I use the proprietary nvidia drivers
> (169.07).
> The system is an Dual (!) DualCore AMD Opteron machine.
> (Please ask if you need further information)
>
> The kernel seems to correctly identify the device (part of dmesg):
> Jan 28 23:22:28 fermat kernel: ata4: SATA link up 1.5 Gbps (SStatus 113
> SControl 300)
> Jan 28 23:22:28 fermat kernel: ata4.00: ATAPI: HL-DT-ST BD-RE GGW-H20L,
> YL02, max UDMA/133
> Jan 28 23:22:28 fermat kernel: ata4.00: configured for UDMA/133
> Jan 28 23:22:28 fermat kernel: scsi 2:0:0:0: Direct-Access ATA
> ST3750640AS 3.AA PQ: 0 ANSI: 5
> Jan 28 23:22:28 fermat kernel: ata3: bounce limit 0xFFFFFFFFFFFFFFFF,
> segment boundary 0xFFFFFFFF, hw segs 61
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] 1465149168 512-byte
> hardware sectors (750156 MB)
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write Protect is off
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write cache: enabled,
> read cache: enabled, doesn't support DPO or FUA
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] 1465149168 512-byte
> hardware sectors (750156 MB)
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write Protect is off
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Write cache: enabled,
> read cache: enabled, doesn't support DPO or FUA
> Jan 28 23:22:28 fermat kernel: sdc: sdc1
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: [sdc] Attached SCSI disk
> Jan 28 23:22:28 fermat kernel: sd 2:0:0:0: Attached scsi generic sg2
> type 0
> Jan 28 23:22:28 fermat kernel: scsi 3:0:0:0: CD-ROM HL-DT-ST
> BD-RE GGW-H20L YL02 PQ: 0 ANSI: 5
> Jan 28 23:22:28 fermat kernel: ata4: bounce limit 0xFFFFFFFF, segment
> boundary 0xFFFF, hw segs 127
> Jan 28 23:22:28 fermat kernel: sr0: scsi3-mmc drive: 0x/0x caddy
> Jan 28 23:22:28 fermat kernel: sr 3:0:0:0: Attached scsi CD-ROM sr0
> Jan 28 23:22:28 fermat kernel: sr 3:0:0:0: Attached scsi generic sg3
> type 5
>
>
> Anyway,... as soon as I insert an BluRay disc or an DVD my system
> crashes (it either freezes, that happened with the DVD-R, or it reboots,
> that happened with the BluRay disc).
>
> There are no panics, oopses, or any other messages in the usual logs (at
> least I didn't recognize them ;) ).
>
> Any ideas?
>
> Thanks and best wishes,
> Chris.
>
> btw: I'm cross posting this to lkml and debian-user,... hope nobody
> feels offended :-)

How much RAM is in your machine? There's a known problem with sata_nv
ADMA with ATAPI devices and over 4GB of RAM. As a temporary workaround,
you can boot with sata_nv.adma=0 on the kernel command line, or limit
your memory with the mem= command line option so that memory over 4GB is
not used.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2008-01-28 23:43:28

by Christoph Anton Mitterer

[permalink] [raw]
Subject: Re: Blu Ray LG GGW-H20L crashes Linux


On Mon, 2008-01-28 at 17:38 -0600, Robert Hancock wrote:
> Christoph Anton Mitterer wrote:
> > btw: I'm cross posting this to lkml and debian-user,... hope nobody
> > feels offended :-)
>
> How much RAM is in your machine? There's a known problem with sata_nv
> ADMA with ATAPI devices and over 4GB of RAM.
Uhm *tadaaa* ... got 4GB ^^
Ok,.. so If this only applies to ATAPI devices it should be clear why my
SATA HDDs aren't affected ;)

> As a temporary workaround,
> you can boot with sata_nv.adma=0 on the kernel command line, or limit
> your memory with the mem= command line option so that memory over 4GB is
> not used.
Great,.. will have a try tomorrow :-)

Is this already fixed in git?

best wishes,
Chris.


Attachments:
smime.p7s (4.99 kB)

2008-01-28 23:45:58

by Robert Hancock

[permalink] [raw]
Subject: Re: Blu Ray LG GGW-H20L crashes Linux

Christoph Anton Mitterer wrote:
> On Mon, 2008-01-28 at 17:38 -0600, Robert Hancock wrote:
>> Christoph Anton Mitterer wrote:
>>> btw: I'm cross posting this to lkml and debian-user,... hope nobody
>>> feels offended :-)
>> How much RAM is in your machine? There's a known problem with sata_nv
>> ADMA with ATAPI devices and over 4GB of RAM.
> Uhm *tadaaa* ... got 4GB ^^
> Ok,.. so If this only applies to ATAPI devices it should be clear why my
> SATA HDDs aren't affected ;)
>
>> As a temporary workaround,
>> you can boot with sata_nv.adma=0 on the kernel command line, or limit
>> your memory with the mem= command line option so that memory over 4GB is
>> not used.
> Great,.. will have a try tomorrow :-)
>
> Is this already fixed in git?

Nope, I/we are still trying to figure out how to fix this properly..

2008-01-28 23:50:49

by Christoph Anton Mitterer

[permalink] [raw]
Subject: Re: Blu Ray LG GGW-H20L crashes Linux

On Mon, 2008-01-28 at 17:47 -0600, Robert Hancock wrote:
> Nope, I/we are still trying to figure out how to fix this properly..
I see :-)
Uhm is there a bugreport opened, so that I can trace your efforts? Or
would you be so kind to inform me when you have a patch an Linus
accepted it? :-)

btw: Could you also fix that AACS issue?? (ok I know that this isn't
bluray related,... ;-P )

Thanks,
Chris.


Attachments:
smime.p7s (4.99 kB)

2008-01-28 23:56:39

by Robert Hancock

[permalink] [raw]
Subject: Re: Blu Ray LG GGW-H20L crashes Linux

Christoph Anton Mitterer wrote:
> On Mon, 2008-01-28 at 17:47 -0600, Robert Hancock wrote:
>> Nope, I/we are still trying to figure out how to fix this properly..
> I see :-)
> Uhm is there a bugreport opened, so that I can trace your efforts? Or
> would you be so kind to inform me when you have a patch an Linus
> accepted it? :-)
>
> btw: Could you also fix that AACS issue?? (ok I know that this isn't
> bluray related,... ;-P )
>
> Thanks,
> Chris.

I don't know about kernel.org Bugzilla, but there's a Red Hat Bugzilla
entry here:

https://bugzilla.redhat.com/show_bug.cgi?id=351451