[sane-devel] Problem in setting up Xsane

Stephen Liu satimis@icare.com.hk
Fri, 28 Feb 2003 10:19:18 +0800


Hi Henning


There is something strange.  This morrning ater starting the machine,

su
password

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: SONY     Model: CD-RW  CRX160E   Rev: 1.0e
   Type:   CD-ROM                           ANSI SCSI revision: 02

# /sbin/rmmod aha152x
rmmod: module aha152x is not loaded

# /sbin/insmod aha152x=0x140,10
Using /lib/modules/2.4.18-3/kernel/abi/cxenix/abi-cxenix.o/aha152x=0x140,10
insmod: 
/lib/modules/2.4.18-3/kernel/abi/cxenix/abi-cxenix.o/aha152x=0x140,10: 
Not a directory

B.Regards
Stephen


Henning Meier-Geinitz wrote:
> Hi,
> 
> On Fri, Feb 28, 2003 at 12:57:22AM +0800, Stephen Liu wrote:
> 
>>I tried several combinations but it said 'aha152x' already exists there
>>
>>[root@server /]# /sbin/insmod aha152x aha152x=0x140,10
>>Using /lib/modules/2.4.18-3/kernel/drivers/scsi/aha152x.o
>>insmod: a module named aha152x already exists
> 
> 
> Well, yes, it already exists in the kernel :-) Tha means you have
> loaded it successfully before. If you want to try again with some
> other parameters, remove the module before loading it again: rmmod
> aha152x. Have a look at the manpages for understanding what you are
> doing (e.g. man insmod).
> 
> If the modules loaded without errors, you may be done. Check
> /proc/scsi/scsi if your scanner is listed.

[root@server satimis]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: SONY     Model: CD-RW  CRX160E   Rev: 1.0e
   Type:   CD-ROM                           ANSI SCSI revision: 02


> 
> Bye,
>   Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
>