* ide dvd burner detected as ide-tape
@ 2008-09-30 23:00 Thomas Drillich
2008-10-01 3:52 ` Kay Sievers
` (4 more replies)
0 siblings, 5 replies; 12+ messages in thread
From: Thomas Drillich @ 2008-09-30 23:00 UTC (permalink / raw)
To: linux-hotplug
Hi,
I found in the syslog:
Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH-@T)SPȴ/�����1*00
DRD)RAM GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00
DRD)RAM GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
what can I do ?
--
mit freundlichem Gruss -- regards
Thomas Drillich
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
@ 2008-10-01 3:52 ` Kay Sievers
2008-10-03 13:27 ` Thomas Drillich
` (3 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Kay Sievers @ 2008-10-01 3:52 UTC (permalink / raw)
To: linux-hotplug
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1613 bytes --]
On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th@drillich.com> wrote:
> I found in the syslog:
> Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH-@T)SPȴ/�����1*00
> DRD)RAM GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00
> DRD)RAM GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
>
> what can I do ?
Bart, any idea what's going wrong here, or how to work around it?
Thanks,
Kay
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þ\x1a-¦[ þ)í
æèw*\x1fjg¬±¨\x1e¶Ý¢jÿ¾\a«þG«éÿ¢¸\f¢·¦j:+v¨wèjØm¶ÿþø\x1e¯ù\x1e®w¥þàþf£¢·hâúÿÙ¥
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
2008-10-01 3:52 ` Kay Sievers
@ 2008-10-03 13:27 ` Thomas Drillich
2008-10-03 13:36 ` Kay Sievers
` (2 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Thomas Drillich @ 2008-10-03 13:27 UTC (permalink / raw)
To: linux-hotplug
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@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 ?
--
mit freundlichem Gruss -- regards
Thomas Drillich
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
2008-10-01 3:52 ` Kay Sievers
2008-10-03 13:27 ` Thomas Drillich
@ 2008-10-03 13:36 ` Kay Sievers
2008-10-03 17:33 ` Bartlomiej Zolnierkiewicz
2008-10-04 12:12 ` Thomas Drillich
4 siblings, 0 replies; 12+ messages in thread
From: Kay Sievers @ 2008-10-03 13:36 UTC (permalink / raw)
To: linux-hotplug
On Fri, Oct 3, 2008 at 3:27 PM, Thomas Drillich <th@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@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 ?
What udev rule? It's the kernel which need to know that this device
isn't a tape but an optical drive. :)
Kay
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
` (2 preceding siblings ...)
2008-10-03 13:36 ` Kay Sievers
@ 2008-10-03 17:33 ` Bartlomiej Zolnierkiewicz
2008-10-04 12:12 ` Thomas Drillich
4 siblings, 0 replies; 12+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-10-03 17:33 UTC (permalink / raw)
To: linux-hotplug
On Wednesday 01 October 2008, Kay Sievers wrote:
> On Wed, Oct 1, 2008 at 1:00 AM, Thomas Drillich <th@drillich.com> wrote:
> > I found in the syslog:
> > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0: HH-@T)SPȴ/�����1*00
> > DRD)RAM GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00
> > DRD)RAM GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
> >
> > what can I do ?
>
> Bart, any idea what's going wrong here, or how to work around it?
ide-tape driving DVD burner is a "CANNOT happen" case...
Thomas, which kernel version is it? Please post a full dmesg output.
Thanks,
Bart
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
` (3 preceding siblings ...)
2008-10-03 17:33 ` Bartlomiej Zolnierkiewicz
@ 2008-10-04 12:12 ` Thomas Drillich
2008-10-08 19:25 ` Bartlomiej Zolnierkiewicz
4 siblings, 1 reply; 12+ messages in thread
From: Thomas Drillich @ 2008-10-04 12:12 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 2333 bytes --]
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@drillich.com> wrote:
> > > I found in the syslog:
> > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > HH-@T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
> > >
> > > what can I do ?
> >
> > Bart, any idea what's going wrong here, or how to work around it?
>
> ide-tape driving DVD burner is a "CANNOT happen" case...
>
> Thomas, which kernel version is it? Please post a full dmesg output.
>
Seems that can happen Bart ;-)
it's a 2.6.26.5 kernel running on debian/testing.
I moved ide now to module
alim15x3 7504 0 [permanent]
ide_pci_generic 5252 0 [permanent]
ide_core 140572 2 ide_pci_generic,alim15x3
but it didn't changed anything .. as expected.
>lspci
00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
I added /proc/config.gz to the dmesg output
--
mit freundlichem Gruss -- regards
Thomas Drillich
[-- Attachment #2: dmesg.out.gz --]
[-- Type: application/x-gzip, Size: 9846 bytes --]
[-- Attachment #3: config.gz --]
[-- Type: application/x-gzip, Size: 17261 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-04 12:12 ` Thomas Drillich
@ 2008-10-08 19:25 ` Bartlomiej Zolnierkiewicz
2008-10-09 14:43 ` Thomas Drillich
0 siblings, 1 reply; 12+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-10-08 19:25 UTC (permalink / raw)
To: Thomas Drillich; +Cc: Kay Sievers, linux-hotplug, linux-ide
[ 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@drillich.com> wrote:
> > > > I found in the syslog:
> > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > HH-@T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00 DRD)RAM GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
> > > >
> > > > what can I do ?
> > >
> > > Bart, any idea what's going wrong here, or how to work around it?
> >
> > ide-tape driving DVD burner is a "CANNOT happen" case...
> >
> > Thomas, which kernel version is it? Please post a full dmesg output.
> >
> Seems that can happen Bart ;-)
>
> it's a 2.6.26.5 kernel running on debian/testing.
>
> I moved ide now to module
> alim15x3 7504 0 [permanent]
> ide_pci_generic 5252 0 [permanent]
> ide_core 140572 2 ide_pci_generic,alim15x3
>
> but it didn't changed anything .. as expected.
>
> >lspci
> 00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
>
> I added /proc/config.gz to the dmesg output
Linux version 2.6.26.5-3.00-st20g5 (root@mzpc) (gcc version 4.3.1 (Debian 4.3.1-9) ) #1 SMP PREEMPT Fri Oct 3 12:42:56 CEST 2008
...
ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc7) at PCI slot 0000:00:1f.0
ACPI: PCI Interrupt 0000:00:1f.0[A] -> GSI 19 (level, low) -> IRQ 19
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8880-0x8887
ide1: BM-DMA at 0x8888-0x888f
Probing IDE interface ide0...
...
hda: HL)DP-ST@V@-RAI CH22HP20, ATAPI TAPE drive
...
so this is a probing time device type misdectection
(yeah, the impossible has just happened ;).
Does BIOS also detect this device as "HL)DP-ST@V@-RAI"?
Please send the output of "hdparm --Istdout /dev/hda" so we can check
whether the problem is a bogus (corrupted?) identify data or some issue
with the device type detection code...
Could you also try 2.6.27-rc9?
Thanks,
Bart
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-08 19:25 ` Bartlomiej Zolnierkiewicz
@ 2008-10-09 14:43 ` Thomas Drillich
2008-10-09 18:13 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Drillich @ 2008-10-09 14:43 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: linux-hotplug, linux-ide
[-- Attachment #1: Type: text/plain, Size: 3901 bytes --]
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@drillich.com>
wrote:
> > > > > I found in the syslog:
> > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > > HH-@T)SPȴ/�����1*00 DRD)RAM
> > > > > GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00 DRD)RAM
> > > > > GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
> > > > >
> > > > > what can I do ?
> > > >
> > > > Bart, any idea what's going wrong here, or how to work around it?
> > >
> > > ide-tape driving DVD burner is a "CANNOT happen" case...
> > >
> > > Thomas, which kernel version is it? Please post a full dmesg output.
> >
> > Seems that can happen Bart ;-)
> >
> > it's a 2.6.26.5 kernel running on debian/testing.
> >
> > I moved ide now to module
> > alim15x3 7504 0 [permanent]
> > ide_pci_generic 5252 0 [permanent]
> > ide_core 140572 2 ide_pci_generic,alim15x3
> >
> > but it didn't changed anything .. as expected.
> >
> > >lspci
> >
> > 00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
> >
> > I added /proc/config.gz to the dmesg output
>
> Linux version 2.6.26.5-3.00-st20g5 (root@mzpc) (gcc version 4.3.1 (Debian
> 4.3.1-9) ) #1 SMP PREEMPT Fri Oct 3 12:42:56 CEST 2008 ...
> ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc7) at PCI slot 0000:00:1f.0
> ACPI: PCI Interrupt 0000:00:1f.0[A] -> GSI 19 (level, low) -> IRQ 19
> ALI15X3: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x8880-0x8887
> ide1: BM-DMA at 0x8888-0x888f
> Probing IDE interface ide0...
> ...
> hda: HL)DP-ST@V@-RAI CH22HP20, ATAPI TAPE drive
> ...
>
> so this is a probing time device type misdectection
> (yeah, the impossible has just happened ;).
>
> Does BIOS also detect this device as "HL)DP-ST@V@-RAI"?
yes
>
> Please send the output of "hdparm --Istdout /dev/hda" so we can check
> whether the problem is a bogus (corrupted?) identify data or some issue
> with the device type detection code...
I'm not able to run hdparam on /dev/hda, udev won't create the device file and
if I create the device file manually hdparam just stop working.
I'd attached cat /proc/ide/hda/identify (hda.identify.txt.gz).
>
> Could you also try 2.6.27-rc9?
no changes in that kernel version .. I attachted output of dmesg of that
kernel version.
--
mit freundlichem Gruss -- regards
Thomas Drillich
[-- Attachment #2: dmesg.out.gz --]
[-- Type: application/x-gzip, Size: 9917 bytes --]
[-- Attachment #3: hda.identify.txt.gz --]
[-- Type: application/x-gzip, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-09 14:43 ` Thomas Drillich
@ 2008-10-09 18:13 ` Bartlomiej Zolnierkiewicz
2008-10-09 18:39 ` Jim Paris
0 siblings, 1 reply; 12+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-10-09 18:13 UTC (permalink / raw)
To: Thomas Drillich; +Cc: linux-hotplug, linux-ide
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@drillich.com>
> wrote:
> > > > > > I found in the syslog:
> > > > > > Sep 30 13:44:44 localhost kernel: ide-tape: hda <-> ht0:
> > > > > > HH-@T)SPȴ/�����1*00 DRD)RAM
> > > > > > GH22LP20P�{�����л�����HH-@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-@T)SPȴ/�����1*00 DRD)RAM
> > > > > > GH22LP20P�{�����������HH-@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@V@-RAI CH22HP20
> > > > > >
> > > > > > what can I do ?
> > > > >
> > > > > Bart, any idea what's going wrong here, or how to work around it?
> > > >
> > > > ide-tape driving DVD burner is a "CANNOT happen" case...
> > > >
> > > > Thomas, which kernel version is it? Please post a full dmesg output.
> > >
> > > Seems that can happen Bart ;-)
> > >
> > > it's a 2.6.26.5 kernel running on debian/testing.
> > >
> > > I moved ide now to module
> > > alim15x3 7504 0 [permanent]
> > > ide_pci_generic 5252 0 [permanent]
> > > ide_core 140572 2 ide_pci_generic,alim15x3
> > >
> > > but it didn't changed anything .. as expected.
> > >
> > > >lspci
> > >
> > > 00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
> > >
> > > I added /proc/config.gz to the dmesg output
> >
> > Linux version 2.6.26.5-3.00-st20g5 (root@mzpc) (gcc version 4.3.1 (Debian
> > 4.3.1-9) ) #1 SMP PREEMPT Fri Oct 3 12:42:56 CEST 2008 ...
> > ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc7) at PCI slot 0000:00:1f.0
> > ACPI: PCI Interrupt 0000:00:1f.0[A] -> GSI 19 (level, low) -> IRQ 19
> > ALI15X3: not 100% native mode: will probe irqs later
> > ide0: BM-DMA at 0x8880-0x8887
> > ide1: BM-DMA at 0x8888-0x888f
> > Probing IDE interface ide0...
> > ...
> > hda: HL)DP-ST@V@-RAI CH22HP20, ATAPI TAPE drive
> > ...
> >
> > so this is a probing time device type misdectection
> > (yeah, the impossible has just happened ;).
> >
> > Does BIOS also detect this device as "HL)DP-ST@V@-RAI"?
> yes
> >
> > Please send the output of "hdparm --Istdout /dev/hda" so we can check
> > whether the problem is a bogus (corrupted?) identify data or some issue
> > with the device type detection code...
> I'm not able to run hdparam on /dev/hda, udev won't create the device file and
> if I create the device file manually hdparam just stop working.
>
> I'd attached cat /proc/ide/hda/identify (hda.identify.txt.gz).
>
> >
> > Could you also try 2.6.27-rc9?
> no changes in that kernel version .. I attachted output of dmesg of that
> kernel version.
Thanks. Does the following patch help?
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
LG GH22LP20 DVD burner ("HL)DP-ST@V@-RAI CH22HP20") with firmware 1.00
reports 0x01 ("Sequential-access device") as the peripheral device type
instead of 0x05 ("CD-ROM device").
Reported-by: Thomas Drillich <th@drillich.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-probe.c | 9 +++++++++
1 file changed, 9 insertions(+)
Index: b/drivers/ide/ide-probe.c
=================================--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -106,6 +106,12 @@ static void ide_disk_init_mult_count(ide
}
}
+/* LG GH22LP20 DVD burner reports bad peripheral device type */
+static const struct drive_list_entry bad_media_type_list[] = {
+ { "HL)DP-ST@V@-RAI CH22HP20", "1.00" },
+ { NULL, NULL }
+};
+
/**
* do_identify - identify a drive
* @drive: drive to identify
@@ -166,6 +172,9 @@ static inline void do_identify (ide_driv
if (cmd = WIN_PIDENTIFY) {
u8 type = (id->config >> 8) & 0x1f;
+ if (ide_in_drive_list(id, bad_media_type_list))
+ type = ide_cdrom;
+
printk(KERN_CONT "ATAPI ");
switch (type) {
case ide_floppy:
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-09 18:13 ` Bartlomiej Zolnierkiewicz
@ 2008-10-09 18:39 ` Jim Paris
2008-10-09 18:50 ` Bartlomiej Zolnierkiewicz
2008-10-12 22:18 ` Thomas Drillich
0 siblings, 2 replies; 12+ messages in thread
From: Jim Paris @ 2008-10-09 18:39 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: Thomas Drillich, linux-hotplug, linux-ide
Bartlomiej Zolnierkiewicz wrote:
> Thanks. Does the following patch help?
>
> From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
>
> LG GH22LP20 DVD burner ("HL)DP-ST@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@-RAI.
And the peripheral device type also has bit 2 cleared.
-jim
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-09 18:39 ` Jim Paris
@ 2008-10-09 18:50 ` Bartlomiej Zolnierkiewicz
2008-10-12 22:18 ` Thomas Drillich
1 sibling, 0 replies; 12+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-10-09 18:50 UTC (permalink / raw)
To: Jim Paris; +Cc: Thomas Drillich, linux-hotplug, linux-ide
On Thursday 09 October 2008, Jim Paris wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Thanks. Does the following patch help?
> >
> > From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> > Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
> >
> > LG GH22LP20 DVD burner ("HL)DP-ST@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@-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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ide dvd burner detected as ide-tape
2008-10-09 18:39 ` Jim Paris
2008-10-09 18:50 ` Bartlomiej Zolnierkiewicz
@ 2008-10-12 22:18 ` Thomas Drillich
1 sibling, 0 replies; 12+ messages in thread
From: Thomas Drillich @ 2008-10-12 22:18 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: Jim Paris, linux-hotplug, linux-ide
Am Donnerstag, 9. Oktober 2008 schrieb Jim Paris:
> Bartlomiej Zolnierkiewicz wrote:
> > Thanks. Does the following patch help?
> >
> > From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> > Subject: [PATCH] ide: quirk for LG GH22LP20 DVD burner
> >
> > LG GH22LP20 DVD burner ("HL)DP-ST@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@-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
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-10-12 22:18 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 23:00 ide dvd burner detected as ide-tape Thomas Drillich
2008-10-01 3:52 ` Kay Sievers
2008-10-03 13:27 ` Thomas Drillich
2008-10-03 13:36 ` Kay Sievers
2008-10-03 17:33 ` Bartlomiej Zolnierkiewicz
2008-10-04 12:12 ` Thomas Drillich
2008-10-08 19:25 ` Bartlomiej Zolnierkiewicz
2008-10-09 14:43 ` Thomas Drillich
2008-10-09 18:13 ` Bartlomiej Zolnierkiewicz
2008-10-09 18:39 ` Jim Paris
2008-10-09 18:50 ` Bartlomiej Zolnierkiewicz
2008-10-12 22:18 ` Thomas Drillich
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).