LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-10-2006, 02:40 PM   #1
mbecker56
LQ Newbie
 
Registered: Sep 2006
Location: Boston, MA
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Question AHA1542CF not seen by Slackware 10.2.



Hello -

Hardware: Pentium 1 @ 166 MHz, 512M on a Tyan 1562 motherboard.

Slackware Linux 10.2 is based on the 2.4.31 kernel.

Windows 98SE sees the SCSI interface as: io=0x130, irq=11, DMA=6 and it works well in that environment (it runs a SCSI ZIP drive). These resources are dedicated to the 1542CF. The BIOS has these resources set as "Legacy ISA".

Installed Slackware 10.2 using the precompiled scsi.i kernel which advertises module-style support for the AHA1542CF interface. The installation was done to a second EIDE 8 GB drive. Smooth installation.. just dropped in.

The AHA1542 is not seen at boot.

After some reading, a ..manual.. module install as root was attempted using modprobe:

bash-3.00# modprobe aha1542
/lib/modules/2.4.31/kernel/drivers/scsi/aha1542.o.gz: init_module: No such device
/lib/modules/2.4.31/kernel/drivers/scsi/aha1542.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/drivers/scsi/aha1542.o.gz: insmod /lib/modules/2.4.31/kernel/drivers/scsi/aha1542.o.gz failed

No success with "modprobe aha1542 0x130". "modprobe aha1542 io=0x130" produces a message that the parameter is not recognized.

I didn't see any particular revealing comments in syslog or dmesg.

This interface *did* work 100% no problems with Slackware 8.1 (Kernel 2.2?) . That it does not with 10.2 (Kernel 2.4.31) was a surprise.

On a whim, the modprobe line in /etc/rc.d/rc.modules was uncommented.. andthe same error message appears.

Your time *is* appreciated.

Mark
 
Old 09-11-2006, 07:37 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
I believe that you need to run make menuconfig, select the Adaptec 154x devices specifically, and then recompile the kernel. You may has well compile the support into the kernel rather than have it as a module.
 
Old 09-12-2006, 12:26 AM   #3
mbecker56
LQ Newbie
 
Registered: Sep 2006
Location: Boston, MA
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
Smile Re: AHA1542CF not seen by Slackware 10.2


Hello Stress_Junkie -

And I was just about to post a follow-up to my first note and saw yours.

Here's the solution I found:

remove /etc/modules.conf

I didn't believe it. But reading through the various man pages, info-pages, and Linux How To's, it seems that modules.conf must be properly populated before modprobe will Do The Right Thing.

It is also documented that if /etc/modules.conf isn't there then modprobe assumes a default behavior that ..just.. happens to work.

Next up: I'll recompile the kernel to get rid of the unnecessary drivers and such and see how well that goes.

Now.. why doesn't eject -s /dev/sda really eject a ZIP platter? The drive ..sounds.. like it's going to eject.. but doesn't seem to make it all the way.

Regards,

Mark
 
Old 09-12-2006, 07:32 AM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
I'll have to remember that about removing modules.conf. There's always something new to learn.
 
  


Reply

Tags
scsi, slackware


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 10:54 AM


All times are GMT -5. The time now is 11:49 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration