Package: installation-reports Version: debian 7 i386 installer build 20130430 Boot method: USB stick
3 bugs during installation, reported together because they maybe result from same initial bug 1a/1b. 1a. can not use blowfish encryption for new LUKS partition 1b. can not use twofish encryption for new LUKS partition 2. swap not working in installed system after booting: /etc/crypttab refers to /dev/sdb2 but disk is sda2 when "cdrom"(install usb) removed. 3. cdrom unmounted itself. no_codename/failed to determine the codename for the release, failed to read archive === 1a === During installation I wanted to create new encrypted partitions. So in "manual partitioning" I created the new partition type "use for encryption" and I changed default encryption "AES" to "Blowfish". There was error: "No existing file system in this partition" Note: When changing encryption to AES, he doesn't ask me about disk's password (its cached). Is this safe? -----log: Jun 25 09:47:54 partman-crypto: kernel entropy_avail: 128 bits Jun 25 09:51:06 partman-crypto: device-mapper: reload ioctl on failed: Invalid argument Jun 25 09:51:06 partman-crypto: Failed to setup dm-crypt key mapping for device /dev/md0. Jun 25 09:51:06 partman-crypto: Check that kernel supports blowfish- xts-plain64 cipher (check syslog for more info). Jun 25 09:51:06 partman-crypto: Failed to write to key storage. Jun 25 09:51:06 kernel: [ 4102.752433] alg: No test for xts(blowfish) (xts(blowfish-generic)) Jun 25 09:51:06 kernel: [ 4102.752459] device-mapper: table: 253:0: crypt: Error allocating crypto tfm Jun 25 09:51:06 kernel: [ 4102.752463] device-mapper: ioctl: error adding target to table Jun 25 09:53:11 kernel: [ 4227.634189] alg: No test for xts(twofish) (xts(twofish-generic)) Encryption was changed to AES and it worked fine then. === 1b === During installation I created partition sdb2 for swap - "use for encryption" and I changed encryption to "Twofish". Here doesn't reported an error, but in log is similar to the "Blowfish" error. === 2 === After system booting - I noticed that the swap is not working: swapon -s doesn't show any swaps. in /etc/crypttab swap has encryption twofish with random passphare but on "dev/sdb2". During installation probably disk was sdb2, because usb-stick (with ISO cdrom install) was sda. /!\ important - possible critical bug /!\ With this setup of /etc/crypttab would the booted system not try to overwrite /dev/sdb2 on the installed system, destroying some partition if the system would have 2 hard-drives? === 3 === In the same installation: after working around above problems (changing encryption type back to AES) installation was proceeding fine, until: error: "failed to read archive '/media/cdrom/...' " error: "Failed to determine the codename for the release" resolve: mount cd-rom manually (to /cdrom, to /media/cdrom/) seemed to fix this problem. -----log: Jun 25 10:20:58 in-target: Unpacking linux-base (from .../linux- base_3.5_all.deb) ... Jun 25 10:20:58 in-target: dpkg-deb: error: failed to read archive `/media/cdrom//pool/main/l/linux-base/linux-base_3.5_all.deb': No such file or directory Jun 25 10:20:58 in-target: dpkg: error processing /media/cdrom//pool/main/l/linux-base/linux-base_3.5_all.deb (-- unpack): Jun 25 10:20:58 in-target: subprocess dpkg-deb --fsys-tarfile returned error exit status 2 Jun 25 10:20:58 in-target: dpkg: error processing /media/cdrom//pool/main/l/linux/linux-image-3.2.0-4-686- pae_3.2.41-2_i386.deb (--unpack): Jun 25 10:20:58 in-target: cannot access archive: No such file or directory Jun 25 10:20:58 in-target: dpkg: error processing /media/cdrom//pool/main/l/linux-latest/linux-image-686- pae_3.2+46_i386.deb (--unpack): Jun 25 10:20:58 in-target: cannot access archive: No such file or directory Jun 25 10:20:58 in-target: Processing triggers for man-db ... Jun 25 10:20:59 kernel: [ 5895.772806] scsi 3:0:0:0: Direct-Access Generic USB Flash Disk 0.00 PQ: 0 ANSI: 2 Jun 25 10:20:59 kernel: [ 5895.774336] sd 3:0:0:0: Attached scsi generic sg0 type 0 Jun 25 10:20:59 kernel: [ 5895.775054] sd 3:0:0:0: [sdc] 7892040 512-byte logical blocks: (4.04 GB/3.76 GiB) Jun 25 10:20:59 kernel: [ 5895.775541] sd 3:0:0:0: [sdc] Write Protect is on Jun 25 10:20:59 kernel: [ 5895.775547] sd 3:0:0:0: [sdc] Mode Sense: 0b 00 80 00 Jun 25 10:20:59 kernel: [ 5895.776237] sd 3:0:0:0: [sdc] No Caching mode page present Jun 25 10:20:59 kernel: [ 5895.776241] sd 3:0:0:0: [sdc] Assuming drive cache: write through Jun 25 10:20:59 kernel: [ 5895.780660] sd 3:0:0:0: [sdc] No Caching mode page present Jun 25 10:20:59 kernel: [ 5895.780665] sd 3:0:0:0: [sdc] Assuming drive cache: write through Jun 25 10:20:59 kernel: [ 5895.936368] sdc: sdc1 Jun 25 10:20:59 kernel: [ 5895.940785] sd 3:0:0:0: [sdc] No Caching mode page present Jun 25 10:20:59 kernel: [ 5895.940791] sd 3:0:0:0: [sdc] Assuming drive cache: write through Jun 25 10:20:59 kernel: [ 5895.940795] sd 3:0:0:0: [sdc] Attached SCSI removable disk Jun 25 10:21:00 in-target: Errors were encountered while processing: Jun 25 10:21:00 in-target: /media/cdrom//pool/main/l/linux-base/linux- base_3.5_all.deb Jun 25 10:21:00 in-target: /media/cdrom//pool/main/l/linux/linux- image-3.2.0-4-686-pae_3.2.41-2_i386.deb Jun 25 10:21:00 in-target: /media/cdrom//pool/main/l/linux-latest/linux- image-686-pae_3.2+46_i386.deb Jun 25 10:21:00 in-target: E: Sub-process /usr/bin/dpkg returned an error code (1) Jun 25 10:21:00 base-installer: error: exiting on error base- installer/kernel/failed-install Jun 25 10:25:24 init: starting pid 263, tty '/dev/tty2': '-/bin/sh' Jun 25 10:27:06 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 1 Jun 25 10:27:06 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:27:11 main-menu[282]: INFO: Modifying debconf priority limit from 'high' to 'medium' Jun 25 10:27:11 debconf: Setting debconf/priority to medium Jun 25 10:27:13 main-menu[282]: INFO: Menu item 'bootstrap-base' selected Jun 25 10:27:13 base-installer: warning: attempting to install to unclean target Jun 25 10:27:21 base-installer: error: exiting on error base- installer/no_codename Jun 25 10:28:18 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 30 Jun 25 10:28:18 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:28:20 main-menu[282]: INFO: Modifying debconf priority limit from 'medium' to 'low' Jun 25 10:28:20 debconf: Setting debconf/priority to low Jun 25 10:28:22 main-menu[282]: INFO: Menu item 'bootstrap-base' selected Jun 25 10:28:22 base-installer: warning: attempting to install to unclean target Jun 25 10:28:24 base-installer: error: exiting on error base- installer/no_codename Jun 25 10:28:25 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 1 Jun 25 10:28:25 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:28:31 main-menu[282]: INFO: Menu item 'partman-base' selected -----log: Jun 25 10:27:06 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 1 Jun 25 10:27:06 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:27:11 main-menu[282]: INFO: Modifying debconf priority limit from 'high' to 'medium' Jun 25 10:27:11 debconf: Setting debconf/priority to medium Jun 25 10:27:13 main-menu[282]: INFO: Menu item 'bootstrap-base' selected Jun 25 10:27:13 base-installer: warning: attempting to install to unclean target Jun 25 10:27:21 base-installer: error: exiting on error base- installer/no_codename Jun 25 10:28:18 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 30 Jun 25 10:28:18 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:28:20 main-menu[282]: INFO: Modifying debconf priority limit from 'medium' to 'low' Jun 25 10:28:20 debconf: Setting debconf/priority to low Jun 25 10:28:22 main-menu[282]: INFO: Menu item 'bootstrap-base' selected Jun 25 10:28:22 base-installer: warning: attempting to install to unclean target Jun 25 10:28:24 base-installer: error: exiting on error base- installer/no_codename Jun 25 10:28:25 main-menu[282]: WARNING **: Configuring 'bootstrap- base' failed with error code 1 Jun 25 10:28:25 main-menu[282]: WARNING **: Menu item 'bootstrap- base' failed. Jun 25 10:28:31 main-menu[282]: INFO: Menu item 'partman-base' selected Jun 25 10:30:37 partman: mke2fs 1.42.5 (29-Jul-2012) Jun 25 10:30:52 partman: mke2fs 1.42.5 (29-Jul-2012) Jun 25 10:30:55 partman: mke2fs 1.42.5 (29-Jul-2012) Jun 25 10:30:57 partman: mke2fs 1.42.5 (29-Jul-2012) Jun 25 10:31:01 partman: mke2fs 1.42.5 (29-Jul-2012) Jun 25 10:31:03 kernel: [ 6499.460616] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr,errors=remount-ro Jun 25 10:31:03 kernel: [ 6499.510072] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr Jun 25 10:31:03 kernel: [ 6499.549335] EXT4-fs (dm-6): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr Jun 25 10:31:03 kernel: [ 6499.613198] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr Jun 25 10:31:03 kernel: [ 6499.668897] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr Jun 25 10:31:03 kernel: [ 6499.749095] EXT4-fs (dm-5): mounted filesystem with ordered data mode. Opts: usrquota,grpquota,user_xattr These bugs could be connected with encryption problem. -- Jabber/XMPP: tigusoft...@jabber.org Reporting bugs in Open Source software for creating great and free software for all users. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org