2003-01-15 10:50:43

by Ivan G.

[permalink] [raw]
Subject: 2.5.58: Kernel BUG at fs/devfs/base.c

Kernel: 2.5.58 + bitkeeper patches + a patch by Patrick Mochel to fix an
initrd oops: http://www.uwsg.iu.edu/hypermail/linux/kernel/0301.1/2364.html

I hit the following BUG twice while working with GNU parted.
The first time I tried to remove (rm) a partition and create a smaller one in
its place (mkpart). The second time I tried to remove a partition and create
a larger one in its place. Both times the partitions were created with the
proper size, but parted crashed with a segmentation fault.

Here's the important parts of the BUG:

parted: OOPS devfs.put: Poisoned put
...
Kernel BUG at fs/devfs/base.c: 930!
...
EIP: devfs_put+0x13c/0x150
...
Call Trace:
delete_partition+0x65/0x80
rescan_partitions+0x10d/0x120
blkdev_reread_part+0x72/0x90
blkdev_ioctl+0x131/0x450
sys_ioctl+0xfa/0x290
sysenter_entry+0x52/0x70
...
Call: 0f 0b a2 03 43 f9 37 c0 e9 d7 fe ff ff 8d b4 26 00 00 00 00
Segmentation fault