Linux MIPS Architecture development
 help / color / mirror / Atom feed
* more on my slab problem
@ 2002-07-06 22:10 Steven Seeger
  2002-07-06 22:10 ` Steven Seeger
  2002-07-07  9:38 ` Vivien Chappelier
  0 siblings, 2 replies; 5+ messages in thread
From: Steven Seeger @ 2002-07-06 22:10 UTC (permalink / raw)
  To: linux-mips, linux-mips-kernel

The page fault is happening in __wake_up_common() On the 3rd time through
the list_for_each() block, a wait_queue_t *curr = list_entry(tmp,
wait_queue_t, task_list); line returns a curr of 0xFFFFFFF8 and it page
faults on the p = curr->task line because obviously that's a bad address.
(page faults on 0xFFFFFFFC)

I'm sorry to write to both lists but neither has a lot of activity and I'm
hoping somebody on one of the lists could help.

Steve

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

* more on my slab problem
  2002-07-06 22:10 more on my slab problem Steven Seeger
@ 2002-07-06 22:10 ` Steven Seeger
  2002-07-07  9:38 ` Vivien Chappelier
  1 sibling, 0 replies; 5+ messages in thread
From: Steven Seeger @ 2002-07-06 22:10 UTC (permalink / raw)
  To: linux-mips, linux-mips-kernel

The page fault is happening in __wake_up_common() On the 3rd time through
the list_for_each() block, a wait_queue_t *curr = list_entry(tmp,
wait_queue_t, task_list); line returns a curr of 0xFFFFFFF8 and it page
faults on the p = curr->task line because obviously that's a bad address.
(page faults on 0xFFFFFFFC)

I'm sorry to write to both lists but neither has a lot of activity and I'm
hoping somebody on one of the lists could help.

Steve

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

* Re: more on my slab problem
  2002-07-06 22:10 more on my slab problem Steven Seeger
  2002-07-06 22:10 ` Steven Seeger
@ 2002-07-07  9:38 ` Vivien Chappelier
  2002-07-07  9:44   ` Vivien Chappelier
  1 sibling, 1 reply; 5+ messages in thread
From: Vivien Chappelier @ 2002-07-07  9:38 UTC (permalink / raw)
  To: Steven Seeger; +Cc: linux-mips

On Sat, 6 Jul 2002, Steven Seeger wrote:

> The page fault is happening in __wake_up_common() On the 3rd time through
> the list_for_each() block, a wait_queue_t *curr = list_entry(tmp,
> wait_queue_t, task_list); line returns a curr of 0xFFFFFFF8 and it page
> faults on the p = curr->task line because obviously that's a bad address.
> (page faults on 0xFFFFFFFC)
> 
> I'm sorry to write to both lists but neither has a lot of activity and I'm
> hoping somebody on one of the lists could help.

Hi,

	I've already encountered a similar problem before, binutils was
producing bad data for the initialization of the waitq. This was with
binutils 2.11.92.0.10.
	I worked around the problem by simply moving 
DECLARE_WAIT_QUEUE_HEAD(kswapd_wait);
	to the beginning of the mm/vmscan.c file, however, you should
consider upgrading your toolchain if you're using the same version of
binutils I used.

references:
http://www.spinics.net/lists/mips/msg09771.html
http://www.spinics.net/lists/mips/msg09210.html

regards,
Vivien Chappelier.

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

* Re: more on my slab problem
  2002-07-07  9:38 ` Vivien Chappelier
@ 2002-07-07  9:44   ` Vivien Chappelier
  2002-07-07 14:38     ` H. J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Vivien Chappelier @ 2002-07-07  9:44 UTC (permalink / raw)
  To: linux-mips

> This was with binutils 2.11.92.0.10.

Sorry, this was actually binutils 2.9.5

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

* Re: more on my slab problem
  2002-07-07  9:44   ` Vivien Chappelier
@ 2002-07-07 14:38     ` H. J. Lu
  0 siblings, 0 replies; 5+ messages in thread
From: H. J. Lu @ 2002-07-07 14:38 UTC (permalink / raw)
  To: Vivien Chappelier; +Cc: linux-mips

On Sun, Jul 07, 2002 at 11:44:56AM +0200, Vivien Chappelier wrote:
> > This was with binutils 2.11.92.0.10.
> 
> Sorry, this was actually binutils 2.9.5
> 

That binutils is broken. The binutils in my RedHat/mips 7.1/7.3 should
be ok. If not, I'd like to see a testcase.


H.J.

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

end of thread, other threads:[~2002-07-07 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-06 22:10 more on my slab problem Steven Seeger
2002-07-06 22:10 ` Steven Seeger
2002-07-07  9:38 ` Vivien Chappelier
2002-07-07  9:44   ` Vivien Chappelier
2002-07-07 14:38     ` H. J. Lu

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