[pkg-cryptsetup-devel] Bug#607307: cryptsetup: WARNING: could not determine root device from /etc/fstab ...
Jeffrey Sheinberg
jeff at bsrd.net
Thu Dec 16 21:55:08 UTC 2010
Package: cryptsetup
Version: 2:1.1.3-4
Severity: normal
Hi,
Upon initial install of cryptsetup, I get these errors,
cryptsetup: WARNING: failed to detect canonical device of /dev/sda6
cryptsetup: WARNING: could not determine root device from /etc/fstab
cryptsetup: WARNING: failed to detect canonical device of /dev/sda5
Note that sda6 is "/", and sda5 is 1st swap partition, while sdb5 is 2nd
swap partition but no error message about it.
Note that every non-commented entry in my fstab is preceeded by a blank,
a long time ago mount used to barf on this, but I reported it as a bug,
and mount was fixed in this respect.
Thanks,
Jeffrey Sheinberg
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda6 ro -b SUSHELL=/root/-sh
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- /etc/fstab
# /etc/fstab: static file system information.
#
# These files must all be kept in sync,
#
# /etc/fstab - devices and mount points.
# /etc/local/defs - devices and mount points.
# /etc/mtools.conf - mtools devices.
# /etc/smartd.conf - smart devices.
# ~jsroot/find_locl/common.in - devices not yet in /etc/local/defs.
# ~jsroot/grub/Makefile - devices not yet in /etc/local/defs.
# ~jeff/**/dls-include.mk - devices not yet in /etc/local/defs.
# $cfe - creation & maintenance of mount points.
#
#--------- ----------- ------- ------------------------------------------- - -
# D F
# Block Fs u s
# Special Mount Vfs Mount m c
# Device Point Type Options p k
#--------- ----------- ------- ------------------------------------------- - -
proc /proc proc nouser 0 0
tmpfs /dev/shm tmpfs nouser 0 0
# tmpfs /dev/shm tmpfs nouser,size=16M 0 0
# User must first run "losetup /dev/loopN filename", then "mount /fs/loopN".
# In order to mount "filename" ro, first "chmod a-w filename" prior to
# running "losetup ...", then "grep -e /fs/loopN /etc/mtab /proc/mounts" in
# order to verify this - mount lies, but the kernel does not. The most
# restrictive perms between "/dev/loopN" and "filename" are set by the kernel.
/dev/loop0 /fs/loop0 iso9660 users,rw,noauto 0 0
/dev/loop1 /fs/loop1 vfat users,rw,iocharset=iso8859-1,noauto 0 0
#
/dev/sr0 /media/sr0 udf,iso9660 users,ro,noauto 0 0
#
/dev/disk/by-uuid/49D2-4363 /media/ufd1 vfat users,iocharset=iso8859-1,noatime,noauto 0 0
/dev/disk/by-uuid/49D0-FE15 /media/ufd2 vfat users,iocharset=iso8859-1,noatime,noauto 0 0
#
/dev/disk/by-id/usb-Generic-_SD_MMC_058F63626420-0:0-part1 /media/sd-mmc vfat users,iocharset=iso8859-1,noatime,noauto 0 0
/dev/disk/by-id/usb-Generic-_Compact_Flash_058F63626420-0:1-part1 /media/cf-md vfat users,iocharset=iso8859-1,noatime,noauto 0 0
/dev/disk/by-id/usb-Generic-_SM_xD_Picture_058F63626420-0:2-part1 /media/sm-xd vfat users,iocharset=iso8859-1,noatime,noauto 0 0
/dev/disk/by-id/usb-Generic-_MS_MS-Pro_058F63626420-0:3-part1 /media/ms-pro vfat users,iocharset=iso8859-1,noatime,noauto 0 0
#
# aa="/swapfile"; mb=128; pri=0; { shred -n 1 -s "${mb}"M -v "${aa}" || dd if="/dev/zero" of="${aa}" bs=1024x1024 count="${mb}" ; } && chmod 0600 "${aa}" && mkswap "${aa}" && swapon -v -p "${pri}" "${aa}"
#/swapfile 128-MB Swap Linux swapfile on "/"
#/swapfile none swap sw,pri=0 0 0
#------------------------------------------------------------------------------
l1.bsrd.net:/ /fs/nfs-l1 nfs4 rw,sec=sys,soft,intr,timeo=4,async,noauto 0 0
#------------------------------------------------------------------------------
# For FAT filesystems, iocharset=iso8859-1 seems to work as well as cp437.
#/dev/sda1 2048-MB FAT32 Type b - FAT32
/dev/sda1 /fs/p/sda1 vfat users,iocharset=iso8859-1,noauto 0 2
#/dev/sda2 65539-MB Win-7 Type 7 - Windows-7 C: 0 0
/dev/sda2 /fs/p/sda2 ntfs ro,utf8,posix=1,noauto 0 0
#/dev/sda3 98308-MB Win-7 Type 7 - Windows-7 ?: 0 0
/dev/sda3 /fs/p/sda3 ntfs ro,utf8,posix=1,noauto 0 0
#/dev/sda4 334209-MB Logical Type f - W95 Extended LBA 0 0
#/dev/sda4 /fs/p/sda4 ignore unused 0 0
#/dev/sda5 8200-MB Swap Type 82 - Linux swap
/dev/sda5 none swap sw,pri=1 0 0
#/dev/sda6 10240-MB Linux Production - "/" filesystem
#/dev/sda6 /fs/p/sda6 ext3 bsdgroups,noquota,noauto 0 2
/dev/sda6 / ext3 bsdgroups,usrjquota=aquota.user,jqfmt=vfsv0 0 1
#/dev/sda7 10240-MB Linux Production - "/fs/dc" filesystem
#/dev/sda7 /fs/p/sda7 ext3 bsdgroups,noquota,noauto 0 2
/dev/sda7 /fs/dc ext3 bsdgroups,usrjquota=aquota.user,jqfmt=vfsv0 0 2
#/dev/sda8 10240-MB Linux Production - "/fs/dh" filesystem
#/dev/sda8 /fs/p/sda8 ext3 bsdgroups,noquota,noauto 0 2
/dev/sda8 /fs/dh ext3 bsdgroups,usrjquota=aquota.user,jqfmt=vfsv0 0 2
#/dev/sda9 10240-MB Linux Backup #2 - "/" filesystem
#/dev/sda9 / ext3 bsdgroups,noquota 0 1
/dev/sda9 /fs/p/sda9 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sda10 10240-MB Linux Testing - Debian Installer
/dev/sda10 /fs/p/sda10 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sda11 10240-MB Linux Testing - Ubuntu
/dev/sda11 /fs/p/sda11 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sda12 264566-MB Plan9 Type 39 - Unused
/dev/sda12 none ignore bsdgroups,noquota,noauto 0 0
#------------------------------------------------------------------------------
#/dev/sdb1 2048-MB FAT32 Type b - FAT32
/dev/sdb1 /fs/p/sdb1 vfat users,iocharset=iso8859-1,noauto 0 2
#/dev/sdb2 65536-MB Win-7 Type 7 - Windows-7 D: 0 0
/dev/sdb2 /fs/p/sdb2 ntfs ro,utf8,posix=1,noauto 0 0
#/dev/sdb3 98308-MB Win-7 Type 7 - Windows-7 ?: 0 0
/dev/sdb3 /fs/p/sdb3 ntfs ro,utf8,posix=1,noauto 0 0
#/dev/sdb4 334209-MB Logical Type f - W95-Extended LBA 0 0
#/dev/sdb4 /fs/p/sdb4 ignore unused 0 0
#/dev/sdb5 8200-MB Swap Type 82 - Linux swap
/dev/sdb5 none swap sw,pri=2 0 0
#/dev/sdb6 10240-MB Linux Backup #1 - "/" filesystem
#/dev/sdb6 / ext3 bsdgroups,noquota 0 1
/dev/sdb6 /fs/p/sdb6 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sdb7 10240-MB Linux Backup #1 - "/fs/dc" filesystem
/dev/sdb7 /fs/p/sdb7 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sdb8 10240-MB Linux Backup #1 - "/fs/dh" filesystem
/dev/sdb8 /fs/p/sdb8 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sdb9 10240-MB Linux Backup #3 - "/" filesystem
#/dev/sdb9 / ext3 bsdgroups,noquota 0 1
/dev/sdb9 /fs/p/sdb9 ext3 bsdgroups,noauto 0 2
#/dev/sdb10 10240-MB Linux Testing - Debian Installer
/dev/sdb10 /fs/p/sdb10 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sdb11 10240-MB Linux Testing - Ubuntu
/dev/sdb11 /fs/p/sdb11 ext3 bsdgroups,noquota,noauto 0 2
#/dev/sdb12 10240-MB Plan9 Type 39 - Unused
/dev/sdb12 none ignore bsdgroups,noquota,noauto 0 0
#------------------------------------------------------------------------------
# /etc/fstab - end of file.
-- lsmod
Module Size Used by
ipt_MASQUERADE 1554 1
iptable_nat 4299 1
nf_nat 13260 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 9753 12 iptable_nat,nf_nat
nf_defrag_ipv4 1139 1 nf_conntrack_ipv4
xt_state 1303 9
ipt_REJECT 1953 2
ipt_LOG 4486 7
xt_limit 1782 7
xt_tcpudp 2287 2
iptable_filter 2258 1
iptable_mangle 2817 0
ip_tables 13675 3 iptable_nat,iptable_filter,iptable_mangle
x_tables 12685 8 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,ipt_LOG,xt_limit,xt_tcpudp,ip_tables
nf_conntrack_ftp 5473 0
nf_conntrack 46423 6 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state,nf_conntrack_ftp
powernow_k8 10978 1
cpufreq_userspace 1992 0
cpufreq_powersave 902 0
cpufreq_conservative 5162 2
cpufreq_stats 2659 0
battery 4998 0
nfsd 253606 13
exportfs 3138 1 nfsd
nfs 240202 0
lockd 57331 2 nfsd,nfs
fscache 29882 1 nfs
nfs_acl 2031 2 nfsd,nfs
auth_rpcgss 33476 2 nfsd,nfs
sunrpc 160453 12 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
quota_v2 2637 3
quota_tree 6051 1 quota_v2
fuse 50113 1
loop 11639 0
snd_hda_codec_atihdmi 2251 1
snd_hda_codec_via 47471 1
snd_hda_intel 20003 0
snd_hda_codec 53892 3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
snd_seq 41297 0
radeon 573292 2
snd_seq_device 4493 1 snd_seq
ttm 40034 1 radeon
snd_hwdep 5220 1 snd_hda_codec
snd_pcm 60151 2 snd_hda_intel,snd_hda_codec
drm_kms_helper 20017 1 radeon
snd_timer 15438 2 snd_seq,snd_pcm
drm 141991 5 radeon,ttm,drm_kms_helper
snd 45934 8 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_seq,snd_seq_device,snd_hwdep,snd_pcm,snd_timer
i2c_algo_bit 4225 1 radeon
i2c_piix4 8328 0
soundcore 4566 1 snd
edac_core 29197 0
button 4650 0
processor 29839 1 powernow_k8
i2c_core 15344 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_piix4
dcdbas 5048 0
snd_page_alloc 6233 2 snd_hda_intel,snd_pcm
serio_raw 3752 0
edac_mce_amd 6449 0
shpchp 26232 0
pci_hotplug 21203 1 shpchp
psmouse 49777 0
pcspkr 1699 0
evdev 7352 8
ext3 106406 3
jbd 36893 1 ext3
mbcache 5050 1 ext3
usbhid 33292 0
hid 63097 1 usbhid
sg 18648 0
sr_mod 12250 0
sd_mod 29665 7
cdrom 28631 1 sr_mod
crc_t10dif 1276 1 sd_mod
usb_storage 39433 0
pata_atiixp 3489 0
ahci 32326 5
ata_generic 3015 0
8139cp 15973 0
ehci_hcd 31199 0
ohci_hcd 19212 0
8139too 17997 0
libata 133104 3 pata_atiixp,ahci,ata_generic
thermal 11610 0
thermal_sys 11942 2 processor,thermal
r8169 28845 0
mii 3210 3 8139cp,8139too,r8169
scsi_mod 121797 5 sg,sr_mod,sd_mod,usb_storage,libata
usbcore 121858 5 usbhid,usb_storage,ehci_hcd,ohci_hcd
nls_base 6377 1 usbcore
-- System Information:
Debian Release: squeeze/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-bpo.5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.48-4 The Linux Kernel Device Mapper use
ii libc6 2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libuuid1 2.17.2-3.3 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
ii dosfstools 3.0.1-1 utilities for making and checking
ii initramfs-tools [linux-in 0.94.4~bpo50+1 tools for generating an initramfs
ii udev 163-2 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list