Bug : Can't read CIS (2.6.0-test4)

Russell King rmk at arm.linux.org.uk
Tue Sep 9 20:41:00 BST 2003


On Tue, Sep 09, 2003 at 10:59:46AM -0700, Jean Tourrilhes wrote:
> On Tue, Sep 09, 2003 at 10:06:43AM +0100, Russell King wrote:
> > On Mon, Sep 08, 2003 at 04:51:28PM -0700, Jean Tourrilhes wrote:
> > > 	By the way, as it's not possible to rmmod i82365 (and
> > > therefore not possible to rmmod pcmcia_core), it might be even better
> > > to make pc_debug a sysctl or something setable via sysfs. That would
> > > also take care of people doing non-modular builds of Pcmcia. But
> > > that's probably for later.
> > 
> > Err, you sure about that?  Eject all cards before trying to remove the
> > module.  (you can thank the driver model for that restriction.)
> 
> 	False alert, it works fine in 2.6.0-test5. I saw it before the
> fix in test4, it was probably related to the failure to load memory_cs
> or something.

The rule is: if you have a card inserted in the slot, you can't remove
the socket driver module.

This means the correct way to remove the modules is:

	cardctl eject
	rmmod ds
	rmmod i82365
	rmmod pcmcia_core

or

	cardctl eject
	rmmod i82365
	rmmod ds
	rmmod pcmcia_core

-- 
Russell King (rmk at arm.linux.org.uk)	http://www.arm.linux.org.uk/personal/
Linux kernel maintainer of:
  2.6 ARM Linux   - http://www.arm.linux.org.uk/
  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
  2.6 Serial core



More information about the linux-pcmcia mailing list