Fixing the Imaging Problem on Serial ATA Drives
Novell Cool Solutions: Feature
By Kristoffer Bjork
Digg This -
Posted: 2 Oct 2003
ZENworks Imaging hangs when booted on a Serial ATA equipped Dell GX270. Let's fix it! We recently got a bunch of Dell gx270's with serial ATA drives in them, and we ran into the same problem as the rest of you guys. The bootcd hung after the "Loading Kernel" message.
So I decided to fix it, and I did (sort of anyway).
The problem is that the 2.4.18 kernel shipped with ZENworks imaging 4.x doesn't support the Intel Serial ATA controller.
Support for this controller will be added into the 2.6.x series of the linux kernel. But I found out that Alan Cox added the driver into his 2.4.21-ac4 patch and later.
So what you need to do is the following.
- Install a Linux box. (get a distro that you are comfortable with).
- Download the following file to /usr/src
"cd /usr/src && wget
- Unpack the source: "tar xvfj linux-2.4.21.tar.bz2"
- Enter the directory that's been created: "cd linux-2.4.21"
- Download the 2.4.21-ac4 patch. "wget http://www.kernel.org/pub/linux/kernel/people/alan/linux-2.4/2.4.21/patch-2.4.21-ac4.bz2"
- Uncompress the patch: "bunzip2 patch-2.4.21-ac4.bz2"
- Download the novell zenworks kernel patch: "wget http://www.novell.com/coolsolutions/zenworks/assets/zfdimgkrnlpatch-2.4.18-4.0-p1.tgz"
- Unpack the file: "tar xvfz zfdimgkrnlpatch-2.4.18-4.0-p1.tgz"
- Change kernel version in the patch: "sed 's/2.4.18/2.4.21/' <zenpatch-2.4.18-4.0-p1.patch > zenpatch-2.4.21.patch"
- Apply the patches:
"patch -p0 < zenpatch-2.4.21.patch"
"patch -p1 < patch-2.4.21-ac4"
- And then configure the kernel. "make menuconfig"
- You can disable math emulation (every computer you wanna use got a fpu).
- The Intel Serial ATA driver is located under SCSI -> Low level drivers (or something similar). Make sure you compile it into the kernel and not as a module (the box looks like [*] and NOT like [M]).
- Do any other changes you like ( I added all the NIC drivers available).
- Exit and save configuration.
- Run this "make dep && make bzImage"
- If that worked ok, then do the modules. "make modules modules_install"
- And then follow the instructions in http://www.novell.com/coolsolutions/zenworks/resources_4.html for making a new bootcd.
(The docs are located under "Linux Imaging Environment Customization Resources").
If you have any questions you may contact Kristoffer at firstname.lastname@example.org
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com