Miro Kropacek | 25 May 2010 13:10
Picon

Aranym

Hello,

as I've read somewhere (this list or m68k) you've got a little trouble
to test m68k/atari ports due to failing hardware, did you try Aranym?
It's full-featured 68040 Atari-based virtual machine, with MMU and
everything (boots Linux/m68k with no problem), it even offers direct
bootstrapping without TOS image present! I tried it yesterday, but
kernel hangs on keyboard handler or so (I can take a picture if you
want).

In your opinion, it's much work to do? I also want to try Falcon +
CT60 with NetBSD, I'm really curious if it really works ;) I remember
some years ago I tried NetBSD kernel on plain Falcon but with no
success (IDE issues). Julian promised to make some fixes but probably
never got to it.

--

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org

Izumi Tsutsui | 25 May 2010 16:02
Picon
Gravatar

Re: Aranym

> as I've read somewhere (this list or m68k) you've got a little trouble
> to test m68k/atari ports due to failing hardware, did you try Aranym?
> It's full-featured 68040 Atari-based virtual machine, with MMU and
> everything (boots Linux/m68k with no problem), it even offers direct
> bootstrapping without TOS image present! I tried it yesterday, but
> kernel hangs on keyboard handler or so (I can take a picture if you
> want).

Oh, NetBSD/atari kernel starts on Aranym? Great to hear.
It would be better to post an instruction how to boot NetBSD/atari
kernel on Aranym so that I can debug it myself :-)

BTW, which NetBSD version did you try?
4.0 might have a problem around delay() function and will hang
after keyboard attach.

> In your opinion, it's much work to do? I also want to try Falcon +
> CT60 with NetBSD, I'm really curious if it really works ;)

Yes, 5.0 and later (including 5.1_RC1) should just work on Falcon
even with CT60/63. It was fixed and confirmed by Tuomo Makinen.

> I remember
> some years ago I tried NetBSD kernel on plain Falcon but with no
> success (IDE issues). Julian promised to make some fixes but probably
> never got to it.

We've had significant progress in last two years. See
http://www.NetBSD.org/ports/atari/
fo details.
(Continue reading)

Miro Kropacek | 25 May 2010 16:22
Picon

Re: Aranym

> Oh, NetBSD/atari kernel starts on Aranym? Great to hear.
> It would be better to post an instruction how to boot NetBSD/atari
> kernel on Aranym so that I can debug it myself :-)
Well, maybe term 'booting' isn't appropriate, it loads, that's it. So
it's quite trivial, download / compile Aranym (aranym.org) with
--enable-fullmmu and then you just need some backend for running .ttp
for loading the netbsd kernel, you can use AFROS (boots right away
into desktop with mapped host filesystem), available from aranym.org,
or easymint (easymint.atari.org) with unix tools, gcc etc... I think
you will prefer the former option as FreeMiNT's kernel is no interest
to you ;) If you need some assistance, feel free to ask.

>
> BTW, which NetBSD version did you try?
> 4.0 might have a problem around delay() function and will hang
> after keyboard attach.
I used (especially for this reason) latest snapshot (daily build from
23.5., IIRC)

> Yes, 5.0 and later (including 5.1_RC1) should just work on Falcon
> even with CT60/63. It was fixed and confirmed by Tuomo Makinen.
I can't want to be at home! :)

> We've had significant progress in last two years. See
> http://www.NetBSD.org/ports/atari/
> fo details.
Oh yes, this was the motivation factor for me, you know, it's not much
fun to try it on plain TT030 without any network card etc.. In case of
Falcon060 with Ethernec (I'm seriously thinking about adding EtherNAT
support in case I'd like netbsd ;) this is something different.
(Continue reading)

Miro Kropacek | 26 May 2010 23:45
Picon

Re: Aranym

Hello,

let's share some installation experiences... I can confirm current
snapshot really works on CT60, it was really great to see netbsd
booting. However, I was unable to install it because of that strange
installer. I've followed installation steps very carefully but I
always ended in one of following:

1. Partitions, sizes, types etc everything done, question about disk
label (for wd0, default value was manufacturer's name, i.e. Samsung
something), enter, then I see command "disklabel ..." and under that
error "disklabel: ioctl DIOCWDINFO: Device not configured"

2. Once I was very lucky, I got as far as making filesystem, I've seen
command for creation, then enter and I was back in startup screen

3. Error, very early, cannot open /etc/disktab or so

I've used 'SWP' method although I have a lot of RAM, it's much easier
to install it from gemdos hdd than floppy. My HDD is 150 GB, C: is
gemdos (but later I gave up and tried everything, i.e. no AHDI
partition support), D: is SWP, E: was later assigned as NBD ... Is it
any important I overwrite whole disk during installation, i.e. also
that 'SWP', i.e. root for installer ?

Is there anyone performing similar installation? Btw generally that
installer isn't very stable, I've seen segmentation faults, floating
point exceptions (by 'reboot' command!) etc... when I tried more
advance usage.

(Continue reading)

David Ross | 27 May 2010 00:43
Picon
Favicon

RE: Aranym


"Is there anyone performing similar installation?"

Haven't tried Aranym, but I maintain detailed notes on my install procedure on a TT030 here:
http://netbsd-ataritt.wikia.com/wiki/Basic_walkthrough

This doesn't specifically address the issues you're seeing, but hopefully it can be of some use in general.

David Ross
dross <at> pobox.com

 
> Date: Wed, 26 May 2010 23:45:58 +0200
> Subject: Re: Aranym
> From: miro.kropacek <at> gmail.com
> To: tsutsui <at> ceres.dti.ne.jp
> CC: port-atari <at> netbsd.org
> 
> Hello,
> 
> let's share some installation experiences... I can confirm current
> snapshot really works on CT60, it was really great to see netbsd
> booting. However, I was unable to install it because of that strange
> installer. I've followed installation steps very carefully but I
> always ended in one of following:
> 
> 1. Partitions, sizes, types etc everything done, question about disk
> label (for wd0, default value was manufacturer's name, i.e. Samsung
> something), enter, then I see command "disklabel ..." and under that
> error "disklabel: ioctl DIOCWDINFO: Device not configured"
(Continue reading)

Frank Wille | 27 May 2010 10:18
Picon

Re: Aranym

Miro Kropacek wrote:

> I've used 'SWP' method although I have a lot of RAM, it's much easier
> to install it from gemdos hdd than floppy. My HDD is 150 GB, C: is
> gemdos (but later I gave up and tried everything, i.e. no AHDI
> partition support), D: is SWP, E: was later assigned as NBD ... Is it
> any important I overwrite whole disk during installation, i.e. also
> that 'SWP', i.e. root for installer ?

I'm not familiar with the Atari port. I just read the (probably outdated)
installation instructions while trying to install with Aranym. But from
the Amiga port I know that you cannot write a native partition layout
with disklabel, and probably it's the same here. So when you are using
AHDI paritions you have to define a partition as SWP and another one as
NBD manually. On the Amiga it would be perfectly normal when writing of
the disklabel fails. You just continue to install on the partition you
have chosen as 'NBD'.

I have never seen the Atari installer, but maybe there is an option to
escape into shell, as in others? When possible, please enter

# disklabel sd0

(or disklabel wd0 when using IDE) to show the partitions which diskabel
has recognized. When they are looking ok and match the locations of your
NBD and SWP paritions (i.e. the NBD parition shows up as sd0a) you may
try to create a filesystem with

# newfs /dev/rsd0a

(Continue reading)

Miro Kropacek | 28 May 2010 16:16
Picon

Re: Aranym

Hello,

just to share my latest success. I was finally able to install netbsd
(not boot, because I've got some NVRAM problems, i.e. it's rather
complicated to set it to NetBSD but I'll solve this today), I tell
you, this is really scary for anyone new to all this stuff:

- all tools use unix line endings, in practice you can't see more than
few words in TOS, i.e. errors, warnings, help, ... nothing will be
shown, just a garbage (I speak about TOS tools, of course, like
file2swp or loadbsd.ttp)
- installer has some kind of timeout for read operation (?), I tried
to make SWP on my SD card (SD to IDE converter), put sysinst there but
as soon as some data was requested from SWP (I think it was stage
around disk labeling or fsck), it timed out and returned to main menu,
really strange
- I took different approach, i.e. installing netbsd on that SD card
and making SWP (temporarily) on normal HDD => success!
- I was right, you can't use SWP on the same disk (or at least disk
area) as netbsd installation
- SWP is destroyed each time! (yes, even when totally separated on
another disk, I have to use file2swp each time I want to start
installer)
- disk label is somehow buggy: it offers me default disk label (like
"Samsung XY 1234" or "Addonics SD") but I can't set it because
'disklabel' tool can't work with white spaces and/or longer names! (I
chose "AddonicsSD" and finally succeeded in this stage)
- daily snapshot contains bad root path for ftp and even for directory
structure, I had to manually type everything (I admit, my fault, I
should use official release)
(Continue reading)

David Ross | 7 Nov 2010 17:06
Picon
Favicon

ksyms and atari


I've been a bit curious about ksyms because it's an option that's enabled by default for the x86 kernel but
not present at all in the atari config file.  I was able to build an atari kernel with ksyms enabled.  Anyone
know how to test that it's functional?  Would it make sense to enable by default for the atari kernel?

David Ross
dross <at> pobox.com
  		 	   		  
David Ross | 20 Nov 2011 02:20
Picon
Favicon

Various failing automated tests


I ran the automated test suite (http://netbsd.gw.com/cgi-bin/man-cgi?tests+7+NetBSD-current) and
noticed a few more failures on Atari than on x86.  

From an x86 VM running NetBSD 5.1:

Failed test cases:
    fs/tmpfs/t_id_gen:main, util/df/t_df:normal, util/id/t_groups:syntax,
    util/id/t_id:default, util/id/t_id:Gflag, util/id/t_id:pflag,
    util/id/t_id:uflag, util/id/t_whoami:correct, util/id/t_whoami:syntax,
    util/sh/t_expand:strip, util/sh/t_set_e:all

Summary for 98 test programs:
    416 passed test cases.
    11 failed test cases.
    4 skipped test cases.

From my netbsd-atari NetBSD 5.1 install:

Failed test cases:
    atf/atf-sh/t_atf_check:equal, atf/tools/t_atf_config:arch,
    atf/tools/t_atf_cleanup:mount, atf/tools/t_atf_cleanup:symlink,
    atf/tools/t_atf_run:config, atf/tools/t_atf_run:broken_tp_hdr,
    atf/tools/t_atf_run:no_reason, atf/tools/t_atf_report:default,
    atf/tools/t_atf_report:oflag, atf/tools/t_atf_report:output_csv,
    atf/tools/t_atf_report:output_ticker,
    atf/tools/t_atf_report:output_xml, atf/formats/t_parsers:atffile,
    atf/formats/t_parsers:config, atf/formats/t_parsers:tcs,
    atf/formats/t_parsers:tps, atf/data/t_pkg_config:cxx_build,
    util/df/t_df:normal, util/sh/t_expand:strip, util/sh/t_set_e:all
(Continue reading)


Gmane