2002-12-06 13:31:29

by Rudmer van Dijk

[permalink] [raw]
Subject: 2.5.50bk5 cannot insert module aha152x

Hi,

I get this error when I try to load the aha152x module:
# modprobe aha152x io=0x140 irq=9
FATAL: Error inserting aha152x (/lib/modules/2.5.50bk5/kernel/aha152x.ko):
No such device

and this message appears in dmesg:
scsi HBA driver Adaptec 152x SCSI driver; $Revision: 2.5 $ didn't set
max_sectors, please fix the template

Is this trivial to fix or has something fundamental changed?

BTW 2.5.50 did not give this message, but did not load the module either

tools:
module-init-tools 0.9.1
gcc 3.2
binutils 2.13

If you need more info, please ask

Rudmer


2002-12-07 09:52:10

by Rudmer van Dijk

[permalink] [raw]
Subject: Re: 2.5.50bk5 cannot insert module aha152x

At 14:36 6-12-02 +0100, Rudmer van Dijk wrote:
>I get this error when I try to load the aha152x module:
># modprobe aha152x io=0x140 irq=9
>FATAL: Error inserting aha152x (/lib/modules/2.5.50bk5/kernel/aha152x.ko):
>No such device

ok, my mistake: after upgrading to 2.5.50bk5 I forgot to reapply the
module-param patches... now it works!

>and this message appears in dmesg:
>scsi HBA driver Adaptec 152x SCSI driver; $Revision: 2.5 $ didn't set
>max_sectors, please fix the template

and this is something of the driver but does no harm.

Rudmer

2002-12-09 04:17:45

by Rusty Russell

[permalink] [raw]
Subject: Re: 2.5.50bk5 cannot insert module aha152x

In message <[email protected]> you write:
> Hi,
>
> I get this error when I try to load the aha152x module:
> # modprobe aha152x io=0x140 irq=9
> FATAL: Error inserting aha152x (/lib/modules/2.5.50bk5/kernel/aha152x.ko):
> No such device

Linus still hasn't taken the parameter patches, which is the first
reason this won't work.

> and this message appears in dmesg:
> scsi HBA driver Adaptec 152x SCSI driver; $Revision: 2.5 $ didn't set
> max_sectors, please fix the template
>
> Is this trivial to fix or has something fundamental changed?

Don't know this one...

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.