Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Mar 2002 02:11:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Mar 2002 02:11:39 -0500 Received: from swazi.realnet.co.sz ([196.28.7.2]:40579 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Wed, 6 Mar 2002 02:11:21 -0500 Date: Wed, 6 Mar 2002 08:56:55 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: zwane@netfinity.realnet.co.sz To: Linux Kernel Cc: Jens Axboe Subject: [PANIC] 2.5.5-pre1 elevator.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm not quite sure where to really start with this one because i haven't the faintest clue about the IO scheduler juju. Scenario: My test box locked up (only sysrq worked so i managed to dump stuff to a serial console). When it locked it was doing a dd if=/dev/hdc of=/build where /dev/hdc is a disc (FreeBSD 4.4-REL - 636M) i was copying to an NFS volume. Here is the task information for dd. dd D 00000000 0 7944 7672 (NOTLB) Call Trace: [] [] [] [] [] [] [] [] [] [] Trace; c012b4dc <__lock_page+6c/90> Trace; c012b514 Trace; c012bc6f Trace; c01d981c Trace; c012c1ac Trace; c012c050 Trace; c013af86 Trace; c011d37b Trace; c010a434 Trace; c0108bef And here is the PC dump. Pid: 0, comm: swapper EIP: 0010:[] CPU: 0 EFLAGS: 00000246 Not tainted EAX: 00000000 EBX: c02a3ba0 ECX: 00000001 EDX: 00000000 ESI: 00000000 EDI: c01094a0 EBP: c02e3ec0 DS: 0018 ES: 0018 CR0: 8005003b CR2: 080d928c CR3: 0fd21280 CR4: 000002f0 Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] >>EIP; c0118790 <===== Trace; c011bf3b Trace; c0109159 Trace; c01094a0 Trace; c010955f Trace; c01d9800 Trace; c01ebb68 Trace; c01d99c6 Trace; c01d0772 Trace; c0118e8b Trace; c0119119 Trace; c0108cd8 Trace; c01ebb68 Trace; c01fd4a9 Trace; c02070ec Trace; c0207471 Trace; c0121075 Trace; d08349f4 <_end+104b9320/204ce98c> Trace; c0121075 Trace; c010a1ea Trace; c01153d3 Trace; c01319f8 Trace; c022e91b Trace; c022ea82 <__kfree_skb+112/120> Trace; c0230a5d Trace; c028fbf0 Trace; c028d4d3 Trace; c0207400 Trace; c0207120 Trace; c025f478 Trace; c025f835 Trace; c0232c09 Trace; c024118b Trace; c0241524 Trace; c01fd2c6 Trace; c0207400 Trace; c010a1ea Trace; c010a3e1 Trace; c0106d50 Trace; c0106d50 Trace; c0106d50 Trace; c0106d74 Trace; c0106df2 Trace; c0105000 <_stext+0/0> Ok so i can see it wasn't really a panic from seeing that, it just got escalated to one because we were in an interrupt handler. My reading of the trace is that we didn't really die in the entropy stuff but just before that in elevator_linus_add_request+38, batch_entropy_process+90 doesn't point to an instruction anyway. 0xc01ebb30 : push %ebp 0xc01ebb31 : push %edi 0xc01ebb32 : push %esi 0xc01ebb33 : push %ebx 0xc01ebb34 : sub $0x4,%esp 0xc01ebb37 : mov 0x20(%esp,1),%esi 0xc01ebb3b : movl $0x0,(%esp,1) 0xc01ebb42 : mov 0x18(%esp,1),%edi 0xc01ebb46 : mov 0x1c(%esp,1),%ebx 0xc01ebb4a : mov (%esi),%eax 0xc01ebb4c : mov 0x30(%edi),%ebp 0xc01ebb4f : cmp %edi,%eax 0xc01ebb51 : je 0xc01ebb6c 0xc01ebb53 : testb $0x20,0x1c(%eax) 0xc01ebb57 : je 0xc01ebb6c 0xc01ebb59 : push $0xed 0xc01ebb5e : push $0xc02bc3e5 0xc01ebb63 : call 0xc0114800 0xc01ebb68 : ud2a <== if (insert_here->next != &q->queue_head) BUG_ON(list_entry_rq(insert_here->next)->flags & REQ_STARTED); <== Thanks, Zwane Mwaikambo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/