Re: make install world
Hi Are you actually using #make install world ??? I think you want #make installworld after you succesfully build the world using #make buildworld /Johan K At Thu, 16 Nov 2000 12:18:40 GMT, Jamie Heckford wrote: Hi, During make install world, I keep having it stop complaining "xxx Directory: Not Found" If i manually create this directorys with mkdir, and re-run make install worl d, it works fine, but then stops when it cant find a different directory. Is their any way I can have make install world or is their something I can ru n before that to create the missing directorys manually? Thanks, -- Jamie Heckford Chief Network Engineer Psi-Domain - Innovative Linux Solutions. Ask Us How. === email: [EMAIL PROTECTED] web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7779 646 529 === To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Cache Questions
At Mon, 23 Oct 2000 08:33:04 EDT, "Christopher Harrer" wrote: Hello All, We're working on a driver for a PCI card, we're currently running into a problem that's symptomatic of a cache coherency problem. We have a area of memory that we manipulate and pass a physical address to our card. In other OS's (Linux, NT), before we manipulate this memory area, we mark the area as non-cachable. Are there similar operations/system calls we can use in FreeBSD? Are there any FAQ's, Docs or man-pages that explain memory usage/attributes? See (in 4-Stabel and current) /usr/include/sys/memrange.h which has functions for setting memory regions uncachable. /Johan K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: A few device questions
At Thu, 24 Aug 2000 01:48:32 EDT, Louis Gerbarg wrote: I have been working with the OpenBSD /dev/random driver, and have ported it to Darwin. While I was at I wanted to also port it to FreeBSD, because it is more functional then current one, but I have a few questions: You should talk to Mark Murray [EMAIL PROTECTED] who has done alot of work with the current implementation of our random device. /Johan K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: review request: truncate(1)
Hi again, I found your updated version and I look good. However, I just realised that I would get ride of the modeset variable by moving the default assignment of mode to the begining. /Johan K --- truncate.c.orig Fri May 26 10:34:54 2000 +++ truncate.c Fri May 26 10:37:52 2000 @@ -46,8 +46,9 @@ int fd; int optch; mode_t mode, *modp; - int modeset = 0; + mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; + while ((optch = getopt(argc, argv, "hm:")) != -1) switch (optch) { case 'h': @@ -59,7 +60,6 @@ umask(0); mode = getmode(modp, 0); free(modp); - modeset = 1; break; case '?': default: @@ -74,8 +74,6 @@ usage(); exit(1); } - if (!modeset) - mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; size = atol(*argv++); To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: review request: truncate(1)
At Thu, 25 May 2000 14:18:17 +0200, Alexander Langer wrote: Hello! I've written the command-line frontend to truncate(2). I've often needed that since now, and finally I wrote it. I'm sure it's useful. Please review (includes source, manpage + Makefile). http://big.endian.de/FreeBSD/truncate.tar.gz Thanks Hi Please sort the options in getopt and in the switch-statement. see style(9) for more style info. Please also use -Wall when compiling to catch all warnings (add CFLAGS += -Wall to your Makefile). /Johan K Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: review request: truncate(1)
At Thu, 25 May 2000 16:52:43 +0200, Alexander Langer wrote: Thus spake Johan Karlsson ([EMAIL PROTECTED]): Please sort the options in getopt and in the switch-statement. see style(9) for more style info. Please also use -Wall when compiling to catch all warnings True - forget about that. What about the other things, I mean non-stylistic but functional/technical stuff? I think it looks just fine and the program works like I expect it to. However, the man page does not mention that one have to also specify the wanted size of the file. /Johan K Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
testers for PR 17698
Hi Sheldon, Did you get any alpha/pc98 testers for the patch in PR 17698 see http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=515536+522235+/usr/local/www/db /text/2000/freebsd-hackers/2402.freebsd-hacker Even if you didn't maybe you can commit it and MFC to 4-Stable. Thanks Johan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Tiny GENERIC patch
At Wed, 29 Mar 2000 09:55:45 +0200, Sheldon Hearn wrote: On Wed, 29 Mar 2000 09:22:11 +0200, Johan Karlsson wrote: I have just submitted a 'follow-up' to the PR with this info. Are you sure you sent mail to [EMAIL PROTECTED] with "kern/17536" on the subject line? I can't see any follow-up on the PR. :-( No I did not think at all and replyed to the mail I got back from [EMAIL PROTECTED] :-( Should I re-send it or will it show up anyway. /K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Tiny GENERIC patch
At Wed, 29 Mar 2000 11:26:22 +0200, Sheldon Hearn wrote: On Wed, 29 Mar 2000 11:22:48 +0200, Johan Karlsson wrote: Should I re-send it or will it show up anyway. Re-send to [EMAIL PROTECTED], taking care to preserve the "kern/17536" on the subject line. Done I have also seen the follow-up using the wed interface. /Johan K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Tiny GENERIC patch
At Tue, 28 Mar 2000 16:24:17 +0200, Sheldon Hearn wrote: On Thu, 23 Mar 2000 09:21:50 +0100, Johan Karlsson wrote: Before this is commited please have a look at the PR kern/17536 which addresses a similar thing. When using the patch you provide on that PR, what does the How-To-Repeat do? The more detail you can give in your answer, the better. :-) Hi I have just submitted a 'follow-up' to the PR with this info. If you want any other info, please ask again :-) /Johan K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: from number to power of two
At Sat, 21 Aug 1999 12:54:32 +0200, Nick Hibma wrote: Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 - 1 2,3- 2 4,5,6,7- 4 8,9,10,11,12,13,14,15 - 8 etc. So %1101 should become either %1 or %1000. The only solution I have so far is a table. That is a possibility as the the highest number will be 32 I think. This small prog works at least on x86 = #include sys/types.h #include machine/cpufunc.h int main(int argc, char **argv){ int i, j, k; sscanf(argv[1], "%d", i); j = 1(fls(i)-1); k = 1(fls(i-1)); printf("%d %d %d\n", j, i, k); return 0; } = /Johan K To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: from number to power of two
At Sat, 21 Aug 1999 12:54:32 +0200, Nick Hibma wrote: Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 - 1 2,3- 2 4,5,6,7- 4 8,9,10,11,12,13,14,15 - 8 etc. So %1101 should become either %1 or %1000. The only solution I have so far is a table. That is a possibility as the the highest number will be 32 I think. This small prog works at least on x86 = #include sys/types.h #include machine/cpufunc.h int main(int argc, char **argv){ int i, j, k; sscanf(argv[1], %d, i); j = 1(fls(i)-1); k = 1(fls(i-1)); printf(%d %d %d\n, j, i, k); return 0; } = /Johan K To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message