Re: mkinitrd/modprobe doesn't find sym53c8xx_2 (was Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver)

2005-01-20 Thread Greg Folkert
On Thu, 2005-01-20 at 08:30 +0100, Uwe Schindler wrote:
> Seems to be something with the module name:
> * In 2.4.27 the module is called: sym53c8xx_2(.o)
> * In 2.6.x it is called: sym53c8xx(.ko)
> 
> mkinitrd looks which scsi controllers are currently running and tries to 
> put them into initrd.img. This does not work because:
> alpha:/# modprobe sym53c8xx_2
> FATAL: Module sym53c8xx_2 not found. <-- he got this name from 2.4.27
> alpha:/# modprobe sym53c8xx  <-- he should test that
> alpha:/#
> 
> So this is a update problem from 2.4. to 2.6, the same like with changing 
> the qlogicisp to qla1280.
> 
> You should put the same replacement line in mkinitrd that replaces 
> scsi/module target names with driver names, just add:
> s/^sym53c8xx.*$/sym53c8xx/; t
> 
> If you put both lines for sym and qla, you should have the newest supported 
> drivers for your 2.6 kernel.
> 
> Also write bug report for mkinitrd.
> 
> Uwe
> 
> At 22:18 19.01.2005, you wrote:
> 
> >Uwe Schindler wrote:
> >>Did you use the default kernel-config file (you can find it in 
> >>boot/config-2.6.8-x after installing a 2.6.8 image)? If not, just
> >You gave me the idea to try it first with a precompiled default kernel.
> >I took the stock binary kernel-image-2.6.8-1-smp
> >(kernel-image-2.6.8-1-smp_2.6.8-6_alpha.deb). As I was installing, the
> >following error occured:
> >Setting up kernel-image-2.6.8-1-smp (2.6.8-6) ...
> >/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
> >FATAL: Module sym53c8xx_2 not found.
> >
> >So I checked:
> ># find /lib/modules -name sym53c8xx*
> >/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx.o
> >/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2
> >/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx_2.o
> >/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2
> >/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
> >/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2
> >/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
> >...or is this the wrong place to look?
> >
> >Then I changed /etc/mkinitrd/mkinitrd.conf to:
> ># MODULES=dep  <- old setting
> >MODULES=most   <- new setting
> >...and commented out sym53c8xx_2 in /etc/mkinitrd/modules and retried
> >with the same error.
> >
> >I reread your post and tried:
> >>* Before install: open /usr/sbin/mkinitrd in text editor and replace
> >>the module in the line containing "qlogicisp" by "qla1280".
> >So I changed Line 588 to:
> >s/^isp1020$/qla1280/; t
> >and retried with the same error as the result.
> >
> >I set up a almost identical machine with the sarge rc2 installer to a 
> >2.4.27 kernel. When I want to install 2.6.8-1-smp-6, I see the same error.
> >
> >Since my boot drive is unchangeably on a ncr53c810 controller, I can't 
> >boot. What am I doing wrong?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284961

Also, same problem with 2.4.27. Submit against initrd-tools.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


Re: mkinitrd/modprobe doesn't find sym53c8xx_2 (was Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver)

2005-01-20 Thread Norbert Tretkowski
* Uwe Schindler wrote:
> Seems to be something with the module name:
> * In 2.4.27 the module is called: sym53c8xx_2(.o)
> * In 2.6.x it is called: sym53c8xx(.ko)
> 
> mkinitrd looks which scsi controllers are currently running and tries to 
> put them into initrd.img. This does not work because:
> alpha:/# modprobe sym53c8xx_2
> FATAL: Module sym53c8xx_2 not found. <-- he got this name from 2.4.27
> alpha:/# modprobe sym53c8xx  <-- he should test that
> alpha:/#

Please file a bugreport against initrd-tools

> So this is a update problem from 2.4. to 2.6, the same like with
> changing the qlogicisp to qla1280.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289995

Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mkinitrd/modprobe doesn't find sym53c8xx_2 (was Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver)

2005-01-19 Thread Uwe Schindler
Seems to be something with the module name:
* In 2.4.27 the module is called: sym53c8xx_2(.o)
* In 2.6.x it is called: sym53c8xx(.ko)
mkinitrd looks which scsi controllers are currently running and tries to 
put them into initrd.img. This does not work because:
alpha:/# modprobe sym53c8xx_2
FATAL: Module sym53c8xx_2 not found. <-- he got this name from 2.4.27
alpha:/# modprobe sym53c8xx  <-- he should test that
alpha:/#

So this is a update problem from 2.4. to 2.6, the same like with changing 
the qlogicisp to qla1280.

You should put the same replacement line in mkinitrd that replaces 
scsi/module target names with driver names, just add:
s/^sym53c8xx.*$/sym53c8xx/; t

If you put both lines for sym and qla, you should have the newest supported 
drivers for your 2.6 kernel.

Also write bug report for mkinitrd.
Uwe
At 22:18 19.01.2005, you wrote:
Uwe Schindler wrote:
Did you use the default kernel-config file (you can find it in 
boot/config-2.6.8-x after installing a 2.6.8 image)? If not, just
You gave me the idea to try it first with a precompiled default kernel.
I took the stock binary kernel-image-2.6.8-1-smp
(kernel-image-2.6.8-1-smp_2.6.8-6_alpha.deb). As I was installing, the
following error occured:
Setting up kernel-image-2.6.8-1-smp (2.6.8-6) ...
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module sym53c8xx_2 not found.
So I checked:
# find /lib/modules -name sym53c8xx*
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx.o
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx_2.o
/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
...or is this the wrong place to look?
Then I changed /etc/mkinitrd/mkinitrd.conf to:
# MODULES=dep  <- old setting
MODULES=most   <- new setting
...and commented out sym53c8xx_2 in /etc/mkinitrd/modules and retried
with the same error.
I reread your post and tried:
* Before install: open /usr/sbin/mkinitrd in text editor and replace
the module in the line containing "qlogicisp" by "qla1280".
So I changed Line 588 to:
   s/^isp1020$/qla1280/; t
and retried with the same error as the result.
I set up a almost identical machine with the sarge rc2 installer to a 
2.4.27 kernel. When I want to install 2.6.8-1-smp-6, I see the same error.

Since my boot drive is unchangeably on a ncr53c810 controller, I can't 
boot. What am I doing wrong?

Thanks for any help!
Regards, Adrian.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!  

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


mkinitrd/modprobe doesn't find sym53c8xx_2 (was Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver)

2005-01-19 Thread Adrian Zaugg
Uwe Schindler wrote:
Did you use the default kernel-config file (you can find it in 
boot/config-2.6.8-x after installing a 2.6.8 image)? If not, just 
You gave me the idea to try it first with a precompiled default kernel.
I took the stock binary kernel-image-2.6.8-1-smp
(kernel-image-2.6.8-1-smp_2.6.8-6_alpha.deb). As I was installing, the
following error occured:
Setting up kernel-image-2.6.8-1-smp (2.6.8-6) ...
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module sym53c8xx_2 not found.
So I checked:
# find /lib/modules -name sym53c8xx*
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx.o
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.4.27-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx_2.o
/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.6.8-rawhide-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2
/lib/modules/2.6.8-1-smp/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
...or is this the wrong place to look?
Then I changed /etc/mkinitrd/mkinitrd.conf to:
# MODULES=dep  <- old setting
MODULES=most   <- new setting
...and commented out sym53c8xx_2 in /etc/mkinitrd/modules and retried
with the same error.
I reread your post and tried:
* Before install: open /usr/sbin/mkinitrd in text editor and replace
the module in the line containing "qlogicisp" by "qla1280".
So I changed Line 588 to:
   s/^isp1020$/qla1280/; t
and retried with the same error as the result.
I set up a almost identical machine with the sarge rc2 installer to a 
2.4.27 kernel. When I want to install 2.6.8-1-smp-6, I see the same error.

Since my boot drive is unchangeably on a ncr53c810 controller, I can't 
boot. What am I doing wrong?

Thanks for any help!
Regards, Adrian.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-12 Thread Uwe Schindler
Did you use the default kernel-config file (you can find it in 
boot/config-2.6.8-x after installing a 2.6.8 image)? If not, just copy 
it to kernel-source/.config. After that try to make menuconfig and change 
your kernel configuration. This ensures that all debian default modules are 
installed in the kernel in the default configuration. In menuconfig disable 
the module qlogicisp and enable qla1280 with the new extra option for 
isp1020/1040.

* After that compile kernel.
* Before install: open /usr/sbin/mkinitrd in text editor and replace the 
module in the line containing "qlogicisp" by "qla1280".
* Install kernel image with dpkg
* edit aboot.conf
* reboot

If there is still the FATAL about sym53c8xx_2 there is something other in 
your kernel configuration missing.

Uwe
At 14:37 12.01.2005, you wrote:
Dear List
The recent discussion between Norbert and Uwe is beyond my knowledge, but 
I seems to me I just got touched by the topic. I compiled a new kernel 
from the latest kernel-source-2.6.8-12. If I want to install the 
corresponding deb, when trying to make the initrd, it tells me:

Setting up kernel-image-2.6.8-rawhide-smp (alphaente.20) ...
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module sym53c8xx_2 not found.
FATAL: Module qlogicisp not found.
WARNING: This failure MAY indicate that your kernel will not boot!
but it can also be triggered by needed modules being compiled into
the kernel.
I understood, that it's a problem in initrd-tools not yet updated...
Anyway: Can I choose some different options in a way, that I will be able 
to run mkinitrd? I have chosen:
sym53c8xx_2 as module --> my boot disk (or is it called sym53c8xx?)
qla1280 as module --> my root disk
Do I have compile it into the kernel for a workaround? Do I need to 
compile qlogicisp, too? As a module? Can I build my mkinitrd with the 
setting in mkinitrd.conf modules=dep?
...or do I have to wait until fixed? (Unfortunately there are still some 
bugs in 2.4.27 which let my alpha crash* when resyncing its md raid in 
runlevel > 1...I need to try a newer kernel).

Thank you for your help.
Regards, Adrian.
*) There are two symptoms: "Timeout in mbox command on qlogicisp" -> the 
machine can't reboot nor anything else no more, but seems to run. Or, the 
second is an "Aieee, killing interrupt handler". This happens mostly on 
RAID5 but also on RAID1, towards the end of a syncing process. The excact 
message is lost, it can't write to syslog no more, when it happened. I 
know that my layout of md-disks is a bit strange, it has many disks taking 
part in multiple arrays.

Norbert Tretkowski wrote:
* Uwe Schindler wrote:
At 01:03 08.01.2005, Norbert Tretkowski wrote:
It contains both drivers, but I think we'll change the driver from
qlogicisp to qla1280 with the next initrd-tools upload.
I did not download your kernel-image, but in your description you
wrote that qlogicisp is removed, and support for 1020/1040 in
qla1280 activated.
You catched an outdated package... currently there are qla1280 and
qlogicisp enabled in svn.
http://svn.debian.org/wsvn/kernel/trunk/kernel/alpha/kernel-image-2.6.8-alpha-2.6.8/
This works for all kernels (2.4 and 2.6). But then you have to
definitely disable qlogicisp.
I'm thinking about enabling qla1280 for qla1040 contollers only on
alpha running a 2.6 kernel.
Norbert

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!  

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-12 Thread Adrian Zaugg
Dear List
The recent discussion between Norbert and Uwe is beyond my knowledge, 
but I seems to me I just got touched by the topic. I compiled a new 
kernel from the latest kernel-source-2.6.8-12. If I want to install the 
corresponding deb, when trying to make the initrd, it tells me:

Setting up kernel-image-2.6.8-rawhide-smp (alphaente.20) ...
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module sym53c8xx_2 not found.
FATAL: Module qlogicisp not found.
WARNING: This failure MAY indicate that your kernel will not boot!
but it can also be triggered by needed modules being compiled into
the kernel.
I understood, that it's a problem in initrd-tools not yet updated...
Anyway: Can I choose some different options in a way, that I will be 
able to run mkinitrd? I have chosen:
sym53c8xx_2 as module --> my boot disk (or is it called sym53c8xx?)
qla1280 as module --> my root disk
Do I have compile it into the kernel for a workaround? Do I need to 
compile qlogicisp, too? As a module? Can I build my mkinitrd with the 
setting in mkinitrd.conf modules=dep?
...or do I have to wait until fixed? (Unfortunately there are still some 
bugs in 2.4.27 which let my alpha crash* when resyncing its md raid in 
runlevel > 1...I need to try a newer kernel).

Thank you for your help.
Regards, Adrian.
*) There are two symptoms: "Timeout in mbox command on qlogicisp" -> the 
machine can't reboot nor anything else no more, but seems to run. Or, 
the second is an "Aieee, killing interrupt handler". This happens mostly 
on RAID5 but also on RAID1, towards the end of a syncing process. The 
excact message is lost, it can't write to syslog no more, when it 
happened. I know that my layout of md-disks is a bit strange, it has 
many disks taking part in multiple arrays.

Norbert Tretkowski wrote:
* Uwe Schindler wrote:
At 01:03 08.01.2005, Norbert Tretkowski wrote:
It contains both drivers, but I think we'll change the driver from
qlogicisp to qla1280 with the next initrd-tools upload.
I did not download your kernel-image, but in your description you
wrote that qlogicisp is removed, and support for 1020/1040 in
qla1280 activated. 

You catched an outdated package... currently there are qla1280 and
qlogicisp enabled in svn.
http://svn.debian.org/wsvn/kernel/trunk/kernel/alpha/kernel-image-2.6.8-alpha-2.6.8/

This works for all kernels (2.4 and 2.6). But then you have to
definitely disable qlogicisp.

I'm thinking about enabling qla1280 for qla1040 contollers only on
alpha running a 2.6 kernel.
Norbert


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-10 Thread Norbert Tretkowski
* Uwe Schindler wrote:
> At 01:03 08.01.2005, Norbert Tretkowski wrote:
>> It contains both drivers, but I think we'll change the driver from
>> qlogicisp to qla1280 with the next initrd-tools upload.
> 
> I did not download your kernel-image, but in your description you
> wrote that qlogicisp is removed, and support for 1020/1040 in
> qla1280 activated. 

You catched an outdated package... currently there are qla1280 and
qlogicisp enabled in svn.

http://svn.debian.org/wsvn/kernel/trunk/kernel/alpha/kernel-image-2.6.8-alpha-2.6.8/

> This works for all kernels (2.4 and 2.6). But then you have to
> definitely disable qlogicisp.

I'm thinking about enabling qla1280 for qla1040 contollers only on
alpha running a 2.6 kernel.

Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-10 Thread Uwe Schindler
At 01:03 08.01.2005, Norbert Tretkowski wrote:
* Uwe Schindler wrote:
> What about the problems with initrd after switching to the new
> kernel without qlogicisp? Or does the new kernel contain both
> drivers?
It contains both drivers, but I think we'll change the driver from
qlogicisp to qla1280 with the next initrd-tools upload.
I did not download your kernel-image, but in your description you wrote 
that qlogicisp is removed, and support for 1020/1040 in qla1280 activated. 
So updating should fail with "qlogicisp - module not found" when running 
mkinitrd during package installation.

For mkinitrd I would suggest to insert something like:
* try "qlogicisp"
* if package not found in installed kernel -> activate "qla1280"
This works for all kernels (2.4 and 2.6). But then you have to definitely 
disable qlogicisp.

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!  

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-07 Thread Norbert Tretkowski
* Uwe Schindler wrote:
> What about the problems with initrd after switching to the new
> kernel without qlogicisp? Or does the new kernel contain both
> drivers?

It contains both drivers, but I think we'll change the driver from
qlogicisp to qla1280 with the next initrd-tools upload.

Norbert




Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-07 Thread Uwe Schindler
What about the problems with initrd after switching to the new kernel 
without qlogicisp? Or does the new kernel contain both drivers?

At 16:55 07.01.2005, Norbert Tretkowski wrote:
* Norbert Tretkowski wrote:
> I'll take a closer look at your patch next weekend.
OK... using the qla1280 backport from 2.6.10 _and_ the printk line in
fs/ext3/super.c seems to fix the problem.
I'll add these two patches to kernel-source-2.6.8.
Packages of the next kernel-image-2.6.8-alpha upload with those two
patches applied:
http://people.debian.org/~nobse/kernel/alpha/kernel-image-2.6.8-alpha/
(Still uploading...)
Norbert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!  




Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-07 Thread Norbert Tretkowski
* Norbert Tretkowski wrote:
> I'll take a closer look at your patch next weekend.

OK... using the qla1280 backport from 2.6.10 _and_ the printk line in
fs/ext3/super.c seems to fix the problem.

I'll add these two patches to kernel-source-2.6.8.

Packages of the next kernel-image-2.6.8-alpha upload with those two
patches applied:

http://people.debian.org/~nobse/kernel/alpha/kernel-image-2.6.8-alpha/

(Still uploading...)

Norbert




Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-07 Thread Adrian Zaugg
Meanwhile you can fetch it from:
ftp://ente.limmat.ch/pub/alpha/2.6.8-kernel-patch-qlogic/
  - or -
http://ente.limmat.ch/ftp/pub/alpha/2.6.8-kernel-patch-qlogic/
I've downloaded it yesterday.
Regards, Adrian.
Uwe Schindler wrote:
At 22:27 06.01.2005, Uwe Schindler wrote:
Hello folks,
today I compiled a working kernel-image from kernel-source-2.6.8 with 
a patch applied:
...
* Get patch from ftp://alpha.thetaphi.de/kernel/

This machine is temporary not available... Look here at the weekend...
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen! 




Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-07 Thread Uwe Schindler
At 22:27 06.01.2005, Uwe Schindler wrote:
Hello folks,
today I compiled a working kernel-image from kernel-source-2.6.8 with a 
patch applied:
...
* Get patch from ftp://alpha.thetaphi.de/kernel/
This machine is temporary not available... Look here at the weekend...
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!  




Re: Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-06 Thread Norbert Tretkowski
* Uwe Schindler wrote:
[...]
> After building the kernel and restarting I had no problems and no
> warnings with error handling.

Hmm, interesting... I already prepared kernel-images with that patch
from Christoph Hellwig, but I got replies that it also doesn't work.

I already gave the qla1280 driver from 2.6.10 a try, but it seemed
broken too, at least on one of my machines.

I'll take a closer look at your patch next weekend.

Norbert




Built 2.6.8 kernel without ext3 bug and working qlogic driver

2005-01-06 Thread Uwe Schindler
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,
Uwe
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: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!