<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ETES GmbH &#187; Kernel</title>
	<atom:link href="http://www.etes.de/blog/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.etes.de</link>
	<description>EDV-Systemhaus</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:52:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Replacing kernel modules for SuSE while installing</title>
		<link>http://www.etes.de/blog/replacing-kernel-modules-for-suse-while-installing/</link>
		<comments>http://www.etes.de/blog/replacing-kernel-modules-for-suse-while-installing/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 15:56:33 +0000</pubDate>
		<dc:creator>ETES Admin</dc:creator>
				<category><![CDATA[Know-How]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[SuSE]]></category>

		<guid isPermaLink="false">http://www.etes.de/?p=55</guid>
		<description><![CDATA[Note: This article is a republishing from our old webpage.
Sometimes it happens that SuSE Linux is distributed with a bug in one of the kernel modules which you need for your installation. An example for this is the kernel module aacraid for SuSE 9.2. This documentation explains how to replace a kernel module for the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Note: This article is a republishing from our old webpage.</strong></p>
<p>Sometimes it happens that SuSE Linux is distributed with a bug in one of the kernel modules which you need for your installation. An example for this is the kernel module aacraid for SuSE 9.2. This documentation explains how to replace a kernel module for the installation. It works only for modules which can be loaded manually.</p>
<p>A long time ago SuSE was shipped this some floppy disks which keep the kernel modules. Today you will only get a set of some CDs and DVDs to install. This makes the process some more complicated.</p>
<ol>
<li>The first of all is to find out which kernel module might be affected. There are no real steps for that. In     our case we found in formations about a bug in the aacraid kernel module.</li>
<li>Find a kernel patch for the known bug or write your own fix. ;-)</li>
<li>Install a minimum system with some additional packets (gcc, make, patch) and the kernel sources on a different machine. A good choice for this is a virtual machine like VMware or xen. Don&#8217;t run onlineupdates after the installation!</li>
<li>Change to the directory of your kernel sources and run a <tt>make cloneconfig</tt>.</li>
<li>Apply the kernel patch to the buggy module.</li>
<li>Compile the module with a <tt>make modules</tt> in your kernel source directory.</li>
<li>You will find a file <tt>kernel_module_name.ko</tt> in your source tree. Copy it on a Linux machine which has a floppy drive.</li>
<li>Start the installation on the target machine using CD number 2 and choose a manual installation. Follow the installation instructions until you reach the point where you can load kernel modules.</li>
<li>Select the needed module category. Yast will ask you to insert a special module disk with a special number.</li>
<li>On the CD 1 of SuSE you will find this floppy disk as an image. Copy the image to the disk using <tt>dd</tt> like it is explained in the SUSE documentation.</li>
<li>Mount the floppy on the machine to which you have copied     the kernel module file create in the first steps.</li>
<li>You will find two files on the floppy disk. One is named <tt>module.config</tt> and the other one has a special name like <tt>scsi-modules</tt>. Copy the second file to your hard disk.</li>
<li>Append the ending <tt>.gz</tt> (like <tt>scsi-modules.gz</tt>) and uncompress it with gzip.</li>
<li>The result will be a Mimix file system image which you can mount. Create a new mount point (let&#8217;s call it    <tt>/mnt/mimix</tt>) and mount the file: <tt>mount -o loop /file/to/image /mnt/mimix</tt></li>
<li>Change to your new mount point and replace the buggy kernel module with the one created by you.</li>
<li>Unmount the image file, compress it using <tt>gzip</tt> and copy it back to the floppy disk.</li>
<li>After unmounting the floppy disk you can use it for your installation process. Insert the disk and select     your new module.</li>
<li>That&#8217;s all. Just complete your installation.</li>
</ol>
<p>Thanks to Harald and Hendrik for their support!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etes.de/blog/replacing-kernel-modules-for-suse-while-installing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
