Subject: Re: Got 630 Video!
To: NetBSD/mac68k Mailing List <port-mac68k@NetBSD.ORG>
From: SamMaEl <rimsky@teleport.com>
List: port-mac68k
Date: 01/28/1998 06:42:51
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-851401618-885998571=:12298
Content-Type: TEXT/PLAIN; charset=US-ASCII
I've had some SERIOUS problems in the past few days with my NetBSD
system, and its gotten to the point where I think I am just going to
backup some critical files and config stuff and just reinstall everything.
My LATEST rash of misfortune came when I tried to compile a kernel for my
Q630 to test a patch Michael Zucca made for me of grf_iv.c (hopefully a
fix for the Valkyrie internal video!! *cheer*) I did a make depend && make
all in /sys/arch/mac68k/compile/BRAHMS before I went to work (after a make
clean of course, since it was a new sys tarball I was compiling from, plus
the grf_iv.c patch) and it died a couple times over ;-) I don't remember
the errors specifically, but they were not errors you would get normally I
am sure. And, alot of missing include files, etc. I tried reinstalling the
comp.tgz set and still got the errors. I've also tried reinstalling the
sys tarball and STILL got the errors...
So, could someone out there please compile me a GENERIC kernel
from -current sources, including this patch? (I've included it. Patch
seemed to like it ok against the -current as of this weekend grf_iv.c. Or,
you could always patch it by hand... it's only a few lines of code.)
Anyways, this patch hopefully will get the 630 (do the LC &
Performa 630's also use the Valkyrie internal video?) machines' internal
video's interrupts clearned, allowing Allen Brigg's patches for the Comm
Slot ethernet to work. (I think he said they are included in the -current
sources... maybe 1.3) If you could also enable the options for enabling
IPNAT (I dont remember if these were in GENERIC or not....), I would
appreciate that too.
Lastly, I found a guy who is going to sell me his Q900 for pretty
cheap... what is the current state on this machine? (I'm having trouble
with Netscape, and my lynx on my NetBSD is also suffering from my
file-system woes, or I would look it up on the machine-status page myself
;-))
Thanks!
Ryan
-----
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!
---559023410-851401618-885998571=:12298
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="grf_iv.c.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.3.96.980128064251.12298A@user2.teleport.com>
Content-Description: src patch
KioqIGdyZl9pdi5jLm9sZAlTYXQgSmFuIDI0IDExOjU4OjMyIDE5OTgNCi0t
LSBncmZfaXYuYwlTYXQgSmFuIDI0IDEyOjE3OjE2IDE5OTgNCioqKioqKioq
KioqKioqKg0KKioqIDcwLDc1ICoqKioNCi0tLSA3MCw3NiAtLS0tDQogIA0K
ICAjZGVmaW5lIFFVQURSQV9EQUZCX0JBU0UJMHhGOTgwMDAwMA0KICAjZGVm
aW5lIENJVklDX0NPTlRST0xfQkFTRQkweDUwMDM2MDAwDQorICNkZWZpbmUg
VkFMS1lSSUVfQ09OVFJPTF9CQVNFCTB4NTBmMkEwMDANCiAgDQogIHN0YXRp
YyBpbnQNCiAgZ3JmaXZfbWF0Y2gocGFyZW50LCBjZiwgYXV4KQ0KKioqKioq
KioqKioqKioqDQoqKiogODcsMTI1ICoqKioNCiAgCXN3aXRjaCAoY3VycmVu
dF9tYWNfbW9kZWwtPmNsYXNzKSB7DQogIAljYXNlIE1BQ0hfQ0xBU1NROg0K
ICAJCS8qDQohIAkJICogQXNzdW1lIERBRkIgZm9yIGFsbCBvZiB0aGVzZSwg
dW5sZXNzIHdlIGNhbid0DQohIAkJICogYWNjZXNzIHRoZSBtZW1vcnkuDQog
IAkJICovDQohIAkJYmFzZSA9IFFVQURSQV9EQUZCX0JBU0U7DQogIA0KISAJ
CWlmIChidXNfc3BhY2VfbWFwKG9hLT5vYV90YWcsIGJhc2UsIDB4MTAwMCwg
MCwgJmJzaCkpIHsNCiEgCQkJcGFuaWMoImZhaWxlZCB0byBtYXAgc3BhY2Ug
Zm9yIERBRkIgcmVncy5cbiIpOw0KISAJCX0NCiAgDQotIAkJaWYgKG1hYzY4
a19idXNfc3BhY2VfcHJvYmUob2EtPm9hX3RhZywgYnNoLCAweDFDLCA0KSA9
PSAwKSB7DQogIAkJCWJ1c19zcGFjZV91bm1hcChvYS0+b2FfdGFnLCBic2gs
I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