Ext2 Floppies

Moshe Zadka (moshez@ladybug.org.il)
Fri, 10 Oct 1997 10:08:36 +0300 (IDT)


1. Panic when mounting ext2 floppy.

2. I had a kernel panic when I tried to mount an ext2 floppy which has
just been umounted.

3. Keywords - filesystems, fs, kernel, ext2, floppy

4. /proc/version: Linux version 2.1.57 (ladybug@ladybug) (gcc version
2.7.2.1) #2 Sat Sep 27 18:12:31 IDT 1997

5.
>From syslog:
Oct 10 08:48:38 ladybug kernel: VFS: Disk change detected on device 02:00
Oct 10 08:48:40 ladybug kernel: EXT2-fs warning: mounting unchecked fs,
running
e2fsck is recommended
Oct 10 08:48:40 ladybug kernel: floppy0: data CRC error: track 0, head 0,
sector 10, size 2
Oct 10 08:48:41 ladybug kernel: floppy0: data CRC error: track 0, head 0,
sector 10, size 2
Oct 10 08:48:41 ladybug kernel: end_request: I/O error, dev 02:00, sector
9

And the following panic (I copied it from the screen, so there might be
errors.)

Kernel Panic: EXT2-fs panic (device 02:00)
read_inode_bitmap: cannot read inode

bitmap - block_group = 0, inode_bitmap=4

7. I am unable to post the exact enviourment, as the computer crashed.
However, it is probably similar to
TERM=linux
HZ=100
HOME=/home/ladybug
SHELL=/usr/bin/tcsh
PATH=/bin:/usr/bin/:/usr/local/bin:/usr/games:/home/ladybug/bin/:.
USER=ladybug
LOGNAME=ladybug
MAIL=/var/spool/mail/ladybug
HUSHLOGIN=FALSE
HOSTTYPE=i386-linux
VENDOR=intel
OSTYPE=linux
MACHTYPE=i386
SHLVL=1
PWD=/var/log
GROUP=ladybug
HOST=ladybug
PAGER=less
MANPATH=/usr/man:/usr/local/man:/usr/share/man
EDITOR=vim
LESS=QMx4

7.1. ver_linux output:
Linux ladybug 2.1.57 #2 Sat Sep 27 18:12:31 IDT 1997 i486 unknown
Kernel modules found
Gnu C 2.7.2.1
Binutils 2.7.0.9
Linux C Library 5.4.33
Dynamic Linker (ld.so) 1.8.12
Linux C++ Library 27.2.1
Procps 1.12
Mount 2.6d
Net-tools (Peter
Kbd 0.89
Sh-utils 1.16

7.2 /proc/cpuinfo:
processor : 0
cpu : 486
model : DX/2
vendor_id : GenuineIntel
stepping : 5
fdiv_bug : no
hlt_bug : no
sep_bug : no
fpu : yes
fpu_exception : yes
cpuid : yes
wp : yes
flags : fpu vme
bogomips : 33.28

7.3 /proc/modules:
misc 872 0 (autoclean) (unused)
msdos 7184 1 (autoclean)
fat 24616 1 (autoclean) [msdos]
ppp 21876 0 (unused)
slhc 4816 0 [ppp]
ftape 178420 0 (unused)

7.4 /proc/scsi/scsi non-existent

7.5
/proc/mounts:
/dev/root / ext2 rw 0 0
none /proc proc rw 0 0
/dev/hda1 /usr/msdos msdos ro,noexec 0 0

/proc/interrupts:
0: 434583 timer
1: 8130 keyboard
2: 0 cascade
4: 7622 serial
13: 3 fpu
14: 91665 ide0
NMI: 0

Thanks in advance,
Moshe Zadka
--------------------------------------------------------
The .X-files: The configuration is in there.
Use moshez (at) math (dot) huji (dot) ac (dot) il to mail
me. Replace (at) w/@ and (dot) w/.