Re: Re: fr1-2.16 patch for 2.6.10 kernel
denis bonnenfant <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
>>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]
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]
eax: 00000000 ebx: f798ac00 ecx: c0431cdc edx: f7fc8280
esi: f71d9580 edi: 00000000 ebp: f7fc8480 esp: f7775f30
ds: 007b es: 007b ss: 0068
Process md0_raid1 (pid: 597, threadinfo=f7774000 task=f76fed70)
Stack: f71d9580 f7fc8480 f71d9580 00000000 00000000 f7fc8280 f88b9d67 f7fc8480
f71d9580 f7cbb700 f7774000 f7775fdc f7774000 f7fc8490 f7fc850c f88a59f5
f7fc8480 f7cbb700 f7774000 f7775fdc f7774000 00000000 f76fed70 00000000
Call Trace:
[<f88b9d67>] md_check_recovery+0x31f/0x4b8 [md]
[<f88a59f5>] raid1d+0x19/0x1b8 [raid1]
[<f88b859f>] md_thread+0x14f/0x188 [md]
[<f88b8450>] md_thread+0x0/0x188 [md]
[<c01145a8>] autoremove_wake_function+0x0/0x40
[<c01145a8>] autoremove_wake_function+0x0/0x40
[<c0102245>] kernel_thread_helper+0x5/0xc
Code: 8b 50 04 8b 46 14 8b 40 04 8b 40 30 39 42 30 75 5f 83 3b 00
I can't see it in the oops
>
>
>>f88a53d7
>>
>>I'm going to add some more printks...
>
>
> One at the start of hot_add_disk.
You might be interested in the
> __FUNCTION__ macro! It's a string.
>
ok I try it.