On Monday 03 September 2001 12:33 pm, Chris Reeves wrote:
On Mon, Sep 03, 2001 at 12:12:14PM -0400, Bruce Marshall wrote:
On Monday 03 September 2001 11:50 am, Chris Herrnberger wrote:
On September 2, 2001 09:27 am, Martin Webster wrote:
Did you type insmod aha1542=0x330?
Thanks for responding this is driving me nuts. Are you sure the syntax is correct. I understand what you are doing but Im not sure that this is the correct manner to enter the parameter:
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. 3. The aha1542 module does not take an IRQ as a parameter. 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 2) Yes.. (and your point?) 3) You're right on this one. (I have only used 152x's). 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".
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
Sorry, I missed the start of this thread and so can't be of much more help, Chris (a different one...)
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 09/03/01 13:16 + +----------------------------------------------------------------------------+ "You might be a high-tech Red-neck if: you have ever purchased an electronic appliance "as-is"