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: 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-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 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 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
* 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-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