Re: Re: fr1-2.16 patch for 2.6.10 kernel

denis bonnenfant <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Peter T. Breuer a écrit :
> "Also sprach denis bonnenfant:"
> 
>>it's exactly on this test :
>>
>>if (mddev->pers->hot_add_disk(mddev,rdev)) {
> 
> 
> OK. That's kind of interesting. Can you print, just before that line,
> the value of
> 
>      mddev
> 
> then in another (different) printk, the value of
> 
>     mddev->pers
> 
> then in anther (different) printk, the value of
> 
>    mddev->pers->hot_add_disk
> 

md 3874: ** mddev=f7fd8d80 rdev=f7ff9980
md 3881: ** mddev=f7fd8d80 rdev=f7ff9980
md 3883: ** mddev=f7fd8d80 rdev=f7ff9980
md 3884: ** mddev->pers=f88afb60
md 3885: ** mddev->pers->hot_add_disk=f88ac388
Unable to handle kernel NULL pointer dereference at virtual address 00000004
  printing eip:
f88ac3d7
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: raid1 bitmap md epic100 usbkbd parport_pc lp parport
CPU:    0
EIP:    0060:[<f88ac3d7>]    Not tainted
EFLAGS: 00010083   (2.6.8-enbd-fr1-debug1)
EIP is at raid1_add_disk+0x4f/0xf8 [raid1]
eax: 00000000   ebx: f798aba0   ecx: c0431cdc   edx: f7989e80
esi: f7ff9980   edi: 00000000   ebp: f7fd8d80   esp: f408bf30
ds: 007b   es: 007b   ss: 0068
Process md0_raid1 (pid: 1950, threadinfo=f408a000 task=f4ff2df0)
Stack: f7ff9980 f7fd8d80 f7ff9980 f7fd8d90 00000000 f7989e80 f88b9d17 f7fd8d80
        f7ff9980 f2f44b00 f408a000 f408bfdc f408a000 f7fd8e0c 00000000 f88ac9f5
        f7fd8d80 f2f44b00 f408a000 f408bfdc f408a000 00000000 f4ff2df0 00000000
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.