LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-17-2006, 03:36 PM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
scsi


Hi

environment
sw: mandrake 10.1 kernel 2.6.8
hw: scsi adaptec aha 1542cf card
bios v 2.02 on the isa bus.

prb:
i need to know how to activate it to linux.

thanks in advance
Maurizio
 
Old 01-18-2006, 09:05 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Load the module?

The module is named "aha1542", just try "modprobe aha1542", it is probably already in the kernel.
 
Old 01-18-2006, 01:14 PM   #3
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
...

Sorry...i miss to inform that i have already tried,and the answer was...the hardware is not installed.
the card is an Isa card...
is there an utility to probe device on the isa bus like lspci do in the pci ?
thanks for the help
Maurizio
 
Old 01-18-2006, 05:19 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Better thread titles always help..

After some googling...
The module autoprobes at 0x330 and 0x334 only. If the card is not configured for these I/O addresses then you might see this error. You can look at the configuration settings via the BIOS by pressing ctrl A when the controller BIOS message displays during boot up.
http://www.adaptec.com/worldwide/sup...t%2FAHA-1542CF

If the address is different then above you can add a bootpromt parameter in your bootloader configuration file or change it. Are you using grub or lilo?
example:
aha1542=0x330,10,7
0x330 = base IO address
10 = IRQ
7 = SCSI id of controller

isapnptools is a utility used for configuring ISA PnP compatable cards.

Last edited by michaelk; 01-18-2006 at 05:28 PM.
 
Old 01-19-2006, 04:13 PM   #5
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
aha1542

when i run the modprobe aha1542 i get the following
Fatal error inserting aha1542 (....path to aha1542.ko) no such device
the CTRL+A shows the cards in configured fo 0330 i cahnged the IRQ from 11 to 10....the test passed fine with both IRQ 10 and 11 ,but when i try to load the card module with modprobe i get the above described error...
now i'm wondering if my scsi card is faulty....
test called with CTRL+A passed fine...
dmesg about isapnp shows only audio card...
how to proceed ?
thanks for the help
Maurizio
 
Old 01-19-2006, 05:02 PM   #6
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
futher testing...

Hi

the isa card uses irq 11 dma 5 and the CTRL+A shows the memory address used
so i put this resources available to ISA into pc bios
at this point after loading linux i tried again the modprobe aha1542 with the same results....
the card is aha-1540cf/aha-1542cf i can see it clearly into the card bios...
but if i issue the command modprobe aha152x it functions !!!
i do not know if the card function because up to now i have not scsi devices to attach....
(more...and more ...confused...)
Maurizio
 
Old 01-21-2006, 06:34 AM   #7
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
more on...

Hi

i performed further testing
modprobe aha152x loads modules in memory also for pc that does not have any scsi card installed...
so the original problem remains...
aha1542cf port used is 0330 irq 11 dma 5 scsi address 7 transfer rate 5mb/sec
so it seems to bios is already setted to the default linux aha1542 settings
so the proble is the modprobe command is unable to load the module in memory because the card is not recognized.
looking at the dmesg isapnp are related only to audio card...
i need some help about how to proceed...
i.e if isapnp is the corrct tool to recognize the card or if there are some other solution....
any help will be appreciated

thanks in advance
Maurizio
 
Old 01-21-2006, 06:56 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Try adding the boot paramter to the bootloader?
aha1542=0x330,10,7
 
Old 01-27-2006, 10:00 AM   #9
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
aha1540

hi

more onj testing...
i added the commands to lilo append string but nothing changed.
on the bios there is written aha1540cf/aha1542cf
but on a label on the card there is written aha1540
more on irq...
looking at the bios the only available irq are 5,10,11
aha1542 bios setting do not permit to use irq 5
looking at dmesg irq 11 is used by modem and irq 10 is used by uhci_hcd (usb)
does this irqs can be shared ?
thanks in advance

Maurizio
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 SUSE / openSUSE 5 02-22-2005 02:06 PM
How can I access my scsi hdd from dev/scsi/host1/bus0/target0/lun0 ?? marius7sv Linux - Hardware 0 09-06-2004 10:40 AM
Hotplug SCSI scanner or How to write to /proc/scsi/scsi from within a shell script. samac Linux - Hardware 1 08-30-2004 02:28 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration