Thomas Drillich | 1 Oct 00:58
Favicon

ide dvd burner detected as ide-tape

Hi,

I found in the syslog:
Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00 
DRD)RAM GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00 rev 1*00
Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5, 
asc = 64, ascq =  0
Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed (assuming 
650KB/sec)
Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed (assuming 
650KB/sec)
Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5, 
asc = 64, ascq =  0
Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00 
DRD)RAM GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00 rev 1*00
Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5, 
asc = 64, ascq =  0
Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed (assuming 
650KB/sec)
Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed (assuming 
650KB/sec)
Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5, 
asc = 64, ascq =  0
-- end snip

but its a LG GH22LP20 DVD burner

cat /sys/bus/ide/devices/0.0/model returns
	HL)DP-ST <at> V@-RAI CH22HP20

(Continue reading)

Kay Sievers | 1 Oct 05:52
Gravatar

Re: ide dvd burner detected as ide-tape

On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> wrote:
> I found in the syslog:
> Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00
> DRD)RAM GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00 rev 1*00
> Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> asc = 64, ascq =  0
> Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed (assuming
> 650KB/sec)
> Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed (assuming
> 650KB/sec)
> Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> asc = 64, ascq =  0
> Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00
> DRD)RAM GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00 rev 1*00
> Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> asc = 64, ascq =  0
> Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed (assuming
> 650KB/sec)
> Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed (assuming
> 650KB/sec)
> Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> asc = 64, ascq =  0
> -- end snip
>
> but its a LG GH22LP20 DVD burner
>
> cat /sys/bus/ide/devices/0.0/model returns
>        HL)DP-ST <at> V@-RAI CH22HP20
>
> what can I do ?
(Continue reading)

Thomas Drillich | 3 Oct 15:27
Favicon

Re: ide dvd burner detected as ide-tape

I did some more research on the LG GH22LP20 DVD burner
 http://www.lge.com/products/model/detail/gh22lp20.jhtml

>udevinfo -a -p /sys/class/ide_port/ide0/device/0.0
  looking at device '/devices/pci0000:00/0000:00:1f.0/ide0/0.0':
    KERNEL=="0.0"
    SUBSYSTEM=="ide"
    DRIVER==""
    ATTR{media}=="tape"
    ATTR{drivename}=="hda"
    ATTR{modalias}=="ide:m-tape"
    ATTR{model}=="HL)DP-ST <at> V@-RAI CH22HP20"
    ATTR{firmware}=="1.00"
    ATTR{serial}==""

>udevadm test /sys/class/ide_port/ide0/device/0.0  
-- snipp
import_uevent_var: import into environment: 'PHYSDEVBUS=ide'
import_uevent_var: import into environment: 'MEDIA=tape'
import_uevent_var: import into environment: 'DRIVENAME=hda'
import_uevent_var: import into environment: 'MODALIAS=ide:m-tape'
udevtest: looking at device '/class/ide_port/ide0/device/0.0' from 
subsystem 'ide'
udevtest: run: '/sbin/modprobe --use-blacklist ide:m-tape'
udevtest: run: '/sbin/modprobe ide-scsi'
udevtest: run: 'socket:/org/freedesktop/hal/udev_event'
udevtest: run: 'socket:@/org/kernel/udev/monitor'
--end snipp

could you help me to write a correct rule ?
(Continue reading)

Kay Sievers | 3 Oct 15:36
Gravatar

Re: ide dvd burner detected as ide-tape

On Fri, Oct 3, 2008 at 3:27 PM, Thomas Drillich <th <at> drillich.com> wrote:
> I did some more research on the LG GH22LP20 DVD burner
>  http://www.lge.com/products/model/detail/gh22lp20.jhtml
>
>>udevinfo -a -p /sys/class/ide_port/ide0/device/0.0
>  looking at device '/devices/pci0000:00/0000:00:1f.0/ide0/0.0':
>    KERNEL=="0.0"
>    SUBSYSTEM=="ide"
>    DRIVER==""
>    ATTR{media}=="tape"
>    ATTR{drivename}=="hda"
>    ATTR{modalias}=="ide:m-tape"
>    ATTR{model}=="HL)DP-ST <at> V@-RAI CH22HP20"
>    ATTR{firmware}=="1.00"
>    ATTR{serial}==""
>
>>udevadm test /sys/class/ide_port/ide0/device/0.0
> -- snipp
> import_uevent_var: import into environment: 'PHYSDEVBUS=ide'
> import_uevent_var: import into environment: 'MEDIA=tape'
> import_uevent_var: import into environment: 'DRIVENAME=hda'
> import_uevent_var: import into environment: 'MODALIAS=ide:m-tape'
> udevtest: looking at device '/class/ide_port/ide0/device/0.0' from
> subsystem 'ide'
> udevtest: run: '/sbin/modprobe --use-blacklist ide:m-tape'
> udevtest: run: '/sbin/modprobe ide-scsi'
> udevtest: run: 'socket:/org/freedesktop/hal/udev_event'
> udevtest: run: 'socket:@/org/kernel/udev/monitor'
> --end snipp
>
(Continue reading)

Re: ide dvd burner detected as ide-tape

On Wednesday 01 October 2008, Kay Sievers wrote:
> On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> wrote:
> > I found in the syslog:
> > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00
> > DRD)RAM GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00 rev 1*00
> > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> > asc = 64, ascq =  0
> > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed (assuming
> > 650KB/sec)
> > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed (assuming
> > 650KB/sec)
> > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> > asc = 64, ascq =  0
> > Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0: HH- <at> T)SPȴ/�����1*00
> > DRD)RAM GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00 rev 1*00
> > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> > asc = 64, ascq =  0
> > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed (assuming
> > 650KB/sec)
> > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed (assuming
> > 650KB/sec)
> > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a, key =  5,
> > asc = 64, ascq =  0
> > -- end snip
> >
> > but its a LG GH22LP20 DVD burner
> >
> > cat /sys/bus/ide/devices/0.0/model returns
> >        HL)DP-ST <at> V@-RAI CH22HP20
> >
(Continue reading)

Thomas Drillich | 4 Oct 14:12
Favicon

Re: ide dvd burner detected as ide-tape

Am Freitag, 3. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> On Wednesday 01 October 2008, Kay Sievers wrote:
> > On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> wrote:
> > > I found in the syslog:
> > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > HH- <at> T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00
> > > rev 1*00
> > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > key =  5, asc = 64, ascq =  0
> > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed
> > > (assuming 650KB/sec)
> > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed
> > > (assuming 650KB/sec)
> > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > key =  5, asc = 64, ascq =  0
> > > Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0:
> > > HH- <at> T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00
> > > rev 1*00
> > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > key =  5, asc = 64, ascq =  0
> > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed
> > > (assuming 650KB/sec)
> > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed
> > > (assuming 650KB/sec)
> > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > key =  5, asc = 64, ascq =  0
> > > -- end snip
> > >
> > > but its a LG GH22LP20 DVD burner
> > >
(Continue reading)

Re: ide dvd burner detected as ide-tape


[ added linux-ide@ to cc: ]

On Saturday 04 October 2008, Thomas Drillich wrote:
> Am Freitag, 3. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> > On Wednesday 01 October 2008, Kay Sievers wrote:
> > > On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> wrote:
> > > > I found in the syslog:
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00
> > > > rev 1*00
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > > key =  5, asc = 64, ascq =  0
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed
> > > > (assuming 650KB/sec)
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed
> > > > (assuming 650KB/sec)
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > > key =  5, asc = 64, ascq =  0
> > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0:
> > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00
> > > > rev 1*00
> > > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > > key =  5, asc = 64, ascq =  0
> > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed
> > > > (assuming 650KB/sec)
> > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed
> > > > (assuming 650KB/sec)
> > > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc = 1a,
> > > > key =  5, asc = 64, ascq =  0
(Continue reading)

Thomas Drillich | 9 Oct 16:43
Favicon

Re: ide dvd burner detected as ide-tape

Am Mittwoch, 8. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> [ added linux-ide@ to cc: ]
>
> On Saturday 04 October 2008, Thomas Drillich wrote:
> > Am Freitag, 3. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> > > On Wednesday 01 October 2008, Kay Sievers wrote:
> > > > On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> 
wrote:
> > > > > I found in the syslog:
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM
> > > > > GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00 rev 1*00
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed
> > > > > (assuming 650KB/sec)
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed
> > > > > (assuming 650KB/sec)
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0:
> > > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM
> > > > > GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00 rev 1*00
> > > > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed
> > > > > (assuming 650KB/sec)
> > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed
> > > > > (assuming 650KB/sec)
> > > > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc =
(Continue reading)

Re: ide dvd burner detected as ide-tape

On Thursday 09 October 2008, Thomas Drillich wrote:
> Am Mittwoch, 8. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> > [ added linux-ide@ to cc: ]
> >
> > On Saturday 04 October 2008, Thomas Drillich wrote:
> > > Am Freitag, 3. Oktober 2008 schrieb Bartlomiej Zolnierkiewicz:
> > > > On Wednesday 01 October 2008, Kay Sievers wrote:
> > > > > On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th <at> drillich.com> 
> wrote:
> > > > > > I found in the syslog:
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM
> > > > > > GH22LP20P�{�����л�����HH- <at> T)SPȴ/�����1*00 rev 1*00
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid tape speed
> > > > > > (assuming 650KB/sec)
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda: invalid max_speed
> > > > > > (assuming 650KB/sec)
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda <-> ht0:
> > > > > > HH- <at> T)SPȴ/�����1*00 DRD)RAM
> > > > > > GH22LP20P�{�����������HH- <at> T)SPȴ/�����1*00 rev 1*00
> > > > > > Sep 30 13:47:17 localhost kernel: ide-tape: ht0: I/O error, pc =
> > > > > > 1a, key =  5, asc = 64, ascq =  0
> > > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid tape speed
> > > > > > (assuming 650KB/sec)
> > > > > > Sep 30 13:47:17 localhost kernel: ide-tape: hda: invalid max_speed
> > > > > > (assuming 650KB/sec)
(Continue reading)

Jim Paris | 9 Oct 20:39

Re: ide dvd burner detected as ide-tape

Bartlomiej Zolnierkiewicz wrote:
> Thanks.  Does the following patch help?
> 
> From: Bartlomiej Zolnierkiewicz <bzolnier <at> gmail.com>
> Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
> 
> LG GH22LP20 DVD burner ("HL)DP-ST <at> V@-RAI CH22HP20") with firmware 1.00
> reports 0x01 ("Sequential-access device") as the peripheral device type
> instead of 0x05 ("CD-ROM device").

That looks more like a hardware problem with a flakey bit.
For example GH22LP20 with bit 2 always cleared = CH22HP20.
DVD-ROM with bit 2 sometimes cleared = @V <at> -RAI.
And the peripheral device type also has bit 2 cleared.

-jim
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: ide dvd burner detected as ide-tape

On Thursday 09 October 2008, Jim Paris wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Thanks.  Does the following patch help?
> > 
> > From: Bartlomiej Zolnierkiewicz <bzolnier <at> gmail.com>
> > Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
> > 
> > LG GH22LP20 DVD burner ("HL)DP-ST <at> V@-RAI CH22HP20") with firmware 1.00
> > reports 0x01 ("Sequential-access device") as the peripheral device type
> > instead of 0x05 ("CD-ROM device").
> 
> That looks more like a hardware problem with a flakey bit.
> For example GH22LP20 with bit 2 always cleared = CH22HP20.
> DVD-ROM with bit 2 sometimes cleared = @V <at> -RAI.
> And the peripheral device type also has bit 2 cleared.

This would explain it nicely (I suspected something along these lines
but failed to see the actual pattern).  After all it is very unlikely
to have _that_ broken firmware.

Thanks,
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thomas Drillich | 13 Oct 00:18
Favicon

Re: ide dvd burner detected as ide-tape

Am Donnerstag, 9. Oktober 2008 schrieb Jim Paris:
> Bartlomiej Zolnierkiewicz wrote:
> > Thanks.  Does the following patch help?
> >
> > From: Bartlomiej Zolnierkiewicz <bzolnier <at> gmail.com>
> > Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
> >
> > LG GH22LP20 DVD burner ("HL)DP-ST <at> V@-RAI CH22HP20") with firmware 1.00
> > reports 0x01 ("Sequential-access device") as the peripheral device type
> > instead of 0x05 ("CD-ROM device").
>
> That looks more like a hardware problem with a flakey bit.
> For example GH22LP20 with bit 2 always cleared = CH22HP20.
> DVD-ROM with bit 2 sometimes cleared = @V <at> -RAI.
> And the peripheral device type also has bit 2 cleared.

yup your patch seems to work .. thx bart

but it won't work really nice .. I try to get a replacement drive

--

-- 
mit freundlichem Gruss -- regards

Thomas Drillich
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)


Gmane