Posts Tagged sles

SLES / SLED 10 with Intel 965 Graphics

If you need to update your installation to work with Intel graphics, there is an RPM you can install that will likely resolve your issues:

http://download.opensuse.org/repositories/home:/mhopf:/hp/SLE_10/i586/intel-i810-xorg-x11-6.9.0.2-8.1.i586.rpm

Install that, then run Sax or edit xorg.conf, and make sure to pick the i810 driver. (This post is in response to the number of forum posts on this subject offering no solutions)

Tags: , , , ,

Installing Bazaar Distributed Version Control on SLES 10 SP2

I chose to install from source, the process is (tested on SLES 10 SP2 i386):

  • wget –no-check-certificate https://launchpad.net/bzr/1.10/1.10/+download/bzr-1.10.tar.gz
  • zypper in python-devel python-xml
  • tar xvfz bzr-1.10.tar.gz
  • cd bzr-1.10/
  • ./setup.py install

Now you should be able to run bzr from the command line.

Tags: , ,

Howto: Add updated e1000 driver to SLED 10 SP1

Why
I maintain SLED 10 SP1 based systems that need to install via autoyast (ie network install). This does not support newer intel nic cards (which are a big win because they were previously broadcom, but I pushed back and got intel cards). The process is not very obvious, and probably not for the faint of heart. The following process is used to make an ‘initrd’ file that you can write over the previous initrd file on the iso, and burn that so your iso will have network support.

Install CD Process

1: Extract initrd from SLED SP1 install media to working directory

cp /media/sled/boot/i386/loader/initrd /home/sharms/working_directory

2: Make a directory to work with contents

mkdir /home/sharms/working_directory/work

3: Extract initrd contents

cd /home/sharms/working_directory/work
gzip -dc < ../initrd | cpio -idmuv

: Retrieve driver file from forge ftp

cd /home/sharms/working_directory
wget http://forgeftp.novell.com/driver-process/staging/pub/update/Intel/sle10sp1/common/i586/intel-e1000-kmp-default-7.6.5_2.6.16.46_0.12-27.i586.rpm

5: Extract module from rpm

mkdir rpm_contents
cd rpm_contents
rpm2cpio ../intel-e1000-kmp-default-7.6.5_2.6.16.46_0.12-27.i586.rpm | cpio -idv

6: Add module to initrd

cp default/lib/modules/2.6.16.46-0.12-default/updates/e1000.ko /home/sharms/working_directory/work/modules

7: Update module files (this will vary greatly depending on drivers) but
the two files to be modified are:
/home/sharms/working_directory/work/lib/modules/2.6.16.46-0.12-default/modules.alias
/home/sharms/working_directory/work/lib/modules/2.6.16.46-0.12-default/modules.pcimap

I generated mine like this:

depmod -b /tmp -n /tmp/workingdir/work/modules/e1000.ko

8: Recreate initrd

cd /home/sharms/working_directory/work/
find . | cpio --quiet -o -H newc > ../initrd
cd ..
gzip -v9c initrd > initrd.gz
mv initrd.gz initrd

Creating a new SLES / SLED iso

mount -t iso9660 -o loop /tmp/SLES-10-sp2-x86.iso /tmp/sles
mkdir /tmp/remastered-sles
rsync -avh /tmp/sles /tmp/remastered-sles
cp /tmp/workdir/initrd /tmp/remastered-sles/boot/i386/loader
mkisofs -v -r -J -o /tmp/sles10sp2-e1000.iso -b boot/i386/loader/isolinux.bin -T -pad -no-emul-boot -boot-load-size 4 -c boot.cat -boot-info-table .

Addon media process
This is needed because this prior process only covers the install cd, not the files actually installed.
This can be followed from:
http://opseast.wordpress.com/2007/06/05/autoyast-how-and-why-you-may-need-to-update-your-sle-installation-environment-source/

Important to note
: when making the addon package, you will want to
include both -default and -smp versions of the module rpm so that way
both types of processors are covered.

Tags: , ,