jfh | morning! | 06:39 |
---|---|---|
hbrueckner | xnox, hi... I have an update regarding problem of loading dasd or zfcp (s390-zfcp, s390-dasd modules) | 16:23 |
xnox | hbrueckner, i am testing a local fix. | 16:23 |
xnox | =) | 16:23 |
xnox | hbrueckner, so my conclusion is that dasd/zfcp kernel modules are not loaded when dasd/zfcp steps run and hence they report "no bus/ nothing to activate" | 16:23 |
xnox | then hw-detect/disk-detect runs, loads dasd/zfcp kernel modules and then bails as nothing is available and it does not re-run dasd/zfcp-config | 16:24 |
hbrueckner | right... the point here is that it depmod -a behaves differently between ubuntu and debian | 16:24 |
xnox | my plan is to add $ modprobe dasd_mod/zfcp after the depmod in s390-dasd/zfcp postinst | 16:24 |
hbrueckner | depmod -a triggers device modprobing and causes the module to be loaded Debian | 16:24 |
hbrueckner | the better approach would be to simply call: update-dev | 16:25 |
xnox | but before the respective dasd-config/zfcp-config binaries are called. | 16:25 |
xnox | how come depmod is different in ubuntu though?! | 16:25 |
hbrueckner | sorry for pasting the diff her | 16:25 |
hbrueckner | --- a/debian/postinst | 16:25 |
hbrueckner | +++ b/debian/postinst | 16:25 |
hbrueckner | @@ -9,6 +9,11 @@ set -e | 16:25 |
hbrueckner | test -x /sbin/depmod && depmod -a > /dev/null 2>&1 || true | 16:25 |
hbrueckner | 16:25 | |
hbrueckner | # | 16:25 |
hbrueckner | +# Trigger FCP discovery | 16:25 |
hbrueckner | +# | 16:25 |
hbrueckner | +update-dev | 16:25 |
hbrueckner | + | 16:25 |
hbrueckner | +# | 16:25 |
hbrueckner | # Start the FCP configuration utility | 16:25 |
hbrueckner | # | 16:25 |
hbrueckner | exec zfcp-config | 16:25 |
xnox | http://paste.ubuntu.com/ is a thing you know =) also you can do | 16:26 |
xnox | $ git diff | pastebinit | 16:26 |
xnox | and on ubuntu that pipes and publishes things on the paste.ubuntu.com =) | 16:26 |
hbrueckner | .... if my systems would have access to the external network ;-) | 16:26 |
xnox | hahaha | 16:26 |
xnox | ok | 16:26 |
xnox | i have no idea what update-dev is though =) | 16:26 |
xnox | still worried that ubuntu's depmod -a is somehow bad. | 16:26 |
hbrueckner | it is part of the debian-installer-utils to and a wrapper around udevadm --trigger and --settle | 16:27 |
hbrueckner | update-dev actually is the --trigger | 16:27 |
hbrueckner | yep .... I thinkt that depmod is part of busybox... perhaps a slightly different busybox version or config | 16:28 |
hbrueckner | xnox, I have to leave now... Thorsten might add some info to the LaunchPad these minutes | 16:30 |
xnox | ack | 16:30 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!