On Thu, 03 May 2007 15:29:19 +0100
Richard Kennedy <[email protected]> wrote:
IDE bugs should be posted to the linux-ide mailing list.
> Hi all,
> I have a JVC MP-CDX1 cdrom drive that came with my laptop which used to
> work with ide-cs but stopped working with newer kernels.
>
> I added its ident to ide-cs.c (see patch below) and the drive now is
> detected and gets mounted when plugged in and seems to work correctly.
>
> But when I eject the card, pccardctl eject 0, the laptop locks up
> completely, there are no messages in the log, and the fan goes to full
> speed so I guess the cpu is running at 100%.
> Any ideas what's going wrong or how to debug it ?
> Is there anything else I need to patch to get this working ?
>
> Thanks
> Richard
>
> card info :-
>
> PRODID_1="KME"
> PRODID_2="KXLC005"
> PRODID_3="00"
> PRODID_4=""
> MANFID=0032,2904
> FUNCID=8
>
> log messages on insert :-
>
> May 3 11:22:52 mininote kernel: pccard: PCMCIA card inserted into slot 0
> May 3 11:22:52 mininote kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
> May 3 11:22:52 mininote kernel: pcmcia: registering new device pcmcia0.0
> May 3 11:22:53 mininote kernel: hdc: UJDB130, ATAPI CD/DVD-ROM drive
> May 3 11:22:53 mininote kernel: ide1 at 0x190-0x197,0x396 on irq 3
> May 3 11:22:53 mininote kernel: ide-cs: hdc: Vpp = 0.0
> May 3 11:22:54 mininote kernel: hdc: ATAPI 20X CD-ROM drive, 128kB Cache
> May 3 11:22:54 mininote kernel: Uniform CD-ROM driver Revision: 3.20
> May 3 11:23:04 mininote hald: mounted /dev/hdc on behalf of uid 500
> May 3 11:23:34 mininote hald: unmounted /dev/hdc from '/media/FC_4 i386 ftp #1' on behalf of uid 500
> May 3 11:24:17 mininote kernel: pccard: card ejected from slot 0
> << lockup happened here >>
>
> patch
> --- linux-2.6.21.1/drivers/ide/legacy/ide-cs.c.orig 2007-05-02 12:09:57.000000000 +0100
> +++ linux-2.6.21.1/drivers/ide/legacy/ide-cs.c 2007-05-02 12:12:40.000000000 +0100
> @@ -362,6 +362,7 @@
> PCMCIA_DEVICE_MANF_CARD(0x000a, 0x0000), /* I-O Data CFA */
> PCMCIA_DEVICE_MANF_CARD(0x001c, 0x0001), /* Mitsubishi CFA */
> PCMCIA_DEVICE_MANF_CARD(0x0032, 0x0704),
> + PCMCIA_DEVICE_MANF_CARD(0x0032, 0x2904), /* KME KXLCOO5 JVC MP-CDX1 */
> PCMCIA_DEVICE_MANF_CARD(0x0045, 0x0401), /* SanDisk CFA */
> PCMCIA_DEVICE_MANF_CARD(0x0098, 0x0000), /* Toshiba */
> PCMCIA_DEVICE_MANF_CARD(0x00a4, 0x002d),
>
>
>
Best Regards
Komuro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]