[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting rid of serverboot
From: |
Neal H Walfield |
Subject: |
Re: Getting rid of serverboot |
Date: |
Fri, 17 Aug 2001 17:32:43 +0200 |
User-agent: |
Mutt/1.3.18i |
> I've just made several commits of untested code that should implement most
> of this, but surely needs some loose ends fixed up and some debugging done.
Here is a patch to the lone bug. Booting a subhurd and serverboot are
fine (i.e. no new bugs). A fix follows.
boot/ChangeLog:
2001-08-17 Neal H Walfield <neal@cs.uml.edu>
* userland-boot.c (boot_script_task_create): Suspend the newly
created task as the protocol requires.
(boot_script_insert_right): Fix the error message.
Your faithful servant.
Index: userland-boot.c
===================================================================
RCS file: /cvs/hurd/boot/userland-boot.c,v
retrieving revision 1.3
diff -u -p -r1.3 userland-boot.c
--- userland-boot.c 2001/08/17 10:28:22 1.3
+++ userland-boot.c 2001/08/17 15:19:23
@@ -46,6 +46,14 @@ boot_script_task_create (struct cmd *cmd
error (0, err, "%s: task_create", cmd->path);
return BOOT_SCRIPT_MACH_ERROR;
}
+
+ err = task_suspend (cmd->task);
+ if (err)
+ {
+ error (0, err, "%s: task_suspend", cmd->path);
+ return BOOT_SCRIPT_MACH_ERROR;
+ }
+
return 0;
}
@@ -88,7 +96,7 @@ boot_script_insert_right (struct cmd *cm
port, port, MACH_MSG_TYPE_COPY_SEND);
if (err)
{
- error (0, err, "%s: task_resume", cmd->path);
+ error (0, err, "%s: mach_port_insert_right", cmd->path);
return BOOT_SCRIPT_MACH_ERROR;
}
*name = port;
pgpD1pWVlfhP3.pgp
Description: PGP signature
- Getting rid of serverboot, Jeroen Dekkers, 2001/08/16
- Re: Getting rid of serverboot, Roland McGrath, 2001/08/17
- Re: Getting rid of serverboot,
Neal H Walfield <=
- Re: Getting rid of serverboot, Neal H Walfield, 2001/08/18
- Re: Getting rid of serverboot, Jeroen Dekkers, 2001/08/18
- Re: Getting rid of serverboot, Roland McGrath, 2001/08/18
- Re: Getting rid of serverboot, Neal H Walfield, 2001/08/18
- Re: Getting rid of serverboot, Neal H Walfield, 2001/08/19
- Re: Getting rid of serverboot, Roland McGrath, 2001/08/20
- Re: Getting rid of serverboot, Neal H Walfield, 2001/08/20
- Re: Getting rid of serverboot, Roland McGrath, 2001/08/21
- Re: Getting rid of serverboot, Neal H Walfield, 2001/08/23