Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-07 Thread Pavel Machek
Hi!

> 2. The attached script can produce all sorts of pcmcia related
>problems if it is modified where stated - the attached version
>seems to work without problems if not modified. Do you want
>a bug report filed for this, too?

Races in pcmcia, fun :-(. I guess this is going to be slightly hard to
reproduce without right hardware :(.
Pavel

-- 
if you have sharp zaurus hardware you don't need... you know my address
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-07 Thread Andreas Steinmetz
Andrew Morton wrote:
> OK so we have one solid regression there.  Are the other problems also new
> since 2.6.11?
> 
> Could you please retest 2.6.13-rc6 when it's out and if problems remain,
> raise a bugzilla.kernel.org entry so we can keep track of the problem? 
> Thanks.

After retesting with 2.6.13-rc6 quite some of the problems are gone.
There are, however, still problems:

1. It is necessary to do the following or suspend will hang:

   cardctl eject
   killproc cardmgr
   remove all pcmcia modules

   In 2.6.11 it was sufficient to call 'cardctl eject'. I'll create a
   bug report.

2. The attached script can produce all sorts of pcmcia related
   problems if it is modified where stated - the attached version
   seems to work without problems if not modified. Do you want
   a bug report filed for this, too?
-- 
Andreas Steinmetz   SPAMmers use [EMAIL PROTECTED]


pcmcia.sh
Description: Bourne shell script


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-07 Thread Andreas Steinmetz
Andrew Morton wrote:
 OK so we have one solid regression there.  Are the other problems also new
 since 2.6.11?
 
 Could you please retest 2.6.13-rc6 when it's out and if problems remain,
 raise a bugzilla.kernel.org entry so we can keep track of the problem? 
 Thanks.

After retesting with 2.6.13-rc6 quite some of the problems are gone.
There are, however, still problems:

1. It is necessary to do the following or suspend will hang:

   cardctl eject
   killproc cardmgr
   remove all pcmcia modules

   In 2.6.11 it was sufficient to call 'cardctl eject'. I'll create a
   bug report.

2. The attached script can produce all sorts of pcmcia related
   problems if it is modified where stated - the attached version
   seems to work without problems if not modified. Do you want
   a bug report filed for this, too?
-- 
Andreas Steinmetz   SPAMmers use [EMAIL PROTECTED]


pcmcia.sh
Description: Bourne shell script


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-07 Thread Pavel Machek
Hi!

 2. The attached script can produce all sorts of pcmcia related
problems if it is modified where stated - the attached version
seems to work without problems if not modified. Do you want
a bug report filed for this, too?

Races in pcmcia, fun :-(. I guess this is going to be slightly hard to
reproduce without right hardware :(.
Pavel

-- 
if you have sharp zaurus hardware you don't need... you know my address
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-04 Thread Lee Revell
On Thu, 2005-08-04 at 17:15 -0700, Andrew Morton wrote:
> Seems that the linux-kernel list has the same result ;(

Are you serious, LKML is subscribers only now?

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-04 Thread Andrew Morton
Andreas Steinmetz <[EMAIL PROTECTED]> wrote:
>
> [now sending to lkml as sending to the pcmcia list without being
> subscribed seems to go to /dev/null]

Seems that the linux-kernel list has the same result ;(

> 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.

OK so we have one solid regression there.  Are the other problems also new
since 2.6.11?

Could you please retest 2.6.13-rc6 when it's out and if problems remain,
raise a bugzilla.kernel.org entry so we can keep track of the problem? 
Thanks.

(I'm trying to get all unattended and older-than-a-few-days bug reports
pushed over to bugzilla so they don't get lost).

> 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.

Three months does sound optimistic.  Dominik, wouldn't a year be better?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-04 Thread Andrew Morton
Andreas Steinmetz [EMAIL PROTECTED] wrote:

 [now sending to lkml as sending to the pcmcia list without being
 subscribed seems to go to /dev/null]

Seems that the linux-kernel list has the same result ;(

 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.

OK so we have one solid regression there.  Are the other problems also new
since 2.6.11?

Could you please retest 2.6.13-rc6 when it's out and if problems remain,
raise a bugzilla.kernel.org entry so we can keep track of the problem? 
Thanks.

(I'm trying to get all unattended and older-than-a-few-days bug reports
pushed over to bugzilla so they don't get lost).

 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.

Three months does sound optimistic.  Dominik, wouldn't a year be better?
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.13-rc4: yenta_socket and swsusp

2005-08-04 Thread Lee Revell
On Thu, 2005-08-04 at 17:15 -0700, Andrew Morton wrote:
 Seems that the linux-kernel list has the same result ;(

Are you serious, LKML is subscribers only now?

Lee

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.13-rc4: yenta_socket and swsusp

2005-08-01 Thread Andreas Steinmetz
[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 [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.13-rc4: yenta_socket and swsusp

2005-08-01 Thread Andreas Steinmetz
[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 [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/