Re: Error using DC315U to drive ScanJet 4c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat 11 Feb 22:06 CET 2006, Guennadi Liakhovetski wrote:

> We know that, but because noone could reproduce such a situation, we
> couldn't test any fixes.

;-)

> ...and your 64-bit dual-core CPU makes it even more fun. On the other
> hand, it means we won't be able to test it on highmem... Unless you
> agree to swap it to a 32-bit machine for a test:-)

I actually have an old Pentium machine standing by that I could use for
testing (when the driver seems to work).

> Do you have, maybe, a test machine without important data on it for
> first tests, or at least, backup all your valuables. You've been
> warned:-)

;-) I depend on ReiserFS and good luck ... That's enough most of the time.

On Mon 13 Feb 00:47 CET 2006, Guennadi Liakhovetski wrote:

> Ok, if you feel adventurous, you might try the patch below.

OK, that patch compiles with the following warnings:

drivers/scsi/dc395x.c: In function ‘dump_register_info’:
drivers/scsi/dc395x.c:1226: warning: format ‘%i’ expects type ‘int’, but argument 5 has type ‘size_t’
drivers/scsi/dc395x.c: In function ‘data_in_phase0’:
drivers/scsi/dc395x.c:2322: warning: comparison of distinct pointer types lacks a cast
drivers/scsi/dc395x.c: In function ‘dc395x_init_one’:
drivers/scsi/dc395x.c:4357: warning: ‘ptr’ may be used uninitialized in this function

Then it gives the following syslog output when I load the module and try
to scan an image:

Feb 13 18:00:39 skalman kernel: dc395x: Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08
Feb 13 18:00:39 skalman kernel: ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 20 (level, low) -> IRQ 19
Feb 13 18:00:39 skalman kernel: dc395x: Used settings: AdapterID=07, Speed=0(20.0MHz), dev_mode=0x57
Feb 13 18:00:39 skalman kernel: dc395x:                AdaptMode=0x0f, Tags=4(16), DelayReset=1s
Feb 13 18:00:39 skalman kernel: dc395x: Connectors:  Termination: Auto Low High
Feb 13 18:00:39 skalman kernel: dc395x: Performing initial SCSI bus reset
Feb 13 18:00:39 skalman kernel: scsi3 : Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040 v2.05, 2004/03/08
Feb 13 18:00:41 skalman kernel:   Vendor: HP        Model: C2520A            Rev: 3503
Feb 13 18:00:41 skalman kernel:   Type:   Processor                          ANSI SCSI revision: 02
Feb 13 18:00:41 skalman kernel:  3:0:2:0: Attached scsi generic sg2 type 3
Feb 13 18:02:57 skalman kernel: dc395x: reselect: w/o disconnected cmds <02-0>
Feb 13 18:02:57 skalman kernel: dc395x: disconnect: Unexpected reselection <02-0>
Feb 13 18:04:57 skalman kernel: dc395x: eh_abort: (pid#751) target=<02-0> cmd=ffff81007eb64080
Feb 13 18:04:57 skalman kernel: dc395x: eh_abort: Command in progress<6>dc395x: eh_bus_reset: (pid#751) target=<02-0> cmd=ffff81007eb64080
Feb 13 18:04:57 skalman kernel: dc395x: doing_srb_done: pids G:751(02-0)

Cheers // Fredrik Roubert

-- 
Sörbyplan 5       |  +46 8 7609169 / +46 708 776974
SE-163 71 Spånga  |  http://www.df.lth.se/~roubert/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux