Package: partman-basicfilesystems
Version: 75
Severity: normal
User: events@debian.org
Usertags: events-hardware
Hi there!
For the RMLL 2012[1] I set up BabelBox[2] on the Debian Events Box[3]
(installer build 20120508): Besides some minor changes WRT the packages
to be installed (see [4]), the preseed.cfg from the squeeze BabelBox[5]
was working OK.
[1] <http://www.debian.org/events/2012/0707-rmll>
[2] <http://wiki.debian.org/DebianInstaller/BabelBox>
[3] <http://bugs.debian.org/680318>
[4] <[🔎] 87vcdj8y3j.fsf@gismo.pca.it">http://lists.debian.org/[🔎] 87vcdj8y3j.fsf@gismo.pca.it>
[5] <http://anonscm.debian.org/gitweb/?p=d-i/babelbox.git;a=blob;f=preseed.cfg;h=f194524681667e8474c5b02610640e669d56cbae;hb=2879ec58c241829072c18308fb1b9603d1694f98>
Before going on, the default BabelBox partitioning is the following:
* /dev/sda1 83 Linux
/dev/sda2 82 Linux swap / Solaris
The host system, which contains the d-i hd-media images as well as the
CD-1 or DVD-1 ISO images.
* /dev/sda3 5 Extended
/dev/sda5 * 83 Linux
/dev/sda6 82 Linux swap / Solaris
The demo system, with partition 3 deleted by 00del_partition[6] at the
beginning of the preseed and then everything is set up by:
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/choose_recipe select atomic
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
* /dev/sda4 83 Linux
Unused space just to fill up the hard disk, so that formatting for the
demo system will not take unnecessary long.
[6] <http://anonscm.debian.org/gitweb/?p=d-i/babelbox.git;a=blob;f=00del_partition;h=0f9a1f4d4b4ab9799ceca86d0f5a92faea9b7528;hb=2879ec58c241829072c18308fb1b9603d1694f98>
While working to adapt BabelBox to the current wheezy d-i (hd-media
images as of 20121107-00:18 and DVD-1 as of 20121105-04:30:14),
partman-basicfilesystems complains that there is no swap partition
*before* partitioning the hard disk, which is a regression. Switching
to VT2 and ps shows:
--8<---------------cut here---------------start------------->8---
PID USER VSZ STAT COMMAND
1 root 1720 S /bin/busybox init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW [kworker/u:0]
6 root 0 SW [watchdog/0]
7 root 0 SW< [cpuset]
8 root 0 SW< [khelper]
9 root 0 SW [kdevtmpfs]
10 root 0 SW< [netns]
11 root 0 SW [sync_supers]
12 root 0 SW [bdi-default]
13 root 0 SW< [kintegrityd]
14 root 0 SW< [kblockd]
15 root 0 SW [kworker/0:1]
16 root 0 SW [khungtaskd]
17 root 0 SW [kswapd0]
18 root 0 SWN [ksmd]
19 root 0 SW [fsnotify_mark]
20 root 0 SW< [crypto]
42 root 1796 S udevd --daemon --resolve-names=never
91 root 0 SW< [kpsmoused]
92 root 0 SW [khubd]
105 root 0 SW< [ata_sff]
115 root 0 SW [kworker/0:2]
117 root 0 SW [scsi_eh_0]
118 root 0 SW [scsi_eh_1]
119 root 0 SW [kworker/u:1]
120 root 0 SW [kworker/u:2]
124 root 0 SW [kworker/0:3]
179 root 1720 S /sbin/syslogd -m 0 -O /var/log/syslog -S
181 root 1720 S /sbin/klogd -c 2
243 root 1720 S /bin/busybox init
244 root 2092 S -/bin/sh
245 root 1720 S /usr/bin/tail -f /var/log/syslog
260 root 15928 S Xorg -noreset -nolisten tcp -terminate
265 root 1724 S {debian-installe} /bin/sh /sbin/debian-installer
284 root 27104 S debconf -o d-i /usr/bin/main-menu
291 root 1444 S /usr/bin/main-menu
2048 root 0 SW [jbd2/sda1-8]
2049 root 0 SW< [ext4-dio-unwrit]
2051 root 0 SW< [loop0]
5599 root 1736 S udevd --daemon --resolve-names=never
5600 root 1736 S udevd --daemon --resolve-names=never
5630 root 0 SW [vballoon]
6536 root 1932 S udpkg --configure --force-configure partman-base
6537 root 2088 S {partman-base.po} /bin/sh /var/lib/dpkg/info/partman-base.postinst confi
6538 root 2132 S {partman} /bin/sh /bin/partman
6729 root 0 SW [flush-8:0]
6785 root 0 SW [jfsIO]
6786 root 0 SW [jfsCommit]
6787 root 0 SW [jfsSync]
6801 root 0 SW< [xfs_mru_cache]
6802 root 0 SW< [xfslogd]
6803 root 0 SW< [xfsdatad]
6804 root 0 SW< [xfsconvertd]
6825 root 0 SW< [md]
6854 root 2608 S parted_server
8606 root 2132 S {10check_swap} /bin/sh /lib/partman/check.d/10check_swap
8611 root 2092 R ps
--8<---------------cut here---------------end--------------->8---
If partman-basicfilesystems/no_swap=false is preseeded, then the
installation continues, but no swap is anymore created in the Extended
partition, which is another regression WRT the RMLL 2012 BabelBox (I
have not created a new bug to be sure this is not linked to no_swap).
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.6-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Attachment:
pgp2doJlXogHN.pgp
Description: PGP signature