[sane-devel] Re: g_NCR5380.o is hang up

Sergey Vlasov vsu@altlinux.ru
Tue, 8 Apr 2003 16:47:19 +0400


On Mon, 07 Apr 2003 18:50:36 +0000
José López Ruiz <anastasia@m.adade.es> wrote:

> System:
> Debian Woody 3.0
> Kernel compiled: 2.4.14
> Module: g_NCR5380
> 
> Scanner: Mustek Scanmagic 9636S
> Chip: DTC3181LE(DOMEX 436P)
> 
> Command modprobe g_NCR5380 ncr_addr=0x280 dtc_3181e=1
> 
> Messages in boot time:
> 
> isapnp: Scannig for PnP cards
> isapnp: Card 'DTC436E'
> isapnp: 1 Plug & Play card detected total
> 
> Terminal:
> Command: modprobe g_NCR5380 ncr_addr=0x280 dtc_3181e=1
> 
> Messages in the terminal:
> Scsi1: at port 0x240 irq 5 options CAN_QUEUE=16 CMD_PER_LUN=2 release=1
>             generic options AUTOPROBE_IRQ AUTOSENSE USLEEP USLEEP_POLL=1 
> USLEEP_SLEEP=20 generic release=7
> Scsi1: Generic NCR5380/53C400 Driver
> 
> AFTER THE SYSTEM IS HANG UP!!!

g_NCR5380.c in 2.4.20 has direct support for DTC436 with ISAPNP. Look
at the starting comments - is "Added ISAPNP support for DTC436
adapters" present? If not, you will need to upgrade.

With ISAPNP support you don't need any module parameters.

This driver usually hangs the system when given incorrect port
address.