Subject: CONNER HD Pbs

From: [email-masked] (olivier lahaye)

the disk CONNER CP3500 540Mb 3'5 3236

'scotch' (hang) the scsi led.

debug info are:

Forcing target 6 asynchronous
[1a]\
>CSR:1a<         /* phase 2 */
ixfer start 6,2,50000
ixfer out {6} 00 00 00 00 00 00
ixfer out done
>CSR:1b<cmd      /* phase 3 */
>CSR:16 issue select 6
wait for select 11 8 e [1a]
>CSR:1a<cmd      /* phase 2 */
ixfer_start 6,2,50000
ixfer_out {6} 12 00 00 00 24 00
ixfer_out done
>CSR:19<cmd      /* phase 1 */
ixfer_start 36,1,50000

then nothing more, "the disk is scotched"

after a tousand printf, it seems that sys/arch/amiga/dev/scsi.c is looping near the line 1189.

then we patch this loop to force exit at the 100th round.

now, after this patch, scsi continues and then stop again on a macro named
'SBIC_SET' or something like that (it's the second macro used in the scsivar.h).

and impossible to continue.

any help is very usefull, because this is on this disk that my friend [email-masked] will
work on the X server for the grf0 driver ...

NB:
the distrib kernel worked after a binpatch -s _inhibit_sync -r [00000000001] vmunix ....
when booting the kernel is hanged during 20 seconds and then continues ??? (the scsi led is off during
this time)
the disk is configured for the id 6
the config is an A3000UX 12+1Mb Ram 1 ether-card A2061 Commodore.

In fact, synchrone/asynchrone doesn't change anything.

I forgot to precise that the version of vmunix is #644.

Thanks a lot.