LinuxQuestions.org
Review your favorite Linux distribution.
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 05-16-2004, 07:33 PM   #1
mitchmiller
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
Need help getting module to load


I have a adaptec ava1502 scsi card that I use for my scanner. I had it working when I had my win98 and mandrake 9.2 dual boot going. Then I got rid of 98 and 9.2, went ot 10, couldn't get a few things working so i've gone back to 9.2. Now I can't get the darn card to work.

here is info:

[root@localhost mitch]# modprobe aha152x
/lib/modules/2.4.22-10mdk/kernel/drivers/scsi/aha152x.o.gz: init_module: No such device
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
modprobe: insmod /lib/modules/2.4.22-10mdk/kernel/drivers/scsi/aha152x.o.gz failed
modprobe: insmod aha152x failed

/var/log/dmesg (relevant portion):
SCSI subsystem driver Revision: 1.00
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MITSUMI Model: CR-4804TE Rev: 3.0D
Type: CD-ROM ANSI SCSI revision: 02
aha152x: invalid module params io=0x8c, irq=10,scsiid=7,reconnect=1,parity=1,sync=1,delay=1000,exttrans=0
hdc: attached ide-cdrom driver.
hdc: ATAPI 40X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

/etc/modules
scsi_hostadapter
aha152x

/etc/modules.conf
alias eth0 8139too
probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
options aha152x io=140 irq=10

The jumpers on the card are set to io=140 and irq=10

/proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vesafb
03e8-03ef : serial(auto)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
4000-403f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
5000-501f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
d000-dfff : PCI Bus #01
d000-d0ff : ATI Technologies Inc Rage 128 RF/SG AGP
e000-e01f : Intel Corp. 82371AB/EB/MB PIIX4 USB
e000-e01f : usb-uhci
e400-e4ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
e400-e4ff : 8139too
f000-f00f : Intel Corp. 82371AB/EB/MB PIIX4 IDE
f000-f007 : ide0
f008-f00f : ide1

/proc/interrupts
CPU0
0: 80864 XT-PIC timer
1: 1757 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 3029 XT-PIC usb-uhci, eth0
12: 22026 XT-PIC PS/2 Mouse
14: 12991 XT-PIC ide0
15: 100 XT-PIC ide1
NMI: 0
LOC: 80828
ERR: 0
MIS: 0

One funny thing to note, if I change /etc/modules.conf to read "alias aha152x io=140 irq=10" then modprobe returns that the module is not found (or something like that).

So, what am I doing wrong?

Mitch
 
Old 05-16-2004, 07:50 PM   #2
mitchmiller
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
updated info

Ok, so i changed /etc/modules.conf to read:

alias eth0 8139too
probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
options aha152x io=0x140 irq=10

now /var/log/dmesg reads:

SCSI subsystem driver Revision: 1.00
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MITSUMI Model: CR-4804TE Rev: 3.0D
Type: CD-ROM ANSI SCSI revision: 02
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x: resetting bus...
aha152x1: vital data: rev=1, io=0x140 (0x140/0x140), irq=10, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=1000, extended translation=disabled
aha152x1: trying software interrupt, ok.
scsi1 : Adaptec 152x SCSI driver; $Revision: 2.5 $
hdc: attached ide-cdrom driver.
hdc: ATAPI 40X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

so it looks like the module is loading... but when I run modprobe aha152x, nothing happens when I go to Mandrake control center and tell it to search for scanners it finds nothing.

So I'm closer but still not there yet.

Mitch
 
  


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
Where to load a module ?? mazzo Linux - Newbie 5 02-07-2005 07:15 AM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 05:45 PM
module cant load Ryan450 Linux - Hardware 3 08-12-2004 01:33 PM
how to load a module? Mizugori Linux - Software 3 01-19-2004 06:42 PM
why won't this module load? shanenin Linux - Software 1 10-16-2003 09:23 AM


All times are GMT -5. The time now is 11:08 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration