[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#414490: doesn't work at high priority and crashes at medium priority in hercules



Package: s390-dasd
Version: 0.0.20
Severity: important

Not setting this RC since there are ugly and horrible (respectively)
workarounds, but this is errata-level trouble at best, and should be
fixed if possible.

   ret = my_debconf_input ("medium", TEMPLATE_PREFIX "format", &ptr);

As noted on irc, this question needs to be asked at at least high
priority. Currently it's not possible to format a dasd in a default
install, which is not good.

Even less good is this crash that I get when running at medium priority
in hercules. s390-dasd lists one available disk, 0.0.0120, and I select
it. It asks if I want to format it, I say yes and it then crashes:

3888  read(7, "rootfs / rootfs rw 0 0\nnone /pro"..., 1024) = 171
3888  close(7)                          = 0
3888  munmap(0x77e91000, 4096)          = 0
3888  lstat64("/sys/bus/ccw/drivers/dasd-fba", 0x7fa61258) = -1 ENOENT (No such file or directory)
3888  write(3, "SUBST s390-dasd/choose_select ch"..., 47) = 47
3888  read(0, "0\n", 4096)              = 2
3888  write(3, "INPUT high s390-dasd/choose_sele"..., 35) = 35
3888  read(0, "0 question will be asked\n", 4096) = 25
3888  write(3, "GO\n", 3)               = 3
3888  read(0, "0 ok\n", 4096)           = 5
3888  write(3, "GET s390-dasd/choose_select\n", 28) = 28
3888  read(0, "0 0.0.0120\n", 4096)     = 11
3888  write(3, "SUBST s390-dasd/format device 0."..., 39) = 39
3888  read(0, "0\n", 4096)              = 2
3888  write(3, "SET s390-dasd/format false\n", 27) = 27
3888  read(0, "0 value set\n", 4096)    = 12
3888  write(3, "INPUT medium s390-dasd/format\n", 30) = 30
3888  read(0, "0 question will be asked\n", 4096) = 25
3888  write(3, "GO\n", 3)               = 3
3888  read(0, "0 ok\n", 4096)           = 5
3888  write(3, "GET s390-dasd/format\n", 21) = 21
3888  read(0, "0 true\n", 4096)         = 7
3888  open("/dev/disk/by-path/ccw-0.0.0120", O_RDONLY) = -1 ENOENT (No such file or directory)
3888  munmap(0x77e93000, 4096)          = 0
3888  exit_group(1)                     = ?

There is no /dev/disk/ at that point. If I start partman (which fails
with the disk unformatted), /dev/disk does get created. Not sure how; I
tried running update-dev but that does not do it. I can then go back to
s390-dasd and it sucessfully formats the disk this time.

FWIW, the hercules disk image was freshly created before this install
using "dasdinit hercules-hercules-web-server-d-i.img 3390-1 root 1200"
and my hercules config is as follows:

CPUSERIAL       002623
CPUMODEL        3090
MAINSIZE        256
CODEPAGE        default
XPNDSIZE        0
#CNSLPORT       3270
#HTTPPORT       8081 noauth userid password
#HTTPROOT       /usr/share/hercules/
NUMCPU          2
LOADPARM        0120....
OSTAILOR        LINUX
PANRATE         SLOW
ARCHMODE        ESA/390

000C    3505    hercules-hercules-web-server-d-i.kernel hercules-hercules-web-server-d-i.parmfile hercules-hercules-web-server-d-i.initrd autopad eof
0120    3390    /home/joey/tmp/digress-state/hercules-hercules-web-server-d-i.img
0A00    3088    CTCI /dev/net/tun 1500 192.168.2.2 192.168.2.1 255.255.255.255
0A01    3088    CTCI /dev/net/tun 1500 192.168.2.2 192.168.2.1 255.255.255.255

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: