Bug#168594: weird things loading the pcmcia modules
Version: unavailable; reported 2002-11-10
I hope anyone have seen this before and can give me some hints when I
start to debug it.
In past two weeks, I tried two laptops, installing Debian on it, using
the a WLAN card. The first one was a modern Toshiba laptop, there was no
problem - PCMCIA was configured with dbootstrap and worked w/o problems.
Another is an old Siemens Scenic. There appeared a strange problem:
when using the dbootstrap's menu, the i82365 driver has been loaded and
cardmgr started, okay. But when a card was inserted, no module was able
to load and reported something about resources. (A message very similar
to this one, from http://theblackmoor.net/dlink.shtml :
Sep 9 01:09:37 psi cardmgr: starting, version is 3.1.22
Sep 9 01:09:37 psi cardmgr: watching 1 sockets
Sep 9 01:09:37 psi kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Sep 9 01:09:37 psi kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x4d0-0x4d7
Sep 9 01:09:37 psi kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Sep 9 01:09:37 psi cardmgr: socket 0: D-Link DWL-650 11Mbps 802.11b WLAN Card
Sep 9 01:09:37 psi cardmgr: executing: 'modprobe prism2_cs'
Sep 9 01:09:37 psi kernel: init_module: prism2_cs.o: 0.1.9 Loaded
Sep 9 01:09:37 psi kernel: init_module: dev_info is: prism2_cs
Sep 9 01:09:37 psi cardmgr: bind 'prism2_cs' to socket 0 failed: No such device
Sep 9 01:09:37 psi kernel: RegisterClient: Out of resource
Sep 9 01:09:37 psi kernel: ds: unable to create instance of 'prism2_cs'!
(but with orinoco_cs in my case). I also tried a Flash card reader,
The funny thing is - it works fine when I go to the console and do:
- kill cardmgr
- rmmod dc
- rmmod i82365
- modprobe i82365
and all drivers do load after doing so. Where is the problem? What is
wrong with the PCMCIA setup if it works when loading manually? Could we
get some kind of timing problems? Should we include some sleep calls
between loading of PCMCIA modules and cardmgr start?
-- System Information:
Debian Release: testing/unstable
Kernel: Linux zombie 2.4.19 #6 Sam Sep 21 11:31:07 CEST 2002 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro