* scsi-experts needed: target aborted
@ 2000-06-25 21:35 Wolfgang Haeuptli
2000-06-26 9:30 ` Michel Dänzer
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Haeuptli @ 2000-06-25 21:35 UTC (permalink / raw)
To: linuxppc-dev
Hello dev-list
I was never able to access my scanner (UMAX astra 1200S, scsi).
mesh reports: target 6 aborted, interrupt in idle phase ?
Some time ago, somebody posted a patch (see end of message) to enable
scsi-debugging, which miraculously makes the scanner get recognized by the
kernel and work (partly) with SANE...
I had to disabled the patch again, because my log file (and the console) got
filled up with tons of debug infos.
Now my question to scsi-cracks:
Why does the device only gets registered with debugging enabled (no other
changes to mesh), and , even more important for me: What changes to mesh.c
would let me use the device without overloading my system with debugging infos?
Any hints greatly appreciated
Wolfgang
(System: kernel 2.2.15pre19 on a Performa 6400)
this is the patch that enables debugging and lets the kernel register the
device (which should NOT be related anyhow ???):
- --- linux/drivers/scsi/mesh.c.bak Mon Apr 3 01:15:48 2000
+++ linux/drivers/scsi/mesh.c Mon Apr 3 01:15:56 2000
@@ -61,7 +61,7 @@
int mesh_sync_targets = 0xff; /* targets to set synchronous (bitmap) */
int mesh_resel_targets = 0xff; /* targets that we let disconnect (bitmap) */
- -int mesh_debug_targets = 0; /* print debug for these targets */
+int mesh_debug_targets = 64; /* print debug for these targets */
unsigned char use_active_neg = 0; /* bit mask for SEQ_ACTIVE_NEG if used */
#define ALLOW_SYNC(tgt) ((mesh_sync_targets >> (tgt)) & 1)
@@ -1584,7 +1584,7 @@
volatile struct mesh_regs *mr = ms->mesh;
int intr;
- -#if 0
+#if 1
if (ALLOW_DEBUG(ms->conn_tgt))
printk(KERN_DEBUG "mesh_intr, bs0=%x int=%x exc=%x err=%x "
"phase=%d msgphase=%d\n", mr->bus_status0,
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: scsi-experts needed: target aborted
2000-06-25 21:35 scsi-experts needed: target aborted Wolfgang Haeuptli
@ 2000-06-26 9:30 ` Michel Dänzer
0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2000-06-26 9:30 UTC (permalink / raw)
To: Wolfgang Haeuptli; +Cc: linuxppc-dev
Wolfgang Haeuptli wrote:
> I was never able to access my scanner (UMAX astra 1200S, scsi).
>
> mesh reports: target 6 aborted, interrupt in idle phase ?
>
> Some time ago, somebody posted a patch (see end of message) to enable
> scsi-debugging, which miraculously makes the scanner get recognized by the
> kernel and work (partly) with SANE...
> I had to disabled the patch again, because my log file (and the console) got
> filled up with tons of debug infos.
>
> Now my question to scsi-cracks:
> Why does the device only gets registered with debugging enabled (no other
> changes to mesh)
I'm not a SCSI crack, but anyway :)
Debugging slows down very much, so - sounds to me like the SCSI driver needs
idle loops and/or memory barriers here and there...
Michel
--
No gates, no windows ... It's open!
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-06-26 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-25 21:35 scsi-experts needed: target aborted Wolfgang Haeuptli
2000-06-26 9:30 ` Michel Dänzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).