Getting source code for Minix 3.1.3a

595 views
Skip to first unread message

donatello

unread,
Sep 7, 2009, 11:53:13 AM9/7/09
to minix3
Hi,

I want to get the source code for Minix 3.1.3a and edit it for course
work. The problem is that I am using Minix on VirtualBox with an
Ubuntu Linux Host. I am copying files to the VM using isoread/isodir,
but it is a one-way transfer of files. Getting networking to work has
not worked yet. To edit Minix source code (the files in /usr/src on
the VM), I want to copy the files into linux. Since the source is on
the install CD, I tried to copy it from there, but I could not:

adi@malhar:~/Software$ sudo mount -o loop minix3_1_3a_ide_r2964.iso ~/
t
[sudo] password for adi:
adi@malhar:~/Software$ cd ~/t
adi@malhar:~/t$ ls
bootflop.img presz134.zip readme.txt setup.pdf setup.ps setup-
ru.pdf version.txt
adi@malhar:~/t$ ls -a
. .. bootflop.img presz134.zip readme.txt setup.pdf setup.ps
setup-ru.pdf version.txt
adi@malhar:~/t$ du -hs *
1.5M bootflop.img
98K presz134.zip
3.0K readme.txt
25K setup.pdf
48K setup.ps
283K setup-ru.pdf
512 version.txt
adi@malhar:~/t$

------------------------------------------------------------------------------
How can this happen? The files in the CD image seem to be less than 3
MB! I am guessing that Linux is not reading the cd file system
correctly (why?). Is there some other way to copy the source code onto
linux? There does not seem to be a download for this version of minix
on the minix3.org site. I could use the svn repo but I don't know the
revision from which 3.1.3a was made.

Any help is appreciated. Thanks!

Rahmat M. Samik-Ibrahim

unread,
Sep 7, 2009, 8:16:00 PM9/7/09
to min...@googlegroups.com
> ------------------------------------------------------------------------------
> How can this happen?

The MINIX3 CD is divided into several partitions.
The /usr partition is using the Minix File System

--
Rahmat M. Samik-Ibrahim
VauLSMORG -- http://vlsm.org/

donatello

unread,
Sep 8, 2009, 4:45:35 AM9/8/09
to minix3
On Sep 8, 5:16 am, "Rahmat M. Samik-Ibrahim" <rahmatm.samik-
ibra...@vlsm.org> wrote:
> > ------------------------------------------------------------------------------
> > How can this happen?
>
> The MINIX3 CD is divided into several partitions.
> The /usr partition is using the Minix File System
>

Ok, so that explains it. So is there some way to get the source? There
does not seem to be a way to read the minix filesystem with linux. I
saw this:
http://www.terra.es/personal2/danarag/

but it looks scary and I don't know if it will solve my problem.

Erik van der Kouwe

unread,
Sep 8, 2009, 5:51:45 AM9/8/09
to minix3
Hi,

Linux can read the MINIX filesystem if you have a recent version with
support for it turned on. This is the case for, for example, the
latest Debian and Ubuntu. I am not sure however whether (sub)
partitions of CD-ROMs are also available.

One approach is to get the sources from Subversion:
http://wiki.minix3.org/en/DevelopersGuide/TrackingCurrent

To get the right version, find it in the tags subdirectory and use
that rather than trunk:
https://gforge.cs.vu.nl/gf/project/minix/scmsvn/?action=browse&path=%2Ftags%2F

With kind regards,
Erik

donatello

unread,
Sep 8, 2009, 6:14:17 AM9/8/09
to minix3
Hi,

On Sep 8, 2:51 pm, Erik van der Kouwe <erik...@gmail.com> wrote:
> Hi,
>
> Linux can read the MINIX filesystem if you have a recent version with
> support for it turned on. This is the case for, for example, the
> latest Debian and Ubuntu. I am not sure however whether (sub)
> partitions of CD-ROMs are also available.
>
> One approach is to get the sources from Subversion:http://wiki.minix3.org/en/DevelopersGuide/TrackingCurrent
>
> To get the right version, find it in the tags subdirectory and use
> that rather than trunk:https://gforge.cs.vu.nl/gf/project/minix/scmsvn/?action=browse&path=%...
>

Thanks very much for pointing me to the tags directory! I've now got
the right version of the source code!

Rahmat M. Samik-Ibrahim

unread,
Sep 9, 2009, 6:27:56 AM9/9/09
to min...@googlegroups.com
> I've now got the right version of the source code!

Once in a while, I manually create a MINIX3 source
tarball. See also:

http://kambing.ui.ac.id/minix/src/ OR
http://komo.vlsm.org/minix/src/

regards,

Nataraj S Narayan

unread,
Sep 10, 2009, 1:21:21 AM9/10/09
to min...@googlegroups.com
Rahmat

I am on your source. But I get this on my debian :-

debian:/home/nataraj/software/minix-src# make world
cd include && exec make - install gcc
make[1]: Entering directory `/home/nataraj/software/minix-src/include'
rm -rf /usr/include
mkdir -p /usr/include
cpdir . /usr/include
make[1]: cpdir: Command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/nataraj/software/minix-src/include'
make: *** [includes] Error 2

where do I go from here?

regards

Nataraj

Tomas Hruby

unread,
Sep 10, 2009, 1:45:26 AM9/10/09
to min...@googlegroups.com
> I am on your source. But I get this on my debian :-

You can compile the 3.1.3 source only on Minix. This feature is
currently experimental in 3.1.4, see

http://wiki.minix3.org/en/DevelopersGuide/NewBuildSystem

Cheers, T.

Enlightenment

unread,
Nov 7, 2009, 5:26:43 AM11/7/09
to minix3

Thanks, but you don't have revision 5612 available for download, which
matches the ISO that is available in the download section of
minix3.org.

Numerous developers that have their source code available have a link
the the download binary and matching source code to build it. The
Minix3.org crew needs to motivate and add a link on the download
page!!!!!!!!!!!!!!!!


On Sep 9, 4:27 am, "Rahmat M. Samik-Ibrahim" <rahmatm.samik-

Arun Thomas

unread,
Nov 7, 2009, 10:25:17 AM11/7/09
to min...@googlegroups.com
On Sat, Nov 7, 2009 at 11:26 AM, Enlightenment <sbme...@gmail.com> wrote:
>
>
> Thanks, but you don't have revision 5612 available for download, which
> matches the ISO that is available in the download section of
> minix3.org.
>
> Numerous developers that have their source code available have a link
> the the download binary and matching source code to build it.  The
> Minix3.org crew needs to motivate and add a link on the download
> page!!!!!!!!!!!!!!!!


You can use SVN to fetch the revision you want: 'svn --username
anonymous -r5612 checkout
https://gforge.cs.vu.nl/svn/minix/trunk/src'. Also, take a look at
http://wiki.minix3.org/en/DevelopersGuide/TrackingCurrent.

Best,
Arun

Reply all
Reply to author
Forward
0 new messages