[opensuse-autoinstall] insmod-Parameters not transferred to INITRD_MODULES anymore?
Hi, with SLES 9, modules loaded with "insmod bla" in the info file, made it to the INITRD_MODULES line in /etc/sysconfig/kernel automatically. This was neat for e.g. fixing the order of scsi controllers or which network card to initialize as eth0 etc. It was also nice that only those modules for existing cards/controllers were added to INITRD_MODULES. So you could specify e.g. 5 different network modules to load but on every host only those came into INITRD_MODULES that matched a card on that host. In SLES 10 this feature is gone! None of the insmod-modules is listed in INITRD_MODULES anymore, just stuff that yast considered useful. As a consequence, e.g. the order of scsi controllers often differs from the order used during the installation, the same for network cards (and that idiotic udev "persistent nework device names" feature isn't able to recognize which card I used as eth0 during installation). Was that feature dropped or is it a bug? If it was dropped, how can I transfer the order of loading modules that I use during installation into the installed system? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Sun, 4 Feb 2007, Frank Steiner wrote:
Hi,
with SLES 9, modules loaded with "insmod bla" in the info file, made it to the INITRD_MODULES line in /etc/sysconfig/kernel automatically. This was neat for e.g. fixing the order of scsi controllers or which network card to initialize as eth0 etc.
It was also nice that only those modules for existing cards/controllers were added to INITRD_MODULES. So you could specify e.g. 5 different network modules to load but on every host only those came into INITRD_MODULES that matched a card on that host.
In SLES 10 this feature is gone! None of the insmod-modules is listed in INITRD_MODULES anymore, just stuff that yast considered useful. As a consequence, e.g. the order of scsi controllers often differs from the order used during the installation, the same for network cards (and that idiotic udev "persistent nework device names" feature isn't able to recognize which card I used as eth0 during installation).
Was that feature dropped or is it a bug? If it was dropped, how can I transfer the order of loading modules that I use during installation into the installed system?
That's more or less as intended. If the autoyast framework gives you no means to do it, a driver update (ftp://ftp.suse.com/pub/people/hvogel/Update-Media-HOWTO/) gives you the chance to intercept the install process and change the INITRD_MODULES line. Steffen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Monday 05 February 2007 16:20, Steffen Winterfeldt wrote:
If the autoyast framework gives you no means to do it,
a chrooted=false chroot script can do the job. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote
On Monday 05 February 2007 16:20, Steffen Winterfeldt wrote:
If the autoyast framework gives you no means to do it,
a chrooted=false chroot script can do the job.
Well, I'm using a chroot script now, but that's not the same: I can insert a fixed set of modules in this script, but AY on SLES9 was clever enough to put only those modules into INITRD_MODULES that were really used on the currently installed system. I.e., I could give all modules that I would ever need on any of my > 80 hosts and could be sure that on every host only the needed ones made it do INITRD_MODULES. Veeeery nice feature! Any chance to get this back? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tue, 13 Feb 2007, Frank Steiner wrote:
Uwe Gansert wrote
On Monday 05 February 2007 16:20, Steffen Winterfeldt wrote:
If the autoyast framework gives you no means to do it,
a chrooted=false chroot script can do the job.
Well, I'm using a chroot script now, but that's not the same: I can insert a fixed set of modules in this script, but AY on SLES9 was clever enough to put only those modules into INITRD_MODULES that were really used on the currently installed system. I.e., I could give all modules that I would ever need on any of my > 80 hosts and could be sure that on every host only the needed ones made it do INITRD_MODULES. Veeeery nice feature! Any chance to get this back?
Basically, yes. linuxrc adds an 'InitrdModules' entry to /etc/install.inf. That is what YaST used to pick up. You would have to do that with some script yourself. This doesn't cover modules loaded by YaST, though. Steffen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Steffen Winterfeldt wrote
Basically, yes. linuxrc adds an 'InitrdModules' entry to /etc/install.inf. That is what YaST used to pick up. You would have to do that with some script yourself.
Great! I will try that!
This doesn't cover modules loaded by YaST, though.
That's fine, because I just want to insert my special modules before any other yast-configured modules to fix things like network modules ordering etc. Thanks! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Frank Steiner
-
Steffen Winterfeldt
-
Uwe Gansert