[ENBD] fr1 hangs when trying to access raid device..

Arve Emil Myrås enbd@lists.community.tummy.com
Wed, 5 Feb 2003 17:43:24 +0100


>>  include/linux/blk.h:
>>  #define CURRENT =
blkdev_entry_next_request(&blk_dev[MAJOR_NR].request_queue.queue_head)
>>
>>     req = CURRENT;
>> 
>> with
>> 
>>    req = blkdev_entry_next_request(q->queue_head);
>
>missing &
>
>    req = blkdev_entry_next_request(&q->queue_head);

Figured out that one by myself ...

But the result is (from write with dd):


>>EIP; fad2449a <[fr1]fr1_promote_req+ba/120>   <=====

>>ecx; f7911401 <___strtok+37611ee1/3a51fb40>
>>esi; f7a73e00 <___strtok+377748e0/3a51fb40>
>>ebp; c1c1def8 <___strtok+191e9d8/3a51fb40>
>>esp; c1c1dee0 <___strtok+191e9c0/3a51fb40>

Trace; fad24a67 <[fr1]fr1_ack_req+87/c0>
Trace; fad24b4d <[fr1]fr1_service_reqs+3d/60>
Trace; c0198d30 <vc_resize+2f00/3900>
Trace; fad24ba1 <[fr1]fr1_service_reqs_routine+31/50>
Trace; c011ad7d <__run_task_queue+4d/120>
Trace; c012388a <schedule_task+19a/220>
Trace; c0123760 <schedule_task+70/220>
Trace; c0105000 <empty_zero_page+1000/2eb0>
Trace; c01072fe <kernel_thread+2e/240>
Trace; c0123760 <schedule_task+70/220>

Code;  fad2449a <[fr1]fr1_promote_req+ba/120>
00000000 <_EIP>:
Code;  fad2449a <[fr1]fr1_promote_req+ba/120>   <=====
   0:   89 50 04                  mov    %edx,0x4(%eax)   <=====
Code;  fad2449d <[fr1]fr1_promote_req+bd/120>
   3:   89 02                     mov    %eax,(%edx)
Code;  fad2449f <[fr1]fr1_promote_req+bf/120>
   5:   8b 55 0c                  mov    0xc(%ebp),%edx
Code;  fad244a2 <[fr1]fr1_promote_req+c2/120>
   8:   c7 02 00 00 00 00         movl   $0x0,(%edx)
Code;  fad244a8 <[fr1]fr1_promote_req+c8/120>
   e:   c7 42 04 00 00 00 00      movl   $0x0,0x4(%edx)

had to start from fresh sources , so thisone is with commented printk's; going to uncomment them now,, tell me if you want the syslog with printk's from this test and I'll run it again...

-Arve Emil