[sane-devel] Fail to detect the SCSI card
m. allan noah
anoah@pfeiffer.edu
Mon, 22 Nov 2004 09:17:29 -0500 (EST)
dude, you need to buy a book on linux. there is no module called sg0 or
sg1, etc. there is a module called just sg
i am running FC2, kernel 2.6.8-1.521 and there already is a module for
your scsi card:
find /lib/modules/2.6.8-1.521/ | grep aha
/lib/modules/2.6.8-1.521/kernel/drivers/scsi/aha1542.ko
allan
On Mon, 22 Nov 2004, Stephen Liu wrote:
> Hi Klaus,
>
> FedoraCore2
>
> Tks for your advice which I'll try later. But there
> is something strange happened in this box which I hope
> to solve first.
>
> # modprobe -a sg*
> WARNING: Module sg* not found.
> # modprobe /dev/sg1
> FATAL: Module /dev/sg1 not found.
> You have new mail in /var/spool/mail/root
> # modprobe /dev/sg1
> FATAL: Module /dev/sg1 not found.
> # modprobe /dev/sg0
> FATAL: Module /dev/sg0 not found.
> # modprobe /dev/sg4
> FATAL: Module /dev/sg4 not found.
> # /sbin/insmod /dev/sg4
> insmod: can't read '/dev/sg4': No such device or
> address
> # /sbin/insmod /dev/sg0
> insmod: can't read '/dev/sg0': No such device or
> address
> # /sbin/insmod /dev/sg1
> insmod: can't read '/dev/sg1': No such device or
> address
>
>
> # locate modules.conf
> /etc/vfs/modules/extra-modules.conf
> /etc/vfs/modules/ssl-modules.conf
> /etc/vfs/modules/default-modules.conf
> /etc/gnome-vfs-2.0/modules/default-modules.conf.with-menu-editing
> /etc/gnome-vfs-2.0/modules/ssl-modules.conf
> /etc/gnome-vfs-2.0/modules/mapping-modules.conf
> /etc/gnome-vfs-2.0/modules/default-modules.conf
> /var/cache/man/cat5/modules.conf.5.bz2
> /usr/share/man/man5/modules.conf.5.gz
>
> I could not find modules.conf Any advice? TIA
>
> B.R.
> Stephen
>
>
> --- Klaus Dahlke <klaus.dahlke@gmx.de> wrote:
>> On Mon, 22 Nov 2004 01:18:29 +0800 (CST)
>> Stephen Liu <satimis@yahoo.com> wrote:
>>
>>> Hi folks,
>>>
>>> I have been trying hours failing to make following
>>> scanner to work again. Previously It worked on
>> RedHat
>>> 8 on this box
>>>
>>> Alfa SnapScan 310 connected to a ISA SCSI card
>>> FedoraCore2
>>> =================
>>>
>>> This box has another removable hard drive running
>>> WinME. This scanner is still working on WinME
>>>
>>>
>>>
>>> # find / -name aha152x/
>>>
>>
> /lib/modules/2.6.5-1.358/build/include/config/pcmcia/aha152x
>>>
>>
> /lib/modules/2.6.5-1.358/build/include/config/scsi/aha152x
>>>
>>
> /lib/modules/2.6.8-1.521/build/include/config/pcmcia/aha152x
>>>
>>
> /lib/modules/2.6.8-1.521/build/include/config/scsi/aha152x
>>> 17)insmod aha152x aha152x=0x140,9
>>>
>>
>> Stephen,
>> you need to configure the kernel or at least the
>> module to get build. You need something like
>> aha152x.ko in
>> '/lib/modules/2.6.8-gentoo-r4/kernel/drivers/scsi'
>> directory.
>>
>> If it is an ISA card, make sure you switched on ISA
>> support in the kernel.
>>
>>>
>>> # /sbin/insmod aha152x aha152x=0x140,9,7,0
>>> insmod: can't read 'aha152x': No such file or
>>> directory
>>
>> As before: the kernel module hasn't been build or is
>> not include in the kernel. Ckeck your kernel config,
>> (re-)compile and it should work. Have alook at the
>> special documentation
>> /usr/src/KERNEL/Documentation/scsi/aha152x.txt.
>>
>> Cheers,
>> Klaus
>>
>> --
>> sane-devel mailing list:
>> sane-devel@lists.alioth.debian.org
>
>
--
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera