Mailinglist Archive: opensuse (3242 mails)
| < Previous | Next > |
Re: [SLE] Adaptec 1542c
- From: Chris Reeves <chris.reeves@xxxxxxxxx>
- Date: Mon, 3 Sep 2001 19:18:33 +0100
- Message-id: <20010903191833.E24626@xxxxxxxxxxxxxxxxxxxxxx>
On Mon, Sep 03, 2001 at 01:27:43PM -0400, Bruce Marshall wrote:
> On Monday 03 September 2001 12:33 pm, Chris Reeves wrote:
> > On Mon, Sep 03, 2001 at 12:12:14PM -0400, Bruce Marshall wrote:
> > >
> > > I believe it should be:
> > >
> > > insmod aha154x aha1542x=0x0330
> > >
> > > The first parm tells insmod what to load and the second parm is passed to
> > > the loaded module. You might want to add the irq also:
> > > aha1542x=0x0330,<irq>
> >
> > A couple of points here:
> > 1. It is usually best to use the 'modprobe' command, rather than 'insmod'.
> > 'modprobe' will handle all module dependencies automatically (and some
> > other stuff) while 'insmod' won't.
> > 2. The aha1542 module uses 0x330 as its base address by default.
> > 4. The systax is incorrect in the above example:
>
> I beg to differ:
>
> 1) Yes, modprobe is better but I wasn't sure what environment or problem he
> was dealing with. IAE, the information given would have helped him
Fair enough - I was adding more general information while I was at it. BTW, I
didn't mean any of that in a bad way. :-/ Accept my humble apologies ;-)
> 2) Yes.. (and your point?)
What can I say... I was on a roll ;-)
> 4) And your syntax is incorrect.
>
> >From the 'Using OpenLinux' book which lists the parms for all modules:
>
> Boot Parameters:
>
> Format:
>
> aha1542=<IO port>,<bus on>,<bus off>,<DMA speed>
>
> IO port 0x0130,0x0134,0x0230,0x0330,0x0334, (probed at 330 and 334)
> 0x234
>
> bus on has a value 2-15 with 11 as default (microsec)
>
> bus off has a value 1-64 with 4 as a default
>
> DMA speed 5,6,7,8,10 (MB/sec)
>
>
> Note the use of aha1542=<parms>
>
> The adaptec drivers use this format specifically. Same for the aha152x
> module.
>
> NOTE: The above are BOOT parameters. The book notes that "no MODULE
> parameters are provided for this driver".
That's right, they're boot parameters, as I said below.
> > aha1542=0x330 can be used in that form when it is passed as a kernel
> > parameter, for example at a LILO prompt or as part of an append= line in
> > the lilo.conf file. When using insmod or modprobe, the module should be
> > loaded as follows (using modprobe as an example):
> > modprobe aha1542 io=0x330
My bad - I misread the source. :(
If I hadn't thought that bit was incorrect, I wouldn't have bothered with the
rest of the message (since what you had was, well, correct)...
I'll read slower next time.
Is it me, or am I seriously overusing smileys here? As you can probably tell,
I'm in a happy, jolly, bouncy mood. It's great to be back! Not a great start
though. :'(
Have fun,
Chris ;-) :-) :-p
--
__ _
-o)/ / (_)__ __ ____ __ Chris Reeves
/\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005
_\_v __/_/_//_/\_,_/ /_/\_\
> On Monday 03 September 2001 12:33 pm, Chris Reeves wrote:
> > On Mon, Sep 03, 2001 at 12:12:14PM -0400, Bruce Marshall wrote:
> > >
> > > I believe it should be:
> > >
> > > insmod aha154x aha1542x=0x0330
> > >
> > > The first parm tells insmod what to load and the second parm is passed to
> > > the loaded module. You might want to add the irq also:
> > > aha1542x=0x0330,<irq>
> >
> > A couple of points here:
> > 1. It is usually best to use the 'modprobe' command, rather than 'insmod'.
> > 'modprobe' will handle all module dependencies automatically (and some
> > other stuff) while 'insmod' won't.
> > 2. The aha1542 module uses 0x330 as its base address by default.
> > 4. The systax is incorrect in the above example:
>
> I beg to differ:
>
> 1) Yes, modprobe is better but I wasn't sure what environment or problem he
> was dealing with. IAE, the information given would have helped him
Fair enough - I was adding more general information while I was at it. BTW, I
didn't mean any of that in a bad way. :-/ Accept my humble apologies ;-)
> 2) Yes.. (and your point?)
What can I say... I was on a roll ;-)
> 4) And your syntax is incorrect.
>
> >From the 'Using OpenLinux' book which lists the parms for all modules:
>
> Boot Parameters:
>
> Format:
>
> aha1542=<IO port>,<bus on>,<bus off>,<DMA speed>
>
> IO port 0x0130,0x0134,0x0230,0x0330,0x0334, (probed at 330 and 334)
> 0x234
>
> bus on has a value 2-15 with 11 as default (microsec)
>
> bus off has a value 1-64 with 4 as a default
>
> DMA speed 5,6,7,8,10 (MB/sec)
>
>
> Note the use of aha1542=<parms>
>
> The adaptec drivers use this format specifically. Same for the aha152x
> module.
>
> NOTE: The above are BOOT parameters. The book notes that "no MODULE
> parameters are provided for this driver".
That's right, they're boot parameters, as I said below.
> > aha1542=0x330 can be used in that form when it is passed as a kernel
> > parameter, for example at a LILO prompt or as part of an append= line in
> > the lilo.conf file. When using insmod or modprobe, the module should be
> > loaded as follows (using modprobe as an example):
> > modprobe aha1542 io=0x330
My bad - I misread the source. :(
If I hadn't thought that bit was incorrect, I wouldn't have bothered with the
rest of the message (since what you had was, well, correct)...
I'll read slower next time.
Is it me, or am I seriously overusing smileys here? As you can probably tell,
I'm in a happy, jolly, bouncy mood. It's great to be back! Not a great start
though. :'(
Have fun,
Chris ;-) :-) :-p
--
__ _
-o)/ / (_)__ __ ____ __ Chris Reeves
/\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005
_\_v __/_/_//_/\_,_/ /_/\_\
| < Previous | Next > |