🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.port.alpha
Article #5

Re: Possible IDE corruption bug?

#5
From: John Goerzen
Date: Tue, 27 Oct 2026 12:20
56 lines
4645 bytes
On Tue, Oct 27 2026, Martin Husemann wrote:

> On Tue, Oct 27, 2026 at 12:57:43AM -0400, Jeffrey S. Worley wrote:
>> The onboard ata driver is broken on NetBSD 11.  It is moribund on 10.1
>> and below.  It is unfenced, Alpha requires memory barriers for ordered
>> IO, the coder did not get that memo.
>> 
>> I boot my Alpha from the onboard ATA controller just to get kernel into
>> memory, then pivot to an SI3124 SATA controller.  It runs a
>> 100meg@sec!, and is bulletproof.
>
> Someone (tm) please file a PR with the dmesg section of the controller and
> disks in question.
>
> For the split boot case: you can modify your kernel config to force root
> on some other device by default, that makes testing of the broken controller
> easier than removing it completely.

Currently it looks like the HDD is working, and the CD isn't.  I still
have some SYM53C875 cards floating around and may even have a SCSI CD
drive.  But really, I don't need the CD for anything once installed.

Some sleuthing suggests that perhaps this is a CMD646 issue, such as
https://en.wikipedia.org/wiki/CMD640 .  Some sources are suggesting
these bugs were more likely on ATAPI.  I don't recall running into this
on Linux, though I may be blocking something out of my memory from 10
years ago, or it's possible Linux had a workaround or I never used an
IDE CD drive on this system.

In any case, some further investigation suggested that "flags cmdide0
0x00f0" would disable DMA for the IDE channel the CD drive was on, but I
struggled and failed to make it take effect (no combination of SRM boot
arguments could get me into UserConf, /boot.cfg appears to be ignored,
and I wasn't going to compile my own kernel just to test a theory).

Incidentally, it would be great to have
https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.0/alpha/INSTALL.html cover a
bit more ground on post-install boot.  I had utterly failed to remember
how to tell SRM what the default boot device should be, and dug that up
elsewhere.  -flags c and -flags "-c" both get a complaint from NetBSD as
being unrecognized and drop me into single-user mode rather than
userconf.

I could make this system entirely SCSI.  I still have two UW SCSI
drives, but both are exceptionally noisy, and only the noisiest (a
Cheetah) has no bad sectors.  I was annoyed at that noise for years, so
maybe I'll just buy a BlueSCSI or something if needed.

I'm not running it to win any performance records, so that's probably
sufficient.  The Cheetah maxxed out at 29MB/s anyhow!

John

--
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: <87o6cfnxlu.fsf@complete.org>
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
References: <> <auBycZeiF1mRT4dd@big-apple.aprisoft.de>

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: John Goerzen <jgoerzen@complete.org>
Newsgroups: muc.lists.netbsd.port.alpha
Subject: Re: Possible IDE corruption bug?
Date: Tue, 27 Oct 2026 07:20:45 -0500
Organization: Newsgate at muc.de e.V.
Sender: port-alpha-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <87o6cfnxlu.fsf@complete.org>
References: <> <auBycZeiF1mRT4dd@big-apple.aprisoft.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="28230"; mail-complaints-to="news-admin@muc.de"
User-Agent: mu4e 1.12.9; emacs 30.1
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=complete.org
X-Envelope-To: port-alpha@netbsd.org
DKIM-Signature: a=rsa-sha256; bh=PvbDJm/0rMWdLVzKbBrOewfIPaD4JuYgJsVUftrWejw=;
 c=simple/simple; d=complete.org;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1793103652; v=1; x=1793708452;
 b=Ils80i5G5fuLJjpwfdt+UpubyStsh9sE4y+MQQOWcON1/41K7IJQBr9nmFUZQo3ABGT3Bqpy
 FblftJRXVBNui42+Blmiy2lnU5H4O/L7o/IoXRoLAJjgJTr0qYDMaqP/V6wCfEGsWdxQfqTUCaq
 xysSnn7prljEeEd5twZMD20II6QmwtAroAksL37j7F32dv7VLrplRqKU+oIlpjzZoUJxEm215ot
 Z1A3eLHvIGkd6p+ynaqhj/tsxCJ6Paigg+0bVC55U8vMDzQOwx0X18gGQ2qYa09xEVVZ7+86tkB
 nv0J4yi3tTQGY4ZSEU6ON7i+9o0xzhdI06hncMl+o9igw==
X-Envelope-To: port-alpha@netbsd.org
X-Mizu-Trace-ID: ed728207e9b24d11
X-Migadu-Flow: FLOW_OUT
In-Reply-To: <auBycZeiF1mRT4dd@big-apple.aprisoft.de> (Martin Husemann's
	message of "Tue, 27 Oct 2026 10:44:17 +0100")
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes