[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Built 2.6.8 kernel without ext3 bug and working qlogic driver

Hello folks,

today I compiled a working kernel-image from kernel-source-2.6.8 with a patch applied:

a) to get a working ext3 I added the printk line from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261893 to fix the gcc 3.3.5 bug (bug even there with the new gcc-3.3 package)

b) The qlogic driver was patched with informations from http://marc.theaimsgroup.com/?l=linux-scsi&w=2&r=1&s=qlogicisp&q=b:
- the qlogicisp module was completely disabled (see .config file)
- the qla1280 module was given a isp1040 firmware .h file and the device ids of the isp1020 and isp1040 and some patches of menuconfig.

After building the kernel and restarting I had no problems and no warnings with error handling. Even burning of CDs worked with the new driver (qlogicisp crashed always the whole machine with a kernel panic). And it seems to better support the UW features of the isp card (dd if=/dev/sda of=/dev/null was faster than we qlogicisp driver.

To get this running do the following:
* Get patch from ftp://alpha.thetaphi.de/kernel/
* Patch your 2.6.8 kernel source
* run make menuconfig and disable the qlogicisp driver completely and enable the support for isp1020/1040 in qla1280 (new item there)
* generate kernel image
* change /usr/sbin/mkinitrd by replacing all occurences of qlogicisp with qla1280 -- in case of making qla1280 the default in newer debian kernels there must be some checking of the kernel version here to generate a correct initrd.img after updating from older kernels!!!
* install it, mkinitrd should generate no failures
* reboot

The kernel image in ftp://alpha.thetaphi.de/kernel/ is the default debian kernel build with this patches -- but for architecture "alcor" not "generic". If someone have a Alphastation 500 he can test the debian binary. Others have to build a new kernel module.

Greetings from Bremen,

P.S.: Hi Norbert, schöne Grüße von einem ehemaligen Erlanger Studenten, arbeite jetzt nur in Bremen für PANGAEA und mache sonst eigentlich PHP SAPI Development im PHP Team -- hoffe der patch taugt auch für Kernel-Leute!

Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)

Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!

Reply to: