On Sun, 22 Feb 2004, BlaisorBlade said:
> Hmmm, I've looked at the faulting code and IMHO the most probable thing is a
> compilation problem (forgot make dep after applying the patch, for instance)
> -
> try saving your .config, running make mrproper,
> grepping through .config to check that CONFIG_PROC_MM=y and recompiling the
> bzImage:
> $ make dep bzImage
It's highly plausible that exactly that happened: I forgot `make
oldconfig' during the first build and assumed (ha!) that `make dep'
would fix everything up OK so that a config change would trigger
rebuilds appropriately. Possibly this was a foolish assumption and a
`make dep clean' was necessary.
> More exactly, it seems that arch/i386/kernel/ptrace.c was recompiled after
> applying the patch but without CONFIG_PROC_MM on.
OK.
> Also, IMHO that kind of error cannot be returned by sys_ptrace, unless
> CONFIG_PROC_MM was off when compiling that file (I've also checked
> proc_mm_get_mm).
That's my conclusion too. I'll try rebuilding from scratch tomorrow
evening and see if that works.
(Oops.)
--
`note to the crown prosecution service: Machine guns dont have a
'stun' setting.' --- mjw
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|