Re: php4-cgi -- internal server errror (solution)
Yeah, I know it's odd. I had different problem from what you had, but after building php by hand (not using portinstall), it worked perfectly. I didn't check which of the default option turned on by the port caused my problem though. My problem was when apache tried to run php compiled as cgi from port, for some reason it uses php to parse the php cgi module itself which I thought was funny and weird. This is one of the few things you can't fully rely on ports because the application is very specialized in this case (the mapserver + mapscript) I think. I wonder if anyone is working on the port of UMN Mapserver to FreeBSD port system as one of GIS application ? But seeing the thing is such a huge pain to configure, I'm not sure if anyone is willing to do it ;) From: Benjamin Thelen (CCGIS) [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: php4-cgi -- internal server errror (solution) Date: Sat, 30 Aug 2003 23:06:49 +0200 (CEST) MIME-Version: 1.0 Received: from vogon.ccgis.de ([212.79.172.106]) by mc9-f42.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 30 Aug 2003 14:11:09 -0700 Received: from amavis by vogon.ccgis.de with virus-scanned (Exim 3.35 #1 (Debian))id 19tDBU-000412-00for [EMAIL PROTECTED]; Sat, 30 Aug 2003 23:23:00 +0200 Received: from center.sz ([192.168.1.20] helo=center.shared)by vogon.ccgis.de with esmtp (Exim 3.35 #1 (Debian))id 19tDBR-00040u-00; Sat, 30 Aug 2003 23:22:57 +0200 Received: from localhost ([127.0.0.1] helo=center)by center.shared with smtp (Exim 3.35 #1 (Debian))id 19tCvp-K9-00; Sat, 30 Aug 2003 23:06:49 +0200 Received: from 192.168.2.109(SquirrelMail authenticated user thelen)by vogon.ccgis.de with HTTP;Sat, 30 Aug 2003 23:06:49 +0200 (CEST) X-Message-Info: JGTYoYF78jHPQtCuKTXOg+REQOjKFQsH X-Scanned-By: AMaViS-ng at Geo-Consortium Bonn Message-ID: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] User-Agent: SquirrelMail/1.4.1 X-Priority: 3 Importance: Normal Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 30 Aug 2003 21:11:09.0710 (UTC) FILETIME=[3C032AE0:01C36F3B] Hi, I think I know what you're talking about, it's the UMN Mapserver for GIS application. Basically it's the php-mapscript part which needs php to be compiled as cgi. It's a wonderful open source GIS app which works very nice and very stable once configured correctly but it's a major pain in the butt to get it right. As for the internal server error premature end of script header, it could be either one of the many reasons : - the http header is not properly generated. - wrong permission - wrong directory path - apache port is screwed. - php4-cgi port is screwed. - and some other reasons unknown. Try writing a simple php script which contains ?php phpinfo() ? and cat it through the php binary in your cgi-bin. See if it generates proper HTTP header + all the config stuffs correctly. I upgraded to php4.3.3rc4 from the port on my own box and I have different problem altogether. The last working version of php compiled as cgi for me is from 4.3.0 version, that is, not installing from port but by hand instead (tar xzvf, config,...manually). So try by hand as well, and see if anything changes. You do have a backup copy of last working php-cgi binary, don't you ? Sorry can't help any farther but I share your pain man. Date: Mon, 25 Aug 2003 21:12:08 +0200 (CEST) From: Benjamin Thelen (CCGIS) [EMAIL PROTECTED] Subject: php4-cgi -- internal server errror To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-1 Hi, sorry, I've already posted this into the German user list, but as I am still completely stuck I hope to find some more hints/help here. Systems: FreeBSD 4.7 (mod_php4 - a little changed) 4.8 (php4-cgi - the latest) Apache 1.3.27 and 28 We need to run php as cgi, because of the requirements of software we run (called umn-mapserver - if somebody knows). Half a year ago I basically followed the instructions I found on the umn-mapserver wiki-pages: I quote, that's shorter: (http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI) quote PHP's default 'configure' behavior is to build a 'php' CGI executable. It's the --with-apxs and/or --with-apache PHP configure options that enable PHP to be built as an Apache DSO. ...to build PHP as a CGI ... don't provide the --with-apxs or --with-apache switch to the PHP configure. Then once you have a 'php' executable, copy it to your server's cgi-bin directory and add to your httpd.conf: AddType? application/x-httpd-php .php3 AddType? application/x-httpd-php .phtml AddType? application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php /quote As I could not find an ordinary php-port (not sure now, it's month ago), I removed one --with-apxs entry within the Makefile from www/mod_php4 (!)
MBR Corruption and Restore
Hello All! Unfortunatly, i was having a minor hard disk problem on my first FreeBSD installation, and (so used to Debian) i thought i could fsck after shutdown now. Apparently this was not the case, as my file systems were still mounted. After a quick re-install, with backups, it appears my MBR is corrupted as it will not start the /boot/loader and my BIOS recognizes my disk as a non system disk (FreeBSD has been re-installed, to get into the system i use the boot2 from the bootable CD). Is there anyway i can manually install the FreeBSD boot loader while in the system? I figured it is dd'ing the /boot files to the beginning of my hard disk, but i don't know what location nor how safe this is. Thank to all of you in advance! -Rian Hunter _ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB 2 umass
Alan Batie writes: OK, the point of this whole exercise was to find out if what I'd heard about USB 2 being half duplex and thus a bad idea for RW mass storage was true. It looks like it, but on the other hand, it looks like I'm only running at USB 1 speeds too: I've been listening on -current and -hackers, and (if I'reading things correctly) the umass code is still closer to alpha than beta grade. (And that's in 5.x, which is the most wobbly I've seen since 2.something.) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
find -type not working on release 5.1?
Hello, I'm getting something like this: ]$ find /etc -type d -tinvalid option -y invalid option -p invalid option -e invalid option d unknown file One other thing.. ]$ ls x* doesn't seem to work right either.. it's returning all the files..? g* works though.. Thanks in advance for any help. -- Herculano de Lima Einloft Neto [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble setting up multiple boot on big disk
At 04:17 AM 8/30/2003, Hendrik Hasenbein wrote: I got a problem when my BIOS was on auto adressing mode for the drive. I switched it to LBA and now every system see the same layout. I don't think that this was the problem. I ultimately installed V Communications' System Commander, moved the FreeBSD partition to the beginning of the drive (in case the problem was that it couldn't be too far from the beginning), and did get FreeBSD installed. The only problems were (a) updating the system for the latest security problems; and (b) getting the CD-ROM/DVD drive to work after a warm boot (it works after a cold boot, but FreeBSD hangs when probing it on a warm boot). I still haven't found a fix for the latter problem. Ideas? --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
playing a DVD with mplayer
I just got a new notebook with a DVD drive. I compiled mplayer from the ports. Now I want to play a smaple VD that I have. What do I need to do to mount the DVD? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using Digital Video Out under FBD
Hi all. I went searching around tonight trying to find information on how to do Digital Video out on my GF3 ti200 under Freebsd, but found nothing. The only link that came up in my search had nothing to do with what I wanted to do. What I'm wanting to do is to use the DV (digital video) out jack to export video from my computer to a VCR and a TV. Just wondering if it will work as is in a plug and go configuration, or is there something special I have to do? Pointers, guides or suggestions welcome. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Filesystem problem
Hi. I have been experencing some filesystem problems for the last month or so. I was running 4.8-STABLE and updated to 5.1-RELEASE-p2. While I was running 4.8 and I tried to run a command that required hard disk activity, the process would 'hang' and I would no longer be able to ssh or telnet in. I would get stuck after typing in my login. Running 5.1 is a different story. I did a clean install of 5.1-RELEASE and cvsup'd to -p2. Every time I do this, it's great for a day or so then it acts up. Before after it started, even if I rebooted it would immediately start up. On 5.1, it is only hanging for that process and everything else is fine. I can still login, webserver responds, etc. Here is a little info: FreeBSD devel.neoninternet.net 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Sat Aug 23 20:12:41 PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SLURPEE i386 CPU: AMD Athlon(tm) XP 2600+ (2086.51-MHz 686-class CPU) real memory = 1073676288 (1023 MB) ad0: 117246MB Maxtor 6Y120P0 [238216/16/63] at ata0-master UDMA133 root 1173 0.0 0.1 1436 916 p3 D+6:38PM 0:00.00 man vmstat root784 0.0 0.1 752 636 d0 D 4:34PM 0:00.02 make all DIRPRFX=i386/libi386/ root847 0.0 0.0 312 212 d0 D 4:34PM 0:00.00 (cc) root848 0.0 0.3 4104 3488 d0 D 4:34PM 0:00.01 (cc1) root849 0.0 0.1 928 668 d0 D 4:34PM 0:00.00 /usr/bin/as -o comconsole.o - last pid: 1252; load averages: 0.00, 0.00, 0.00 up 0+02:37:22 19:04:48 64 processes: 1 running, 63 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 34M Active, 23M Inact, 38M Wired, 204K Cache, 22M Buf, 906M Free Swap: 2048M Total, 2048M Free devel# vmstat procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad0 da0 in sy cs us sy id 1 7 0 144612 928056 16 0 0 0 9 0 0 0 3310 254 0 0 100 Anyone have any suggestions? I can not control-C out of 'man vmstat'. While doing 'make' in /usr/src/sys/boot it was hanging on as, when I restarted it, it got to i386/libi386 and will not do anything else. I'm running that through serial console, it let me ^C out of that. I tried going into single user mode and running umount, now it just sits there and I can't ^C. I have no ideas, this was all working yesterday!! :-) Any ideas on what else to check or other helpful hints would help bunches. Thanks, Kevin __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find -type not working on release 5.1?
On Sat, Aug 30, 2003 at 09:26:03PM -0300 or thereabouts, Herculano de Lima Einloft Neto wrote: Hello, I'm getting something like this: ]$ find /etc -type d -tinvalid option -y invalid option -p invalid option -e invalid option d unknown file Make sure you really are typing find /etc -type d, with the -type after the /etc. Something like this: find -type d /etc, would return those errors. One other thing.. ]$ ls x* doesn't seem to work right either.. it's returning all the files..? g* works though.. I don't know what you mean by works/doesn't work. Could you elaborate a little here? -- Josh Thanks in advance for any help. -- Herculano de Lima Einloft Neto [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ghost for FreeBSD
See http://www.partimage.org. There are a few bootable Linux CDs that include partimage; I've used the ~40M Gentoo one very successfully on FAT32 partitions. Thanks a lot to you and the others who have replied for the advice - this seems to be what I have been looking for. Bye Stefan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get CUPS to work (newbie)
I have CUPS installed on my 4.8 system. I cannot seem to configure it, though. I have tried the web interface at localhost:631, but it seems that the cupsd.conf file was not created. Well, then I tried to create this using the print server configuration in KDE and I keep getting permission denied errors when I try to write the cupsd.conf file (running this as root, btw). Basically I am looking for a tutorial somewhere to get CUPS up and running on FreeBSD. Actually, I do have it running, I just can't configure it or add any printers. Not much use without printers :) I checked on freebsddiary.org, and the CUPS page there doesn't cover the configuration of the server itself it seems. Any help is greatly appreciated. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ghost for FreeBSD
I can't contact www.partimage.org, the connection times out. Tim Kellers CPE/NJIT On Saturday 30 August 2003 23:14, Stefan Malte Schumacher wrote: See http://www.partimage.org. There are a few bootable Linux CDs that include partimage; I've used the ~40M Gentoo one very successfully on FAT32 partitions. Thanks a lot to you and the others who have replied for the advice - this seems to be what I have been looking for. Bye Stefan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: xterm setup
I recently upgraded my desktop to Gnome2, and of the various things that are causing me grief, the biggest is what's happened to my xterm windows. Now, after the change, it does three things differently and annoyingly: (1) it defaults to black/colored text on a white background; (2) it doesn't have a scrollbar of any sort; and (3) there's no menubar with basic File/Edit etc. options. I can somewhat get around (1) by launching it with xterm -r, although while this does display white/colored on black, it also makes other menus (e.g. those launched with ctrl-[mouse buttons]) look incomplete. But (2) is the worst; I really need to have scrollbars with this. I see that there's a toggleable option to Enable Scrollbar that I get to with ctrl-Mouse2, but this isn't a regular scrollbar that I can click up and down on, with a moveable thumb, etc., as I used to have before the upgrade and as the gnome-terminal has now. I'd be very grateful for a solution to this. Is there a mailing list for Gnome questions? I couldn't easily find one on the Gnome site, and I have various questions not specific to FreeBSD. Thanks. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: xterm setup
In the last episode (Aug 31), Jesse Sheidlower said: I recently upgraded my desktop to Gnome2, and of the various things that are causing me grief, the biggest is what's happened to my xterm windows. Now, after the change, it does three things differently and annoyingly: (1) it defaults to black/colored text on a white background; (2) it doesn't have a scrollbar of any sort; and (3) there's no menubar with basic File/Edit etc. options. I can somewhat get around (1) by launching it with xterm -r, although while this does display white/colored on black, it also makes other menus (e.g. those launched with ctrl-[mouse buttons]) look incomplete. But (2) is the worst; I really need to have scrollbars with this. I see that there's a toggleable option to Enable Scrollbar that I get to with ctrl-Mouse2, but this isn't a regular scrollbar that I can click up and down on, with a moveable thumb, etc., as I used to have before the upgrade and as the gnome-terminal has now. You must not have been using xterm before, then, since I don't believe you can have any scrollbar other than the standard X-style (RMB scrolls up, LMB scrolls down) bar, and it does not come with a menubar either. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: xterm setup
On Sun, Aug 31, 2003 at 12:24:41AM -0500, Dan Nelson wrote: In the last episode (Aug 31), Jesse Sheidlower said: I recently upgraded my desktop to Gnome2, and of the various things that are causing me grief, the biggest is what's happened to my xterm windows. Now, after the change, it does three things differently and annoyingly: (1) it defaults to black/colored text on a white background; (2) it doesn't have a scrollbar of any sort; and (3) there's no menubar with basic File/Edit etc. options. I can somewhat get around (1) by launching it with xterm -r, although while this does display white/colored on black, it also makes other menus (e.g. those launched with ctrl-[mouse buttons]) look incomplete. But (2) is the worst; I really need to have scrollbars with this. I see that there's a toggleable option to Enable Scrollbar that I get to with ctrl-Mouse2, but this isn't a regular scrollbar that I can click up and down on, with a moveable thumb, etc., as I used to have before the upgrade and as the gnome-terminal has now. You must not have been using xterm before, then, since I don't believe you can have any scrollbar other than the standard X-style (RMB scrolls up, LMB scrolls down) bar, and it does not come with a menubar either. Hmm. I certainly thought I was using xterm, as I recall setting up the icon to launch xterm, and my .bashrc is setting TERM to xterm-color rather than gnome-terminal or anything else. And I'm rather sure that I have the exact same setup on my Linux box, which is in the office and thus unavailable for me to look at right now. It's also the case that the font displaying with xterm now looks totally familiar, and the one displaying with gnome-terminal is totally unfamiliar and ugly. Is it possible that the functional scrollbars, etc., were an addition of the window manager, and if so is there any way to replicate it now? Thanks. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: xterm setup
In the last episode (Aug 31), Jesse Sheidlower said: Hmm. I certainly thought I was using xterm, as I recall setting up the icon to launch xterm, and my .bashrc is setting TERM to xterm-color rather than gnome-terminal or anything else. And I'm rather sure that I have the exact same setup on my Linux box, which is in the office and thus unavailable for me to look at right now. It's also the case that the font displaying with xterm now looks totally familiar, and the one displaying with gnome-terminal is totally unfamiliar and ugly. Is it possible that the functional scrollbars, etc., were an addition of the window manager, and if so is there any way to replicate it now? Very unlikely. The window manager has no idea what is inside the rectangle it's managing, so the only useful menuitem it could put up would be close -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ogle-gui and Gnome 2 system
I'm experimenting with dvd players, and I read the agle worked very well. I've got a STABLE machine that's pretty much up to date, including Gnome2. When I started building the ogle-gui port I noticed that it was building a bumch of, what looks like to me, Gome 1.4 libraries. Having just gone through a conversion to Gnome2 on anothe STABLE machien, and remembering that I had to pkg_remove a bunch of Gnome 1.4 stuff, I aborted this build. Is it safe to build this port on a Gnome2 based system? If not what do I need to check to make certain it hasn't installed stuff that's going to present a problem? The make ran a while before I was certain what was going on. It was just going to fetch Gnome-print, when I aborted it. Thanks. -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get CUPS to work (newbie)
On Sat, Aug 30, 2003 at 11:32:50PM -0400, Todd Stephens wrote: I have CUPS installed on my 4.8 system. I cannot seem to configure it, though. I have tried the web interface at localhost:631, but it seems that the cupsd.conf file was not created. Well, then I tried to create this using the print server configuration in KDE and I keep getting permission denied errors when I try to write the cupsd.conf file (running this as root, btw). Basically I am looking for a tutorial somewhere to get CUPS up and running on FreeBSD. Actually, I do have it running, I just can't configure it or add any printers. Not much use without printers :) I checked on freebsddiary.org, and the CUPS page there doesn't cover the configuration of the server itself it seems. Any help is greatly appreciated. Just from memory, I think tht a /usr/local/etc/cups/cupsd.conf file is installed by the port. You need to read through it, and set up the access control to allow you to configure prnters via the web interface. There are exmaples in there. If I recall corectly, the default does not allow configuring, even from the local achine. Hope that helps. -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: xterm setup
Try eTerm, gnome seems to like it and it is very like the program whose features you need. Tim Kellers CPE/NJIT On Sunday 31 August 2003 01:52, Dan Nelson wrote: In the last episode (Aug 31), Jesse Sheidlower said: Hmm. I certainly thought I was using xterm, as I recall setting up the icon to launch xterm, and my .bashrc is setting TERM to xterm-color rather than gnome-terminal or anything else. And I'm rather sure that I have the exact same setup on my Linux box, which is in the office and thus unavailable for me to look at right now. It's also the case that the font displaying with xterm now looks totally familiar, and the one displaying with gnome-terminal is totally unfamiliar and ugly. Is it possible that the functional scrollbars, etc., were an addition of the window manager, and if so is there any way to replicate it now? Very unlikely. The window manager has no idea what is inside the rectangle it's managing, so the only useful menuitem it could put up would be close ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MBR Corruption and Restore
On Sat, Aug 30, 2003 at 07:39:44PM -0400, yo _ typed: Hello All! Unfortunatly, i was having a minor hard disk problem on my first FreeBSD installation, and (so used to Debian) i thought i could fsck after shutdown now. Apparently this was not the case, as my file systems were still mounted. After a quick re-install, with backups, it appears my MBR is corrupted as it will not start the /boot/loader and my BIOS recognizes my disk as a non system disk (FreeBSD has been re-installed, to get into the system i use the boot2 from the bootable CD). Is there anyway i can manually install the FreeBSD boot loader while in the system? I figured it is dd'ing the /boot files to the beginning of my hard disk, but i don't know what location nor how safe this is. Thank to all of you in advance! Try boot0cfg(8) ruben -Rian Hunter _ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB - PS/2
Just noticed that the patch to usbd.c I proposed yesterday shows an undesirable behaviour. That is, usbd executes the actions in usbd.conf of all matching devices, which is not exactly what I meant to do. In fact, usbd should execute for every device name the best matching action in usbd.conf. Supposed usbd.conf is sorted in a way that the most specific entries precede the less specific ones, the following patch should do the trick. Cheers, -- walter pelissero http://www.pelissero.de --- usbd.c.orig Sun Aug 31 17:24:14 2003 +++ usbd.c Sun Aug 31 17:08:19 2003 @@ -102,6 +102,7 @@ int lineno; int verbose = 0; /* print message on what it is doing */ +int single_action = 0; typedef struct event_name_s { int type; /* event number (from usb.h) */ @@ -204,8 +205,7 @@ void print_event __P((struct usb_event *event)); void print_action __P((action_t *action, int i)); void print_actions __P((void)); -int find_action __P((struct usb_device_info *devinfo, - action_match_t *action_match)); +void execute_command __P((char *cmd)); void @@ -674,37 +674,19 @@ int -match_devname(action_t *action, struct usb_device_info *devinfo) +match_devname(regex_t *regex, char *name) { - int i; - regmatch_t match; - int error; - - for (i = 0; i USB_MAX_DEVNAMES; i++) { - if (devinfo-udi_devnames[i][0] == '\0') - break; - - error = regexec(action-devname_regex, devinfo-udi_devnames[i], - 1, match, 0); - if (error == 0) { - if (verbose = 2) - printf(%s: %s matches %s\n, __progname, - devinfo-udi_devnames[i], action-devname); - return(i); - } - } - - return(-1); + return regexec(regex, name, 0, 0, 0) == 0; } - -int -find_action(struct usb_device_info *devinfo, action_match_t *action_match) +void +execute_actions (struct usb_device_info *devinfo, int event_type) { action_t *action; char *devname = NULL; - int match = -1; + int i; + for (i = 0; i USB_MAX_DEVNAMES devinfo-udi_devnames[i][0] != '\0'; i++) { STAILQ_FOREACH(action, actions, next) { if ((action-vendor == WILDCARD_INT || action-vendor == devinfo-udi_vendorNo) @@ -719,15 +701,15 @@ (action-protocol == WILDCARD_INT || action-protocol == devinfo-udi_protocol) (action-devname == WILDCARD_STRING || -(match = match_devname(action, devinfo)) != -1)) { - /* found match !*/ - +match_devname(action-devname_regex, devinfo-udi_devnames[i]))) { + if (verbose = 2) + print_action(action, 0); /* Find a devname for pretty printing. Either * the matched one or otherwise, if there is only * one devname for that device, use that. */ - if (match = 0) - devname = devinfo-udi_devnames[match]; + if (action-devname != WILDCARD_STRING) + devname = devinfo-udi_devnames[i]; else if (devinfo-udi_devnames[0][0] != '\0' devinfo-udi_devnames[1][0] == '\0') /* if we have exactly 1 device name */ @@ -742,16 +724,37 @@ printf(\n); } - action_match-action = action; - action_match-devname = devname; + if (devname) { + int error; + if (verbose = 2) + printf(%s: Setting DEVNAME='%s'\n, + __progname, devname); + error = setenv(DEVNAME, devname, 1); + if (error) + fprintf(stderr, %s: setenv(\DEVNAME\, + \%s\,1) failed, %s\n, + __progname, devname, strerror(errno)); + } - return(1); + if (USB_EVENT_IS_ATTACH(event_type) action-attach) + execute_command(action-attach); + if (USB_EVENT_IS_DETACH(event_type) action-detach) + execute_command(action-detach); +
Re: 4.8 install on Gateway 920
On Tue, Aug 26, 2003 at 05:17:28PM -0500, Don Barkley wrote: i am having a problem installing 4.8 on a new Gateway 920. the system boots and asks for mfsroot.flp. almost immediately after, i get the following: Fatal trap 10: trace trap while in vm86 mode .. instruction, stack and frame pointers follow ... trap number = 10 panic: trace trap Uptime: 1s anyone seen this before? any suggestions? thanks. It could be that one of your floppies is bad or that some bad code has entered the floppie images. (I had the later one time.) The solution for the first option is to get new floppies, the solution for the later is to use floppies of earlies version, install that and then upgrade. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessing http://netbsd.org from FreeBSD
On Sun, 2003-08-31 at 12:30, Felix Deichmann wrote: http://mail-index.netbsd.org/current-users/2003/04/08/0020.html Has something to do with IPv4/IPv6 dual hosts. I disabled IPv6 in my NetBSD kernel and Mozilla works again. Don't know if this solution works for FreeBSD. Heh, you sent me a netbsd.org website! Anyhow, I looked into my kernel config and noticed: -$ grep -i ipv6 /usr/src/sys/i386/conf/ESKI options INET6 #IPv6 communications protocols device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) Which one of these is it suggesting I remove? -- Adam McLaurin [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
5.1-REL won't buildworld - fresh cvsup
Hello all, I'm wondering if anyone else is having the same problem as mine here... For the last 3 days, I have cvsupped and wouldn't ever succeed with `make buildworld`. What could the problem be? Below are snippets from the fail: Once I do, `make buildworld` I see the following at the top of the output: Running test variables PASS: Test variables detected no regression, output matches. Running test targets PASS: Test targets detected no regression. Running test sysvmatch PASS: Test sysvmatch detected no regression. Running test lhs_expn FAIL: Test failed: regression detected. See above. *** Error code 1 Stop in /usr/src/tools/regression/usr.bin/make. *** Error code 1 Stop in /usr/src/tools/regression/usr.bin/make. -- Building an up-to-date make(1) -- sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 make /usr/obj/usr/src/make.i386 -- Rebuilding the temporary build tree -- ... then it runs and later fails with cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/threa d -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib /libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -I/usr/src/lib/libpthread/../libc/i386 -I/usr/src/lib/libpthread/thread -c /usr/src/lib/libpthread/arch/i386/i386/thr_enter_uts.S -o thr_enter_uts.So cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/threa d -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib /libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -I/usr/src/lib/libpthread/../libc/i386 -I/usr/src/lib/libpthread/thread -c /usr/src/lib/libpthread/arch/i386/i386/thr_getcontext.S -o thr_getcontext.So cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/threa d -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib /libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -I/usr/src/lib/libpthread/../libc/i386 -I/usr/src/lib/libpthread/thread -c /usr/src/lib/libpthread/arch/i386/i386/thr_switch.S -o thr_switch.So cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL -I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/threa d -I/usr/src/lib/libpthread/../../include -I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys -I/usr/src/lib /libpthread/../../libexec/rtld-elf -fno-builtin -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall -c /usr/src/lib/libpthread/sys/lock.c - o lock.So building shared library libkse.so.1 *** Error code 1 Stop in /usr/src/lib/libpthread. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have done cd /usr/src make clean make cleandir rm -rf /usr/obj/usr cvsup But that doesn't seem to do the trick. -Wash -- Odhiambo Washington [EMAIL PROTECTED] The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD. GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) You're never too old to become younger. -- Mae West ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: -CURRENT buildworld dies
On Thu, Aug 28, 2003 at 05:59:46PM -0400, Robert Huff wrote: Running 5.0, I cvsup and build -CURRENT every night. (Build, not install.) Recently, the buildworld has been bombing with: As no one else is reporting this or something similar, I'm willing to believe it's my screw-up ... but don't understand the details of the build process well enough to fix. Are the make files broken, have I got a missing or excess file, or did mergemaster take a detour through the Twilight Zone? Robert Huff There is a special maillist for the current brance, ([EMAIL PROTECTED]) it could be that someone on that list has reported this. Its adviced that you sign up to that list if you run current. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB - PS/2
Ok, today I spent some time deciphering the ums log and came up with this patch. --- /sys/dev/usb/ums.c Wed Nov 6 21:23:50 2002 +++ ums.c Sun Aug 31 15:08:52 2003 @@ -428,10 +428,8 @@ } ibuf = sc-sc_ibuf; - if (sc-sc_iid) { - if (*ibuf++ != sc-sc_iid) - return; - } + if (sc-sc_iid) + ibuf++; dx = hid_get_data(ibuf, sc-sc_loc_x); dy = -hid_get_data(ibuf, sc-sc_loc_y); Unfortunately my knowledge (or rather lack of it) of the USB/UMS driver doesn't give me very much confidence that I didn't break something else. What was that conditional return suposed to protect from? Is it safe to remove it? The PS/2 mouse works now and the USB one as well. Cheers, -- walter pelissero http://www.pelissero.de Bruce M Simpson writes: On Sat, Aug 30, 2003 at 01:51:27PM +0200, Walter C. Pelissero wrote: I just bought a USB - PS/2 keyboard and mouse converter for my laptop. It's a Sitecom brand and it gets recognised as MCT Corp. I had similar problems with a Tangtop USB-PS/2 k+m adapter. In the end it turned out that this device was causing uhci to report an error, even though the movement data coming in looked fine. I never got round to fixing it. Perhaps you could try throwing all the debug switches on in the usb drivers and usbd and seeing if you get similar behaviour? Thanks for the patch, this was the other thing that needed fixing! BMS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opera 7b4 does not render frames properly
Dear Arjan, After starting Opera I surf to http://java.sun.com/j2se/1.3/docs/api/. I then browse around a bit and after a while I return to the API page. I can still see the frame outlines, but the pages are grey. This is a known bug in B4, it has problems with frame pages. You'll see the same behavior on Google Groups, for example. All betas after B4 don't have this problem. The updated port for B7 is in PR ports/56181 (http://www.freebsd.org/cgi/query-pr.cgi?pr=56181), but so far I haven't found a committer to commit it. I have tried the patch. The Makefile part does not seem to apply cleanly becuase of the CVS $FreeBSD$ header. Perhaps that should not be part of the patch. Other than that it works fine. The new version of the port does indeed fix the problem that I was seeing. Thank you for the prompt response. Yours, Kees Jan --- Kees Jan Koster e-mail: kjkoster at kjkoster.org www: http://www.kjkoster.org/ --- Life is uncertain; eat dessert first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling ports
On Sun, 31 Aug 2003, Adam McLaurin wrote: On Sun, 2003-08-31 at 10:04, Adam Bender wrote: XFree86-4.2.0_1,1 There's your problem. Portupgrade to 4.3.x and try Xft and xscreensaver again. Hmm, I did the portupgrade (surprisingly quick, do I have to do anything else?). Now I have XFree86-4.3.0,1, but I still get the same compilation errors from Xft. Thanks, Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB - PS/2
Walter C. Pelissero writes: Ok, today I spent some time deciphering the ums log and came up with this patch. deletia Unfortunately my knowledge (or rather lack of it) of the USB/UMS driver doesn't give me very much confidence that I didn't break something else. What was that conditional return suposed to protect from? Is it safe to remove it? The accepted way of finding out would be to do a send-pr to bring it to the formal attention of the usual suspects. (I can't seem to find an appropriate item - anyone got suggestions?) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Updating PORTS tree (cvsup not found) - Can't MAKE install CVSUP
Hi, Could anyone assist me with what exactly could cause this problem: Patch patch-aa failed to apply cleanly. *** Error code 1 Stop in /usr/ports/devel/gmake. *** Error code 1 Stop in /usr/ports/lang/ezm3. *** Error code 1 HERE IS THE RESULTS OF THE MAKE INSTALL PROCESS mail# make install cvsup-snap-16.1g.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from ftp://ftp.polytechnic.edu.na/pub/FreeBSD/ports/distfiles/. Receiving cvsup-snap-16.1g.tar.gz (430151 bytes): 100% 430151 bytes transferred in 7.7 seconds (54.75 kBps) === Extracting for cvsup-without-gui-16.1g Checksum OK for cvsup-snap-16.1g.tar.gz. === Patching for cvsup-without-gui-16.1g === Configuring for cvsup-without-gui-16.1g === cvsup-without-gui-16.1g depends on file: /usr/local/lib/m3/pkg/tcp/FreeBS D4/libm3tcp.a - not found ===Verifying install for /usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a in / usr/ports/lang/ezm3 ezm3-1.0-FreeBSD4-boot.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ ezm3. Attempting to fetch from ftp://ftp.polytechnic.edu.na/pub/FreeBSD/ports/distfiles/ezm3/. Receiving ezm3-1.0-FreeBSD4-boot.tar.bz2 (1319389 bytes): 100% 1319389 bytes transferred in 22.5 seconds (57.24 kBps) ezm3-1.0-src.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ezm3. Attempting to fetch from ftp://ftp.polytechnic.edu.na/pub/FreeBSD/ports/distfiles/ezm3/. Receiving ezm3-1.0-src.tar.bz2 (6128550 bytes): 100% (ETA 00:00) 6128550 bytes transferred in 105.6 seconds (56.67 kBps) === Extracting for ezm3-1.0 Checksum OK for ezm3/ezm3-1.0-FreeBSD4-boot.tar.bz2. Checksum OK for ezm3/ezm3-1.0-src.tar.bz2. === Patching for ezm3-1.0 === Applying FreeBSD patches for ezm3-1.0 === Configuring for ezm3-1.0 === ezm3-1.0 depends on executable: gmake - not found ===Verifying install for gmake in /usr/ports/devel/gmake === Patching for gmake-3.80 === Applying FreeBSD patches for gmake-3.80 1 out of 1 hunks failed--saving rejects to Makefile.in.rej Patch patch-aa failed to apply cleanly. *** Error code 1 Stop in /usr/ports/devel/gmake. *** Error code 1 Stop in /usr/ports/lang/ezm3. *** Error code 1 Stop in /usr/ports/net/cvsup. Kind Regards Schalk Erasmus Incredible Networks http://www.incredible.com.na ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: xterm setup
Jesse Sheidlower wrote: I recently upgraded my desktop to Gnome2, and of the various things that are causing me grief, the biggest is what's happened to my xterm windows. Now, after the change, it does three things differently and annoyingly: (1) it defaults to black/colored text on a white background; (2) it doesn't have a scrollbar of any sort; and (3) there's no menubar with basic File/Edit etc. options. Sounds like the gnome terminal or eterm. The standard xterm doesn't give you a menubar. I can somewhat get around (1) by launching it with xterm -r, although while this does display white/colored on black, it also makes other menus (e.g. those launched with ctrl-[mouse buttons]) look incomplete. You can set up .Xresources to change the behaviour of all xterms: XTerm*reverseVideo: true XTerm*ScrollBar:off XTerm*SaveLines:300 But (2) is the worst; I really need to have scrollbars with this. I see that there's a toggleable option to Enable Scrollbar that I get to with ctrl-Mouse2, but this isn't a regular scrollbar that I can click up and down on, with a moveable thumb, etc., as I used to have before the upgrade and as the gnome-terminal has now. Also: XTerm*ScrollBar:off XTerm*SaveLines:300 and 'xterm -sb' Hmm. I certainly thought I was using xterm, as I recall setting up the icon to launch xterm, and my .bashrc is setting TERM to xterm-color rather than gnome-terminal or anything else. TERM states the capabilities of the terminal. Since most terminals implements the same feature set for input as xterm does, they use the same entry in termcap. Is it possible that the functional scrollbars, etc., were an addition of the window manager, and if so is there any way to replicate it now? Use eterm or any other clone. Hendrik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2003-08-10 - 2003-08-30
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Opera 7b4 does not render frames properly
Dear All, I am using Opera 7 beta 4, from the ports. I access Java's API site quite a bit, but Opera craps out after a few visits. After starting Opera I surf to http://java.sun.com/j2se/1.3/docs/api/. I then browse around a bit and after a while I return to the API page. I can still see the frame outlines, but the pages are grey. I witnessed this behaviour on my laptop and my desktop machine (Opera 7, FreeBSD 4.9-prerelease). All my ports are up to date as of today. The Opera knowledge base site is so confusing that I cannot even search properly. I cannot tell if Opera 7b7 is going to fix this issue or not. Is there anyone running b4 that can confirm/deny my story? Is there anyone running b7 that can tell me if they are seeing the same behaviour? Please keep me CC'd as I am not on the list. Yours, Kees Jan --- Kees Jan Koster e-mail: kjkoster at kjkoster.org www: http://www.kjkoster.org/ --- Life is uncertain; eat dessert first. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Accessing http://netbsd.org from FreeBSD
Since I've started using FreeBSD a year ago, I've never been able to get on the NetBSD website. I am pretty convinced that this has something to do with IPv6, but I don't really know how to prove it, or what to do about it. -$ telnet www.netbsd.org 80 Trying 2001:4f8:4:7:290:27ff:feab:19a7... telnet: connect to address 2001:4f8:4:7:290:27ff:feab:19a7: No route to host Trying 204.152.184.116... Connected to www.netbsd.org. I've tried Mozilla, Konqueror, and Elinks, and none of them will log in. Surely someone has discovered this problem before and found a solution, but Google isn't serving me well on this issue. Anyone care to enlighten me? If it matters, I'm running 5.1-R-p2 with ipf+ipnat. -- Adam McLaurin [EMAIL PROTECTED] P.S. If this is more appropriate for the Net mailing list, just let me know and I'll take it there instead. signature.asc Description: This is a digitally signed message part
Re: Compiling ports
On Sun, 2003-08-31 at 10:04, Adam Bender wrote: XFree86-4.2.0_1,1 There's your problem. Portupgrade to 4.3.x and try Xft and xscreensaver again. -- Adam McLaurin [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Where to go next
On Sat, Aug 30, 2003 at 09:26:26AM -0700, Cesar Diaz wrote: I'm a Windows system administrator trying to learn FreeBSD. I have installed 5.0 on a few machine in my home lab and have the FreeBSD complete reference. My question is, what next? What kind of things, applications etc should I do to get more familiar with the OS? My goal is to use OS for system and security administration. Thanks for any suggestions. First of all: Please a new question by creating a enterly fresh mail (i.e. not replying to another mail). This has te benefid of starting a new tread and thus attract more ppl to you question. There are two basic URL a newbie sould read. - http://www.freebsd.org/handbook/ - http://www.lemis.com/questions.html/ Since you have 5.0 I suggest you first task would be upgrade your computer to 5.1. You can read everything you need to now here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.2
On Sat, Aug 30, 2003 at 02:55:38PM -0400, Adam Bender wrote: I'm trying to install some new ports, and I'm getting a lot of errors of the type: /usr/libexec/ld-elf.so.1: Shared object libintl.so.2 not found I recently upgraded gettext to version 0.12.1, which I think it part of the cause. I now have only libintl.so.5 on my system. How can I resolve these errors? Why is it not recognizing libintl.so.5? One of you applications is tying to use libintl.so.2. This can be fixed by recompiling this application. You can use the command 'nice portupgrade -f application' or 'nice portupgrade -fa' if you don't know which application is the cause for this error. Thanks, Adam P.S. I ran `make install` in /usr/ports/sysutils/portupgrade, and it seemed to install fine, but `portupgrade` is not a command on my system. How do I use it? You did this right afther running make? Run rehash and try again. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. Thank you very much Guy On Sat, 2003-08-30 at 22:00, Kent Stewart wrote: On Saturday 30 August 2003 11:44 am, Guy Van Sanden wrote: Ah, I indeed forgot the system information. It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB). Judging from your timings, this is going to take a while... Yes, on a machine with that speed, it will be several hours. Does buildworld and installworld always take equally long, even say only 10 files changed? Buildworld always takes about the same time. The installworld on my machine runs 4 minutes. Running mergemaster the first time on an upgrade can take a while. You need to look at /usr/src/UPDATING for when you need to run it and the options. The installs are always fast and only the builds take much time. Are there any pitfalls I should be aware of (seeing that this would be the first time I attempt such a thing). That you have done a full src-all on your cvsup. There are also some options that help in your /etc/make.conf. From what I saw a little while ago, the default make.conf is now in the examples directory. Don't let mergemaster replace your hosts entries and your user entries in master.passwd and groups. I edit the password entries manually with vipw and groups with vi. If you have a special /etc/printcap, it will try to replace it. Just pay attention is all that is required. You can save trouble if you back up /etc before you do the installs. Kent On Sat, 2003-08-30 at 18:34, Kent Stewart wrote: On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote: How would I best upgrade my 5.0 installation to 5.1? I have done binary (CD-ROM) updates on 4.x in the past, but I was thinking this could be done using cvsup. Can anyone briefly say wheter this procedure would be right: - change default release=cvs tag=RELENG_5_0 to RELENG_5_1 - cvsup the new sources - follow instructions to buildworld+installworld in Chapter 21 of the handbook. Any ideas how long this would take ? It is totally a function of your computer. Since, you didn't provide that information, we can only provide information on our personal systems. I follow current, since I don't think 5.x is up to 4.x release quality at this point. I don't think it is far off, just not quite there. A buildworld, which is the longest part of an upgrade, requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory and 3 ATA-100 HDs. Having less memory won't affect the build time unless you produce swaping. Having both /usr/src and /usr/obj on the same HD will also increase compile times. The buildkernel probably takes on the order of 10 minutes since it is long enough that I won't sit there to watch and I haven't timed my build script. The installs probably take less than 5 minutes. Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dual/multi head console?
I've googled, searched the FAQ, web page, and newsgroup archives -- there seems to be no information regarding dual/multi head console on FreeBSD. Is this supported? Not X, just virtual consoles. Any advice or pointers appreciated. Nick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where to go next
On Sat, 30 Aug 2003, Cesar Diaz wrote: I'm a Windows system administrator trying to learn FreeBSD. I have installed 5.0 on a few machine in my home lab and have the FreeBSD complete reference. My question is, what next? What kind of things, applications etc should I do to get more familiar with the OS? My goal is to use OS for system and security administration. You could take some old machines and try to set up some small useful things: - a squid-proxy - a samba/cups printer server p.ex. People at work will see, that freebsd is useful, stable (and cheap), and you will (have to) learn a lot. One day you might substitute your PDC by a freebsd/samba machine. Regards, Uli. Thanks for any suggestions. - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usbdevs
Alan Batie wrote: OK, I got a D-Link USB 2 pci card, and now the devices get seen at boot up, though it still thinks it's uhci instead of ohci; I don't know what's what, but thought uhci was 1.1 and ohci was 2.0: No, UHCI and OHCI are both USB 1.1. USB 2.0 host controllers are calles EHCI. EHCI can double as UHCI or OHCI for campatibility. OHCI = Open Host Controller Interface (USB 1.x) UHCI = Universal Host Controller Interface (USB 1.x) EHCI = Enhanced Host Controller Interface (USB 2.0) Hendrik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling ports
On Sat, 30 Aug 2003, Adam McLaurin wrote: On Sat, 2003-08-30 at 15:55, Adam Bender wrote: OK, sorry to deluge the list with questions, but now I've having serious problems compiling ports. What version of XFree86 are you running? XFree86-4.2.0_1,1 Thanks, Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/usr/libexec/elf/ld: cannot find -lXfont
Please excuse my ignorance. I cvsup'd my ports tree and used portupgrade to upgrade everything but I can't get XFree86-FontServer-4.3.0 or Clients to install due to the following error after making: making all in programs/bdftopcf... rm -f bdftopcf cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib bdftopcf.o -lXfont -lfntstubs -L/usr/X11R6/lib -lz -lm -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 and for the FontServer: ar clq libdifs.a main.o dispatch.o extensions.o globals.o events.o tables.ofontinfo.o charinfo.o swapreq.o swaprep.o resource.ofonts.o difsutils.o cache.o initfonts.o atom.o ranlib libdifs.a LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib cc -o xfs -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib difs/libdifs.a difs/libdifs.a os/libos.a -L/usr/X11R6/lib -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib -lXfont -lfntstubs -lm -lz -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Where is this library Xfont supposed to be? Thank you so much for your time. Cheers! -- Aaron Dalton [EMAIL PROTECTED] http://aaron.finch.st ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opera 7b4 does not render frames properly
On Sunday 31 August 2003 12:17, Kees Jan Koster wrote: Dear All, I am using Opera 7 beta 4, from the ports. I access Java's API site quite a bit, but Opera craps out after a few visits. After starting Opera I surf to http://java.sun.com/j2se/1.3/docs/api/. I then browse around a bit and after a while I return to the API page. I can still see the frame outlines, but the pages are grey. I witnessed this behaviour on my laptop and my desktop machine (Opera 7, FreeBSD 4.9-prerelease). All my ports are up to date as of today. The Opera knowledge base site is so confusing that I cannot even search properly. I cannot tell if Opera 7b7 is going to fix this issue or not. Is there anyone running b4 that can confirm/deny my story? Is there anyone running b7 that can tell me if they are seeing the same behaviour? Please keep me CC'd as I am not on the list. Hi Kees Jan, This is a known bug in B4, it has problems with frame pages. You'll see the same behavior on Google Groups, for example. All betas after B4 don't have this problem. The updated port for B7 is in PR ports/56181 (http://www.freebsd.org/cgi/query-pr.cgi?pr=56181), but so far I haven't found a committer to commit it. Best regards, Arjan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mail notificator (iconized) for checking remote pop server ?
Hi, All my email arrives at a remote machine (RH 7.2 Linux box), from which I pop this email to my own FreeBSD PC. I'm searching a small application that notifies me by checking every few minutes the remote pop server for new mail. And it should do that while iconized (to get rid of all the window-manager's decoration around the window). My present solution does that, but is far too bulky for this purpose, since it needs full Netscape communicator running: Netscape communicator (netscape -mail) is running on my own PC and iconized. It pops the remote mail server every 10 minutes. Note that Netscape communicator is the only application, as far as I, that changes its appearance on new email, when iconized! Is there another, much smaller, application that does this too? (The archaic xbiff, for example, does neither change its appearance when iconized, nor can check a remote pop server). Thanks, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get CUPS to work (newbie)
Is the reason maybe, that you missed to execute these commands: newhope:alex {646} pkg_info -D cups-base-1.1.18.0_5 Information for cups-base-1.1.18.0_5: Install notice: ** ** NOTE FOR PACKAGE USERS ONLY: This package does not create the spool directory, due to limitations in the packaging mechanism, or my knowledge of it. Once the package is installed, please do the following (as root): cd /var/spool mkdir -p cups/tmp chown -R root:daemon cups On Sat, Aug 30, 2003 at 11:32:50PM -0400, Todd Stephens wrote: I have CUPS installed on my 4.8 system. I cannot seem to configure it, though. I have tried the web interface at localhost:631, but it seems that the cupsd.conf file was not created. Well, then I tried to create this using the print server configuration in KDE and I keep getting permission denied errors when I try to write the cupsd.conf file (running this as root, btw). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find -type not working on release 5.1?
Joshua Oreman wrote: Make sure you really are typing find /etc -type d, with the -type after the /etc. Something like this: find -type d /etc, would return those errors. I think I was actually using find -type d alone, which works on redhat.. Got to use find . -type d here. ]$ ls x* doesn't seem to work right either.. it's returning all the files..? g* works though.. I don't know what you mean by works/doesn't work. Could you elaborate a little here? Well, I'm used to redhat bash, and even though this is bash, on redhat ls x* -d is good syntax; on freebsd it isn't. So that was it.. got what I wanted with ls -d x*. :) Thanks -- Herculano de Lima Einloft Neto [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozilla bug #40931 causing crashes under 4.8-STABLE
Hi, I can't get mozilla-1.4,2 or mozilla-gtk2-1.4 to work without crashing after a few pages. It looks like the mozilla bug responsible is #40931. Someone has posted a patch there to gdkwindow.c - how can I work out if this patch has been applied to the gtk-2.2.2 port? All dependent packages are up to date with the ports btw. Cheers. -- Dr Seuk - Everyone should have http://www.freedom2surf.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get CUPS to work (newbie)
On Sunday 31 August 2003 08:35 am, Alexander Farber wrote: Is the reason maybe, that you missed to execute these commands: newhope:alex {646} pkg_info -D cups-base-1.1.18.0_5 Information for cups-base-1.1.18.0_5: Ahh. It was actually 1.1.19 that I installed, but my fault for not stating so. I am not sure if it was installed from ports or packages as I did it via portupgrade -NP cups, and then I walked away for a while. I did have to create those directories manually (from your advice), so maybe that had something to do with it. I am going to try to work on it some more today and will reply to the list if it works. Thank you for your assistance. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
On Sunday 31 August 2003 01:50 am, Erik Trulsson wrote: On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. In addition, the manual always tells you that /usr/src/UPDATING is the final reference and it only goes to single user mode to do the installworld. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: -CURRENT buildworld dies
Alex de Kruijff writes: There is a special maillist for the current branch, ([EMAIL PROTECTED]) I'm on it. it could be that someone on that list has reported this. They haven't. nor is it in the PR database. Its adviced that you sign up to that list if you run current. Mine is pretty clearly a case of I've mucked up something trivial. as opposed to The code is broken. The folks on -CURRENT have much better things to do than fix my problem. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade 5.0 to 5.1
Thanks, I hoped it would be so. Chapter 21 of the handbook is not entirely clear about this, it does seem to recommend dropping to single user mode before building... I'll try it without anyway :-) On Sun, 2003-08-31 at 10:50, Erik Trulsson wrote: On Sun, Aug 31, 2003 at 10:20:12AM +0200, Guy Van Sanden wrote: Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. There is absolutely no need to go to single user mode before a buildworld/buildkernel. Never has been necessary either, AFAIK. Read the manual a bit more carefully and I think you will find out that it agrees with me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fast typing
When recently I've switched to a PS/2 Keyboard attached to a USB converter I started to experience strange typos. The problem is extra characters sent to the machine while typing fairly fast. It can be easily reproduced doing this: 1. xset r off 2. press and keep pressed a key, say 'd' 3. press and keep pressed another key, say 'w' 4. release the first key 5. at this point you should see dwww which is not what I expect (dw) 6. release the second key 7. at this point I see a d On a PS/2 keyboard connected directly to a PS/2 port (no converter in between), this doesn't happen. Unfortunately I've got no USB keyboard to try directly without the USB-PS/2 converter. I was wondering if this is a problem of the USB converter or a problem of the ukbd driver. Does anybody else experience the same behaviour? Cheers, -- walter pelissero http://www.pelissero.de ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zmore for bzip2?
On Sun, 31 Aug 2003 [EMAIL PROTECTED] wrote: Adapting zmore for the case where you specify the files to display on the command line is not problem at all: diff kk zmore 5,14d4 get_decompressor () { case `file ${1--} | sed s/[^:]*: *\([^ ]*\).*/\1/` in compress*) DECOMPRESSOR=uncompress -c;; gzip*) DECOMPRESSOR=gzip -cdfq;; bzip2*)DECOMPRESSOR=bunzip2 -cdq;; *) DECOMPRESSOR=cat;; esac } 56,57c46 get_decompressor ${FILE} ${DECOMPRESSOR} $FILE | eval ${PAGER-more} --- gzip -cdfq $FILE | eval ${PAGER-more} But when zmore is used as a pipe or with input redirection, things become more complicated. gzip -cdfq | eval ${PAGER-more} In order to detect the type of data passed on STDIN, the get_decompressor function or any other means of detection would consume STDIN. STDIN, however must be passed to the decompressor after the type of data has been detected. I don't have an idea hot to 'duplicate' STDIN, so it could be As a somewhat ugly hack, you could read a few bytes, match against known magic numbers and then prepend those bytes to the stream before feeding to the decompressor, for the cost of an extra cat process: magic=$(dd bs=1 count=3 2/dev/null) case $magic in BZh) DECOMPRESSOR=bunzip2;; *) DECOMPRESSOR=gzip -cdfq;; esac (echo -n $magic; exec cat) | $DECOMPRESSOR | eval ${PAGER-more} Note that gzip will handle compressed data and gzipped data as well as plain text. $.02, /Mikko consumed twice. Sure, writing it to a temporary file would be a workaround: 38,53c28 FILE=/tmp/.zmore.${$} touch ${FILE} 2/dev/null if [ ${?} -ne 0 ]; then echo can't create temporary file exit 1 fi chmod 0600 ${FILE} cat ${FILE} if [ ${?} -ne 0 ]; then echo can't create temporary file rm -f ${FILE} exit 1 fi get_decompressor ${FILE} cat ${FILE} | ${DECOMPRESSOR} | eval ${PAGER-more} rm -f ${FILE} --- gzip -cdfq | eval ${PAGER-more} But I don't like that. I myself sometimes work with compressed files larger than anything I would be happy to write to /tmp or somewhere else (even though those cases usually rather use zcat and its cousinds than zmore...) Kurt On Sat, Aug 30, 2003 at 12:21:45PM -0400, Chuck Swiger wrote: David Kelly wrote: [ ... ] Yes, of course. But zmore is smart enough to figure out what to do with several compression techniques, or even to handle non-compressed files very trivially and without hassle. 'zmore' is a simple shell script which calls gzcat | ${PAGER-more}. One solution to your problem, or at least a solution, would be to change zmore to look for a trailing bz/bz2 or invoke bzcat instead. Another would be to change the sources of gzip to recognize the bzip2 magic files bytes, extending the detection of gzip versus classic LZH used by compress. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/libexec/elf/ld: cannot find -lXfont
On Sunday 31 August 2003 07:16 am, Aaron Dalton wrote: Please excuse my ignorance. I cvsup'd my ports tree and used portupgrade to upgrade everything but I can't get XFree86-FontServer-4.3.0 or Clients to install due to the following error after making: making all in programs/bdftopcf... rm -f bdftopcf cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib bdftopcf.o -lXfont -lfntstubs -L/usr/X11R6/lib -lz -lm -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 and for the FontServer: ar clq libdifs.a main.o dispatch.o extensions.o globals.o events.o tables.o fontinfo.o charinfo.o swapreq.o swaprep.o resource.o fonts.o difsutils.o cache.o initfonts.o atom.o ranlib libdifs.a LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/e xports/lib cc -o xfs -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib difs/libdifs.a difs/libdifs.a os/libos.a -L/usr/X11R6/lib -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib -lXfont -lfntstubs -lm -lz -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Where is this library Xfont supposed to be? Thank you so much for your time. It was installed by -libraries and deleted when you updated -server. It is no longer a part of -server and you have to reinstall -libraries again. You shouldn't have any problem like this in the future. Kent Cheers! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vgetty
need help with vgetty anyone use this program ?? could really use some help with getting it going. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: scripting the buildworld/installworld process
I'll be glad to post the scripts for review if anyone's interested. I'll take a look and test them for you also. OK, any input or corrections welcome. I definitly would be interested in more error checking and reporting, and I'm thinking about using \time to append the time it takes the long utilities to run to a file for comparison purposes. -- This is the first one -- #!/usr/local/bin/bash # # Update the system, run in multi-user mode echo -n Have you read /usr/src/UPDATING? [y/n]: read a if [ $a = n ] ; then less /usr/src/UPDATING exit fi echo -n Have you merged /etc/group and /usr/src/etc/group? [y/n]: read b if [ $b = n ] ; then diff -c /etc/group /usr/src/etc/group | less exit fi echo -n Have you merged /etc/master.passwd and /usr/src/etc/master.passwd? [y/n]: read c if [ $c = n ] ; then diff -c /etc/master.passwd /usr/src/etc/master.passwd exit fi # copy my customized make.conf cp /disk2/larry/etc/make.conf /etc # copy my customized kernel config file cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf echo -n Clean out /usr/obj? [y/n]: read d if [ $d = y ] ; then cd /usr/obj chflags -R noschg * rm -rf * fi echo -n Continue with build? [y/n]: read e if [ $e = n ] ; then exit fi cd /usr/src make -j4 buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC cp /boot/kernel /boot/kernel.GENERIC make buildkernel KERNCONF=CUSTOM make installkernel KERNCONF=CUSTOM echo Reboot to single user mode and run /disk2/larry/bin/update2 Exit -- This is the second one -- #!/usr/local/bin/bash # # Update the system, run in single user mode echo -n Continue with installworld? [y/n]: read a if [ $a = n ] ; then exit fi make installworld if [ -d /etc.old ] ; then rm -r /etc.old fi cp -Rp /etc /etc.old /usr/sbin/mergemaster -a cd /dev ./MAKEDEV all cd /usr/src/release/sysinstall make clean make all install echo Finished! Do ps and top work? Exit 2. After reading man mergemaster, I see that the -a flag will run mergemaster automatically and leave any new files in /var/tmp/temproot. I'd like to confirm that if I opt to run mergemaster -a, then I should check/merge any files before leaving single user mode. It seems like the right thing to do...? Correct, but I'll advise you run mergemaster manually. Margemaster is such a dangerous thing to run with -a on a system that has had so many mods to /etc When I upgraded from 4.8-p3 to p4 recently, I ran mergemaster manually. The only file I had to make a decision on was (I forget the name) the one that prints the uname information when booting. Just for the sake of discussion, let's say I did opt to run mergemaster -a. All I would have to do is check every file in /var/tmp/temproot and be sure it didn't break anything by overwriting the older version, correct? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: scripting the buildworld/installworld process
On Sunday 31 August 2003 01:25 pm, Charles Howse wrote: I'll be glad to post the scripts for review if anyone's interested. I'll take a look and test them for you also. OK, any input or corrections welcome. I definitly would be interested in more error checking and reporting, and I'm thinking about using \time to append the time it takes the long utilities to run to a file for comparison purposes. -- This is the first one -- #!/usr/local/bin/bash # # Update the system, run in multi-user mode echo -n Have you read /usr/src/UPDATING? [y/n]: read a if [ $a = n ] ; then less /usr/src/UPDATING exit fi echo -n Have you merged /etc/group and /usr/src/etc/group? [y/n]: read b if [ $b = n ] ; then diff -c /etc/group /usr/src/etc/group | less exit fi echo -n Have you merged /etc/master.passwd and /usr/src/etc/master.passwd? [y/n]: read c if [ $c = n ] ; then diff -c /etc/master.passwd /usr/src/etc/master.passwd exit fi # copy my customized make.conf cp /disk2/larry/etc/make.conf /etc # copy my customized kernel config file cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf echo -n Clean out /usr/obj? [y/n]: read d if [ $d = y ] ; then cd /usr/obj chflags -R noschg * rm -rf * fi echo -n Continue with build? [y/n]: read e if [ $e = n ] ; then exit fi cd /usr/src make -j4 buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC cp /boot/kernel /boot/kernel.GENERIC make buildkernel KERNCONF=CUSTOM make installkernel KERNCONF=CUSTOM echo Reboot to single user mode and run /disk2/larry/bin/update2 Exit -- This is the second one -- #!/usr/local/bin/bash # # Update the system, run in single user mode echo -n Continue with installworld? [y/n]: read a if [ $a = n ] ; then exit fi make installworld if [ -d /etc.old ] ; then rm -r /etc.old fi cp -Rp /etc /etc.old /usr/sbin/mergemaster -a cd /dev ./MAKEDEV all cd /usr/src/release/sysinstall make clean make all install echo Finished! Do ps and top work? Exit 2. After reading man mergemaster, I see that the -a flag will run mergemaster automatically and leave any new files in /var/tmp/temproot. I'd like to confirm that if I opt to run mergemaster -a, then I should check/merge any files before leaving single user mode. It seems like the right thing to do...? Correct, but I'll advise you run mergemaster manually. Margemaster is such a dangerous thing to run with -a on a system that has had so many mods to /etc When I upgraded from 4.8-p3 to p4 recently, I ran mergemaster manually. The only file I had to make a decision on was (I forget the name) the one that prints the uname information when booting. Just for the sake of discussion, let's say I did opt to run mergemaster -a. All I would have to do is check every file in /var/tmp/temproot and be sure it didn't break anything by overwriting the older version, correct? One area I would check is /etc/master.passwd and groups. It would be really interesting for you if your user accounts all disappeared. I also won't let mergemaster touch my hosts and printcap files. I would also go to the trouble of tee'ing the makes and create logs of the makes and installs. Since you are going on, you want to know what you have done. What I typically do is make buildworld 21 | tee /var/log/build/bworld-`date +%Y%m%d-%H%M`.log Sorry about the wrap but I have kmail set at col 72. I have relatively large /var and /tmp and just added ../build to /var/log. The date required minutes in order to be unique. I also log all of my cvsups. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
grub
Hi list, Can't boot FreeBSD from the grub bootloader. Error 17 : can't mount selected . This is the config: root (hd1,3,a) kernel /boot/loader I'm running release 5.1. Is there something other to do ?? Thanks for your help. mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vgetty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 31 August 2003 22:21, RYAN vAN GINNEKEN wrote: need help with vgetty anyone use this program ?? could really use some help with getting it going. I am and it is working great. My setup is mgetty+vgetty -- receive voice and faxes, automaticaly print the faxes, send me faxes and voice to my email address. If you need any help, I would be pleased to help... if I can :) Antoine -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD4DBQE/UmDJY3Hnhkr+5cQRAvncAJdtHBbxssdDVZf6efk1ot+PGdbGAJ9P5T2+ M5MG++2PKeYyIxneL4RvLQ== =NB2s -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vgetty
right on glad to hear someone has this program working as i am sort of lost mgetty starts ok i think as i get this in my ps -aux root 487 0.0 1.2 1048 704 ?? S 2:34PM 0:00.03 /usr/local/sbin/mgetty cuaa1 root0 0.0 0.0 00 ?? DLs 7:58AM 0:00.00 (swapper) [Sun Aug 31] 02:34 PM [0] but i want to use vgetty and all the docs talk about /etc/inittab i do not think this file exists in freebsd so where do i make my changes so that vgetty starts instead of mgetty also my log file for mgetty.cuaa1 has some problems with my modem mabey you can help me with that too. i use freebsd 4.8 and a usr 3com pci modem this is what bsd sees for a dmseg sio0: 3COM PCI FaxModem port 0x6c00-0x6c07 irq 9 at device 15.0 on pci0 sio0: moving to sio4 sio4: type 16550A this is my mgetty log mabey i should turn up my debug settings however i really hate to reboot my system Is there a way to reset mgetty vgetty without rebooting as my isp changes ipaddress alot which causes my lots of dns greif and missed emails and web hit etc etc etc 08/31 15:09:19 aa1 mgetty: experimental test release 1.1.30-Dec16 08/31 15:09:19 aa1 check for lockfiles 08/31 15:09:19 aa1 locking the line 08/31 15:09:22 aa1 WARNING: DSR is off - modem turned off or bad cable? 08/31 15:09:22 aa1 lowering DTR to reset Modem 08/31 15:09:23 aa1 send: ATS0=0Q0D3C1[0d] 08/31 15:09:23 aa1 waiting for ``OK'' 08/31 15:09:43 aa1 timeout in chat script, waiting for `OK' 08/31 15:09:43 aa1 init chat timed out, trying force-init-chat 08/31 15:09:43 aa1 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d] 08/31 15:09:47 aa1 waiting for ``OK'' 08/31 15:10:07 aa1 timeout in chat script, waiting for `OK' 08/31 15:10:07 aa1 init chat failed, exiting...: Interrupted system call 08/31 15:10:07 # failed in mg_init_data, dev=cuaa1, pid=572 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: scripting the buildworld/installworld process
I'll be glad to post the scripts for review if anyone's interested. I'll take a look and test them for you also. OK, any input or corrections welcome. I definitly would be interested in more error checking and reporting, and I'm thinking about using \time to append the time it takes the long utilities to run to a file for comparison purposes. -- This is the first one -- #!/usr/local/bin/bash # # Update the system, run in multi-user mode echo -n Have you read /usr/src/UPDATING? [y/n]: read a if [ $a = n ] ; then less /usr/src/UPDATING exit fi echo -n Have you merged /etc/group and /usr/src/etc/group? [y/n]: read b if [ $b = n ] ; then diff -c /etc/group /usr/src/etc/group | less exit fi echo -n Have you merged /etc/master.passwd and /usr/src/etc/master.passwd? [y/n]: read c if [ $c = n ] ; then diff -c /etc/master.passwd /usr/src/etc/master.passwd exit fi # copy my customized make.conf cp /disk2/larry/etc/make.conf /etc # copy my customized kernel config file cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf echo -n Clean out /usr/obj? [y/n]: read d if [ $d = y ] ; then cd /usr/obj chflags -R noschg * rm -rf * fi echo -n Continue with build? [y/n]: read e if [ $e = n ] ; then exit fi cd /usr/src make -j4 buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC cp /boot/kernel /boot/kernel.GENERIC make buildkernel KERNCONF=CUSTOM make installkernel KERNCONF=CUSTOM echo Reboot to single user mode and run /disk2/larry/bin/update2 Exit -- This is the second one -- #!/usr/local/bin/bash # # Update the system, run in single user mode echo -n Continue with installworld? [y/n]: read a if [ $a = n ] ; then exit fi make installworld if [ -d /etc.old ] ; then rm -r /etc.old fi cp -Rp /etc /etc.old /usr/sbin/mergemaster -a cd /dev ./MAKEDEV all cd /usr/src/release/sysinstall make clean make all install echo Finished! Do ps and top work? Exit 2. After reading man mergemaster, I see that the -a flag will run mergemaster automatically and leave any new files in /var/tmp/temproot. I'd like to confirm that if I opt to run mergemaster -a, then I should check/merge any files before leaving single user mode. It seems like the right thing to do...? Correct, but I'll advise you run mergemaster manually. Margemaster is such a dangerous thing to run with -a on a system that has had so many mods to /etc When I upgraded from 4.8-p3 to p4 recently, I ran mergemaster manually. The only file I had to make a decision on was (I forget the name) the one that prints the uname information when booting. Just for the sake of discussion, let's say I did opt to run mergemaster -a. All I would have to do is check every file in /var/tmp/temproot and be sure it didn't break anything by overwriting the older version, correct? One area I would check is /etc/master.passwd and groups. It would be really interesting for you if your user accounts all disappeared. I also won't let mergemaster touch my hosts and printcap files. I'm not sure exactly what you mean. I'm asking whether or not to diff the master.passwd and group files ( see above ). If I run mergemaster -a, my understanding is that it doesn't make any changes, it just leaves the new files in /var/tmp/temproot to be dealt with later, so it wouldn't touch my hosts and other important custom files, right? I would also go to the trouble of tee'ing the makes and create logs of the makes and installs. Since you are going on, you want to know what you have done. What I typically do is make buildworld 21 | tee /var/log/build/bworld-`date +%Y%m%d-%H%M`.log Excellent idea, if I was tight on disk space, I could even gzip them. required minutes in order to be unique. I also log all of my cvsups. Another great idea! Thanks! I've just been working on timing the different processes, here's a snippet... Printf Time for buildworld:\t /root/build.log \time -aho /root/build.log make buildworld Printf \n /root/build.log BTW, which field do I want from the output of time? Real, user, whatever? I'll also need to do some cut'ing in order to just get the proper field from time...or I could just let it rip...? For instance... Time for buildworld: 2:34:15 real 2:35:12 useretc... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How do I change the speed on ttyd0?
Malcolm: Thanks. I set ttyd0 with ttyid0 and I am reading the output. The problem I have is if I reboot the server I have to set the speed for ttyd0 again. I tried to configure ttys and rc.serial to get default port settings without success. Do you know how to change the default settings in this case ttyd0? -m -Original Message- From: Malcolm Kay [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 3:38 AM To: Marcelo Schmidt; [EMAIL PROTECTED] Subject: Re: How do I change the speed on ttyd0? On Fri, 29 Aug 2003 15:56, Marcelo Schmidt wrote: Hi, I need to read data from a temperature sensor (PIC12C509) that requires: serial data at 2400 baud, 8 bits, no parity, one or two stop bits. I tried several things, tip, cu, Device-SerialPort-0.13, etc. It seems to be the ttyd0 speed is locked in 9600: # stty -a -f /dev/ttyd0 Since you are calling out it is probably better to use /dev/cuaa0; but must admit I don't fully understand the implications of cuaa0 vs ttyd0. In any case you can set the default parameters on ttyd0 with ttyid0 or cuaa0 with cuaia0. This pseudo ports are for the sole purpose of setting the defaults on ttyd0 and cuaa0. So assuming you use /dev/cuaa0 then you want: # stty -f /dev/cuaia0 speed 2400 You probably also want to set some other parameters such as: # stty -f /dev/cuaia0 clocal speed 9600 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk -brkint -inpck -ignpar -parmrk oflags: -opost -onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; My /etc/ttys: ttyd0 /usr/libexec/getty std.2400 unknown off secure local I also got sometimes: /kernel: sio0: 26 more tty-level buffer overflows (total 8805). So how do I change the speed on ttyd0? Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problems
On Sun, Aug 31, 2003 at 03:31:09PM -0600, RYAN vAN GINNEKEN wrote: i keep geting this error in my postfix logs have tried newaliases command and it does not help also have tried to forward roots mail to a different accout and it does not seem to be working can someone help with this postfix/local[617]: warning: database /etc/mail/aliases.db is older than source file /etc/mail/aliases You need to update the /etc/mail/aliases.db file, run portmap /etc/mail/aliases -- Kjell Rune Glærum AV/IT-seksjonen, Det medisinske fakultet, NTNU Telefon: (735) 98772 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problems
On Sun, Aug 31, 2003 at 03:31:09PM -0600, RYAN vAN GINNEKEN wrote: i keep geting this error in my postfix logs have tried newaliases command and it does not help also have tried to forward roots mail to a different accout and it does not seem to be working can someone help with this postfix/local[617]: warning: database /etc/mail/aliases.db is older than source file /etc/mail/aliases You (or someone else) updated the aliases flatfile without running postalias(1). postalias /etc/mail/aliasesshould fix it. mike -- ___ MR NUTTY, HOW ABOUT A GLASS, WHAT SAY YOU! - Pokey the Penguin from ONE GLASS OF TURPENTINE COMING RIGHT UP ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum stripe values table?
Good Afternoon, The values to plug into vinum for stripe size has always been vague, other than avoiding a power of 2. Is there any way to calculate an optimal value? Or is there a table anywhere? Given an 8 drive raid5 array, where each drive is an identical 4096m drive, where do I start? Please not that I am not subscribed - please copy any responses directly as well as to the list. Many Thanks! -- Yours, J.A. Terranson [EMAIL PROTECTED] Every living thing dies alone. Donnie Darko ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub
This is the config: root (hd1,3,a) kernel /boot/loader I'm running release 5.1. Is there something other to do ?? Thanks for your help. mess-mate Grub does not support UFS2 currently. The solution is to use UFS1 for the root partition, then everything works fine. IIRC to achive you have to select Custom Options while creating the partitions and replace -02 with -01. Bye Stefan Or you can just use the following: title FreeBSD RELEASE 5.1 rootnoverify (hd1,3) chainloader +1 Don't know if there are any practical differences.. -- Herculano de Lima Einloft Neto [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: scripting the buildworld/installworld process
On Sunday 31 August 2003 02:19 pm, Charles Howse wrote: I'll be glad to post the scripts for review if anyone's interested. I'll take a look and test them for you also. OK, any input or corrections welcome. I definitly would be interested in more error checking and reporting, and I'm thinking about using \time to append the time it takes the long utilities to run to a file for comparison purposes. -- This is the first one -- #!/usr/local/bin/bash # # Update the system, run in multi-user mode echo -n Have you read /usr/src/UPDATING? [y/n]: read a if [ $a = n ] ; then less /usr/src/UPDATING exit fi echo -n Have you merged /etc/group and /usr/src/etc/group? [y/n]: read b if [ $b = n ] ; then diff -c /etc/group /usr/src/etc/group | less exit fi echo -n Have you merged /etc/master.passwd and /usr/src/etc/master.passwd? [y/n]: read c if [ $c = n ] ; then diff -c /etc/master.passwd /usr/src/etc/master.passwd exit fi # copy my customized make.conf cp /disk2/larry/etc/make.conf /etc # copy my customized kernel config file cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf echo -n Clean out /usr/obj? [y/n]: read d if [ $d = y ] ; then cd /usr/obj chflags -R noschg * rm -rf * fi echo -n Continue with build? [y/n]: read e if [ $e = n ] ; then exit fi cd /usr/src make -j4 buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC cp /boot/kernel /boot/kernel.GENERIC make buildkernel KERNCONF=CUSTOM make installkernel KERNCONF=CUSTOM echo Reboot to single user mode and run /disk2/larry/bin/update2 Exit -- This is the second one -- #!/usr/local/bin/bash # # Update the system, run in single user mode echo -n Continue with installworld? [y/n]: read a if [ $a = n ] ; then exit fi make installworld if [ -d /etc.old ] ; then rm -r /etc.old fi cp -Rp /etc /etc.old /usr/sbin/mergemaster -a cd /dev ./MAKEDEV all cd /usr/src/release/sysinstall make clean make all install echo Finished! Do ps and top work? Exit 2. After reading man mergemaster, I see that the -a flag will run mergemaster automatically and leave any new files in /var/tmp/temproot. I'd like to confirm that if I opt to run mergemaster -a, then I should check/merge any files before leaving single user mode. It seems like the right thing to do...? Correct, but I'll advise you run mergemaster manually. Margemaster is such a dangerous thing to run with -a on a system that has had so many mods to /etc When I upgraded from 4.8-p3 to p4 recently, I ran mergemaster manually. The only file I had to make a decision on was (I forget the name) the one that prints the uname information when booting. Just for the sake of discussion, let's say I did opt to run mergemaster -a. All I would have to do is check every file in /var/tmp/temproot and be sure it didn't break anything by overwriting the older version, correct? One area I would check is /etc/master.passwd and groups. It would be really interesting for you if your user accounts all disappeared. I also won't let mergemaster touch my hosts and printcap files. I'm not sure exactly what you mean. I'm asking whether or not to diff the master.passwd and group files ( see above ). If I run mergemaster -a, my understanding is that it doesn't make any changes, it just leaves the new files in /var/tmp/temproot to be dealt with later, so it wouldn't touch my hosts and other important custom files, right? Your diff would have caught it. I scrolled past it too fast and zeroed in on other things :). I would also go to the trouble of tee'ing the makes and create logs of the makes and installs. Since you are going on, you want to know what you have done. What I typically do is make buildworld 21 | tee /var/log/build/bworld-`date +%Y%m%d-%H%M`.log Excellent idea, if I was tight on disk space, I could even gzip them. required minutes in order to be unique. I also log all of my cvsups. Another great idea! Thanks! I've just been working on timing the different processes, here's a snippet... Printf Time for buildworld:\t /root/build.log \time -aho /root/build.log make buildworld Printf \n /root/build.log BTW, which field do I want from the output of time? Real, user, whatever? I'll also need to do some cut'ing in order to just get the proper field from time...or I could just let it rip...? For instance... Time for buildworld: 2:34:15 real2:35:12 useretc... When I started timing my buildworlds, I figured out that you need everything but the right hand stuff in the following AMD Athlon 2000+
Re: grub
Hi Stefan, a little : makeactive chainloader +1 and there we go !! A debian-user give me the tip. A+ mess-mate On Sun, 31 Aug 2003 23:25:14 +0200 Stefan Malte Schumacher [EMAIL PROTECTED] wrote: | On Sun, Aug 31, 2003 at 22:47:00 +0200, mess-mate wrote: | Hi list, | Can't boot FreeBSD from the grub bootloader. | Error 17 : can't mount selected . | This is the config: | root (hd1,3,a) | kernel /boot/loader | I'm running release 5.1. | Is there something other to do ?? | Thanks for your help. | mess-mate | | Grub does not support UFS2 currently. The solution is to use UFS1 for the | root partition, then everything works fine. IIRC to achive you have to | select Custom Options while creating the partitions and replace -02 with | -01. | | Bye | Stefan | ___ | [EMAIL PROTECTED] mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: scripting the buildworld/installworld process
When I started timing my buildworlds, I figured out that you need everything but the right hand stuff in the following AMD Athlon 2000+ XP 877.636u 233.835s 23:02.33 80.4%1350+1662k 46008+7469io 2359pf+0w bw w -j2 891.151u 303.327s 35:02.77 56.8%1305+1600k 52256+138679io 2749pf+0w bw w -j3 894.429u 305.373s 31:29.87 63.4%1305+1595k 50306+138970io 1914pf+0w bw w -j4 893.259u 310.180s 32:43.57 61.2%1308+1597k 56102+138705io 2145pf+0w bw w -j5 893.563u 311.353s 30:31.44 65.7%1302+1591k 53927+138930io 2331pf+0w The wall clock time is really how efficient your process is. The fact that your user time or sys time is faster doesn't mean much if the wall clock time is 1/3 longer. I haven't automated timing this part because I time the whole script and not just the build. I would cut off the right hand side but it is too trivial to use just time mkworld and cut and paste the time into a cat times.log of my builds. This also lets me add comments in addition to the build time information. For example, the AMD 2000+ was important because that was the first build after an upgrade from an Intel P III 866. The upgrade was needed because the old mobo went flaky. I think that once you have it setup, I will probably make my KISS simple script more complicated :). I have one machine that the mouse doesn't work in single user mode and including the timing into my mkworld script would save time. I can always go back and edit my time log to include the comments. If I have a choice, I would add the date field to the right hand side so that I can connect the time to the build log. I read briefly your web page about the -j urban legend. From the stats above, it looks like it runs faster without the -j flag...? That might be something interesting to play with on my Celeron 300 w/ 64MB. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: grub
mess-mate [EMAIL PROTECTED] writes: Can't boot FreeBSD from the grub bootloader. [...] I'm running release 5.1. Try to boot it the way you do it for Windows. Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]