Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

make hdboot fails compiling current

22 views
Skip to first unread message

karel

unread,
Feb 22, 2007, 2:38:24 PM2/22/07
to
make hdboot fails compiling current minix trunk (under 3.1.2a.)

make: 'install' is up to date
cd ./memory && exec make - install # Must be last for ramdisk image
cd ramdisk && make
mkfs image proto.gen || { rm -f image; false; }
mkfs: Couldn't allocate block of inodes
Line 387 being processed when error detected.
make in /usr/src/drivers/memory/ramdisk: Exit code 1
make in /usr/src/drivers/memory: Exit code 1
make in /usr/src/drivers: Exit code 1
make in /usr/src/tools: Exit code 1

Filesystem Size (kB) Free Used % Files% Mounted
on
/dev/c0d0p3s0 16384 13436 2948 18% 7% /
/dev/c0d0p3s2 330004 211580 118424 36% 22% /usr
/dev/c0d0p3s1 68608 67664 944 2% 1% /home
/dev/rescue 128 52 76 60% 7% /boot/
rescue

Anyone willing to help?

sa...@xs4all.nl

unread,
Feb 22, 2007, 3:31:10 PM2/22/07
to

I'm dealing with _exactly_ the same problem and tried several times
to
overcome this. No progress; -yet!
Keep trying.

karel

unread,
Feb 22, 2007, 4:51:33 PM2/22/07
to
I did chmem +100000 mkfs and I got it compiled.
mkfs on 3.1.2a could handle it.

Ben Gras

unread,
Feb 23, 2007, 3:33:39 AM2/23/07
to
On 2007-02-22, karel <gr...@optusnet.com.au> wrote:
> I did chmem +100000 mkfs and I got it compiled.
> mkfs on 3.1.2a could handle it.

Ah yes, this is a result of more device nodes appearing on the
boot ramdisk (svn r2751); I've added it to the UPDATING notes.

=Ben


karel

unread,
Feb 23, 2007, 4:03:30 AM2/23/07
to

> Ah yes, this is a result of more device nodes appearing on the
> boot ramdisk (svn r2751); I've added it to the UPDATING notes.
>
> =Ben
I got as far as booting the 3.1.3rc1 but got stuck on:
Cannot mount c0d0p2s2 on /usr


sa...@xs4all.nl

unread,
Feb 24, 2007, 11:57:56 AM2/24/07
to

Tried both the
"chmem +100000 mkfs "
and
"touch mkfs.c ; make /usr/bin/mkfs in /usr/src/commands/simple"
paths.
The first option worked for me
_but not_ before i renamed /etc/drivers.conf.sv
(Which i'd done before) back to /etc/drivers.conf .

I had to mount and change from another minix(3.1.2a)_disk,
to be able to do this.
Still, i have a few things in the bootmessages:
"
PM : in no_sys, call nr 83 from 35631
Warning, TTY got illegal request 100 from 35631
sizeup ioctl : Invalid argument
used fstat instead
mkfs : this device can't hold a filesystem
"
i guess i'm current now ;)
thanks,

martin

karel

unread,
Feb 25, 2007, 1:11:38 AM2/25/07
to
On Feb 25, 3:57 am, s...@xs4all.nl wrote:
> Still, i have a few things in the bootmessages:
> "
> PM : in no_sys, call nr 83 from 35631
> Warning, TTY got illegal request 100 from 35631
> sizeup ioctl : Invalid argument
> used fstat instead
> mkfs : this device can't hold a filesystem
> "
> i guess i'm current now ;)
> thanks,
>
> martin

I did the drivers.conf.sv fiddle as you described it.
The 3.1.3rc1 now runs on my machine.

I got the same bootmessages as above.
So I am current now too :)

I run with boot option "ata_no_dma=1" as I was having
trouble with VIA DMA timeouts.

I will be testing mostly the network stuff.

thanks
Karel


karel

unread,
Feb 25, 2007, 3:01:27 PM2/25/07
to
Upgrading to current 3.1.3rc1 under 3.1.2a.
This worked for me:

1) mv /usr/src /usr/src~
2) untar the 3.1.3rc1 src.tar in /usr

3) cp /usr/src/etc/binary_sizes* /etc
4) binsizes big
5) cd /usr/src/commands/flex-2.5.4
6) sh build
7) cd /usr/src/etc
8) make install
9) mv /etc/drivers.conf /etc/drivers.conf.hide
10) chmem +100000 /usr/bin/mkfs
11) cd /usr/src
12) make includes
13) make libraries
14) make cmds
15) mv /etc/drivers.conf.hide /etc/drivers.conf
16) make depend
17) cd /usr/src/tools
18) make hdboot
19) make install
20) cd ..
21) make install
You should get this: make in /usr/src: Exit code 2
22) reboot -x 'unset image; boot'
23) login as root
24) cd /usr/src
25) make install

I hope this will work for you too.
Karel

0 new messages