Article View: muc.lists.netbsd.port.alpha
Article #7Re: Possible IDE corruption bug?
From: Jason Thorpe
Date: Tue, 27 Oct 2026 18:42
Date: Tue, 27 Oct 2026 18:42
96 lines
7744 bytes
7744 bytes
> On Oct 27, 2026, at 2:24 PM, Jeffrey S. Worley <technoid6502@gmail.com> wrote:
>
> I do know that the driver for onboard ata on webbrick and slate works
> more and more reliably as you regress the OS release versions. At
> version 8 is it almost useable. With 10 it is nearly unuseable and
> with 11 it is completely unuseable.
>
> The driver hasn't changed, but structural changes in the operating
> system alter its timing, exacerbating race conditions which existed
> prior but with more benign symptoms.
But that has absolutely *nothing* to do with “fencing” or “barriers” as you asserted in your previous message. That’s because the Alpha implementation of the bus_space(9) interface inserts the barriers on every PIO access, and has done for decades (plural).
<snip>
static inline uint8_t
__C(CHIP,_io_read_1)(void *v, bus_space_handle_t ioh, bus_size_t off)
{
register bus_space_handle_t tmpioh;
register uint32_t *port, val;
register uint8_t rval;
register int offset;
alpha_mb(); <===== OH HEY!
tmpioh = ioh + off; offset = tmpioh & 3;
port = (uint32_t *)((tmpioh << CHIP_ADDR_SHIFT) |
(0 << CHIP_SIZE_SHIFT));
val = *port; rval = ((val) >> (8 * offset)) & 0xff;
return rval;
}
.
.
.
static inline void
__C(CHIP,_io_write_1)(void *v, bus_space_handle_t ioh,
bus_size_t off, uint8_t val)
{
register bus_space_handle_t tmpioh;
register uint32_t *port, nval;
register int offset;
tmpioh = ioh + off;
offset = tmpioh & 3;
nval = val << (8 * offset);
port = (uint32_t *)((tmpioh << CHIP_ADDR_SHIFT) |
(0 << CHIP_SIZE_SHIFT));
*port = nval;
alpha_mb(); <===== OH HEY!
}
</snip>
> The worlds fastest single-chip processor has been running PIO mode 4
> with errors as below, for decades.
>
> Over the course of time NetBSD has slowly foreclosed the onboard ATA
> controllers, driving users to SCSI or nothing.
That’s a strange thing to say. I’m using the on-board ATA on my DS10L. It works just fine.
https://dmesgd.nycbug.org/dmesgd?do=view&id=8858
> Other machines, TSO machines like Sparc and Intel work fine with this
> chip.
>
> The fellow asked for help and I have been down his road before. I can
> save him four years of forensic detective work.
>
> The Driver is broken and has been since day one.
Which specific controller driver are you referring to? Different Alpha models had different controllers each of which had different sets of errata that applied to them. My DS10L has an Acer Labs controller revision that has a specific problem with certain DMA modes, for example.
> This is not normal, and has existed through decades of reports from us
> about it, and the above is a modern representation of the results of
> that relationship.
Can you point to specific bug reports in the NetBSD bug database?
-- thorpej
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<F5C0F76B-7274-4AFF-9E9C-A39A0C66FFF5@me.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<2b404144ba2ed4358baa0316abca30a0d03e1bda.camel@gmail.com> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Jason Thorpe <thorpej@me.com> Newsgroups: muc.lists.netbsd.port.alpha Subject: Re: Possible IDE corruption bug? Date: Tue, 27 Oct 2026 14:42:04 -0400 Organization: Newsgate at muc.de e.V. Sender: port-alpha-owner@NetBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <F5C0F76B-7274-4AFF-9E9C-A39A0C66FFF5@me.com> References: <2b404144ba2ed4358baa0316abca30a0d03e1bda.camel@gmail.com> <> MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.100.1.1.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="4590"; mail-complaints-to="news-admin@muc.de" Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (2048-bit key) header.d=me.com X-ICL-RepId: 01a17eab-92d8-7179-9e8e-7e8f7a1c8aae X-ICL-Out-Info: HUtFAUMEWwJACUgBTUQeDx5WFlZNRAJCTQ9BHVwFXxxCDUwdXAJZEhVdRUcFWBlCFVM4XggZCF0dGR5XUFoOHBNWFRMfVFYBUFEdXwIKBEcEWxdGA1NFQQQXEVABWB5WXloXXk1HH0BNYkkBWhlbHEAXSm5NUw8PHVxWUAJaS18ZXUUPKwIoAjYOTnFAAFkFRBRMcitxRgs1ADseLARSc0B6TgUrcS0HMFQdHQ5YBgxQTQFDCAoCURxWDVc= Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1793126536; x=1824662536; bh=PyYC9zfGef/WZZyzbcJD722vdWvdj4+zflOpPTlEGcQ=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To:x-icloud-hme; b=fgSDlQKFpG6OEccoQlhvb+u7nsc9Brl/jXMWYmQ9LIX9/4UPu+oAV7mQOpjEEBpDL7gCwrMTFlNgj8Wh7JH1wu87lJ+n6SydTPaANIxpR1iIPOHZaVIXf2YzwqwKOqmrX34gSnjNwa0tXVPn9dbCMYvVkFqSw4aXUaG9CF8+IvKRTfxy9Uq8XtqAYHQ5Z60JrrnOEPtxCmwKiBlRQy12oU14c+vqLr+waOnYGzVdZm9mMYPIh1PLC+dmsNWRDifsPxqxMa0jFZ58OoaDsZTAMbUzWG+0LccvOW1XlNSVlY/BkqWNP9VouveDVu2+ZCtXG4yQf09mu2elF+IW5Ppi6A== In-Reply-To: <2b404144ba2ed4358baa0316abca30a0d03e1bda.camel@gmail.com> X-Authority-Info-Out: v=2.4 cv=feagCkQF c=1 sm=1 tr=0 ts=6ae0f088 cx=c_apl:c_pps:t_out a=oyWFxbOnq+dmhQrAPgaJYA==:117 a=oyWFxbOnq+dmhQrAPgaJYA==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