Re: fr1-2.16 patch for 2.6.10 kernel

[email protected] (Peter T. Breuer)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
denis bonnenfant <[email protected]> wrote:
> >>md 3885: ** mddev->pers=f88a8b60
> >>md 3886: ** mddev->pers->hot_add_disk=f88a5388
> >>Unable to handle kernel NULL pointer dereference at virtual address 00000004
> >>  printing eip:
> > 
> > 
> > So it still looks like death in hot_add_disk. Did you answer my
> > question about the address of hot_add_disk, as seen in /proc/kallsysms?
> 
> excuse me i forgot it  :
> 
> grep add /proc/kallsyms | grep hot
> f88b7488 t hot_add_disk [md]

Well, that doesn't match f88a5388. But it's not far away. 0x12100 away.
Curious. Is there anything in kallsyms with address f88a5388?

> 
> f88a53d7
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT
> Modules linked in: raid1 bitmap md epic100 usbkbd parport_pc lp parport
> CPU:    0
> EIP:    0060:[<f88a53d7>]    Not tainted
> EFLAGS: 00010083   (2.6.8-enbd-fr1-debug1)
> EIP is at raid1_add_disk+0x4f/0xf8 [raid1]

Ahhhhh ... it's in raid1_add_disk, not hot_add_disk. Oookaaaayyyyyy..

One quarter way through. Hmmm - that could be me. Can you instrument?


> > 
> > One at the start of hot_add_disk.
>   You might be interested in the
> > __FUNCTION__ macro! It's a string.
> >
> ok I try it.


Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.