linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: christophe barbe <christophe.barbe@online.fr>
To: linux-hotplug@vger.kernel.org
Subject: aic7xxx and hotplug : part II
Date: Tue, 16 Oct 2001 16:13:26 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-100324916801757@msgid-missing> (raw)

So I've proposed the patch to the driver author. The export table macro was
already in the pending patch for 2.4.12. So this should be solved soon.

Remains a problem, I get a OOPS when I do the following :
. insert card (card detected, module loaded)
. mount /dev/sdc0 /cdrw
. use /cdrw
. umount /cdrw
. remove the card
. mount /dev/sdc0 /cdrw (oops and mount segfault)

lspci show the adaptec card when inserted
...
00:13.0 CardBus bridge: Toshiba America Info Systems ToPIC95 (rev 07)
00:13.1 CardBus bridge: Toshiba America Info Systems ToPIC95 (rev 07)
14:00.0 SCSI storage controller: Adaptec AIC-1480 / APA-1480 (rev 03)
and no more after reemoving the card.

I see in /var/log/message that the 'PCI remove event' is not supported by
hotplug  
Oct 16 17:33:13 turing kernel: cs: cb_free(bus 20)
Oct 16 17:33:14 turing /etc/hotplug/pci.agent: PCI remove event not
supported

My understanding was that here the hotplug job was only to unload the
driver but because it can be used by another device, I understand it's not
so simple.

But the oops tells me that Something is required. It looks like the driver
still believe that the card is available. 
Is it something that must be done like ask to the driver to rescan its own
devices.

Christophe



-- 
Christophe Barbé <christophe.barbe@online.fr>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2001-10-16 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16 16:13 christophe barbe [this message]
2001-10-16 16:41 ` aic7xxx and hotplug : part II Greg KH
2001-10-16 17:42 ` christophe barbe
2001-10-16 18:03 ` Greg KH
2001-10-16 18:15 ` David Brownell
2001-10-16 20:22 ` christophe barbe
2001-10-16 20:27 ` Greg KH
2001-10-16 20:53 ` christophe barbe

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=marc-linux-hotplug-100324916801757@msgid-missing \
    --to=christophe.barbe@online.fr \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).