All of lore.kernel.org
 help / color / mirror / Atom feed
From: "BERTRAND Joël" <joel.bertrand@systella.fr>
To: sparclinux@vger.kernel.org
Subject: Re: [sparc64] Strange interaction between 2.6 kernel and 2.5 (and
Date: Wed, 11 Jul 2007 18:56:29 +0000	[thread overview]
Message-ID: <469527DD.3030809@systella.fr> (raw)
In-Reply-To: <46933AE8.1080509@systella.fr>

BERTRAND Joël wrote:
> BERTRAND Joël wrote:
>> David Miller wrote:
>>> From: BERTRAND_Joël <joel.bertrand@systella.fr>
>>> Date: Tue, 10 Jul 2007 09:53:12 +0200
>>>
>>>>     When clamav-daemon (or all other daemons) remain in sleep mode, 
>>>> I cannot quickly restart this daemon by /etc/init.d/$(daemon) 
>>>> restart, I have to wait for a timeout.
>>>
>>> Use the kernel sysrq keystrokes to get a task dump to see where
>>> clamav-daemon is sleeping,
>>
>>     I will try tomorrow. I have to build a 2.6.22 (to see if nis works 
>> because it doesn't with 2.6.22-rc7).
> 
>     Tests made with a 2.6.22.1 (NIS works with 2.6.22.1 and not with 
> 2.6.22-rc7, but I don't know why... ;-) )
> 
>>> my suspicion is that it is stuck
>>> in the kernel futex code somewhere.
>>
>>     I think too.
> 
>     When I write these lines, my mail server is blocked due to clamd 
> socket trouble :
> 
> Root rayleigh:[/etc/mail] > ps -eLf | grep clamd
> clamav    3502     1  3502  1    2 10:53 ?        00:01:23 /usr/sbin/clamd
> clamav    3502     1  7226  0    2 12:00 ?        00:00:00 /usr/sbin/clamd
> root      8091  5893  8091  0    1 12:18 pts/0    00:00:00 grep clamd
> 
>     clamd remains in S mode.
> 
>     I have tried to obtain mode information with sysrq+w without any 
> success, sysrq+w returns no blocked task. In this example, clamd is 
> blocked, but some other tasks can be blocked.

	David, I cannot obtain more information with sysrq, but I have found 
another program that randomly stops : seamonkey (not really seamonkey, 
iceape, its debian package). Iceape randomly stops in sleep state. I 
have launched iceape in strace :

mprotect(0xf3ad6000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ad8000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ada000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3adc000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ade000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ae0000, 16384, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ae4000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ae6000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0xf3ae8000, 8192, PROT_READ|PROT_WRITE) = 0
gettimeofday({1184179749, 741572}, NULL) = 0
gettimeofday({1184179749, 741853}, NULL) = 0
futex(0x278dac, FUTEX_WAKE, 1)          = 1
access("/usr/lib/iceape/chrome/modern.jar", F_OK) = 0
gettimeofday({1184179749, 767087}, NULL) = 0
gettimeofday({1184179749, 767300}, NULL) = 0
gettimeofday({1184179749, 767530}, NULL) = 0
futex(0x278dac, FUTEX_WAKE, 1)          = 1
futex(0x278da8, FUTEX_WAKE, 1)          = 1
access("/usr/lib/iceape/chrome/modern.jar", F_OK) = 0
gettimeofday({1184179749, 771232}, NULL) = 0
gettimeofday({1184179749, 771447}, NULL) = 0
gettimeofday({1184179749, 771677}, NULL) = 0
futex(0x278dac, FUTEX_WAKE, 1)          = 1
futex(0xf3a00010, FUTEX_WAIT, 2, NULL <unfinished ...>
rayleigh:[~] >

(aborted by CTRL+C)

	If I restart iceape, it always stops with the same message type.

	I don't understand why (with the same kernel and same glibc), my U2/SMP 
works fine and not my U60/SMP.

	Regards,

	JKB

  parent reply	other threads:[~2007-07-11 18:56 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10  7:53 [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) BERTRAND Joël
2007-07-10 17:49 ` [sparc64] Strange interaction between 2.6 kernel and 2.5 (and David Miller
2007-07-10 18:03 ` BERTRAND Joël
2007-07-10 18:05 ` BERTRAND Joël
2007-07-11 10:24 ` BERTRAND Joël
2007-07-11 18:56 ` BERTRAND Joël [this message]
2007-07-11 20:43 ` David Miller
2007-07-12  7:17 ` BERTRAND Joël
2007-07-12  9:11 ` BERTRAND Joël
2007-07-12  9:38 ` David Miller
2007-07-12  9:46 ` David Miller
2007-07-12  9:50 ` BERTRAND Joël
2007-07-25  6:19 ` David Miller
2007-07-25  6:58 ` BERTRAND Joël
2007-07-25  8:31 ` BERTRAND Joël
2007-07-25  8:33 ` David Miller
2007-07-28  7:59 ` BERTRAND Joël
2007-07-28  8:07 ` David Miller
2007-07-28  8:25 ` BERTRAND Joël
2007-07-30  5:19 ` David Miller
2007-07-30  7:04 ` BERTRAND Joël
2007-07-30  7:07 ` David Miller
2007-07-30  7:48 ` BERTRAND Joël
2007-07-30  8:17 ` David Miller
2007-07-30  9:16 ` gavin duley
2007-07-30  9:22 ` David Miller
2007-07-30  9:45 ` gavin duley
2007-07-31  9:21 ` David Miller
2007-07-31  9:37 ` BERTRAND Joël
2007-07-31  9:42 ` David Miller
2007-07-31  9:52 ` BERTRAND Joël
2007-07-31  9:54 ` David Miller
2007-07-31 10:28 ` [sparc64] Strange interaction between 2.6 kernel and 2.5 (and 2.6) glibc gavin duley
2007-07-31 11:04 ` [sparc64] Strange interaction between 2.6 kernel and 2.5 (and BERTRAND Joël
2007-07-31 20:12 ` David Miller

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=469527DD.3030809@systella.fr \
    --to=joel.bertrand@systella.fr \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.