lkml.org 
[lkml]   [1997]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.1.57: trouble reading ext2 superblocks
    When trying to boot 2.1.51 (the last 2.1 kernel I tried), I got this
    error:

    Partition check:
    hda: hda1 hda2
    hdb: hdb1 hdb2 hdb3 hdb4
    VFS: mounted root (ext2 filesystem) readonly.
    EXT2-fs error (device 03:41): ext2_find_entry: bad entry in directory #38:
    rec_len is smaller than minimal - offset=0,k inode=67595, rec_len=0,
    name_len=446
    Unable to open an initial console.
    Kernel panic: No init found. Try passing init= option to kernel.

    With 2.1.57, I got a very similar error. It persisted even after I
    reformatted /dev/hdb1 (my root partition) using mke2fs 1.02, and replaced
    its contents. I tried making a new root partition on /dev/hda2, and was
    then able to boot. However, I got errors from e2fsck 1.06, which is run
    from my init scripts at boot time. It complained about several
    superblocks on the second hard drive, errors I normally don't see.
    However, there was no such error with /dev/hdb1, from which I hadn't been
    able to boot 2.1.57 just a few moments earlier.

    Parallelizing fsck version 1.06 (7-Oct-96)
    /dev/hdb1: clean, 2724/5040 files, 14815/20159 blocks
    fsck.ext2: Bad magic number in super-block while trying to open /dev/hdb2

    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

    /dev/hda3: clean, 37040/78624 files, 307138/314118 blocks
    /dev/hda2: clean, 2725/101200 files, 27066/403704 blocks
    fsck.ext2: Bad magic number in super-block while trying to open /dev/hdb3

    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

    fsck.ext2: Bad magic number in super-block while trying to open /dev/hdb4

    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

    I got errors later, when mount (version 2.7) ran:

    VFS: Can't find an ext2 filesystem on dev 03:43.
    mount: wrong fs type, bad option, bad superblock on /dev/hdb3,
    or too many mounted file systems
    VFS: Can't find an ext2 filesystem on dev 03:42.
    mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
    or too many mounted file systems

    Here are some more messages from boot time:

    Co-Processor : Installed Extended Memory : 64512K
    CPU Clock : 166MHz Cache Memory : W/B Cache On
    Diskette Drive A : 1.44M, 3.5 in. Display Type : EGA/VGA
    Diskette Drive B : None Serial Port(s) : 3F8 2F8
    Pri. Master Disk : CHS ,Mode 4, 2009MB Parallel Port(s) : 378
    Pri. Slave Disk : LBA ,Mode 4, 1282MB SRAM Type : Write Back
    Sec. Master Disk : None
    Sec. Slave Disk : None

    PCI device listing.....
    Bus No. Device No. Func No. Vendor ID Device ID Device Class IRQ
    0 17 0 10EC 8029 Network controller 11
    0 20 0 1045 C621 IDE Controller 14


    LILO boot:
    Loading 2.1.57.......
    Uncompressing Linux...done.
    Now booting the kernel
    Memory: sized by int13 088h
    Console: colour VGA+ 80x25, 1 virtual console (max 63)
    PCI: BIOS32 Service Directory structure at 0xc00fac50
    PCI: BIOS32 Service Directory entry at 0xfb0c0
    PCI: PCI BIOS revision 2.10 entry at 0xfb0f0
    Probing PCI hardware.
    Calibrating delay loop.. ok - 66.15 BogoMIPS
    Memory: 62836k/65536k available (640k kernel code, 392k reserved, 1648k
    data, 20k init)
    Swansea University Computer Society NET3.039 for Linux 2.1
    NET3: Unix domain sockets 0.16 for Linux NET3.038.
    Swansea University Computer Society TCP/IP for NET3.037
    IP Protocols: IGMP, ICMP, UDP, TCP
    Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
    Checking 'hlt' instruction... Ok.
    Linux version 2.1.57 (root@ppp3.csudh.EDU) (gcc version 2.7.2.1) #1 Fri
    Sep 26 05:52:48 PDT 1997
    POSIX conformance testing by UNIFIX
    Starting kswapd v 1.23
    Serial driver version 4.24 with no serial options enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    PPP: version 2.2.0 (dynamic channel allocation)
    TCP compression code copyright 1989 Regents of the University of
    California
    PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
    PPP line discipline registered.
    hda: 1916MB, CHS=3893/16/63
    hdb: 1222MB, CHS=621/64/63
    Partition check:
    hda: hda1 hda2 hda3
    hdb: hdb1 hdb2 hdb3 hdb4
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 20k freed
    INIT: version 2.71 booting
    CONFIG_EXPERIMENTAL=y
    CONFIG_MODULES=y
    CONFIG_KERNELD=y
    CONFIG_NET=y
    CONFIG_PCI=y
    CONFIG_PCI_BIOS=y
    CONFIG_PCI_DIRECT=y
    CONFIG_PCI_OPTIMIZE=y
    CONFIG_SYSVIPC=y
    CONFIG_SYSCTL=y
    CONFIG_BINFMT_AOUT=m
    CONFIG_BINFMT_ELF=y
    CONFIG_BINFMT_MISC=m
    CONFIG_BINFMT_JAVA=m
    CONFIG_M586=y
    CONFIG_VIDEO_SELECT=y
    CONFIG_PARPORT=m
    CONFIG_PARPORT_PC=m
    CONFIG_PNP=y
    CONFIG_PNP_PARPORT=m
    CONFIG_BLK_DEV_FD=m
    CONFIG_BLK_DEV_IDE=y
    CONFIG_BLK_DEV_HD_IDE=y
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_BLK_DEV_LOOP=m
    CONFIG_BLK_DEV_HD=y
    CONFIG_INET=y
    CONFIG_PATH_MTU_DISCOVERY=y
    CONFIG_IP_NOSR=y
    CONFIG_SCSI=m
    CONFIG_BLK_DEV_SD=m
    CONFIG_CHR_DEV_ST=m
    CONFIG_BLK_DEV_SR=m
    CONFIG_BLK_DEV_SR_VENDOR=y
    CONFIG_CHR_DEV_SG=m
    CONFIG_SCSI_AHA1542=m
    CONFIG_NETDEVICES=y
    CONFIG_NET_ETHERNET=y
    CONFIG_NET_ISA=y
    CONFIG_NE2000=m
    CONFIG_PPP=y
    CONFIG_EXT2_FS=y
    CONFIG_FAT_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_PROC_FS=y
    CONFIG_NFS_FS=m
    CONFIG_NFSD=m
    CONFIG_SUNRPC=m
    CONFIG_LOCKD=m
    CONFIG_SMB_FS=m
    CONFIG_SMB_WIN95=y
    CONFIG_ISO9660_FS=m
    CONFIG_AUTOFS_FS=y
    CONFIG_VT=y
    CONFIG_VT_CONSOLE=y
    CONFIG_SERIAL=y
    CONFIG_PRINTER=m
    CONFIG_PRINTER_READBACK=y
    CONFIG_SOUND=m
    CONFIG_SB=y
    CONFIG_YM3812=y
    SBC_BASE=220
    SBC_IRQ=5
    SBC_DMA=1
    SB_DMA2=5
    SB_MPU_BASE=0
    SB_MPU_IRQ=-1
    CONFIG_LOWLEVEL_SOUND=y
    CONFIG_AWE32_SYNTH=y
    CONFIG_PROFILE=y
    CONFIG_PROFILE_SHIFT=2
    CONFIG_MAGIC_SYSRQ=y
    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:0.035 / U:0.632 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site