Re: [Lug-bg] Проблем при форматиране на sync-ващ се RAID1
- Subject: Re: [Lug-bg] Проблем при форматиране на sync-ващ се RAID1
- From: Yanko Kaneti <yaneti@xxxxxxxxxxx>
- Date: Tue, 28 Apr 2009 17:08:54 +0300
On Tue, 2009-04-28 at 12:14 +0300, Rossen Antonov wrote:
> Здравейте,
>
> Инсталирам Slackware-current на Dell сървер с два диска. Преди да
> започна самата инсталация деля първия диск на три части, копирам
> partition таблицата му на втория диск и след това правя три RAID1
> масива:
>
> mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
> mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
> mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
>
> Дяловте са тип "fd", т.е. Linux Raid Autodetect.
>
> Пускам setup, посочвам swap-а, форматирам md1 и при формат на md2 нещо
> се случва и на екрана ми излиза следното:
>
> --------------------------------------------------------
> BUG: unable to handle kernel paging request at 00001000
> IP: [<c016f144>] put_page+0x14/0x120
> *pde = 00000000
> Oops: 0000 [#1] SMP
> last sysfs file: /sys/devices/virtual/block/md3/dev
> Modules linked in:
>
> Pid: 2753, comm: md2_resync Not tainted (2.6.29.1-smp #2) PowerEdge SC440
> EIP: 0060:[<c016f144>] EFLAGS: 00010282 CPU: 0
> EIP is at put_page+0x14/0x120
> EAX: 00001000 EBX: 00001000 ECX: 00000004 EDX: 00000007
> ESI: 0000000c EDI: f61507e0 EBP: e3866400 ESP: c16ebdec
> DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
> Process md2_resync (pid: 2753, ti=c16ea000 task=c170d970 task.ti=c16ea000)
> Stack:
> 00000001 0000000c f61507e0 e3866400 c06961f3 00000000 00011200 e3866430
> 00000000 c168b380 00000001 00000000 ecd2a940 00011210 ecd2a95c c0168ad7
> 00000010 c19196c0 c19196c0 00001000 c01b446a 00001000 00000000 c1662000
> Call Trace:
> [<c06961f3>] r1buf_pool_alloc+0x1b3/0x1f0
> [<c0168ad7>] mempool_alloc+0x27/0xd0
> [<c01b446a>] bio_add_page+0x3a/0x50
> [<c0696435>] sync_request+0x175/0x770
> [<c06962c0>] sync_request+0x0/0x770
> [<c06ae58a>] md_do_sync+0x8ea/0xd40
> [<c013f050>] autoremove_wake_function+0x0/0x50
> [<c06aef32>] md_thread+0x32/0x100
> [<c0121d80>] complete+0x40/0x60
> [<c06aef00>] md_thread+0x0/0x100
> [<c013ece9>] kthread+0x39/0x70
> [<c013ecb0>] kthread+0x0/0x70
> [<c0103b5b>] kernel_thread_helper+0x7/0x1c
> Code: 8d b4 26 00 00 00 00 b8 c0 ee 16 c0 e9 b6 cd fc ff 8d b6 00 00
> 00 00 83 ec 10 89 1c 24 89 c3 89 74 24 04 89 7c 24 08 89 6c 24 0c <8b>
> 00 f6 c4 60 75 2c
> 8d 43 04 f0 ff 08 0f 94 c2 84 d2 74 40 8b
> EIP: [<c016f144>] put_page+0x14/0x120 SS:ESP 0068:c16ebdec
> ---[ end trace a1012188906d2f54 ]---
> --------------------------------------------------------
>
> Малко преди този момент в /proc/mdstat се вижда, че в момента тече sync на md2.
>
> При повторен опит - всичко минава гладко. При трети опит - получавам същото:
>
> --------------------------------------------------------
> BUG: unable to handle kernel NULL pointer dereference at 00000001
> IP: [<c016f144>] put_page+0x14/0x120
> *pde = 00000000
> Oops: 0000 [#1] SMP
> last sysfs file: /sys/devices/virtual/block/md3/dev
> Modules linked in:
>
> Pid: 2484, comm: md2_resync Not tainted (2.6.29.1-smp #2) PowerEdge SC440
> EIP: 0060:[<c016f144>] EFLAGS: 00010282 CPU: 0
> EIP is at put_page+0x14/0x120
> EAX: 00000001 EBX: 00000001 ECX: 000000c8 EDX: 00000002
> ESI: 00000090 EDI: c15625d0 EBP: d27e9740 ESP: c162ddec
> DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
> Process md2_resync (pid: 2484, ti=c162c000 task=f63fae60 task.ti=c162c000)
> Stack:
> 00000000 00000090 c15625d0 d27e9740 c06961f3 00000000 00011200 d27e9770
> 00000000 f67d5380 0000000c 00000000 c14c6e80 00011210 c14c6e9c c0168ad7
> 00000010 00000086 c0126129 00000000 00000001 00000086 00000000 f61ea400
> Call Trace:
> [<c06961f3>] r1buf_pool_alloc+0x1b3/0x1f0
> [<c0168ad7>] mempool_alloc+0x27/0xd0
> [<c0126129>] try_to_wake_up+0xf9/0x180
> [<c0696435>] sync_request+0x175/0x770
> [<c0121e5e>] __wake_up+0x3e/0x60
> [<c06962c0>] sync_request+0x0/0x770
> [<c06ae58a>] md_do_sync+0x8ea/0xd40
> [<c06aef32>] md_thread+0x32/0x100
> [<c0121d80>] complete+0x40/0x60
> [<c06aef00>] md_thread+0x0/0x100
> [<c013ece9>] kthread+0x39/0x70
> [<c013ecb0>] kthread+0x0/0x70
> [<c0103b5b>] kernel_thread_helper+0x7/0x1c
> Code: 8d b4 26 00 00 00 00 b8 c0 ee 16 c0 e9 b6 cd fc ff 8d b6 00 00
> 00 00 83 ec 10 89 1c 24 89 c3 89 74 24 04 89 7c 24 08 89 6c 24 0c <8b>
> 00 f6 c4 60 75 2c
> 8d 43 04 f0 ff 08 0f 94 c2 84 d2 74 40 8b
> EIP: [<c016f144>] put_page+0x14/0x120 SS:ESP 0068:c162ddec
> ---[ end trace d8cd5069c5686aaa ]---
> --------------------------------------------------------
>
> Не съм се ровил из google. Не знам нкакво да търся. Имате ли някакви
> предложения?
http://marc.info/?l=linux-raid&m=123899301527269
http://marc.info/?l=linux-raid&m=123996206012116
трябва ти 2.6.29.2
в google даваш примерно "EIP is at <където е краша>"
Поздрави
Янко
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|