help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help


From: Anton Nikishaev
Subject: help
Date: Wed, 26 May 2004 15:28:44 +0400 (MSD)

Hi all!

When booting, my Hurd hangs up with message:

Hurd server bootstrap: ext2fs.static[device:hd2s1]
  execext2fs.static: ../../hurd/libdiskfs/boot-start.c:278:
  diskfs_execboot_fsys_startup: Unexpected error:
  No such file or directory

This GNU Hurd is from cvs (20040521), crosscompiled
(gcc-2.95.3,
glibc-2.2.3, gnumach-1.3)

$(hurd)/libdiskfs/bootstart.c:
    printf (" %s", basename (exec_argv));
    fflush (stdout);
    err = exec_exec (diskfs_exec, startup_pt,
MACH_MSG_TYPE_COPY_SEND,
                     newt, 0, exec_argv, exec_argvlen,
exec_env, exec_envlen,
                     fdarray, MACH_MSG_TYPE_COPY_SEND, 3,
                     portarray,
MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,
                     /* Supply no intarray, since we
have no info for it.
                        With none supplied, it will use
the defaults.  */
                     NULL, 0, 0, 0, 0, 0);
    free (exec_argv);
    free (exec_env); 
    mach_port_deallocate (mach_task_self (), root_pt);
    mach_port_deallocate (mach_task_self (), startup_pt);
    mach_port_deallocate (mach_task_self (), bootpt);
here:
    assert_perror (err);

    /* Cache the exec server port for file_exec to use.  */
    _hurd_port_set (&_diskfs_exec_portcell, diskfs_exec);
  }

diskfs_exec is 89 and comes (AFAIK) from
      diskfs_exec = file_name_lookup (_SERVERS_EXEC, 0, 0);

GRUB's commands:

kernel /boot/gnumach root=device:hd2s1 -s
module /hurd/ext2fs.static                      \
  --boot-flags=${boot-args}                     \
  --host-priv-port=${host-port}                 \
  --device-master-port=${device-port}           \
  --exec-server-task=${exec-task}               \
  -Tdevice ${root-device}                       \
  $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
boot

Any suggestions?

Second, I don't know what is right contents of /servers?
I tryed:
  no such directory :)
  void
  with subdirectory socket
  and with empty file exec (as
$(hurd)/release/rfloppy.copy says)
Uselessly...

Nice hacking !
----------------------
            nik <nik_hurd@front.ru>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]