test1-ac13 Kernel Bug in fs/buffer.c:2443

From: Byron Stanoszek (gandalf@winds.org)
Date: Sun Jun 11 2000 - 10:17:48 EST


Recently tried 2.4.0-test1-ac13 and after all programs started up and I was
able to log in, running just about any process terminated with this bug within
a second of starting the process.

Crashed in fs/buffer.c, try_to_free_buffers(), line 2443 ...

        spin_lock(&unused_list_lock);
        tmp = bh;
        do {
                struct buffer_head * p = tmp;
                tmp = tmp->b_this_page;

                /* The buffer can be either on the regular
                 * queues or on the free list..
                 */
                if (p->b_dev != B_FREE) {
                        // @@@
                        if (p->b_inode)
---> BUG();
                        __remove_from_queues(p);
                }
                else
                        __remove_from_free_list(p, index);
                __put_unused_buffer_head(p);
        } while (tmp != bh);
        spin_unlock(&unused_list_lock);

---
Byron Stanoszek  <gandalf@winds.org>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:23 EST