Re: Received mail timestamp is off by 7 hours
It doesn't only happen when I receive mail from my gmail account - it's with all email that passes through this server. On Sun, 27 Feb 2005 17:54:56 +1000, Timothy Smith [EMAIL PROTECTED] wrote: check your gmail account it's set to the wrong time zone or something. if date gives the correct time then thats what your server is using. Pat Maddox wrote: I forgot to give a bit of info. My local machine has the correct time of 10:05PM, and the server has the correct time of 11:05PM. If I send an email from a mail account on the server to gmail, it has the correct time. If I send an email from gmail back to the server, that's when it has the weird time offset. On Sat, 26 Feb 2005 21:00:49 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Saturday 26 February 2005 08:38 pm, Pat Maddox wrote: I've been having a weird problem lately...when I download an email from my mailserver, the time is off by 7 hours. For example, if I receive an email at 9:30pm, it lists the time as 2:30pm in my mail client. I've determined that it's just a problem on received messages, because if I use my client with a different mail server, the time is fine, and if I send mail to another server, the time is fine. It's annoying to me because messages will show up somewhere in the middle of my 300+ message inbox, and users have been complaining about it. What's going on, and how do I fix it? I'm using postfix and courier-imap. For starters, it looks like you are running PDT. You have a -0700 offset and it should be -800. It could be on gmail.com but you can test your end :). So, I don't have any idea other than type date and see if you have the right date and timezone. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2005-02-06 - 2005-02-26
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org 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 BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rebooting removes libauthmysql.so
Whenever I reboot my machine, libauthmysql.so gets deleted, so I can't use courier-imap anymore. I can't figure out why it's doing it, and it's bugging the hell out of me. Anyone familiar with this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question, is there any way or program that will let youclone/image a FreeBSD system
Hi Andrew, Is there any way to do? I have read about with g4u, dd, dump/restore but they do not seems to be able to do create the clone/image on a secondary attached hard disk drive. g4u has definitely the ability to copy to another disk: --- 4.4 Copying a disk locally If you just want to copy one local disk to another one with no network server involved, the copydisk command is what you want. E.g. to copy the first IDE disk to the second IDE disk, use copydisk wd0 wd1, to do the same for SCSI disks run copydisk sd0 sd1. Beware! All data on the target disk will be erased! A list of disks as found during system startup can be found using the disks command. --- -volker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
Pat Maddox writes: I forgot to give a bit of info. My local machine has the correct time of 10:05PM, and the server has the correct time of 11:05PM. If I send an email from a mail account on the server to gmail, it has the correct time. If I send an email from gmail back to the server, that's when it has the weird time offset. Can you post the complete headers of one of the messages that has the incorrect time? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
I've included the headers of messages from both Gmail and Hotmail, to show that it's not on Gmail's end. Also, here's the output from date: %date Sun Feb 27 02:42:21 CET 2005 They should show up in my inbox as being received at 1:40am or so, but they show up as 6:40pm instead. From Gmail: Return-Path: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by cantona.dnswatchdog.com (Postfix) with ESMTP id 3161733C1B for [EMAIL PROTECTED]; Sun, 27 Feb 2005 02:38:52 +0100 (CET) Received: by wproxy.gmail.com with SMTP id 67so1650347wri for [EMAIL PROTECTED]; Sun, 27 Feb 2005 00:37:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=hjLLSBpqixF9ZtT/yR/J0KR8cULmdWnOLmaYIsYKg99SQKXa7dEdESLtnPeg2N+mOL9Pf9PWdu6tQMDHpg97lKTqEJuoBNNeYb6oqh55yJglvxbCSHCKf+pJ6uKBdDlBXbK70uk9AKXugjD2VXjpYJN9jXploX3xgtWtU06wgVE= Received: by 10.54.57.1 with SMTP id f1mr19787wra; Sun, 27 Feb 2005 00:37:53 -0800 (PST) Received: by 10.54.42.28 with HTTP; Sun, 27 Feb 2005 00:37:53 -0800 (PST) Message-ID: [EMAIL PROTECTED] Date: Sun, 27 Feb 2005 01:37:53 -0700 From: Pat Maddox [EMAIL PROTECTED] Reply-To: Pat Maddox [EMAIL PROTECTED] To: Pat Maddox [EMAIL PROTECTED] Subject: test Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From Hotmail: Return-Path: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from hotmail.com (bay103-f18.bay103.hotmail.com [65.54.174.28]) by cantona.dnswatchdog.com (Postfix) with ESMTP id A660C33C1B for [EMAIL PROTECTED]; Sun, 27 Feb 2005 02:39:59 +0100 (CET) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 27 Feb 2005 00:39:00 -0800 Message-ID: [EMAIL PROTECTED] Received: from 65.54.174.205 by by103fd.bay103.hotmail.msn.com with HTTP; Sun, 27 Feb 2005 08:38:25 GMT X-Originating-IP: [65.54.174.205] X-Originating-Email: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] From: Patrick Maddox [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test from hotmail Date: Sun, 27 Feb 2005 08:38:25 + Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 27 Feb 2005 08:39:00.0233 (UTC) FILETIME=[C8B4B790:01C51CA7] On Sun, 27 Feb 2005 09:34:17 +0100, Anthony Atkielski [EMAIL PROTECTED] wrote: Pat Maddox writes: I forgot to give a bit of info. My local machine has the correct time of 10:05PM, and the server has the correct time of 11:05PM. If I send an email from a mail account on the server to gmail, it has the correct time. If I send an email from gmail back to the server, that's when it has the weird time offset. Can you post the complete headers of one of the messages that has the incorrect time? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
John writes: I suppose I'm nit-picking here, but you would cron it rather than running it by hand. It's mostly the space that I prefer not to part with. How much space have you got to play with? About 2 GB total remaining on /usr. Just installing X stuff gobbled up a few hundred megabytes, it seems. If space is tight, running make distclean after make install helps, as does periodically deleting the contents of /usr/ports/distfiles Does pkg_add do this? [0] if you mean, by pull the index from an ftp site cd /usr/ports make index I meant running /stand/sysinstall and selecting an FTP site as the installation media for the software. It always downloads some sort of index when I do that, which I assume is an up-to-date list of all the ports available. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Constant mysterious SCSI errors
Dan Nelson writes: Try lowering the max tags for that drive: camcontrol tags da0 -N 32. Tried it. I still get the same error; it doesn't seem to have diminished. I get the queue full stuff in bursts, then the process trying to do the I/O stalls, then after 30-40 seconds I get one of those huge panel dumps I posted, then the process continues. There doesn't seem to be any data loss. The rest of the system continues to run (it's a 2-processor system, so I don't know if one of the processors is halted when this happens). The problem only seems to arise when there is heavy disk activity. If that works, you can stick it in rc.local, or add an entry to the xpt_quirk_table[] in /sys/cam/cam_xpt.c . It probably needs something similar to the quantum quirk lines. The change to cam_spt.c requires a rebuild of the kernel, right? I found references to SCSI quirks on the Net, but not knowing much about SCSI, I wasn't sure which might apply to my situation. Can you explain what all these messages are actually saying? What does it all mean? I never know what to look for in this output, but most of the time, I think it's a cabling or termination problem. Reseat all the plugs :) Well, there haven't been any cabling or termination problems in the past eight years, so it seems unlikely that they've appeared today. I think I can safely rule out any type of actual hardware problem. It's either a software configuration problem or a software bug (which might mean a quirk, I suppose). (Note also that these two drives and the controller are on the internal connector of the controller, and although the controller provides an external connector, too, there's nothing connected to it--which further makes cabling or termination problems unlikely.) -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which app to watch movies?
I'm trying to watch some movies from archive.org, but I'm not familiar with the correct process. I installed xine and avifiles, but they can't play the free mpeg4 movies I'm downloading from archive.org. Am I supposed to install the codecs separately? Or should I be using a different video player? I'm not clear on what the relationship is between the various players and codec packages in /usr/ports is. Other than xine, I'm not sure which other ones are most commonly used. I'm trying to watch some of these movies: http://www.archive.org/movies/movies-details-db.php?collection=prelingercollectionid=17225from=mostViewed Any movie watching tips would also be appreciated. Oh, I did get Realplayer8 to work inside WINE, which was pretty cool. thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
On Sun, Feb 27, 2005 at 04:24:16AM -0500, bsdnooby wrote: I'm trying to watch some movies from archive.org, but I'm not familiar with the correct process. I installed xine and avifiles, but they can't play the free mpeg4 movies I'm downloading from archive.org. I use mplayer. Kris pgpPgQhLk3kkZ.pgp Description: PGP signature
Re: Received mail timestamp is off by 7 hours
Pat Maddox writes: I've included the headers of messages from both Gmail and Hotmail, to show that it's not on Gmail's end. Also, here's the output from date: %date Sun Feb 27 02:42:21 CET 2005 That can't be right. You sent your message in reply to a message I sent at 9:34 CET. The time on your local machine is incorrect by seven hours. It should be one hour ahead of UTC right now. They should show up in my inbox as being received at 1:40am or so, but they show up as 6:40pm instead. And 1:40 is exactly seven hours later than 18:40. The disparity is visible in the timestamps, too: From Gmail: Return-Path: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by cantona.dnswatchdog.com (Postfix) with ESMTP id 3161733C1B for [EMAIL PROTECTED]; Sun, 27 Feb 2005 02:38:52 +0100 (CET) Notice that the timestamp on your local e-mail server corresponds to 1:38:52 UTC, but the timestamp on Gmail's server ... Received: by wproxy.gmail.com with SMTP id 67so1650347wri for [EMAIL PROTECTED]; Sun, 27 Feb 2005 00:37:53 -0800 (PST) ... corresponds to 8:37:53 UTC, which is correct. The other timestamps for intermediate servers are also correct, but the timestamp generated by your machine on the original message is not ... Date: Sun, 27 Feb 2005 01:37:53 -0700 -0700 corresponds to MST (Mountain Standard Time in the U.S.), not CET (Central European Time). So the solution is to set the time and time _zone_ correctly on your machine. For a UNIX machine, the CMOS real-time clock should be set to UTC (what many people still call GMT), and then your time zone should be set to whatever is appropriate for your location (CET would correspond to most of Europe outside of the UK--here in France we are on CET). Are you by any chance running a dual-boot configuration? Windows expects the CMOS RTC to be set to local time. UNIX expects it to be set to UTC. If you are running only FreeBSD, you can just reset the CMOS to UTC and fix your time zone to match your location. If you are also running a boot of Windows or something like that, you'll have to leave the CMOS clock set to local time, and make appropriate adjustments. Unfortunately, I'm not sure which variables to change in FreeBSD, as I've always just set the time at installation time (when I'm asked if the local clock is UTC and what time zone I'm in). Maybe someone else can explain what needs to change in your FreeBSD configuration to set it to the correct time. In general, setting the time incorrectly on a local client machine in the SMTP protocol will produce seemingly random errors in the time on received messages, depending on the path they follow on their way to you (this is true even for messages you send to yourself). The local machine is almost always the one with the time set incorrectly (incorrect time on mail servers tends to be noticed by users very quickly, especially if more than one time zone is involved). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Yahoo! moving from FreeBSD?
Ted Mittelstaedt writes: Cisco's online knowledgebase is far superior. Since Cisco equipment is outside my budget, I've never had any occasion to look at theirs, but I'll take your word for it. (Then again, hopefully I wouldn't _need_ the knowledgebase if I had Cisco gear.) -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
Alright, I got it all working now. Not sure how to change the time zone with config files, so I just used sysinstall to change it to MST (time zone is arbitrary, but since this is the zone I live in, it's convenient for me). Then I used ntpdate to sync it, and it's working well now. Thanks for pointing that out to me. I just thought that CET was central time :) On Sun, 27 Feb 2005 10:36:35 +0100, Anthony Atkielski [EMAIL PROTECTED] wrote: Pat Maddox writes: I've included the headers of messages from both Gmail and Hotmail, to show that it's not on Gmail's end. Also, here's the output from date: %date Sun Feb 27 02:42:21 CET 2005 That can't be right. You sent your message in reply to a message I sent at 9:34 CET. The time on your local machine is incorrect by seven hours. It should be one hour ahead of UTC right now. They should show up in my inbox as being received at 1:40am or so, but they show up as 6:40pm instead. And 1:40 is exactly seven hours later than 18:40. The disparity is visible in the timestamps, too: From Gmail: Return-Path: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by cantona.dnswatchdog.com (Postfix) with ESMTP id 3161733C1B for [EMAIL PROTECTED]; Sun, 27 Feb 2005 02:38:52 +0100 (CET) Notice that the timestamp on your local e-mail server corresponds to 1:38:52 UTC, but the timestamp on Gmail's server ... Received: by wproxy.gmail.com with SMTP id 67so1650347wri for [EMAIL PROTECTED]; Sun, 27 Feb 2005 00:37:53 -0800 (PST) ... corresponds to 8:37:53 UTC, which is correct. The other timestamps for intermediate servers are also correct, but the timestamp generated by your machine on the original message is not ... Date: Sun, 27 Feb 2005 01:37:53 -0700 -0700 corresponds to MST (Mountain Standard Time in the U.S.), not CET (Central European Time). So the solution is to set the time and time _zone_ correctly on your machine. For a UNIX machine, the CMOS real-time clock should be set to UTC (what many people still call GMT), and then your time zone should be set to whatever is appropriate for your location (CET would correspond to most of Europe outside of the UK--here in France we are on CET). Are you by any chance running a dual-boot configuration? Windows expects the CMOS RTC to be set to local time. UNIX expects it to be set to UTC. If you are running only FreeBSD, you can just reset the CMOS to UTC and fix your time zone to match your location. If you are also running a boot of Windows or something like that, you'll have to leave the CMOS clock set to local time, and make appropriate adjustments. Unfortunately, I'm not sure which variables to change in FreeBSD, as I've always just set the time at installation time (when I'm asked if the local clock is UTC and what time zone I'm in). Maybe someone else can explain what needs to change in your FreeBSD configuration to set it to the correct time. In general, setting the time incorrectly on a local client machine in the SMTP protocol will produce seemingly random errors in the time on received messages, depending on the path they follow on their way to you (this is true even for messages you send to yourself). The local machine is almost always the one with the time set incorrectly (incorrect time on mail servers tends to be noticed by users very quickly, especially if more than one time zone is involved). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
Pat Maddox writes: Alright, I got it all working now. Not sure how to change the time zone with config files, so I just used sysinstall to change it to MST (time zone is arbitrary, but since this is the zone I live in, it's convenient for me). Well, no, time zone isn't arbitrary, it needs to be chosen carefully. Normally you set it to the time zone the machine is actually in (though for remote servers one can set it for the time zone the machine actually serves). Time zone can also influence the changeover dates and times for Daylight Saving Time, if that is used (if you're in Arizona, it's not). I'm not sure how this is handled in FreeBSD, but it always seems to magically set itself on my machines at the appropriate time. Even more important, however, is setting the real-time clock to UTC. Thanks for pointing that out to me. I just thought that CET was central time :) I think Central Standard Time is CST. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I killed my system with grep
Ramiro Aceves wrote: Hello FreeBSD friends: I am running a FreeBSD 5.3 system with 64MB RAM and 150 MB swap. Yesterday I entered the command: # grep -R something / and after a while, my system did not respond. I do not remember the exact messages as I am on a winbugs at the University. The error was about swapping. I could switch among terminals but the system was dead. I needed to reboot. I rebooted and tried again watching top output and I could see as swap usage was incresing very quickly until it ran out of swap space and the swap pager failed. Was my sytem dead? or, is it possible to recover from that state without rebooting? How is it possible that a simple command like this could auto-kill the machine? What is the recomended fix for this?: a- Asigning more swap. b- Not executing that command anymore. Thank you very much for your advices and help. Ramiro Thanks all for your responses. I understand that I should avoid greping into /dev. I will do more accurate searchs into the directories. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Matlab on FreeBSD 5.3
I've tried installing Matlab 13 on FBSD5.3 according to the handbook but I can't get it to work. This is pretty annoying since it cost a lot of money. I was really stupid, in that, I had a years technical support from Mathwords, but kind of gave up because their suggestions got me nowhere and it was quicker just to use a pirated copy on windows than follow their suggestions when really that was the perfect opportunity to continually badger them; since I was paying for it they were obliged to respond... The problem is the license manager as far as I can tell, I can't seem to get it to start. OK, there are a lot of different pieces of information I could post at this point, but I'm not sure which are most relevant. So, first of all, I think a sensible question I should ask is this: Has anyone on this list got Matlab 13 (aka 6.5) running on FBSD5.3? If so, did you do this by following the instructions in the handbook verbatim, or some other way? thanks cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Matlab on FreeBSD 5.3
Hi, I managed to install matlab 6.5 on a freebsd 5.3, but I can't tell you exactly how I did now, since I have no matlab here. I remember that I played a bit with scripts regarding the detection of architecture ( I just edited these scripts and forcely set environment variable to i386 or so ) and did few other modifications, but they were quite simple. You should manage to get it running, however. hope this gives you one more hope :) regards, santo natale On Sun, Feb 27, 2005 at 11:37:04AM -, cali wrote: I've tried installing Matlab 13 on FBSD5.3 according to the handbook but I can't get it to work. This is pretty annoying since it cost a lot of money. I was really stupid, in that, I had a years technical support from Mathwords, but kind of gave up because their suggestions got me nowhere and it was quicker just to use a pirated copy on windows than follow their suggestions when really that was the perfect opportunity to continually badger them; since I was paying for it they were obliged to respond... The problem is the license manager as far as I can tell, I can't seem to get it to start. OK, there are a lot of different pieces of information I could post at this point, but I'm not sure which are most relevant. So, first of all, I think a sensible question I should ask is this: Has anyone on this list got Matlab 13 (aka 6.5) running on FBSD5.3? If so, did you do this by following the instructions in the handbook verbatim, or some other way? thanks cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
glabel - refuses to label = g partitions
If I do: glabel label somelabel /dev/ad1s1g geom_label labels /dev/ad1 instead of /dev/ad1s1g[1]. However labeling /dev/ad1s1{a,b,d,e,f} worked fine. But /dev/ad1s1{g,h} does not (and probably not the rest above h either). Any idea what to do about it? I did some cursory checks to make sure that the glabel tool does not mangle the name of the device. The name does seem to propagate down unmangled all the way to g_metadata_clear() and g_metadata_store(). After that I'm not sure how the changes are picked up by the kernel, so I stopped. [1] I.e., glabel list reports what you would expect after a glabel somename /dev/ad1, and the kernel log contains: GEOM_LABEL: Label for provider ad1 is label/somelabel -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 and net.key.preferred_oldsa
Hi, I am trying to use FreeBSD 5.3_Stable with the KAME implementation of IPSEC that comes standard with this version. I however get the message WARNING: sysctl net.key.preferred_oldsa does not exist when I put net.key.preferred_oldsa=0 in sysctl. I take it that this new variable has not yet been integrated into this version of FreeBSD. Can anyone tell me when this is to be expected, and/or if it is already integrated into any previous versions of FreeBSD? thanks Rekkie ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
open office freeze
hi all... i've been waiting for long time to start using open office tested it a long time ago on linux but didn't have enough patience to install it on my freebsd laptop. well finally - after 4 - 5 hours build of java ports and 12 hours (on a 2.2ghz laptop!?!?) of build of the oo-1.1 port i got it installed. the setup program went without any issues. then oo starts fine but when i try to do a new document - any kind - it freezes so bad that even after the machine is synched and ready to go down it won't let go and i have to pull the plug it happens when i try to create a new document. i tried the other menus and they were all fine. i start it as my user - not as root... there isn't anything in the logs and as far is i can see there are no cores dumped now i'm not sure what to do to make this install usable machine is a 2.2 ghz thinkpad, freebsd 5.3, jdk 1.4.2, Xorg and sawfish.. what now? thanks... -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Anthony Atkielski wrote: John writes: I suppose I'm nit-picking here, but you would cron it rather than running it by hand. It's mostly the space that I prefer not to part with. How much space have you got to play with? About 2 GB total remaining on /usr. Just installing X stuff gobbled up a few hundred megabytes, it seems. Hello Anthony, If you have 2 GB remaining in /usr, install the ports tree, it will eat about 350 MB. I have updated recently the pots tree and yesterday I installed successfully Firefox-1.0_7,1 nicely on this slow AMD 400 MHz machine from the ports, and it works ok. Good luck. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
On Sunday 27 February 2005 04:01 am, Anthony Atkielski wrote: John writes: I suppose I'm nit-picking here, but you would cron it rather than running it by hand. It's mostly the space that I prefer not to part with. How much space have you got to play with? About 2 GB total remaining on /usr. Just installing X stuff gobbled up a few hundred megabytes, it seems. If space is tight, running make distclean after make install helps, as does periodically deleting the contents of /usr/ports/distfiles Does pkg_add do this? [0] if you mean, by pull the index from an ftp site cd /usr/ports make index I meant running /stand/sysinstall and selecting an FTP site as the installation media for the software. It always downloads some sort of index when I do that, which I assume is an up-to-date list of all the ports available. Being somewhat of a newvie, I should probably not be saying anything, but that's the assumption that nailed you. If I understand the situation correctly, what you got was information on *packages* available when the OS version was released, a subset of available ports. And this time around, that list was not in a totally self-consistent state. My own experiences have given me a definite bias toward using the ports system to compile stuff to be added to my system rather than going with the binary packages. I get the impression that many port maintainers who are fairly careful about keeping their port versions workable and patched only give a relative lick and promise to their packages. -LenZ- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Change MAC address of LAN card in rc.conf. How?
Hi, I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0 ether 11:22:33:44:55:66 However, this does not seem to work. No IP address is assigned to the LAN card after bootup. Apparently something is wrong here. Any idea how I can do this at bootup? Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
recovering lost data
Hi Everyone, I have a question in regards to file recovery, to be precise, recovering an entire directory [with files] that may have been deleted/moved. /usr1 FreeBSD Unix Filesystem (ufs) /dev/ad1s1d Yes Yes 2nd level directory on /usr1, /usr1/AudioDrive/spoken I had a quick peek at 'foremost', but have had no luck with the config side of things. the files were almost all MP3 format, and from what i understand MP3's dont have much in the way of headers making this utility crippled. anyone familar with this utility or similar? /anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Received mail timestamp is off by 7 hours
On Sun, 27 Feb 2005 03:10:12 -0700 Pat Maddox [EMAIL PROTECTED] wrote: Alright, I got it all working now. Not sure how to change the time zone with config files, so I just used sysinstall to change it to MST (time zone is arbitrary, but since this is the zone I live in, it's convenient for me). Then I used ntpdate to sync it, and it's working well now. Thanks for pointing that out to me. I just thought that CET was central time :) Yes sysinstall's as good a way as any, it'll set your timezone and also let you choose between running with a UTC or local time CMOS clock. Or you can manually tun tzsetup(8) and create (or not) /etc/wall_cmos_clock .. see adjkerntz(8) Take little notice of people opining that you must or even should run CMOS UTC time; that's entirely up to you. I've always preferred local time CMOS clocks personally; sysinstall creates /etc/wall_cmos_clock and cron runs 'adjkerntz -a' halfhourly at times when daylight savings time might come or go in your zone, and that's always worked fine here. The only thing to watch running wall_cmos_clock is that if you boot to single user mode, before /etc/rc has run 'adjkerntz -i' the system will assume CMOS is UTC, so any files then modified show timestamps in UTC (discovered the hard way in Jan 2000 on a box with a broken y2k BIOS :) Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 - Raid
Hi, Sorry if this is dumb question. I have a new install of FreeBSD on a single IDE drive. I have backed this up so I am not too concerned about drive failure. I have now added 2, 250 Gbyte drives (ad3 and ad4) to hold data. I would like to mirror them using sofware raid and mount them as /home to hold the users data which is critical. I have read the manual and searched the web for a simple way to do the above. The manual seems to cover complex solutions and may be somewhat behind the times. I guess what I am looking for is a howto couched in such a way that even a windows user can understand :-). Any suggestions please. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel/Userland Mem-Space Tuning (1/3 on IA32)
Hello. I read about address space division of recent operating systems like Linux and Windows XP. In both cases, the whole address space of the 32 or 64 Bit system is divided into halfes, 2GB for kernel, 2 GB for process(es) (speaking in 32Bit words). The same in 64bit systems like AMD64. Those who happily utilize an AMD64 based machine are not (yet) involved by this problem, but on recent 32 Bit architectures someone can run out of process space, like me! Some geophysical modelling software needs more than the allowed 2GB address space and therefore I would like to ask whether FreeBSD (my preferred OS) has a 'knob' to change the kernel/userland parity of the address space like it is done in Windows with a special knob at boot time (/W3GB I think, but I'm not sure about the exakt syntax but I know someone can change the half by half parity towards 1 to 3 in XP). I'm not sure whether FreeBSD divides kernel/userland address space this way, I know Linux and Windows does and on Windows we changed this (not yet on Linux and not yet on our FreeBSD machines (OS version 5.0, mostly FreeBSD 5.3-R or 5.4-PRERELEASE). Any help is appreciated. FreeBSD divides the 32bit virtual address space with 1GB for the kernel and 3GB for user processes. This can be changed with some kernel compile- time constants (primarily KVA_PAGES, however NKPT may also need to be increased if the kernel address space is increased). -DG David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Ramiro Aceves writes: If you have 2 GB remaining in /usr, install the ports tree, it will eat about 350 MB. I tried it. The system generates so many SCSI errors that it panics before the entire tree is installed. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Leonard Zettel writes: My own experiences have given me a definite bias toward using the ports system to compile stuff to be added to my system rather than going with the binary packages. I get the impression that many port maintainers who are fairly careful about keeping their port versions workable and patched only give a relative lick and promise to their packages. Unfortunately, bugs in the handling of my SCSI disks prevent me from doing anything that is disk-intensive without crashing the system, so downloading the ports collection probably won't be possible. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: recovering lost data
[EMAIL PROTECTED] writes: I have a question in regards to file recovery, to be precise, recovering an entire directory [with files] that may have been deleted/moved. Just restore from backup. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XF86Config problem
On Sat, 26 Feb 2005 06:13:36 -0500 (EST) kalin mintchev [EMAIL PROTECTED] wrote: problem with XF86Config. i did the configuration a few times. and tried different versions of the file... i get: (EE) Screen(s) found, but none have usable configuration. fatal error: no screens found... Has anybody responded to your question yet? Have you specified the correct horizontal and veritical refresh rates in your XF86Config file? I've had Xfree running quite nicely with a no-name video card with 4 megs of ram, so you should be able to. Maybe you need to find out more about your on-board video card... try googling your motherboard for more info. In the meantime, have you tried specifying specific info in your XF86Config file? like: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSection EndSection Try different depths... 8, 16, 24 Modes: 640x480, 800x600, 1024x768 Good luck! -gerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WRITE_DMA errors on SATA drive under 5.3-RELEASE
I've gotten two messages like the ones below today on my production server (5.3-RELEASE): messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803 messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out What do these messages mean? The referenced drive is one of two identical SATA drives on the server; it holds /tmp and /var. I don't recall seeing these messages before. Is there a way to work backwards from the LBA to the filesystem so that I can see which file was being referenced when this occurred? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 - Raid
I have read the manual and searched the web for a simple way to do the above. The manual seems to cover complex solutions and may be somewhat behind the times. Personally I would go for geom_mirror. See gmirror(8) ('man gmirror') for usage instructions including examples. Creating a mirror takes only one command. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 - Raid
On February 27, 2005 08:59 am, Robert Slade wrote: Hi, Sorry if this is dumb question. I have a new install of FreeBSD on a single IDE drive. I have backed this up so I am not too concerned about drive failure. I have now added 2, 250 Gbyte drives (ad3 and ad4) to hold data. I would like to mirror them using sofware raid and mount them as /home to hold the users data which is critical. I have read the manual and searched the web for a simple way to do the above. The manual seems to cover complex solutions and may be somewhat behind the times. The handbook is pretty up to date (I just looked at it). I would suggest you ignore the section that describes 'ccd'. It is easier to set up than vinum but I have found the current implementation of ccd to be unreliable. If you are using FreeBSD 5.x (hopefully 5.3), use gvinum instead of vinum. It works the same way (commands and options) as vinum but (from what I understand) it has some improvements. I guess what I am looking for is a howto couched in such a way that even a windows user can understand :-). I assume you have physically installed your two disks (ad3, ad4). If you have not done so yet, use fdisk(8) to create a single slice (what Windows calls a partition). This can also be done through sysinstall Also, if you have not done so yet, use bsdlabel(8) to create a FreeBSD partition (no Windows equivalent). Be sure to set the 'fstype' to 'vinum'. At this stage I will assume that you have set up your two disks so that you have ad3s1a and ad4s1a as the slices you wish to use for vinum. I think you can do this with sysinstall as well. NOTE: you do not need to use newfs to create the filesystem, that would happen after you have setup your RAID volumes. Create a file, we will call it gvinum.conf and put the following into it: # Define the FreeBSD Partitions to be used for Vinum drive a device /dev/ad3s1a drive b device /dev/ad4s1a # # Define each volume/plex/subdisk volume home # home volume plex org concat# concatinated plex (1st half of mirror) sd length 8192m drive a # 1st subdisk of concatinated plex plex org concat# concatinated plex (2nd half of mirror) sd length 8192m drive b # 1st subdisk of 2nd concatinated plex Now, use the vinum(8) 'create' command to set things up using the configuration file. You should now have a /dev/gvinum/home device. You can newfs it, mount it, and add it to your /etc/fstab. newfs /dev/gvinum/home mount /dev/gvinum/home /home Any suggestions please. Do read and try to understand chapter 17 of the FreeBSD handbook if you want to get into software RAID. Rob, you really need to understand how software RAID works if you want to take advantage of it. When you have a disk failure, you need to know what to do to recover your data. In order to do that you really need to understand how the software RAID works. You may want to consider setting up a seconds FreeBSD partition on each of your two new disks so that you can fiddle with RAID and figure out how to recover from a disk failure. -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 - Raid
On Sun, Feb 27, 2005 at 01:59:35PM +, Robert Slade wrote: I have a new install of FreeBSD on a single IDE drive. I have backed this up so I am not too concerned about drive failure. I have now added 2, 250 Gbyte drives (ad3 and ad4) to hold data. I would like to mirror them using sofware raid and mount them as /home to hold the users data which is critical. I have read the manual and searched the web for a simple way to do the above. The manual seems to cover complex solutions and may be somewhat behind the times. I guess what I am looking for is a howto couched in such a way that even a windows user can understand :-). Any suggestions please. Someone else already recommended GEOM which I also recommend. I just setup gmirror for the fist time and I am very impressed with it. I did drive failure simulations for both ad0 and ad2 and was able to reconstruct the mirror each time. This howto is very good: http://people.freebsd.org/~rse/mirror/ Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel/Userland Mem-Space Tuning (1/3 on IA32)
David G. Lawrence wrote: Hello. I read about address space division of recent operating systems like Linux and Windows XP. In both cases, the whole address space of the 32 or 64 Bit system is divided into halfes, 2GB for kernel, 2 GB for process(es) (speaking in 32Bit words). The same in 64bit systems like AMD64. Those who happily utilize an AMD64 based machine are not (yet) involved by this problem, but on recent 32 Bit architectures someone can run out of process space, like me! Some geophysical modelling software needs more than the allowed 2GB address space and therefore I would like to ask whether FreeBSD (my preferred OS) has a 'knob' to change the kernel/userland parity of the address space like it is done in Windows with a special knob at boot time (/W3GB I think, but I'm not sure about the exakt syntax but I know someone can change the half by half parity towards 1 to 3 in XP). I'm not sure whether FreeBSD divides kernel/userland address space this way, I know Linux and Windows does and on Windows we changed this (not yet on Linux and not yet on our FreeBSD machines (OS version 5.0, mostly FreeBSD 5.3-R or 5.4-PRERELEASE). Any help is appreciated. FreeBSD divides the 32bit virtual address space with 1GB for the kernel and 3GB for user processes. This can be changed with some kernel compile- time constants (primarily KVA_PAGES, however NKPT may also need to be increased if the kernel address space is increased). -DG David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities. Dear David. Thank you very much. I assumed FreeBSD do the same like Linux, but don't obviously. I found a lot of tweaking kernel parameters, KVA_PAGES VM_KMEM_SIZE_SCALE VM_KMEM_SIZE_MAX VM_KMEM_SIZE Reading some comments in sys/kern/kern_malloc.c make be a bit confused, I do not know much about kernel's interna. It is nice to hear that FreeBSD do a 1/3 division, I expected a 2/2 division like Linux does. So no need for anything changing. Can someone please explain NKPT? I'm simply curious, didn't found a satisfying answer via google, but a lot of source code with this in ... Thanks Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: updating system version of OpenSSH
wo_shi_big_stomach [EMAIL PROTECTED] writes: Phil Schulz wrote: If you can't afford to upgrade the base OS and you do not want to install OpenSSH from the ports Sorry, I wasn't clear. I have no problem installing or upgrading OpenSSH from ports. Indeed, that's all I know how to do. It's generally the best option for people who need to upgrade to the latest version string, such as for satisfying corporate security experts. Beyond that, the only real use of ports upgrades is for people who insist on staying with older base versions. My question is how to upgrade OpenSSH as included with 5.2.1. If a ports install will do this, great. It will. The more general question is how to upgrade system software, especially in cases where it's not included in the ports collection. There are several answers, but the usual one is to update the entire base system. FreeBSD is designed to be a complete operating system, rather than to be updated piecemeal; the advantage is that you don't have to worry about dependencies between the pieces, but the disadvantage is that, well, you have to update everything at once. In the case of people still running 5.2.1, I'd definitely recommend updating the whole thing -- after all, 5.2.1 wasn't recommended for production use at the time it was released, and 5.3 was. Another answer is the FreeBSD-update port (security/freebsd-update), but it doesn't support custom kernels. If you're updating because of a security problem that had a security advisory issued for it, then the advisory will generally include patches and directions for applying and building them. Doing this for arbitrary sets of code updates is usually possible, but difficult for anyone who doesn't have developer-level understanding of source code control. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel/Userland Mem-Space Tuning (1/3 on IA32)
sure about the exakt syntax but I know someone can change the half by half parity towards 1 to 3 in XP). I'm not sure whether FreeBSD divides kernel/userland address space this way, I know Linux and Windows does and on Windows we changed this (not yet on Linux and not yet on our FreeBSD machines (OS version 5.0, mostly FreeBSD 5.3-R or 5.4-PRERELEASE). Any help is appreciated. FreeBSD divides the 32bit virtual address space with 1GB for the kernel and 3GB for user processes. This can be changed with some kernel compile- time constants (primarily KVA_PAGES, however NKPT may also need to be increased if the kernel address space is increased). ... Dear David. Thank you very much. I assumed FreeBSD do the same like Linux, but don't obviously. I found a lot of tweaking kernel parameters, KVA_PAGES VM_KMEM_SIZE_SCALE VM_KMEM_SIZE_MAX VM_KMEM_SIZE The last three are not related to the address space division and you should not change those under normal circumstance. Reading some comments in sys/kern/kern_malloc.c make be a bit confused, I do not know much about kernel's interna. It is nice to hear that FreeBSD do a 1/3 division, I expected a 2/2 division like Linux does. So no need for anything changing. It's a 1:4 ratio. Can someone please explain NKPT? I'm simply curious, didn't found a satisfying answer via google, but a lot of source code with this in ... It's the number of page table pages that are assigned to the kernel address space. Each page maps 4MB, so 256 (the default) provides for 1GB of kernel virtual address space, leaving 3GB for user space. -DG David G. Lawrence President Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
On Sun, Feb 27, 2005 at 03:53:30PM +0100, Anthony Atkielski wrote: messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803 messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out [...] Is there a way to work backwards from the LBA to the filesystem so that I can see which file was being referenced when this occurred? Theoretically, one could use 'fsdb -r' in a scripted manner, to generate a mapping of file names to blocks (relative to the partition of the file system you are mapping). Once you have the blocks, you'll need to do so artithmetics to map those blocks to LBA address ranges (perhaps via GEOM or using data in disklabels). Finally, you'll have to locate the range for a particular LBA address and work backwards up to the inode #, and then to the filename(s) that link to that inode. Perhaps there's already a system utility or port for this? It would be really useful! Anthony Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Odd message from cron daemon
I get an e-mail like the following every eleven minutes on my test system: = From [EMAIL PROTECTED] Sun Feb 27 16:55:00 2005 Date: Sun, 27 Feb 2005 16:55:00 +0100 (CET) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy X-Cron-Env: SHELL=/bin/sh X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin X-Cron-Env: HOME=/ X-Cron-Env: LOGNAME=operator X-Cron-Env: USER=operator This: not found = What does this message mean? I've never seen it on my production system. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel/Userland Mem-Space Tuning (1/3 on IA32)
David G. Lawrence wrote: sure about the exakt syntax but I know someone can change the half by half parity towards 1 to 3 in XP). I'm not sure whether FreeBSD divides kernel/userland address space this way, I know Linux and Windows does and on Windows we changed this (not yet on Linux and not yet on our FreeBSD machines (OS version 5.0, mostly FreeBSD 5.3-R or 5.4-PRERELEASE). Any help is appreciated. FreeBSD divides the 32bit virtual address space with 1GB for the kernel and 3GB for user processes. This can be changed with some kernel compile- time constants (primarily KVA_PAGES, however NKPT may also need to be increased if the kernel address space is increased). ... Dear David. Thank you very much. I assumed FreeBSD do the same like Linux, but don't obviously. I found a lot of tweaking kernel parameters, KVA_PAGES VM_KMEM_SIZE_SCALE VM_KMEM_SIZE_MAX VM_KMEM_SIZE The last three are not related to the address space division and you should not change those under normal circumstance. Reading some comments in sys/kern/kern_malloc.c make be a bit confused, I do not know much about kernel's interna. It is nice to hear that FreeBSD do a 1/3 division, I expected a 2/2 division like Linux does. So no need for anything changing. It's a 1:4 ratio. Sorry, I meant 1GB kernel, 3GB userland or 2GB kernel, 2GB userland, not the divisor or mathematical ratio, sorry for this unprecise. Can someone please explain NKPT? I'm simply curious, didn't found a satisfying answer via google, but a lot of source code with this in ... It's the number of page table pages that are assigned to the kernel address space. Each page maps 4MB, so 256 (the default) provides for 1GB of kernel virtual address space, leaving 3GB for user space. Many thanks, that helped a lot! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Kris Kennaway writes: I'm trying to watch some movies from archive.org, but I'm not familiar with the correct process. I installed xine and avifiles, but they can't play the free mpeg4 movies I'm downloading from archive.org. I use mplayer. Same here, except for .rm files for which multimedia/linux-realplayer (i.e. v 10) is the ticket. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
[EMAIL PROTECTED] writes: Theoretically, one could use 'fsdb -r' in a scripted manner, to generate a mapping of file names to blocks (relative to the partition of the file system you are mapping). Once you have the blocks, you'll need to do so artithmetics to map those blocks to LBA address ranges (perhaps via GEOM or using data in disklabels). Finally, you'll have to locate the range for a particular LBA address and work backwards up to the inode #, and then to the filename(s) that link to that inode. Sounds complicated. Surely I'm not the first person to wish for such a utility ... in UNIXland, there seems to be a command for just about every conceivable purpose (?). Perhaps there's already a system utility or port for this? It would be really useful! I'm mainly worried about exactly what the system was trying to write at the time. It's not clear from the message whether the write succeeded or not. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror disk mirroring
Am Sonntag, 27. Februar 2005 03:54 schrieb Stephen Kelly: Hi All, I'm having a problem trying to set up disk mirroring of two 80G Western Digital IDE drives. I'm using the instructions at http://people.freebsd.org/~rse/mirror/ I've included these instructions at the end of this e-mail. When I reboot the system for the first time as instructed, it starts to boot but then just starts printing the following messages to the screen: init: can't exec getty `usr/libexec/getty` for port ttyv1: No such file or directory init: can't exec getty `usr/libexec/getty` for port ttyv2: No such file or directory init: can't exec getty `usr/libexec/getty` for port ttyv3: No such file or directory init: can't exec getty `usr/libexec/getty` for port ttyv4: No such file or directory . . . Something at the dump/restore stage went wrong or your /etc/fstab is wrong. Delete /boot.congig an boot from the initial disk, btw. is your second drive really on primary slave? That's why I hate how-tos, people just type it word by word without knowing what they do. If your disk ist secondary master, it's not ad1 but ad2, in GENERIC ata is compiled with ATA_STATIC_ID. Forget the howto and read the man pages, it's the shorter way if the howto doesn't work for you. Best regards, -Harry Can anyone tell me where I'm going wrong/what is happening? Thanks so much, Stephen The instructions: # make sure the second disk is treated as a really fresh one # (not really necessary, but makes procedure more deterministically ;-) dd if=/dev/zero of=/dev/ad1 bs=512 count=79 # place a GEOM mirror label onto second disk # (actually on the last block of the disk) gmirror label -v -n -b round-robin gm0 /dev/ad1 # activate GEOM mirror kernel layer # (makes the /dev/mirror/gm0 device available) gmirror load # place a PC MBR onto the second disk # (with a single FreeBSD slice /dev/mirror/gm0s1 covering the whole disk) fdisk -v -B -I /dev/mirror/gm0 # place a BSD disklabel onto /dev/mirror/gm0s1 # (ATTENTION: in FreeBSD 5-STABLE before 14-Jan-2005 the # /dev/mirror/gm0s1 device has to be specified as just mirror/gm0s1 or # the bsdlabel(8) will use the incorrect GEOM name gm0s1 instead!) # (NOTICE: figure out what partitions you want with bsdlabel /dev/ad0 before) # (NOTICE: start a partition at offset 16, c partition at offset 0) bsdlabel -w -B /dev/mirror/gm0s1 # initialize bsdlabel -e /dev/mirror/gm0s1# create custom partitions # manually copy filesystem data from first to to second disk # (same procedure for partitions g, etc) newfs -U /dev/mirror/gm0s1a mount /dev/mirror/gm0s1a /mnt dump -L -0 -f- / | (cd /mnt; restore -r -v -f-) newfs -U /dev/mirror/gm0s1d mount /dev/mirror/gm0s1d /mnt/var dump -L -0 -f- /var | (cd /mnt/var; restore -r -v -f-) newfs -U /dev/mirror/gm0s1e mount /dev/mirror/gm0s1e /mnt/usr dump -L -0 -f- /usr | (cd /mnt/usr; restore -r -v -f-) # adjust new system configuration for GEOM mirror based setup cp -p /mnt/etc/fstab /mnt/etc/fstab.orig sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab echo 'swapoff=YES' /mnt/etc/rc.conf # for 5.3-RELEASE only echo 'geom_mirror_load=YES' /mnt/boot/loader.conf # instruct boot stage 2 loader on first disk to boot # with the boot stage 3 loader from the second disk # (mainly because BIOS might not allow easy booting from second ATA disk # or at least requires manual intervention on the console) echo 1:ad(1,a)/boot/loader /boot.config # reboot system # (for running system with GEOM mirror on second disk) shutdown -r now # make sure the first disk is treated as a really fresh one # (also not really necessary, but makes procedure more deterministically ;-) dd if=/dev/zero of=/dev/ad0 bs=512 count=79 # switch GEOM mirror to auto-synchronization and add first disk # (first disk is now immediately synchronized with the second disk content) gmirror configure -a gm0 gmirror insert gm0 /dev/ad0 # wait for the GEOM mirror synchronization to complete sh -c 'while [ .`gmirror list | grep SYNCHRONIZING` != . ]; do sleep 1; done' # reboot into the final two-disk GEOM mirror setup # (now actually boots with the MBR and boot stages on first disk # as it was synchronized from second disk) shutdown -r now ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpMlME4vUsmc.pgp Description: PGP signature
Optimising FreeBSD
Hi all, I'm still fairly new to this, so I hope you all don't mind another question. Actually, several questions First let me explain what I have, then what I want to do. I have 2 machines which I want to run FreeBSD on. So far I have set one of them up, a P-II machine, as a file print server. Next set up a P-III machine for day to day use as a workstation. Since neither of these machines are particularly powerful I want to be able to optimise the performance of them both. I don't mind sitting and waiting for compiles now it if means better performance later. Particularly on the workstation as I will be doing some fairly intensive things on it (eg multimedia). So on the P-II machine I installed 5.3-RELEASE with no problems. I then re-built the kernel with the I686_CPU option set and a load of unnecessary drivers removed. This saved about 4MB right away. I then used CVSup to update the ports and installed Samba and one or two others. I thought I was doing pretty well since I can print and read files from both Windows and other *NIX machines, but I have since realised that I probably don't have the best optimisations in place. Having spent some more time reading the handbook and various bits on the web I think I know what to do, but would really appreciate some independent confirmation. First, I think I need to edit the /etc/make.conf file. This is what I think I should have in place: CPUTYPE ?= p2 # or p3 on my workstation CFLAGS = -O -pipe # O2 and above not recommended? COPTFLAGS= -O -pipe I am not sure I understand the difference between CFLAGS and COPTFLAGS. Am I right in saying that COPTFLAGS is used for kernel builds and CFLAGS is used for everything else? If so, should they be set the same, or can I safely increase the -O setting in CFLAGS? Is there anything else I need to set? Assuming the settings above are right, now I guess I can rebuild my kernel again without changing the configuration but I should now have p2 specific code? Is there anything in the kernel config file I need to check? Do I even need to rebuild since I had the I686_CPU setting? Next I guess I need to re-build the rest of the userland apps. Is it simply a case of building world, or do I have to go through the whole upgrade procedure as described in the Handbook? I want to stick to -RELEASE, does this change (bug/security fixes)? If so, how do I update? I can see CVSup config files for -CURRENT and -STABLE, but not for -RELEASE. I guess the last step is to recompile the ports I have installed. Is there a quick way to rebuild just the ports I have installed or do I need to go through them all one by one and 'make install clean' them? Anything else I have missed? Sorry for so many questions in one go! Many thanks in advance, Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: ... delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? my flags in my rc.conf are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. I am in a bit of a panic because my mail queue is starting to fill up and I need to get these messages out thanks, ken; On Feb 25, 2005, at 11:11 AM, Giorgos Keramidas wrote: On 2005-02-25 11:03, Ken Hawkins [EMAIL PROTECTED] wrote: first thank you all for the invaluable amount of info and resorses that flow through this mail list.. I hope to one day contribute more than I take away. that said This is what is happening. I have a webserver 'web1.foo.com' that is not the mailserver for foo.com (that is mail.foo.com). /var/log/maillog has errors like: Feb 25 07:34:09 web1 sm-mta[98913]: j1PDTdTd098790: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1002/1002), delay=00:04:30, xdelay=00:00:00, mailer=esmtp, pri=120427, relay=mail.foo.com. [64.73.41.34], dsn=4.0.0, stat=Deferred: Connection refused by mail.foo.com. Is mail.foo.com running an MTA? Does the setup of the MTA, the firewall, whatever else runs on mail.foo.com allow connections from your web1.foo.com host? how can i configure sendmail for send out mail as foo.com and NOT web1.foo.com? is this possible? This is probably a job of the MTA running on mail.foo.com, which should probably have the option: MASQUERADE_AS(`foo.com') MASQUERADE_DOMAIN(`foo.com') If it doesn't already, that is. Handling the masquerading of outgoing email in one central place (the MTA setup of mail.foo.com) is much preferable, since you only have to update ONE place whenever you feel like changing the MASQUERADE_AS option. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addr changes on 5.3 but not on 4.8
At 10:47 PM 2/26/2005, wo_shi_big_stomach wrote: --- Marty Landman [EMAIL PROTECTED] wrote: I just can't help but notice that this is only a problem on my 5.3 box and not on the 4.8. you might try paging through dmesg | more to see if the system recognizes your interface on bootup. %dmesg | more | grep dc0 dc0: 82c169 PNIC 10/100BaseTX port 0x6800-0x68ff mem 0xe900-0xe9ff irq 11 at device 9.0 on pci0 miibus0: MII bus on dc0 dc0: Ethernet address: 00:a0:cc:40:55:cf dc0: if_start running deferred for Giant dc0: [GIANT-LOCKED] atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 psm0: PS/2 Mouse irq 12 on atkbdc0 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 dc0: failed to force tx and rx to idle state .. .. 332 identical lines deleted .. dc0: failed to force tx and rx to idle state Any problems here? Thanks for explaining the reason for the different device names. I'm thinking the 4.8 nic may be an isa 3com 10mbps, while am quite sure the 5.3 nic is a pci netgear 100mbps. Marty Landman, Face 2 Interface Inc. 845-679-9387 Search Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
On Sun, 27 Feb 2005, Anthony Atkielski wrote: I get an e-mail like the following every eleven minutes on my test system: = From [EMAIL PROTECTED] Sun Feb 27 16:55:00 2005 Date: Sun, 27 Feb 2005 16:55:00 +0100 (CET) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy X-Cron-Env: SHELL=/bin/sh X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin X-Cron-Env: HOME=/ X-Cron-Env: LOGNAME=operator X-Cron-Env: USER=operator This: not found = What does this message mean? I've never seen it on my production system. As a wild guess, check to see that line 29 in /usr/libexec/save-entropy has a comment mark at the start of it: # This script is called by cron to store bits of randomness which are -- David Fleck [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addr changes on 5.3 but not on 4.8
At 11:32 PM 2/26/2005, Jonathan Chen wrote: On Sat, Feb 26, 2005 at 09:06:41PM -0500, Marty Landman wrote: I just can't help but notice that this is only a problem on my 5.3 box and not on the 4.8. AFAIK the config's are identical, although obviously I am still a newbie at this. As I said earlier, it has nothing to do with the FreeBSD machines and everything to do with the DHCP Server. Ok, then the reason my DHCP server on my XP gateway would have to be discriminating between the boxes since it's consistently only happening to one box and not the other. Marty Landman, Face 2 Interface Inc. 845-679-9387 Search Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
On Sun, Feb 27, 2005 at 04:58:31PM +0100, Anthony Atkielski wrote: I get an e-mail like the following every eleven minutes on my test system: = From [EMAIL PROTECTED] Sun Feb 27 16:55:00 2005 Date: Sun, 27 Feb 2005 16:55:00 +0100 (CET) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy X-Cron-Env: SHELL=/bin/sh X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin X-Cron-Env: HOME=/ X-Cron-Env: LOGNAME=operator X-Cron-Env: USER=operator This: not found = What does this message mean? I've never seen it on my production system. The save-entropy script is being run from cron. See /etc/crontab. The first line of this script after the header begins with # This. It looks like the hash mark was removed, and the shell is trying to find the This command and fails. Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpwtnSPk3nA0.pgp Description: PGP signature
Re: Optimising FreeBSD
On Sunday 27 February 2005 16:32, Richard Danter wrote: ... I guess the last step is to recompile the ports I have installed. Is there a quick way to rebuild just the ports I have installed or do I need to go through them all one by one and 'make install clean' them? The easiest way is to use portupgrade portupgrade -fa will work, but I tend to use something like this: portupgrade -f '2005-02-27 16:40' which means force a rebuild of ever port built before the given time. This can be restarted if a build fails or you need to stop and restart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Optimising FreeBSD
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Richard Danter Sent: Sunday, February 27, 2005 22:03 To: freebsd-questions@freebsd.org Subject: Optimising FreeBSD First, I think I need to edit the /etc/make.conf file. This is what I think I should have in place: CPUTYPE ?= p2 # or p3 on my workstation CFLAGS = -O -pipe# O2 and above not recommended? COPTFLAGS= -O -pipe Make that CPUTYPE=p2 instead of CPUTYPE?=p2. The later is used if you build for p2 on a different platform. CFLAGS and COPTFLAGS look ok. You can try -O2 for COPTFLAGS but expect some instabilities. I am not sure I understand the difference between CFLAGS and COPTFLAGS. Am I right in saying that COPTFLAGS is used for kernel builds and CFLAGS is used for everything else? That's correct Is there anything else I need to set? Go through /usr/local/sys/i386/conf/NOTES. Read through the different processor flags. Assuming the settings above are right, now I guess I can rebuild my kernel again without changing the configuration but I should now have p2 specific code? Is there anything in the kernel config file I need to check? Do I even need to rebuild since I had the I686_CPU setting? Just rebuilding the kernel after modifying make.conf should be enough. Next I guess I need to re-build the rest of the userland apps. Is it simply a case of building world, or do I have to go through the whole upgrade procedure as described in the Handbook? Yeh a rebuild of world is necessary. Well, not necessary but definitely recommended. I want to stick to -RELEASE, does this change (bug/security fixes)? If so, how do I update? I can see CVSup config files for -CURRENT and -STABLE, but not for -RELEASE. RELENG_X means FreeBSD X-STABLE, RELENG_X_Y means FreeBSD X.Y-RELEASE. Read through the make world section of the handbook again. I guess the last step is to recompile the ports I have installed. Is there a quick way to rebuild just the ports I have installed or do I need to go through them all one by one and 'make install clean' them? Anything else I have missed? The simplest way I would do is pkg_delete -ad. This would delete *all* the installed ports. Then selectively rebuild the ports as required. Sorry for so many questions in one go! You don't learn something unless you have the guts to ask, so be proud about it. :-) Regards, S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature
Re: I killed my system with grep
On Fri, Feb 25, 2005 at 11:42:48PM -0500, Parv wrote: in message [EMAIL PROTECTED], wrote Loren M. Lang thusly... On Fri, Feb 25, 2005 at 12:14:04PM +0100, Ramiro Aceves wrote: I am running a FreeBSD 5.3 system with 64MB RAM and 150 MB swap. Yesterday I entered the command: # grep -R something / You probably hit a file under /dev/ and caused grep to hang. It's possible that as root, certain device files might hang the system, but nothing comes to mind at the moment unless /dev/io could do it. Also, think about what happens when grep hit's /dev/zero. It will never finish. Would using -I option (not search text-like files) help to avoid above described hang ups in /dev? No, it still searches all files, it just doesn't print the usual line that it matched, only whether there was success or not. You really just need to make sure grep never goes into /dev. Since your running 5.x, /dev is it's own filesystem of a unique type, so the following command will run grep on only filesystems of type ufs, which won't include network filesystems, or /dev: find / -fstype ufs -exec grep -H something {} \; - Parv -- -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smbus and freebsd 5.3
Hi folks, I've a mobo GA-7VT880 (Gigabyte with VIA KT880 chipset), and for monitoring the temperatures I've to use healthd or lmmon with SMB interface. Well, the man healthd and man lmmon say that I've to add in my kernel: controller smbus0 controller iicbus0 controller iicbb0 controller intpm0 device smb0 at smbus? but this is for 4.x, and not for 5.3, I think. Well, I've tryed unlucky with: # System Management Bus device smbus device smb device iicsmb device bktr device iicbus device iicbb device iic device ic device ichsmb device intpm I don't see a /dev/smb, and if I try with healthd + smb interface the output is obviously: healthd -d -S /dev/smb0: No such file or directory InitMBInfo: No such file or directory There's someone using SMBus that could help me? Any advice will be appreciated. Regards Andrea ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: open office freeze
On Sunday 27 February 2005 07:25 am, kalin mintchev wrote: hi all... i've been waiting for long time to start using open office tested it a long time ago on linux but didn't have enough patience to install it on my freebsd laptop. well finally - after 4 - 5 hours build of java ports and 12 hours (on a 2.2ghz laptop!?!?) of build of the oo-1.1 port i got it installed. the setup program went without any issues. then oo starts fine but when i try to do a new document - any kind - it freezes so bad that even after the machine is synched and ready to go down it won't let go and i have to pull the plug it happens when i try to create a new document. i tried the other menus and they were all fine. i start it as my user - not as root... there isn't anything in the logs and as far is i can see there are no cores dumped now i'm not sure what to do to make this install usable machine is a 2.2 ghz thinkpad, freebsd 5.3, jdk 1.4.2, Xorg and sawfish.. what now? I've seen this problem too when I'm using the nvidia driver with the RenderAccel option. Once I turned it off openoffice no longer froze the machine. I think it's an nvidia driver problem that hopefully will be fixed in the next release. Whenever that will be. -- Anish Mistry pgpIrVbuuehhI.pgp Description: PGP signature
Re: ip addr changes on 5.3 but not on 4.8
On Feb 26, 2005, at 8:06 PM, Marty Landman wrote: At 10:32 AM 2/26/2005, Eric F Crist wrote: On Fri, Feb 25, 2005 at 04:16:40PM -0500, Marty Landman wrote: that the IP address for the 5.3 box gets changed on a fairly regular basis [snip] The 4.8 box's IP addr has been stable. The other thing you could try would be to set a static IP on your workstations... I just can't help but notice that this is only a problem on my 5.3 box and not on the 4.8. AFAIK the config's are identical, although obviously I am still a newbie at this. BTW, why is my nic on 4.8 ep0 but on 5.3 dc0? Is that the way it should be? Marty Marty, The ed0, dc0 situation is because of the driver the NIC uses. If you have two, or three, etc, cards that all use the same driver, then you'll start to see dc0, dc1, dc2, etc (provided they use the dc driver... HTH ___ Eric F Crist I am so smart, S.M.R.T! Secure Computing Networks -Homer J Simpson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading hardware from P3 to AMD 64
I'm thinking about upgrading my hardware from an Intel P3 to an AMD 64, and replacing the graphics card, without buying a new hard disk. Has anyone done this kind of thing successfully? I've recompiled kernel+world for 686 and I've done a portupgrade -fR on cvsup and portupgrade. Typical motherboards now have a couple of sata connections in addition to the normal ide connections. Can I expect my current ide drives to still be ad0 and ad1? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No ports without ftp ?
Hello guys ! I'm on a LAN which has the ftp port blocked. Is there any chance for me to install aplications from ports ? Thank you ! - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
Roland Smith writes: The save-entropy script is being run from cron. See /etc/crontab. The first line of this script after the header begins with # This. It looks like the hash mark was removed, and the shell is trying to find the This command and fails. I checked both /usr/libexec/save-entropy and /etc/crontab. The two files are identical on my production server and on my test server: same size, same contents, same modification date, etc. However, this mysterious message is being mailed to me only on the test system. I'm somewhat bewildered. I agree that it looks like a simple typo in a file somewhere, but the files are identical on both systems. What else could be wrong? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
David Fleck writes: As a wild guess, check to see that line 29 in /usr/libexec/save-entropy has a comment mark at the start of it: # This script is called by cron to store bits of randomness which are It does. It looks identical to the same file on my production system. The only difference is that I'm not getting this mystery message on my production system. What else might cause this? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Upgrading hardware from P3 to AMD 64
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of RW Sent: Sunday, February 27, 2005 23:06 To: freebsd-questions@freebsd.org Subject: Upgrading hardware from P3 to AMD 64 I'm thinking about upgrading my hardware from an Intel P3 to an AMD 64, and replacing the graphics card, without buying a new hard disk. Has anyone done this kind of thing successfully? I've recompiled kernel+world for 686 and I've done a portupgrade -fR on cvsup and portupgrade. Most likely your system would stop booting up if you try to run a p3 kernel on a amd64. And AFAIK you *cant* build for 64 bit architecture on a 32 bit one. Typical motherboards now have a couple of sata connections in addition to the normal ide connections. Can I expect my current ide drives to still be ad0 and ad1? Yeh they would remain ad0 and ad1. The SATAs are generally at higher numbers. For me ad10 onwards are the SATA controllers. Regards, S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature
RE: No ports without ftp ?
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Claudiu Bichir Sent: Sunday, February 27, 2005 23:12 To: freebsd-questions@freebsd.org Subject: No ports without ftp ? Hello guys ! I'm on a LAN which has the ftp port blocked. Is there any chance for me to install aplications from ports ? Thank you ! Not all ports are from ftp sources. And generally allwell...most of them have a http mirror as well. Regards, S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature
FW: Optimising FreeBSD
-Original Message- From: Richard Danter [mailto:[EMAIL PROTECTED] Sent: Sunday, February 27, 2005 23:13 To: Subhro Subject: Re: Optimising FreeBSD Subhro wrote: Yeh a rebuild of world is necessary. Well, not necessary but definitely recommended. So just to be clear, just doing a 'make buildworld' is enough? I don't need to do the install and mergemaster steps? How about rebooting? Thanks for taking the time to answer my questions, I really do appreciate it. Rich Richard, just a friendly advice, make it a point to always CC to the freebsd-questions because there are people who learn from here. Regards S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature
Re: Upgrading hardware from P3 to AMD 64
On Sunday 27 February 2005 17:49, Subhro wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of RW Sent: Sunday, February 27, 2005 23:06 To: freebsd-questions@freebsd.org Subject: Upgrading hardware from P3 to AMD 64 I'm thinking about upgrading my hardware from an Intel P3 to an AMD 64, and replacing the graphics card, without buying a new hard disk. Has anyone done this kind of thing successfully? I've recompiled kernel+world for 686 and I've done a portupgrade -fR on cvsup and portupgrade. Most likely your system would stop booting up if you try to run a p3 kernel on a amd64. And AFAIK you *cant* build for 64 bit architecture on a 32 bit one. As I said, I'm recompiling for 686 (which I think is pentium pro), my undestanding is that the AMD 64 is back-compatible to 686. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Change MAC address of LAN card in rc.conf. How?
On Sun, 27 Feb 2005 05:54:49 -0800 (PST), Rob [EMAIL PROTECTED] wrote: Hi, I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0 ether 11:22:33:44:55:66 However, this does not seem to work. No IP address is assigned to the LAN card after bootup. Apparently something is wrong here. Any idea how I can do this at bootup? echo 'ifconfig rl0 ether 11:22:33:44:55:66' /etc/start_if.rl0 =Adriaan= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Kris Kennaway wrote: On Sun, Feb 27, 2005 at 04:24:16AM -0500, bsdnooby wrote: I'm trying to watch some movies from archive.org, but I'm not familiar with the correct process. I installed xine and avifiles, but they can't play the free mpeg4 movies I'm downloading from archive.org. I use mplayer. Kris I get an error when I try to install mplayer. Something about a fetch size mismatch on Blue-1.4.tar.bz. I'm not sure how to cut and paste the error, I thought the middle mouse button would cut from an xterm window, but I guess not. :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
On Sun, Feb 27, 2005 at 05:19:32PM +0100, Anthony Atkielski wrote: [EMAIL PROTECTED] writes: Theoretically, one could use 'fsdb -r' in a scripted manner, to generate a mapping of file names to blocks (relative to the partition of the file system you are mapping). Once you have the blocks, you'll need to do so artithmetics to map those blocks to LBA address ranges (perhaps via GEOM or using data in disklabels). Finally, you'll have to locate the range for a particular LBA address and work backwards up to the inode #, and then to the filename(s) that link to that inode. Sounds complicated. Surely I'm not the first person to wish for such a utility ... in UNIXland, there seems to be a command for just about every conceivable purpose (?). Or you could write the missing ones :-). Actually, it's not that hard. You need three mappings: 1. (lba address, (filesystem, block #)) 2. ((filesystem, block #), (filesystem, inode #)) 3. ((filesystem, inode #), (list of filenames linking to inode #)) Each of those mappings could be done and displayed by a single utility. Combining all three into a lba2filenames program would then be trivial. Perhaps there's already a system utility or port for this? It would be really useful! I'm mainly worried about exactly what the system was trying to write at the time. It's not clear from the message whether the write succeeded or not. Yes, that's exactly my concern too. -- Anthony -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Kris Kennaway wrote: On Sun, Feb 27, 2005 at 04:24:16AM -0500, bsdnooby wrote: I'm trying to watch some movies from archive.org, but I'm not familiar with the correct process. I installed xine and avifiles, but they can't play the free mpeg4 movies I'm downloading from archive.org. I use mplayer. Kris Here is the error: = Attempting to fetch from ftp://ftp.mplayerhq.hu/MPlayer/Skin/. fetch: ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.lug.udel.edu/MPlayer/Skin/. fetch: ftp://ftp.lug.udel.edu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221736 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/mplayer and try again. *** Error code 1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Set user/group for installed files?
Brent Macnaughton [EMAIL PROTECTED] writes: I've looked everywhere and i can't seem to find anything. If I build software from source, when i do make install, I would like to be able to set the owner and group for the installed files at that time so I don't have to go searching all over the file system to find what files were installed and change the owner and group on them after. Is there any way to specify whcih user/group to install files as? Normally, they will be installed as the user running the install command. The install procedures for many programs will override this, but the ways in which they do so vary from program to program. Unless there are setuid programs involved, I don't see why you'd generally care who owned the files. [And a few other exceptions, such as being able to write high score files, etc.] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Dru Lavigne's book BSD Hacks has a hack called Build a Port Without the Ports Tree which might be useful to you... and -- lucky you -- it's one of the sample hacks on O'Reilly's site: http://www.oreilly.com/catalog/bsdhks/chapter/hack82.pdf Ben Anthony Atkielski wrote: Ramiro Aceves writes: If you have 2 GB remaining in /usr, install the ports tree, it will eat about 350 MB. I tried it. The system generates so many SCSI errors that it panics before the entire tree is installed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Upgrading hardware from P3 to AMD 64
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of RW Sent: Sunday, February 27, 2005 23:29 To: freebsd-questions@freebsd.org Subject: Re: Upgrading hardware from P3 to AMD 64 On Sunday 27 February 2005 17:49, Subhro wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of RW Sent: Sunday, February 27, 2005 23:06 To: freebsd-questions@freebsd.org Subject: Upgrading hardware from P3 to AMD 64 I'm thinking about upgrading my hardware from an Intel P3 to an AMD 64, and replacing the graphics card, without buying a new hard disk. Has anyone done this kind of thing successfully? I've recompiled kernel+world for 686 and I've done a portupgrade -fR on cvsup and portupgrade. Most likely your system would stop booting up if you try to run a p3 kernel on a amd64. And AFAIK you *cant* build for 64 bit architecture on a 32 bit one. As I said, I'm recompiling for 686 (which I think is pentium pro), my undestanding is that the AMD 64 is back-compatible to 686. Negative. AFAIK there are incompatible in both the ways. Regards S. Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India smime.p7s Description: S/MIME cryptographic signature
Re: Which app to watch movies?
On Sun, 27 Feb 2005 13:07:37 -0500 bsdnooby [EMAIL PROTECTED] wrote: I get an error when I try to install mplayer. Something about a fetch size mismatch on Blue-1.4.tar.bz. I'm not sure how to cut and paste the error, I thought the middle mouse button would cut from an xterm window, but I guess not. The skins' tarballs are rerolled quite often. In that case your best bet is to make distclean and try again. The tarballs will be re-fetched and the port will build fine. About the xterm thing, you copy text with the left mouse button and paste it with them middle one. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpee0LeXNv9j.pgp Description: PGP signature
Re: No ports without ftp ?
On Sun, Feb 27, 2005 at 09:41:42AM -0800, Claudiu Bichir wrote: Hello guys ! I'm on a LAN which has the ftp port blocked. Is there any chance for me to install aplications from ports ? Thank you ! - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. $ cd /usr/ports/www/zope $ make = Zope-2.7.4-0.tgz doesn't seem to exist in /usr/ports/distfiles/zope. = Attempting to fetch from http://www.zope.org/Products/Zope/2.7.4/. ^C $ Generally, when make tries to fetch a file, it will tell you where that file should end up, and where it's getting it from. If you manually download http://www.zope.org/Products/Zope/2.7.4/Zope-2.7.4-0.tgz to /usr/ports/distfiles/zope from somewhere with an unblocked connection, then make will verify that the file has the correct checksum, and if so, won't try to fetch it since it's already there. (This is a bad example, since this port uses http anyway... but you get the idea.) - James Cook [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tap interface, bridging and freebsd 5.3
Hi folks, I would test openvpn with bridging options, then I need a tap interface. I've compiled my kernel with device tap then 'kldload if_tap' via command line, but I don't see a tap interface in /dev or with ifconfig ... Obviously: tcpdump -i tap0 tcpdump: BIOCSETIF: tap0: Device not configured Could you help me? Thank you very much Regards Andrea ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
On Sun, Feb 27, 2005 at 06:44:16PM +0100, Anthony Atkielski wrote: Roland Smith writes: The save-entropy script is being run from cron. See /etc/crontab. The first line of this script after the header begins with # This. It looks like the hash mark was removed, and the shell is trying to find the This command and fails. I checked both /usr/libexec/save-entropy and /etc/crontab. The two files are identical on my production server and on my test server: same size, same contents, same modification date, etc. However, this mysterious message is being mailed to me only on the test system. I'm Could it be that the cron output is mailed to someone else on the production machine? It works OK on my 5.3 box, though. My system has revision 1.2 of /usr/libexec/save-entropy, and it is 3073 bytes. Yours should be the same, since the revision dates to Januari 2001. Is there any difference between /usr/libexec/save-entropy and /usr/src/libexec/save-entropy/save-entropy.sh ? They should be identical. somewhat bewildered. I agree that it looks like a simple typo in a file somewhere, but the files are identical on both systems. What else could be wrong? Hmmm, disk or filesystem trouble maybe? I guess that would show in the logfile. Maybe an fsck on /usr in single user mode helps? Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgp0Lvv4iv6A9.pgp Description: PGP signature
Re: ip addr changes on 5.3 but not on 4.8
On Sun, Feb 27, 2005 at 11:46:47AM -0500, Marty Landman wrote: [...] Ok, then the reason my DHCP server on my XP gateway would have to be discriminating between the boxes since it's consistently only happening to one box and not the other. Correct. It is possible to set up DHCP servers so that the IP address given out to clients is based on the MAC address of each network device. That sure sounds like what your DHCP is doing. -- Jonathan Chen [EMAIL PROTECTED] -- Irrationality is the square root of all evil - Douglas Hofstadter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 - Raid
On Sun, 2005-02-27 at 15:26, Ean Kingston wrote: On February 27, 2005 08:59 am, Robert Slade wrote: Hi, Sorry if this is dumb question. I have a new install of FreeBSD on a single IDE drive. I have backed this up so I am not too concerned about drive failure. I have now added 2, 250 Gbyte drives (ad3 and ad4) to hold data. I would like to mirror them using sofware raid and mount them as /home to hold the users data which is critical. I have read the manual and searched the web for a simple way to do the above. The manual seems to cover complex solutions and may be somewhat behind the times. The handbook is pretty up to date (I just looked at it). What confused me is that it did not seem to cover GEOM which came up during my searches. I would suggest you ignore the section that describes 'ccd'. It is easier to set up than vinum but I have found the current implementation of ccd to be unreliable. If you are using FreeBSD 5.x (hopefully 5.3), use gvinum instead of vinum. It works the same way (commands and options) as vinum but (from what I understand) it has some improvements. I am using 5.3. I guess what I am looking for is a howto couched in such a way that even a windows user can understand :-). I assume you have physically installed your two disks (ad3, ad4). If you have not done so yet, use fdisk(8) to create a single slice (what Windows calls a partition). This can also be done through sysinstall Also, if you have not done so yet, use bsdlabel(8) to create a FreeBSD partition (no Windows equivalent). Be sure to set the 'fstype' to 'vinum'. At this stage I will assume that you have set up your two disks so that you have ad3s1a and ad4s1a as the slices you wish to use for vinum. I think you can do this with sysinstall as well. NOTE: you do not need to use newfs to create the filesystem, that would happen after you have setup your RAID volumes. Create a file, we will call it gvinum.conf and put the following into it: # Define the FreeBSD Partitions to be used for Vinum drive a device /dev/ad3s1a drive b device /dev/ad4s1a # # Define each volume/plex/subdisk volume home # home volume plex org concat # concatinated plex (1st half of mirror) sd length 8192m drive a # 1st subdisk of concatinated plex plex org concat # concatinated plex (2nd half of mirror) sd length 8192m drive b # 1st subdisk of 2nd concatinated plex Now, use the vinum(8) 'create' command to set things up using the configuration file. You should now have a /dev/gvinum/home device. You can newfs it, mount it, and add it to your /etc/fstab. newfs /dev/gvinum/home mount /dev/gvinum/home /home Any suggestions please. Do read and try to understand chapter 17 of the FreeBSD handbook if you want to get into software RAID. Rob, you really need to understand how software RAID works if you want to take advantage of it. When you have a disk failure, you need to know what to do to recover your data. In order to do that you really need to understand how the software RAID works. You may want to consider setting up a seconds FreeBSD partition on each of your two new disks so that you can fiddle with RAID and figure out how to recover from a disk failure. Ean, Many many thanks for your explanation. I do take your points regarding understanding how the raid works before providing it for users. I have a little time before the box has to go live and I will use it check the system. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Change MAC address of LAN card in rc.conf. How?
Rob wrote: I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0 ether 11:22:33:44:55:66 However, this does not seem to work. No IP address is assigned to the LAN card after bootup. Apparently something is wrong here. Any idea how I can do this at bootup? ifconfig_rl0_alias0=ether 11:22:33:44:55:66 -- [WBR], Arcade. [SAT Astronomy/Think to survive!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Miguel Mendez wrote: On Sun, 27 Feb 2005 13:07:37 -0500 bsdnooby [EMAIL PROTECTED] wrote: I get an error when I try to install mplayer. Something about a fetch size mismatch on Blue-1.4.tar.bz. I'm not sure how to cut and paste the error, I thought the middle mouse button would cut from an xterm window, but I guess not. The skins' tarballs are rerolled quite often. In that case your best bet is to make distclean and try again. The tarballs will be re-fetched and the port will build fine. About the xterm thing, you copy text with the left mouse button and paste it with them middle one. Cheers, I guess I need to try again in a few hours. I did a make deinstall clean distclean and then another make install clean, and it got the same error. The first time I tried to install, I got a screen where I picked what skins to support - I do not get that screen anymore. If I did, I could choose a skin other than the blue one. I thought distclean would have enabled me to start over from the very beginning, but it is somehow remembering the skins I chose (I actually just took the default). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NAT rules in ppp
Warren [EMAIL PROTECTED]: This is the rule i presently have in my ppp.conf file nat port tcp 10.100.6.10:6881-6999 6881-6999 What im wanting to change without the need to use an actual FW is to have it so those ports are forwaded across my entire local subnet rather then a specific local IP. Can this be done or am i limited to specific machine IP's ? You may be able to achieve this using the 'enable proxy' feature in ppp. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading hardware from P3 to AMD 64
On Sunday 27 February 2005 18:12, Subhro wrote: As I said, I'm recompiling for 686 (which I think is pentium pro), my undestanding is that the AMD 64 is back-compatible to 686. Negative. AFAIK there are incompatible in both the ways. I found this thread: http://lists.freebsd.org/mailman/htdig/freebsd-amd64/2004-September/thread.html#2110 which shows that there are people using the i386 version on the AMD64. It makes sense, since there aren't dedicated amd64 versions of windows applications. I must admit, I'd forgoten it has it's own FreBSD installation ISOs, so I guess there is no smooth upgrade path from i386 to amd64. Maybe I'll do that with 5.4. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Share connection with PF
Ok, I have FreeBSD 5.3 with PF. How to share connection from a routeur with only one network card ? My network is like that: Internet connection in DHCP, Routing computer, Workstation computer on a switch The router take connection by DHCP and share it to my Workstation The workstation use my router to navigate Routeur: RL0: DHCP, alias 192.168.0.1 Workstation: RL0: 192.168.0.2 Gateways: 192.168.0.1 Ok, how to do ? Thx a lot for support -- Vincent Bachelier [EMAIL PROTECTED] Language: Francais / English Societ(e/y) : Solintech - http://www.solintech.fr Blog: http://dieghostfbsd.blogspot.com Sourceforge Project : Ripperwww: http://www.sourceforge.net/projects/ripperwww Citation (fortune): I haven't lost my mind; I know exactly where I left it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Blocking on multiple threads with timeout
I have a few threads that might need as long as a minute or more to complete and terminate. If they exceed an arbitrary time, they can be canceled. In Win32, there is a 'wait on multiple objects' call. I'm not sure if it blocks or spins, but it *does* take a timeout argument. Is there a similar way with pthreads that I can use that will kill the threads after a certain time, but without spinlocking? After a minute of spinning, my laptop fan kicks on, and I'd like to be a bit more reasonable about my CPU cycle demands. :-) Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Here is the error: = Attempting to fetch from ftp://ftp.mplayerhq.hu/MPlayer/Skin/. fetch: ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.lug.udel.edu/MPlayer/Skin/. fetch: ftp://ftp.lug.udel.edu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221736 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/mplayer and try again. *** Error code 1 Cvsup'ed your ports tree recently? :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
On Sun, 27 Feb 2005, Anthony Atkielski wrote: It does. It looks identical to the same file on my production system. The only difference is that I'm not getting this mystery message on my production system. What else might cause this? Hmmm. Well, I don't know, but I'd try running the save-entropy script manually and see if you can recreate the message that way. If so, add a -x to the first line #!/bin/sh -x and run it manually again - you should be able to see what command precedes the message. -- David Fleck [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ip addr changes on 5.3 but not on 4.8
At 01:25 PM 2/27/2005, Jonathan Chen wrote: On Sun, Feb 27, 2005 at 11:46:47AM -0500, Marty Landman wrote: Ok, then the reason my DHCP server on my XP gateway would have to be discriminating between the boxes since it's consistently only happening to one box and not the other. Correct. It is possible to set up DHCP servers so that the IP address given out to clients is based on the MAC address of each network device. That sure sounds like what your DHCP is doing. It's odd that this only happens on one of three 'nix boxes on my LAN. Besides the fbsd 4.8 also have a rh9 and both have had very stable ip addr's. The only thing I edit on the xp gateway is the %system%\drivers\etc\hosts file to map names to the ip's that appear to be assigned by the gateway itself, i.e. I let the gateway assign an ip, then ping by name to get the ip for mapping on the gateway host file. Well I'm more interested in moving my gateway to fbsd than in learning the intricacies of windows ip assignments so maybe it's time to file this under 'interesting, but not worth pursuing now'. Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Search Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
Randi Harper wrote: Here is the error: = Attempting to fetch from ftp://ftp.mplayerhq.hu/MPlayer/Skin/. fetch: ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.lug.udel.edu/MPlayer/Skin/. fetch: ftp://ftp.lug.udel.edu/MPlayer/Skin/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221733 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mplayer/Blue-1.4.tar.bz2: size mismatch: expected 221761, actual 221736 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/mplayer and try again. *** Error code 1 Cvsup'ed your ports tree recently? :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I hadn't thought of doing that, since I installed this system less than a week ago. I will do it now, though. That should probably fix it. thx! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing XKB rules file
Hello list, I am getting a warning message during configuration of X.Org under FreeBSD 5.3: XKB rules file '/usr/X11R6/lib/X11/xkb/rules/' not found Keyboard XKB options will be set to default values. Press enter to continue, or ctrl-c to abort. I need the german XKB rules file and I think that I have not installed an important package, but which one??? With regards Stevan Tiefert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which app to watch movies?
On Sun, 27 Feb 2005 13:44:39 -0500 bsdnooby [EMAIL PROTECTED] wrote: I guess I need to try again in a few hours. I did a make deinstall clean distclean and then another make install clean, and it got the same error. The first time I tried to install, I got a screen where I picked what skins to support - I do not get that screen anymore. If I did, I could choose a skin other than the blue one. I thought distclean would have enabled me to start over from the very beginning, but it is somehow remembering the skins I chose (I actually just took the default). You have to run make distclean in the mplayer-skins port dir. If you want to make changes run make config. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgp3ETkYMqVwD.pgp Description: PGP signature
Re: Matlab on FreeBSD 5.3
I just got it to work, thanks to the encouragement of Santo Natale. One thing is the architechture, to fix this you can edit the matlab binary, which is actually a script gvim /usr/local/bin/matlab or whatever if you read down you will see some stuff about ARCH_LIST go down below the fucntion check_archlist and at the bottom of it you will see two conditionals that say: ARCH= change these to ARCH=glnx86 or whatever your architechture is (it might be that you only need to change one, but this isn't important) Then another thing to make sure is that your hostname is set the same as the SERVER line in your matlab license manager file so if my hostname was dork, then it would say SERVER dork ID=XXX where you replace XXX with your user ID you also have to make sure that you setup your options file properly in your license file you should have a line like: DAEMON MLM /compat/linux/usr/local/matlab/etc/lm_matlab options=/compat/linux/usr/local/matlab/etc/MLM.opt and in MLM.opt it needs to say: INCLUDE MATLAB USER blah where blah is your user, note that I'm assuming you have a standalone license make sure you leave a blank line after the INCLUDE line, I know, sounds dumb but otherwise it doesn't work. then you just start the flexlm (not as root) /usr/local/etc/rc.d/flexlm.sh start and then start matlab underthe user you were configured for matlab and it should work... well I only just got it working so hopefully everything works. thanks cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I cut and paste from xterm _into_ another program ?
Hi, I am using a very vanilla XFree86 installation on fbsd 5.3. I am using ratpoison as my window manager. If I highlight text in an xterm, it is immediately in my buffer, and I can paste it into that xterm, or any other xterm. Further, if I copy text in my web browser, I can paste it into all my xterms. However, I cannot take text that I copied in my xterm and paste it into my browser (opera). Why is this ? Why can I go in one direction (paste from opera into xterm) but not the other (paste from xterm into opera) ? thanks. __ Do you Yahoo!? Yahoo! Sports - Sign up for Fantasy Baseball. http://baseball.fantasysports.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
Roland Smith writes: Could it be that the cron output is mailed to someone else on the production machine? I checked my aliases and stuff and sent some test messages to operator, and they get through okay. Apparently it's not happening on my production box, only on the test box. It works OK on my 5.3 box, though. My system has revision 1.2 of /usr/libexec/save-entropy, and it is 3073 bytes. Yours should be the same, since the revision dates to Januari 2001. Yes, that's what I have as well, on both machines. Is there any difference between /usr/libexec/save-entropy and /usr/src/libexec/save-entropy/save-entropy.sh ? They should be identical. They are the same on my machines. Hmmm, disk or filesystem trouble maybe? I guess that would show in the logfile. Maybe an fsck on /usr in single user mode helps? I have tons of SCSI errors on the test machine, for reasons unknown. I don't know if data is actually being lost or not. But even if that were the case, wouldn't I see the corruption in the save-entropy file? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Odd message from cron daemon
David Fleck writes: Hmmm. Well, I don't know, but I'd try running the save-entropy script manually and see if you can recreate the message that way. If so, add a -x to the first line #!/bin/sh -x and run it manually again - you should be able to see what command precedes the message. That did it! The error was a missing newline in my modified version of rc.conf. Thanks! -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
On 2005-02-27 11:44, Ken Hawkins [EMAIL PROTECTED] wrote: Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: ... delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? Something else is wrong now. I can't connect to the SMTP port of bhost1.broadjam.net, so I can't tell if it's down or just refusing my attempt to connect. Are you sure you should be sending outgoing email through that host? my flags in my rc.conf are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. This looks a bit wrong, if you are running a recent release of FreeBSD. The sendmail_enable option is *NOT* going to work with _flags. It is mostly a wrapper around the following: sendmail_submit_enable sendmail_outbound_enable sendmail_msp_queue_enable You should definitely read the manpage of rc.sendmail, before setting Sendmail-related options in your /etc/rc.conf file. Pay very close attention to the section ``RC.CONF VARIABLES''. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XF86Config problem
On Sat, 26 Feb 2005, kalin mintchev wrote: hi... problem with XF86Config. i did the configuration a few times. and tried different versions of the file... i get: (EE) Screen(s) found, but none have usable configuration. fatal error: no screens found... this is on an old amd machine with 4.10 on it and the video card is generic on the motherboard itself. the motherboard is K7SEM and with a simple VGA connector... thanks -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello kalin, you are using the ECS Elitegroup Mainboard K7SEM in the Version 3.0A or 3.0C. You are using the SiS 730 or the SiS 730S Chipset. You should use these settings for your graphic-card. Please see also on http://www.ecs.com.tw for more information... Please send a reply if these helped! With regards Stevan Tiefert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE
On Sun, 27 Feb 2005 15:53:30 +0100, in sentex.lists.freebsd.questions you wrote: I've gotten two messages like the ones below today on my production server (5.3-RELEASE): messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803 messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out Could be a bad sector on the drive, or bad cable. Hard to say. Try /usr/ports/sysutils/smartmontools/ It can read all sorts of info off the drive and help you narrow down what the problem might be. ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Interjet requires warm reboot from 5.x boot loader?
When warm/cold booting an Interjet under FreeBSD 5.2.1 or 5.3 (vanilla installs), kernel loading fails. The only workaround I've figured out so far is to reboot from the boot loader OK prompt, as shown below. I'm not skilled in the hardware troubleshooting arena, so I'm stumped. I've searched for others with this problem, and they seem to be clearly related to things like booting from bad floppies, etc -- but my instinct is that this would mean that booting would always fail. Also, I can warm boot without power-cycling (with shutdown, for example) and I get the same error until I reboot from OK. I thought that it might be some kind of hard-drive spin-up or delay issue, but I haven't been able to locate anything in the loader configs to create a delay to test this theory. Unfortunately, since cold-booting always fails, this makes the boxes unusable every time they take a power hit or reboot for some other reason. [example session starts] Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 639kB/7168kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], Mon Feb 23 18:35:51 GMT 2004) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x45da18 elf32_loadexec: archsw.readin failed /boot/kernel/kernel text=0x45da18 elf32_loadexec: archsw.readin failed /boot/kernel/kernel text=0x45da18 elf32_loadexec: archsw.readin failed Unable to load a kernel! - Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/kernel/kernel text=0x45da18 elf32_loadexec: archsw.readin failed can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK reboot Rebooting... Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 639kB/64512kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 ([EMAIL PROTECTED], Mon Feb 23 18:35:51 GMT 2004) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x45da18 data=0x79550+0x47a2c syms=[0x4+0x57fa0+0x4+0x6a496] /boot/kernel/snd_pcm.ko text=0x14d90 data=0x2634+0x10b8 syms=[0x4+0x2d00+0x4+0x3196] /boot/kernel/snd_sbc.ko text=0x284c data=0x2cc+0x4 syms=[0x4+0x860+0x4+0x894] ZD? 3 3 3 3 ,, 3 3 /()` 3 Welcome to FreeBSD!3 \ \___ / | [snip] Can anyone kick me in the right direction? Royce -- Royce D. Williams- IP Engineering, ACS personal: [EMAIL PROTECTED] - PGP: 3FC087DB/1776A531 work: [EMAIL PROTECTED] - http://www.tycho.org/royce/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Optimising FreeBSD
On 27 Feb 2005, at 16:32, Richard Danter wrote: Assuming the settings above are right, now I guess I can rebuild my kernel again without changing the configuration but I should now have p2 specific code? Is there anything in the kernel config file I need to check? Do I even need to rebuild since I had the I686_CPU setting? I have one piece of advice, if you're using the if_ndis module don't build it with custom CPUTYPE values. In my experience doing so can stop it working. See the below post I made: http://lists.freebsd.org/pipermail/freebsd-hardware/2005-January/ 002172.html It's not too difficult to build that one module with the default CPUTYPE and still use a custom value for the rest, and doing so hasn't caused me any problems. -- - Adam McMaster [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I cut and paste from xterm _into_ another program ?
On 27 Feb 2005, at 20:16, Joe Schmoe wrote: Hi, I am using a very vanilla XFree86 installation on fbsd 5.3. I am using ratpoison as my window manager. If I highlight text in an xterm, it is immediately in my buffer, and I can paste it into that xterm, or any other xterm. Further, if I copy text in my web browser, I can paste it into all my xterms. However, I cannot take text that I copied in my xterm and paste it into my browser (opera). Why is this ? Why can I go in one direction (paste from opera into xterm) but not the other (paste from xterm into opera) ? thanks. What're you doing to paste? Middle-click should work fine. -- - Adam McMaster [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation instructions for Firefox somewhere?
Leonard Zettel wrote: On Sunday 27 February 2005 04:01 am, Anthony Atkielski wrote: John writes: If space is tight, running make distclean after make install helps, as does periodically deleting the contents of /usr/ports/distfiles Does pkg_add do this? There's no need for [one of] the exact reason[s] that has you already sold on packages instead of ports. There's nothing excess [much] in a binary package. If you're install via ports, you get a source tarball that d'loads to /ports/distfiles, then is uncompressed and untarred to a work subdir in the port directory, where all the ' config/make/make install happens. If you `make install clean` the port, this subdir is `rm`ed after installation. If you `make distclean` the source tarball is removed, also. [0] if you mean, by pull the index from an ftp site cd /usr/ports make index I meant running /stand/sysinstall and selecting an FTP site as the installation media for the software. It always downloads some sort of index when I do that, which I assume is an up-to-date list of all the ports available. Being somewhat of a newvie, I should probably not be saying anything, but that's the assumption that nailed you. If I understand the situation correctly, what you got was information on *packages* available when the OS version was released, a subset of available ports. And this time around, that list was not in a totally self-consistent state. I wrote two [one rather long] post[s] yesterday on this. The conclusion I drew is that you get an Index coinciding with the 'Release Name' you have set under sysinstall's Configure - Options menu. As I do my ports work in terminals instead of via sysinstall, I can't say *for certain*, and no one authoritative has stepped forward to confirm or deny my hypothesis. If you can set this to an appropriate value, you should get a useable list of packages My own experiences have given me a definite bias toward using the ports system to compile stuff to be added to my system rather than going with the binary packages. I get the impression that many port maintainers who are fairly careful about keeping their port versions workable and patched only give a relative lick and promise to their packages. -LenZ- While I share your bias towards the ports tree, I think that this final impression might be wrong?. Kris Kennaway et al have a rather extensive system for automated package-building. built very regularly (see http://pointyhat.freebsd.org). Of course, they don't control the source of all those ports, so I guess it's possible that if some maintainers have their software in a broken or buggy state when a set of packages is built for a RELEASE, there's not much that can be done about it at the time. I'm sure that maintainers are notified a few times before a RELEASE in order to get their affairs in order, but that doesn't mean that they do, or that it's FBSD's fault if they don't. I guess if you knew the URI of a recently built package from the Project's bento cluster, (or whatever it's called), you could use pkg_add against that address and get something newer if you wanted to. Me, I like ports Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]