make hdboot fails compiling current - Minix

This is a discussion on make hdboot fails compiling current - Minix ; 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 ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: make hdboot fails compiling current

  1. make hdboot fails compiling current

    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?


  2. Re: make hdboot fails compiling current

    On 22 feb, 20:38, "karel" wrote:
    > 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?


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


  3. Re: make hdboot fails compiling current

    I did chmem +100000 mkfs and I got it compiled.
    mkfs on 3.1.2a could handle it.


  4. Re: make hdboot fails compiling current

    On 2007-02-22, karel 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



  5. Re: make hdboot fails compiling current


    > 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



  6. Re: make hdboot fails compiling current

    On 23 feb, 10:03, "karel" wrote:
    > > 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


    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


  7. Re: make hdboot fails compiling current

    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



  8. Upgrading from 3.1.2a to 3.1.3rc1

    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


+ Reply to Thread