Hercules s390 emulator installation failed at disk partitioning;
new partitions don't seem to show up in /dev.
-- Package-specific info:
Boot method: emulator
Image version: http://ftp.fi.debian.org/debian/dists/unstable/main/installer-s390/20101127/images/generic/
Date: 20101203
Machine: hercules s390 emulator on amd64
Partitions: N/A
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [ ]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [E]
Install base system: [ ]
Clock/timezone setup: [ ]
User/password setup: [ ]
Install tasks: [ ]
Install boot loader: [ ]
Overall install: [E]
Comments/Problems:
Trying an s390 installation inside hercules on amd64.
Following the instructions at
http://www.josefsipek.net/docs/s390-linux/hercules-s390.html
The disk image was created with
dasdinit -z -lfs -linux 3390.LINUX.0120 3390-3 LIN120
The installer started fine. Activated the DASD without formatting it,
as per the instructions.
Created a new partition for / using all the available space, no
swap. (This left 98.3 kB FREE SPACE but I doubt that's important.)
Partitioning the disk failed with
The ext3 file system creation in partition #1 of DASD 0.0.0120 (ECKD) failed.
Looking at /var/log/syslog from a separate shell:
Dec 3 07:12:14 partman: mke2fs 1.41.12 (17-May-2010)
Dec 3 07:12:14 partman: Could not stat /dev/dasda1 --- No such file or directory
Dec 3 07:12:14 partman:
Dec 3 07:12:14 partman: The device apparently does not exist; did you specify it correctly?
Indeed, /dev/dasda1 is not present. However, the partition has apparently
been created:
~ # fdasd -p /dev/dasda
reading volume label ..: VOL1
reading vtoc ..........: ok
Disk /dev/dasda:
cylinders ............: 3339
tracks per cylinder ..: 15
blocks per track .....: 12
bytes per block ......: 4096
volume label .........: VOL1
volume serial ........: LIN120
max partitions .......: 3
------------------------------- tracks -------------------------------
Device start end length Id System
/dev/dasda1 2 50082 50081 1 Linux native
50083 50084 2 unused
There seems to be no way to proceed. I haven't found any combination of
formatting and partitioning that works.
This is fully reproducible. I've also tried the Squeeze beta 1 installer
with similar results.
The hercules version is 3.07-2.
--
Hercules configuration follows:
CPUSERIAL 000069 # CPU serial number
CPUMODEL 9672 # CPU model number
MAINSIZE 1024 # Main storage size in megabytes
XPNDSIZE 0 # Expanded storage size in megabytes
CNSLPORT 3270 # TCP port number to which consoles connect
NUMCPU 2 # Number of CPUs
LOADPARM 0120.... # IPL parameter
OSTAILOR LINUX # OS tailoring
PANRATE SLOW # Panel refresh rate (SLOW, FAST)
ARCHMODE ESAME # Architecture mode ESA/390 or ESAME
# .-----------------------Device number
# | .-----------------Device type
# | | .---------File name and parameters
# | | |
# V V V
#--- ---- --------------------
# console
001F 3270
# terminal
0009 3215
# reader
000C 3505 ./rdr/kernel.debian ./rdr/parmfile.debian ./rdr/initrd.debian autopad eof
# printer
000E 1403 ./prt/print00e.txt crlf
# dasd
0120 3390 ./dasd/3390.LINUX.0120
# 0121 3390 ./dasd/3390.LINUX.0121
# tape
0581 3420
# network s390 realbox
0A00,0A01 CTCI -n /dev/net/tun -t 1500 10.1.1.2 10.1.1.1
Full /var/log/syslog:
Dec 3 06:57:47 syslogd started: BusyBox v1.17.1
Dec 3 06:57:47 kernel: klogd started: BusyBox v1.17.1 (Debian 1:1.17.1-8)
Dec 3 06:57:47 kernel: [ 0.000000] Initializing cgroup subsys cpuset
Dec 3 06:57:47 kernel: [ 0.000000] Initializing cgroup subsys cpu
Dec 3 06:57:47 kernel: [ 0.000000] Linux version 2.6.32-5-s390x (Debian 2.6.32-27) (ma...@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sat Oct 30 22:05:50 UTC 2010
Dec 3 06:57:47 kernel: [ 0.000000] setup: Linux is running natively in 64-bit mode
Dec 3 06:57:47 kernel: [ 0.000000] cpu: The CPU configuration topology of the machine is: 0 0 0 0 0 2 / 1
Dec 3 06:57:47 kernel: [ 0.000000] Zone PFN ranges:
Dec 3 06:57:47 kernel: [ 0.000000] DMA 0x00000000 -> 0x00080000
Dec 3 06:57:47 kernel: [ 0.000000] Normal 0x00080000 -> 0x00080000
Dec 3 06:57:47 kernel: [ 0.000000] Movable zone start PFN for each node
Dec 3 06:57:47 kernel: [ 0.000000] early_node_map[1] active PFN ranges
Dec 3 06:57:47 kernel: [ 0.000000] 0: 0x00000000 -> 0x00040000
Dec 3 06:57:47 kernel: [ 0.000000] On node 0 totalpages: 262144
Dec 3 06:57:47 kernel: [ 0.000000] DMA zone: 3584 pages used for memmap
Dec 3 06:57:47 kernel: [ 0.000000] DMA zone: 0 pages reserved
Dec 3 06:57:47 kernel: [ 0.000000] DMA zone: 258560 pages, LIFO batch:31
Dec 3 06:57:47 kernel: [ 0.000000] PERCPU: Embedded 12 pages/cpu @0000000001972000 s19712 r8192 d21248 u65536
Dec 3 06:57:47 kernel: [ 0.000000] pcpu-alloc: s19712 r8192 d21248 u65536 alloc=16*4096
Dec 3 06:57:47 kernel: [ 0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07
Dec 3 06:57:47 kernel: [ 0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15
Dec 3 06:57:47 kernel: [ 0.000000] pcpu-alloc: [0] 16 [0] 17 [0] 18 [0] 19 [0] 20 [0] 21 [0] 22 [0] 23
Dec 3 06:57:47 kernel: [ 0.000000] pcpu-alloc: [0] 24 [0] 25 [0] 26 [0] 27 [0] 28 [0] 29 [0] 30 [0] 31
Dec 3 06:57:47 kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258560
Dec 3 06:57:47 kernel: [ 0.000000] Kernel command line: ro locale=C
Dec 3 06:57:47 kernel: [ 0.000000]
Dec 3 06:57:47 kernel: [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
Dec 3 06:57:47 kernel: [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Dec 3 06:57:47 kernel: [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Dec 3 06:57:47 kernel: [ 0.000000] Memory: 1018748k/1048576k available (3470k kernel code, 0k reserved, 1841k data, 220k init)
Dec 3 06:57:47 kernel: [ 0.000000] Write protected kernel read-only data: 0x12000 - 0x4dafff
Dec 3 06:57:47 kernel: [ 0.000000] SLUB: Genslabs=13, HWalign=256, Order=0-3, MinObjects=0, CPUs=32, Nodes=1
Dec 3 06:57:47 kernel: [ 0.000000] Hierarchical RCU implementation.
Dec 3 06:57:47 kernel: [ 0.000000] console [ttyS0] enabled
Dec 3 06:57:47 kernel: [ 1.408931] Calibrating delay loop (skipped)... 1373.00 BogoMIPS preset
Dec 3 06:57:47 kernel: [ 1.409300] Security Framework initialized
Dec 3 06:57:47 kernel: [ 1.409417] SELinux: Disabled at boot.
Dec 3 06:57:47 kernel: [ 1.409715] Mount-cache hash table entries: 256
Dec 3 06:57:47 kernel: [ 1.412917] Initializing cgroup subsys ns
Dec 3 06:57:47 kernel: [ 1.413035] Initializing cgroup subsys cpuacct
Dec 3 06:57:47 kernel: [ 1.413301] Initializing cgroup subsys devices
Dec 3 06:57:47 kernel: [ 1.413417] Initializing cgroup subsys freezer
Dec 3 06:57:47 kernel: [ 1.413532] Initializing cgroup subsys net_cls
Dec 3 06:57:47 kernel: [ 1.417385] cpu: 2 configured CPUs, 0 standby CPUs
Dec 3 06:57:47 kernel: [ 1.418351] cpu: Processor 0 started, address 0, identification 000069
Dec 3 06:57:47 kernel: [ 1.429365] cpu: Processor 1 started, address 0, identification 100069
Dec 3 06:57:47 kernel: [ 1.429442] Brought up 2 CPUs
Dec 3 06:57:47 kernel: [ 1.429646] CPU0 attaching sched-domain:
Dec 3 06:57:47 kernel: [ 1.429740] domain 0: span 0-1 level MC
Dec 3 06:57:47 kernel: [ 1.429873] groups: 0 1
Dec 3 06:57:47 kernel: [ 1.430030] CPU1 attaching sched-domain:
Dec 3 06:57:47 kernel: [ 1.430123] domain 0: span 0-1 level MC
Dec 3 06:57:47 kernel: [ 1.430211] groups: 1 0
Dec 3 06:57:47 kernel: [ 1.435532] devtmpfs: initialized
Dec 3 06:57:47 kernel: [ 1.446737] regulator: core version 0.5
Dec 3 06:57:47 kernel: [ 1.448139] NET: Registered protocol family 16
Dec 3 06:57:47 kernel: [ 1.459171] bio: create slab <bio-0> at 0
Dec 3 06:57:47 kernel: [ 1.748598] NET: Registered protocol family 2
Dec 3 06:57:47 kernel: [ 1.751225] IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
Dec 3 06:57:47 kernel: [ 1.759828] TCP established hash table entries: 65536 (order: 8, 1048576 bytes)
Dec 3 06:57:47 kernel: [ 1.774045] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
Dec 3 06:57:47 kernel: [ 1.787853] TCP: Hash tables configured (established 65536 bind 65536)
Dec 3 06:57:47 kernel: [ 1.787993] TCP reno registered
Dec 3 06:57:47 kernel: [ 1.791284] NET: Registered protocol family 1
Dec 3 06:57:47 kernel: [ 1.792623] Unpacking initramfs...
Dec 3 06:57:47 kernel: [ 5.033763] Freeing initrd memory: 3067k freed
Dec 3 06:57:47 kernel: [ 5.048077] audit: initializing netlink socket (disabled)
Dec 3 06:57:47 kernel: [ 5.048305] type=2000 audit(1291359465.325:1): initialized
Dec 3 06:57:47 kernel: [ 5.053302] HugeTLB registered 1 MB page size, pre-allocated 0 pages
Dec 3 06:57:47 kernel: [ 5.101800] VFS: Disk quotas dquot_6.5.2
Dec 3 06:57:47 kernel: [ 5.103781] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Dec 3 06:57:47 kernel: [ 5.105900] msgmni has been set to 1997
Dec 3 06:57:47 kernel: [ 5.111758] alg: No test for stdrng (krng)
Dec 3 06:57:47 kernel: [ 5.113147] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
Dec 3 06:57:47 kernel: [ 5.113308] io scheduler noop registered
Dec 3 06:57:47 kernel: [ 5.113417] io scheduler anticipatory registered
Dec 3 06:57:47 kernel: [ 5.113535] io scheduler deadline registered
Dec 3 06:57:47 kernel: [ 5.114624] io scheduler cfq registered (default)
Dec 3 06:57:47 kernel: [ 5.117850] hvc_iucv: The z/VM IUCV HVC device driver cannot be used without z/VM
Dec 3 06:57:47 kernel: [ 5.119447] cio: Channel measurement facility initialized using format basic (mode autodetected)
Dec 3 06:57:47 kernel: [ 5.121564] sclp_config: no configuration management.
Dec 3 06:57:47 kernel: [ 5.137602] TCP cubic registered
Dec 3 06:57:47 kernel: [ 5.141577] NET: Registered protocol family 10
Dec 3 06:57:47 kernel: [ 5.160668] lo: Disabled Privacy Extensions
Dec 3 06:57:47 kernel: [ 5.171823] Mobile IPv6
Dec 3 06:57:47 kernel: [ 5.171923] NET: Registered protocol family 17
Dec 3 06:57:47 kernel: [ 5.173735] PM: Resume from disk failed.
Dec 3 06:57:47 kernel: [ 5.173866] registered taskstats version 1
Dec 3 06:57:47 kernel: [ 5.182665] Initalizing network drop monitor service
Dec 3 06:57:47 kernel: [ 5.183798] Freeing unused kernel memory: 220k freed
Dec 3 06:57:49 init: starting pid 141, tty '': '/sbin/reopen-console /sbin/debian-installer'
Dec 3 06:57:49 debconf: Setting debconf/language to en
Dec 3 06:57:49 main-menu[155]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 06:57:50 main-menu[155]: INFO: Menu item 's390-netdevice' selected
Dec 3 06:58:52 kernel: [ 71.731272] ctcm: CTCM driver initialized
Dec 3 06:58:52 kernel: [ 71.763834] net ctc0: setup OK : r/w = ch-0.0.0a00/ch-0.0.0a01, protocol : 0
Dec 3 06:58:52 main-menu[155]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 06:58:52 main-menu[155]: INFO: Menu item 'netcfg-static' selected
Dec 3 06:59:18 kernel: [ 98.303137] net ctc0: Connected with remote side
Dec 3 06:59:18 netcfg-static[182]: INFO: executing: ip addr add 10.1.1.2/32 broadcast 0.0.0.0 dev ctc0 peer 10.1.1.1
Dec 3 06:59:57 netcfg-static[182]: INFO: No hotpluggable devices are present in the system.
Dec 3 06:59:57 main-menu[155]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 06:59:57 main-menu[155]: INFO: Menu item 'network-console' selected
Dec 3 07:01:08 sshd[221]: Server listening on 0.0.0.0 port 22.
Dec 3 07:01:08 sshd[221]: Server listening on :: port 22.
Dec 3 07:01:08 apt-install: Queueing package openssh-server for later installation
Dec 3 07:01:13 sshd[233]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:01:18 sshd[233]: Connection closed by 10.1.1.1
Dec 3 07:01:20 sshd[234]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:01:45 sshd[234]: Accepted password for installer from 10.1.1.1 port 33088 ssh2
Dec 3 07:01:45 sshd[235]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:01:45 sshd[235]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:01:45 debconf: Setting debconf/language to en
Dec 3 07:01:46 debconf: Setting debconf/language to en
Dec 3 07:01:46 main-menu[248]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 07:01:47 main-menu[248]: INFO: Menu item 'localechooser' selected
Dec 3 07:01:49 localechooser: info: debian-installer/locale preseeded to 'C' (seen: true)
Dec 3 07:01:49 localechooser: info: Set localechooser/languagelist = 'C'
Dec 3 07:01:49 debconf: Setting debconf/language to en
Dec 3 07:01:49 localechooser: info: Language = 'C'
Dec 3 07:01:49 localechooser: info: line=C;0;;C;en;
Dec 3 07:01:49 localechooser: info: Set debian-installer/language = 'en'
Dec 3 07:01:49 localechooser: info: Default locale = 'C'
Dec 3 07:01:49 localechooser: info: Set debian-installer/consoledisplay = ''
Dec 3 07:01:49 debconf: Setting debconf/language to en
Dec 3 07:01:50 sshd[562]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:01:54 sshd[562]: Invalid user niko from 10.1.1.1
Dec 3 07:01:54 sshd[562]: input_userauth_request: invalid user niko
Dec 3 07:01:54 sshd[562]: Failed none for invalid user niko from 10.1.1.1 port 33090 ssh2
Dec 3 07:01:54 sshd[562]: Failed publickey for invalid user niko from 10.1.1.1 port 33090 ssh2
Dec 3 07:01:54 sshd[562]: Failed keyboard-interactive for invalid user niko from 10.1.1.1 port 33090 ssh2
Dec 3 07:02:07 localechooser: info: Set debian-installer/country = 'FI'
Dec 3 07:02:08 localechooser: info: Set debian-installer/locale = 'C'
Dec 3 07:02:08 localechooser: info: System locale (debian-installer/locale) = 'C'
Dec 3 07:02:08 main-menu[248]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 07:02:08 main-menu[248]: INFO: Menu item 'choose-mirror' selected
Dec 3 07:02:09 anna-install: Queueing udeb apt-mirror-setup for later installation
Dec 3 07:02:15 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/oldstable/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:15 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/stable/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:15 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/lenny/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:15 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/testing/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:16 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/squeeze/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:16 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/unstable/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:16 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/sid/Release -O - | grep -E '^(Suite|Codename):'
Dec 3 07:02:16 choose-mirror[605]: INFO: suite/codename set to: testing/squeeze
Dec 3 07:02:16 choose-mirror[605]: DEBUG: command: wget -q http://ftp.se.debian.org/debian//dists/squeeze/main/binary-s390/Release -O - | grep ^Architecture:
Dec 3 07:02:17 anna-install: Queueing udeb squeeze-support for later installation
Dec 3 07:02:17 main-menu[248]: (process:598): wget: server returned error: HTTP/1.1 404 Not Found
Dec 3 07:02:17 main-menu[248]: DEBUG: resolver (libc6-udeb): package doesn't exist (ignored)
Dec 3 07:02:17 main-menu[248]: INFO: Menu item 'download-installer' selected
Dec 3 07:02:18 net-retriever: gpgv:
Dec 3 07:02:18 net-retriever: Signature made Fri Dec 3 02:14:27 2010 UTC using RSA key ID 55BE302B
Dec 3 07:02:19 net-retriever: gpgv: Good signature from "Debian Archive Automatic Signing Key (5.0/lenny) <ftpm...@debian.org>"
Dec 3 07:02:19 sshd[562]: Connection closed by 10.1.1.1
Dec 3 07:02:22 sshd[711]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:02:22 anna[653]: DEBUG: resolver (btrfs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (jfs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (ufsutils-udeb): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (ufs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (btrfs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (jfs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (ufsutils-udeb): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: resolver (ufs-modules): package doesn't exist (ignored)
Dec 3 07:02:22 anna[653]: DEBUG: retrieving apt-mirror-setup 1:0.49
Dec 3 07:02:24 anna[653]: DEBUG: retrieving apt-setup-udeb 1:0.49
Dec 3 07:02:26 anna[653]: DEBUG: retrieving base-installer 1.114
Dec 3 07:02:27 anna[653]: DEBUG: retrieving bootstrap-base 1.114
Dec 3 07:02:31 anna[653]: DEBUG: retrieving btrfs-tools-udeb 0.19+20100601-3
Dec 3 07:02:32 anna[653]: DEBUG: retrieving clock-setup 0.105
Dec 3 07:02:35 anna[653]: DEBUG: retrieving di-utils-mapdevfs 1.81
Dec 3 07:02:35 anna[653]: DEBUG: retrieving debootstrap-udeb 1.0.26
Dec 3 07:02:36 anna[653]: DEBUG: retrieving e2fsprogs-udeb 1.41.12-2
Dec 3 07:02:37 anna[653]: DEBUG: retrieving libc6-udeb 2.11.2-7
Dec 3 07:02:42 anna[653]: DEBUG: retrieving finish-install 2.27
Dec 3 07:02:45 anna[653]: DEBUG: retrieving hw-detect 1.82
Dec 3 07:02:48 anna[653]: DEBUG: retrieving jfsutils-udeb 1.1.12-2.1
Dec 3 07:02:50 anna[653]: DEBUG: retrieving kickseed-common 0.55
Dec 3 07:02:51 anna[653]: DEBUG: retrieving ext2-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:51 anna[653]: DEBUG: retrieving ext3-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:52 anna[653]: DEBUG: retrieving ext4-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:54 anna[653]: DEBUG: retrieving fat-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:55 anna[653]: DEBUG: retrieving md-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:56 anna[653]: DEBUG: retrieving scsi-core-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:57 anna[653]: DEBUG: retrieving scsi-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:02:58 anna[653]: DEBUG: retrieving xfs-modules-2.6.32-5-s390x-di 0.56
Dec 3 07:03:00 anna[653]: DEBUG: retrieving libdevmapper1.02.1-udeb 2:1.02.48-4
Dec 3 07:03:01 anna[653]: DEBUG: retrieving mdadm-udeb 3.1.4-1+8efb9d1
Dec 3 07:03:02 anna[653]: DEBUG: retrieving nobootloader 1.28
Dec 3 07:03:05 anna[653]: DEBUG: retrieving libparted0-udeb 2.3-4
Dec 3 07:03:07 anna[653]: DEBUG: retrieving partman-base 146
Dec 3 07:03:12 anna[653]: DEBUG: retrieving partman-utils 146
Dec 3 07:03:13 anna[653]: DEBUG: retrieving partman-basicfilesystems 68
Dec 3 07:03:19 anna[653]: DEBUG: retrieving partman-basicmethods 46
Dec 3 07:03:19 sshd[711]: Accepted password for installer from 10.1.1.1 port 33091 ssh2
Dec 3 07:03:19 sshd[1423]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:03:19 sshd[1423]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:03:22 debconf: Read a stanza without a name
Dec 3 07:03:23 debconf: Setting debconf/language to en
Dec 3 07:03:23 sshd[711]: syslogin_perform_logout: logout() returned an error
Dec 3 07:03:23 sshd[711]: Received disconnect from 10.1.1.1: 11: disconnected by user
Dec 3 07:03:24 anna[653]: DEBUG: retrieving partman-btrfs 4
Dec 3 07:03:26 sshd[1486]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:03:29 anna[653]: DEBUG: retrieving partman-ext3 61
Dec 3 07:03:32 sshd[1486]: Accepted password for installer from 10.1.1.1 port 41960 ssh2
Dec 3 07:03:32 sshd[1514]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:03:32 sshd[1514]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:03:34 anna[653]: DEBUG: retrieving partman-jfs 32
Dec 3 07:03:36 debconf: Setting debconf/language to en
Dec 3 07:03:36 sshd[1486]: syslogin_perform_logout: logout() returned an error
Dec 3 07:03:36 sshd[1486]: Received disconnect from 10.1.1.1: 11: disconnected by user
Dec 3 07:03:40 anna[653]: DEBUG: retrieving partman-md 55
Dec 3 07:03:46 anna[653]: DEBUG: retrieving partman-partitioning 78
Dec 3 07:03:53 anna[653]: DEBUG: retrieving partman-target 70
Dec 3 07:03:56 sshd[1636]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:04:01 anna[653]: DEBUG: retrieving partman-ufs 5
Dec 3 07:04:05 sshd[1636]: Connection closed by 10.1.1.1
Dec 3 07:04:07 anna[653]: DEBUG: retrieving partman-xfs 46
Dec 3 07:04:13 anna[653]: DEBUG: retrieving libpcre3-udeb 8.02-1.1
Dec 3 07:04:14 anna[653]: DEBUG: retrieving pkgsel 0.32
Dec 3 07:04:20 sshd[1741]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Dec 3 07:04:20 anna[653]: DEBUG: retrieving s390-dasd 0.0.26
Dec 3 07:04:28 anna[653]: DEBUG: retrieving s390-tools-udeb 1.8.3-3
Dec 3 07:04:28 sshd[1741]: Accepted password for installer from 10.1.1.1 port 41962 ssh2
Dec 3 07:04:28 sshd[1792]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:04:28 sshd[1792]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Dec 3 07:04:28 anna[653]: DEBUG: retrieving tzsetup-udeb 1:0.31
Dec 3 07:04:34 debconf: Read a stanza without a name
Dec 3 07:04:36 anna[653]: DEBUG: retrieving user-setup-udeb 1.36
Dec 3 07:04:37 debconf: Setting debconf/language to en
Dec 3 07:04:44 anna[653]: DEBUG: retrieving xfsprogs-udeb 3.1.4
Dec 3 07:04:45 anna[653]: DEBUG: retrieving zipl-installer 0.0.17
Dec 3 07:05:05 main-menu[248]: INFO: Menu item 'user-setup-udeb' selected
Dec 3 07:05:29 main-menu[248]: INFO: Menu item 'clock-setup' selected
Dec 3 07:05:36 main-menu[248]: INFO: Menu item 's390-dasd' selected
Dec 3 07:05:36 main-menu[248]: INFO: Falling back to the package description for dasd-modules-2.6.32-5-s390x-di
Dec 3 07:05:36 main-menu[248]: INFO: Falling back to the package description for dasd-modules-2.6.32-5-s390x-di
Dec 3 07:06:35 kernel: [ 534.701947] dasd-eckd 0.0.0120: New DASD 3390/0A (CU 3990/02) with 3339 cylinders, 15 heads, 224 sectors
Dec 3 07:06:35 kernel: [ 534.934047] dasd-eckd 0.0.0120: DASD with 4 KB/block, 2404080 KB total size, 48 KB/track, compatible disk layout
Dec 3 07:06:35 kernel: [ 534.934238] dasda:VOL1/ LIN120:
Dec 3 07:06:44 main-menu[248]: INFO: Menu item 'partman-base' selected
Dec 3 07:06:45 anna-install: Installing partman-lvm
Dec 3 07:06:45 anna[2099]: DEBUG: retrieving lvm2-udeb 2.02.66-4
Dec 3 07:06:47 anna[2099]: DEBUG: retrieving partman-lvm 73
Dec 3 07:06:58 anna-install: Installing partman-crypto
Dec 3 07:06:58 anna[2168]: DEBUG: retrieving partman-crypto 45
Dec 3 07:07:12 kernel: [ 572.492059] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
Dec 3 07:07:12 kernel: [ 572.523714] SGI XFS Quota Management subsystem
Dec 3 07:07:13 md-devices: mdadm: No arrays found in config file or automatically
Dec 3 07:07:14 kernel: [ 574.105209] device-mapper: uevent: version 1.0.3
Dec 3 07:07:14 kernel: [ 574.106677] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-d...@redhat.com
Dec 3 07:07:14 partman: No matching physical volumes found
Dec 3 07:07:14 partman: No volume groups found
Dec 3 07:07:14 partman: Reading all physical volumes. This may take a while...
Dec 3 07:07:14 partman-lvm:
Dec 3 07:07:14 partman-lvm: No volume groups found
Dec 3 07:07:14 partman-lvm:
Dec 3 07:12:14 partman: mke2fs 1.41.12 (17-May-2010)
Dec 3 07:12:14 partman: Could not stat /dev/dasda1 --- No such file or directory
Dec 3 07:12:14 partman:
Dec 3 07:12:14 partman: The device apparently does not exist; did you specify it correctly?
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Niko Tyni <nt...@debian.org> writes:
> Hercules s390 emulator installation failed at disk partitioning;
> new partitions don't seem to show up in /dev.
Hi,
Thanks for the detailed but to-the-point report. This may be a kernel,
a udev or a partman issue. Could you please try backing out of the
partitioning menu to the main menu, start a shell in the installer
environment with the appropriate menu item and do the partitioning
yourself by fdasd or whatever's needed? Then please check if the new
partitions show up in /proc/partitions and under /dev. This would help
us narrowing down the case.
--
Thanks,
Feri.
> Thanks for the detailed but to-the-point report. This may be a kernel,
> a udev or a partman issue. Could you please try backing out of the
> partitioning menu to the main menu, start a shell in the installer
> environment with the appropriate menu item and do the partitioning
> yourself by fdasd or whatever's needed? Then please check if the new
> partitions show up in /proc/partitions and under /dev. This would help
> us narrowing down the case.
It works fine if I create the partition manually with fdasd.
Furthermore, if I try to create a partition first with the d-i interface
(getting the error) and then invoke fdasd and write out a trivial no-op
such as change the volume serial from LIN120 to LIN120, /dev/dasda1
appears.
It looks te me like the problem is that d-i does not manage to reread
the partition table.
I'm not sure if I understand the architecture correctly here, but
maybe the problem is this change in parted 2.3 ?
libparted: remove now-worse-than-useless _kernel_reread_part_table
Now that we're using BLKPG properly, there's no point in using the
less-functional BLKRRPART ioctl to make the kernel reread the partition
table.
More importantly, this function would fail when any partition is in
use, in spite of our having carefully vetted them via BLKPG ioctls.
I see fdasd (as of s390-tools 1.8.3-3) uses BLKRRPART and not BLKPG.
The timeline would also fit the successful reports #569209 and #575682.
I suppose I can try to hack parted to use BLKRRPART again and see if
that helps, but it's probably going to take a few days as I need to
get the emulator up and running first so I can rebuild the udeb.
--
Niko Tyni nt...@debian.org
> On Thu, Dec 16, 2010 at 05:37:55PM +0100, Ferenc Wagner wrote:
>
>> Niko Tyni <nt...@debian.org> writes:
>>
>>> Hercules s390 emulator installation failed at disk partitioning;
>>> new partitions don't seem to show up in /dev.
>>
>> Thanks for the detailed but to-the-point report. This may be a kernel,
>> a udev or a partman issue. Could you please try backing out of the
>> partitioning menu to the main menu, start a shell in the installer
>> environment with the appropriate menu item and do the partitioning
>> yourself by fdasd or whatever's needed? Then please check if the new
>> partitions show up in /proc/partitions and under /dev. This would help
>> us narrowing down the case.
>
> It works fine if I create the partition manually with fdasd.
Thanks, that's good info. Now the question is why parted_server failed
to refresh the DASD partitions. It's a pity you didn't attach
/var/log/partman. Could you please attach it to the bug report,
preferably together with /var/log/syslog? You could get them by
selecting "Save debug logs" from the installer main menu.
Wait, see below.
> Furthermore, if I try to create a partition first with the d-i interface
> (getting the error) and then invoke fdasd and write out a trivial no-op
> such as change the volume serial from LIN120 to LIN120, /dev/dasda1
> appears.
So libparted commits the partition, only fails to notify the kernel.
> It looks to me like the problem is that d-i does not manage to reread
> the partition table.
Agreed.
> I'm not sure if I understand the architecture correctly here, but
> maybe the problem is this change in parted 2.3 ?
>
> libparted: remove now-worse-than-useless _kernel_reread_part_table
> Now that we're using BLKPG properly, there's no point in using the
> less-functional BLKRRPART ioctl to make the kernel reread the partition
> table.
> More importantly, this function would fail when any partition is in
> use, in spite of our having carefully vetted them via BLKPG ioctls.
>
> I see fdasd (as of s390-tools 1.8.3-3) uses BLKRRPART and not BLKPG.
>
> The timeline would also fit the successful reports #569209 and #575682.
This looks a fairly plausible theory, and the outcome is even more
interesting, search for DASD in git log libparted/arch/linux.c. As I
understand it, 9fa0e180 may even fix this problem.
> I suppose I can try to hack parted to use BLKRRPART again and see if
> that helps, but it's probably going to take a few days as I need to
> get the emulator up and running first so I can rebuild the udeb.
Probably you'd be better off backporting the relevant changes to 2.3-4
and testing that.
--
Good luck,
Feri.
On Fri, Dec 17, 2010 at 08:04:39PM +0100, Ferenc Wagner wrote:
> Niko Tyni <nt...@debian.org> writes:
> > On Thu, Dec 16, 2010 at 05:37:55PM +0100, Ferenc Wagner wrote:
> >> Niko Tyni <nt...@debian.org> writes:
> >>
> >>> Hercules s390 emulator installation failed at disk partitioning;
> >>> new partitions don't seem to show up in /dev.
> > It works fine if I create the partition manually with fdasd.
> > Furthermore, if I try to create a partition first with the d-i interface
> > (getting the error) and then invoke fdasd and write out a trivial no-op
> > such as change the volume serial from LIN120 to LIN120, /dev/dasda1
> > appears.
> > It looks to me like the problem is that d-i does not manage to reread
> > the partition table.
> > I'm not sure if I understand the architecture correctly here, but
> > maybe the problem is this change in parted 2.3 ?
> >
> > libparted: remove now-worse-than-useless _kernel_reread_part_table
> > Now that we're using BLKPG properly, there's no point in using the
> > less-functional BLKRRPART ioctl to make the kernel reread the partition
> > table.
> > More importantly, this function would fail when any partition is in
> > use, in spite of our having carefully vetted them via BLKPG ioctls.
> >
> > I see fdasd (as of s390-tools 1.8.3-3) uses BLKRRPART and not BLKPG.
> >
> > The timeline would also fit the successful reports #569209 and #575682.
>
> This looks a fairly plausible theory, and the outcome is even more
> interesting, search for DASD in git log libparted/arch/linux.c. As I
> understand it, 9fa0e180 may even fix this problem.
Thanks! The patch applies cleanly to 2.3-4, and I can confirm that the
it fixes the issue completely for me.
(For the sake of completeness: I built the modified parted on zelenka.d.o
without the build dependencies libblkid-dev and check. They don't seem
to matter in this case.)
I'm attaching the patch for convenience and reassigning this to parted.
Setting the severity to 'serious' as it looks like this breaks d-i on
s390 for everybody and not just hercules users.
Parted maintainers: feel free to downgrade if this is inflated, and
please let me know if I can help further in any way.
--
Niko Tyni nt...@debian.org