Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Squid-2.4.7 problem
@ 2002-11-22 17:14 jsoe0708
  2002-11-22 17:33 ` Randolph Chung
  0 siblings, 1 reply; 3+ messages in thread
From: jsoe0708 @ 2002-11-22 17:14 UTC (permalink / raw)
  To: parisc-linux

Hi all,

I try to install squid on a sarge install with a kernel 2.4.19-32. This squid
failled with data_page_fault.

As I would like to build an elementary FW there is no dev tools on this box.
So I try to debug the problem on my unstable (just update this morning) box
but here the problem is absolutly different: squid loop and a strace tells
me:
...
sched_yield()    =0
sched_yield()    =0
sched_yield()    =0
nanosleep({0, 2000001}, NULL)   =0
sched_yield()    =0
sched_yield()    =0
...

What should (could) I do ... 
in the first case I do not want to reinstall dev tools;
in the second one I do not know how to revert last apt-get update?

Thansk in advance,
    Joel


********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Squid-2.4.7 problem
  2002-11-22 17:14 [parisc-linux] Squid-2.4.7 problem jsoe0708
@ 2002-11-22 17:33 ` Randolph Chung
  2002-11-22 17:39   ` jsoe0708
  0 siblings, 1 reply; 3+ messages in thread
From: Randolph Chung @ 2002-11-22 17:33 UTC (permalink / raw)
  To: jsoe0708; +Cc: parisc-linux

> I try to install squid on a sarge install with a kernel 2.4.19-32. This squid
> failled with data_page_fault.

if this is reproducible, it is much better if you generate a core file
and look at that instead.

> As I would like to build an elementary FW there is no dev tools on this box.
> So I try to debug the problem on my unstable (just update this morning) box
> but here the problem is absolutly different: squid loop and a strace tells
> me:
> ...
> sched_yield()    =0
> sched_yield()    =0

i suspect this is quite normal, depending on what squid is doing.

strace by default also only looks at the parent task. if any children
are fork()ed they will not be traced unless you tell it to. 

randolph

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Squid-2.4.7 problem
  2002-11-22 17:33 ` Randolph Chung
@ 2002-11-22 17:39   ` jsoe0708
  0 siblings, 0 replies; 3+ messages in thread
From: jsoe0708 @ 2002-11-22 17:39 UTC (permalink / raw)
  To: Randolph Chung; +Cc: parisc-linux

Hi Randolph,

>
>> I try to install squid on a sarge install with a kernel 2.4.19-32. This
>squid
>> failled with data_page_fault.
>
>if this is reproducible, it is much better if you generate a core file
>and look at that instead.

Good idea I will try.

>
>> As I would like to build an elementary FW there is no dev tools on this
>box.
>> So I try to debug the problem on my unstable (just update this morning)
>box
>> but here the problem is absolutly different: squid loop and a strace tells
>> me:
>> ...
>> sched_yield()    =0
>> sched_yield()    =0
>
>i suspect this is quite normal, depending on what squid is doing.
>
>strace by default also only looks at the parent task. if any children
>are fork()ed they will not be traced unless you tell it to. 
>
Hmm strace -f -p xxx 

says the same and no forks process?

I will try first the core dump.

Thanks,
    Joel



********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-22 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 17:14 [parisc-linux] Squid-2.4.7 problem jsoe0708
2002-11-22 17:33 ` Randolph Chung
2002-11-22 17:39   ` jsoe0708

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox