kernel pcmcia drivers/ide-cs stopped working in ben's tree at >= 2.4.16

Ira Weiny iweiny at acm.org
Thu Dec 6 10:27:05 EST 2001


On Wed, 05 Dec 2001 15:37:15 -0500
Armando Di Cianno <armando at nycap.rr.com> wrote:

>
> I'm running my own distro (mostly LFS style), and using ben's sources.
> Hardware is a 400Mhz G4 TiBook.
>
> In 2.4.14-ben0, and 2.4.15-pre6-ben0, after pcmcia services are started,
> dmesg reports the same happy information (these examples done with a 340Mb
> IBM microdrive, but the symptoms happen for my 8 and 32Mb CF cards, with the
> same pcmcia adaptor):
> cs: memory probe 0x80000000-0x80ffffff: excluding 0x80000000-0x800fffff
> hde: IBM-DMDM-10340, ATA DISK drive
> ide2 at 0x100-0x107,0x10e on irq 58
> ide-floppy driver 0.97.sv
> hde: 700560 sectors (359 MB) w/96KiB Cache, CHS=695/16/63
>  /dev/ide/host2/bus0/target0/lun0: p1
> ide_cs: hde: Vcc = 3.3, Vpp = 0.0
>
> In 2.4.16-ben0, this is what dmesg reports:
> cs: memory probe 0x80000000-0x80ffffff: excluding 0x80000000-0x80ffffff
> cs: unable to map card memory!
> cs: unable to map card memory!
>
> In 2.4.17-pre2-ben0, in console mode, the laptop immeadiately shuts down; in
> X, the laptop freezes.
>
> I'm 99.9% sure my /etc/pcmcia/* info is correct (as it still works for older
> kernels, with all of the pcmcia-package version's I've tried).  If these
> symptoms can help any of the ppc kernel hackers solve this problem, I'd be so
> very happy.
>

Well...  I just did a diff of the files I modified to get my 1Gig Microdrive
working and I notice some differences.

Here are the diffs from my working kernel and an rsync of Ben's tree I did on
Dec 1.

I see that idecs_register has been removed in favor of ide_register?

I don't know why this was done.  I don't have time to upgrade my kernel right
now but I will try later.  What I do know is the "ide_disable_irq_on_probe" was
required because the 1Gig does not work with the std disable of IRQ's.
However, I think the 340Meg did?

Sorry I could not be of more help.
Ira Weiny
iweiny at acm.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ide-cs.patch
Type: application/octet-stream
Size: 993 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20011205/e866d03e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ide-probe.patch
Type: application/octet-stream
Size: 976 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20011205/e866d03e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ide.patch
Type: application/octet-stream
Size: 334 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20011205/e866d03e/attachment-0002.obj>


More information about the Linuxppc-dev mailing list