Re: [opensuse-autoinstall] SLES 12 SP1 + PXE + new kernel module
On Thu, 31 May 2018 14:19:01 +0200 "Lukas Ocilka" <locilka@suse.com> wrote:
-------- Přeposlaná zpráva -------- Předmět: [opensuse-autoinstall] SLES 12 SP1 + PXE + new kernel module Datum: Thu, 31 May 2018 09:32:24 +0200 Od: Dr. Peer-Joachim Koch <pkoch@bgc-jena.mpg.de> Společnost: MPI for Biogeochemistry Komu: opensuse-autoinstall@opensuse.org, locilka@suse.cz
Hi,
we have to add a kernel module for a perc controller. We unpacked the initrd an placed it under lib/modules/3.12.49-11-default/updates/
but the boot process failed with "No filesystem ..."
How can we add the raidcontroller module correctly ?
Hi Joachim, I am sure about properly supported way for SLE12 SP1 ( which I am also not sure if it is not already out of support ). But if I get it properly, boot process cannot find filesystem, so this means that it initrd missing some module to read it. Do you have module in your initrd to read that perc controller? unpacking only does not help if it is not also included in initrd that is loaded during boot process. So when calling mkinitrd check if all required modules for given perc controller is included there. If it is there, please write more informations like which boot failed? when starting installation or after installation when trying to boot target system. How exactly you inject that kernel module? Do you already check driver kits documented by SUSE? https://drivers.suse.com/doc/Usage/Driver_Kits.html It specify also how to add additional driver to installation. Josef -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi Josef, I tried it the same way I did on SLES 11. We have to use this revision for other software (GFS). I build the megaraid driver on an SLES12SP1 system (rpmbuild ...), took the rpm and extracted the kernel module. Unpacked the initrd and added the kernel module according to the structure found in the rpm: ll -R lib/modules/3.12.49-11-default/ 3.12.49-11-default/: insgesamt 8 drwxr-xr-x 2 root root 4096 Mai 30 16:42 initrd drwxr-xr-x 2 root root 4096 Mai 31 09:18 updates 3.12.49-11-default/initrd: insgesamt 132 -rw-r--r-- 1 root root 48783 Nov 12 2015 loop.ko -rw-r--r-- 1 root root 82455 Nov 12 2015 squashfs.ko 3.12.49-11-default/updates: insgesamt 1860 -rw-r--r-- 1 root root 1902520 Mai 30 16:18 megaraid_sas.ko Packed this initrd and placed it on our pxe server. The pxe boot is failing (virtual machine for testing), using the original initrd (without the megaraid_sas.ko file) everything is working. On SLES11 I could to an pxe installation with new perc controllers (unsupported for SLES 11) this way. I added the rpm for the installation process and everything was fine. For SLES12 some things might have changed ... Problem: The Dell R440 perc controller is not found, so we have no hard disk to install. Bye, Peer On 31.05.2018 14:45, Josef Reidinger wrote:
On Thu, 31 May 2018 14:19:01 +0200 "Lukas Ocilka" <locilka@suse.com> wrote:
-------- Přeposlaná zpráva -------- Předmět: [opensuse-autoinstall] SLES 12 SP1 + PXE + new kernel module Datum: Thu, 31 May 2018 09:32:24 +0200 Od: Dr. Peer-Joachim Koch <pkoch@bgc-jena.mpg.de> Společnost: MPI for Biogeochemistry Komu: opensuse-autoinstall@opensuse.org, locilka@suse.cz
Hi,
we have to add a kernel module for a perc controller. We unpacked the initrd an placed it under lib/modules/3.12.49-11-default/updates/
but the boot process failed with "No filesystem ..."
How can we add the raidcontroller module correctly ?
Hi Joachim, I am sure about properly supported way for SLE12 SP1 ( which I am also not sure if it is not already out of support ).
But if I get it properly, boot process cannot find filesystem, so this means that it initrd missing some module to read it. Do you have module in your initrd to read that perc controller? unpacking only does not help if it is not also included in initrd that is loaded during boot process. So when calling mkinitrd check if all required modules for given perc controller is included there.
If it is there, please write more informations like
which boot failed? when starting installation or after installation when trying to boot target system.
How exactly you inject that kernel module?
Do you already check driver kits documented by SUSE? https://drivers.suse.com/doc/Usage/Driver_Kits.html It specify also how to add additional driver to installation.
Josef
-- Mit freundlichen Grüßen, Peer-Joachim Koch ________________________________________________________ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10 Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705
Hi Joachim, I recommend you to try default way for adding new drivers with passing it as part of installation parameters "dud=ftp://<location/my.rpm>" also http or any other protocol can be used. For more details you can see Linuxrc documentation page - https://en.opensuse.org/SDB:Linuxrc Josef On Thu, 31 May 2018 15:19:25 +0200 "Dr. Peer-Joachim Koch" <pkoch@bgc-jena.mpg.de> wrote:
Hi Josef,
I tried it the same way I did on SLES 11. We have to use this revision for other software (GFS).
I build the megaraid driver on an SLES12SP1 system (rpmbuild ...), took the rpm and extracted the kernel module.
Unpacked the initrd and added the kernel module according to the structure found in the rpm:
ll -R lib/modules/3.12.49-11-default/ 3.12.49-11-default/: insgesamt 8 drwxr-xr-x 2 root root 4096 Mai 30 16:42 initrd drwxr-xr-x 2 root root 4096 Mai 31 09:18 updates
3.12.49-11-default/initrd: insgesamt 132 -rw-r--r-- 1 root root 48783 Nov 12 2015 loop.ko -rw-r--r-- 1 root root 82455 Nov 12 2015 squashfs.ko
3.12.49-11-default/updates: insgesamt 1860 -rw-r--r-- 1 root root 1902520 Mai 30 16:18 megaraid_sas.ko
Packed this initrd and placed it on our pxe server. The pxe boot is failing (virtual machine for testing), using the original initrd (without the megaraid_sas.ko file) everything is working.
On SLES11 I could to an pxe installation with new perc controllers (unsupported for SLES 11) this way. I added the rpm for the installation process and everything was fine. For SLES12 some things might have changed ...
Problem: The Dell R440 perc controller is not found, so we have no hard disk to install.
Bye, Peer
On 31.05.2018 14:45, Josef Reidinger wrote:
On Thu, 31 May 2018 14:19:01 +0200 "Lukas Ocilka" <locilka@suse.com> wrote:
-------- Přeposlaná zpráva -------- Předmět: [opensuse-autoinstall] SLES 12 SP1 + PXE + new kernel module Datum: Thu, 31 May 2018 09:32:24 +0200 Od: Dr. Peer-Joachim Koch <pkoch@bgc-jena.mpg.de> Společnost: MPI for Biogeochemistry Komu: opensuse-autoinstall@opensuse.org, locilka@suse.cz
Hi,
we have to add a kernel module for a perc controller. We unpacked the initrd an placed it under lib/modules/3.12.49-11-default/updates/
but the boot process failed with "No filesystem ..."
How can we add the raidcontroller module correctly ?
Hi Joachim, I am sure about properly supported way for SLE12 SP1 ( which I am also not sure if it is not already out of support ).
But if I get it properly, boot process cannot find filesystem, so this means that it initrd missing some module to read it. Do you have module in your initrd to read that perc controller? unpacking only does not help if it is not also included in initrd that is loaded during boot process. So when calling mkinitrd check if all required modules for given perc controller is included there.
If it is there, please write more informations like
which boot failed? when starting installation or after installation when trying to boot target system.
How exactly you inject that kernel module?
Do you already check driver kits documented by SUSE? https://drivers.suse.com/doc/Usage/Driver_Kits.html It specify also how to add additional driver to installation.
Josef
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hi Josef, worked perfectly! Thank you. Bye, Peer On 31.05.2018 15:46, Josef Reidinger wrote:
Hi Joachim, I recommend you to try default way for adding new drivers with passing it as part of installation parameters "dud=ftp://<location/my.rpm>" also http or any other protocol can be used. For more details you can see Linuxrc documentation page - https://en.opensuse.org/SDB:Linuxrc
Josef
On Thu, 31 May 2018 15:19:25 +0200 "Dr. Peer-Joachim Koch" <pkoch@bgc-jena.mpg.de> wrote:
Hi Josef,
I tried it the same way I did on SLES 11. We have to use this revision for other software (GFS).
I build the megaraid driver on an SLES12SP1 system (rpmbuild ...), took the rpm and extracted the kernel module.
Unpacked the initrd and added the kernel module according to the structure found in the rpm:
ll -R lib/modules/3.12.49-11-default/ 3.12.49-11-default/: insgesamt 8 drwxr-xr-x 2 root root 4096 Mai 30 16:42 initrd drwxr-xr-x 2 root root 4096 Mai 31 09:18 updates
3.12.49-11-default/initrd: insgesamt 132 -rw-r--r-- 1 root root 48783 Nov 12 2015 loop.ko -rw-r--r-- 1 root root 82455 Nov 12 2015 squashfs.ko
3.12.49-11-default/updates: insgesamt 1860 -rw-r--r-- 1 root root 1902520 Mai 30 16:18 megaraid_sas.ko
Packed this initrd and placed it on our pxe server. The pxe boot is failing (virtual machine for testing), using the original initrd (without the megaraid_sas.ko file) everything is working.
On SLES11 I could to an pxe installation with new perc controllers (unsupported for SLES 11) this way. I added the rpm for the installation process and everything was fine. For SLES12 some things might have changed ...
Problem: The Dell R440 perc controller is not found, so we have no hard disk to install.
Bye, Peer
On 31.05.2018 14:45, Josef Reidinger wrote:
On Thu, 31 May 2018 14:19:01 +0200 "Lukas Ocilka" <locilka@suse.com> wrote:
-------- Přeposlaná zpráva -------- Předmět: [opensuse-autoinstall] SLES 12 SP1 + PXE + new kernel module Datum: Thu, 31 May 2018 09:32:24 +0200 Od: Dr. Peer-Joachim Koch <pkoch@bgc-jena.mpg.de> Společnost: MPI for Biogeochemistry Komu: opensuse-autoinstall@opensuse.org, locilka@suse.cz
Hi,
we have to add a kernel module for a perc controller. We unpacked the initrd an placed it under lib/modules/3.12.49-11-default/updates/
but the boot process failed with "No filesystem ..."
How can we add the raidcontroller module correctly ?
Hi Joachim, I am sure about properly supported way for SLE12 SP1 ( which I am also not sure if it is not already out of support ).
But if I get it properly, boot process cannot find filesystem, so this means that it initrd missing some module to read it. Do you have module in your initrd to read that perc controller? unpacking only does not help if it is not also included in initrd that is loaded during boot process. So when calling mkinitrd check if all required modules for given perc controller is included there.
If it is there, please write more informations like
which boot failed? when starting installation or after installation when trying to boot target system.
How exactly you inject that kernel module?
Do you already check driver kits documented by SUSE? https://drivers.suse.com/doc/Usage/Driver_Kits.html It specify also how to add additional driver to installation.
Josef
-- Mit freundlichen Grüßen, Peer-Joachim Koch ________________________________________________________ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10 Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705
participants (2)
-
Dr. Peer-Joachim Koch
-
Josef Reidinger