Bug#386347: [Pkg-sysvinit-devel] Bug#386347: initscripts 2.86.ds1-18 didn't fix my boot problem

Peter Colberg peterco at gmx.net
Sat Sep 9 15:05:06 UTC 2006


Hi,

after fully recovering from the update-rc.d breakage, I also still have
trouble booting with sysvinit version 2.86.ds1-18. Downgrading to
2.86.ds1-15 solves the problem.

Upon trying to boot an LVM on root system, with a custom kernel and an
initrd image residing on a small boot partition, I receive an fsck
error message as follows below. I have attached dumps acquired from the
rescue shell of /proc/mdstat, /proc/mounts, my fstab as well as the
output of fdisk, lvdisplay, vgdisplay and mount in order to provide
some detail on my system.

I hope this will help resolve the issue in some way.

Regards,
Peter


==
Switching root ...
INIT: version 2.86 booting
Setting hostname to 'maia' ...done.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...eth1394: eth2: IEEE-1394 IPv4 over 1394
 Ethernet (fw-host0)
done.
Setting parameters of disc: (none).
Activating swap:swapon: unable to open loop device /dev/loop6
 failed!
* Files under mount point '/tmp' will be hidden.
Will now check root file system: fsck 1.39 (29-May-2006)
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a rootdev -C0 /dev/vg/root
Usage: fsck.ext3 [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]
                [-I inode_buffer_blocks] [-P process_inode_size]
                [-I|-L bad_blocks_file] [-C fd] [-j external_journal]
                [-E extended-options] device

Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to badblock list
 -f                   Force checking even if filesystem is marked clean
 -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list
fsck died with exit status 16
 failed!
* An automatic file system check (fsck) of the root filesystem failed.
A manual fsck must be performed, then the system restarted.
The fsck should be performed in maintenance mode with the
root filesystem mounted in read-only mode.
* The root filesystem is currently mounted in read-only mode.
A maintainance shell will now be started.
After performing system maintenance, press CONTROL-D
to terminate the maintenance shell and restart the system.
Give root password for maintenance
(or type Control-D to continue):



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-maia
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages sysvinit depends on:
hi  initscripts                  2.86.ds1-18 Scripts for initializing and shutt
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libselinux1                  1.30.27-2   SELinux shared libraries
ii  libsepol1                    1.12.26-1   Security Enhanced Linux policy lib
hi  sysv-rc                      2.86.ds1-18 System-V-like runlevel change mech

sysvinit recommends no packages.

-- no debconf information
-------------- next part --------------

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          31      248976   fd  Linux raid autodetect
/dev/sda2              32       19457   156039345    5  Extended
/dev/sda5              32       19457   156039313+  fd  Linux raid autodetect

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          31      248976   fd  Linux raid autodetect
/dev/sdb2              32       19457   156039345    5  Extended
/dev/sdb5              32       19457   156039313+  fd  Linux raid autodetect
-------------- next part --------------
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/vg/root	/		ext3	defaults,errors=remount-ro 0	1
/dev/md0	/boot		ext3	defaults	0	2
/dev/vg/tmp	/tmp		ext3	defaults	0	2
/dev/vg/swap	none		swap	sw,loop=/dev/loop6,encryption=AES256	0	0
/dev/vg/home	/home		ext3	defaults	0	2
/dev/cdrom      /media/cdrom    iso9660 ro,user,noauto  0       0
/dev/dvd        /media/dvd      iso9660 ro,user,noauto  0       0
/dev/dvdrw      /media/dvdrw    iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy   auto    rw,user,noauto  0       0
/dev/sdc1	/media/hd	auto	rw,user,noauto	0	0
merope:/mnt/disc0_1	/media/merope	nfs	rw,hard,lock,udp	0	0
/home	/srv/chroot/sid-i386/home	none	bind		0	0
/root	/srv/chroot/sid-i386/root	none	bind		0	0
/tmp	/srv/chroot/sid-i386/tmp	none	bind		0	0
proc	/srv/chroot/sid-i386/proc	proc	defaults	0	0
sysfs	/srv/chroot/sid-i386/sys	sysfs	defaults	0	0
/dev	/srv/chroot/sid-i386/dev	none	bind		0	0
-------------- next part --------------
  --- Logical volume ---
  LV Name                /dev/vg/swap
  VG Name                vg
  LV UUID                0gX2uR-GGci-NCi2-OX8S-H2sH-KwDJ-Epzrpn
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                2.00 GB
  Current LE             512
  Segments               1
  Allocation             contiguous
  Read ahead sectors     0
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/vg/root
  VG Name                vg
  LV UUID                YW5ySg-6Igp-gT8S-lBxt-wai5-eWwu-Gsb02K
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                9.00 GB
  Current LE             2304
  Segments               1
  Allocation             contiguous
  Read ahead sectors     0
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/vg/home
  VG Name                vg
  LV UUID                6fQFMw-VG1m-YnXq-bAK6-5vxO-W1oy-M9eOFb
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                127.00 GB
  Current LE             32512
  Segments               1
  Allocation             contiguous
  Read ahead sectors     0
  Block device           253:2
   
  --- Logical volume ---
  LV Name                /dev/vg/tmp
  VG Name                vg
  LV UUID                IwzJ3Y-atTV-N7u5-hh5d-4TgS-44e6-7WO7Ix
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                9.00 GB
  Current LE             2304
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:3
   
-------------- next part --------------
/dev/vg/root on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
-------------- next part --------------
Personalities : [linear] [raid0] [raid1] [raid5] [raid4] 
md1 : active raid1 sda5[0] sdb5[1]
      156039232 blocks [2/2] [UU]
      
unused devices: <none>
-------------- next part --------------
rootfs / rootfs rw 0 0
/dev/mapper/vg-root / ext3 rw,data=ordered 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
/dev/mapper/vg-root /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /dev tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
-------------- next part --------------
  --- Volume group ---
  VG Name               vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  46
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                4
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               148.81 GB
  PE Size               4.00 MB
  Total PE              38095
  Alloc PE / Size       37632 / 147.00 GB
  Free  PE / Size       463 / 1.81 GB
  VG UUID               A3HQrW-fzeH-0eL8-3hB1-E873-5UYs-YGhiAo
   


More information about the Pkg-sysvinit-devel mailing list