Bug#280112: Certain IDE drivers need the help of ide-generic to recognize CD-ROMs
On Sun, Nov 07, 2004 at 03:24:34PM +0500, Alexander E. Patrakov wrote:
> Package: kernel
> Version: 2.6.7-1-686
> Severety: minor
>
> (This report has been sent because Marco d'Itri told me to do so on
> linux-hotplug-devel list. Feel free to say "not a bug".)
>
> Marco d'Itri wrote the IDE hardware detection script for inclusion into the
> "hotplug" package: http://article.gmane.org/gmane.linux.hotplug.devel/6003
>
> However, I reported that his script won't work on my old SCSI-based server.
> Hardware of my old server:
>
> Full thread:
>
> http://article.gmane.org/gmane.linux.hotplug.devel/6003
> http://article.gmane.org/gmane.linux.hotplug.devel/6013
> http://article.gmane.org/gmane.linux.hotplug.devel/6018
> http://article.gmane.org/gmane.linux.hotplug.devel/6025
> http://article.gmane.org/gmane.linux.hotplug.devel/6031
> http://article.gmane.org/gmane.linux.hotplug.devel/6032
>
> This server has a LSI Logic SCSI adapter (with two hard disks attached) and a
> ServerWorks IDE adapter with one attached CD-ROM drive (that shoud appear
> as /dev/hda). For some strange reason, to use this CD-ROM, I must have both
> serverworks (loaded by hotplug), ide_generic (currently mentioned
> in /etc/modules) and ide_cd (to be loaded by the ide.rc script by Marco
> d'Itri, currently just mentioned in /etc/modules) modules loaded.
>
> With all those modules loaded, I get:
>
> ds:~# ls /proc/ide/*/media
> /proc/ide/hda/media
> ds:~# cat /proc/ide/hda/media
> cdrom
>
> Marco d'Itri said that it's a bug that I have to place ide-generic
> into /etc/modules in order to use the CD-ROM drive, that's why I mailed this
> report. This bug is specific to serverworks IDE module, cannot be reproduced
> on via82cxxx (i.e. there is no need to load ide-generic to use IDE CD-ROMs
> with VIA IDE controllers).
>
> Solution proposed by Marco d'Itri: kernel-image-2.6.x packages should add the
> following line to /etc/modprobe.d/kernel-image-(version):
>
> install serverworks /sbin/modprobe --ignore-install serverworks &&
> { /sbin/modprobe ide-generic; /sbin/modprobe ide-cd; }
>
> (although I would rather omit /sbin/modprobe ide-cd if Marco includes his
> ide.rc file into the hotplug package)
>
> I am using Debian Sarge and the kernel is 2.6.7-1-686 on that server. Output
> of lspci:
I would be more interested in resolving the driver bug that causes
the serverworks driver to ignore or otherwise not manage the device.
2.6.7-1-686 is old and no longer maintained. Are you able to
reproduce this with 2.6.8-1-686 or 2.6.9-1-686?
--
Horms
Reply to: