Fw: autoyast and loadorder of modules
... any ideas to that problem from march?! till now not one answer :-( helge. ----- Forwarded by Helge Koehn/Germany/IBM on 06/09/2004 11:57 AM ----- Helge Koehn/Germany/IBM To 03/08/2004 03:14 suse-autoinstall@suse.com PM cc Subject autoyast and loadorder of modules hi, we face a problem where we have to load kernelmodules in a specific order to get our scsi devices recognized correctly! we are doing an autoyastinstallation via pxe. we send with the append parameter in the pxe-config file the modules to load, that works. our scsi device are recognized in the correct order. in the autoyast.xml we are partitioning the scsi devices and write the bootloader to /dev/sda. the stuff from disk 1 is transfered to the installed system. after the first initial boot, the order we have with the append parameter in the pxe-config file no longer works, autoyast has build its own initrd for the initial boot and with that the devices are changing because of loading the adapterdrivers in the wrong order! how can we arrange that our wanted order of devices also works after the initial boot. so that /dev/sda remains /dev/sda and not switches to /dev/sdb thanks for an answer. helge.
Hi! Did you try to set the variable INITRD_MODULES in /etc/sysconfig/kernel to include the drivers you need in the correct order. be careful, since autoyast also has an idea what should be there, e.g. INITRD_MODULES="scsi_mod sd_mod aic7xxx reiserfs" Hope that helps, Andreas On Wed, 9 Jun 2004, Helge Koehn wrote:
... any ideas to that problem from march?! till now not one answer :-( helge.
----- Forwarded by Helge Koehn/Germany/IBM on 06/09/2004 11:57 AM ----- hi,
we face a problem where we have to load kernelmodules in a specific order to get our scsi devices recognized correctly! we are doing an autoyastinstallation via pxe. we send with the append parameter in the pxe-config file the modules to load, that works. our scsi device are recognized in the correct order. in the autoyast.xml we are partitioning the scsi devices and write the bootloader to /dev/sda. the stuff from disk 1 is transfered to the installed system. after the first initial boot, the order we have with the append parameter in the pxe-config file no longer works, autoyast has build its own initrd for the initial boot and with that the devices are changing because of loading the adapterdrivers in the wrong order!
how can we arrange that our wanted order of devices also works after the initial boot. so that /dev/sda remains /dev/sda and not switches to /dev/sdb
thanks for an answer. helge.
-- Andreas Vetter Universitaet Wuerzburg, Theoretische Physik 1 Am Hubland, 97074 Wuerzburg, Deutschland / Germany
... any ideas to that problem from march?! till now not one answer :-( helge.
----- Forwarded by Helge Koehn/Germany/IBM on 06/09/2004 11:57 AM ----- hi,
we face a problem where we have to load kernelmodules in a specific order to get our scsi devices recognized correctly! we are doing an autoyastinstallation via pxe. we send with the append parameter in the pxe-config file the modules to load, that works. our scsi device are recognized in the correct order. in the autoyast.xml we are partitioning the scsi devices and write the bootloader to /dev/sda. the stuff from disk 1 is transfered to the installed system. after the first initial boot,
order we have with the append parameter in the pxe-config file no longer works, autoyast has build its own initrd for the initial boot and with
hi, yes we tried to set this variable and the entry is correctly setup in the /etc/sysconfig/kernel file of the target system, but this file isn't used to build the initial initrd which is used during the autoinstallprocess for the first initial boot after cd 1! helge. Hi! Did you try to set the variable INITRD_MODULES in /etc/sysconfig/kernel to include the drivers you need in the correct order. be careful, since autoyast also has an idea what should be there, e.g. INITRD_MODULES="scsi_mod sd_mod aic7xxx reiserfs" Hope that helps, Andreas On Wed, 9 Jun 2004, Helge Koehn wrote: the that
the devices are changing because of loading the adapterdrivers in the wrong order!
how can we arrange that our wanted order of devices also works after the initial boot. so that /dev/sda remains /dev/sda and not switches to /dev/sdb
thanks for an answer. helge.
-- Andreas Vetter Universitaet Wuerzburg, Theoretische Physik 1 Am Hubland, 97074 Wuerzburg, Deutschland / Germany -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Hi, You might want to tell us what modules are you loading and what order work and which does not (the way yast creates the initrd). Anas Helge Koehn wrote:
... any ideas to that problem from march?! till now not one answer :-( helge.
----- Forwarded by Helge Koehn/Germany/IBM on 06/09/2004 11:57 AM -----
Helge Koehn/Germany/IBM To 03/08/2004 03:14 suse-autoinstall@suse.com PM cc
Subject autoyast and loadorder of modules
hi,
we face a problem where we have to load kernelmodules in a specific order to get our scsi devices recognized correctly! we are doing an autoyastinstallation via pxe. we send with the append parameter in the pxe-config file the modules to load, that works. our scsi device are recognized in the correct order. in the autoyast.xml we are partitioning the scsi devices and write the bootloader to /dev/sda. the stuff from disk 1 is transfered to the installed system. after the first initial boot, the order we have with the append parameter in the pxe-config file no longer works, autoyast has build its own initrd for the initial boot and with that the devices are changing because of loading the adapterdrivers in the wrong order!
how can we arrange that our wanted order of devices also works after the initial boot. so that /dev/sda remains /dev/sda and not switches to /dev/sdb
thanks for an answer. helge.
hi anas :-) see inline our append line from the pxelinux-config file used for installation. ----------------------------------- append load_ramdisk=1 initrd=initrd.suse9p insmod=mptbase insmod=mptscsih insmod=ips autoyast=nfs://x.x.x.x/profiles/servername/autoyast.xml server=x.x.x.x serverdir=/autoyast/susecds hostip=x.x.x.y netmask=x.x.x.x gateway=x.x.x.x vga=791 ------------------------------------ with that at first the modules for the lsi-adapter are loaded and the scsi device on that channel will be /dev/sda. the external raid device on the serveraid adapter is recognized as /dev/sdb because the ips-module is loaded after the mpt-modules. the autoyast.xml is read the partitioning takes place and the installation starts, after installing all packages from cd 1 a reboot occurs and the autoyast-generated initrd loads the ips module before the mpt modules, so the deviceorder changes, the reboot fails and the installation can't be finished ... :-( helge.
participants (3)
-
Anas Nashif
-
Andreas Vetter
-
Helge Koehn