Re:Floppy problem with 2.1.8x

Shaw Carruthers (shaw@shawc.demon.co.uk)
Tue, 10 Feb 1998 15:47:21 +0000 (GMT)


On Tue, 10 Feb 1998, Jochen Buehler wrote:

>
> Don't know if this is a related problem but doing a
>
> dd if=vmlinuz of=/dev/fd0
>
> does not work for me with 2.1.85(SMP)/IO_APIC.

The problem I am looking at only affects EXT2.

When the fs is created debugfs tells me

1 group (1 descriptors block)
Group 0: block bitmap at 3, inode bitmap at 4, inode table at 5
976 free blocks, 346 free inodes, 2 used directories

But if I mount and unmount the fs, then eject and reinsert the floppy, I
get

Feb 10 14:40:41 shawc kernel: EXT2-fs error (device 02:00):
ext2_check_descriptors: Block bitmap for group 0 not in group (block 0)!

1 group (1 descriptors block)
Group 0: block bitmap at 0, inode bitmap at 0, inode table at 0
0 free blocks, 0 free inodes, 0 used directories

The group descriptor seems to be ok in memory, but corrupted on the disk
by the mount/remount.

Ejecting/reinserting the disk triggers a reread from the disk and the
error.

--
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).
  

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu