Daniel Moore wrote:
> I've just been trying to track down a problem I've started
> experiencing recently. I've finally worked out whats going on,
> and I think it's a known problem, but here's the symptoms just
> in-case anyone gets tripped up by it.
>
> I should say that I've turned off my swap space because I needed
> the partition so I could make a bigger xfs partition. That's probably
> part of the problem.
>
> On remounting (a clean) FS, system panics thru NULL pointer dereference
> in xlog_bread or occasionally other places in xfs_log_recover.c
>
> To cut a long story short, kmalloc fails a large allocation in
> pagebuf (pagebuf_get_no_daddr and maybe others) and returns NULL.
> xlog_get_bp returns NULL. xfs_bread coughs up a lung.
>
> I think the reason I'm tripping it is because I'm getting large
> meta data writes in the log (130k) and the whole block is being
> allocated during the search for the ends of the log.
>
> Anyway, there it is. Anyone have any thoughts?
Yup, I've been looking into this.
What are you doing to blow the 128k cache?
A "clean" file-system shouldn't be in reovery code, you must
have crashed the system at some point.
kmalloc failures are a know problem...
>
>
> -----------------------------------------------------
> Daniel Moore dxm@xxxxxxx
> R&D Software Engineer Phone: +61-3-98348209
> SGI Performance Tools Group Fax: +61-3-98132378
> -----------------------------------------------------
|