[sane-devel] Fail to detect the SCSI card

Stephen Liu satimis@yahoo.com
Mon, 22 Nov 2004 16:38:19 +0800 (CST)


Hi Klaus,

FedoraCore2
===========

Tks for your advice.

--- Klaus Dahlke <klaus.dahlke@gmx.de> wrote: 

> you need to configure the kernel or at least the
> module to get build. 

# cat /proc/version
Linux version 2.6.9-1.3_FC2
(bhcompile@porky.build.redhat.com) (gcc version 3.3.3
20040412 (Red Hat Linux 3.3.3-7)) #1 Mon Nov 15
14:46:43 EST 2004

# rpm -qa | grep kernel
kernel-2.6.5-1.358
kernel-2.6.8-1.521
kernel-utils-2.4-9.1.131
kernel-2.6.9-1.3_FC2

I suppose to rebuild "kernel-2.6.9-1.3_FC2".  If I'm
wrong please correct me.

> You need something like
> aha152x.ko in 
> '/lib/modules/2.6.8-gentoo-r4/kernel/drivers/scsi'
> directory.

$ ls -al
/lib/modules/2.6.9-1.3_FC2/kernel/drivers/scsi/ | grep
aha152x.ko
-rwxr--r--   1 root root  52628 Nov 15 15:52
aha152x.ko

It is already there.
 
> If it is an ISA card, make sure you switched on ISA
> support in the kernel.

Is it possible to check before starting recompiling
the kernel.

> 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.

I could not locate them.

# find / -name KERNEL
find: /proc/2714/task: No such file or directory
# find / -name aha152.x.txt
find: /proc/2714/task: No such file or directory
# find / -name Documentation
find: /proc/2714/task: No such file or directory

Please advise.  TIA

B.R.
Stephen