Re: [hatari-devel] ACSI: READ/WRITE (10) incorrectly evaluate block number |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] ACSI: READ/WRITE (10) incorrectly evaluate block number
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sat, 26 Oct 2013 19:49:24 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1382809765; l=1479; s=domk; d=seimet.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=AANKQobLq6C8snBt1n6EDdz3C94=; b=dabVML4BKvYbapqwdJZNX3e8kMdxxhmPdMHJgUo47K+igylhlUarpnUJcnAvys8i0Sx kTz54ztp5mrGov7cSj43Iou+l5TXnPj34FlmgjatDOxCQMS+PES4ERMGguz5fq7ZRAxKL ruuwqrOzOErEwv3JBXICqN/vnVZASFB3F2c=
Hi Thomas,
Thank you for looking at these issues.
> Hm, but root sector has address 0, right? So the shift should not
> matter anyway. Could you maybe HDC_VERBOSE and HDC_REALLY_VERBOSE in
> hdc.c and send me the output that corresponds to the two read commands?
Yes, sure, I will get back to you. I was also surprised that the root
sector (0, indeed) was affected. But we will find out why sooner or
later ;-).
> Ok, code now uses fseeko() and I tried to avoid truncation of the
> offset, so if this was part of the problem, it should hopefully be
> fixed now.
I will update my checked out sources before any upcoming tests.
> Yes, right, that was still on my todo list ... I fixed that now, too.
Thank you!
> > There are also other problems, see the "Atari ACSI (ICD") section in
> > the attached logfile, compared with the "Atari IDE" section. When
> > running the same test again there are even more errors, e. g. the
> > device name is garbled, and I have to restart (not just reset) Hatari
> > in order to get a meaningful result again. I guess memory is
> > overwritten somewhere.
>
> Sounds interesting ... is that test program available for download
> somewhere?
No, as it is changing constantly and was mainly written for internal use,
and it requires a hard disk driver with SCSI Driver support, i. e. CBHD
(does not work well with IDE) or HDDRIVER.
I will provide more information in a separate email.
Take care
Uwe