tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: recent rasops commits vs. macppc



Hi,

On 2019/08/05 1:29, Michael wrote:
On Sun, 4 Aug 2019 11:29:58 +0900
Rin Okuyama <rokuyama.rk%gmail.com@localhost> wrote:
...
I probably found the cause of failure; new rasops allocates buffer and
stamp dynamically via kmem_alloc. This may not work in early stages
during boot.

That would do it - macppc sets up a rasops console *very* early during
kernel startup, before uvm is completely initialized. That's why there
is a RI_NO_AUTO flag to instruct rasops not to auto-generate line
drawing characters ( for fonts that don't have them ), which requires
allocating memory.

Thank you for your explanation on early console of macppc. Now, I
almost believe that the patch should resolve the problem. I will
commit it if it actually works for you.

On 2019/08/05 15:20, Michael wrote:> On Sun, 4 Aug 2019 10:00:49 -0700
Jason Thorpe <thorpej%me.com@localhost> wrote:

On Aug 4, 2019, at 9:29 AM, Michael <macallan%netbsd.org@localhost> wrote:
Yeah, I look to forward to playing with it :-).

I have a few of them, there are a few quirks you may run into. If you
have questions don't hesitate to ask!

Make sure you have a good, strong putty knife.

Or something equivalent, and several of them. I opened one of mine with
a bunch of hair pins, which wasn't fun.
Trust me, if your Mini doesn't come with 1GB of RAM, you *will* want to
upgrade it ( pretty much any PC2700 or 3200 DDR1 1GB DIMM will do, they
can be found for about $20 or less on ebay ).
For a small macppc box they can be surprisingly speedy - a 1.5GHz 7447
is nothing to sneeze at ( of course there are faster 32bit macs
available, but they're also much more expensive ) - but modern
compilers like gcc 7 or clang will eat up a lot of memory, like up to
1GB per compiler instance. Same with the internal disk - IIRC the
biggest disk Apple ever shipped in a G4 Mini was 80GB, and the lower
end models had 40GB ones. There are bigger and faster options available
for not much money.

Also, thank you for your advices. It helps me a lot. Although the
original owner says it has 1GB memory, I'd like to replace its
HDD with SSD by using, probably, an mSATA-IDE converter; after
crashing several cards, I don't trust CF or SD card so much ;-).

Thanks,
rin


Home | Main Index | Thread Index | Old Index