Re: GCC 3.4 fixes and small io_seek fix

2004-05-07 Thread James Morrison
Jeroen Dekkers <[EMAIL PROTECTED]> writes: > The first part of this patch makes the Hurd compile with gcc > 3.4. Because gcc 3.4 omits all unused code, you've to give it the > attribute(used) instead of unused. It also gives errors when there are > labels at the end of a statement and the linux c

Re: Events in libcons

2004-04-04 Thread James Morrison
[EMAIL PROTECTED] (Thomas Bushnell, BSG) writes: > Ok, so KGI (despite the bad name) is the Linux version of what I was > calling HIL. Then we should obviously just implement the existing > interface as best as possible; presumably it will all work > wonderfully. > > I'm delighted to hear of

Re: uptime (coreutils)

2004-03-13 Thread James Morrison
"Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: >Shouldn't fetch_boot_time be part of libps? > > As I said, fetch_boot_time() is a bad example, I personally don't see > a need for it to be in any library. But often when I hack coreutils > todo something Hurdish, I end up rippnig out code fro

Re: uptime (coreutils)

2004-03-13 Thread James Morrison
Shouldn't fetch_boot_time be part of libps? Jim ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: Weird GNUMach crash

2004-02-07 Thread James Morrison
Marco Gerards <[EMAIL PROTECTED]> writes: > James Morrison <[EMAIL PROTECTED]> writes: > > > What is your crash server setup to do? Have you tried attached gdb to > > the crash server? > > It is set to --suspend. I have not yet tried to debug the crash &

Re: Weird GNUMach crash

2004-02-07 Thread James Morrison
Marco Gerards <[EMAIL PROTECTED]> writes: > Hi, > > While I tried to generate a segfault it crashed GNUMach (1.x, I have > tested both CVS and 1.2) with this error: > > panic: zalloc: zone kalloc.8192 exhausted > (There is a small pause here and a bit of disk activity/ flashing IDE LEDs) > hd1

Re: Fix partition detection in GNUMach

2004-01-18 Thread James Morrison
On Mon, Jan 19, 2004 at 01:32:32AM +0100, Marco Gerards wrote: > Hi, > > This patch fixes the partition detection in GNUMach 1.x. Now an error > is displayed when there is an extended partition on the harddrive. > See bug #6378 on savannah for details. So with this patch the annoying error mess

Re: [patch #1599] [Patch #1599] store_typed_open on file namedoesn't call store_open

2003-08-03 Thread James Morrison
> From: [EMAIL PROTECTED] > X-Savannah-Server: savannah.gnu.org:443 [199.232.41.3] > X-Savannah-Project: hurd > X-Savannah-Artifact: patch > X-Savannah-Artifact-ID: 1599 > X-Apparently-From: 212.23.136.22 > Date: Thu, 31 Jul 2003 17:17:39 -0400 > Cc: > Sender: [EMAIL PROTECTED] > X-Spam-Status: N

Re: [patch #406] [Patch #406] A small clean up of vmstat

2003-08-03 Thread James Morrison
> Patch #406 has been updated. > > Project: > Category: None > Status: Open > Summary: A small clean up of vmstat > > Follow-Ups: > > Date: Thu 07/31/2003 at 22:44 > By: marcus > > Comment: > I am not sure what the problem is with the current code. In your mail you said that > vmstat woul

Re: CVS error for GnuMach

2003-07-15 Thread James Morrison
> From: "J. Buchanan" <[EMAIL PROTECTED]> > Date: Tue, 15 Jul 2003 16:09:56 +1000 > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600. > Cc: [EMAIL PROTECTED] > Sender: [EMAIL PROTECTED] > X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.

Re: Parted bug?

2003-07-13 Thread James Morrison
> From: "Alfred M. Szmidt" <[EMAIL PROTECTED]> > Date: Sat, 12 Jul 2003 07:14:34 +0200 > Cc: [EMAIL PROTECTED] > Sender: [EMAIL PROTECTED] > X-Spam-Status: No, hits=-4.5 required=5.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK > version=2.20 > X-Spam-Level: > >From: <[EMAIL PROTECTED]> >Date: F

Re: Hurd program output for --help, --usage, and --version

2003-06-24 Thread James Morrison
>ifsock: all arguments yeild "must be started as a translator" This >may be valid output??? > > Valid since its a translator. --help, et al should still work. > >init: --help and --usage yield: "can only be run by a bootstrap >system" > > This is a bug IMHO, --help should a

Re: Projects in the Hurd

2003-01-29 Thread James Morrison
task list in CVS or on savannah is up to date. There has been many requests for journalling file systems. You could also look at the projects at http://savannah.nongnu.org/hurdextras . There are also a lot of things that can be done with a lot of GNU programs such that they take advantage of

Re: init patch

2003-01-23 Thread James Morrison
() to >retry start_child as it needs to and crashes the system if nothing >works. > > Does it report a usefull message when crashing? I doubt it, I haven't got around to crashing my system by having no console. = James Morrison University of Waterloo C

Re: oskit mach needs patch?

2003-01-22 Thread James Morrison
-r -o $@ \ -Wl,-\( $^ -L$(OSKIT_LIBDIR)/.. $(OSKIT_LIBS) -Wl,-\) -lgcc = James Morrison University of Waterloo Computer Science - Digital Hardware 2B co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU

Re: init: cannot reboot

2003-01-21 Thread James Morrison
> Nope. Won't work. > > Any amount of clue appreciated. /hurd/console and the getty's appear > in a ps listing. > > -- > Lionel What does showtrans /hurd/console give you? = James Morrison University of Waterloo Computer Science - Digital Hard

Re: init patch

2003-01-21 Thread James Morrison
--- "Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote: >This patch allows the computer to reboot if the user does not enter >a value for the path to a server. > > Didn't I post something similar a while back? Sorry, I did NOT find any similar patches.

Re: init patch

2003-01-21 Thread James Morrison
--- "Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote: >This patch allows the computer to reboot if the user does not enter >a value for the path to a server. > > Didn't I post something similar a while back? Humm, if you did I did find it in the

Re: init: cannot reboot

2003-01-21 Thread James Morrison
milar. I could kill the vga console client, then when I restarted it the screen was full of funny characters. I fixed it by ensuring a bdf font was always found. That is why I did that simple font patch. = James Morrison University of Waterloo Computer Science - Digital Hardware 2B

Re: init: cannot reboot

2003-01-20 Thread James Morrison
--- Lionel Elie Mamane <[EMAIL PROTECTED]> wrote: > On Sat, Jan 18, 2003 at 10:16:25AM -0800, James Morrison wrote: > > >> If it can't execute /hurd/auth, init (...) > > > I'm curious, how did you make this happen? Did you remove auth? > > Launc

Re: userspace drivers

2003-01-20 Thread James Morrison
drivers. If you want to look specifically mach user space drivers you can read the mach 3 Kernel Interface[1]. If you aren't specifically looking at mach drivers, perhaps you may want to acquint yourself with oskit, and how GNU Mach in cvs uses the interfaces in oskit. [1] http://www

Re: init: cannot reboot

2003-01-18 Thread James Morrison
mpty filename) > > -- > Lionel I'm curious, how did you make this happen? Did you remove auth? = James Morrison University of Waterloo Computer Science - Digital Hardware 2B co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be

1024MB+ of Ram and OSKit

2003-01-10 Thread James Morrison
Has anyone checked to see if GNU Mach v2 can boot on a machine with >= 1024MB or ram? ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2B co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be e

Re: Hurd doesn't boot with 1024 Mb RAM

2003-01-05 Thread James Morrison
a serial console or you could try using the kernel in the gnumach-dbg package, I think it stops on boot failures as opposed to rebooting. = James Morrison University of Waterloo Computer Science - Digital Hardware 2B co-op http://hurd.dyndns.org Anyone referring to th

Re: simple path search for vga fonts

2003-01-05 Thread James Morrison
ter place for them. Even though it is useful to be able to read and use X fonts, in pcf/pcx format, I think having a /share/hurd/fonts directory for bdf fonts would be really useful. = James Morrison University of Waterloo Computer Science - Digital Hardware 2B co-op http:

Re: Help wanted to boot Hurd-J2

2002-12-31 Thread James Morrison
issue was > resolved tho. > > Thanks > Matt G. > There is no reason to physically remove ram from a machine. GRUB has an option, uppermem, that limits the amount of RAM the os booting from GRUB sees. = James Morrison University of Waterloo Computer Science - Digital Hardw

Re: [Newbie] Bug in Gnumach's Makefile.in

2002-12-21 Thread James Morrison
problem with function 'panic', 'smalloc', ... in the oskit lib ) but > it > is another problem :-)) What platform are you compiling on? What version of oskit are you using? > I hope this will help. > > bye > > Laurent Gualdi = James Morrison

Re: gnumach + oskit + pcmcia boot failure:

2002-11-16 Thread James Morrison
> page fault linear address c001c > At one point GNUmach would crash if you pressed a button/key on boot. This could be what you are seeing. Stay well away from the keyboard when booting, see if that helps. = James Morrison Universit

Re: Are hodes nodes?

2002-11-03 Thread James Morrison
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > On Sat, Nov 02, 2002 at 01:36:03PM -0800, James Morrison wrote: > > > > --- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > > > James Morrison <[EMAIL PROTECTED]> writes: > > > >

Re: Are hodes nodes?

2002-11-02 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Looking at [hurd]/hostmux/hostmux.h I noticed a strange comment. > > /* The state associated with a host multiplexer translator. */ > > struct

Re: libiohelp

2002-11-01 Thread James Morrison
I have no objection to this; it's annoying in the extreme that gcc has > broken compatibility here, but so be it. > So you can commit this for us? Thanks. = James Morrison University of Waterloo Computer Science - Digital Hardware 2B http://hurd.dyndns.org Anyone r

Are hodes nodes?

2002-10-29 Thread James Morrison
this context? = James Morrison University of Waterloo Computer Science - Digital Hardware 2B http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU __ Do you Yahoo!? Y! Web Hosting - Let the exper

Re: libiohelp

2002-10-29 Thread James Morrison
d it. > > > Michael = James Morrison University of Waterloo Computer Science - Digital Hardware 2B http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU __ Do you Yahoo!? Y! Web Hos

Re: libiohelp

2002-10-29 Thread James Morrison
its this patch that it will be applied. For previous references see: http://mail.gnu.org/pipermail/bug-hurd/2002-June/008826.html and http://mail.gnu.org/pipermail/bug-hurd/2002-October/010577.html = James Morrison University of Waterloo Computer Science - Digital Hardware 2B

Re: POSIX semaphore for GNU/Hurd

2002-10-27 Thread James Morrison
define errno (*__errno_location ()) > we have as errno, I was going to verify if errno = ENOSYS; is correct before > adding it - I would have add it in a couple of hours without your message ;) This all should have beeen taken care of a long time ago. errno is specific to ea

Re: POSIX semaphore for GNU/Hurd

2002-10-27 Thread James Morrison
initial value. PSHARED must be set to 0 processes sharing semaphores is not implemented yet. */ > extern int sem_init (sem_t *sem, int pshared, unsigned int value); > > /* Destroys the semaphore */ > extern int sem_destroy (sem_t *sem); > > /* Wait until the count is > 0, and then

Re: Cthreads to Pthreads code.

2002-10-23 Thread James Morrison
#hurd) Cool, but watch out for pthread_create, the START_ROUTINE is a function pointer that can return a void*, it is not a cthread_fn_t. See boot.c:~701. Is there any reason to keep casting START_ROUTINE and ARGS for thread creation? = James Morrison University of Waterloo Computer Scien

Re: ext2fs in boot method

2002-10-14 Thread James Morrison
ng the /hurd from the root filesystem. So, device:hd0s1 has /boot and a /hurd, and device:hd0s2 has /. Now if hd0s1 is ext2 and hd0s2 is ufs what would rootfs point to? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org

libiohelp again

2002-10-06 Thread James Morrison
definition ../../libiohelp/shared.c:32: weak declaration of `iohelp_put_shared_data' must precede definition make[1]: *** [shared.o] Error 1 make[1]: Leaving directory `/root/cvs/hurd/build/libiohelp' make: *** [libiohelp] Error 2 And the solution is here: http://mail.gnu.org/pipermail/bug-hurd/

Parted seg faults

2002-10-05 Thread James Morrison
2c84) at ../../parted/parted.c:1631 #17 0x0115adc0 in __libc_start_main (main=0x804d940 , argc=1, ubp_av=0x1022c80, init=0x8049d94 <_init>, fini=0x217e8 <_dl_debug_mask>, rtld_fini=0, stack_end=0x0) at ../sysdeps/generic/libc-start.c:129 (gdb) = James Morrison Unive

Re: include/mach/cthreads.h or include/cthreads.h ?

2002-09-26 Thread James Morrison
nclude/mach/ or get perl to look in /include/ instead of /include/mach/ > ? > > > > Glenn > If you look at the configure.{in,ac} for python you will see how I dealt with this for python. = James Morrison University of Waterloo Computer Science - Digital Hardware

mig stub headers: brain dump

2002-06-13 Thread James Morrison
e me, that they should try make prefix=`pwd` install-headers Do these make any sense? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source'

Re: Recent commits.

2002-06-13 Thread James Morrison
written) { if (dev == DEVICE_NULL) = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU __ Do You Yaho

posix_spawn in gcc

2002-06-13 Thread James Morrison
exception? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Yahoo! - Official

Re: setuid root programs in hurd dist

2002-06-05 Thread James Morrison
of these, I think the right thing is to extend the proc > server. The point of proc_getprocinfo is to provide "whatever ps > needs". > vmstat, and pptop need to be suid'd to be get the pager information. = James Morrison University of Waterloo Computer Science - Digital Ha

Re: hurd/tmpfs dir.c tmpfs.c

2002-06-04 Thread James Morrison
> Pthreads already has recursive locks as an X/Open extension, I don't > think such changes are needed because we will switch to pthreads > within a few months anyhow. > > Jeroen Dekkers So what is in cvs is good for testing in a {sub,neighbour,n-}hurd? = James Morri

should libstore be linked against libthreads.

2002-06-01 Thread James Morrison
know why this has shown up now, but I think libstore should be linked to libthreads since gunzip, part, and unzipstore all include . = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'O

Re: libiohelp

2002-06-01 Thread James Morrison
VE_MIG_RETCODE=1 -DHAVE_GETGROUPLIST=1 -c -o shared.o ../../libiohelp/shared.c ../../libiohelp/shared.c:26: weak declaration of `iohelp_fetch_shared_data' must precede definition ../../libiohelp/shared.c:32: weak declaration of `iohelp_put_shared_data' must precede definition make: **

tmpfs/dir.c:223

2002-06-01 Thread James Morrison
Could someone please revert the changes made to tmpfs/dir.c:223. Line 223 currently has a call to diskfs_lookup_cached with 3 arguments. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as '

Re: vm_size_t is unsigned, so libps should use unsigned ints.

2002-06-01 Thread James Morrison
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > On Thu, May 30, 2002 at 08:22:12PM -0700, James Morrison wrote: > > Nothing else used ps_emit_nice_int. > > Oh, right, I was confused. > > > I don't like this. After looking at both sprint_frac_value and

Re: Recent pfinet changes.

2002-05-31 Thread James Morrison
pfinet/linux-src/net/ipv4/udp.c:1125: > more undefined references to `csum_partial' follow > old-checksum.o: In function `csum_partial_copy': > /home3/ams/src/hurd/obj/pfinet/../../pfinet/linux-src/arch/i386/lib/old-checksum.c:11: > undefined reference to `csum_partial_copy_generic' > collect2: ld re

Re: vm_size_t is unsigned, so libps should use unsigned ints.

2002-05-30 Thread James Morrison
all. > I can fix this. > Thanks for spotting this, > Marcus > > -- > `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] > Marcus Brinkmann GNUhttp://www.gnu.org[EMAIL PROTECTED] > [EMAIL PROTECTED] > http://www.marcu

resident_size in pages, memory_size in bytes.

2002-05-26 Thread James Morrison
_rmem_frac where the resident_size is divided by the memory_size to get the memory usage percent. ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' sha

Re: *Unofficial* HurdDevelopers and status page

2002-05-19 Thread James Morrison
oskit console >* Neal - documentation, debugging >* Niels - kernel debugging >* Roland - gcc-3.1, fakeroot (with fakeauth and settrans --chroot) >* Simon - Kernel Cousin Debian Hurd >* Thomas - kernel debugging >* Wolfgang - debugging > > -- 19 May

Re: environment / screen / X

2002-05-12 Thread James Morrison
LIBRARY_PATH. > These binaries that you can't run are suid, so LD_LIBRARY_PATH is ignored. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by

Re: Oskit-mach success with gcc-3.0

2002-04-20 Thread James Morrison
e is a problem, please show me fresh details. > I needed that patch to compile oskit-mach with a fresh install of oskit 2002 natively under GNU/Hurd. I had tried simply typing ../configure && make kernel-ide+ethernet_lance, but it didn't work. work. = James Morrison Univers

Re: Use the INCLUDES variable when compiling mig.

2002-04-17 Thread James Morrison
s/gnumach/include ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Yahoo! Tax Center - onlin

MAXHOSTNAMELEN defined in rpc/types.h

2002-04-10 Thread James Morrison
Hi, I noticed that MAXHOSTNAMELEN is defined in rpc/types.h to 64, should this definition be removed or it there for some reason? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open S

More gcc3 compiler warnings

2002-04-08 Thread James Morrison
far is with p++; switch (ntohl (p[-1])) . In rpc.c p is used in some cases of the switch statment, so p needs to be incremented before those cases use p. Are there any better ways to fix this than to use p[-1]? = James Morrison University of Waterloo Computer Science - Digital Hardware

Re: libc0.3 with gcc-3.0 success

2002-04-07 Thread James Morrison
ncountering on my libio system is that I can't ssh into my box. Neither keys, nor passwords seem to work. I haven't been able to track down the problem yet, but I can't get the debian package of openssh-3.0p? or openssh-3.1p1 to compile on the GNU/Hurd machine, so I'll hack u

Re: gcc3 and compiler warnings

2002-04-07 Thread James Morrison
e value that the pointer is pointing to. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yaho

Re: gcc3 and compiler warnings

2002-04-07 Thread James Morrison
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > On Sat, Apr 06, 2002 at 02:34:08PM -0800, James Morrison wrote: > > Hi, > > > > gcc3 produces warnings for code that looks like: > > major = ntohl (*p++); > > where p is a pointer. There i

gcc3 and compiler warnings

2002-04-06 Thread James Morrison
]); ... p = &p[2]; ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Yah

getpeername and libio

2002-04-03 Thread James Morrison
Hi, I am trying to run telnetd-hurd from the debian-libio archive but when I run in.telnetd I get the error: getpeername: (mig/ipc) Bad message ID. I haven't been able to track down anything about this. = James Morrison University of Waterloo Computer Science - Digital Har

Re: patch: diskfs_make_node returns an error_t

2002-04-02 Thread James Morrison
this applies to both netfs_ and diskfs_, don't need to know what error has occured, just that one has occurred. 2. This signature is more consistent with the other functions in libnetfs and libdiskfs such as make_peropen and make_protid. = James Morrison University of Waterloo C

Re: error checking in libnetfs

2002-04-02 Thread James Morrison
W_USER so it can be free'd? > > If you can change these things and resubmit a new patch, that would be > great. > I'll make these changes and resubmit later on today. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.d

libio subhurd in a stdio hurd

2002-03-29 Thread James Morrison
kind of pipe or redirection gives the (ipc/mig) bad request message ID error. Is this in anyway expected? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be

Re: follow up on make-protid

2002-03-26 Thread James Morrison
t; checking. > > Ok, I'll try to get this done this week. BTW: thanks for keeping me busy. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GN

Re: Problems with fd0

2002-03-26 Thread James Morrison
ause I don't remember mtools causing my system to freeze; At worst I had I switched screens and killed the process. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall

Re: zealous use of error

2002-03-25 Thread James Morrison
Thanks for all the comments. I do appreciate them. I think I've almost figured out how to do a changelog entry ;) = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source'

Re: [PATCH] Possible problems when MCHECK is defined

2002-03-25 Thread James Morrison
rds > -- > Ognyan Kulev <[EMAIL PROTECTED]>, "\"Programmer\"" > +#define NBUCKETS (31 - LOG2_MIN_SIZE + 1) Why are you using 31 + 1 instead of just 32? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op htt

Re: zealous use of error

2002-03-24 Thread James Morrison
(struct protid), &pi); - if (errno) + errno = err; + if (err) return 0; po->refcnt++; = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be ea

fetch_boot_time () to libshouldbeinlibc or libhurduser

2002-03-24 Thread James Morrison
There is a function in utils/w.c called fetch_boot_time (). Moving this function to a hurd libraries would make it much simpler for people to write there own uptime programs for GNU Hurd and any other application that might want to get the systems boot time, like procfs. = James Morrison

make check

2002-03-24 Thread James Morrison
Hi, I'm curious what types of checks would be in a make check target for the hurd. Would have to be run in a sub-hurd to test all the hurd translators and libc functions? Should the test programs be compiled within that test sub-hurd? = James Morrison University of Wat

compiling the hurd under oskit-Mach

2002-03-23 Thread James Morrison
("/include/machine-lock.h") 53)) ] ) -1 (insn_list 106 (insn_list 111 (nil))) (expr_list:REG_DEAD (reg:SI 41) (nil))) make[1]: *** [file-syncfs.o] Error 1 make[1]: Leaving directory `/home/compile/A/cvs/hurd/build/libdiskfs' make: *** [libdiskfs] Error 2 machine-lock.h com

Re: posix shared memory

2002-03-21 Thread James Morrison
#x27;s list. A while ago, there was a call for Hurd projects, this was something Neal said he was working on. I found this previous thread on Shared memory implementations: http://mail.gnu.org/pipermail/help-hurd/2000-November/004282.html http://mail.gnu.org/pipermail/help-hurd/2000-December/004293.

Re: Linux style /proc filesystem translator

2002-03-20 Thread James Morrison
n't use ps -a. I don't know why I couldn't use ps -a, but I couldn't. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'O

fstests and stuff

2002-03-20 Thread James Morrison
hanks. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th

Re: Linux style /proc filesystem translator && httpfs

2002-03-20 Thread James Morrison
Makeconf needs to be edited to include the appropriate libxml headers. If need be I'll make a self-contained tarball of httpfs this weekend, and send a Makefile patch here. Sorry about bitching, I just want to compile and play with cool things out of the box ;). Note: libxml2 is compil

Re: oskit-mach (oskit-20010214/oskit-20020317) and ping -f

2002-03-18 Thread James Morrison
...^C --- localhost ping statistics --- 1094 packets transmitted, 546 packets received, 50% packet loss round-trip min/avg/max = 30.0/1441.0/3360.0 ms What ethernet driver are you using? = James Morrison University of Waterlo

Re: oskit-mach success

2002-03-18 Thread James Morrison
--- Jeroen Dekkers <[EMAIL PROTECTED]> wrote: > On Sun, Mar 17, 2002 at 04:18:27PM -0800, James Morrison wrote: > > Well, I compiled the newest version of oskit today, I added the tlan > driver to > > oskit and oskit-mach compiled and run with the following patch. >

oskit-mach success

2002-03-17 Thread James Morrison
-Wl,-\( $^ $(OSKIT_LIBS) -Wl,-\) -lgcc + -Wl,-\( $^ $(OSKIT_LIBDIR)/.. $(OSKIT_LIBS) -Wl,-\) -lgcc # # Installation = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall b

Re: patch: use err, not errno

2002-03-14 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > > > I've also changed !var to var == MACH_PORT_NULL where > > > > appropriate because some documentation, mach.texi, says > &g

Re: patch: use err, not errno

2002-03-14 Thread James Morrison
tancy things I should look for while reading through more code? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __

Re: patch: use err, not errno

2002-03-14 Thread James Morrison
L where appropriate > > > because some documentation, mach.texi, says MACH_PORT_NULL is not > assumed to > > be 0 in the Hurd system. > > This is always fine. > Yes, but I wanted to be consistant with the documentation. = James Morrison University of Waterloo

Re: feeping creaturism

2002-03-11 Thread James Morrison
tten to, or some optimized version of this. It seems gopherd, smbd, and nmbd all would need a SIGHUP as well. At least I can feel comfortable that this will work for my changelogs when I am working this summer ;) It will also work as my ogg playlist, but that will require an nfsd on my machin

feeping creaturism

2002-03-10 Thread James Morrison
ave found a way to replace all the things I know logrotate does with translators that do the job better and more accurately. [1] If anyone has a better name for this idea, I would be happy to here it. = James Morrison University of Waterloo Computer Science - Digital Hardware

Re: added an error_t to netfs_startup

2002-03-09 Thread James Morrison
de is wrong. This is the Right Way. > Ok, next week's patch will contains the rest of these fixes. > > * init-startup: Changed errno to err. > > This is better: > > * init-startup (netfs_startup): Use err, not errno. > > And look, my changelog entry

Re: I am slowly going crazy 1,2,3,4,5,6 switch

2002-03-08 Thread James Morrison
--- Marcus Brinkmann <[EMAIL PROTECTED]> wrote: > On Wed, Mar 06, 2002 at 09:02:07PM -0800, James Morrison wrote: > > I CAN'T hostmux to WORK. > > You have linked it with libthreads? The ldd output is not enough > to tell us > this. Even the order of libraries

I am slowly going crazy 1,2,3,4,5,6 switch

2002-03-06 Thread James Morrison
hostmux --help|--usage still work and ./hostmux /hurd/ftpfs still says hostmux must be started as a translator. Any hints would be appriciated. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone r

Re: hostmux patch

2002-03-03 Thread James Morrison
value of malloc The GCS only says not to cast to void * . I will beat it into my brain to run my code through indent on of these days. I'm not sure what you mean by the parentheses are wrong. I have added spaces before parentheses if that is what you meant. I've also, hopefully, fixed

Re: bad news for libtrivfs/libthread

2002-02-23 Thread James Morrison
Thanks, linking to libthreads fixed it. = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Yahoo!

bad news for libtrivfs/libthread

2002-02-23 Thread James Morrison
checkout of the Hurd tonight, this is of course assuming a new checkout will compile natively. changing ports_manage_port_operations_multithread to ports_manage_port_operations_one_thread fixes the SIGILL. = James Morrison University of Waterloo Computer Science - Digital Hardw

boot scripts

2002-02-13 Thread James Morrison
denote comments. Does this make sense? = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Ya

Re: hostname again.

2002-02-05 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Actually, O_READ, O_WRITE, O_EXEC are the only things that can be > > turned on. > > No, O_APPEND, the O_*SYNC flags, and so forth, are al

Re: hostname again.

2002-02-01 Thread James Morrison
It seems my assumption of Rolands patch being in the debian tree is wrong. --- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > - err = __dir_mkfile (dir, O_WRONLY, 0644, &new); > > + err = __dir

Re: hostname again.

2002-01-31 Thread James Morrison
--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > James Morrison <[EMAIL PROTECTED]> writes: > > > Before I get to the patch, here is an interesting error: > > > > Fatal error, aborting. > > load average of 17 is too high > >

hostname again.

2002-01-30 Thread James Morrison
rite the contents. */ ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone refering this as 'Open Source' shall be eaten by a GNU __ Do You Yahoo!? Great stuff see

assertion failure at line 47 of libfshelp/lock-acquire.c

2002-01-21 Thread James Morrison
partition is hd0s3, I am booting a sub-hurd off of hd3s1 so I settrans -a /mnt /hurd/ext2fs /dev/hd3s1; boot -I -D/mnt /mnt/boot/servers.boot hd3s1 Thanks for any help ;) = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org An

Re: realtek 8029

2001-12-30 Thread James Morrison
m/arenn/hacking/hurd/hurd-hardware.html ) > GNUMach supports the PCI NE2000. > That HCL is old. The new HCL is at http://www.freesoftware.fsf.org/thug/gnumach_hardware.html . = James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://h

  1   2   >