Dave Huang | 4 Jun 03:33 2006

mac68k and gcc 4

I tried building a -current mac68k kernel with the newly-imported gcc
4, and ran into a few errors, most of which I'm not too sure about
how to solve.

First is:
/usr/src.local/sys/arch/mac68k/mac68k/macrom.c: In function 'mrg_DTInstall':
/usr/src.local/sys/arch/mac68k/mac68k/macrom.c:180: error: invalid lvalue in assignment

        caddr_t ptr, prev;

        __asm volatile ("movl %%a0,%0" : "=g" (ptr));

        (caddr_t *)prev = &mrg_DTList;

I think changing the last line to:
	prev = (caddr_t)&mrg_DTList;
will do the same thing.

After changing that, I run into another problem in macrom.c:
/usr/src.local/sys/arch/mac68k/mac68k/macrom.c: In function 'mrg_aline_super':
/usr/src.local/sys/arch/mac68k/mac68k/macrom.c:728: error: unknown register name 'fp' in 'asm'

/* 	put a0 in a0 */
/* 	put a1 in a1 */
/* 	put d0 in d0 */
/* 	put d1 in d1 */
/*	put trapaddr in a2 */
/* save a6 */
/* 	call the damn routine */
/* restore a6 */
(Continue reading)

khym | 4 Jun 03:51 2006

Re: mac68k and gcc 4

BTW, I should mention that after making those changes in my previous
email, the resulting kernel boots and seems to work fine on my 660av :)

Riccardo Mottola | 4 Jun 20:14 2006
Picon

Re: powerbook duo 250 needed for loan to get supported?

Hey,

On Wednesday, May 31, 2006, at 03:42 PM, nick thompson wrote:

> william,
>  we seem like very similiar people. on another note, i am getting a sun
> sparc 5, sparc 1, and sparc 1+ for free this weekend. all religious bsd
> vs linux aside, what is the FASTEST free os for these old beasts?
> (actually i am excited about the sparc 5, it ain't that old of a beast..
> :) )

To be honest.. usually NetBSD is just the fastest thing, although on 
some boxes linux is pretty decent too. Usually linux just needs more 
ram. I talk from NetBSD 1.6 and OpenBSD 3.3 experience though, i'm not 
well informed about newer versions since I have difficulties installing 
them (or some of my boxes are sadly unooperative lately due to failures).

NetBSD 3.0 on my IIci doesn't feel fast as 1.6 but I can't say if it is 
the kernel or the userland.. I know I have almost 4 times the ram than 
at my 1.6 times so I expected it to be better...

On old sparc boxes NetBSD is very fast. But Linux will run on your sparc 
5 decently too, so it is really up to you. And to what hardware and os 
combinations are supported in your case.
Also bear in mind that generally I found porting and compiling stuff on 
linux is easier (due to people writing crappy stuff). So if you need to 
go beyond what the base OS offers you..

Have fun,
   Riccardo
(Continue reading)

thelarsons3 | 5 Jun 18:09 2006
Picon
Picon

gtk2 on mac68k

I've managed to build gtk2 on NetBSD/mac68k, thanks to hints in bug 29950.  I was not able to get the patch
there to work, even after a bit of modification to account for changes since then.  However, the general
intent was to compile pixops with less optimization, so I hacked
gtk+-2.8.15/gdk-pixbuf/pixops/Makefile to do that by changing all -O2 references to -O.  

I am still building my first packages against it (takes awhile at 40MHz!) but it seems to be plodding along
just fine.  Once I've confirmed that it works, I'll post the binaries on my site.  Look for a followup within a
couple days.

Thanks,
Tim
--

-- 
Tim & Alethea

Tim & Alethea Larson | 10 Jun 19:22 2006
Picon
Picon

Re: gtk2 on mac68k

thelarsons3 <at> cox.net wrote:
> I've managed to build gtk2 on NetBSD/mac68k, thanks to hints in bug 29950.  I was not able to get the patch
there to work, even after a bit of modification to account for changes since then.  However, the general
intent was to compile pixops with less optimization, so I hacked
gtk+-2.8.15/gdk-pixbuf/pixops/Makefile to do that by changing all -O2 references to -O.  
> 
> I am still building my first packages against it (takes awhile at 40MHz!) but it seems to be plodding along
just fine.  Once I've confirmed that it works, I'll post the binaries on my site.  Look for a followup within a
couple days.

The first two gtk2 apps I built (xscreensaver-demo and xfce4) both seem 
to launch correctly, but then die with an error that looks related to 
the X server.  I remember one saying something about "color black not 
defined" or such.  *shrug*  Anyway, they're available on my site 
<christtrek.dyndns.org:8000/NetBSD/packages> if you want to try them out 
for yourself.  Kind of puts me off from trying other gtk2 apps, if my X 
server is flaky to begin with.

Tim

--

-- 
Tim & Alethea
christtrek.org

William Duke | 12 Jun 02:02 2006
Picon

First successful NetBSD install using sysinst

I've just completed my first successful NetBSD install using the sysinst
utility on a Quadra 700.  I'm quite content with myself at the
moment. :-)   Thank you...  Thank you...  You're too kind.

Anyway, I was just checking the NetBSD site and discovered that someone
has taken the time to compile a whack of packages for the 3.0 release,
with HylaFAX being among them.   I'm currently using a PowerMac
9500/Debian-GNU/Linux box as a faxserver using HylaFAX.  I figure that
my little Quadra 700/NetBSD box would be a better choice for a server
that gets little use and remains powered on 24/7.  

However, my little Quadra 700 has only a paltry 400MB hard drive.  With
a Mac HFS partition gobbling up 64MB of that hard drive, and a swap
partition gobbling up another 64MB of drive space, that leaves less than
300MB for the NetBSD software, and very little space left over for
applications and data files.  Obviously, I'm going to need significantly
more disk space if I'm going to make any serious use of my little NetBSD
box.

I've been thinking about my options, and I've basically decided that I
really have two ways to go.  I could get a larger hard drive for my
Quadra, or had a second or third external drive, or I could explore NFS
fileshares with a little more depth.

I have a bunch of small SCSI drives laying around that I would like to
use, rather than throwing them in the trash, so I'm not inclined to
source some larger drives at additional expense.   I'd really like to
use the resources that I already have available.  Unfortunately, using
these smaller hard drives as external drives would also require
additional expense, as I'd have to purchase cables, cases, power
(Continue reading)

William Duke | 12 Jun 05:07 2006
Picon

NetBSD 3.0 Softfloat

I'm looking for a softfloat compile of NetBSD 3.0 for an LCIII.  I seem
to remember that Bruce used to compile softfloat distributions and make
them available on an ftp site.   Does anyone know if he still does this,
and if there's a NetBSD 3.0 softfloat available there?

Thanks.

Gheorghe Ardelean | 12 Jun 11:52 2006
Picon
Picon

Re: NetBSD 3.0 Softfloat


> I'm looking for a softfloat compile of NetBSD 3.0 for an LCIII.  I seem
> to remember that Bruce used to compile softfloat distributions and make
> them available on an ftp site.   Does anyone know if he still does this,
> and if there's a NetBSD 3.0 softfloat available there?

I think this is the place:

ftp://ftp.ziaspace.com/pub/NetBSD/m68k/

Regards,

Johny.

William Duke | 12 Jun 18:05 2006
Picon

Re: NetBSD 3.0 Softfloat

On Mon, 2006-12-06 at 11:52 +0200, Gheorghe Ardelean wrote:
> 
> > I'm looking for a softfloat compile of NetBSD 3.0 for an LCIII.  I seem
> > to remember that Bruce used to compile softfloat distributions and make
> > them available on an ftp site.   Does anyone know if he still does this,
> > and if there's a NetBSD 3.0 softfloat available there?
> 
> I think this is the place:
> 
> ftp://ftp.ziaspace.com/pub/NetBSD/m68k/
> 

Many thanks.   I'll head over there and grab it right now.

William Duke | 12 Jun 18:23 2006
Picon

NetBSD File Corruption

I spent the better part of last night and early morning installing
NetBSD 3.0 on a Quadra 700.   This effort took some doing with the
sysinst utility.

I used the instructions from the install doc at ftp.netbsd.org to work
around the drive partitioning and formating bugs in the sysinst utility
-- {control z} to put sysinst in the background, {newfs /dev/rsd0a} and
{mount /dev/sd0a /targetroot}, etcetera.  And that worked wonderfully.

Although, when the install completed and I rebooted the Quadra, I had
some difficulty mounting sd0a for read/write.  The typical {/sbin/mount
-u -w /} wouldn't work, and I had to actually specify {/dev/sd0a} in the
mount command.   The real bugger though, was that I had to manually edit
the fstab file.   For some reason, the line that mounts sd0a in the
fstab file was commented out.   Does anybody know why that is?   And is
that typical?  I've never encountered this before.

-------------------------------------------------------------------------

Now, to get to the subject of this message:  file corruption.

I read in the install notes at ftp.netbsd.org that there seems to be a
bug in the Mac 68k distribution of 3.0 that could potentially cause
corruption of the file system.  It is noted that this bug will affect
few users.  Although, there is not much detail provided about the bug
and when and how it manifests itself.   So how would I know if I'm going
to be one of the lucky few that experiences this file corruption?

Also, I'm wondering if this bug is limited to local SCSI devices, or if
it has also been known to corrupt NFS filesystems?  I would think it a
(Continue reading)


Gmane