From: Andreas Steinmetz <ast@domdv.de>
To: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>,
linux@dominikbrodowski.net
Cc: Pavel Machek <pavel@ucw.cz>, Andrew Morton <akpm@osdl.org>
Subject: 2.6.13-rc4: yenta_socket and swsusp
Date: Mon, 01 Aug 2005 23:55:44 +0200 [thread overview]
Message-ID: <42EE9A60.5050700@domdv.de> (raw)
[now sending to lkml as sending to the pcmcia list without being
subscribed seems to go to /dev/null]
I do have problems with yenta_socket on my x86_64 laptop which appear
when using swsusp (suspend to disk mode).
1. When I do not access any pcmcia device from initrd during boot
I have to terminate cardmgr, otherwise suspend to disk hangs.
For 2.6.11 it was sufficient to call 'cardctl eject'.
2. When I have to access a pcmcia device from initrd during boot
(there's required crypto keys stored on a pcmcia flash disk)
and I do not unload yenta_socket prior to suspend the laptop
spontaneously reboots or just hangs on resume when swsusp has
finished loading.
3. If I do not unload the pcmcia modules prior to suspend with
rmmod -w unloading yenta_socket fails.
4. If I do unload the pcmcia modules in a loop with rmmod -w
but no delay between unloading the modules it happens from
time to time that yenta_socket unloading hangs with a use
count of 2 when there is definitely no more user of the module.
A delay of 50 msec after unload of each pcmcia module seems
to cure this.
5. If I insert yenta_socket within the first few seconds after resume
the laptop spontaneously reboots. A 5 second delay seems to cure
this most of the time.
BTW:
Did I read this right? PCMCIA control ioctl (needed for pcmcia-cs
[cardmgr, cardctl]) scheduled for removal in november *this* year? So a
3 month warning for everybody is sufficient? Probably only one kernel
release? So much for sufficient backwards compatability. Especially as
the tools stated to be required aren't even released as of today (hint:
module-init-tools 3.2). Grrr.
--
Andreas Steinmetz SPAMmers use robotrap@domdv.de
next reply other threads:[~2005-08-01 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 21:55 Andreas Steinmetz [this message]
2005-08-05 0:15 ` 2.6.13-rc4: yenta_socket and swsusp Andrew Morton
2005-08-05 0:24 ` Lee Revell
2005-08-07 21:43 ` Andreas Steinmetz
2005-08-07 22:48 ` Pavel Machek
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=42EE9A60.5050700@domdv.de \
--to=ast@domdv.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
--cc=pavel@ucw.cz \
/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