mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mr Amit Mehrotra" <mehrotraamit@yahoo.co.in>
To: linux-kernel@vger.kernel.org
Subject: PCMCIA for LC2420 with 2.6.0 kernel
Date: Sat, 3 Jan 2004 15:44:31 +0000 (GMT)	[thread overview]
Message-ID: <20040103154431.40672.qmail@web8202.mail.in.yahoo.com> (raw)

I have a linux certified LC 2420 laptop with 1 GB of
memory running linux from scratch (LFS) 5.0 and I
recently moved to 2.6.0 kernel. I wanted to try a
Linksys WPC54G on linux using ndiswrapper to enable
wireless networking but I ran into a problem. PCMCIA
does not seem to work. I did not need PCMCIA before
this so I did not enable it in the previous kernels
(linux-2.4.*). I am using pcmcia-cs-3.2.7. When I
insert any card (I also tried Adaptec 1480A slimscsi)
I hear no beeps, the output of /var/log/sys.log does
not change and
cardctl status
says
Socket 0:
  no card

I know that there is no hardware problem because the
laptop is dual boot and on Windoze 2000 side, it says
new hardware found when I insert any card. Also the
power light comes on for WPC54G (does not happen for
linux).

If I look at dmesg, it looks like it detected the
Cardbus bridge:
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
Intel PCIC probe: not found.
Yenta: CardBus bridge found at 0000:00:08.0
[1584:3000]
Yenta: ISA IRQ list 0000, PCI irq17
Socket status: 4d41b401
cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xc1f
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x837
0x840-0x87f
0x898-0x89f
cs: IO port probe 0x0100-0x04ff: excluding 0x3c0-0x3df
0x480-0x48f
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.

I posted this on comp.os.linux.portable and David
Hinds 
replied:
"Note the memory address here of 0x3fff000: for some
reason, your bridge's registers were mapped to overlay
the top 4K of system memory.

I remember this sort of problem coming up before and
I'd thought it had been fixed.  Aparently not.  It is
sometimes caused by the BIOS erroneously reporting a
memory size a bit too small; you might check the
memory map information reported in your boot logs.

I don't know enough about the appropriate parts of the
kernel to suggest a fix, unfortunately.  You should
report the bug to the linux-kernel mailing list.  It
is a bug in PCI resource allocation."

The relevant lspci output is:
00:08.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus
Controller
        Subsystem: Uniwill Computer Corp: Unknown
device 3000
        Flags: bus master, stepping, slow devsel,
latency 168, IRQ 17
        Memory at 3fff0000 (32-bit, non-prefetchable)
[size=4K]
        Bus: primary=00, secondary=02, subordinate=05,
sec-latency=176
        Memory window 0: 40000000-403ff000
(prefetchable)
        Memory window 1: 40400000-407ff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

Amit

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

                 reply	other threads:[~2004-01-03 15:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040103154431.40672.qmail@web8202.mail.in.yahoo.com \
    --to=mehrotraamit@yahoo.co.in \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®