From fbsd1 at a1poweruser.com Sun Mar 1 00:06:11 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 00:06:20 2009 Subject: portmanager/portmaster like application for packages? Message-ID: <49AA41F2.9060801@a1poweruser.com> I am looking for software like portmanager/portmaster but works on the package system instead of the port system. Is there such am application available? From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 00:12:06 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 00:12:13 2009 Subject: Apache In-Reply-To: <49A9E9D3.8030400@radel.com> References: <886535.35573.qm@web111204.mail.gq1.yahoo.com> <49A9E9D3.8030400@radel.com> Message-ID: <200902282312.05400.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 16:50:11 Jon Radel wrote: > Monty Pyth wrote: > > Does anyone know what file Apache checks to get the time zone offset for > > httpd-access.log? > > > > 65.223.44.56 - frank [10/Oct/2000:13:55:36 -0500] "GET /apache_pb.gif > > HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/4.08 [en] > > (Win98; I ;Nav)" > > > > Where does Apache get the -0500 from? I know many people say the system > > clock, but what file is it checking for that? > > Why must it be getting it from a file? See, for example, > > man 2 gettimeofday > > which is a call in the standard C library that returns the time in GMT > *and* the time zone the system clock is set to. It's still a file....../etc/localtime. Yes, gettimeofday gets it from there, really. See the Note: timezone is no longer used; this information is kept outside the kernel. Also see, tzsetup(8), specifically the FILES and BUGS section. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 00:19:12 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 00:19:20 2009 Subject: xi? In-Reply-To: <86sklxn7w4.fsf@nowhere.org> References: <519648.29931.qm@web52107.mail.re2.yahoo.com> <86sklxn7w4.fsf@nowhere.org> Message-ID: <200902282319.11605.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 20:12:43 Glyn Millington wrote: > gahn writes: > > Hi all: > > > > I am rebuilding those ports and run into some problems. one of those > > is: > > > > checking for XINPUT... configure: error: Package requirements (x11 xext > > xi >= 1.2 inputproto >= 1.5) were not met: > > > > Requested 'xi >= 1.2' but version of Xi is 1.1.3 > > > > searching for a while and can't find this "xi". how could I upgrade > > this "xi"? > > /usr/ports/X11/libXi would be my guess :-) The long answer: - this is an error from pkg-config - pkg-config stores version information in .pc files - xorg uses descriptive names for these modules, which don't always match the capitalization or lib prefix of the port, but sometimes does. - /usr/ports/Mk/bsd.xorg.mk maps the .pc files to the port directories Therefore, to find out: $ grep xi.pc /usr/ports/Mk/bsd.xorg.mk xi_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xi.pc: ${PORTSDIR}/x11/libXi -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From aryeh.friedman at gmail.com Sun Mar 1 00:22:09 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 00:22:17 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <49AA41F2.9060801@a1poweruser.com> References: <49AA41F2.9060801@a1poweruser.com> Message-ID: <49AA45AE.8040702@gmail.com> Fbsd1 wrote: > I am looking for software like portmanager/portmaster but works on the > package system instead of the port system. Is there such am > application available? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > portupgrade has an option to install packages if current with the port version From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 00:32:01 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 00:32:08 2009 Subject: screensaver blanktime in the kernel In-Reply-To: References: Message-ID: <200902282332.00368.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 08:24:52 Roy Stuivenberg wrote: > Hello, > > I would like to set screensaver blanktime in the kernel. > I have daemon_saver set in the kernel also, and all the needed components > in kernel. > When I set blanktime in rc.conf, it's not working. > After reboot, daemon_saver starts at the spot, but it's not returning > anymore. Weird, works for me, but haven't compiled it in the kernel. daemon_saver is loaded as kernel module on request. blanktime="300" saver="daemon" in /etc/rc.conf works on a GENERIC kernel. Try taking it out of the kernel config, recompile/install kernel and see if it works then. Note that without sysmouse, you will have to press a key to clear the screensaver. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd1 at a1poweruser.com Sun Mar 1 00:37:40 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 00:37:49 2009 Subject: Xorg mouse and massive error log messages problems Message-ID: <49AA4954.7010700@a1poweruser.com> Just installed Xorg package from parkages-current hoping to get environment containing all the fixes. Still have the no mouse curser movement on xfce desktop. Adding Option "AllowEmptyInput" "Off" statement to ServerLayout section of /etc/X11/xorg.conf got the mouse curser moving. But I still get the the mouse error messages in the X11 log. {EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (EE) PS/2 Mouse: cannot open input device (EE) PreInit failed for input device "PS/2 Mouse" (EE) config/hal: NewInputDeviceRequest failed Is there some other correct solution? I am receiving massive flooding of the Log file: "/var/log/Xorg.0.log" with the follow messages Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0" I found a post in the questions archives where the person was saying these messages are meaningless and can be ignored. It's not a problem the ignore them, but my log get massive in size and consumes my free disk space. I know i can configure to rotate the log at a given size. But that is not the solution. I need to know how to stop these messages from being issued in the first place. From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 00:38:26 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 00:38:34 2009 Subject: Odd problem with DNS and IP change. In-Reply-To: <49A969A1.90001@gmail.com> References: <49A95AF8.2060608@gmail.com> <49A969A1.90001@gmail.com> Message-ID: <200902282338.25799.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 07:43:13 Andrei Brezan wrote: > Andrei Brezan wrote: > > "ping mail.domain.com" it tries to get to 10.1.1.1 the old ip and gets > > time to live exceeded fro an ip along the route. When i try to ping > > domain.com it gets all ok as it pings the new ip. > Disregard my noise. It was a file called hosts in /etc, changed there > the ip for mail.domain.com and now ping works ok. > Sorry about that. As a rule, only use /etc/hosts for hosts that cannot be resolved by DNS (i.e.: local network) or NFS hosts that provide critical filesystems (because the resolver might not be reachable at /etc/rc.d/mountcritremote time). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From aryeh.friedman at gmail.com Sun Mar 1 00:44:05 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 00:44:12 2009 Subject: Xorg mouse and massive error log messages problems In-Reply-To: <49AA4954.7010700@a1poweruser.com> References: <49AA4954.7010700@a1poweruser.com> Message-ID: <49AA4AD2.8030908@gmail.com> Fbsd1 wrote: > Just installed Xorg package from parkages-current hoping to get > environment containing all the fixes. Still have the no mouse curser > movement on xfce desktop. > > Adding > Option "AllowEmptyInput" "Off" > statement to ServerLayout section of /etc/X11/xorg.conf > got the mouse curser moving. > But I still get the the mouse error messages in the X11 log. > > {EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. > (EE) PS/2 Mouse: cannot open input device > (EE) PreInit failed for input device "PS/2 Mouse" > (EE) config/hal: NewInputDeviceRequest failed > > Is there some other correct solution? > > > I am receiving massive flooding of the Log file: "/var/log/Xorg.0.log" > with the follow messages > > Xlib: extension "Generic Event Extension" missing on display ":0.0". > Xlib: extension "Generic Event Extension" missing on display ":0.0" > > I found a post in the questions archives where the person was saying > these messages are meaningless and can be ignored. It's not a problem > the ignore them, but my log get massive in size and consumes my free > disk space. I know i can configure to rotate the log at a given size. > But that is not the solution. I need to know how to stop these > messages from being issued in the first place. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Under xorg 7.4 you need to gave both dbus and hald running... as to the error message there is not much you can do until every X app is upgraded to support 7.4 From fbsd1 at a1poweruser.com Sun Mar 1 00:44:59 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 00:45:07 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <49AA45AE.8040702@gmail.com> References: <49AA41F2.9060801@a1poweruser.com> <49AA45AE.8040702@gmail.com> Message-ID: <49AA4B0A.8080507@a1poweruser.com> Aryeh M. Friedman wrote: > Fbsd1 wrote: >> I am looking for software like portmanager/portmaster but works on the >> package system instead of the port system. Is there such am >> application available? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > portupgrade has an option to install packages if current with the port > version > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > I don't do ports if at all possible. I even do the package of the dependents of the ports I am forced to do. So portupgrade is useless to me. From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 00:59:25 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 00:59:32 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <49AA41F2.9060801@a1poweruser.com> References: <49AA41F2.9060801@a1poweruser.com> Message-ID: <200902282359.24584.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 23:06:10 Fbsd1 wrote: > I am looking for software like portmanager/portmaster but works on the > package system instead of the port system. Is there such am application > available? Not (yet). Without /usr/ports it's impossible to find out what software needs updating, or you'd have to download and trust the INDEX-7 on the FreeBSD package servers. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd1 at a1poweruser.com Sun Mar 1 01:00:28 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 01:00:36 2009 Subject: link to dos2unix Message-ID: <49AA4EAB.8080009@a1poweruser.com> I use the dos2unix console command all the time. I am tried to typing in that long name. I tried to do a hard link on it. ln /usr/local/bin/dos2unix /usr/local/bin/d2u This command is accepted without error, but when it execute it d2u xxxx.txt I get message ==oops you renamed me using unix2dos instead. I also tried ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u and got same results. ls -l does not show dos2unix as linked all ready. What am I doing wrong here? From fbsd.questions at rachie.is-a-geek.net Sun Mar 1 01:03:38 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Mar 1 01:03:45 2009 Subject: ZFS + Samba = nicely In-Reply-To: References: <3dd203290902261433y11745fe5n7bb2b0876b264fbe@mail.gmail.com> Message-ID: <200903010003.36906.fbsd.questions@rachie.is-a-geek.net> On Saturday 28 February 2009 06:23:52 Sean Cavanaugh wrote: > -------------------------------------------------- > From: "Chris Rees" > Sent: Saturday, February 28, 2009 9:35 AM > To: "FreeBSD Mailing List" > Subject: Re: ZFS + Samba = nicely > > > 2009/2/26 Brad Pitney : > >> Hi > >> > >> can anyone help me? > >> > >> I am trying to setup a home file server with FreeBSD -CURRENT along with > >> Samba > >> > >> Basically I have followed the wiki for ZFS and done the usual things > >> for Samba like I have before with UFS. > >> > >> Basically my problem is that when I go to create a file or folder, the > >> file server locks up, but I am able to switch terminals with ALT+Fn > >> keys, everything else is locked solid > >> > >> -- > >> Best regards, > >> Brad > > > > Why are you running an unstable distribution with an unstable > > filesystem for production servers?? > > > > Chris > > Since when are home servers considered production level? Since they put the Ho in SoHo? ;) @Brad: you'll have more luck on freebsd-current mailing list. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From aryeh.friedman at gmail.com Sun Mar 1 01:06:44 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 01:06:51 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <49AA4B0A.8080507@a1poweruser.com> References: <49AA41F2.9060801@a1poweruser.com> <49AA45AE.8040702@gmail.com> <49AA4B0A.8080507@a1poweruser.com> Message-ID: <49AA4FEA.9080005@gmail.com> Fbsd1 wrote: > Aryeh M. Friedman wrote: >> Fbsd1 wrote: >>> I am looking for software like portmanager/portmaster but works on >>> the package system instead of the port system. Is there such am >>> application available? >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> portupgrade has an option to install packages if current with the >> port version >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > I don't do ports if at all possible. I even do the package of the > dependents of the ports I am forced to do. > So portupgrade is useless to me. > Actually (I have not read the man page in detail) there seems to be a way to say to use packages only.... now there is good reasons for using ports not packages in that god knows when the package was compiled and under what conditions (i.e. it is rolling the dice to weither or not it will work) From derek at computinginnovations.com Sun Mar 1 01:08:11 2009 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Mar 1 01:08:20 2009 Subject: Odd problem with DNS and IP change. In-Reply-To: <49A95AF8.2060608@gmail.com> References: <49A95AF8.2060608@gmail.com> Message-ID: <6.0.0.22.2.20090228173013.02810f18@mail.computinginnovations.com> At 09:40 AM 2/28/2009, Andrei Brezan wrote: >Hello list, > > I have a strange problem and I don't know what to relate it to. > My ISP >changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone >files to reflect that change. > >"dig -t mx domain.com" results in mail.domain.com 3600 IN A 15.1.1.1 >(the new ip). However when i try: > >"ping mail.domain.com" it tries to get to 10.1.1.1 the old ip and gets >time to live exceeded fro an ip along the route. When i try to ping >domain.com it gets all ok as it pings the new ip. I've also tried dig >@(forwarders in named.conf) and they to got the correct mx dns entry for >domain.com. > In rc.conf i have hostname="mail.domain.com" (eg), i haven't changed >it, i'm thinking it's something related to hostid or hostuid but i don't >know where to search for this topic. > If anyone has a clue what to try or where to look upon this behavior >please shed some light. > >Thank you. > Check /etc/hosts which is used before DNS. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 01:56:41 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 01:56:48 2009 Subject: link to dos2unix In-Reply-To: <49AA4EAB.8080009@a1poweruser.com> References: <49AA4EAB.8080009@a1poweruser.com> Message-ID: > long name. I tried to do a hard link on it. > ln /usr/local/bin/dos2unix /usr/local/bin/d2u > This command is accepted without error, but when it execute it > d2u xxxx.txt > I get message ==oops you renamed me using unix2dos instead. > I also tried > ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u > and got same results. ls -l does not show dos2unix as linked all ready. > > What am I doing wrong here? it HAS to be called dos2unix - this program reacts on the name it was called as because dos2unix and unix2dos are the same binary. if called as d2u - it doesn't know what to do. use shell aliases From m.borsatino at alice.it Sun Mar 1 01:58:45 2009 From: m.borsatino at alice.it (m.borsatino@alice.it) Date: Sun Mar 1 01:58:53 2009 Subject: libpthread not found Message-ID: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> Hi. I've installed netbeans from ports without error messages. when I started the program I got an error like this: "libpthread.so.2 needed by java not found". I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've done a rough attempt making a soft link; after that I've restarted netbeans; now the error message is: "/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "java", also present but with version libc.so.7. the same think happen with netbeans 6.1 and with netbeans 6.4 either installed from ports or packages and also using a binaries. have I done a mistake? how can I fix it? thanks for any idea. Marco. From rsmith at xs4all.nl Sun Mar 1 02:02:05 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Mar 1 02:02:13 2009 Subject: link to dos2unix In-Reply-To: <49AA4EAB.8080009@a1poweruser.com> References: <49AA4EAB.8080009@a1poweruser.com> Message-ID: <20090301100200.GA36922@slackbox.xs4all.nl> On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote: > I use the dos2unix console command all the time. I am tried to typing in > that long name. I tried to do a hard link on it. > ln /usr/local/bin/dos2unix /usr/local/bin/d2u > This command is accepted without error, but when it execute it > d2u xxxx.txt > I get message ==oops you renamed me using unix2dos instead. > I also tried > ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u > and got same results. ls -l does not show dos2unix as linked all ready. > > What am I doing wrong here? Usually, programs like this perform dos2unix or unix2dos translations depending on how they are called. So renaming them won't work. Try adding an alias to your favorite shell. That should work. E.g.put 'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090301/36aba710/attachment.pgp From aryeh.friedman at gmail.com Sun Mar 1 02:02:56 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 02:03:03 2009 Subject: libpthread not found In-Reply-To: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> Message-ID: <49AA5D4C.3070901@gmail.com> m.borsatino@alice.it wrote: > Hi. > I've installed netbeans from ports without error messages. when I started the program I got an error like this: "libpthread.so.2 needed by java not found". I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've done a rough attempt making a soft link; after that I've restarted netbeans; now the error message is: "/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "java", also present but with version libc.so.7. > the same think happen with netbeans 6.1 and with netbeans 6.4 either installed from ports or packages and also using a binaries. > have I done a mistake? how can I fix it? > thanks for any idea. > Marco. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > You may want to look at libmap.conf(5) From jos at webrz.net Sun Mar 1 02:15:58 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sun Mar 1 02:16:05 2009 Subject: MySQL / php differ Message-ID: <49AA6060.60604@webrz.net> | FreeBSD 6.4-STABLE Just upgraded my MySQL server/client to v5.0.77 and php version to php5-5.2.8 but something struck my eye when opening phpmyadmin, saying: 'Your PHP MySQL library version 4.0.27 differs from your MySQL server version 5.0.77. This may cause unpredictable behavior'. I obviously have my php MySQL library running wrong version. Can you tell me How could I solve this matter in a quick way? thanks, Jos Chrispijn From aryeh.friedman at gmail.com Sun Mar 1 02:27:16 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 02:27:24 2009 Subject: MySQL / php differ In-Reply-To: <49AA6060.60604@webrz.net> References: <49AA6060.60604@webrz.net> Message-ID: <49AA6302.2000408@gmail.com> Jos Chrispijn wrote: > | FreeBSD 6.4-STABLE > > Just upgraded my MySQL server/client to v5.0.77 and php version to > php5-5.2.8 but something struck my eye when opening phpmyadmin, saying: > > 'Your PHP MySQL library version 4.0.27 differs from your MySQL server > version 5.0.77. This may cause unpredictable behavior'. > > I obviously have my php MySQL library running wrong version. Can you > tell me How could I solve this matter in a quick way? > > thanks, > Jos Chrispijn > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > portmaster -rf database/phpmyadmin From m.borsatino at alice.it Sun Mar 1 02:31:28 2009 From: m.borsatino at alice.it (m.borsatino@alice.it) Date: Sun Mar 1 02:31:35 2009 Subject: libpthread not found References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> <49AA5D4C.3070901@gmail.com> Message-ID: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FB@FBCMST11V01.fbc.local> thanks ... but ... how? now I don't get the first message; but the second tells me that a library is missing, but it is present. anyway I' prepared a very simple /etc/libmap.conf like this: # /etc/libmap.conf # # candidate mapping # libc.so.6 /usr/compat/linux/lib/libc.so.6 but clearly this is not enough. should I restart the system or use a program to make the change accepted? Marco -----Messaggio originale----- Da: Aryeh M. Friedman [mailto:aryeh.friedman@gmail.com] Inviato: dom 01/03/2009 11.02 A: m.borsatino@alice.it Cc: freebsd-questions@freebsd.org Oggetto: Re: libpthread not found m.borsatino@alice.it wrote: > Hi. > I've installed netbeans from ports without error messages. when I started the program I got an error like this: "libpthread.so.2 needed by java not found". I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've done a rough attempt making a soft link; after that I've restarted netbeans; now the error message is: "/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "java", also present but with version libc.so.7. > the same think happen with netbeans 6.1 and with netbeans 6.4 either installed from ports or packages and also using a binaries. > have I done a mistake? how can I fix it? > thanks for any idea. > Marco. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > You may want to look at libmap.conf(5) From Bordo at ozcevikmobilya.com.tr Sun Mar 1 02:41:45 2009 From: Bordo at ozcevikmobilya.com.tr (=?windows-1254?Q?=D6z=E7evik_Mobilya_/_Ankara_/Siteler?=) Date: Sun Mar 1 02:41:53 2009 Subject: ankara mobilyasi Message-ID: <4127-2200930110101947@bb-1a0b594f9be5> Merhaba, iyi gunler. Ben Ibrahim Cevik, Ankara siteler b?lgesinde mobilya ureticisiyim Oncelikle, verdigim rahatsizliktan dolayi kusura bakmayiniz. Sizlere urunlerimi tanitmak, mobilya ihtiyaciniz oldugunda yardimci olmak istiyorum. Urun se?eneklerimi www.ozcevikmobilya.com.tr web sayfami ziyaret ederek inceleyebilirsiniz. Ayrica isteginize bagli olarak, kisiye ozel uretim de yapiyorum. Ankara siteler bolgesine yolunuz dustugunde sizi showroomumuza konuk etmekten ve bir fincan kahve ikram etmektan gurur duyarim. Bu vesile ile web sayfamda yer almayan daha farkli urunlerimi de gorebilirsiniz. En icten saygilarimla IIbrahim Cevik Ozcevik Mobilya Tasarim Dekorasyon Imalat Ticaret Ltd Akbal Sk No 8 Siteler Ankara T: +90 312 350 69 75 F: +90 312 348 21 78 Gsm: +90 533 739 84 67 www.ozcevikmobilya.com.tr Not: Birden fazla yolladigim elektronik postalar icin, pesinen ozur dilerim. From fbsd1 at a1poweruser.com Sun Mar 1 02:52:48 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 02:52:56 2009 Subject: link to dos2unix In-Reply-To: <20090301100200.GA36922@slackbox.xs4all.nl> References: <49AA4EAB.8080009@a1poweruser.com> <20090301100200.GA36922@slackbox.xs4all.nl> Message-ID: <49AA68FB.6010007@a1poweruser.com> Roland Smith wrote: > On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote: >> I use the dos2unix console command all the time. I am tried to typing in >> that long name. I tried to do a hard link on it. >> ln /usr/local/bin/dos2unix /usr/local/bin/d2u >> This command is accepted without error, but when it execute it >> d2u xxxx.txt >> I get message ==oops you renamed me using unix2dos instead. >> I also tried >> ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u >> and got same results. ls -l does not show dos2unix as linked all ready. >> >> What am I doing wrong here? > > Usually, programs like this perform dos2unix or unix2dos translations > depending on how they are called. So renaming them won't work. > > Try adding an alias to your favorite shell. That should work. E.g.put > 'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc. > > Roland Thank you. That worked. From nightrecon at verizon.net Sun Mar 1 03:00:48 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sun Mar 1 03:00:58 2009 Subject: libpthread not found References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> <49AA5D4C.3070901@gmail.com> <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FB@FBCMST11V01.fbc.local> Message-ID: m.borsatino@alice.it wrote: > thanks ... but ... how? > now I don't get the first message; but the second tells me that a library > is missing, but it is present. anyway I' prepared a very simple > /etc/libmap.conf like this: > > # /etc/libmap.conf > # > # candidate mapping > # > libc.so.6 /usr/compat/linux/lib/libc.so.6 Change to: libc.so.6 libc.so.7 > but clearly this is not enough. should I restart the system or use a > program to make the change accepted? > No need, it is picked up the next time the libmap.conf file is parsed. What is occurring is the java binary was built against libc.so.6, which is what you would find on a FreeBSD 6.x box. -Mike From m.borsatino at alice.it Sun Mar 1 03:19:18 2009 From: m.borsatino at alice.it (m.borsatino@alice.it) Date: Sun Mar 1 03:19:24 2009 Subject: libpthread not found Message-ID: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local> amm ... when I change the 'candidate' something strange begins to happen: bash doesn't work anymore, saying that it does not find the library. this happens as soon as I do the change, showing what you've explained to me. Marco > thanks ... but ... how? > now I don't get the first message; but the second tells me that a library > is missing, but it is present. anyway I' prepared a very simple > /etc/libmap.conf like this: > > # /etc/libmap.conf > # > # candidate mapping > # > libc.so.6 /usr/compat/linux/lib/libc.so.6 Change to: libc.so.6 libc.so.7 > but clearly this is not enough. should I restart the system or use a > program to make the change accepted? > No need, it is picked up the next time the libmap.conf file is parsed. What is occurring is the java binary was built against libc.so.6, which is what you would find on a FreeBSD 6.x box. -Mike From fbsd1 at a1poweruser.com Sun Mar 1 03:20:25 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun Mar 1 03:20:33 2009 Subject: bsdstats not working in 7.1 Message-ID: <49AA6F75.2080602@a1poweruser.com> bsdstats is now in the base system. Have bsdstats_enable="YES" is rc.conf Worked this way in 7.0. What am I missing here??? From m.seaman at infracaninophile.co.uk Sun Mar 1 03:24:21 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Mar 1 03:24:29 2009 Subject: kernel #4 In-Reply-To: <20090228215859.6e728cab.freebsd@edvax.de> References: <49A95459.7090708@ibctech.ca> <49A994CF.90201@ibctech.ca> <20090228215859.6e728cab.freebsd@edvax.de> Message-ID: <49AA704C.8060309@infracaninophile.co.uk> Polytropon wrote: > On Sat, 28 Feb 2009 14:47:27 -0500, Steve Bertrand wrote: >> Tim Judd wrote: >>> Actually this is the 5th time --- computers start counting at zero. >> Wow, what a nice technicality you have found! >> >> If "computers start counting at zero", and if the system-installed >> kernel starts at zero, how many times has the user taken the bus? > > And how does the computer count more than 1 (which is 2) when > he does only understand 0 and 1? :-) > Same way people from count to 20 -- it takes its shoes off. Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090301/0e835aec/signature.pgp From aryeh.friedman at gmail.com Sun Mar 1 03:39:50 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Mar 1 03:39:57 2009 Subject: libpthread not found In-Reply-To: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local> References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local> Message-ID: <49AA7402.8070509@gmail.com> Then you will need to limit it to diablo only by placing it in the exec path in []'s m.borsatino@alice.it wrote: > amm ... when I change the 'candidate' something strange begins to happen: bash doesn't work anymore, saying that it does not find the library. this happens as soon as I do the change, showing what you've explained to me. > > Marco > > >> thanks ... but ... how? >> now I don't get the first message; but the second tells me that a library >> is missing, but it is present. anyway I' prepared a very simple >> /etc/libmap.conf like this: >> >> # /etc/libmap.conf >> # >> # candidate mapping >> # >> libc.so.6 /usr/compat/linux/lib/libc.so.6 >> > > Change to: > > libc.so.6 libc.so.7 > > >> but clearly this is not enough. should I restart the system or use a >> program to make the change accepted? >> >> > > No need, it is picked up the next time the libmap.conf file is parsed. > > What is occurring is the java binary was built against libc.so.6, which is > what you would find on a FreeBSD 6.x box. > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From nightrecon at verizon.net Sun Mar 1 03:54:44 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sun Mar 1 03:54:50 2009 Subject: libpthread not found References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local> Message-ID: m.borsatino@alice.it wrote: [snip] >> thanks ... but ... how? >> now I don't get the first message; but the second tells me that a library >> is missing, but it is present. anyway I' prepared a very simple >> /etc/libmap.conf like this: >> >> # /etc/libmap.conf >> # >> # candidate mapping >> # >> libc.so.6 /usr/compat/linux/lib/libc.so.6 > > Change to: > > libc.so.6 libc.so.7 > >> but clearly this is not enough. should I restart the system or use a >> program to make the change accepted? >> > > No need, it is picked up the next time the libmap.conf file is parsed. > > What is occurring is the java binary was built against libc.so.6, which is > what you would find on a FreeBSD 6.x box. > >> amm ... when I change the 'candidate' something strange begins to happen: >> bash doesn't work anymore, saying that it does not find the library. this >> happens as soon as I do the change, showing what you've explained to me. I am beginning to wonder if the problem isn't a little more involved. Did you upgrade the machine from FreeBSD 6.x to 7.x without rebuilding all your ports? With bash breaking it sounds like it was built for a 6.x box as well, which leads me to wonder how many other ports are the same way. What you also might look into is installing the misc/compat6x port. However, in any event, we need to get down to the bottom of what happened to create the situation. The most obvious thing I can think of is an upgrade of the system from 6 to 7 without a corresponding rebuild or reinstall of all ports. -Mike From terry at bluelight.org.uk Sun Mar 1 04:26:39 2009 From: terry at bluelight.org.uk (Terry) Date: Sun Mar 1 04:26:48 2009 Subject: Error getting UID/GID Message-ID: <49AA7F0E.3060301@bluelight.org.uk> I get this error using vexim which is a php front end for exim ( I have mailed there list ) I am running it in a jail and when I goto add a new domain I get Error getting UID/GID. All existing domains and accounts are fine ( these come from another server and have been moved into the jail ) and I can add users to existing domains with out a problem. I get the same error with apache or lighttpd. All joomla sites are working fine so I assume every thing is ok php wise. Nothing gets shown in the web server logs. The uid and gid are set in variables.php but you can also change them if you wish when adding a domain I am just wondering would it be some sort of jail related issue ? But I can not see a sysctl that it maybe sysctl -a | grep jail security.jail.jailed: 0 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 0 security.jail.allow_raw_sockets: 0 security.jail.enforce_statfs: 2 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 7.1-RELEASE ,PHP 5.2.8 (cli) Just looking for some pointers where to look really Thanks Terry From luvbeastie at larseighner.com Sun Mar 1 04:47:05 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Mar 1 04:47:14 2009 Subject: link to dos2unix In-Reply-To: <49AA4EAB.8080009@a1poweruser.com> References: <49AA4EAB.8080009@a1poweruser.com> Message-ID: <20090301064520.Y95262@qroenaqrq.6qbyyneqvnyhc.pbz> On Sun, 1 Mar 2009, Fbsd1 wrote: > I get message ==oops you renamed me using unix2dos instead. Someone else has already replied that the binary only knows what to do by checking the name used to call it. The way to do what you want is to use an alias in your shell. In BASH this would be alias d2u='dos2unix' in .profile. Then run source .profile, or log out and log in. This may vary according to which shell you use. Consult the man for your shell. The reason this works is that the shell resolves the alias before it calls the command, so the command never knows what you really typed. A number of applications are like this. Aliasing is the right way to make shortcut names, rather than creating links. If you want the alias to work system-wide, edit the system confifuration file for the particular shell. If users use several different shell, you do have to add the alias to each distinct configuration file. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From m.seaman at infracaninophile.co.uk Sun Mar 1 04:52:41 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Mar 1 04:52:48 2009 Subject: MySQL / php differ In-Reply-To: <49AA6302.2000408@gmail.com> References: <49AA6060.60604@webrz.net> <49AA6302.2000408@gmail.com> Message-ID: <49AA850A.6020105@infracaninophile.co.uk> Aryeh M. Friedman wrote: > Jos Chrispijn wrote: >> | FreeBSD 6.4-STABLE >> >> Just upgraded my MySQL server/client to v5.0.77 and php version to >> php5-5.2.8 but something struck my eye when opening phpmyadmin, saying: >> >> 'Your PHP MySQL library version 4.0.27 differs from your MySQL server >> version 5.0.77. This may cause unpredictable behavior'. >> >> I obviously have my php MySQL library running wrong version. Can you >> tell me How could I solve this matter in a quick way? >> >> thanks, >> Jos Chrispijn > portmaster -rf database/phpmyadmin Actually, you may only need to recompile databases/php5-mysql (possibly plus some dependencies) and then restart apache. If your DB is on the same machine as where you're running phpMyAdmin, then you will have the 5.0.77 client libraries already installed and recompiling that one package should fix the observed problem. If not, then you may need to update the mysql client libraries and anything that links to them on the phpMyAdmin machine. You can check what php5-mysql depends on like so: % pkg_info -rx php5-mysql Information for php5-mysql-5.2.8: Depends on: Dependency: expat-2.0.1 Dependency: openssl-0.9.8j_1 Dependency: perl-5.8.9_1 Dependency: pkg-config-0.23_1 Dependency: pcre-7.8 Dependency: mysql-client-5.0.77 Dependency: db46-4.6.21.3 Dependency: cyrus-sasl-2.1.22_2 Dependency: openldap-sasl-client-2.4.15 Dependency: libiconv-1.11_1 Dependency: libxml2-2.7.3 Dependency: apache-2.2.11_3 Dependency: php5-5.2.8 You won't get exactly the same list -- the important bit is the 'mysql-client' line. If you aren't using 5.0.77 client then: # portupgrade -o databases/mysql50-client -fr mysql-client-X.X.XX (fill in the version number of the client libraries you actually do have installed). You may also see output for php5-mysqli if you have that module installed: the portupgrade command above should fix both modules. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090301/b30a4638/signature.pgp From terry at bluelight.org.uk Sun Mar 1 04:55:24 2009 From: terry at bluelight.org.uk (Terry) Date: Sun Mar 1 04:55:32 2009 Subject: Error getting UID/GID Message-ID: <49AA85CD.9030809@bluelight.org.uk> all sorted at some point I had over looked the group id which was wrong when I added the user I all ways fix these things after asking for help :( Thanks Terry From roberthuff at rcn.com Sun Mar 1 06:28:08 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Mar 1 06:28:15 2009 Subject: A problem about pkg_deinstall In-Reply-To: <200902282247.22739.fbsd.questions@rachie.is-a-geek.net> References: <200902282247.22739.fbsd.questions@rachie.is-a-geek.net> Message-ID: <18858.39797.40001.573615@jerusalem.litteratus.org> Mel writes: > Aside what Michael pointed out, ports-mgmt/pkg_cutleaves is much > easier for this task. It will only delete leaves, so if b is > still needed by X, it will not come up on the next iteration. And > you get to see the short description of the package, so may > decide to keep it anyway... I'd like to suggest a better solution is not auto-deleting in either direction. Even if the code were perfect - of which there is no evidence - the people are not, Unless you're (generic "you") planning to wipe out something huge (e.g. X11, or Gnome/KDE) and know _exactly_ what you're doing ... it's like hanging a "Kick me!" sign around your neck. Robert Huff From valerio.daelli at gmail.com Sun Mar 1 06:32:50 2009 From: valerio.daelli at gmail.com (Valerio Daelli) Date: Sun Mar 1 06:32:56 2009 Subject: Port of perl 5.10 Message-ID: <27dbfc8c0903010603g32e1640fo49f8c55f652a28d9@mail.gmail.com> Hi is there anyone working on a port of perl5.10? I can only see ports of 5.8 and 5.6. I can make a port of 5.10, it seems to compile flawlessly on FreeBSD 7. Have a good day Valerio From roberthuff at rcn.com Sun Mar 1 06:52:47 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Mar 1 06:52:55 2009 Subject: Port of perl 5.10 In-Reply-To: <27dbfc8c0903010603g32e1640fo49f8c55f652a28d9@mail.gmail.com> References: <27dbfc8c0903010603g32e1640fo49f8c55f652a28d9@mail.gmail.com> Message-ID: <18858.41232.35075.455290@jerusalem.litteratus.org> Valerio Daelli writes: > is there anyone working on a port of perl5.10? > I can only see ports of 5.8 and 5.6. > I can make a port of 5.10, it seems to compile flawlessly on > FreeBSD 7. _Many_ ports depend on perl, and each must be tested (and if broken hopefully fixed) before such an ungrade happens. I believe the recent jump from 5.8.8 to 5.8.9 took weeks of behind-the-scenes work. Now imagine what moving to 5.10 will likely involve .... Experienced help is always appreciated, and I commend the 20090113 entry of ports/UPDATING as having a contact point. Robert Huff From kkiller at gmail.com Sun Mar 1 07:18:39 2009 From: kkiller at gmail.com (Sniper) Date: Sun Mar 1 07:18:46 2009 Subject: Root shell Message-ID: Hi! I heard that changing root shell to bash is not good idea, also programing in any C shell not applicable. So which shell is the most appropriate for root user ? Regards, Jurif From glen.j.barber at gmail.com Sun Mar 1 07:27:17 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Mar 1 07:27:23 2009 Subject: Root shell In-Reply-To: References: Message-ID: <4ad871310903010727r2611c7b0xd91ee80c5064d154@mail.gmail.com> On Sun, Mar 1, 2009 at 9:50 AM, Sniper wrote: > Hi! > > I heard that changing root shell to bash is not good idea, also programing > in any C shell not applicable. So which shell is the most appropriate for > root user ? > /bin/csh -- Glen Barber From frank at shute.org.uk Sun Mar 1 07:59:47 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Mar 1 07:59:54 2009 Subject: bsdstats not working in 7.1 In-Reply-To: <49AA6F75.2080602@a1poweruser.com> References: <49AA6F75.2080602@a1poweruser.com> Message-ID: <20090301155935.GA15344@melon.esperance-linux.co.uk> On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote: > > bsdstats is now in the base system. On what? > Have bsdstats_enable="YES" is rc.conf > Worked this way in 7.0. > What am I missing here??? $ pkg_info -D bsdstats* Still in a port (sysutils/bsdstats) on: FreeBSD 7.1-RELEASE-p2 amd64 Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From ml at netfence.it Sun Mar 1 08:04:32 2009 From: ml at netfence.it (Andrea Venturoli) Date: Sun Mar 1 08:04:40 2009 Subject: Tandberg RDX QuikStor Message-ID: <49AAAA1C.4080804@netfence.it> Hello. Has anyone been using the above (either USB or SATA)? Do they work with FreeBSD? Care to share your experience? bye & Thanks av. From op at trekdanne.se Sun Mar 1 08:09:13 2009 From: op at trekdanne.se (Daniel Lannstrom) Date: Sun Mar 1 08:09:20 2009 Subject: Root shell In-Reply-To: References: Message-ID: <20090301155532.GA29514@haruhi> Why is this not a good idea? The only reason I can think of it that you want your root shell on the root hard drive. As many system use a separate partition for /usr and that bash installs to /usr/local/bin per default I can see how that can cause troubles. But are there any other reasons? Unstability in bash? Unexpected behaivor causing more harm in a root shell? On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote: > I heard that changing root shell to bash is not good idea From glen.j.barber at gmail.com Sun Mar 1 08:11:58 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Mar 1 08:12:05 2009 Subject: Root shell In-Reply-To: <20090301155532.GA29514@haruhi> References: <20090301155532.GA29514@haruhi> Message-ID: <4ad871310903010811o47b77f04y7976819e101b881b@mail.gmail.com> On Sun, Mar 1, 2009 at 10:55 AM, Daniel Lannstrom wrote: > Why is this not a good idea? The only reason I can think of it that you > want your root shell on the root hard drive. As many system use a > separate partition for /usr and that bash installs to /usr/local/bin per > default I can see how that can cause troubles. But are there any other > reasons? Unstability in bash? Unexpected behaivor causing more harm in a > root shell? > This explains one of the reasons not to change root's shell: http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT -- Glen Barber From frank at shute.org.uk Sun Mar 1 08:16:57 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Mar 1 08:17:04 2009 Subject: Root shell In-Reply-To: References: Message-ID: <20090301161650.GB15344@melon.esperance-linux.co.uk> On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote: > > Hi! > > I heard that changing root shell to bash is not good idea, also programing > in any C shell not applicable. So which shell is the most appropriate for > root user ? > I changed my root shell to pdksh with no ill-effects. I just copied it from /usr/local/bin to /bin and added it to /etc/shells. Then vipw. pdksh is statically linked and I don't know if bash is. If it's not you wont be able to use it in single user mode but you can always use /bin/sh instead. Another option is to use the toor account rather than messing around with root. I think programming with csh is deprecated nowadays - a shell guru could tell you if that's true. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From m.seaman at infracaninophile.co.uk Sun Mar 1 08:25:59 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Mar 1 08:26:14 2009 Subject: Root shell In-Reply-To: <20090301161650.GB15344@melon.esperance-linux.co.uk> References: <20090301161650.GB15344@melon.esperance-linux.co.uk> Message-ID: <49AAB6FA.3030204@infracaninophile.co.uk> Frank Shute wrote: > I think programming with csh is deprecated nowadays - a shell guru > could tell you if that's true. Sure csh is deprecated for programming, and has been for a long time[*]. But this is not about shell programming. It's about what interactive shell root should have. That's a very different thing, and [t]csh is just fine for interactive use. Cheers, Matthew [*] Anyone with any sense will write posix compliant scripts using /bin/sh for maximum portability. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090301/c6609249/signature.pgp From op at trekdanne.se Sun Mar 1 08:42:14 2009 From: op at trekdanne.se (Daniel Lannstrom) Date: Sun Mar 1 08:42:21 2009 Subject: Root shell In-Reply-To: <4ad871310903010811o47b77f04y7976819e101b881b@mail.gmail.com> References: <20090301155532.GA29514@haruhi> <4ad871310903010811o47b77f04y7976819e101b881b@mail.gmail.com> Message-ID: <20090301164355.GA29675@haruhi> On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote: > This explains one of the reasons not to change root's shell: > > http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT Yes that's exactly what I meant. Is there any other reason except for that? As I see it that problem can easily be solved by copying bash to the root file system. Also many systems today have the root and /usr on the same file system. From glen.j.barber at gmail.com Sun Mar 1 08:47:46 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Mar 1 08:47:53 2009 Subject: Root shell In-Reply-To: <20090301164355.GA29675@haruhi> References: <20090301155532.GA29514@haruhi> <4ad871310903010811o47b77f04y7976819e101b881b@mail.gmail.com> <20090301164355.GA29675@haruhi> Message-ID: <4ad871310903010847w7542b038w6f7787bb231d0bef@mail.gmail.com> On Sun, Mar 1, 2009 at 11:43 AM, Daniel Lannstrom wrote: > On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote: >> This explains one of the reasons not to change root's shell: >> >> http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT > > Yes that's exactly what I meant. Is there any other reason except for > that? As I see it that problem can easily be solved by copying bash to > the root file system. Also many systems today have the root and /usr > on the same file system. You'd have to also copy more than just the binary file. It's more complex than that, and generally is a Bad Idea(tm). -- Glen Barber From james at slohall.com Sun Mar 1 09:20:13 2009 From: james at slohall.com (James) Date: Sun Mar 1 09:20:19 2009 Subject: freebsd-update patch not being applied Message-ID: <20090301085048.2a5d6f3d.james@slohall.com> For some reason when i type uname -a on my desktop, which is running 7.1, all I see is this: $ uname -a FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 But if i run freebsd-update fetch i get this $ sudo freebsd-update fetch Password: Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 7.1-RELEASE-p3. Everytime the application has said there are new updates i installed them with `freebsd-update install`, and eventually i got around to restarting, but when I log back in and type `uname -a` I get the same message as above: `7.1-RELEASE #0` Now on a seperate system running 7.0 I have a similar problem where uname -a always reports `7.0-RELEASE-p7 #0` even though freebsd-update reports Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 7.0-RELEASE-p10. Now I'm new to the BSD world, but i do have a fair amount of experience with Linux. What I am trying to figure out here, is why uname -a reports a different patch number than it should. Thanks James -- James From grimjow.espada at gmail.com Sun Mar 1 09:35:28 2009 From: grimjow.espada at gmail.com (GrimJow Espada) Date: Sun Mar 1 09:35:34 2009 Subject: is there a microsoft one note counterpart for freebsd? Message-ID: <9ef7e7380903010935i30c5dbd0g93eb8566cffaaa4@mail.gmail.com> is there a microsoft one note counterpart for freebsd? From danielby at slightlystrange.org Sun Mar 1 09:46:33 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Sun Mar 1 09:46:43 2009 Subject: freebsd-update patch not being applied In-Reply-To: <20090301085048.2a5d6f3d.james@slohall.com> References: <20090301085048.2a5d6f3d.james@slohall.com> Message-ID: <20090301174626.GA1643@torus.slightlystrange.org> On Sun, Mar 01, 2009 at 08:50:48AM -0800, James wrote: > For some reason when i type uname -a on my desktop, which is running 7.1, all I see is this: > > $ uname -a > FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > But if i run freebsd-update fetch i get this > > $ sudo freebsd-update fetch > Password: > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > No updates needed to update system to 7.1-RELEASE-p3. > > Everytime the application has said there are new updates i installed them with `freebsd-update install`, > and eventually i got around to restarting, but when I log back in and type `uname -a` I get the same message > as above: `7.1-RELEASE #0` > > Now on a seperate system running 7.0 I have a similar problem where uname -a always reports `7.0-RELEASE-p7 #0` > even though freebsd-update reports > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > No updates needed to update system to 7.0-RELEASE-p10. > > Now I'm new to the BSD world, but i do have a fair amount of experience with Linux. What I am trying to figure > out here, is why uname -a reports a different patch number than it should. This is the normal behaviour for freebsd-update. The patch level number will only bump if an update affects the kernel. The most recent updates for 7.1 didn't touch the kernel, so you still see the previous (somewhat confusing) version number. However, if the next update requires that the kernel be replaced, then you'll see the patch level number increase. Hope this makes sense... Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090301/141af0c0/attachment.pgp From james at slohall.com Sun Mar 1 09:52:08 2009 From: james at slohall.com (James) Date: Sun Mar 1 09:52:15 2009 Subject: freebsd-update patch not being applied In-Reply-To: <20090301174626.GA1643@torus.slightlystrange.org> References: <20090301085048.2a5d6f3d.james@slohall.com> <20090301174626.GA1643@torus.slightlystrange.org> Message-ID: <20090301095251.52c4de64.james@slohall.com> On Sun, 1 Mar 2009 17:46:27 +0000 "Daniel Bye" wrote: > On Sun, Mar 01, 2009 at 08:50:48AM -0800, James wrote: > > For some reason when i type uname -a on my desktop, which is running 7.1, all I see is this: > > > > $ uname -a > > FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > > But if i run freebsd-update fetch i get this > > > > $ sudo freebsd-update fetch > > Password: > > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > > Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. > > Fetching metadata index... done. > > Inspecting system... done. > > Preparing to download files... done. > > > > No updates needed to update system to 7.1-RELEASE-p3. > > > > Everytime the application has said there are new updates i installed them with `freebsd-update install`, > > and eventually i got around to restarting, but when I log back in and type `uname -a` I get the same message > > as above: `7.1-RELEASE #0` > > > > Now on a seperate system running 7.0 I have a similar problem where uname -a always reports `7.0-RELEASE-p7 #0` > > even though freebsd-update reports > > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > > Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done. > > Fetching metadata index... done. > > Inspecting system... done. > > Preparing to download files... done. > > > > No updates needed to update system to 7.0-RELEASE-p10. > > > > Now I'm new to the BSD world, but i do have a fair amount of experience with Linux. What I am trying to figure > > out here, is why uname -a reports a different patch number than it should. > > This is the normal behaviour for freebsd-update. The patch level number will > only bump if an update affects the kernel. The most recent updates for 7.1 > didn't touch the kernel, so you still see the previous (somewhat confusing) > version number. However, if the next update requires that the kernel be > replaced, then you'll see the patch level number increase. > > Hope this makes sense... > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > Makes perfect sense, thanks for replying, i appreciate the help James -- James From mail at ozzmosis.com Sun Mar 1 10:14:22 2009 From: mail at ozzmosis.com (andrew clarke) Date: Sun Mar 1 10:14:31 2009 Subject: freebsd-update patch not being applied In-Reply-To: <20090301085048.2a5d6f3d.james@slohall.com> References: <20090301085048.2a5d6f3d.james@slohall.com> Message-ID: <20090301174738.GA93504@ozzmosis.com> On Sun 2009-03-01 08:50:48 UTC-0800, James (james@slohall.com) wrote: > For some reason when i type uname -a on my desktop, which is running 7.1, all I see is this: > > $ uname -a > FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > But if i run freebsd-update fetch i get this > > $ sudo freebsd-update fetch > Password: > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > No updates needed to update system to 7.1-RELEASE-p3. > > Everytime the application has said there are new updates i installed them with `freebsd-update install`, > and eventually i got around to restarting, but when I log back in and type `uname -a` I get the same message > as above: `7.1-RELEASE #0` This is (probably) normal. uname -a shows the kernel version, however often freebsd-update will patch other (non-kernel) parts of the base system, leaving the kernel alone. eg. the recent bug involving telnetd on 7.x systems only required patching the telnetd binary. AFAIK, each time a patch is required, /usr/src/sys/conf/newvers.sh is updated. $ sudo freebsd-update fetch No updates needed to update system to 6.4-RELEASE-p3. $ uname -a FreeBSD blizzard.phoenix 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun Dec 21 07:56:41 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ grep -v # /usr/src/sys/conf/newvers.sh | head -4 TYPE="FreeBSD" REVISION="6.4" BRANCH="RELEASE-p3" From ilikefbsd at web.de Sun Mar 1 10:17:47 2009 From: ilikefbsd at web.de (Marco) Date: Sun Mar 1 10:17:55 2009 Subject: badblocks on sata drive Message-ID: <49AAD148.3040805@web.de> hej list, during dd tests i encounter hardware problems with my harddisk. is there a way to mark parts of the hdd as "bad" so those are not used anymore? best regards, marco From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 10:23:56 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 10:24:03 2009 Subject: badblocks on sata drive In-Reply-To: <49AAD148.3040805@web.de> References: <49AAD148.3040805@web.de> Message-ID: > > during dd tests i encounter hardware problems with my harddisk. is there > a way to mark parts of the hdd as "bad" so those are not used anymore? not much. you may label it the way it will skip that part. anyway - sata/IDE drives has in-hardware bad block remapping. if you see bad blocks there is already out of space for remapping. OR - just something was recorded badly some time ago. clear whole drive with zeros and then retest. there is high change problem will go out. if not - don't use that drive for anything valuable at all From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 10:25:01 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 10:25:08 2009 Subject: is there a microsoft one note counterpart for freebsd? In-Reply-To: <9ef7e7380903010935i30c5dbd0g93eb8566cffaaa4@mail.gmail.com> References: <9ef7e7380903010935i30c5dbd0g93eb8566cffaaa4@mail.gmail.com> Message-ID: no idea what's microsoft one note (i don't use their products), but - as usual - try to find unix program(s) that will accomplish your task, not equivalents. or try wine From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 10:25:36 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 10:25:44 2009 Subject: Root shell In-Reply-To: References: Message-ID: > I heard that changing root shell to bash is not good idea from whom? use what you like the most. >, also programing > in any C shell not applicable. So which shell is the most appropriate for > root user ? anything you like. From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 10:26:40 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 10:26:47 2009 Subject: Root shell In-Reply-To: <20090301155532.GA29514@haruhi> References: <20090301155532.GA29514@haruhi> Message-ID: > Why is this not a good idea? The only reason I can think of it that you > want your root shell on the root hard drive. As many system use a > separate partition for /usr and that bash installs to /usr/local/bin per yes it may be a reason, but there is always /rescue directory. and - at least me - prefer to have as little partition as possible to not make things complicated. most cases swap+/ From op at trekdanne.se Sun Mar 1 10:27:23 2009 From: op at trekdanne.se (Daniel Lannstrom) Date: Sun Mar 1 10:27:30 2009 Subject: badblocks on sata drive In-Reply-To: <49AAD148.3040805@web.de> References: <49AAD148.3040805@web.de> Message-ID: <20090301182844.GA30055@haruhi> If a modern hard drive begins to let bad blocks through it's internal block relocation mechanics have failed. I recommend to take backup on everthing on that disk because this is usually a sign that the disk will die shortly. On Sun, Mar 01, 2009 at 07:17:44PM +0100, Marco wrote: > hej list, > > during dd tests i encounter hardware problems with my harddisk. is there > a way to mark parts of the hdd as "bad" so those are not used anymore? > > best regards, > marco > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 10:27:54 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 10:28:01 2009 Subject: Tandberg RDX QuikStor In-Reply-To: <49AAAA1C.4080804@netfence.it> References: <49AAAA1C.4080804@netfence.it> Message-ID: > Hello. > Has anyone been using the above (either USB or SATA)? > Do they work with FreeBSD? i don't see a reason it should not. anyway - it's cardridges are more expensive than ordinary hard disks - doesn't make sense. From rwmaillists at googlemail.com Sun Mar 1 10:37:31 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Mar 1 10:37:38 2009 Subject: Root shell In-Reply-To: <20090301161650.GB15344@melon.esperance-linux.co.uk> References: <20090301161650.GB15344@melon.esperance-linux.co.uk> Message-ID: <20090301183715.5b1571db@gumby.homeunix.com> On Sun, 1 Mar 2009 16:16:50 +0000 Frank Shute wrote: > pdksh is statically linked and I don't know if bash is. It's a build option. From gfritz at gmail.com Sun Mar 1 10:40:20 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Sun Mar 1 10:40:27 2009 Subject: Root shell In-Reply-To: <20090301161650.GB15344@melon.esperance-linux.co.uk> References: <20090301161650.GB15344@melon.esperance-linux.co.uk> Message-ID: <20090301184016.GA61100@dev.null> On Sun, Mar 01, 2009 at 04:16:50PM +0000, Frank Shute wrote: > On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote: > > > > Hi! > > > > I heard that changing root shell to bash is not good idea, also programing > > in any C shell not applicable. So which shell is the most appropriate for > > root user ? > > > > I changed my root shell to pdksh with no ill-effects. I just copied it > from /usr/local/bin to /bin and added it to /etc/shells. Then vipw. > > pdksh is statically linked and I don't know if bash is. If it's not > you wont be able to use it in single user mode but you can always use > /bin/sh instead. I, too, like pdksh for my root accounts. If I have a system where /usr/local does not share the / device, I will copy it over. There's the WITH_STATIC_BASH knob to make bash a static binary, as well. As noted by someone in the archives, ksh-alikes have issues allocating a tty when used in a jail accessed via jexec, so beware of that. As system shell scripts have their correctly defined #! shell (/bin/sh), it really doesn't matter what you use for an interactive shell so long as you trust the source distribution of that shell (which should be an obvious conclusion, since the FreeBSD team is oly responsible for those shells that come packaged with the base OS). Purists will note that root's choice of shell is of no consequence since nobody should be using the root account for any serious long-term interactive use in the first place. Except for environments where there's an assumed lack of trust in the admins (use sudo), delegation of root-like powers to lesser admins (use sudo), or strict audit/logging requirements (use sudosh or more serious auditing mechanisms), I personally feel that hobbling an admin with a non-root account is of dubious value. In any case, there's no functional reason to not use the shell of your choice. However, individuals or organizations will stronly differ in their admin philosophy. -- Geoff From dc at dcoder.net Sun Mar 1 10:43:27 2009 From: dc at dcoder.net (dacoder) Date: Sun Mar 1 10:43:37 2009 Subject: ipfilter, ipnat, and if driver ath: what's just changed? Message-ID: <20090301181708.GF7007@mail2.dcoder.net> updating my system friday from the feb 7 version of 7.1 to the latest broke tcp and udp (but *not* icmp) over ipnat, which had worked forever with my current ipfilter rules and ipnat mapping rules, which are pretty simple. what has changed? /etc/ipnat.rules: map age0 10.0.0.0/24 -> /32 @ the top of /etc/ipf.rules: pass out quick on age0 proto tcp/udp from any to any keep state keep frags pass out quick on age0 proto icmp from any to any keep state keep frags that used to work. now it doesn't, witness ipmon: 01/03/2009 13:07:46.274707 age0 @0:28 b 74.125.93.102,80 -> 10.0.0.253,2914 PR tcp len 20 48 -AS IN NAT what's changed? ipf? ipnat? age? am i using an obsolete & therefore unworkable set of ipfilter rules? icmp still works, btw. i'd be grateful for any help. thx. david coder network engineer emeritus ntt/verio From jerrymc at msu.edu Sun Mar 1 10:54:26 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Mar 1 10:54:33 2009 Subject: Root shell In-Reply-To: References: Message-ID: <20090301185131.GA52432@gizmo.acns.msu.edu> On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote: > Hi! > > I heard that changing root shell to bash is not good idea, also programing > in any C shell not applicable. So which shell is the most appropriate for > root user ? You can get your tail in a crack if you boot to single user or another file system like /usr is not available. /bin/csh (which on FreeBSD is the same as tcsh) is always available and a few things are written so they expect it. So, leave root alone. If you must lower yourself to bash, make another account and set its shell to bash. You can even make an alternate root and make it bash if you really must work in root. USe vipw and copy the toor line in the passwd file and change the name to something you like and the shell to bash and the home directory to /root/whatever. Then set the password for this account As root do: passwd whatever follow prompts. You must put the id name on the passwd command or it will change root instead. I am not necessarily recommending all this, but it is better tham changing the actual root account's shell. ////jerry > > > Regards, > > Jurif > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From utisoft at googlemail.com Sun Mar 1 11:00:34 2009 From: utisoft at googlemail.com (Chris Rees) Date: Sun Mar 1 11:00:41 2009 Subject: Ports on Macbook In-Reply-To: <49AA7BBE.4010201@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090228191416.2421e88a@scorpio> <49AA19F4.2060408@bah.homeip.net> <200902282237.26322.chuckop@gmail.com> <49AA7BBE.4010201@bah.homeip.net> Message-ID: 2009/3/1 Bernt Hansson : > > Charles Oppermann skrev: >>>> That depends on where you are domiciled. Under certain scenarios, simply >>>> open the box, or installing the software constitutes acceptance of the >>>> EULA. >>> Yes I'm aware of that, but that kind of agreement isn't valid in Sweden. >> > > http://www.google.se/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=sv&q=%22Negativ+avtalsbindning%22&meta=&btnG=Google-s%C3%B6kning > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Ordering software then breaking the seal on a software packaging is not a negative contract agreement. The customer ordering the product requested the contract. How is this even relevant? -- R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf) From utisoft at googlemail.com Sun Mar 1 11:07:22 2009 From: utisoft at googlemail.com (Chris Rees) Date: Sun Mar 1 11:07:32 2009 Subject: is there a microsoft one note counterpart for freebsd? In-Reply-To: References: <9ef7e7380903010935i30c5dbd0g93eb8566cffaaa4@mail.gmail.com> Message-ID: 2009/3/1 Wojciech Puchar : > no idea what's microsoft one note (i don't use their products), but - as > usual - try to find unix program(s) that will accomplish your task, not > equivalents. > > or try wine > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > http://en.wikipedia.org/wiki/Comparison_of_notetaking_software At a glance, Jarnal looks useful... Chris -- R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf) From prad at towardsfreedom.com Sun Mar 1 11:21:57 2009 From: prad at towardsfreedom.com (prad) Date: Sun Mar 1 11:22:06 2009 Subject: Root shell In-Reply-To: <20090301185131.GA52432@gizmo.acns.msu.edu> References: <20090301185131.GA52432@gizmo.acns.msu.edu> Message-ID: <20090301112154.4b4af511@gom.home> On Sun, 1 Mar 2009 13:51:32 -0500 Jerry McAllister wrote: > I am not necessarily recommending all this, but it is better tham > changing the actual root account's shell. > besides, you don't really need to, do you? i just log in with su -m and get to use my own account's aliases etc, but as root. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From dc at dcoder.net Sun Mar 1 11:24:09 2009 From: dc at dcoder.net (dacoder) Date: Sun Mar 1 11:24:15 2009 Subject: ipfilter, ipnat, and if driver ath [should have been age]: what's just changed? In-Reply-To: <20090301181708.GF7007@mail2.dcoder.net> References: <20090301181708.GF7007@mail2.dcoder.net> Message-ID: <20090301192407.GG7007@mail2.dcoder.net> +++ dacoder [01/03/09 13:17 -0500]: >updating my system friday from the feb 7 version of 7.1 to the latest broke >tcp and udp (but *not* icmp) over ipnat, which had worked forever with my >current ipfilter rules and ipnat mapping rules, which are pretty simple. >what has changed? > >/etc/ipnat.rules: > > map age0 10.0.0.0/24 -> /32 > >@ the top of /etc/ipf.rules: > > pass out quick on age0 proto tcp/udp from any to any keep state keep > frags > pass out quick on age0 proto icmp from any to any keep state keep > frags > >that used to work. now it doesn't, witness ipmon: > >01/03/2009 13:07:46.274707 age0 @0:28 b 74.125.93.102,80 -> 10.0.0.253,2914 >PR tcp len 20 48 -AS IN NAT > >what's changed? ipf? ipnat? age? am i using an obsolete & therefore >unworkable set of ipfilter rules? icmp still works, btw. > >i'd be grateful for any help. > >thx. > >david coder >network engineer emeritus >ntt/verio > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" i meant, of course, age, not ath in my subject line. sorry for the confusion. From hakmi at rogers.com Sun Mar 1 11:26:09 2009 From: hakmi at rogers.com (Tamouh Hakmi) Date: Sun Mar 1 11:26:16 2009 Subject: ata-raid.c patch for ICH7 RAID1 Message-ID: Hi, Has anyone had experience applying this patch to their FreeBSD 6.x setup? http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html I've couple of machines using ICH8/ICH9 which seem to exhibit the same problems and would be interested in applying the patch. But want to avoid any complications that may result from it. Any feedback is appreciated, do you know if FBSD 6.4 has the patch already implemented? Thanks, Tamouh Hakmi From ipfreak at yahoo.com Sun Mar 1 11:45:11 2009 From: ipfreak at yahoo.com (gahn) Date: Sun Mar 1 11:45:18 2009 Subject: xi? In-Reply-To: <86sklxn7w4.fsf@nowhere.org> Message-ID: <179425.90889.qm@web52110.mail.re2.yahoo.com> Thanks. --- On Sat, 2/28/09, Glyn Millington wrote: > From: Glyn Millington > Subject: Re: xi? > To: ipfreak@yahoo.com > Cc: "freebsd general questions" > Date: Saturday, February 28, 2009, 9:12 PM > gahn writes: > > > Hi all: > > > > I am rebuilding those ports and run into some > problems. one of those > > is: > > > > checking for XINPUT... configure: error: Package > requirements (x11 xext > > xi >= 1.2 inputproto >= 1.5) were not met: > > > > Requested 'xi >= 1.2' but version of Xi is > 1.1.3 > > > > searching for a while and can't find this > "xi". how could I upgrade > > this "xi"? > > /usr/ports/X11/libXi would be my guess :-) > > > You may need to update your ports tree. > > > atb > > Glyn From ipfreak at yahoo.com Sun Mar 1 11:56:00 2009 From: ipfreak at yahoo.com (gahn) Date: Sun Mar 1 11:56:06 2009 Subject: libgtkhtml-3.14 >= 3.23.5 Message-ID: <266194.45782.qm@web52111.mail.re2.yahoo.com> Hi all: I have problems to compile mail/evolution: "checking for GTKHTML... configure: error: Package requirements (libgtkhtml-3.14 >= 3.23.5) were not met: Requested 'libgtkhtml-3.14 >= 3.23.5' but version of libgtkhtml is 3.18.3 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix." under www/libgtkhtml, it is version of 2.11.1, and www.gtkhtml is version 1.xx something. where is the version >= 3.23.5? From apseudoutopia at gmail.com Sun Mar 1 11:56:16 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Sun Mar 1 11:56:22 2009 Subject: Cron Not Sending Mail Message-ID: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> Cron is not sending output as emails. I noticed this when I stopped seeing the output of a backup script in my daily email. I thought there was a problem with the backup script - but no, it's cron not sending the emails. I had this problem before on 6.1, which I never found a solution to. I gave up on it, and eventually I upgraded to 7.1. After the upgrade, cron worked perfectly. However, I just noticed that it stopped working again. I have no idea what changed (It's a production server, I haven't been playing with config files). User www's mail is redirected to root, which is redirected to a @gmail account via /etc/aliases. This is on 7.1-RELEASE-p3 running a custom kernel. Any solution to this problem would be fantastic. I use the emails from cron on a daily basis, and it really messes me up to have it not working. ##### # User www's crontab # Note, I also tried removing the MAILTO to no avail ##### MAILTO=root # m h dom mon dow cmd * * * * * echo "Hello" #### # /var/log/cron #### Mar 1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD (/usr/libexec/save-entropy) Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, group_compat, endgrent, not found Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found Mar 1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo "Hello") Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, group_compat, endgrent, not found Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, group_compat, endgrent, not found Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found #### # /var/log/maillog #### Mar 1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www, size=0, class=0, nrcpts=0, msgid=<200903011922.n21JM0Gl022630@youcant.tastetherainbow.ws>, relay=www@localhost From ml at netfence.it Sun Mar 1 12:31:56 2009 From: ml at netfence.it (Andrea Venturoli) Date: Sun Mar 1 12:32:04 2009 Subject: Tandberg RDX QuikStor In-Reply-To: References: <49AAAA1C.4080804@netfence.it> Message-ID: <49AAF0AC.6080704@netfence.it> Wojciech Puchar ha scritto: >> Hello. >> Has anyone been using the above (either USB or SATA)? >> Do they work with FreeBSD? > > i don't see a reason it should not. Although they are HD, they are sold as tape replacement. I was told they are seen as tapes and last time I checked only SCSI tapes were supported by FreeBSD. The whole thing might however not hold and they could be seen for what they are: just hard disks. This is another good question... > anyway - it's cardridges are more expensive than ordinary hard disks - > doesn't make sense. On the cost you are right; they justify this with higher reliability. Whether this is true or not, I don't know. bye & Thanks av. From admin at cpcnw.co.uk Sun Mar 1 13:40:58 2009 From: admin at cpcnw.co.uk (Graham Bentley) Date: Sun Mar 1 13:41:09 2009 Subject: Tandberg RDX QuikStor References: <20090301190734.B119910656D3@hub.freebsd.org> Message-ID: I installed one of these recently under CentOS and it worked exactly as a SATA disc. Its more convenient than plugging data / power every day and looks more professional when used for customers servers. From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 14:00:01 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 14:00:09 2009 Subject: Tandberg RDX QuikStor In-Reply-To: <49AAF0AC.6080704@netfence.it> References: <49AAAA1C.4080804@netfence.it> <49AAF0AC.6080704@netfence.it> Message-ID: >> >> i don't see a reason it should not. > > Although they are HD, they are sold as tape replacement. > I was told they are seen as tapes and last time I checked only SCSI tapes > were supported by FreeBSD. > > The whole thing might however not hold and they could be seen for what they > are: just hard disks. > > This is another good question... > > > > >> anyway - it's cardridges are more expensive than ordinary hard disks - >> doesn't make sense. > > On the cost you are right; they justify this with higher reliability. > Whether this is true or not, I don't know. for sure not. From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 14:01:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 14:01:09 2009 Subject: Tandberg RDX QuikStor In-Reply-To: References: <20090301190734.B119910656D3@hub.freebsd.org> Message-ID: > worked exactly as a SATA disc. Its more convenient > than plugging data / power every day and looks more ^^^^^^ the only true argument. if they like to pay more and You sell it - very good. for SATA disks - use e-SATA connectors or USB-SATA bridges From ml at netfence.it Sun Mar 1 14:37:30 2009 From: ml at netfence.it (Andrea Venturoli) Date: Sun Mar 1 14:37:37 2009 Subject: Tandberg RDX QuikStor In-Reply-To: References: <49AAAA1C.4080804@netfence.it> <49AAF0AC.6080704@netfence.it> Message-ID: <49AB0E1C.50604@netfence.it> Wojciech Puchar ha scritto: >> On the cost you are right; they justify this with higher reliability. >> Whether this is true or not, I don't know. > > for sure not. Well, they say they resist a lot better to accidental falling; I never looked into them first hand, so I'm not able to tell if this is a myth or not. bye av. From perryh at pluto.rain.com Sun Mar 1 15:13:08 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Mar 1 15:13:15 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <200902282359.24584.fbsd.questions@rachie.is-a-geek.net> References: <49AA41F2.9060801@a1poweruser.com> <200902282359.24584.fbsd.questions@rachie.is-a-geek.net> Message-ID: <49ab13fb.s7xXxGuXI7v/zFQ3%perryh@pluto.rain.com> Mel wrote: > On Saturday 28 February 2009 23:06:10 Fbsd1 wrote: > > I am looking for software like portmanager/portmaster but works > > on the package system instead of the port system. Is there such > > am application available? > > Not (yet). Without /usr/ports it's impossible to find out what > software needs updating, or you'd have to download and trust the > INDEX-7 on the FreeBSD package servers. ... which may not be much of a stretch for those who are prepared to download and trust the packages themselves, from the same place. portupgrade -PP manages somehow. BTW, the OP may not realize that "the package system" is a subset of "the port system", rather than an alternative. Packages are generated using the port system. From wojtek at wojtek.tensor.gdynia.pl Sun Mar 1 15:14:24 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 1 15:14:31 2009 Subject: Tandberg RDX QuikStor In-Reply-To: <49AB0E1C.50604@netfence.it> References: <49AAAA1C.4080804@netfence.it> <49AAF0AC.6080704@netfence.it> <49AB0E1C.50604@netfence.it> Message-ID: >> >> for sure not. > > Well, they say they resist a lot better to accidental falling; I never looked you seriously underestimate normal cheap hard disks :) of course they will fail when hit WHILE WORKING, but when turned off they can stand REALLY a lot. From smallhand at crawblog.com Sun Mar 1 15:30:13 2009 From: smallhand at crawblog.com (Edward Ruggeri) Date: Sun Mar 1 15:30:54 2009 Subject: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 Message-ID: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> I am using FreeBSD 7.0 Stable. I want to run the Linguistica project Linux binary. However, after loading the Linux kernel module, when I try to run the binary the system replies: ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./lxa-ubuntu-325) ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) Besides asking the Linguistica developers whether they actually must require such recent versions of the GNU C, C++ libraries, I tried to install a more recent linux_base. However, everything beyond linux_base-fc4 does not support Linux kernel 2.4.2. Is there a module for a newer version of the linux kernel that I can build so as to install a newer linux_base? Or is there a way to use the same 2.4.2 module but use more recent GNU C libraries? I am not an expert in this area; is there something I haven't thought of? Thanks! Sincerely, -- E Ruggeri From alex at schnarff.com Sun Mar 1 16:12:33 2009 From: alex at schnarff.com (Alex Kirk) Date: Sun Mar 1 16:12:40 2009 Subject: RAID Gone Wild - One Array Split Into Two Message-ID: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> First off, I realize that this may be more of a lower-level hardware question than is appropriate to ask here, but I'm at a real loss, and have no idea who else to ask...so I apologize in advance if I'm being a pest. That said: I've got a FreeBSD 7.0/stable box that is used as the development server for a live system I administer. It recently crapped out on me (the dev box), and I realized that its power supply had kicked the bucket. After going out and replacing the power supply, it booted right back up, I ssh'd in, and when I ran my first userland command - "w", FWIW - it froze up solid. I got one more SSH session in attempting to figure out WTF was going on before it wouldn't even log me in any more. After a couple of hard reboots, I decided to attach a monitor to it to see what was going on. It turns out that the RAID5 array on the system had really lost its mind - all four devices that were part of the array were listed as being offline, which of course meant that the system could no longer boot (as it was booting off of the RAID). The controller is an integrated Intel Matrix DHC7R, built onto the motherboard. I looked around the web a bit to try to figure out how to fix this, and ran across a couple of forum posts (which I can unfortunately no longer seem to find) suggesting that this particular controller was prone to an issue where hard power-downs would sometimes make the drives go offline, and that I needed to boot from CD to re-initialize them into their previous state. I tried first with an Ubuntu Linux CD I had handy - which promptly freaked out and dropped me into an emergency shell - and then the FreeBSD 7.0 boot-only disc. The latter was a bit more helpful, because I got this diagnostic: ar0: WARNING - parity protection lost, RAID5 array in DEGRADED mode ar0: 715418MB status: DEGRADED ar0: disk0 READY using ad4 at ata2-master ar0: disk1 READY using ad8 at ata4-master ar0: disk2 READY using ad6 at ata3-master ar0: disk3 DOWN no device found for this subdisk ar1: 715418MB status: BROKEN ar1: disk0 DOWN no device found for this subdisk ar1: disk1 DOWN no device found for this subdisk ar1: disk2 DOWN no device found for this subdisk ar1: disk3 READY using ad10 at ata5-master Now I can see that my problem is that I've somehow got *two* RAID devices, both improperly configured, whereas I'd only had one before. Does anyone have a clue how I can fix this, preferably while retaining my data? I could wipe the box if necessary, but I'd really prefer not to, as that would be a huge pain in the butt. Thanks, Alex Kirk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From wmoran at potentialtech.com Sun Mar 1 16:36:36 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Sun Mar 1 16:36:43 2009 Subject: ClamAV execusion died without error messages In-Reply-To: References: <20090227145716.9e3bdc3c.wmoran@potentialtech.com> Message-ID: <20090301193633.c9ed3807.wmoran@potentialtech.com> "Ming Tang" wrote: > > Bill, > > Thank you for the response. > > I tried and did not figure out where is the problem. I am attaching the > command line prompts and clamd.log and freshclam.log content here. > > ns1# > ns1# ./clamav-clamd.sh status > clamav_clamd is not running. > ns1# ./clamav-clamd.sh start > Starting clamav_clamd. > LibClamAV Warning: ************************************************** > LibClamAV Warning: *** The virus database is older than 7 days! *** > LibClamAV Warning: *** Please update it as soon as possible. *** > LibClamAV Warning: ************************************************** > ns1# ./clamav-clamd.sh status > clamav_clamd is not running. > ns1# > > ns1# cat clamd.log > +++ Started at Sat Feb 28 10:43:36 2009 > clamd daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) > Running as user clamav (UID 1#, GID 1#) > Log file size limited to 1048576 bytes. > Reading databases from /var/db/clamav > Not loading PUA signatures. > Loaded 455125 signatures. > LOCAL: Removing stale socket file /var/run/clamav/clamd.sock > LOCAL: Unix socket file /var/run/clamav/clamd.sock > LOCAL: Setting connection queue length to 15 > Limits: Global size limit set to 104857600 bytes. > Limits: File size limit set to 26214400 bytes. > Limits: Recursion level limit set to 16. > Limits: Files limit set to 10000. > Archive support enabled. > Algorithmic detection enabled. > Portable Executable support enabled. > ELF support enabled. > Mail files support enabled. > OLE2 support enabled. > PDF support enabled. > HTML support enabled. > Self checking every 1800 seconds. > > ...... > > ns1# > ns1# ./clamav-freshclam.sh status > clamav_freshclam is not running. > ns1# ./clamav-freshclam.sh start > Starting clamav_freshclam. > ns1# ./clamav-freshclam.sh status > clamav_freshclam is not running. > ns1# > > ns1# cat freshclam1.log > -------------------------------------- > freshclam daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) That's certainly strange. Try starting the processes manually instead of using the rc scripts, and see if they exit with an error of some sort. Also, I seem to remember having difficult with permissions under some circumstances, where the processes couldn't write to directories they needed -- check that both clamd and freshclam are running as the same user/group. See if you're getting core files anywhere (check /var/log/messages for coredump messages). Audit your config files and make sure nothing is out of sorts. Sorry I can't give you any more specific information, but I've not seen the problem you're having. -- Bill Moran http://www.potentialtech.com From jamie at gnulife.org Sun Mar 1 16:40:55 2009 From: jamie at gnulife.org (Jamie) Date: Sun Mar 1 16:41:02 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> Message-ID: >Does anyone have a clue how I can fix this, preferably while retaining my >data? I could wipe the box if necessary, but I'd >really prefer not to, as that would be a huge pain in the butt. >Thanks, >Alex Kirk I would begin by going into the raid BIOS at bootup to see what containers are now configured. If everything is hosed up in there the OS isn't going to be able to fix anything. - Jamie From kitchetech at gmail.com Sun Mar 1 16:56:29 2009 From: kitchetech at gmail.com (matt donovan) Date: Sun Mar 1 16:56:36 2009 Subject: Xorg mouse and massive error log messages problems In-Reply-To: <49AA4AD2.8030908@gmail.com> References: <49AA4954.7010700@a1poweruser.com> <49AA4AD2.8030908@gmail.com> Message-ID: <28283d910903011656pebcfb6esd977249b38380ed7@mail.gmail.com> Xorg 7.4 has some major problems on FreeBSD my Xorg shows my cards bios screen when booting but yeah you need dbus and hal running unless you add the option that is in /usr/ports/UPDATING to your ServerLayout From alex at schnarff.com Sun Mar 1 17:22:19 2009 From: alex at schnarff.com (Alex Kirk) Date: Sun Mar 1 17:22:26 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> Message-ID: <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> >> Does anyone have a clue how I can fix this, preferably while >> retaining my data? I could wipe the box if necessary, but I'd >> really prefer not to, as that would be a huge pain in the butt. > >> Thanks, >> Alex Kirk > > > > > I would begin by going into the raid BIOS at bootup to see what > containers are now configured. If everything is hosed up in there > the OS isn't going to be able to fix anything. > > > - Jamie > Sorry, should have already gone over this. The RAID BIOS is terrible - my options are "Create Array", "Delete Array", "Reset Disk States", and "Exit". It shows only the one array, but all four disks show as Offline Member in red there. I'm just concerned that if I reset the array or delete it, the state table (or whatever other magic is involved in making RAID work) will get hosed up and the data will be unrecoverable. Alex ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From pieter at degoeje.nl Sun Mar 1 17:35:15 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Sun Mar 1 17:35:22 2009 Subject: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 In-Reply-To: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> Message-ID: <200903020235.07985.pieter@degoeje.nl> On Monday 02 March 2009, Edward Ruggeri wrote: > I am using FreeBSD 7.0 Stable. I want to run the Linguistica project > Linux binary. However, after loading the Linux kernel module, when I > try to run the binary the system replies: > > ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not > found (required by ./lxa-ubuntu-325) > ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version > `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) > > Besides asking the Linguistica developers whether they actually must > require such recent versions of the GNU C, C++ libraries, I tried to > install a more recent linux_base. However, everything beyond > linux_base-fc4 does not support Linux kernel 2.4.2. > > Is there a module for a newer version of the linux kernel that I can > build so as to install a newer linux_base? Or is there a way to use > the same 2.4.2 module but use more recent GNU C libraries? I am not > an expert in this area; is there something I haven't thought of? You can "upgrade" the linux compatibility layer by setting the sysctl: compat.linux.osrelease=2.6.18 For example in /etc/sysctl.conf. Then you should be able to install a newer version of linux_base. -- Pieter de Goeje From alex at schnarff.com Sun Mar 1 17:40:55 2009 From: alex at schnarff.com (Alex Kirk) Date: Sun Mar 1 17:41:02 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: <106485CFDFE44C7DBD441994EE990916@tamouh> References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> <106485CFDFE44C7DBD441994EE990916@tamouh> Message-ID: <20090301203840.130430myl3cd81wk@mail.schnarff.com> This is why I love open-source mailing lists - you never know what sort of awesome you'll find! My question at this point, though, is how in the world I could actually apply this patch, seeing as how the system is in a non-bootable state. Is this something that's already been included in a development branch that I could go download? Or do I need to do something else? Thanks, Alex > Alex, > > This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets. > There is a patch for it: > > http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html > > I though didn't test the patch, and funny thing, I posted earlier > today asking if anyone had tried out that patch. > > Hope this helps, keep me posted if you're able to bring it online. > > Thanks, > > Tamouh > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Alex Kirk >> Sent: March 1, 2009 8:20 PM >> To: Jamie >> Cc: questions@freebsd.org >> Subject: Re: RAID Gone Wild - One Array Split Into Two >> >> >> Does anyone have a clue how I can fix this, preferably while >> >> retaining my data? I could wipe the box if necessary, but >> I'd really >> >> prefer not to, as that would be a huge pain in the butt. >> > >> >> Thanks, >> >> Alex Kirk >> > >> > >> > >> > >> > I would begin by going into the raid BIOS at bootup to see what >> > containers are now configured. If everything is hosed up in >> there the >> > OS isn't going to be able to fix anything. >> > >> > >> > - Jamie >> > >> >> Sorry, should have already gone over this. >> >> The RAID BIOS is terrible - my options are "Create Array", "Delete >> Array", "Reset Disk States", and "Exit". It shows only the >> one array, >> but all four disks show as Offline Member in red there. I'm just >> concerned that if I reset the array or delete it, the state >> table (or >> whatever other magic is involved in making RAID work) will get hosed >> up and the data will be unrecoverable. >> >> Alex >> >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From hakmi at rogers.com Sun Mar 1 17:53:28 2009 From: hakmi at rogers.com (Tamouh Hakmi) Date: Sun Mar 1 17:53:35 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> Message-ID: <106485CFDFE44C7DBD441994EE990916@tamouh> Alex, This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets. There is a patch for it: http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html I though didn't test the patch, and funny thing, I posted earlier today asking if anyone had tried out that patch. Hope this helps, keep me posted if you're able to bring it online. Thanks, Tamouh > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Alex Kirk > Sent: March 1, 2009 8:20 PM > To: Jamie > Cc: questions@freebsd.org > Subject: Re: RAID Gone Wild - One Array Split Into Two > > >> Does anyone have a clue how I can fix this, preferably while > >> retaining my data? I could wipe the box if necessary, but > I'd really > >> prefer not to, as that would be a huge pain in the butt. > > > >> Thanks, > >> Alex Kirk > > > > > > > > > > I would begin by going into the raid BIOS at bootup to see what > > containers are now configured. If everything is hosed up in > there the > > OS isn't going to be able to fix anything. > > > > > > - Jamie > > > > Sorry, should have already gone over this. > > The RAID BIOS is terrible - my options are "Create Array", "Delete > Array", "Reset Disk States", and "Exit". It shows only the > one array, > but all four disks show as Offline Member in red there. I'm just > concerned that if I reset the array or delete it, the state > table (or > whatever other magic is involved in making RAID work) will get hosed > up and the data will be unrecoverable. > > Alex > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at edvax.de Sun Mar 1 17:55:18 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Mar 1 17:55:25 2009 Subject: Root shell In-Reply-To: <20090301164355.GA29675@haruhi> References: <20090301155532.GA29514@haruhi> <4ad871310903010811o47b77f04y7976819e101b881b@mail.gmail.com> <20090301164355.GA29675@haruhi> Message-ID: <20090302025509.100163c4.freebsd@edvax.de> On Sun, 1 Mar 2009 17:43:55 +0100, Daniel Lannstrom wrote: > On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote: > > This explains one of the reasons not to change root's shell: > > > > http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT > > Yes that's exactly what I meant. Is there any other reason except for > that? As I see it that problem can easily be solved by copying bash to > the root file system. Also many systems today have the root and /usr > on the same file system. I wouldn't rely on the "many systems today" assumption. As an addition, I'd like to mention that there are "two root shells": First is the system's standard scripting shell /bin/sh which is usually invoked first when entering maintenance mode (single user mode). As well as FreeBSD's standard dialog shell /bin/csh it resides on the / partition. Maybe it can be seen as an "unwritten law", or at least as a kind of well intended suggestion to use /bin/csh for root's dialog shell as well as /bin/sh for scripting. It may be considered "old fashion", but it has served well to follow this suggestion over the years. Just as a very individual example, I haven't found any need to install BASH on any system I've done so far. But it's completely okay to have BASH as a user's dialog shell when the system is up and running well. Furthermore, I don't think copying the bash* binary is sufficient to have BASH in SUM in a problem situation (which is: / is mounted ro, nothing else mounted). Reason: % which bash | xargs ldd /usr/local/bin/bash: libncurses.so.7 => /lib/libncurses.so.7 (0x280ff000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x2813d000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28146000) libc.so.7 => /lib/libc.so.7 (0x2823b000) There are library dependencies on /usr partition. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Mar 1 18:02:39 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Mar 1 18:02:46 2009 Subject: Root shell In-Reply-To: <20090301112154.4b4af511@gom.home> References: <20090301185131.GA52432@gizmo.acns.msu.edu> <20090301112154.4b4af511@gom.home> Message-ID: <20090302030231.26d42cda.freebsd@edvax.de> On Sun, 1 Mar 2009 11:21:54 -0800, prad wrote: > besides, you don't really need to, do you? > i just log in with su -m and get to use my own account's aliases etc, > but as root. Furthermore, since the introduction of the sudo command (which is installabe by ports / package) prefixing commands with "sudo" seems to be okay for most tasks. And as you said, Prad, using FreeBSD's su command (su -m) will usually do just fine. Another "wisdom" about this topic: "If you see that you're spending so much time as 'root' that you feel you need to change the root shell to BASH, you're obviously doing something wrong." :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From frank at shute.org.uk Sun Mar 1 18:03:48 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Mar 1 18:03:55 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> Message-ID: <20090302020336.GA18386@melon.esperance-linux.co.uk> On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: > > Cron is not sending output as emails. I noticed this when I stopped > seeing the output of a backup script in my daily email. I thought > there was a problem with the backup script - but no, it's cron not > sending the emails. > > I had this problem before on 6.1, which I never found a solution to. I > gave up on it, and eventually I upgraded to 7.1. After the upgrade, > cron worked perfectly. However, I just noticed that it stopped working > again. I have no idea what changed (It's a production server, I > haven't been playing with config files). > > User www's mail is redirected to root, which is redirected to a @gmail > account via /etc/aliases. > This is on 7.1-RELEASE-p3 running a custom kernel. > > Any solution to this problem would be fantastic. I use the emails from > cron on a daily basis, and it really messes me up to have it not > working. > > ##### > # User www's crontab > # Note, I also tried removing the MAILTO to no avail > ##### > MAILTO=root > # m h dom mon dow cmd > * * * * * echo "Hello" > > > #### > # /var/log/cron > #### > Mar 1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD > (/usr/libexec/save-entropy) > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > Mar 1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo "Hello") > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > > > > #### > # /var/log/maillog > #### > Mar 1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www, > size=0, class=0, nrcpts=0, > msgid=<200903011922.n21JM0Gl022630@youcant.tastetherainbow.ws>, > relay=www@localhost It looks like you're using user: www for your crontab. Unfortunately, from /etc/passwd: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin i.e user www can't do much without a shell. Create a crontab as a user with a shell, MAILTO to your gmail account. The user may want to be a member of a group with privileges. Or use sudo. Don't forget to add him to /var/cron/allow as per manpage for crontab(1). You could set SHELL in your crontab for www (might work) but I'd use a different user who's a member of group operator maybe. Hope that helps. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From ipfreak at yahoo.com Sun Mar 1 19:14:19 2009 From: ipfreak at yahoo.com (gahn) Date: Sun Mar 1 19:14:25 2009 Subject: rc.conf and starting scripts Message-ID: <798008.8114.qm@web52107.mail.re2.yahoo.com> Hi all: I have some starting scripts under some other directories other than /etc/rc.d. How could I utilize the rc.conf file to start them when the system boots up? The default location for rc.conf is /etc/rc.d only and the knob "local_startup=/usr/local/etc/rc.d" doesn't seem to be working for me for some reasons From roberthuff at rcn.com Sun Mar 1 19:18:15 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Mar 1 19:18:21 2009 Subject: rc.conf and starting scripts In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com> References: <798008.8114.qm@web52107.mail.re2.yahoo.com> Message-ID: <18859.20467.977510.981661@jerusalem.litteratus.org> gahn writes: > The default location for rc.conf is /etc/rc.d only and the knob > "local_startup=/usr/local/etc/rc.d" doesn't seem to be working > for me for some reasons Your best bet is to figure out why the latter is true, and fix it. Robert Huff From on at cs.ait.ac.th Sun Mar 1 19:41:09 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Sun Mar 1 19:41:17 2009 Subject: rc.conf and starting scripts In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com> (message from gahn on Sun, 1 Mar 2009 19:14:17 -0800 (PST)) References: <798008.8114.qm@web52107.mail.re2.yahoo.com> Message-ID: <200903020333.n223XfXv040533@banyan.cs.ait.ac.th> Hi, > The default location for rc.conf is /etc/rc.d only and the knob > "local_startup=/usr/local/etc/rc.d" doesn't seem to be working for > me for some reasons Syntax? on my machines it's: local_startup="/usr/local/etc/rc.d" with quotes around the path, not around the full line. Olivier From rwmaillists at googlemail.com Sun Mar 1 19:54:08 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Mar 1 19:54:15 2009 Subject: rc.conf and starting scripts In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com> References: <798008.8114.qm@web52107.mail.re2.yahoo.com> Message-ID: <20090302035324.2b4e4a09@gumby.homeunix.com> On Sun, 1 Mar 2009 19:14:17 -0800 (PST) gahn wrote: > > Hi all: > > I have some starting scripts under some other directories other > than /etc/rc.d. How could I utilize the rc.conf file to start them > when the system boots up? > > The default location for rc.conf is /etc/rc.d only and the knob > "local_startup=/usr/local/etc/rc.d" doesn't seem to be working for me > for some reasons /usr/local/etc/rc.d is the default for local scripts, that's where package put their scripts, but there are some rules. - they should either be proper RCNG scripts or they should end in a .sh extension - local RCNG scripts are ignored if they order themselves before the early-late divider. From freebsd at edvax.de Sun Mar 1 20:41:13 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Mar 1 20:41:20 2009 Subject: rc.conf and starting scripts In-Reply-To: <20090302035324.2b4e4a09@gumby.homeunix.com> References: <798008.8114.qm@web52107.mail.re2.yahoo.com> <20090302035324.2b4e4a09@gumby.homeunix.com> Message-ID: <20090302054105.21f48c93.freebsd@edvax.de> Allow me an addition: On Mon, 2 Mar 2009 03:53:24 +0000, RW wrote: > /usr/local/etc/rc.d is the default for local scripts, that's where > package put their scripts, but there are some rules. > > - they should either be proper RCNG scripts or they should end in a .sh > extension I'm not sure if this is valid anymore, but I think it's also neccessary that a *.sh script is chmod +x, or it won't be executed at startup. These scripts are located in /usr/local/etc. The rc-style scripts ("foo { start | stop | restart | status }") are located in the rc.d/ subdirectory, just like in /etc. They usually have a corresponging enable setting ("foo_enable") in /etc/rc.conf or /etc/rc.conf.local (see "man rc.conf"), as well as means to set parameters ("foo_flags" or something specific). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From michael.alestock at yahoo.com Sun Mar 1 20:52:26 2009 From: michael.alestock at yahoo.com (Michael A. Alestock) Date: Sun Mar 1 20:52:33 2009 Subject: ACPI issue on my Toshiba laptop Message-ID: <526674.23467.qm@web56307.mail.re3.yahoo.com> Hi all, As you're already aware, there've been known issues with ACPI running on some laptops. For instance, mine is a Toshiba Satellite A105-S2051. When I first installed FreeBSD v6.3 I would get the following error... *** ACPI-0370: Error - No installed handler for fixed event *** >From here, I wouldn't be able to use my built-in LAN or Atheros 5212 wireless because of constant WATCHDOG: DEVICE TIMEOUT error messages. However, I later found out that by disabling the ACPI by placing two lines in your /boot/device.hints or /boot/loader.conf files, hint.apic.0.disabled="1" hint.acpi.0.disabled="1" you would be able to use both the wireless and LAN without the ACPI running. This has been the case for me for a while, and everything was going great until lastnight.... I went to go do my monthly source update. While rebooting I couldn't get back into FreeBSD. I would get this dreadful message at the very beginning of the scrolling boot up messages.... ioapic0: Assuming intbase of 0 *panic: Bogus interrupt flags* >From here I only had two options, either shut down or reboot, but would get the same message no matter what. In other words, FreeBSD won't let me fully boot up unless I have ACPI "enabled" or select the boottime option to run with it enabled. Booting up would let me back into FreeBSD, but then I'd start getting the awful, "Watchdog: Device Timeout" messages, and my LAN and wireless connections would be useless. I'm assuming there was something added in the source update that altered the ACPI again?? Does anyone know how to get around this?? It's driving me nuts! FreeBSD is basically useless if I can't use any Internet connection. :( Thank You in advance.... -Frustrated FreeBSD user. From dimitar.vassilev at gmail.com Sun Mar 1 21:08:17 2009 From: dimitar.vassilev at gmail.com (Dimitar Vasilev) Date: Sun Mar 1 21:08:24 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: <20090301203840.130430myl3cd81wk@mail.schnarff.com> References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> <106485CFDFE44C7DBD441994EE990916@tamouh> <20090301203840.130430myl3cd81wk@mail.schnarff.com> Message-ID: <59adc1a0903012108o77fa8c9fl45b9977069b91799@mail.gmail.com> 2009/3/2 Alex Kirk : > This is why I love open-source mailing lists - you never know what sort of > awesome you'll find! > > My question at this point, though, is how in the world I could actually > apply this patch, seeing as how the system is in a non-bootable state. Is > this something that's already been included in a development branch that I > could go download? Or do I need to do something else? > What I'd do is: make a distribution with the patch included in the source tree on another machine with your current KERNCONF, etc if you have backups of them. Then try reinstalling the machine and if backups are on your side all should be OK. I don't follow -current and -hackers much to advise if it has been fixed upstream. If you have another machine where you can check-out current tree and see if patch has been merged there - good. Regards, Dimitar From sneepre at me.com Sun Mar 1 21:23:54 2009 From: sneepre at me.com (Andrew Moran) Date: Sun Mar 1 21:24:01 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? Message-ID: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> Hey guys, After having lots of problems with memory and 7.1/ZFS, I first switched everything to 64-bit (amd64), and then I had a new problem, so I eventually gave up and switched back to UFS (saying on amd64 distro/ports), but I'm still having memory issues. My current one is that SpamAssassin seems to be periodically eating up all my memory, causing the server to slow to a crawl until the kernel kills the process and then I have enormous amounts of free memory. Rinse, repeat. I thought maybe it had something to do with the fact that I was using multithreaded perl (which I wasn't before I jumped into 7.1/ZFS), but rebuilding perl (and all its' dependencies) without threads didn't help. I have 8GB of physical memory and 16GB of swap memory. Here is a line from top showing perl taking 21 gigs of memory: 6035 0 1 76 0 21190M 791M pfault 0 1:20 4.69% perl5.8.9 The error messages I get when this is happening look like: swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed pid 6035 (perl5.8.9), uid 1030, was killed: out of swap space Obviously I have a memory leak somewhere, but I can't tell where. I upgraded to the latest port (synced and compiled today). I spent the day doing the "portupgrade -f R r p5-Mail-SpamAssassin" to make sure everything was rebuilt. But alas, the problem persists. Has anyone heard of this? Or any pointers on what I can do to figure out what is causing it? Your advice is much appreciated. --Andy From faizi62 at hotmail.com Sun Mar 1 23:53:39 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Sun Mar 1 23:53:47 2009 Subject: Bridging-(How to test and verify that bridging is enabled) Message-ID: Hi, I am not sure but as per some internet guide, I have configured the bridge on Freebsd(7) Machine with two LAN cards on it I have compiled my KERNEL with (device if_bridge) and then added code to rc.conf cloned_interfaces="bridge0" ifconfig_bridge0="addm sk0 addm sk1 up" ifconfig_sk0="up" ifconfig_sk1="up" I connected two linux PCs with these two interfaces (sk0 and sk1) and tried to ping between them but didnt get any success.configuration seems to be ok, but still no traffice is being passed. Can any one give any sugestion ? Regards!!!!! _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 From amvandemore at gmail.com Mon Mar 2 00:24:18 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Mar 2 00:24:25 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: References: Message-ID: <49AB978C.4070701@gmail.com> Faizan ul haq Muhammad wrote: > Hi, > > I am not sure but as per some internet guide, I have configured the bridge on Freebsd(7) Machine with two LAN cards on it > > > > I have compiled my KERNEL with (device if_bridge) > > > > and then added code to rc.conf > > > cloned_interfaces="bridge0" > ifconfig_bridge0="addm sk0 addm sk1 up" > ifconfig_sk0="up" > ifconfig_sk1="up" I connected two linux PCs with these two interfaces (sk0 and sk1) and tried to ping between them but didnt get any success.configuration seems to be ok, but still no traffice is being passed. Can any one give any sugestion ? Regards!!!!! > > > What does ifconfig show? From on at cs.ait.ac.th Mon Mar 2 00:28:18 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Mar 2 00:28:25 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: (message from Faizan ul haq Muhammad on Mon, 2 Mar 2009 07:53:38 +0000) References: Message-ID: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> Hi, > I connected two linux PCs with these two interfaces (sk0 and sk1) > and tried to ping between them but didnt get any > success.configuration seems to be ok, but still no traffice is being > passed. Can any one give any sugestion ? Stupid question, but if you connect the 2 Linux boxes directly (without the FreeBSD bridge in between) can they ping eachother? Are you using properly crossed cables? On the FreeBSD box, you can tcpdump(8) and see the packets moving: tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request and ping echo packets. Olivier From erratic at devel.ws Mon Mar 2 00:34:10 2009 From: erratic at devel.ws (Paige Thompson) Date: Mon Mar 2 00:34:19 2009 Subject: Kernel Compile issue In-Reply-To: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> Message-ID: <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> Also I wanted to note how I got to this problem: [root@ /usr/src]# make buildkernel config=GENERIC 2> error.log [root@ /usr/src]# uname -a FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [root@ /usr/src]# I also wanted to mention that I tried this with the "LINT" configuration and had the same result. On Mon, Mar 2, 2009 at 12:21 AM, Paige Thompson wrote: > [root@ /usr/src]# head error.log > /usr/src/sys/i386/i386/genassym.c:35:23: error: sys/cdefs.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:36: error: expected declaration > specifiers or '...' before string constant > /usr/src/sys/i386/i386/genassym.c:36: warning: data definition has no type > or storage class > /usr/src/sys/i386/i386/genassym.c:36: warning: type defaults to 'int' in > declaration of '__FBSDID' > /usr/src/sys/i386/i386/genassym.c:36: warning: function declaration isn't a > prototype > /usr/src/sys/i386/i386/genassym.c:42:23: error: sys/param.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:43:23: error: sys/systm.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:44:23: error: sys/assym.h: No such file > or directory > /usr/src/sys/i386/i386/genassym.c:45:21: error: sys/bio.h: No such file or > directory > /usr/src/sys/i386/i386/genassym.c:46:21: error: sys/buf.h: No such file or > directory > [root@ /usr/src]# > > > [root@ /usr/src]# cat sys/i386/i386/genassym.c | grep "cdefs.h" > #include > > [root@ /usr/src]# ls -lah /usr/include/sys/cdefs.h > -r--r--r-- 1 root wheel 18K Feb 24 2008 /usr/include/sys/cdefs.h > [root@ /usr/src]# > > wat wat wat???? Not sure what I'm missing here o.O > > > From freebsd at rgbaz.eu Mon Mar 2 00:45:50 2009 From: freebsd at rgbaz.eu (FBSD UG) Date: Mon Mar 2 00:45:57 2009 Subject: Ports on Macbook In-Reply-To: <49A965D1.7080309@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa><87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> Message-ID: <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> On 28 feb 2009, at 17:26, Bernt Hansson wrote: > Sean Cavanaugh said the following on 2009-02-28 16:25: >> ------------------------------------------------- >> From: "Bernt Hansson" >> Sent: Saturday, February 28, 2009 9:32 AM >> To: "FBSD UG" >> Cc: "freebsd-questions" >> Subject: Re: Ports on Macbook >>> FBSD UG said the following on 2009-02-28 10:50: >>>> >>>> On 27 feb 2009, at 13:39, Sergio de Almeida Lenzi wrote: >>>> >>>>> Em Sex, 2009-02-27 ?s 14:45 +0300, zaa@zaa.pp.ru escreveu: >>>>> >>>>>> On Fri, Feb 27, 2009 at 03:04:09PM +0530, Nataraj S Narayan >>>>>> wrote: >>>>>>> Hi >>>>>>> >>>>>>> I hear that Mac OS X and later ones are based on FreeBSD. My >>>>>>> wife is >>>>>>> planning to get a Macbook , which I don't quite approve. Mainly >>>>>>> because we need to pay for any upgrade or new add ons. >>>>> >>>>> >>>>> Hello... >>>>> >>>>> >>>>> I use a free version of the Leopard based on darwin (freebsd6) >>>>> named >>>>> "hackintosh" it is the google, >>>>> it is free, and just works... >>>>> >>>>> You can even buy a "standard" notebook, and install. I will >>>>> transform >>>>> the notebook in an >>>>> apple leopard 10. >>>> >>>> Tha's, ehm, quite illegal to say the least... >>> >>> Of course it isn't illegal. You can run any system you like on >>> your own hardware. >> unless you actually READ the licensing on OSX that says It can only >> be installed on apple brand hardware > > It doesn't really matter much what they say in their eula. If i > bought a copy then i can do/install whatever I want since there > isn't any agreement between apple and me. For the agreement to be > binding I must sign a contract with apple. > You're not buying the software, you buy a license to use it on one Apple computer. From erratic at devel.ws Mon Mar 2 00:49:49 2009 From: erratic at devel.ws (Paige Thompson) Date: Mon Mar 2 00:49:56 2009 Subject: Kernel Compile issue Message-ID: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> [root@ /usr/src]# head error.log /usr/src/sys/i386/i386/genassym.c:35:23: error: sys/cdefs.h: No such file or directory /usr/src/sys/i386/i386/genassym.c:36: error: expected declaration specifiers or '...' before string constant /usr/src/sys/i386/i386/genassym.c:36: warning: data definition has no type or storage class /usr/src/sys/i386/i386/genassym.c:36: warning: type defaults to 'int' in declaration of '__FBSDID' /usr/src/sys/i386/i386/genassym.c:36: warning: function declaration isn't a prototype /usr/src/sys/i386/i386/genassym.c:42:23: error: sys/param.h: No such file or directory /usr/src/sys/i386/i386/genassym.c:43:23: error: sys/systm.h: No such file or directory /usr/src/sys/i386/i386/genassym.c:44:23: error: sys/assym.h: No such file or directory /usr/src/sys/i386/i386/genassym.c:45:21: error: sys/bio.h: No such file or directory /usr/src/sys/i386/i386/genassym.c:46:21: error: sys/buf.h: No such file or directory [root@ /usr/src]# [root@ /usr/src]# cat sys/i386/i386/genassym.c | grep "cdefs.h" #include [root@ /usr/src]# ls -lah /usr/include/sys/cdefs.h -r--r--r-- 1 root wheel 18K Feb 24 2008 /usr/include/sys/cdefs.h [root@ /usr/src]# wat wat wat???? Not sure what I'm missing here o.O From faizi62 at hotmail.com Mon Mar 2 01:08:37 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Mon Mar 2 01:08:45 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> Message-ID: > Date: Mon, 2 Mar 2009 15:28:10 +0700 > From: on@cs.ait.ac.th > To: faizi62@hotmail.com > CC: fbsd.questions@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > Hi, > > > I connected two linux PCs with these two interfaces (sk0 and sk1) > > and tried to ping between them but didnt get any > > success.configuration seems to be ok, but still no traffice is being > > passed. Can any one give any sugestion ? > > Stupid question Yess it is , but if you connect the 2 Linux boxes directly > (without the FreeBSD bridge in between) can they ping eachother? Yes they can > > Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. > > On the FreeBSD box, you can tcpdump(8) and see the packets moving: > tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request > and ping echo packets. > it says arp: who has 192.168.0.4 tell 192.168.0.5 > Olivier _________________________________________________________________ Hotmail? is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009 From nightrecon at verizon.net Mon Mar 2 01:14:05 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Mar 2 01:14:12 2009 Subject: Kernel Compile issue References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> Message-ID: Paige Thompson wrote: > Also I wanted to note how I got to this problem: > > [root@ /usr/src]# make buildkernel config=GENERIC 2> error.log > [snip] cd /usr/obj and rm -rf usr before trying again. Then cd /usr/src and do: make buildkernel KERNCONF=nameofsomeconffile another example: make buildkernel KERNCONF=GENERIC If you have an unadulterated GENERIC conf file present and you just issue make buildkernel by itself it will select GENERIC as default. Try correct procedure first, and hope there is no problem. -Mike From aryeh.friedman at gmail.com Mon Mar 2 01:22:43 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Mar 2 01:22:50 2009 Subject: OT: what is the X11 equiv of /dev/null Message-ID: <49ABA560.8050308@gmail.com> I often want to run applications from my PC (actually the dual boot partition on my desktop 7.1) on one of the X11 capable 7.1 machine at work (identical configs except for dual booting) and want to be able to open applications (like deluge) on the work machine that require a X11 server... I was thinking is there someway to direct a X11 app to target the X11 equiv of /dev/null ? From erratic at devel.ws Mon Mar 2 01:29:00 2009 From: erratic at devel.ws (Paige Thompson) Date: Mon Mar 2 01:29:06 2009 Subject: Kernel Compile issue In-Reply-To: References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> Message-ID: <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> Mike, I think you misread what I sent, however I noticed that you used 'KERNELCONF' instead of 'config' (as I noted) but I still get the same error. I want to say the issue must have something to do with the fact that there's no environment variables that specify the include directories. FWIW here's what I have in my env: [root@ /usr/src]# env TERM=xterm SHELL=/usr/local/bin/bash SSH_CLIENT=192.168.23.1 2436 22 SSH_TTY=/dev/ttyp0 USER=erratic ENV=/home/erratic/.shrc PAGER=more FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/erratic/bin MAIL=/var/mail/erratic BLOCKSIZE=K PWD=/usr/src EDITOR=vi SHLVL=1 HOME=/root LOGNAME=erratic SSH_CONNECTION=192.168.23.1 2436 192.168.23.249 22 _=/usr/bin/env OLDPWD=/usr/obj [root@ /usr/src]# On Mon, Mar 2, 2009 at 1:14 AM, Michael Powell wrote: > Paige Thompson wrote: > > > Also I wanted to note how I got to this problem: > > > > [root@ /usr/src]# make buildkernel config=GENERIC 2> error.log > > > [snip] > > cd /usr/obj and rm -rf usr before trying again. Then cd /usr/src and do: > > make buildkernel KERNCONF=nameofsomeconffile another example: > > make buildkernel KERNCONF=GENERIC > > If you have an unadulterated GENERIC conf file present and you just issue > make buildkernel by itself it will select GENERIC as default. Try correct > procedure first, and hope there is no problem. > > -Mike > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From on at cs.ait.ac.th Mon Mar 2 01:35:46 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Mar 2 01:35:53 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: (message from Faizan ul haq Muhammad on Mon, 2 Mar 2009 09:08:36 +0000) References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> Message-ID: <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> Hi, > > Are you using properly crossed cables? > Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. An example of ifconfig for a bridge (FreeBSD 4.xx): fxp0: flags=89c3 mtu 1500 ether 00:07:e9:xx:xx:xx media: Ethernet autoselect (100baseTX ) status: active fxp1: flags=89c3 mtu 1500 ether 00:07:e9:yy:yy:yy media: Ethernet autoselect (100baseTX ) status: active Once you make sure that both interfaces on your FreeBSD box are up and running, you can procced to the next step: > > On the FreeBSD box=2C you can tcpdump(8) and see the packets moving: > > tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request > > and ping echo packets. > it says arp: who has 192.168.0.4 tell 192.168.0.5 You'd need to give more information about your connection; something like: Linux 192.168.0.4 <---> sk0 FreeBSD sk1 <---> Linux 192.168.0.5 And you should also specify if ou where tcpdump'ing on interface sk0 or sk1. Once your bridge is working, you will get the same thing for tcpdump on both interfaces. Olivier From freebsd at edvax.de Mon Mar 2 01:43:53 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Mar 2 01:44:01 2009 Subject: Kernel Compile issue In-Reply-To: <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> Message-ID: <20090302104337.d06b2b63.freebsd@edvax.de> On Mon, 2 Mar 2009 01:28:59 -0800, Paige Thompson wrote: > Mike, > > I think you misread what I sent, however I noticed that you used > 'KERNELCONF' instead of 'config' (as I noted) but I still get the same > error. Correct is KERNCONF= as parameter for buildkernel and installkernel targets. Allthough the "old way" using config && make depend && make is still supported. Don't miss the "make depend". > I want to say the issue must have something to do with the fact that > there's no environment variables that specify the include directories. As far as I know, there are system defaults that apply. When building from updated sources, the files within the source tree are used (in /usr/src). There's nothing that should be in the env output. I'd suggest to follow the already given advice to work exactly "by manual", at least for the first time. Have a look at the comments /usr/src/Makefile, they're explaining the most obvious mistakes one could make. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at rgbaz.eu Mon Mar 2 02:09:13 2009 From: freebsd at rgbaz.eu (FBSD UG) Date: Mon Mar 2 02:09:20 2009 Subject: Ports on Macbook In-Reply-To: <200902282237.26322.chuckop@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090228191416.2421e88a@scorpio> <49AA19F4.2060408@bah.homeip.net> <200902282237.26322.chuckop@gmail.com> Message-ID: <89992418-C56E-4969-864C-798105B17F3A@rgbaz.eu> On 1 mrt 2009, at 07:37, Charles Oppermann wrote: >>> That depends on where you are domiciled. Under certain scenarios, >>> simply >>> open the box, or installing the software constitutes acceptance of >>> the >>> EULA. >> >> Yes I'm aware of that, but that kind of agreement isn't valid in >> Sweden. > > That would be tantamount to allowing software piracy in Sweden. The > Mac OS X > license agreements are contained in a PDF file here: > > http://images.apple.com/legal/sla/docs/macosx105.pdf > > There is a Swedish language agreement for sales in Sweden. Using on- > line > translation tools, it appears to be similar to what's already been > stated; > use of the software consistutes acceptance of the agreement. If you > do not > agree, you are requested to return the software. Presumably, the > retail > materials contain this agreement, and I'm sure there is digital copy > that is > presented and must be agreed to before use. > > I'm sure that Apple has very good lawyers who drafted the license > agreements > and are aware of Swedish law. While what you are doing may or may > not be in > violation of any licenses, your position that "clicking yes or no is > not a > handshake or oral agreement acording to Swedish law" seems dubious and > ill-advised. > > Consider what you're suggesting: If EULA's and license agreements > simply > weren't valid in Sweden, then what would prevent massive piracy from > occuring? I would assume that if license agreements in Sweden weren't > enforcable, someone would be setting up their own software copying > business. > > ...and if that happened, I would expect software companies to change > their > license agreements in order to prevent it. > >> If you are under 18 you can't make any >> legally binding agreements without your legal guardians permission. > > That might be true, but at least in the United States, parents or > guardians > are usually held responsible. > _______________________________________________ it's probably why this is happening in Sweden: http://www.ukfast.co.uk/internet-news/pirate-bay-court-case-starts.html From erratic at devel.ws Mon Mar 2 02:45:29 2009 From: erratic at devel.ws (Paige Thompson) Date: Mon Mar 2 02:45:36 2009 Subject: Kernel Compile issue In-Reply-To: <5061b39c0903020243j64dd9739ua26277d639834d27@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> <20090302104337.d06b2b63.freebsd@edvax.de> <5061b39c0903020159m44d36a19m60a5079f43564193@mail.gmail.com> <20090302112443.5a08f565.freebsd@edvax.de> <5061b39c0903020243j64dd9739ua26277d639834d27@mail.gmail.com> Message-ID: <5061b39c0903020245u1fbd668bgb0022e3ec37cdfb6@mail.gmail.com> On Mon, Mar 2, 2009 at 2:43 AM, Paige Thompson wrote: > You're right, my source tree is incomplete: > > # pwd > /usr/src/sys > # cd sys > sys: No such file or directory. > # > > Thank you that helps a lot actually, it probably has something to do > with the source archives that I downloaded not being extracted > properly. I'm not a big fan of sysinstall, I prefer to work without > it. You know the whole thing seems like its setup to try and force me > to use sysinstall. Even the ftp client gives me a lot of flack about > how I use mget (IE: mget ssys.* not being a valid way to just fetch > all of the files) so of course i'm left to go through and fetch each > of them individually :(( > > and for whatever reason, Im not having any luck with ncftp which I'm > sure I could figure it out but I really don't think that I should have > to install an additional FTP client just so I can fetch the kernel > source ._. it kind of negates the whole minimalist aspect of having > multiple archive files in the first place. > > Am I right? > > > > > On Mon, Mar 2, 2009 at 2:24 AM, Polytropon wrote: >> On Mon, 2 Mar 2009 01:59:43 -0800, Paige Thompson wrote: >>> I have followed the manual, line for line or I wouldn't have gotten >>> this far. I'm sorry but >>> >>> # cat /cdrom/src/ssys.[a-d]* | tar -xzvf - >>> # cat /cdrom/src/sbase.[a-d]* | tar -xzvf - >>> >>> isn't typical archiving practice by today's standards (geez was it >>> ever?) >> >> I'd thought that you've simply used sysinstall to install the >> distribution "src-all", would be much easier. :-) >> >> Maybe you can try this again, but prior to this try, be sure to >> eliminate everything that might be interfering: >> >> ? ? ? ?# rm -r /usr/src >> ? ? ? ?# rm -r /usr/obj >> >> >> >>> As per your suggestion to check in the Makefile, I have found nothing >>> that really eludes me as to why file cdefs.h actually does >>> exist in /usr/include/sys yet the compiler does not see it probably >>> because the compiler is not being given the correct include path or an >>> include path at all for that matter. >> >> As I mentioned, I think the compile process first generates a >> subtree in /usr/obk according to /usr/src and uses this for the >> compile process. I'm not sure if the system files will then be >> looked at... >> >> >>> Reiteration: >>> >>> make buildkernel KERNCONF=GENERIC fails due to the following: >>> >>> # head error.log >>> /usr/src/sys/i386/i386/genassym.c:35:23: error: sys/cdefs.h: No such >>> file or directory >>> >>> when viewing the code /usr/src/sys/i386/i386/genassym.c on line 35 I find: >>> >>> #include >>> >>> (please note the following carefully) >>> Note that sys/cdefs.h is enclosed in <> as opposed to "" quotations. >>> In C this indicates that the header should be included from an include >>> path that's passed as an argument to the compiler-- *how ever and >>> where ever that is done is what I would like to know.* >> >> Exactly. While "..." refers to $CWD, <...> refers to the -I parameter >> of cc. This parameter is set by Makefile. >> >> Be sure that your sources are complete. >> >> >> >>> Now furthermore, /usr/local/include has *nothing* and I'm almost >>> willing to bet you anything that if I copied * from /usr/include to >>> /usr/local/include that would fix the issue except I don't think >>> that's how this was intended to work. >> >> No. /usr/local does ONLY contain things that do not belong to the >> operating system, such as things installed by ports or packages. >> >> We're talking about the operating system (and its kernel) itself, >> so we're completely outside of /usr/local. >> >> In such a situation, cdefs.h can be found in different places: >> >> ? ? ? ?% locate cdefs.h >> ? ? ? ?/usr/include/sys/cdefs.h >> ? ? ? ?/usr/obj/usr/src/tmp/usr/include/sys/cdefs.h >> ? ? ? ?/usr/src/sys/sys/cdefs.h >> ? ? ? ?/usr/src/usr.sbin/lpr/common_source/lp.cdefs.h >> >> The first one is the system one's. The second one belongs to the >> compiling process, generated by the sources. The third and forth >> one ARE the sources for this. >> >> >> >>> Based on what I have read here: >>> >>> http://www.nabble.com/What-is-CPP%27s-real-default-include-path--td17057087.html >>> (and from that please note:) >>> >>> > ? GCC looks in several different places for headers. ?On a normal Unix >>> > ? system, if you do not instruct it otherwise, it will look for headers >>> > ? requested with `#include ' in: >>> > >>> > ? ? ?/usr/local/include >>> >>> I came across this thread by googling: "FreeBSD Include Path" >> >> As I said, that is a "Linux-ism". :-) >> >> For inclusion, first come the system's directories /usr/include, then >> the local additions /usr/local/include. The last ones are not of >> any value regarding the kernel and system compilation process. >> >> >> >> To be sure, ABSOLUTELY sure, use sysinstall to get the sources from >> the CD, deleting any previous existence of them. Then, >> >> ? ? ? ?# cd /usr/src >> ? ? ? ?# make buildkernel KERNCONF=GENERIC >> >> By the way, omitting KERNCONF loads GENERIC automatically. >> >> I think - and that's a quite wild guess - your problem is caused by >> incomplete sources. >> >> A final question: Are you using the sources from the CD "as is" >> (which release?) or do you update them (how?) before starting the >> compilation process? >> >> >> >> >> -- >> Polytropon >> From Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> > From erratic at devel.ws Mon Mar 2 02:45:53 2009 From: erratic at devel.ws (Paige Thompson) Date: Mon Mar 2 02:46:00 2009 Subject: Kernel Compile issue In-Reply-To: <5061b39c0903020244v773db23bt66313dab71f1e223@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> <20090302104337.d06b2b63.freebsd@edvax.de> <5061b39c0903020159m44d36a19m60a5079f43564193@mail.gmail.com> <20090302112443.5a08f565.freebsd@edvax.de> <5061b39c0903020243j64dd9739ua26277d639834d27@mail.gmail.com> <5061b39c0903020244v773db23bt66313dab71f1e223@mail.gmail.com> Message-ID: <5061b39c0903020245n4c718599w5f4be03b35f995b9@mail.gmail.com> On Mon, Mar 2, 2009 at 2:44 AM, Paige Thompson wrote: > PS: it seems just straight up mget * works x.x > k! satisfactory enough... > > > On Mon, Mar 2, 2009 at 2:43 AM, Paige Thompson wrote: >> You're right, my source tree is incomplete: >> >> # pwd >> /usr/src/sys >> # cd sys >> sys: No such file or directory. >> # >> >> Thank you that helps a lot actually, it probably has something to do >> with the source archives that I downloaded not being extracted >> properly. I'm not a big fan of sysinstall, I prefer to work without >> it. You know the whole thing seems like its setup to try and force me >> to use sysinstall. Even the ftp client gives me a lot of flack about >> how I use mget (IE: mget ssys.* not being a valid way to just fetch >> all of the files) so of course i'm left to go through and fetch each >> of them individually :(( >> >> and for whatever reason, Im not having any luck with ncftp which I'm >> sure I could figure it out but I really don't think that I should have >> to install an additional FTP client just so I can fetch the kernel >> source ._. it kind of negates the whole minimalist aspect of having >> multiple archive files in the first place. >> >> Am I right? >> >> >> >> >> On Mon, Mar 2, 2009 at 2:24 AM, Polytropon wrote: >>> On Mon, 2 Mar 2009 01:59:43 -0800, Paige Thompson wrote: >>>> I have followed the manual, line for line or I wouldn't have gotten >>>> this far. I'm sorry but >>>> >>>> # cat /cdrom/src/ssys.[a-d]* | tar -xzvf - >>>> # cat /cdrom/src/sbase.[a-d]* | tar -xzvf - >>>> >>>> isn't typical archiving practice by today's standards (geez was it >>>> ever?) >>> >>> I'd thought that you've simply used sysinstall to install the >>> distribution "src-all", would be much easier. :-) >>> >>> Maybe you can try this again, but prior to this try, be sure to >>> eliminate everything that might be interfering: >>> >>> ? ? ? ?# rm -r /usr/src >>> ? ? ? ?# rm -r /usr/obj >>> >>> >>> >>>> As per your suggestion to check in the Makefile, I have found nothing >>>> that really eludes me as to why file cdefs.h actually does >>>> exist in /usr/include/sys yet the compiler does not see it probably >>>> because the compiler is not being given the correct include path or an >>>> include path at all for that matter. >>> >>> As I mentioned, I think the compile process first generates a >>> subtree in /usr/obk according to /usr/src and uses this for the >>> compile process. I'm not sure if the system files will then be >>> looked at... >>> >>> >>>> Reiteration: >>>> >>>> make buildkernel KERNCONF=GENERIC fails due to the following: >>>> >>>> # head error.log >>>> /usr/src/sys/i386/i386/genassym.c:35:23: error: sys/cdefs.h: No such >>>> file or directory >>>> >>>> when viewing the code /usr/src/sys/i386/i386/genassym.c on line 35 I find: >>>> >>>> #include >>>> >>>> (please note the following carefully) >>>> Note that sys/cdefs.h is enclosed in <> as opposed to "" quotations. >>>> In C this indicates that the header should be included from an include >>>> path that's passed as an argument to the compiler-- *how ever and >>>> where ever that is done is what I would like to know.* >>> >>> Exactly. While "..." refers to $CWD, <...> refers to the -I parameter >>> of cc. This parameter is set by Makefile. >>> >>> Be sure that your sources are complete. >>> >>> >>> >>>> Now furthermore, /usr/local/include has *nothing* and I'm almost >>>> willing to bet you anything that if I copied * from /usr/include to >>>> /usr/local/include that would fix the issue except I don't think >>>> that's how this was intended to work. >>> >>> No. /usr/local does ONLY contain things that do not belong to the >>> operating system, such as things installed by ports or packages. >>> >>> We're talking about the operating system (and its kernel) itself, >>> so we're completely outside of /usr/local. >>> >>> In such a situation, cdefs.h can be found in different places: >>> >>> ? ? ? ?% locate cdefs.h >>> ? ? ? ?/usr/include/sys/cdefs.h >>> ? ? ? ?/usr/obj/usr/src/tmp/usr/include/sys/cdefs.h >>> ? ? ? ?/usr/src/sys/sys/cdefs.h >>> ? ? ? ?/usr/src/usr.sbin/lpr/common_source/lp.cdefs.h >>> >>> The first one is the system one's. The second one belongs to the >>> compiling process, generated by the sources. The third and forth >>> one ARE the sources for this. >>> >>> >>> >>>> Based on what I have read here: >>>> >>>> http://www.nabble.com/What-is-CPP%27s-real-default-include-path--td17057087.html >>>> (and from that please note:) >>>> >>>> > ? GCC looks in several different places for headers. ?On a normal Unix >>>> > ? system, if you do not instruct it otherwise, it will look for headers >>>> > ? requested with `#include ' in: >>>> > >>>> > ? ? ?/usr/local/include >>>> >>>> I came across this thread by googling: "FreeBSD Include Path" >>> >>> As I said, that is a "Linux-ism". :-) >>> >>> For inclusion, first come the system's directories /usr/include, then >>> the local additions /usr/local/include. The last ones are not of >>> any value regarding the kernel and system compilation process. >>> >>> >>> >>> To be sure, ABSOLUTELY sure, use sysinstall to get the sources from >>> the CD, deleting any previous existence of them. Then, >>> >>> ? ? ? ?# cd /usr/src >>> ? ? ? ?# make buildkernel KERNCONF=GENERIC >>> >>> By the way, omitting KERNCONF loads GENERIC automatically. >>> >>> I think - and that's a quite wild guess - your problem is caused by >>> incomplete sources. >>> >>> A final question: Are you using the sources from the CD "as is" >>> (which release?) or do you update them (how?) before starting the >>> compilation process? >>> >>> >>> >>> >>> -- >>> Polytropon >>> From Magdeburg, Germany >>> Happy FreeBSD user since 4.0 >>> Andra moi ennepe, Mousa, ... >>> >> > From freebsd at edvax.de Mon Mar 2 02:59:21 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Mar 2 03:00:52 2009 Subject: Kernel Compile issue In-Reply-To: <5061b39c0903020243j64dd9739ua26277d639834d27@mail.gmail.com> References: <5061b39c0903020021t311f69c8va16b425e13f80eeb@mail.gmail.com> <5061b39c0903020026u7ad4d422w8f572f35bb27f9d1@mail.gmail.com> <5061b39c0903020128i63f81812ne7699dedb4e4b8a5@mail.gmail.com> <20090302104337.d06b2b63.freebsd@edvax.de> <5061b39c0903020159m44d36a19m60a5079f43564193@mail.gmail.com> <20090302112443.5a08f565.freebsd@edvax.de> <5061b39c0903020243j64dd9739ua26277d639834d27@mail.gmail.com> Message-ID: <20090302115913.f4a6ca3e.freebsd@edvax.de> On Mon, 2 Mar 2009 02:43:01 -0800, Paige Thompson wrote: > You're right, my source tree is incomplete: > > # pwd > /usr/src/sys > # cd sys > sys: No such file or directory. > # I had a similar problem some years ago and couldn't find out what the reason was - the magic of this mailing list didn't open up to me that time yet. :-) > Thank you that helps a lot actually, it probably has something to do > with the source archives that I downloaded not being extracted > properly. This should be followed by an error message, either by ftp for an incomplete archive or by tar for a defective (and also incomplete) one. > I'm not a big fan of sysinstall, I prefer to work without > it. >From my experience, it's quite handy at install time. This usually is the time when I get the sources from the CD. After that, I don't use sysinstall anymore. FreeBSD brings excellent tools for the system administration as well as for installing software. When sources and ports tree are in place, I usually update them using cvsup (old fashioned, I know). Then everything should be up to date, ready for a "make" run in /usr/src. > You know the whole thing seems like its setup to try and force me > to use sysinstall. In any case, you should get proper results without using sysinstall. All the tools are there. > Even the ftp client gives me a lot of flack about > how I use mget (IE: mget ssys.* not being a valid way to just fetch > all of the files) so of course i'm left to go through and fetch each > of them individually :(( + On Mon, 2 Mar 2009 02:44:27 -0800, Paige Thompson wrote: > PS: it seems just straight up mget * works x.x > k! satisfactory enough... Don't forget to unset "prompt". :-) But as I said, I prefer getting the sources from the CD (is much faster). > and for whatever reason, Im not having any luck with ncftp which I'm > sure I could figure it out but I really don't think that I should have > to install an additional FTP client just so I can fetch the kernel > source ._. It's FreeBSD, you don't have to do such stupid things. :-) You even don't need to install cvsup in order to update the sources, FreeBSD brings its own csup today. > it kind of negates the whole minimalist aspect of having > multiple archive files in the first place. > > Am I right? I'm not sure why the archive is split into multiple volumes... maybe historical reasons? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From reddvinylene at gmail.com Mon Mar 2 04:19:24 2009 From: reddvinylene at gmail.com (Redd Vinylene) Date: Mon Mar 2 04:19:31 2009 Subject: FreeBSD and Xen in paravirtualized mode Message-ID: Why doesn't FreeBSD support Xen in paravirtualized mode? Imagine the increase in ISPs being able to offer FreeBSD to its customers. I just got my heart broken today: http://forum.slicehost.com/comments.php?DiscussionID=3191/ -- http://www.myspace.com/soultanisyourfriend From faizi62 at hotmail.com Mon Mar 2 04:21:54 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Mon Mar 2 04:22:09 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> Message-ID: > Date: Mon, 2 Mar 2009 16:35:33 +0700 > From: on@cs.ait.ac.th > To: faizi62@hotmail.com > CC: fbsd.questions@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > Hi, > > > > Are you using properly crossed cables? > > Isnt it enough check for the that two linux can ping each other.. > > Yes and no. You must used crossed Ethernet cable between your FreeBSD > bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. > As someone suggested, what is ifconfig saying on the FreeBSD box? You > should see that both sk0 and sk1 have a status: active. Else it means > you have a cable problem. sk0: flags=8943 metric 0 mtu 1500 options=b) status: active sk1: flags=8943 metric 0 mtu 1500 options=b) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943 metric 0 mtu 1500 options=b > An example of ifconfig for a bridge (FreeBSD 4.xx): > > fxp0: flags=89c3 mtu 1500 > ether 00:07:e9:xx:xx:xx > media: Ethernet autoselect (100baseTX ) > status: active > fxp1: flags=89c3 mtu 1500 > ether 00:07:e9:yy:yy:yy > media: Ethernet autoselect (100baseTX ) > status: active > > Once you make sure that both interfaces on your FreeBSD box are up and > running, you can procced to the next step: > > > > On the FreeBSD box=2C you can tcpdump(8) and see the packets moving: > > > tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request > > > and ping echo packets. > > it says arp: who has 192.168.0.4 tell 192.168.0.5 > > You'd need to give more information about your connection; something > like: > > Linux 192.168.0.4 <---> sk0 FreeBSD sk1 <---> Linux 192.168.0.5 > > And you should also specify if ou where tcpdump'ing on interface sk0 > or sk1. Once your bridge is working, you will get the same thing for > tcpdump on both interfaces. ok here is the detail: Linux 192.168.0.5 <---> sk0 FreeBSD sk1 <---> Linux 192.168.0.4 ping from 192.168.0.5 to 192.168.0.4 tcpdump (on freeBSD) tcpdump -i sk0 RESULT arp: who has 192.168.0.4 tell 192.168.0.5 ping from 192.168.0.4 to 192.168.0.5 tcpdump (on freeBSD) tcpdump -i sk1 RESULT arp: who has 192.168.0.5 tell 192.168.0.4 tcpdump -i bridge0 gives nothing... > Olivier _________________________________________________________________ Windows Live? Groups: Create an online spot for your favorite groups to meet. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009 From julianwissmann at gmail.com Mon Mar 2 04:44:19 2009 From: julianwissmann at gmail.com (Julian Wissmann) Date: Mon Mar 2 04:44:26 2009 Subject: Ports on Macbook In-Reply-To: <49AB98C2.80900@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <49A98FE5.7000404@hotmail.com> <49A9A52C.2010507@bah.homeip.net> <49A9ACBC.30506@bah.homeip.net> <49AB98C2.80900@bah.homeip.net> Message-ID: <110F293A-E09B-40D2-9B8C-38E1D8C6D1B2@gmail.com> Oh, that didn't go to the list, did it. I should actually read where I send stuff to, well, anyway. Suse was bought by Novell a while back as you probably know, but as far as I know the Suse team still is located in Nuernberg over here in Germany. They're programmers/geeks whichever you prefer to call it, not lawyers. So chances are they didn't know about this either when they started out, but considering that Yast was closed source for a while they probably found out soon. Am 02.03.2009 um 09:28 schrieb Bernt Hansson: > Julian Wissmann skrev: >> An EULA actually in nearly all European Countries and probably most >> other countries in the World is not binding. > > That's my point. An EULA is just, that. An EULA. > >> Even in the US it is not >> quite clear if an EULA is a valid license agreement. > > Can't comment on that. > >> Also EULAs and >> many Licenses actually only apply to US Law, so basically they're not >> worth anything anywhere else. > > Yes. US law apply to us only. > >> You couldn't enforce a GPL in Germany or >> some other european countries for example, because it is built atop >> another legal system with different ideas of how things work. > > Interesting! Suse comes to mind, but is suse linux still based in > germany? > >> Same >> thing applies to EULAs. I read a very interesting article on German >> iX >> magazine recently wich was covering this. Don't have access to it >> right now though cause I'm on a trip home, so I can't really say much >> more about it, but if you want specific details I can post them in a >> bout a week. > > Take your time. This kind of discussion's come and go. > > > >> >> Am 28.02.2009 um 22:29 schrieb Bernt Hansson: >> >>> Chris Rees skrev: >>>> 2009/2/28 Bernt Hansson : >>>>> Lord Blackadder skrev: >>>>>> Bernt Hansson wrote: >>>>>>> Sean Cavanaugh skrev: >>>>>> I'm sorry to disappoint you, Bernt, but under Swedish law any >>>>>> kind of >>>>>> agreement is legally binding. Even just a handshake. >>>>> Yes. But clicking yes or no is not a handshake or oral agreement >>>>> acording to Swedish law. >>> >>>> Again, back it up? You're just expecting us to believe your >>>> interpretation of the law. >>> Who's interpretation are you in comfort with? Your own? Sombody >>> else, a >>> lawyer? A pornstar? >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org >>> " >> >> >> > > -- > Varning! E-post till och fr?n Sverige, eller som passerar servrar i > Sverige, avlyssnas av F?rsvarets Radioanstalt, FRA. > > WARNING! E-mail to and from Sweden, or via servers in Sweden, is > monitored by the National Defence Radio Establishment. From ivoras at freebsd.org Mon Mar 2 04:52:47 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Mar 2 04:52:54 2009 Subject: FreeBSD and Xen in paravirtualized mode In-Reply-To: References: Message-ID: Redd Vinylene wrote: > Why doesn't FreeBSD support Xen in paravirtualized mode? Imagine the > increase in ISPs being able to offer FreeBSD to its customers. > > I just got my heart broken today: > http://forum.slicehost.com/comments.php?DiscussionID=3191/ Perhaps you could help fund the development of FreeBSD support for Xen? AFAIK lack of funding is what's keeping the development slow, though it does go on: http://wiki.freebsd.org/FreeBSD/Xen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090302/9a87a347/signature.pgp From outbackdingo at gmail.com Mon Mar 2 05:03:44 2009 From: outbackdingo at gmail.com (Outback Dingo) Date: Mon Mar 2 05:03:51 2009 Subject: FreeBSD and Xen in paravirtualized mode In-Reply-To: References: Message-ID: <5635aa0d0903020503n335111d5ib230ad12f0b5be96@mail.gmail.com> see http://www.rootbsd.net slicehost is uhmmm well i wount comment. On Mon, Mar 2, 2009 at 7:52 PM, Ivan Voras wrote: > Redd Vinylene wrote: > > Why doesn't FreeBSD support Xen in paravirtualized mode? Imagine the > > increase in ISPs being able to offer FreeBSD to its customers. > > > > I just got my heart broken today: > > http://forum.slicehost.com/comments.php?DiscussionID=3191/ > > Perhaps you could help fund the development of FreeBSD support for Xen? > > AFAIK lack of funding is what's keeping the development slow, though it > does go on: http://wiki.freebsd.org/FreeBSD/Xen > > > From omerfsen at gmail.com Mon Mar 2 05:45:44 2009 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Mon Mar 2 05:45:51 2009 Subject: ata-raid.c patch for ICH7 RAID1 In-Reply-To: References: Message-ID: <75a268720903020545m36db92bby35e663ef6b55050d@mail.gmail.com> I can't actually apply this patch to FreeBSD 6.3-RELEASE. It seems ataraid is something not to be used in FreeBSD so I have started to use gmirror instead. Only downside of it is there are 2 disks shown in boot loader not one so if F1 (first disk goes) goes you have to manually select other disk just for one time. On Sun, Mar 1, 2009 at 8:59 PM, Tamouh Hakmi wrote: > Hi, > > Has anyone had experience applying this patch to their FreeBSD 6.x setup? > > http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html > > I've couple of machines using ICH8/ICH9 which seem to exhibit the same problems and would be interested in applying the patch. But want to avoid any complications that may result from it. > > Any feedback is appreciated, do you know if FBSD 6.4 has the patch already implemented? > > Thanks, > > Tamouh Hakmi > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From amvandemore at gmail.com Mon Mar 2 05:49:10 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Mar 2 05:49:17 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> Message-ID: <49ABE3B8.1010801@gmail.com> Faizan ul haq Muhammad wrote: > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 >> From: on@cs.ait.ac.th >> To: faizi62@hotmail.com >> CC: fbsd.questions@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fbsd1@a1poweruser.com >> Subject: Re: Bridging-(How to test and verify that bridging is enabled) >> >> Hi, >> >> >>>> Are you using properly crossed cables? >>>> >>> Isnt it enough check for the that two linux can ping each other.. >>> >> Yes and no. You must used crossed Ethernet cable between your FreeBSD >> bridge and each of your Linux boxes. >> > Frankly i am not sure about the cables type but they works PC to PC connectivity. > >> As someone suggested, what is ifconfig saying on the FreeBSD box? You >> should see that both sk0 and sk1 have a status: active. Else it means >> you have a cable problem. >> > > sk0: flags=8943 metric 0 mtu 1500 > > options=b ether 00:0a:5e:1a:69:25 > media: Ethernet autoselect (1000baseTX ) > status: active > > > > > > sk1: flags=8943 metric 0 mtu 1500 > > options=b ether 00:0a:5e:1a:67:ee > media: Ethernet autoselect (1000baseTX ) > status: active > > > > here is the ifconfig output for the bridge interface: > > bridge0: flags=8943 metric 0 mtu 1500 > > options=b ether 0a:54:d7:7e:aa:66 > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > I think ifconfig bridge0 should list member interfaces. Did you add them? From mikhailg at webanoide.org Mon Mar 2 05:58:29 2009 From: mikhailg at webanoide.org (Mikhail Goriachev) Date: Mon Mar 2 05:58:37 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> Message-ID: <49ABE5FC.40009@webanoide.org> Andrew Moran wrote: [...] > Has anyone heard of this? Or any pointers on what I can do to figure > out what is causing it? > > Your advice is much appreciated. As an alternative: You could try mail/mimedefang. It calls spamassassin to evaluate an e-mail but without having it running all the time. This can solve your problem of running out of memory. For instance, sendmail could be the first line of defence with its own rules (rDNS, noMX, RBLs and what not). Then mimedefang with a set of rules to further reject dodgy e-mails (helo/ehlo, spoofings, SPF and so on). After that, spamassassin comes into play (controlled by mimedefang), but only at the end as a last line of defence. By the time it gets to the end, a lion's share has already been rejected and that means less work for spamassassin. I hope this helps. Regards, Mikhail. From faizi62 at hotmail.com Mon Mar 2 06:02:00 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Mon Mar 2 06:02:08 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: <49ABE3B8.1010801@gmail.com> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> Message-ID: > Date: Mon, 2 Mar 2009 07:48:40 -0600 > From: amvandemore@gmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 > >> From: on@cs.ait.ac.th > >> To: faizi62@hotmail.com > >> CC: fbsd.questions@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > >> Subject: Re: Bridging-(How to test and verify that bridging is enabled) > >> > >> Hi, > >> > >> > >>>> Are you using properly crossed cables? > >>>> > >>> Isnt it enough check for the that two linux can ping each other.. > >>> > >> Yes and no. You must used crossed Ethernet cable between your FreeBSD > >> bridge and each of your Linux boxes. > >> > > Frankly i am not sure about the cables type but they works PC to PC connectivity. > > > >> As someone suggested, what is ifconfig saying on the FreeBSD box? You > >> should see that both sk0 and sk1 have a status: active. Else it means > >> you have a cable problem. > >> > > > > sk0: flags=8943 metric 0 mtu 1500 > > > > options=b > ether 00:0a:5e:1a:69:25 > > media: Ethernet autoselect (1000baseTX ) > > status: active > > > > > > > > > > > > sk1: flags=8943 metric 0 mtu 1500 > > > > options=b > ether 00:0a:5e:1a:67:ee > > media: Ethernet autoselect (1000baseTX ) > > status: active > > > > > > > > here is the ifconfig output for the bridge interface: > > > > bridge0: flags=8943 metric 0 mtu 1500 > > > > options=b > ether 0a:54:d7:7e:aa:66 > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 From amvandemore at gmail.com Mon Mar 2 06:05:40 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Mar 2 06:05:48 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> Message-ID: <49ABE795.1070306@gmail.com> Faizan ul haq Muhammad wrote: > > > > > > Date: Mon, 2 Mar 2009 07:48:40 -0600 > > From: amvandemore@gmail.com > > CC: freebsd-questions@freebsd.org > > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 > > >> From: on@cs.ait.ac.th > > >> To: faizi62@hotmail.com > > >> CC: fbsd.questions@rachie.is-a-geek.net; > freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > > >> Subject: Re: Bridging-(How to test and verify that bridging is > enabled) > > >> > > >> Hi, > > >> > > >> > > >>>> Are you using properly crossed cables? > > >>>> > > >>> Isnt it enough check for the that two linux can ping each other.. > > >>> > > >> Yes and no. You must used crossed Ethernet cable between your FreeBSD > > >> bridge and each of your Linux boxes. > > >> > > > Frankly i am not sure about the cables type but they works PC to > PC connectivity. > > > > > >> As someone suggested, what is ifconfig saying on the FreeBSD box? You > > >> should see that both sk0 and sk1 have a status: active. Else it means > > >> you have a cable problem. > > >> > > > > > > sk0: flags=8943 > metric 0 mtu 1500 > > > > > > options=b > > ether 00:0a:5e:1a:69:25 > > > media: Ethernet autoselect (1000baseTX flag2>) > > > status: active > > > > > > > > > > > > > > > > > > sk1: flags=8943 > metric 0 mtu 1500 > > > > > > options=b > > ether 00:0a:5e:1a:67:ee > > > media: Ethernet autoselect (1000baseTX flag2>) > > > status: active > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > bridge0: flags=8943 metric > 0 mtu 1500 > > > > > > options=b > > ether 0a:54:d7:7e:aa:66 > > > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > > > I think ifconfig bridge0 should list member interfaces. Did you add > them? > > ifconfig bridge0 addm sk0 addm sk1 up > ifconfig sk0 up > ifconfig sk1 up > > this configuration exists in rc.conf > > if ifconfig doesn't print out something like this: bridge0: flags=8843 metric 0 mtu 1500 ether 4a:be:26:65:75:06 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 2000000 member: sk1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 200000 Then you need to add the member interfaces. From tfcheng at gmail.com Mon Mar 2 06:16:04 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Mon Mar 2 06:16:10 2009 Subject: read BSD format disk from Mac OSX Message-ID: Hi all, I format a ext disk (UFS) and transfer some files into it, hand it over to my friend who has a macbook. He complained the macbook can't read it. I don't have a mac on hand, I wonder if there is any utility that will help a mac to read a BSD, thanks!! From faizi62 at hotmail.com Mon Mar 2 06:21:19 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Mon Mar 2 06:21:26 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: <49ABE795.1070306@gmail.com> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> <49ABE795.1070306@gmail.com> Message-ID: > Date: Mon, 2 Mar 2009 08:05:09 -0600 > From: amvandemore@gmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > Date: Mon, 2 Mar 2009 07:48:40 -0600 > > > From: amvandemore@gmail.com > > > CC: freebsd-questions@freebsd.org > > > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 > > > >> From: on@cs.ait.ac.th > > > >> To: faizi62@hotmail.com > > > >> CC: fbsd.questions@rachie.is-a-geek.net; > > freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > > > >> Subject: Re: Bridging-(How to test and verify that bridging is > > enabled) > > > >> > > > >> Hi, > > > >> > > > >> > > > >>>> Are you using properly crossed cables? > > > >>>> > > > >>> Isnt it enough check for the that two linux can ping each other.. > > > >>> > > > >> Yes and no. You must used crossed Ethernet cable between your FreeBSD > > > >> bridge and each of your Linux boxes. > > > >> > > > > Frankly i am not sure about the cables type but they works PC to > > PC connectivity. > > > > > > > >> As someone suggested, what is ifconfig saying on the FreeBSD box? You > > > >> should see that both sk0 and sk1 have a status: active. Else it means > > > >> you have a cable problem. > > > >> > > > > > > > > sk0: flags=8943 > > metric 0 mtu 1500 > > > > > > > > options=b > > > ether 00:0a:5e:1a:69:25 > > > > media: Ethernet autoselect (1000baseTX > flag2>) > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > sk1: flags=8943 > > metric 0 mtu 1500 > > > > > > > > options=b > > > ether 00:0a:5e:1a:67:ee > > > > media: Ethernet autoselect (1000baseTX > flag2>) > > > > status: active > > > > > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > > > bridge0: flags=8943 metric > > 0 mtu 1500 > > > > > > > > options=b > > > ether 0a:54:d7:7e:aa:66 > > > > > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > > > > > I think ifconfig bridge0 should list member interfaces. Did you add > > them? > > > > ifconfig bridge0 addm sk0 addm sk1 up > > ifconfig sk0 up > > ifconfig sk1 up > > > > this configuration exists in rc.conf > > > > > if ifconfig doesn't print out something like this: > > bridge0: flags=8843 metric 0 mtu > 1500 > ether 4a:be:26:65:75:06 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: sk0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > member: sk1 flags=143 > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > Then you need to add the member interfaces. i noted that, following information is missing member: sk0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 2000000 member: sk1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 200000 Now i need to know how to add the interfaces..? Any command do u knw and can help me..? Regards!!! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 From amvandemore at gmail.com Mon Mar 2 06:28:32 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Mar 2 06:28:39 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> <49ABE795.1070306@gmail.com> Message-ID: <49ABECF1.9070900@gmail.com> Faizan ul haq Muhammad wrote: > > > > > > Date: Mon, 2 Mar 2009 08:05:09 -0600 > > From: amvandemore@gmail.com > > CC: freebsd-questions@freebsd.org > > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > Date: Mon, 2 Mar 2009 07:48:40 -0600 > > > > From: amvandemore@gmail.com > > > > CC: freebsd-questions@freebsd.org > > > > Subject: Re: Bridging-(How to test and verify that bridging is > enabled) > > > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 > > > > >> From: on@cs.ait.ac.th > > > > >> To: faizi62@hotmail.com > > > > >> CC: fbsd.questions@rachie.is-a-geek.net; > > > freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > > > > >> Subject: Re: Bridging-(How to test and verify that bridging is > > > enabled) > > > > >> > > > > >> Hi, > > > > >> > > > > >> > > > > >>>> Are you using properly crossed cables? > > > > >>>> > > > > >>> Isnt it enough check for the that two linux can ping each > other.. > > > > >>> > > > > >> Yes and no. You must used crossed Ethernet cable between your > FreeBSD > > > > >> bridge and each of your Linux boxes. > > > > >> > > > > > Frankly i am not sure about the cables type but they works PC to > > > PC connectivity. > > > > > > > > > >> As someone suggested, what is ifconfig saying on the FreeBSD > box? You > > > > >> should see that both sk0 and sk1 have a status: active. Else > it means > > > > >> you have a cable problem. > > > > >> > > > > > > > > > > sk0: flags=8943 > > > metric 0 mtu 1500 > > > > > > > > > > options=b > > > > ether 00:0a:5e:1a:69:25 > > > > > media: Ethernet autoselect (1000baseTX flag1, > > > flag2>) > > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sk1: flags=8943 > > > metric 0 mtu 1500 > > > > > > > > > > options=b > > > > ether 00:0a:5e:1a:67:ee > > > > > media: Ethernet autoselect (1000baseTX flag1, > > > flag2>) > > > > > status: active > > > > > > > > > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > > > > > bridge0: flags=8943 > metric > > > 0 mtu 1500 > > > > > > > > > > options=b > > > > ether 0a:54:d7:7e:aa:66 > > > > > > > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > > > > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > > > > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > > > > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > > > > > > > I think ifconfig bridge0 should list member interfaces. Did you add > > > them? > > > > > > ifconfig bridge0 addm sk0 addm sk1 up > > > ifconfig sk0 up > > > ifconfig sk1 up > > > > > > this configuration exists in rc.conf > > > > > > > > if ifconfig doesn't print out something like this: > > > > bridge0: flags=8843 metric 0 > mtu > > 1500 > > ether 4a:be:26:65:75:06 > > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > member: sk0 flags=143 > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > member: sk1 flags=143 > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > Then you need to add the member interfaces. > > i noted that, following information is missing > member: sk0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > member: sk1 flags=143 > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > Now i need to know how to add the interfaces..? > Any command do u knw and can help me..? > > Regards!!! > > ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up From faizi62 at hotmail.com Mon Mar 2 06:39:12 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Mon Mar 2 06:39:20 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: <49ABECF1.9070900@gmail.com> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> <49ABE795.1070306@gmail.com> <49ABECF1.9070900@gmail.com> Message-ID: > Date: Mon, 2 Mar 2009 08:28:01 -0600 > From: amvandemore@gmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > Date: Mon, 2 Mar 2009 08:05:09 -0600 > > > From: amvandemore@gmail.com > > > CC: freebsd-questions@freebsd.org > > > Subject: Re: Bridging-(How to test and verify that bridging is enabled) > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > Date: Mon, 2 Mar 2009 07:48:40 -0600 > > > > > From: amvandemore@gmail.com > > > > > CC: freebsd-questions@freebsd.org > > > > > Subject: Re: Bridging-(How to test and verify that bridging is > > enabled) > > > > > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Mon, 2 Mar 2009 16:35:33 +0700 > > > > > >> From: on@cs.ait.ac.th > > > > > >> To: faizi62@hotmail.com > > > > > >> CC: fbsd.questions@rachie.is-a-geek.net; > > > > freebsd-questions@freebsd.org; fbsd1@a1poweruser.com > > > > > >> Subject: Re: Bridging-(How to test and verify that bridging is > > > > enabled) > > > > > >> > > > > > >> Hi, > > > > > >> > > > > > >> > > > > > >>>> Are you using properly crossed cables? > > > > > >>>> > > > > > >>> Isnt it enough check for the that two linux can ping each > > other.. > > > > > >>> > > > > > >> Yes and no. You must used crossed Ethernet cable between your > > FreeBSD > > > > > >> bridge and each of your Linux boxes. > > > > > >> > > > > > > Frankly i am not sure about the cables type but they works PC to > > > > PC connectivity. > > > > > > > > > > > >> As someone suggested, what is ifconfig saying on the FreeBSD > > box? You > > > > > >> should see that both sk0 and sk1 have a status: active. Else > > it means > > > > > >> you have a cable problem. > > > > > >> > > > > > > > > > > > > sk0: flags=8943 > > > > metric 0 mtu 1500 > > > > > > > > > > > > options=b > > > > > ether 00:0a:5e:1a:69:25 > > > > > > media: Ethernet autoselect (1000baseTX > flag1, > > > > flag2>) > > > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sk1: flags=8943 > > > > metric 0 mtu 1500 > > > > > > > > > > > > options=b > > > > > ether 00:0a:5e:1a:67:ee > > > > > > media: Ethernet autoselect (1000baseTX > flag1, > > > > flag2>) > > > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > > > > > > > bridge0: flags=8943 > > metric > > > > 0 mtu 1500 > > > > > > > > > > > > options=b > > > > > ether 0a:54:d7:7e:aa:66 > > > > > > > > > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > > > > > > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > > > > > > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > > > > > > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > > > > > > > > > I think ifconfig bridge0 should list member interfaces. Did you add > > > > them? > > > > > > > > ifconfig bridge0 addm sk0 addm sk1 up > > > > ifconfig sk0 up > > > > ifconfig sk1 up > > > > > > > > this configuration exists in rc.conf > > > > > > > > > > > if ifconfig doesn't print out something like this: > > > > > > bridge0: flags=8843 metric 0 > > mtu > > > 1500 > > > ether 4a:be:26:65:75:06 > > > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > member: sk0 flags=143 > > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > > member: sk1 flags=143 > > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > > > Then you need to add the member interfaces. > > > > i noted that, following information is missing > > member: sk0 flags=143 > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > member: sk1 flags=143 > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > Now i need to know how to add the interfaces..? > > Any command do u knw and can help me..? > > > > Regards!!! > > > > > ifconfig bridge0 addm sk0 addm sk1 up > ifconfig sk0 up > ifconfig sk1 up Thanks a lot dear.. it worked. but i m still confused that i have the alternative configuration in rc.conf as per guideline here on this page: http://www.freebsd.org/doc/en/books/handbook/network-bridging.html it should have worked, but it did not. and here with these commands, it is working.. I am able to get reply to ping Thanks a lot /Faizan > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Windows Live? Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 From dkelly at hiwaay.net Mon Mar 2 06:41:16 2009 From: dkelly at hiwaay.net (David Kelly) Date: Mon Mar 2 06:41:23 2009 Subject: read BSD format disk from Mac OSX In-Reply-To: References: Message-ID: <20090302144110.GB25087@Grumpy.DynDNS.org> On Mon, Mar 02, 2009 at 09:16:02AM -0500, Tsu-Fan Cheng wrote: > Hi all, > I format a ext disk (UFS) and transfer some files into it, hand it > over to my friend who has a macbook. He complained the macbook can't > read it. I don't have a mac on hand, I wonder if there is any utility > that will help a mac to read a BSD, thanks!! The easiest way to do what you are attempting is to format the disk FAT. Then to preserve file attributes write your files in a tar archive. MacOS X knows UFS but might not know how to decipher a FreeBSD disk label. I haven't honestly tried. What I did do once was move a couple of drives previously used as a vinum striped RAID to MacOS X. Was frustrated that the MacOS Drive Utility would not allow me to create another striped volume on those drives. What I found out was that the drives had a Microsoft compatible disk label written by FreeBSD which MacOS was happily honoring. Would happily put an HFS+ partition on the drives. But MacOS X RAID had to be established at a lower level using a Macintosh disk label. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From Pieter.Donche at ua.ac.be Mon Mar 2 06:54:24 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Mon Mar 2 06:54:31 2009 Subject: port / portupgrade hangs Message-ID: Sometimes (not often) when installing ports from the ports collection or upgrading ports (via portupgrade -R) when fetching some needed tar.gz file, the fetch hangs, just like now: => rdiff-backup-1.2.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://download.savannah.gnu.org/releases/rdiff-backup/. fetch: http://download.savannah.gnu.org/releases/rdiff-backup/rdiff-backup-1.2.6.tar.gz: Moved Temporarily => Attempting to fetch from http://ftp.cc.uoc.gr/mirrors/nongnu.org/rdiff-backup/. rdiff-backup-1.2.6.tar.gz 43% of 191 kB 107 kBps This is now immobile for over an hour ... Up to now when such a hang occured, I just waited and waited and eventually it would continue and finish the job. But, is there a safe way to do a retry? I dare not just do a Ctrl-C and issue # portupgrade -R rdiff-backup again, since I have no no clue what could go wrong if one does that ... Or is it save to do Ctrl-C and try again? From lacalling at gmail.com Mon Mar 2 06:55:31 2009 From: lacalling at gmail.com (lacalling) Date: Mon Mar 2 06:55:38 2009 Subject: How to repeat playing mp3 with mpg123 Message-ID: Since mpg123 does not support repeat model, i tried to write a script to play mp3 repeatedly. I tried bash like this for((;;)) do mpg123 [mp3] & done but it keeps running new mpg123 in background . but mpg123 [mp3] in foreground cant be terminated by control C Could anyone provide more ideas. thank you. From kstewart at owt.com Mon Mar 2 07:38:59 2009 From: kstewart at owt.com (Kent Stewart) Date: Mon Mar 2 07:39:12 2009 Subject: port / portupgrade hangs In-Reply-To: References: Message-ID: <200903020725.41765.kstewart@owt.com> On Monday 02 March 2009 06:54:21 am Pieter Donche wrote: > Sometimes (not often) when installing ports from the ports collection or > upgrading ports (via portupgrade -R) when fetching some needed tar.gz > file, the fetch hangs, just like now: > > => rdiff-backup-1.2.6.tar.gz doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from > http://download.savannah.gnu.org/releases/rdiff-backup/. > fetch: > http://download.savannah.gnu.org/releases/rdiff-backup/rdiff-backup-1.2.6.t >ar.gz: Moved Temporarily > => Attempting to fetch from > http://ftp.cc.uoc.gr/mirrors/nongnu.org/rdiff-backup/. > rdiff-backup-1.2.6.tar.gz 43% of 191 kB 107 kBps > > This is now immobile for over an hour ... > > Up to now when such a hang occured, I just waited and waited and > eventually it would continue and finish the job. > > But, is there a safe way to do a retry? > I dare not just do a Ctrl-C and issue > # portupgrade -R rdiff-backup > again, since I have no no clue what could go wrong if one does that ... > > Or is it save to do Ctrl-C and try again? It should be safe to do the Ctrl-c. You are doing a fetch. What can go wrong? If you only have a partial distfile, and portupgrade can't handle that, at the worst, you cd /usr/ports/distfiles, remove the partial file, and try again. Things only get messy if you kill a job during an install. Since nothing has been added to the port database, you can probably just install it again. I did a portupgrade -FN rdiff-backup-1.2.6,1 and was able to download the distfile. I only saw 18KBps, which I assume means there are a other people doing a fetch from that site. Kent -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From jerrymc at msu.edu Mon Mar 2 07:56:00 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Mar 2 07:56:08 2009 Subject: rc.conf and starting scripts In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com> References: <798008.8114.qm@web52107.mail.re2.yahoo.com> Message-ID: <20090302155303.GA56093@gizmo.acns.msu.edu> On Sun, Mar 01, 2009 at 07:14:17PM -0800, gahn wrote: > > Hi all: > > I have some starting scripts under some other directories other > than /etc/rc.d. How could I utilize the rc.conf file to start them > when the system boots up? > > The default location for rc.conf is /etc/rc.d only and the > knob "local_startup=/usr/local/etc/rc.d" doesn't seem to be working > for me for some reasons The way the question is put implies some possible misunderstanding about how rc.conf works. /etc/rc.conf itself is not executed. It is read up by the various scripts in etc/rc.d and /usr/local/etc/rc.d to get values for constants that are defined there. Some of those constants are things like linux_enable="YES" or lpd_enable="YES" or hostname="fred.cheeze.org" and many other possible things. the /etc/rc.conf files does nothing active. It just sets there like a bunch of passive data waiting to be looked at. The rc system goes through the rc.d directories and, according to its rules checks the script files in those directories and executes those scripts that merit execution in an order determined by its protocol. It used to be strictly alphabetical, but is more sophisticated now. See man rc and man rcorder. The scripts read up /etc/rc.conf and check for constants that interest them, such as one to enable or run something. If the file name ends in 'd', the convention is that it is a daemon. But other things could be run to check stuff or set up some files, or whatever. Besides telling a script to run or exit without doing anything, the constants also set conditions for things, such as that hostname setting. But, it is up to the scripts - most or all in one of the rc.d directories - to do anything about what is in /etc/rc.conf. Just putting something in the rc.conf file does nothing. One or more of the scripts are what looks for the stuff you put in rc.conf and does/do all the work. The scripts in the rc.d directories have to have execute permission. There is a protocol set up for them to determine at which point in the boot process they run (most can also be run manually after the system is up, though doing them out of order can produce unpleasant results in some cases). So, put your script in /usr/local/etc/rc.d. Include the appropriate protocol in the script (see man rc.d, man rc.conf and other related man pages) and make sure it reads /etc/rc.conf if it needs constants set or needs to decide whether or not to start something. ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From amvandemore at gmail.com Mon Mar 2 08:09:14 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Mar 2 08:09:29 2009 Subject: Bridging-(How to test and verify that bridging is enabled) In-Reply-To: References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> <49ABE795.1070306@gmail.com> <49ABECF1.9070900@gmail.com> Message-ID: <49AC048B.7000109@gmail.com> Faizan ul haq Muhammad wrote: > > > > > > > i noted that, following information is missing > > > member: sk0 flags=143 > > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > > member: sk1 flags=143 > > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > > > Now i need to know how to add the interfaces..? > > > Any command do u knw and can help me..? > > > > > > Regards!!! > > > > > > > > > ifconfig bridge0 addm sk0 addm sk1 up > > ifconfig sk0 up > > ifconfig sk1 up > > Thanks a lot dear.. > it worked. but i m still confused that i have the alternative > configuration in rc.conf as per guideline here on this page: > http://www.freebsd.org/doc/en/books/handbook/network-bridging.html > it should have worked, but it did not. and here with these commands, > it is working.. I am able to get reply to ping > Make sure you got the full config in there adjusted to your settings: cloned_interfaces="bridge0" ifconfig_bridge0="addm fxp0 addm fxp1 up" ifconfig_fxp0="up" ifconfig_fxp1="up" And that you've rebooted. Assuming you've done those steps correctly, it should work. Generally issue's like that are rooted in typo's and misconfigurations. As your typo count gets incremented, you will learn humility. ;) Least that's how it was for me. Another good rule of thumb is if you're following the handbook and it's still doesn't work then you're not following the handbook. Glad it works for you. From wojtek at wojtek.tensor.gdynia.pl Mon Mar 2 08:20:56 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 2 08:21:05 2009 Subject: How to repeat playing mp3 with mpg123 In-Reply-To: References: Message-ID: > I tried bash like this > for((;;)) > do > mpg123 [mp3] & > done > but it keeps running new mpg123 in background . while true;do mpg123 filename;done From utisoft at googlemail.com Mon Mar 2 09:06:52 2009 From: utisoft at googlemail.com (Chris Rees) Date: Mon Mar 2 09:06:59 2009 Subject: Regarding DVD/CD request In-Reply-To: <508fd0770903020130i734276d7o25c64493e9d3b5ba@mail.gmail.com> References: <508fd0770902280049y1f31721fp306f1fc65383f76c@mail.gmail.com> <508fd0770903012329l44b8852atbd44b4c2a87f12ee@mail.gmail.com> <508fd0770903020130i734276d7o25c64493e9d3b5ba@mail.gmail.com> Message-ID: 2009/3/2 RAMASUBRAMANIAN VENKITESWARAN : > SIr, > ? ? Thank You very much > Ah, meant to ask you. Do you want the 32-bit version or the 64-bit? If you want to use accelerated graphics, Java, or flash you're better off with the 32-bit version. If you're happy with the 32-bit version (should be fine for anything really) I'll send you FreeBSD-7.1-RELEASE. Chris -- R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf) From byte8bits at gmail.com Mon Mar 2 09:36:40 2009 From: byte8bits at gmail.com (new_guy) Date: Mon Mar 2 09:36:47 2009 Subject: bsd.rd for FreeBSD install Message-ID: <22292723.post@talk.nabble.com> Hi, We normally use OpenBSD, but would like to try FreeBSD on a test system. Usually, when updating from one OpenBSD release to another, we do so by downloading the latest bsd.rd and booting from that to complete the install. Our machines have no optical drives. Does FreeBSD have a similar method to installation? Thanks! -- View this message in context: http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22292723.html Sent from the freebsd-questions mailing list archive at Nabble.com. From modulok at gmail.com Mon Mar 2 09:40:23 2009 From: modulok at gmail.com (Modulok) Date: Mon Mar 2 09:40:30 2009 Subject: OT: what is the X11 equiv of /dev/null In-Reply-To: <49ABA560.8050308@gmail.com> References: <49ABA560.8050308@gmail.com> Message-ID: <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> >> I was thinking is there someway to direct a X11 app to target the X11 equiv of /dev/null ? ...what? What problem are you trying to solve, exactly? -Modulok- On 3/2/09, Aryeh M. Friedman wrote: > I often want to run applications from my PC (actually the dual boot > partition on my desktop 7.1) on one of the X11 capable 7.1 machine at > work (identical configs except for dual booting) and want to be able to > open applications (like deluge) on the work machine that require a X11 > server... I was thinking is there someway to direct a X11 app to target > the X11 equiv of /dev/null ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From ricardo.meb.jesus at gmail.com Mon Mar 2 09:47:42 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Mon Mar 2 09:47:50 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22292723.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> Message-ID: <49AC1BC3.8050107@gmail.com> new_guy wrote: > Hi, > > We normally use OpenBSD, but would like to try FreeBSD on a test system. > Usually, when updating from one OpenBSD release to another, we do so by > downloading the latest bsd.rd and booting from that to complete the install. > Our machines have no optical drives. Does FreeBSD have a similar method to > installation? > > Thanks! As far as I know OpenBSD advises on binary upgrades so I'd say you're probably looking for freebsd-update as it provides binary updates. This utility is great for binary updates to both kernel and world. Do take a look at FreeBSD's Handbook. To update third party applications e.g. ports read this: http://www.freebsd.org/doc/en/books/handbook/ports.html If you want to compile a custom kernel: http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html Update and upgrade methods are described here: http://www.freebsd.org/doc/en/books/handbook/updating-upgrading.html Have fun, Ricardo Jesus. From byte8bits at gmail.com Mon Mar 2 09:55:41 2009 From: byte8bits at gmail.com (new_guy) Date: Mon Mar 2 09:55:49 2009 Subject: Root shell In-Reply-To: <20090301183715.5b1571db@gumby.homeunix.com> References: <20090301161650.GB15344@melon.esperance-linux.co.uk> <20090301183715.5b1571db@gumby.homeunix.com> Message-ID: <22293187.post@talk.nabble.com> RW-15 wrote: > > On Sun, 1 Mar 2009 16:16:50 +0000 > Frank Shute wrote: > >> pdksh is statically linked and I don't know if bash is. > > It's a build option. > > Seems root should have a static shell always... otherwise, all bets are off as some of the shared libs may be inaccessible or damaged. So long as bash is statically linked and properly located, there should not be an issue. But most folks (linux users) aren't aware of the implications of dynamic linking and such. So it's probably best to 'just say no' to the OP's question. Leave root's shell alone unless you know what you're doing and bash is built appropriately. -- View this message in context: http://www.nabble.com/Root-shell-tp22274005p22293187.html Sent from the freebsd-questions mailing list archive at Nabble.com. From byte8bits at gmail.com Mon Mar 2 10:02:26 2009 From: byte8bits at gmail.com (new_guy) Date: Mon Mar 2 10:02:33 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <49AC1BC3.8050107@gmail.com> References: <22292723.post@talk.nabble.com> <49AC1BC3.8050107@gmail.com> Message-ID: <22293310.post@talk.nabble.com> You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd). Is that possible? It's basically a small kernel that boots the machine, formats the hard drive, setups root and installs the operating system over ftp. -- View this message in context: http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22293310.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jerrymc at msu.edu Mon Mar 2 10:15:42 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Mar 2 10:16:26 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22292723.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> Message-ID: <20090302181244.GA56706@gizmo.acns.msu.edu> On Mon, Mar 02, 2009 at 09:36:39AM -0800, new_guy wrote: > > Hi, > > We normally use OpenBSD, but would like to try FreeBSD on a test system. > Usually, when updating from one OpenBSD release to another, we do so by > downloading the latest bsd.rd and booting from that to complete the install. > Our machines have no optical drives. Does FreeBSD have a similar method to > installation? Hmmm. Having a CD drive makes it so easy. It might be worthwhile to run out and get an external one you can plug in. Installs can also be done from a pair of floppies if you have a floppy drive. The floppy just has the boot and sysinstall stuff. Everything else downloads over the net or can be loaded on some other media such as tape or external disk and installed from there. You can create almost any kind of media if you can make it bootable and put stuff on it and boot from it and bring up sysinstall. But, I do not think you can put that on the slice you want to install to and then do a complete install there. Now, if you have FreeBSD running, you can upgrade it in place. Update and csup are all useful tools to learn for that. But, an initial install wants to be on some media other than where it will be installed. That is mostly because you build your disk filesystem as part of the installation. ////jerry > > Thanks! > -- > View this message in context: http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22292723.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Mon Mar 2 10:16:59 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Mar 2 10:17:06 2009 Subject: Root shell In-Reply-To: <22293187.post@talk.nabble.com> References: <20090301161650.GB15344@melon.esperance-linux.co.uk> <20090301183715.5b1571db@gumby.homeunix.com> <22293187.post@talk.nabble.com> Message-ID: <20090302181400.GB56706@gizmo.acns.msu.edu> On Mon, Mar 02, 2009 at 09:55:39AM -0800, new_guy wrote: > > > RW-15 wrote: > > > > On Sun, 1 Mar 2009 16:16:50 +0000 > > Frank Shute wrote: > > > >> pdksh is statically linked and I don't know if bash is. > > > > It's a build option. > > > > > > Seems root should have a static shell always... otherwise, all bets are off > as some of the shared libs may be inaccessible or damaged. So long as bash > is statically linked and properly located, there should not be an issue. But > most folks (linux users) aren't aware of the implications of dynamic linking > and such. So it's probably best to 'just say no' to the OP's question. Leave > root's shell alone unless you know what you're doing and bash is built > appropriately. Well put. ////jerry > > -- > View this message in context: http://www.nabble.com/Root-shell-tp22274005p22293187.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ricardo.meb.jesus at gmail.com Mon Mar 2 10:19:53 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Mon Mar 2 10:20:04 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22293310.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> <49AC1BC3.8050107@gmail.com> <22293310.post@talk.nabble.com> Message-ID: <49AC234D.9040403@gmail.com> new_guy wrote: > You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd). > Is that possible? It's basically a small kernel that boots the machine, > formats the hard drive, setups root and installs the operating system over > ftp. > If that's what you want I definitely misunderstood. Maybe someone of the list can give a hand and help you out. From zszalbot at gmail.com Mon Mar 2 10:24:03 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Mar 2 10:24:16 2009 Subject: load average and some built-in monitoring mechanism Message-ID: <94136a2c0903021024q54225574hc36661eaa29a057@mail.gmail.com> Hi there, My machine has recently been taken down by (most likely) runaway java process. The box had to be rebooted as there was no remote access to it but I am not able to find anything useful in logs to confirm whether it was java. Is there a tool that would enable me to automatically turn on verbose logging of top processes to some file once the load average is greater than the specified value? This way, once the storm is over, I would be able to see which process(es) went nuts. I guess a tool like that may simply already exist in which case I'd appreciate links/more information. How are you dealing with such issues when/if they happen to you? Many thanks! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From jerrymc at msu.edu Mon Mar 2 10:28:32 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Mar 2 10:28:40 2009 Subject: bsd.rd for FreeBSD install' In-Reply-To: <49AC234D.9040403@gmail.com> References: <22292723.post@talk.nabble.com> <49AC1BC3.8050107@gmail.com> <22293310.post@talk.nabble.com> <49AC234D.9040403@gmail.com> Message-ID: <20090302182532.GD56706@gizmo.acns.msu.edu> On Mon, Mar 02, 2009 at 06:19:57PM +0000, Ricardo Jesus wrote: > new_guy wrote: > >You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd). > >Is that possible? It's basically a small kernel that boots the machine, > >formats the hard drive, setups root and installs the operating system over > >ftp. > > > If that's what you want I definitely misunderstood. Maybe someone of the > list can give a hand and help you out. Wel, that is what a fixit image is - a boot to a ramdisk image. They call it md (memory disk) in FreeBSD land. Check man pages and some more stuff online at various sources. The only problem is that I don't know if the fixit includes sysinstall. You could try it. I would guess that the install image is build in memory too and runs from there rather than from the CD. So, it should be possible with some tinkering - if you have enough memory to run a sysinstall completely from memory. You would then pretty much need to do an install over the net - which you would probably do anyway. So, your big problem, if that works, is figuring out how to create that image booted in to the memory disk without some external media to start it with. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Mon Mar 2 10:33:30 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Mar 2 10:33:37 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22293310.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> <49AC1BC3.8050107@gmail.com> <22293310.post@talk.nabble.com> Message-ID: <20090302183031.GE56706@gizmo.acns.msu.edu> On Mon, Mar 02, 2009 at 10:02:25AM -0800, new_guy wrote: > > You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd). That is called md (memory disk) in FreeBSD land. > Is that possible? It's basically a small kernel that boots the machine, > formats the hard drive, setups root and installs the operating system over > ftp. That is what sysinstall is, plus the boot. It is a program that builds the filesystems, sets up the system and loads everything on the disk. The big problem is how to boot and bring it up without any external media. I think some people have done it from network and second Hard drive boots as well as floppy and CD boots. ////jerry > > -- > View this message in context: http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22293310.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jos at webrz.net Mon Mar 2 10:35:14 2009 From: jos at webrz.net (Jos Chrispijn) Date: Mon Mar 2 10:35:22 2009 Subject: MySQL / php differ In-Reply-To: <49AA850A.6020105@infracaninophile.co.uk> References: <49AA6060.60604@webrz.net> <49AA6302.2000408@gmail.com> <49AA850A.6020105@infracaninophile.co.uk> Message-ID: <49AC26E5.9060805@webrz.net> Matthew Seaman wrote: > Actually, you may only need to recompile databases/php5-mysql > (possibly plus some dependencies) and then restart apache. If your DB > is on the same machine as where you're running phpMyAdmin, then you > will have the 5.0.77 client libraries already installed and > recompiling that one package should fix the observed problem. > thanks, I will try as Areyeh's solution unfortunately didn't solve the problem. Jos Chrispijn From rsmith at xs4all.nl Mon Mar 2 10:37:44 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Mar 2 10:37:51 2009 Subject: read BSD format disk from Mac OSX In-Reply-To: References: Message-ID: <20090302183739.GB89715@slackbox.xs4all.nl> On Mon, Mar 02, 2009 at 09:16:02AM -0500, Tsu-Fan Cheng wrote: > Hi all, > I format a ext disk (UFS) and transfer some files into it, hand it > over to my friend who has a macbook. He complained the macbook can't > read it. I don't have a mac on hand, I wonder if there is any utility > that will help a mac to read a BSD, thanks!! Macs use GUID partition tables. These are supported by the GENERIC FreeBSD kernel (at least in 7.1). You'll need the gpt(8) program to make them. The following link is a kind of HOWTO: http://forums.freebsd.org/archive/index.php/t-1305.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090302/86563191/attachment.pgp From ricardo.meb.jesus at gmail.com Mon Mar 2 10:44:22 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Mon Mar 2 10:44:38 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <20090302183031.GE56706@gizmo.acns.msu.edu> References: <22292723.post@talk.nabble.com> <49AC1BC3.8050107@gmail.com> <22293310.post@talk.nabble.com> <20090302183031.GE56706@gizmo.acns.msu.edu> Message-ID: <49AC2904.1070309@gmail.com> Jerry McAllister wrote: > On Mon, Mar 02, 2009 at 10:02:25AM -0800, new_guy wrote: > >> You misunderstand. I want to install FreeBSD from a ramdisk image (bsd.rd). > > That is called md (memory disk) in FreeBSD land. > >> Is that possible? It's basically a small kernel that boots the machine, >> formats the hard drive, setups root and installs the operating system over >> ftp. > > That is what sysinstall is, plus the boot. It is a program that > builds the filesystems, sets up the system and loads everything on > the disk. The big problem is how to boot and bring it up without > any external media. I think some people have done it from network > and second Hard drive boots as well as floppy and CD boots. > > ////jerry > >> -- >> View this message in context: http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22293310.html >> Sent from the freebsd-questions mailing list archive at Nabble.com. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > One approach could be using an existing install like described here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/article.html Or even going the nanoBSD way: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/article.html But this defeats the OP's originial intent, e.g., ramdisk From utisoft at googlemail.com Mon Mar 2 10:49:02 2009 From: utisoft at googlemail.com (Chris Rees) Date: Mon Mar 2 10:49:16 2009 Subject: Ports on Macbook In-Reply-To: <110F293A-E09B-40D2-9B8C-38E1D8C6D1B2@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49A98ADB.2010107@bah.homeip.net> <49A98FE5.7000404@hotmail.com> <49A9A52C.2010507@bah.homeip.net> <49A9ACBC.30506@bah.homeip.net> <49AB98C2.80900@bah.homeip.net> <110F293A-E09B-40D2-9B8C-38E1D8C6D1B2@gmail.com> Message-ID: 2009/3/2 Julian Wissmann : > Oh, that didn't go to the list, did it. > I should actually read where I send stuff to, well, anyway. > > Suse was bought by Novell a while back as you probably know, but as far as I > know the Suse team still is located in Nuernberg over here in Germany. > They're programmers/geeks whichever you prefer to call it, not lawyers. > So chances are they didn't know about this either when they started out, but > considering that Yast was closed source for a while they probably found out > soon. > > > Am 02.03.2009 um 09:28 schrieb Bernt Hansson: > >> Julian Wissmann skrev: >>> >>> An EULA actually in nearly all European Countries and probably most >>> other countries in the World is not binding. >> >> That's my point. An EULA is just, that. An EULA. >> >>> Even in the US it is not >>> quite clear if an EULA is a valid license agreement. >> >> Can't comment on that. >> >>> Also EULAs and >>> many Licenses actually only apply to US Law, so basically they're not >>> worth anything anywhere else. >> >> Yes. US law apply to us only. >> >>> You couldn't enforce a GPL in Germany or >>> some other european countries for example, because it is built atop >>> another legal system with different ideas of how things work. >> >> Interesting! Suse comes to mind, but is suse linux still based in germany? >> >>> Same >>> thing applies to EULAs. I read a very interesting article on German iX >>> magazine recently wich was covering this. Don't have access to it >>> right now though cause I'm on a trip home, so I can't really say much >>> more about it, but if you want specific details I can post them in a >>> bout a week. >> >> Take your time. This kind of discussion's come and go. >> >> >> >>> >>> Am 28.02.2009 um 22:29 schrieb Bernt Hansson: >>> >>>> Chris Rees skrev: >>>>> >>>>> 2009/2/28 Bernt Hansson : >>>>>> >>>>>> Lord Blackadder skrev: >>>>>>> >>>>>>> Bernt Hansson wrote: >>>>>>>> >>>>>>>> Sean Cavanaugh skrev: >>>>>>> >>>>>>> I'm sorry to disappoint you, Bernt, but under Swedish law any >>>>>>> kind of >>>>>>> agreement is legally binding. Even just a handshake. >>>>>> >>>>>> Yes. But clicking yes or no is not a handshake or oral agreement >>>>>> acording to Swedish law. >>>> >>>>> Again, back it up? You're just expecting us to believe your >>>>> interpretation of the law. >>>> >>>> Who's interpretation are you in comfort with? Your own? Sombody >>>> else, a >>>> lawyer? A pornstar? >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org >>>> " >>> >>> >>> >> >> -- >> Varning! E-post till och fr?n Sverige, eller som passerar servrar i >> Sverige, avlyssnas av F?rsvarets Radioanstalt, FRA. >> >> WARNING! E-mail to and from Sweden, or via servers in Sweden, is >> monitored by the National Defence Radio Establishment. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > In all fairness, you are posting on a mailing list about software originating in the US, written in English, with the original post being a guy from India, and the disputed one being made from a guy in Spain. How is Swedish law relevant to this discussion, whether it says what you claim or not? Chris -- R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf) From prad at towardsfreedom.com Mon Mar 2 10:53:01 2009 From: prad at towardsfreedom.com (prad) Date: Mon Mar 2 10:53:10 2009 Subject: who took my cd drive? Message-ID: <20090302105258.098a4be3@gom.home> i'm trying to install fbsd71 on a ibm thinkpad i1200 via cdrom. it boots fine from the cd, but then when i choose cd for media it says No CD/DVD devices found! huh?? how so? what can be done? (i can install through nfs so it is not a lost cause by any means, but what's going on here?) -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From jos at webrz.net Mon Mar 2 11:07:20 2009 From: jos at webrz.net (Jos Chrispijn) Date: Mon Mar 2 11:07:27 2009 Subject: MySQL / php differ | Solved In-Reply-To: <49AA850A.6020105@infracaninophile.co.uk> References: <49AA6060.60604@webrz.net> <49AA6302.2000408@gmail.com> <49AA850A.6020105@infracaninophile.co.uk> Message-ID: <49AC2E6A.8000303@webrz.net> Problem solved. What I did is: - using Matthew's pkg_info -rx php5-mysql - after that Aryeh's solution on the php5-mysql port thanks for your help, Jos From jerrymc at msu.edu Mon Mar 2 11:13:40 2009 From: jerrymc at msu.edu (Jerry) Date: Mon Mar 2 11:13:55 2009 Subject: backup msdos slice Message-ID: <20090302191042.GA56989@gizmo.acns.msu.edu> Hi, I hate to start this potential storm, but... I have a machine with both an MS and FreeBSD slices on it. I can easily back up and recover the FreeBSD slices using dump(8)/restore(8) But, that won't work for the MS slice (which happens to be FAT32 on this machine) because there is no superblock and inode structure. So, what I would like is something that would dump the MS slice to a FreeBSD file or media written in the FreeBSD world and that I could then pick out files and directories somewhat like I do using restore on a dump file. I suspect that tar might not keep enough meta information to be right for this job. Is that a valid concern? Recovered files should still work in MS-Win. Is there anything worthwhile out there that can do this and not go through some the rigamarole that some MS backup systems seem to want to put one through? Basically, I want to back up the MSDOS slice (I know MS calls it a primary partition) from the FreeBSD side of things. I can read and write the slice nicely from FreeBSD, but not dump/restore. I would appreciate any suggestions. ////jerry From smallhand at crawblog.com Mon Mar 2 11:20:44 2009 From: smallhand at crawblog.com (Edward Ruggeri) Date: Mon Mar 2 11:20:51 2009 Subject: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 In-Reply-To: <200903020235.07985.pieter@degoeje.nl> References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> <200903020235.07985.pieter@degoeje.nl> Message-ID: <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> Thanks very much! Will this actually change behavior of the Linux kernel module, or is it just supposed to trick new versions of linux_base to build? -- Ned Ruggeri On Sun, Mar 1, 2009 at 7:35 PM, Pieter de Goeje wrote: > On Monday 02 March 2009, Edward Ruggeri wrote: >> I am using FreeBSD 7.0 Stable. ?I want to run the Linguistica project >> Linux binary. ?However, after loading the Linux kernel module, when I >> try to run the binary the system replies: >> >> ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not >> found (required by ./lxa-ubuntu-325) >> ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version >> `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) >> >> Besides asking the Linguistica developers whether they actually must >> require such recent versions of the GNU C, C++ libraries, I tried to >> install a more recent linux_base. ?However, everything beyond >> linux_base-fc4 does not support Linux kernel 2.4.2. >> >> Is there a module for a newer version of the linux kernel that I can >> build so as to install a newer linux_base? ?Or is there a way to use >> the same 2.4.2 module but use more recent GNU C libraries? ?I am not >> an expert in this area; is there something I haven't thought of? > > You can "upgrade" the linux compatibility layer by setting the sysctl: > > ?compat.linux.osrelease=2.6.18 > > For example in /etc/sysctl.conf. Then you should be able to install a newer > version of linux_base. > > -- > Pieter de Goeje > From pschmehl_lists at tx.rr.com Mon Mar 2 11:25:50 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Mon Mar 2 11:25:58 2009 Subject: Anyone know SunFire hardware Message-ID: We have FreeBSD installed on a SunFire box running two AMD Opteron processors. I was upgrading to 7.1 STABLE on Friday, and after installing the kernel I rebooted. Now the box is completely unusable. Does anyone know how to get a SunFire box to boot from the CD ROM? Any changes I make to the BIOS seem to be completely ignored. When I get to the FreeBSD boot loader, I lose keyboard, so I can't even go to single user mode. Not being able to boot off the CD is a royal pita. I've done some Googling, and the most common answer seems to be "hit STOP+A", but there is no STOP key on an Intel keyboard. Is there a magic incantation that will work? Maybe the entrails of a young goat? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From wojtek at wojtek.tensor.gdynia.pl Mon Mar 2 11:38:12 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 2 11:38:19 2009 Subject: backup msdos slice In-Reply-To: <20090302191042.GA56989@gizmo.acns.msu.edu> References: <20090302191042.GA56989@gizmo.acns.msu.edu> Message-ID: > > So, what I would like is something that would dump the MS slice > to a FreeBSD file or media written in the FreeBSD world and that > I could then pick out files and directories somewhat like I do > using restore on a dump file. I suspect that tar might not > keep enough meta information to be right for this job. Is that > a valid concern? Recovered files should still work in MS-Win. only tar i think From perlcat at windstream.net Mon Mar 2 11:43:28 2009 From: perlcat at windstream.net (Tyson Boellstorff) Date: Mon Mar 2 11:43:35 2009 Subject: who took my cd drive? In-Reply-To: <20090302105258.098a4be3@gom.home> References: <20090302105258.098a4be3@gom.home> Message-ID: <200903021325.36211.perlcat@windstream.net> On Monday 02 March 2009 12:52:58 prad wrote: > i'm trying to install fbsd71 on a ibm thinkpad i1200 via cdrom. > > it boots fine from the cd, but then when i choose cd for media it says > No CD/DVD devices found! > > huh?? how so? > what can be done? > (i can install through nfs so it is not a lost cause by any means, but > what's going on here?) I did. I am in ur howse steelin ur 1's. perlcat. srsly, what does dmesg and /dev say? CD's can be mounted through the USB bus or a different bus. My guess is that your CD isn't connected internally via PCI, and you're just missing a driver. From glen.j.barber at gmail.com Mon Mar 2 11:46:30 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Mar 2 11:46:37 2009 Subject: who took my cd drive? In-Reply-To: <20090302105258.098a4be3@gom.home> References: <20090302105258.098a4be3@gom.home> Message-ID: <4ad871310903021146j30cd2dby4a644362b4420d11@mail.gmail.com> On Mon, Mar 2, 2009 at 1:52 PM, prad wrote: > i'm trying to install fbsd71 on a ibm thinkpad i1200 via cdrom. > > it boots fine from the cd, but then when i choose cd for media it says > No CD/DVD devices found! > > huh?? how so? > what can be done? > (i can install through nfs so it is not a lost cause by any means, but > what's going on here?) > Try the atapicam kernel module. -- Glen Barber From rsmith at xs4all.nl Mon Mar 2 12:30:20 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Mar 2 12:30:28 2009 Subject: backup msdos slice In-Reply-To: <20090302191042.GA56989@gizmo.acns.msu.edu> References: <20090302191042.GA56989@gizmo.acns.msu.edu> Message-ID: <20090302203017.GB92315@slackbox.xs4all.nl> On Mon, Mar 02, 2009 at 02:10:42PM -0500, Jerry wrote: > Hi, > > I hate to start this potential storm, but... > > I have a machine with both an MS and FreeBSD slices on it. > I can easily back up and recover the FreeBSD slices using dump(8)/restore(8) > But, that won't work for the MS slice (which happens to be FAT32 on this > machine) because there is no superblock and inode structure. > > So, what I would like is something that would dump the MS slice > to a FreeBSD file or media written in the FreeBSD world and that > I could then pick out files and directories somewhat like I do > using restore on a dump file. > I suspect that tar might not keep enough meta information to be right > for this job. Is that a valid concern? Just mount the FAT32 fs, and use any achiver you like, e.g. zip, tar, cpio. All can save all metadata that FAT32 has. If you use zip, you can even use winzip on windows to extract files from it, if that is important to you. Some time ago I wrote a utility called dosrestore (available on my website) that could extract files from backup floppies made with MS-DOS 5 or thereabouts. I haven't tested it beyond my own backup floppies, though. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090302/ecc55007/attachment.pgp From cpghost at cordula.ws Mon Mar 2 13:25:39 2009 From: cpghost at cordula.ws (cpghost) Date: Mon Mar 2 13:25:47 2009 Subject: How to repeat playing mp3 with mpg123 In-Reply-To: References: Message-ID: <20090302212539.GA46243@phenom.cordula.ws> On Mon, Mar 02, 2009 at 10:55:29PM +0800, lacalling wrote: > Since mpg123 does not support repeat model, i tried to write a script to > play mp3 repeatedly. > > I tried bash like this > for((;;)) > do > mpg123 [mp3] & > done > but it keeps running new mpg123 in background . You asked for it to run in the background (with '&'). In fact, you're spawning many mpg123 processes here... > but mpg123 [mp3] in foreground cant be terminated by control C Not too familiar with mpg123 (I'm using mplayer), but in such close loops, Ctrl-C usually works, but not as intended: it stops one mpg123 process (unless mpg123 sets its signal mask in such a way as to block or ignore SIGINT?), but the next one resumes almost immediately thereafter. To Ctrl-C the loop itself is not easy, because the time slice between the end of one mpg123 process and the start of the next one (when the shell is in the foreground) is pretty tiny. Try adding a 'sleep 1' or something like that after mpg123, and it will be easier. > Could anyone provide more ideas. > thank you. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From byte8bits at gmail.com Mon Mar 2 14:06:12 2009 From: byte8bits at gmail.com (new_guy) Date: Mon Mar 2 14:06:20 2009 Subject: Anyone know SunFire hardware In-Reply-To: References: Message-ID: <22297874.post@talk.nabble.com> Paul Schmehl-2 wrote: > > I've done some Googling, and the most common answer seems to be "hit > STOP+A", > but there is no STOP key on an Intel keyboard. Is there a magic > incantation > that will work? Maybe the entrails of a young goat? > Ctrl + Break I'm sticking with OpenBSD... BTW. -- View this message in context: http://www.nabble.com/Anyone-know-SunFire-hardware-tp22294904p22297874.html Sent from the freebsd-questions mailing list archive at Nabble.com. From kdk at daleco.biz Mon Mar 2 14:28:55 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Mon Mar 2 14:29:02 2009 Subject: OT: what is the X11 equiv of /dev/null In-Reply-To: <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> References: <49ABA560.8050308@gmail.com> <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> Message-ID: <49AC5D7E.8040208@daleco.biz> Modulok wrote: >>> I was thinking is there someway to direct a X11 app to target the X11 equiv of /dev/null ? > > ...what? What problem are you trying to solve, exactly? > -Modulok- I'd have to assume he wants to call a remote X program from his terminal and not have the program's output clutter it up. My usual workaround is: 1. "xterm &" in Terminal one. 2. "appname &" in the new Xterm, then CTL-D. I also have a couple of buttons in XFCE that simply call "ssh $somehost $someapp". I've no idea where it puts the stderror/stdout, but I never see it. Kevin Kinsey -- Surely you cant be serious." "I am serious, and dont call me Shirley. From prad at towardsfreedom.com Mon Mar 2 15:22:15 2009 From: prad at towardsfreedom.com (prad) Date: Mon Mar 2 15:22:22 2009 Subject: who took my cd drive? In-Reply-To: <4ad871310903021146j30cd2dby4a644362b4420d11@mail.gmail.com> References: <20090302105258.098a4be3@gom.home> <4ad871310903021146j30cd2dby4a644362b4420d11@mail.gmail.com> Message-ID: <20090302152213.703cfcbd@gom.home> On Mon, 2 Mar 2009 14:46:27 -0500 Glen Barber wrote: > Try the atapicam kernel module. > i pushed 6 to get loader prompt and there did boot atapicam but got elf32_loadfile: can't load module before kernel which i thought was weird since in the help boot it says if you don't load the module, it will boot it instead of the default. if i load atapicam then it just boots acpi.ko On Mon, 2 Mar 2009 13:25:36 -0600 Tyson Boellstorff wrote: > I did. > > I am in ur howse steelin ur 1's. > i will count the cats we have. if catcount == catcount + 1: print "perlous catastrophe" -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From dnelson at allantgroup.com Mon Mar 2 15:31:15 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Mar 2 15:31:21 2009 Subject: libpthread not found In-Reply-To: References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> <49AA5D4C.3070901@gmail.com> <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FB@FBCMST11V01.fbc.local> Message-ID: <20090302233111.GB78542@dan.emsphone.com> In the last episode (Mar 01), Michael Powell said: > m.borsatino@alice.it wrote: > > thanks ... but ... how? > > now I don't get the first message; but the second tells me that a library > > is missing, but it is present. anyway I' prepared a very simple > > /etc/libmap.conf like this: > > > > # /etc/libmap.conf > > # > > # candidate mapping > > # > > libc.so.6 /usr/compat/linux/lib/libc.so.6 > > Change to: > > libc.so.6 libc.so.7 No, definitely do not do this. The version of a shared library is bumped when incompatible changes are made. If libc.so.7 was compatible with libc.so.6, why wasn't it called libc.so.6? :) libmap.conf is only meant to exchange ABI-compatible libraries (primarily the older threads libraries libc_r, libthr, and libpthread). You want to install the compat6x port, which will install FreeBSD 6.x libraries, including libc.so.6. -- Dan Nelson dnelson@allantgroup.com From apseudoutopia at gmail.com Mon Mar 2 15:40:09 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Mar 2 15:40:16 2009 Subject: Cron Not Sending Mail In-Reply-To: <20090302020336.GA18386@melon.esperance-linux.co.uk> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <20090302020336.GA18386@melon.esperance-linux.co.uk> Message-ID: <27ade5280903021540h2a4d9178vd0ec0a47c8124fb8@mail.gmail.com> On Sun, Mar 1, 2009 at 9:03 PM, Frank Shute wrote: > On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: >> >> Cron is not sending output as emails. I noticed this when I stopped >> seeing the output of a backup script in my daily email. I thought >> there was a problem with the backup script - but no, it's cron not >> sending the emails. >> >> I had this problem before on 6.1, which I never found a solution to. I >> gave up on it, and eventually I upgraded to 7.1. After the upgrade, >> cron worked perfectly. However, I just noticed that it stopped working >> again. I have no idea what changed (It's a production server, I >> haven't been playing with config files). >> >> User www's mail is redirected to root, which is redirected to a @gmail >> account via /etc/aliases. >> This is on 7.1-RELEASE-p3 running a custom kernel. >> >> Any solution to this problem would be fantastic. I use the emails from >> cron on a daily basis, and it really messes me up to have it not >> working. >> >> ##### >> # User www's crontab >> # Note, I also tried removing the MAILTO to no avail >> ##### >> MAILTO=root >> # m ? ? h ? ? ? dom ? ? mon ? ? dow ? ? cmd >> * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? echo "Hello" >> >> >> #### >> # /var/log/cron >> #### >> Mar ?1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD >> (/usr/libexec/save-entropy) >> Mar ?1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, >> group_compat, setgrent, not found >> Mar ?1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, >> group_compat, endgrent, not found >> Mar ?1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, >> passwd_compat, endpwent, not found >> Mar ?1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo "Hello") >> Mar ?1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, >> group_compat, setgrent, not found >> Mar ?1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, >> group_compat, endgrent, not found >> Mar ?1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, >> passwd_compat, endpwent, not found >> Mar ?1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, >> group_compat, setgrent, not found >> Mar ?1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, >> group_compat, endgrent, not found >> Mar ?1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, >> passwd_compat, endpwent, not found >> >> >> >> #### >> # /var/log/maillog >> #### >> Mar ?1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www, >> size=0, class=0, nrcpts=0, >> msgid=<200903011922.n21JM0Gl022630@youcant.tastetherainbow.ws>, >> relay=www@localhost > > It looks like you're using user: www for your crontab. > > Unfortunately, from /etc/passwd: > > www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin > > i.e user www can't do much without a shell. > > Create a crontab as a user with a shell, MAILTO to your gmail account. > > The user may want to be a member of a group with privileges. Or use > sudo. > > Don't forget to add him to /var/cron/allow as per manpage for > crontab(1). > > You could set SHELL in your crontab for www (might work) but I'd use a > different user who's a member of group operator maybe. > > Hope that helps. > > Regards, > > -- > > ?Frank > > > ?Contact info: http://www.shute.org.uk/misc/contact.html > > Thanks for the suggestions. The backup script I have in the crontab still runs perfectly fine - there's just no output. So cron itself is working, just not any email output. I'll try playing around with the MAILTO and the SHELL and such to try and get it working. From fbsd.questions at rachie.is-a-geek.net Mon Mar 2 15:40:22 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Mar 2 15:40:30 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> Message-ID: <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 19:23:33 Andrew Moran wrote: > Hey guys, > > After having lots of problems with memory and 7.1/ZFS, I first > switched everything to 64-bit (amd64), and then I had a new problem, > so I eventually gave up and switched back to UFS (saying on amd64 > distro/ports), but I'm still having memory issues. > > My current one is that SpamAssassin seems to be periodically eating > up all my memory, causing the server to slow to a crawl until the > kernel kills the process and then I have enormous amounts of free > memory. Rinse, repeat. I thought maybe it had something to do with > the fact that I was using multithreaded perl (which I wasn't before I > jumped into 7.1/ZFS), but rebuilding perl (and all its' dependencies) > without threads didn't help. > > I have 8GB of physical memory and 16GB of swap memory. Here is a > line from top showing perl taking 21 gigs of memory: > > 6035 0 1 76 0 21190M 791M pfault 0 1:20 4.69% > perl5.8.9 This is hard to debug, but I'd first toggle the PERL_MALLOC option in the configuration dialog for the perl port. If this doesn't solve the problem, then you'd have to get a ktrace to get some indication of what is allocating the memory. What's even weirder is that the process gets that far. Did you play with kern.maxdsiz loader tuneable? If so, set it lower, so you can at least have the machine in a usable state at all times. 4G should be enough for any process and should give enough time for you to spot the leak and get a ktrace. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From aryeh.friedman at gmail.com Mon Mar 2 15:42:32 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Mar 2 15:42:39 2009 Subject: OT: what is the X11 equiv of /dev/null In-Reply-To: <49AC5D7E.8040208@daleco.biz> References: <49ABA560.8050308@gmail.com> <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> <49AC5D7E.8040208@daleco.biz> Message-ID: <49AC6EE2.1050601@gmail.com> Kevin Kinsey wrote: > Modulok wrote: >>>> I was thinking is there someway to direct a X11 app to target the >>>> X11 equiv of /dev/null ? >> >> ...what? What problem are you trying to solve, exactly? >> -Modulok- > > I'd have to assume he wants to call a remote X program from his terminal > and not have the program's output clutter it up. > > My usual workaround is: > > 1. "xterm &" in Terminal one. > 2. "appname &" in the new Xterm, then CTL-D. > > I also have a couple of buttons in XFCE that simply call > "ssh $somehost $someapp". I've no idea where it puts > the stderror/stdout, but I never see it. > > Kevin Kinsey Not quite what I want is to have it so no graphic (non-virtual) output is sent From pieter at degoeje.nl Mon Mar 2 16:09:55 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Mon Mar 2 16:10:03 2009 Subject: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9 In-Reply-To: <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> References: <919383240903011504r52936d5y9ce45977ded15826@mail.gmail.com> <200903020235.07985.pieter@degoeje.nl> <919383240903021120m68bb889fh56154721a87ee86@mail.gmail.com> Message-ID: <200903030109.44240.pieter@degoeje.nl> On Monday 02 March 2009, Edward Ruggeri wrote: > Thanks very much! Will this actually change behavior of the Linux > kernel module, or is it just supposed to trick new versions of > linux_base to build? Yes, it changes behaviour. It enables a couple of features new in the Linux 2.6 kernel. Glibc expects these features based on the advertised version of the compatibility layer. - Pieter > > -- Ned Ruggeri > > On Sun, Mar 1, 2009 at 7:35 PM, Pieter de Goeje wrote: > > On Monday 02 March 2009, Edward Ruggeri wrote: > >> I am using FreeBSD 7.0 Stable. ?I want to run the Linguistica project > >> Linux binary. ?However, after loading the Linux kernel module, when I > >> try to run the binary the system replies: > >> > >> ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not > >> found (required by ./lxa-ubuntu-325) > >> ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version > >> `GLIBC_2.4' not found (required by ./lxa-ubuntu-325) > >> > >> Besides asking the Linguistica developers whether they actually must > >> require such recent versions of the GNU C, C++ libraries, I tried to > >> install a more recent linux_base. ?However, everything beyond > >> linux_base-fc4 does not support Linux kernel 2.4.2. > >> > >> Is there a module for a newer version of the linux kernel that I can > >> build so as to install a newer linux_base? ?Or is there a way to use > >> the same 2.4.2 module but use more recent GNU C libraries? ?I am not > >> an expert in this area; is there something I haven't thought of? > > > > You can "upgrade" the linux compatibility layer by setting the sysctl: > > > > ?compat.linux.osrelease=2.6.18 > > > > For example in /etc/sysctl.conf. Then you should be able to install a > > newer version of linux_base. > > > > -- > > Pieter de Goeje From bahamasfranks at gmail.com Mon Mar 2 16:10:39 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Mon Mar 2 16:10:46 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 Message-ID: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> I think. My linux packages stopped working. Anyone else experienced/verified/fixed this behavior? "error while loading shared libraries: /usr/X11R6/lib/libuuid.so.1: ELF file OS ABI invalid" portupgrade *linux* gives ** Listing the failed packages (-:ignored / *:skipped / !:failed) - devel/linux-glib2 (port directory error) No doubt the source of the issue. Does a fix exist? Steve From eitanadlerlist at gmail.com Mon Mar 2 16:17:58 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Mon Mar 2 16:18:08 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> Message-ID: <49AC774C.2060701@gmail.com> 20090121: AFFECTS: users of devel/linux-glib2, emulation/linux_base-f4 AUTHOR: bsam@FreeBSD.org Glib2 now is incorporated to emulation/linux_base-fc4 (it has always been a part of more recent linux base ports). All users should deinstall devel/linux-glib2 and then deinstall/reinstall emulation/linux_base-f4. read UPDATING next time Steve Franks wrote: > I think. My linux packages stopped working. Anyone else > experienced/verified/fixed this behavior? > > "error while loading shared libraries: /usr/X11R6/lib/libuuid.so.1: > ELF file OS ABI invalid" > > portupgrade *linux* gives > > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - devel/linux-glib2 (port directory error) > > No doubt the source of the issue. Does a fix exist? > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen From fbsd.questions at rachie.is-a-geek.net Mon Mar 2 16:42:45 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Mar 2 16:42:52 2009 Subject: ACPI issue on my Toshiba laptop In-Reply-To: <526674.23467.qm@web56307.mail.re3.yahoo.com> References: <526674.23467.qm@web56307.mail.re3.yahoo.com> Message-ID: <200903021542.43422.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 19:25:44 "Michael A. Alestock" wrote: > Hi all, > > As you're already aware, there've been known issues with ACPI running on > some laptops. For instance, mine is a Toshiba Satellite A105-S2051. > When I first installed FreeBSD v6.3 I would get the following error... > > *** ACPI-0370: Error - No installed handler for fixed event *** > > >From here, I wouldn't be able to use my built-in LAN or Atheros 5212 > > wireless because of constant WATCHDOG: DEVICE TIMEOUT error messages. > However, I later found out that by disabling the ACPI by placing two > lines in your /boot/device.hints or /boot/loader.conf files, > > hint.apic.0.disabled="1" > hint.acpi.0.disabled="1" > > you would be able to use both the wireless and LAN without the ACPI > running. This has been the case for me for a while, and everything was > going great until lastnight.... That's the drawback of work-arounds: bugs don't get fixed. Your best bet is to post relevant information [1] to freebsd-acpi list and possibly -mobile with respect to ath. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at edvax.de Mon Mar 2 17:56:43 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Mar 2 17:56:50 2009 Subject: read BSD format disk from Mac OSX In-Reply-To: <20090302144110.GB25087@Grumpy.DynDNS.org> References: <20090302144110.GB25087@Grumpy.DynDNS.org> Message-ID: <20090303025619.ed4d63c4.freebsd@edvax.de> I don't want to be impolite, but your solution suggestion is unneccessarily complicated, involving something that isn't needed at all. Let me explain: On Mon, 2 Mar 2009 08:41:10 -0600, David Kelly wrote: > On Mon, Mar 02, 2009 at 09:16:02AM -0500, Tsu-Fan Cheng wrote: > > Hi all, > > I format a ext disk (UFS) and transfer some files into it, hand it > > over to my friend who has a macbook. He complained the macbook can't > > read it. I don't have a mac on hand, I wonder if there is any utility > > that will help a mac to read a BSD, thanks!! > > The easiest way to do what you are attempting is to format the disk FAT. > Then to preserve file attributes write your files in a tar archive. Hey hey, not so complicated. :-) The easiest way is to follow this advice WITHOUT the FAT part. The tar "filesystem" has been serving as the best data exchange format among UNIXes and Linusi over the years. The only thing needed on the Macbook is the tar utility. So, on the FreeBSD machine, you first put the files onto the external HDD using tar - note that you're using it DIRECTLY, you're NOT creating any files on a file system: % tar cvf /dev/da0 Then, on the Macbook, you simply extract from the external disk, using MacOSX's tar command: $ tar xvf /dev/da0 Done! Usually, tar will preserve your file names and file attributes. No need to look for character translation tables, no need for chmod -x for the files, no need for the uppercase / lowercase trouble. Of course, you cannot read such a hard disk with "Windows", but this wasn't part of the question anyway. There is no need to pollute a hard disk with MICROS~1 FAT when you're using UNIXens only. And yes, it is that simple. :-) Simple. Useful. UNIX. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Mar 2 18:20:31 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Mar 2 18:20:38 2009 Subject: backup msdos slice In-Reply-To: <20090302191042.GA56989@gizmo.acns.msu.edu> References: <20090302191042.GA56989@gizmo.acns.msu.edu> Message-ID: <20090303032019.c2ccc614.freebsd@edvax.de> On Mon, 2 Mar 2009 14:10:42 -0500, Jerry wrote: > So, what I would like is something that would dump the MS slice > to a FreeBSD file or media written in the FreeBSD world and that > I could then pick out files and directories somewhat like I do > using restore on a dump file. There should be a simple way: Just dd the FAT partition into a file. You can then backup this file in FreeBSD (by any way you want). In order to access files inside the dd image you can simply mount it using the md (memory disk) facility. An example (not verified, I don't have any MICROS~1 around); I'll assume that /dev/ads2c is the FAT file system in question (again, I do admit that I don't know how FAT partitions occur as device files in FreeBSD). % dd if=/dev/ads2c of=fat.dd bs=1m 12345678+1 records in 12345678+1 records out Now you've got fat.dd. You can backup this file or just backup content parts of it. % sudo mdconfig -a -t vnode -u 10 -f fat.dd % mount -t msdosfs -o ro /dev/md10 /mnt You now can access the files in fat.dd from the /mnt subtree. Be sure to check % man mount_msdosfs for additional options you might need (character conversion, large, longnames, mask, ... - I don't exactly know what to use). Now you can partwise plusgood backup files from within /mnt, using your favourite backup method (tar to tape, rsync to remote machine or what you prefer). > Basically, I want to back up the MSDOS slice (I know MS calls it > a primary partition) from the FreeBSD side of things. I can read > and write the slice nicely from FreeBSD, but not dump/restore. Now you can. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From sneepre at mac.com Mon Mar 2 18:21:54 2009 From: sneepre at mac.com (Andrew Moran) Date: Mon Mar 2 18:22:02 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> Message-ID: <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> On Mar 2, 2009, at 3:39 PM, Mel wrote: > > This is hard to debug, but I'd first toggle the PERL_MALLOC option > in the > configuration dialog for the perl port. If this doesn't solve the > problem, > then you'd have to get a ktrace to get some indication of what is > allocating > the memory. > Thank you for your suggestion. I'll try compiling Perl and it's dependencies without using PERL_MALLOC. > What's even weirder is that the process gets that far. Did you play > with > kern.maxdsiz loader tuneable? > If so, set it lower, so you can at least have the machine in a > usable state at > all times. 4G should be enough for any process and should give > enough time > for you to spot the leak and get a ktrace. > Nope, I haven't tweaked any kernel settings, just using the generic DEFAULT amd64 kernel. I've been way about tweaking settings because I don't fully understand what the 'correct' values for my setup are. From freebsd at edvax.de Mon Mar 2 18:24:30 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Mar 2 18:24:37 2009 Subject: Ports on Macbook In-Reply-To: <49AC320A.5070203@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> Message-ID: <20090303032422.9490d9eb.freebsd@edvax.de> On Mon, 02 Mar 2009 20:22:50 +0100, Bernt Hansson wrote: > FBSD UG skrev: > > > > You're not buying the software, you buy a license to use it on one > > Apple computer. > > Mostly semantics, if I name my computer "APPLE" Then it's "legal" to > install. Crap, if I buy it I can install it on ANY computer. Does not > have to be a computer named "APPLE" it could be "IBM", "HP" or any other > brand or non brand. I think an important point is that you loose support from Apple if you're not installing Mac OS X on Apple brand hardware. As for the license agreement, if you buy Mac OS X from the shelf (for example), you've not confirmed any contract-like agreement with Apple yet, but you've purchased some rights already, for example the right to burn the whole package (not a nice example but I'm sure you get the idea); the EULA mentions nothing about this (legally possible) behavior. The Mac OS X versions sold along with the "Hackintosh" are no illegally pirated copies, they're "boxes" from the shelf. It's up to the customer what to do with it. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bahamasfranks at gmail.com Mon Mar 2 19:02:08 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Mon Mar 2 19:02:14 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <49AC774C.2060701@gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> Message-ID: <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> > read UPDATING next time Were I about to run buildkernel/buildworld, I would read UPDATING. I don't recall there being an UPDATING in /usr/ports. Perhaps the documentation regarding this should be updated. One tries not to rely on the mailing list, but when all knowledge is tribal, what recourse does one have? Steve From frank at shute.org.uk Mon Mar 2 19:05:15 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Mar 2 19:05:24 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> Message-ID: <20090303030503.GA23476@melon.esperance-linux.co.uk> On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote: > > Cron is not sending output as emails. I noticed this when I stopped > seeing the output of a backup script in my daily email. I thought > there was a problem with the backup script - but no, it's cron not > sending the emails. > > I had this problem before on 6.1, which I never found a solution to. I > gave up on it, and eventually I upgraded to 7.1. After the upgrade, > cron worked perfectly. However, I just noticed that it stopped working > again. I have no idea what changed (It's a production server, I > haven't been playing with config files). > > User www's mail is redirected to root, which is redirected to a @gmail > account via /etc/aliases. > This is on 7.1-RELEASE-p3 running a custom kernel. > > Any solution to this problem would be fantastic. I use the emails from > cron on a daily basis, and it really messes me up to have it not > working. > > ##### > # User www's crontab > # Note, I also tried removing the MAILTO to no avail > ##### > MAILTO=root > # m h dom mon dow cmd > * * * * * echo "Hello" PATH is not set or binary not called with it's path. > > > #### > # /var/log/cron > #### > Mar 1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD > (/usr/libexec/save-entropy) > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > Mar 1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo "Hello") > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > group_compat, setgrent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > group_compat, endgrent, not found > Mar 1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis, > passwd_compat, endpwent, not found > > Heh! I misread your original post. I didn't realise that "youcant" was your hostname. It confused me ;) A few ideas: Make MAILTO in cron point to your gmail account. If not you'll need an alias for www in aliases(5) to point to that gmail account and you have to remember to rebuild it with newaliases(1) after you've edited it. > > #### > # /var/log/maillog > #### > Mar 1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www, > size=0, class=0, nrcpts=0, > msgid=<200903011922.n21JM0Gl022630@youcant.tastetherainbow.ws>, > relay=www@localhost This has got a few problems. It's saying the size of the message is 0 (probably because you've not set your PATH) & the number of recipients is 0 and it seems to be relaying it to www@localhost rather than delivering it to your gmail account (newaliases not run). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From glen.j.barber at gmail.com Mon Mar 2 19:14:20 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Mar 2 19:14:27 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> Message-ID: <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia wrote: [snip] > > ##### > # User www's crontab > # Note, I also tried removing the MAILTO to no avail > ##### > MAILTO=root > # m ? ? h ? ? ? dom ? ? mon ? ? dow ? ? cmd > * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? echo "Hello" > > [snip] 1.) You are not using the full path to /bin/echo, which is why it is failing. 2.) This is a poor designed way to test cron's mail output. A Better(tm) way would be something like: MAILTO=root */5 * * * * /bin/ping -c1 localhost >/dev/null which would mail to root on success or failure. Regards, -- Glen Barber From kitchetech at gmail.com Mon Mar 2 19:43:24 2009 From: kitchetech at gmail.com (matt donovan) Date: Mon Mar 2 19:43:32 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> Message-ID: <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> On Mon, Mar 2, 2009 at 10:02 PM, Steve Franks wrote: > > read UPDATING next time > > Were I about to run buildkernel/buildworld, I would read UPDATING. I > don't recall there being an UPDATING in /usr/ports. Perhaps the > documentation regarding this should be updated. One tries not to rely > on the mailing list, but when all knowledge is tribal, what recourse > does one have? > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is when I noticed itbut that's when I started using FreeBSD From wblock at wonkity.com Mon Mar 2 20:06:00 2009 From: wblock at wonkity.com (Warren Block) Date: Mon Mar 2 20:06:06 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> Message-ID: On Mon, 2 Mar 2009, Steve Franks wrote: >> read UPDATING next time > > Were I about to run buildkernel/buildworld, I would read UPDATING. I > don't recall there being an UPDATING in /usr/ports. Perhaps the > documentation regarding this should be updated. Section 4.5.4 seems to cover it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html -Warren Block * Rapid City, South Dakota USA From bahamasfranks at gmail.com Mon Mar 2 21:21:23 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Mon Mar 2 21:21:30 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> Message-ID: <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> > There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is > when I noticed itbut that's when I started using FreeBSD Well, I'll be d###'ed. So there is. Makes sense, I guess. Wonder how many other "UPDATING"'s are floating around the system... Steve From frank at shute.org.uk Mon Mar 2 23:03:55 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Mar 2 23:04:03 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> Message-ID: <20090303070347.GA24927@melon.esperance-linux.co.uk> On Mon, Mar 02, 2009 at 10:21:21PM -0700, Steve Franks wrote: > > > There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is > > when I noticed itbut that's when I started using FreeBSD > > Well, I'll be d###'ed. So there is. Makes sense, I guess. Wonder > how many other "UPDATING"'s are floating around the system... There's only the two. /usr/ports/UPDATING to be read before upgrading/installing ports. /usr/src/UPDATING to be read when updating base and/or kernel. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From freebsd at rgbaz.eu Tue Mar 3 00:25:13 2009 From: freebsd at rgbaz.eu (FBSD UG) Date: Tue Mar 3 00:25:20 2009 Subject: Ports on Macbook In-Reply-To: <49AC320A.5070203@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa><87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> Message-ID: On 2 mrt 2009, at 20:22, Bernt Hansson wrote: > FBSD UG skrev: >> >> You're not buying the software, you buy a license to use it on one >> Apple computer. > > Mostly semantics, if I name my computer "APPLE" Then it's "legal" to > install. Crap, if I buy it I can install it on ANY computer. Does not > have to be a computer named "APPLE" it could be "IBM", "HP" or any > other > brand or non brand. > > did you sign all Swedish laws then? How is Apple going to prevent illegal copying? From guru at unixarea.de Tue Mar 3 00:46:20 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Mar 3 00:46:27 2009 Subject: Ports on Macbook In-Reply-To: References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> Message-ID: <20090303084615.GA2473@rebelion.Sisis.de> El d?a Tuesday, March 03, 2009 a las 09:25:03AM +0100, FBSD UG escribi?: > > On 2 mrt 2009, at 20:22, Bernt Hansson wrote: > > >FBSD UG skrev: > >> > >>You're not buying the software, you buy a license to use it on one > >>Apple computer. > > > >Mostly semantics, if I name my computer "APPLE" Then it's "legal" to > >install. Crap, if I buy it I can install it on ANY computer. Does not > >have to be a computer named "APPLE" it could be "IBM", "HP" or any > >other > >brand or non brand. > > > > > did you sign all Swedish laws then? > > How is Apple going to prevent illegal copying? Could you please chat this off-topic issues off-list? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From ricardo.meb.jesus at gmail.com Tue Mar 3 02:47:08 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 3 02:47:15 2009 Subject: local copy of handbook In-Reply-To: <69337310.20090104182846@rulez.sk> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229105904.523e3494.bsd-unix@embarqmail.com> <20090104070842.3b85806f@scorpio> <69337310.20090104182846@rulez.sk> Message-ID: <49AD0AA9.2010604@gmail.com> Daniel Gerzo wrote: > Hello Jerry, > >>> For more information see http://docsnap.sk.freebsd.org/ and possibly >>> the rsync manual page. > >> I was having a problem reaching that URL; however, I found that this >> one: http://www.oook.cz/bsd/docsnap.html did seem to work. In any case, >> I am unable to get the 'rsync' command to work. This is the output of >> one such attempt. > >> ~ $ sudo rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ >> rsync: failed to connect to docsnap.sk.FreeBSD.org: Operation timed out >> (60) rsync error: error in socket IO (code 10) at clientserver.c(124) >> [receiver=3.0.5] > >> This has happened continually for the past few days. I am not sure if >> it is a temporary problem or or permanent one. > > The docsnap.sk.FreeBSD.org (as well as ftp.sk and cvsup.sk) server is > currently offline due to some problems after its update. > > Unfortunately it's been a vacations period here and we were unable to get > personally to the box and fix it. However I have been told that the > issue should be resolved tommorrow, so I would recommend you to try > tommorrow or a bit later. > I tried to update my doc with DocSnap but it seems the is no docsnap rsync module in the server. flumen# rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc rsync: failed to connect to docsnap.sk.FreeBSD.org: Connection refused (61) rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] flumen# ping docsnap.sk.FreeBSD.org PING sk.FreeBSD.org (81.89.56.57): 56 data bytes 64 bytes from 81.89.56.57: icmp_seq=0 ttl=243 time=67.247 ms 64 bytes from 81.89.56.57: icmp_seq=1 ttl=243 time=68.471 ms 64 bytes from 81.89.56.57: icmp_seq=2 ttl=243 time=68.076 ms 64 bytes from 81.89.56.57: icmp_seq=3 ttl=243 time=72.538 ms 64 bytes from 81.89.56.57: icmp_seq=4 ttl=243 time=67.705 ms ^C --- sk.FreeBSD.org ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 67.247/68.807/72.538/1.909 ms flumen# rsync docsnap.sk.FreeBSD.org rsync: link_stat "/usr/ports/net/rsync/docsnap.sk.FreeBSD.org" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1040) [sender=3.0.5] Any news regarding the server's availability? From cpghost at cordula.ws Tue Mar 3 02:55:43 2009 From: cpghost at cordula.ws (cpghost) Date: Tue Mar 3 02:55:50 2009 Subject: OT: what is the X11 equiv of /dev/null In-Reply-To: <49AC6EE2.1050601@gmail.com> References: <49ABA560.8050308@gmail.com> <64c038660903020908k285b3cbcr4dd810a51a94dcec@mail.gmail.com> <49AC5D7E.8040208@daleco.biz> <49AC6EE2.1050601@gmail.com> Message-ID: <20090303105540.GA1015@phenom.cordula.ws> On Mon, Mar 02, 2009 at 06:42:26PM -0500, Aryeh M. Friedman wrote: > >>>> I was thinking is there someway to direct a X11 app to target the > >>>> X11 equiv of /dev/null ? > > Not quite what I want is to have it so no graphic (non-virtual) output > is sent How about setting up an X server on another machine (or another console), and redirect the output of your X11 app to it by setting DISPLAY accordingly? Something like: % env DISPLAY=mynullhost:10.0 myxapp % env DISPLAY=:1.0 myxapp Or, if you start your app from within X and just want to hide its windows, you could also try to configure your favorite window manager to automatically hide all windows from a particular application (if your wm allows it and if your X11 app tells its name in an X11 resource (check out RESOURCES in X(7), and -xrm)). -cpghost. -- Cordula's Web. http://www.cordula.ws/ From onemda at gmail.com Tue Mar 3 03:33:18 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue Mar 3 03:33:26 2009 Subject: who took my cd drive? In-Reply-To: <20090302152213.703cfcbd@gom.home> References: <20090302105258.098a4be3@gom.home> <4ad871310903021146j30cd2dby4a644362b4420d11@mail.gmail.com> <20090302152213.703cfcbd@gom.home> Message-ID: <3a142e750903030333o20e58c1evb4af9fd8c83fbd4d@mail.gmail.com> On 3/3/09, prad wrote: > On Mon, 2 Mar 2009 14:46:27 -0500 > Glen Barber wrote: > >> Try the atapicam kernel module. >> > i pushed 6 to get loader prompt and there did > boot atapicam > but got > > elf32_loadfile: can't load module before kernel > > which i thought was weird since in the help boot it says if you don't > load the module, it will boot it instead of the default. if i > load atapicam > then it just boots acpi.ko Normal behaviour. You need to load kernel too. lsmod is useful command to list loaded modules. -- Paul From rock_on_the_web at comcen.com.au Tue Mar 3 03:35:01 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Tue Mar 3 03:35:08 2009 Subject: Ports on Macbook In-Reply-To: <49A98ADB.2010107@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> Message-ID: <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> On Sat, 2009-02-28 at 20:04 +0100, Bernt Hansson wrote: > Sean Cavanaugh skrev: > > -------------------------------------------------- > > From: "Bernt Hansson" > > Sent: Saturday, February 28, 2009 11:26 AM > > To: "Sean Cavanaugh" > > Cc: "freebsd-questions" > > Subject: Re: Ports on Macbook > > > >> Sean Cavanaugh said the following on 2009-02-28 16:25: > >>> ------------------------------------------------- > >>> From: "Bernt Hansson" > >>> Sent: Saturday, February 28, 2009 9:32 AM > >>> To: "FBSD UG" > >>> Cc: "freebsd-questions" > >>> Subject: Re: Ports on Macbook > >> > > > > > read the license. > > > > "PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY BEFORE > > USING THE SOFTWARE. BY USING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY > > THE TERMS OF THIS LICENSE." > > NO. I'm not in any way binded by that eula. Those kind of non agreements > is not legaly binding in Sweden. I MUST SIGN AN AGREEMENT to be binded > by it. > > > http://www.apple.com/legal/sla/macosx.html > > They can write whatever they want. I'm not binded by it. > Cool country... :) From milu at dat.pl Tue Mar 3 03:40:23 2009 From: milu at dat.pl (Maciej Milewski) Date: Tue Mar 3 03:40:30 2009 Subject: who took my cd drive? In-Reply-To: <3a142e750903030333o20e58c1evb4af9fd8c83fbd4d@mail.gmail.com> References: <20090302105258.098a4be3@gom.home> <20090302152213.703cfcbd@gom.home> <3a142e750903030333o20e58c1evb4af9fd8c83fbd4d@mail.gmail.com> Message-ID: <200903031240.12908.milu@dat.pl> Tuesday 03 March 2009 12:33:16 Paul B. Mahol napisa?(a): > On 3/3/09, prad wrote: > > On Mon, 2 Mar 2009 14:46:27 -0500 > > > > Glen Barber wrote: > >> Try the atapicam kernel module. > > > > i pushed 6 to get loader prompt and there did > > boot atapicam > > but got > > > > elf32_loadfile: can't load module before kernel > > > > which i thought was weird since in the help boot it says if you don't > > load the module, it will boot it instead of the default. if i > > load atapicam > > then it just boots acpi.ko > > Normal behaviour. You need to load kernel too. > lsmod is useful command to list loaded modules. Isn't lsmod a linux utility? I always thought FreeBSD has kldstat? Maciej Milewski From rock_on_the_web at comcen.com.au Tue Mar 3 03:41:18 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Tue Mar 3 03:41:24 2009 Subject: How to use portmanager/portmaster? In-Reply-To: <200902282333.01134.frank.wissmann41@web.de> References: <200902281949.16966.frank.wissmann41@web.de> <200902282208.45359.frank.wissmann41@web.de> <20090228213926.GA16933@slackbox.xs4all.nl> <200902282333.01134.frank.wissmann41@web.de> Message-ID: <1236080471.99160.1.camel@laptop1.herveybayaustralia.com.au> On Sat, 2009-02-28 at 23:33 +0100, Frank Wi?mann wrote: > Am Samstag 28 Februar 2009 22:39:26 schrieb Roland Smith: > > On Sat, Feb 28, 2009 at 10:08:45PM +0100, Frank Wi?mann wrote: > > > Am Samstag 28 Februar 2009 21:42:35 schrieb Roland Smith: > > > > On Sat, Feb 28, 2009 at 07:49:16PM +0100, Frank Wi?mann wrote: > > > > > Hi, list! > > > > > I have a problem using the above mentioned programs because > > > > > there doesn't seem to be a manpage installed. Can anybody give > > > > > me a clue on how to get help? > > > > > > > > Both do have manpages. What kind of error do you get when you try > > > > e.g. 'man portmaster'? It might be that your manual pages setup > > > > is broken. > > > > > > I get the message "No manual entry for portmaster", but using your > > > command I can read it. "man man" e. g. works perfectly. > > > > That sounds to me that the configuration for the man command is > > broken. If you give the 'manpath' command, does the output include > > /usr/local/man? If not, add the following lines to > > /etc/manpath.config: > > > > OPTIONAL_MANPATH /usr/local/man > > MANPATH_MAP /usr/local/bin /usr/local/man > > > > Roland > > "manpath" does show correct settings AFAIK meaning that the answer to > your question is "yes". > > Frank > Try a rehash. $ rehash From michael.copeland at gmail.com Tue Mar 3 04:09:04 2009 From: michael.copeland at gmail.com (michael) Date: Tue Mar 3 04:09:11 2009 Subject: who took my cd drive? In-Reply-To: <200903031240.12908.milu@dat.pl> References: <20090302105258.098a4be3@gom.home> <20090302152213.703cfcbd@gom.home> <3a142e750903030333o20e58c1evb4af9fd8c83fbd4d@mail.gmail.com> <200903031240.12908.milu@dat.pl> Message-ID: <49AD1DCE.7@gmail.com> Maciej Milewski wrote: > Tuesday 03 March 2009 12:33:16 Paul B. Mahol napisa?(a): > >> On 3/3/09, prad wrote: >> >>> On Mon, 2 Mar 2009 14:46:27 -0500 >>> >>> Glen Barber wrote: >>> >>>> Try the atapicam kernel module. >>>> >>> i pushed 6 to get loader prompt and there did >>> boot atapicam >>> but got >>> >>> elf32_loadfile: can't load module before kernel >>> >>> which i thought was weird since in the help boot it says if you don't >>> load the module, it will boot it instead of the default. if i >>> load atapicam >>> then it just boots acpi.ko >>> >> Normal behaviour. You need to load kernel too. >> lsmod is useful command to list loaded modules. >> > Isn't lsmod a linux utility? > I always thought FreeBSD has kldstat? > the loader has lsmod > Maciej Milewski > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From rock_on_the_web at comcen.com.au Tue Mar 3 04:13:25 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Tue Mar 3 04:13:33 2009 Subject: Ports on Macbook In-Reply-To: <200902282237.26322.chuckop@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090228191416.2421e88a@scorpio> <49AA19F4.2060408@bah.homeip.net> <200902282237.26322.chuckop@gmail.com> Message-ID: <1236082399.99160.6.camel@laptop1.herveybayaustralia.com.au> On Sat, 2009-02-28 at 22:37 -0800, Charles Oppermann wrote: > > > That depends on where you are domiciled. Under certain scenarios, simply > > > open the box, or installing the software constitutes acceptance of the > > > EULA. > > > > Yes I'm aware of that, but that kind of agreement isn't valid in Sweden. > > That would be tantamount to allowing software piracy in Sweden. The Mac OS X > license agreements are contained in a PDF file here: > > http://images.apple.com/legal/sla/docs/macosx105.pdf > > There is a Swedish language agreement for sales in Sweden. Using on-line > translation tools, it appears to be similar to what's already been stated; > use of the software consistutes acceptance of the agreement. If you do not > agree, you are requested to return the software. Presumably, the retail > materials contain this agreement, and I'm sure there is digital copy that is > presented and must be agreed to before use. > > I'm sure that Apple has very good lawyers who drafted the license agreements > and are aware of Swedish law. While what you are doing may or may not be in > violation of any licenses, your position that "clicking yes or no is not a > handshake or oral agreement acording to Swedish law" seems dubious and > ill-advised. > > Consider what you're suggesting: If EULA's and license agreements simply > weren't valid in Sweden, then what would prevent massive piracy from > occuring? I would assume that if license agreements in Sweden weren't > enforcable, someone would be setting up their own software copying business. > I don't see how one could assume that software piracy (copying software illegally in this context) would be suddenly legal based simply on the eula being invalid. EULA's are for the USE of software- not the copying and selling of those copies of it. > ...and if that happened, I would expect software companies to change their > license agreements in order to prevent it. > > > If you are under 18 you can't make any > > legally binding agreements without your legal guardians permission. > > That might be true, but at least in the United States, parents or guardians > are usually held responsible. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bernt at bah.homeip.net Tue Mar 3 04:18:15 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Mar 3 04:18:28 2009 Subject: Ports on Macbook In-Reply-To: <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> Message-ID: <49AD1FFB.4010008@bah.homeip.net> Da Rock said the following on 2009-03-03 12:34: >>> http://www.apple.com/legal/sla/macosx.html >> They can write whatever they want. I'm not binded by it. >> > > Cool country... :) It is. Now it's +3 degrees. From ricardo.meb.jesus at gmail.com Tue Mar 3 04:18:16 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 3 04:18:29 2009 Subject: How to use portmanager/portmaster? In-Reply-To: <1236080471.99160.1.camel@laptop1.herveybayaustralia.com.au> References: <200902281949.16966.frank.wissmann41@web.de> <200902282208.45359.frank.wissmann41@web.de> <20090228213926.GA16933@slackbox.xs4all.nl> <200902282333.01134.frank.wissmann41@web.de> <1236080471.99160.1.camel@laptop1.herveybayaustralia.com.au> Message-ID: <49AD2005.5010601@gmail.com> Da Rock wrote: > On Sat, 2009-02-28 at 23:33 +0100, Frank Wi?mann wrote: >> Am Samstag 28 Februar 2009 22:39:26 schrieb Roland Smith: >>> On Sat, Feb 28, 2009 at 10:08:45PM +0100, Frank Wi?mann wrote: >>>> Am Samstag 28 Februar 2009 21:42:35 schrieb Roland Smith: >>>>> On Sat, Feb 28, 2009 at 07:49:16PM +0100, Frank Wi?mann wrote: >>>>>> Hi, list! >>>>>> I have a problem using the above mentioned programs because >>>>>> there doesn't seem to be a manpage installed. Can anybody give >>>>>> me a clue on how to get help? >>>>> Both do have manpages. What kind of error do you get when you try >>>>> e.g. 'man portmaster'? It might be that your manual pages setup >>>>> is broken. >>>> I get the message "No manual entry for portmaster", but using your >>>> command I can read it. "man man" e. g. works perfectly. >>> That sounds to me that the configuration for the man command is >>> broken. If you give the 'manpath' command, does the output include >>> /usr/local/man? If not, add the following lines to >>> /etc/manpath.config: >>> >>> OPTIONAL_MANPATH /usr/local/man >>> MANPATH_MAP /usr/local/bin /usr/local/man >>> >>> Roland >> "manpath" does show correct settings AFAIK meaning that the answer to >> your question is "yes". >> >> Frank >> > > Try a rehash. > > $ rehash > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Do a Da Rock said. Do notice that both portmaster and portmanager are third party applications and need to be installed. cd /usr/ports/ports-mgmt/portmaster/; make install clean; rehash cd /usr/ports/ports-mgmt/portmanager/; make install clean; rehash From bernt at bah.homeip.net Tue Mar 3 04:25:44 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Mar 3 04:25:51 2009 Subject: Ports on Macbook In-Reply-To: <20090303032422.9490d9eb.freebsd@edvax.de> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> <20090303032422.9490d9eb.freebsd@edvax.de> Message-ID: <49AD21B1.6020208@bah.homeip.net> Polytropon said the following on 2009-03-03 03:24: > On Mon, 02 Mar 2009 20:22:50 +0100, Bernt Hansson wrote: >> FBSD UG skrev: >>> You're not buying the software, you buy a license to use it on one >>> Apple computer. >> Mostly semantics, if I name my computer "APPLE" Then it's "legal" to >> install. Crap, if I buy it I can install it on ANY computer. Does not >> have to be a computer named "APPLE" it could be "IBM", "HP" or any other >> brand or non brand. > > I think an important point is that you loose support from Apple > if you're not installing Mac OS X on Apple brand hardware. That may be. But i'm not talking about apple specificly. > As for the license agreement, if you buy Mac OS X from the shelf > (for example), you've not confirmed any contract-like agreement > with Apple yet, but you've purchased some rights already, for > example the right to burn the whole package (not a nice example > but I'm sure you get the idea); the EULA mentions nothing about > this (legally possible) behavior. Well, you have the right to make a backup. Is it that? > The Mac OS X versions sold along with the "Hackintosh" are no > illegally pirated copies, they're "boxes" from the shelf. It's > up to the customer what to do with it. Yes. Like with any digital file/s From bernt at bah.homeip.net Tue Mar 3 04:29:45 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Mar 3 04:29:52 2009 Subject: Ports on Macbook In-Reply-To: References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa><87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> Message-ID: <49AD22B1.8060505@bah.homeip.net> FBSD UG said the following on 2009-03-03 09:25: > > On 2 mrt 2009, at 20:22, Bernt Hansson wrote: > >> FBSD UG skrev: >>> >>> You're not buying the software, you buy a license to use it on one >>> Apple computer. >> >> Mostly semantics, if I name my computer "APPLE" Then it's "legal" to >> install. Crap, if I buy it I can install it on ANY computer. Does not >> have to be a computer named "APPLE" it could be "IBM", "HP" or any other >> brand or non brand. > did you sign all Swedish laws then? Kind of way, yes, since I voted in the election 2006 > How is Apple going to prevent illegal copying? They have the copyright laws, as I stated before. From bernt at bah.homeip.net Tue Mar 3 04:37:17 2009 From: bernt at bah.homeip.net (Bernt Hansson) Date: Tue Mar 3 04:37:25 2009 Subject: Ports on Macbook In-Reply-To: <1236082399.99160.6.camel@laptop1.herveybayaustralia.com.au> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090228191416.2421e88a@scorpio> <49AA19F4.2060408@bah.homeip.net> <200902282237.26322.chuckop@gmail.com> <1236082399.99160.6.camel@laptop1.herveybayaustralia.com.au> Message-ID: <49AD2473.5080904@bah.homeip.net> Da Rock said the following on 2009-03-03 13:13: > On Sat, 2009-02-28 at 22:37 -0800, Charles Oppermann wrote: >>>> That depends on where you are domiciled. Under certain scenarios, simply >>>> open the box, or installing the software constitutes acceptance of the >>>> EULA. >>> Yes I'm aware of that, but that kind of agreement isn't valid in Sweden. >> That would be tantamount to allowing software piracy in Sweden. The Mac OS X >> license agreements are contained in a PDF file here: >> >> http://images.apple.com/legal/sla/docs/macosx105.pdf >> >> There is a Swedish language agreement for sales in Sweden. Using on-line >> translation tools, it appears to be similar to what's already been stated; >> use of the software consistutes acceptance of the agreement. If you do not >> agree, you are requested to return the software. Presumably, the retail >> materials contain this agreement, and I'm sure there is digital copy that is >> presented and must be agreed to before use. >> >> I'm sure that Apple has very good lawyers who drafted the license agreements >> and are aware of Swedish law. While what you are doing may or may not be in >> violation of any licenses, your position that "clicking yes or no is not a >> handshake or oral agreement acording to Swedish law" seems dubious and >> ill-advised. >> >> Consider what you're suggesting: If EULA's and license agreements simply >> weren't valid in Sweden, then what would prevent massive piracy from >> occuring? I would assume that if license agreements in Sweden weren't >> enforcable, someone would be setting up their own software copying business. > I don't see how one could assume that software piracy (copying software > illegally in this context) would be suddenly legal based simply on the > eula being invalid. EULA's are for the USE of software- not the copying > and selling of those copies of it. Exactly! EULAs is for the use of programs. BUT you can NOT make an agreement like MS or apples EULAs or any EULA that reads "doing this you agree to that" From milu at dat.pl Tue Mar 3 04:51:15 2009 From: milu at dat.pl (Maciej Milewski) Date: Tue Mar 3 04:51:22 2009 Subject: who took my cd drive? In-Reply-To: <49AD1DCE.7@gmail.com> References: <20090302105258.098a4be3@gom.home> <200903031240.12908.milu@dat.pl> <49AD1DCE.7@gmail.com> Message-ID: <200903031351.08560.milu@dat.pl> Tuesday 03 March 2009 13:08:46 michael napisa?(a): > the loader has lsmod Ahh. OK. My fault. I haven't got any problems with loader so even not used it too much. Pozdrawiam, Maciej Milewski From luigi at net.t-labs.tu-berlin.de Tue Mar 3 04:58:29 2009 From: luigi at net.t-labs.tu-berlin.de (Luigi Iannone) Date: Tue Mar 3 04:58:36 2009 Subject: Ports on Macbook In-Reply-To: <49AD22B1.8060505@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa><87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> <49AD22B1.8060505@bah.homeip.net> Message-ID: <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> The EULA states: "This License will be governed by and construed in accordance with the laws of the State of California,.." Since I assume that Sweden has signed international commercial agreements with the USA, I think that it odes not matter what the Swedish law says about signing or not a license agreement, in this specific case the law of California applies. L. On Mar 3, 2009, at 13:29 , Bernt Hansson wrote: > FBSD UG said the following on 2009-03-03 09:25: >> On 2 mrt 2009, at 20:22, Bernt Hansson wrote: >>> FBSD UG skrev: >>>> >>>> You're not buying the software, you buy a license to use it on one >>>> Apple computer. >>> >>> Mostly semantics, if I name my computer "APPLE" Then it's "legal" >>> to >>> install. Crap, if I buy it I can install it on ANY computer. Does >>> not >>> have to be a computer named "APPLE" it could be "IBM", "HP" or any >>> other >>> brand or non brand. > > >> did you sign all Swedish laws then? > > Kind of way, yes, since I voted in the election 2006 > >> How is Apple going to prevent illegal copying? > > They have the copyright laws, as I stated before. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From mcoyles at horbury.wakefield.sch.uk Tue Mar 3 05:15:42 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Tue Mar 3 05:15:50 2009 Subject: Ports on Macbook In-Reply-To: <49AD1FFB.4010008@bah.homeip.net> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> Message-ID: <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> > >>> http://www.apple.com/legal/sla/macosx.html > >> They can write whatever they want. I'm not binded by it. "This License allows you to install and use one copy of the Apple Software on a single *Apple-labeled* computer at a time" So, in theory, apply white lx tape to any PC, write "APPLE" on it in black marker. That PC is now labelled "Apple" and you can therefore use their software on it legally... (?) O_o Marci From dyioulos at firstbhph.com Tue Mar 3 05:21:06 2009 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue Mar 3 05:21:13 2009 Subject: Anyone know SunFire hardware In-Reply-To: <22297874.post@talk.nabble.com> References: <22297874.post@talk.nabble.com> Message-ID: <200903030801.24149.dyioulos@firstbhph.com> On Monday 02 March 2009 5:06 pm, new_guy wrote: > Paul Schmehl-2 wrote: > > I've done some Googling, and the most common answer seems to be "hit > > STOP+A", > > but there is no STOP key on an Intel keyboard. Is there a magic > > incantation > > that will work? Maybe the entrails of a young goat? > > Ctrl + Break > > I'm sticking with OpenBSD... BTW. > > -- Hopefully that works for you, and in the process spares that poor young goat. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From michael.copeland at gmail.com Tue Mar 3 05:33:26 2009 From: michael.copeland at gmail.com (michael) Date: Tue Mar 3 05:33:33 2009 Subject: Ports on Macbook In-Reply-To: <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> Message-ID: <49AD31A4.5050000@gmail.com> Marc Coyles wrote: >>>>> http://www.apple.com/legal/sla/macosx.html >>>>> >>>> They can write whatever they want. I'm not binded by it. >>>> > > "This License allows you to install and use one copy of the Apple > Software on a single *Apple-labeled* computer at a time" > > So, in theory, apply white lx tape to any PC, write "APPLE" on it > in black marker. That PC is now labelled "Apple" and you can therefore > use their software on it legally... (?) O_o > > Marci > playing the semantics game has gotten people in trouble before. on a side note, Sweden is a member of Interpol, and therefore subject to international laws. #this is specifically to our Swedish friend "http://www.interpol.int/Public/ICPO/Members/default.asp" "http://en.wikipedia.org/wiki/Interpol" In order to maintain as politically neutral a role as possible, Interpol's constitution forbids its involvement in crimes that do not overlap several member countries,^[2] or in any political, military, religious, or racial crimes.^[3] Its work focuses primarily on public safety, terrorism , organized crime , war crimes , illicit drug production, drug trafficking , weapons smuggling , human trafficking , money laundering , child pornography , white-collar crime , computer crime , intellectual property crime and corruption . violating laws of more than one member state, in this case the united states and anywhere that a stolen copy transfers to in the member states constitutes a crime. that being digital or physical media. people have already been prosecuted in countries for doing exactly this and arguing that their own laws say its not forbidden. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From rock_on_the_web at comcen.com.au Tue Mar 3 06:02:24 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Tue Mar 3 06:02:31 2009 Subject: Ports on Macbook In-Reply-To: <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> Message-ID: <1236088941.1134.29.camel@laptop1.herveybayaustralia.com.au> On Tue, 2009-03-03 at 12:52 +0000, Marc Coyles wrote: > > >>> http://www.apple.com/legal/sla/macosx.html > > >> They can write whatever they want. I'm not binded by it. > > "This License allows you to install and use one copy of the Apple > Software on a single *Apple-labeled* computer at a time" > > So, in theory, apply white lx tape to any PC, write "APPLE" on it > in black marker. That PC is now labelled "Apple" and you can therefore > use their software on it legally... (?) O_o > > Marci This will be my last comment on this matter as the topic is long overdrawn. Until crazy people in the US (not all- just the some who insist on stupid policies) step out of their topsy turvy virtual realities and into the real world there are going to be semantics like this. This should be a simple thing (and I believe the BSD license presents this- I'll check again to be sure): respect the authors ownership to the software as a writer, don't come whinging when it doesn't work like you think it should. MS and other whack job fools (in an effort to maximise their control and obtain as much money as they can without much effort) come up with these stupid, crazy licenses and "agreements" which in reality can't be enforced and expect people to live by them. GPL is not much different here- its only free in a purchasing sense. Licenses limit peoples use of the software; intellectual property should be honoured (and is through copyright), but limits are limits and should not be fettered on good people. (I will point out that I have done ethics studies at uni and I do understand the ramifications of my comments here) Something you can't hold in your hands shouldn't be sellable- time on the other hand should (and can) be. Look at the absolute shambles of the current situation with the plethora of licenses and the conflicting agreements between them all, the confusion for the average user and the minefield for the sysadmins. What happens when someone does click no and attempts a refund? The stores will not honour that refund and money is lost by the customer. In Australia, there is legal precedent that negates a corporation's use of size and force against a smaller client - currently this being used against banks and credit card companies, but it would apply here: the EULA's essentially state "say yes or your money will have been wasted". Not to mention that you pay money for the crappy software full of bugs and a security nightmare, then pay again for someone to come out and fix the problems you find! I personally would rather pay for the fix and skip the initial costs... RIAA and DMCA and any other acronym against the small single users need to get a life! Instead of fighting the current go with the flow- it seems that of late the tide might be finally turning with the subscription services offered: a step in the RIGHT direction. Now if only MS and others would take the hint and get a clue as to how the real world works... Thats my rant... I'm out of breath :) From andrewlylegould at gmail.com Tue Mar 3 06:06:01 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue Mar 3 06:06:09 2009 Subject: Ports on Macbook In-Reply-To: <49AD31A4.5050000@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> <49AD31A4.5050000@gmail.com> Message-ID: On Tue, Mar 3, 2009 at 7:33 AM, michael wrote: > Marc Coyles wrote: > >> http://www.apple.com/legal/sla/macosx.html >>>>>> >>>>>> >>>>> They can write whatever they want. I'm not binded by it. >>>>> >>>>> >>>> >> "This License allows you to install and use one copy of the Apple >> Software on a single *Apple-labeled* computer at a time" >> >> So, in theory, apply white lx tape to any PC, write "APPLE" on it >> in black marker. That PC is now labelled "Apple" and you can therefore >> use their software on it legally... (?) O_o >> >> Marci >> >> > playing the semantics game has gotten people in trouble before. > on a side note, Sweden is a member of Interpol, and therefore subject to > international laws. > > #this is specifically to our Swedish friend > > "http://www.interpol.int/Public/ICPO/Members/default.asp" > "http://en.wikipedia.org/wiki/Interpol" > In order to maintain as politically neutral a role as possible, Interpol's > constitution forbids its > involvement in crimes that do not overlap several member countries,^[2] < > http://en.wikipedia.org/wiki/Interpol#cite_note-1> or in any political, > military, religious, or racial crimes.^[3] < > http://en.wikipedia.org/wiki/Interpol#cite_note-2> Its work focuses > primarily on public safety, terrorism < > http://en.wikipedia.org/wiki/Terrorism>, organized crime < > http://en.wikipedia.org/wiki/Organized_crime>, war crimes < > http://en.wikipedia.org/wiki/War_crimes>, illicit drug < > http://en.wikipedia.org/wiki/Illicit_drug> production, drug trafficking < > http://en.wikipedia.org/wiki/Drug_trafficking>, weapons smuggling < > http://en.wikipedia.org/wiki/Weapons_smuggling>, human trafficking < > http://en.wikipedia.org/wiki/Human_trafficking>, money laundering < > http://en.wikipedia.org/wiki/Money_laundering>, child pornography < > http://en.wikipedia.org/wiki/Child_pornography>, white-collar crime < > http://en.wikipedia.org/wiki/White-collar_crime>, computer crime < > http://en.wikipedia.org/wiki/Computer_crime>, intellectual property crime > and corruption < > http://en.wikipedia.org/wiki/Political_corruption>. > > violating laws of more than one member state, in this case the united > states and anywhere that a stolen copy transfers to in the member states > constitutes a crime. that being digital or physical media. people have > already been prosecuted in countries for doing exactly this and arguing that > their own laws say its not forbidden. > >> _______________________________________________ >> > > ...and legalities aside, let's not forget the question of ethics. Andrew From luizbcampos at gmail.com Tue Mar 3 06:16:51 2009 From: luizbcampos at gmail.com (luizbcampos) Date: Tue Mar 3 06:16:57 2009 Subject: installing i386.rpm files on fbsd-amd64 Message-ID: I need to put my printer to work and its driver finishes as i386.rpm files. I've already installed linux_base-fc4 but when I type "/compat/linux/bin rpm -ivh --root=/usr/compat/linux/rpmfile.rpm" I got permission denied as root From julianwissmann at gmail.com Tue Mar 3 06:20:13 2009 From: julianwissmann at gmail.com (Julian Wissmann) Date: Tue Mar 3 06:20:21 2009 Subject: read BSD format disk from Mac OSX In-Reply-To: <20090302183739.GB89715@slackbox.xs4all.nl> References: <20090302183739.GB89715@slackbox.xs4all.nl> Message-ID: <368DA1EB-A7C5-4CEA-AC5B-3C8591D54ED6@gmail.com> Am 02.03.2009 um 19:37 schrieb Roland Smith: > On Mon, Mar 02, 2009 at 09:16:02AM -0500, Tsu-Fan Cheng wrote: >> Hi all, >> I format a ext disk (UFS) and transfer some files into it, hand it >> over to my friend who has a macbook. He complained the macbook can't >> read it. I don't have a mac on hand, I wonder if there is any utility >> that will help a mac to read a BSD, thanks!! > > Macs use GUID partition tables. These are supported by the GENERIC > FreeBSD kernel (at least in 7.1). You'll need the gpt(8) program to > make > them. The following link is a kind of HOWTO: > http://forums.freebsd.org/archive/index.php/t-1305.html > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much > appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: > C321A725) Formatting the Disk GUID is a start. Your friend could use FUSE as well though. It's available for OS X (see http://code.google.com/p/macfuse/) . Or you could format the FreeBSD disk with UFS1! which is afaik supported by OS X. Julian From alex at schnarff.com Tue Mar 3 06:28:45 2009 From: alex at schnarff.com (Alex Kirk) Date: Tue Mar 3 06:28:52 2009 Subject: RAID Gone Wild - One Array Split Into Two In-Reply-To: <106485CFDFE44C7DBD441994EE990916@tamouh> References: <20090301180006.19402mvtopuv9go4@mail.schnarff.com> <20090301202004.19264ty2m0sdne4g@mail.schnarff.com> <106485CFDFE44C7DBD441994EE990916@tamouh> Message-ID: <20090303092626.92985p31097h8s4c@mail.schnarff.com> What branch is this patch supposed to apply against? I've tried 7.0-RELEASE and 7.1-RELEASE, and judging by the dates involved, it's somewhere in between the two. Or should I be asking this on the freebsd-hackers list, where that patch was originally posted? Alex > Alex, > > This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets. > There is a patch for it: > > http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html > > I though didn't test the patch, and funny thing, I posted earlier > today asking if anyone had tried out that patch. > > Hope this helps, keep me posted if you're able to bring it online. > > Thanks, > > Tamouh > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Alex Kirk >> Sent: March 1, 2009 8:20 PM >> To: Jamie >> Cc: questions@freebsd.org >> Subject: Re: RAID Gone Wild - One Array Split Into Two >> >> >> Does anyone have a clue how I can fix this, preferably while >> >> retaining my data? I could wipe the box if necessary, but >> I'd really >> >> prefer not to, as that would be a huge pain in the butt. >> > >> >> Thanks, >> >> Alex Kirk >> > >> > >> > >> > >> > I would begin by going into the raid BIOS at bootup to see what >> > containers are now configured. If everything is hosed up in >> there the >> > OS isn't going to be able to fix anything. >> > >> > >> > - Jamie >> > >> >> Sorry, should have already gone over this. >> >> The RAID BIOS is terrible - my options are "Create Array", "Delete >> Array", "Reset Disk States", and "Exit". It shows only the >> one array, >> but all four disks show as Offline Member in red there. I'm just >> concerned that if I reset the array or delete it, the state >> table (or >> whatever other magic is involved in making RAID work) will get hosed >> up and the data will be unrecoverable. >> >> Alex >> >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From michael.copeland at gmail.com Tue Mar 3 07:00:19 2009 From: michael.copeland at gmail.com (michael) Date: Tue Mar 3 07:00:28 2009 Subject: Ports on Macbook In-Reply-To: References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> <49AD31A4.5050000@gmail.com> Message-ID: <49AD4602.3030005@gmail.com> Andrew Gould wrote: > On Tue, Mar 3, 2009 at 7:33 AM, michael wrote: > >>> >>> *snip* > ...and legalities aside, let's not forget the question of ethics. > > Andrew > ethics is like latin, few care. but i agree with you in entirety. michael From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 07:26:30 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 07:26:37 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> Message-ID: <200903030626.28527.fbsd.questions@rachie.is-a-geek.net> On Monday 02 March 2009 20:21:21 Steve Franks wrote: > > There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is > > when I noticed itbut that's when I started using FreeBSD > > Well, I'll be d###'ed. So there is. Makes sense, I guess. Wonder > how many other "UPDATING"'s are floating around the system... There's even a pkg_updating(1), allthough it's matching is flakey at times. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ivoras at freebsd.org Tue Mar 3 07:34:15 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Mar 3 07:34:23 2009 Subject: load average and some built-in monitoring mechanism In-Reply-To: <94136a2c0903021024q54225574hc36661eaa29a057@mail.gmail.com> References: <94136a2c0903021024q54225574hc36661eaa29a057@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > Hi there, > > My machine has recently been taken down by (most likely) runaway java > process. The box had to be rebooted as there was no remote access to > it but I am not able to find anything useful in logs to confirm > whether it was java. Is there a tool that would enable me to > automatically turn on verbose logging of top processes to some file > once the load average is greater than the specified value? This way, > once the storm is over, I would be able to see which process(es) went > nuts. > > I guess a tool like that may simply already exist in which case I'd > appreciate links/more information. How are you dealing with such > issues when/if they happen to you? I don't think something like that already exists in base. You can use "top -d1" to get a snapshot from top and a small shell script (or a script in your chosen language) to test if the load average (you can get it from sysctl vm.loadavg) gets unreasonable. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090303/59688b3e/signature.pgp From pschmehl_lists at tx.rr.com Tue Mar 3 07:35:30 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Tue Mar 3 07:35:37 2009 Subject: unhappy XOrg upgrade ate the linux version of libuuid.so.1 In-Reply-To: <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> References: <539c60b90903021610j53138295jfa0d11b8caff30fa@mail.gmail.com> <49AC774C.2060701@gmail.com> <539c60b90903021902p41a7a57m4c81e003133f045b@mail.gmail.com> <28283d910903021943j511daba3n8b6f4cb4b4a2d74e@mail.gmail.com> <539c60b90903022121o152a8512s43083525f4033c17@mail.gmail.com> Message-ID: <0635D3383AF4AA31D6465241@utd65257.utdallas.edu> --On Monday, March 02, 2009 23:21:21 -0600 Steve Franks wrote: > >> There has always been a /usr/ports/UPDATING atleast as far back as 6.0 is >> when I noticed itbut that's when I started using FreeBSD > > Well, I'll be d###'ed. So there is. Makes sense, I guess. Wonder > how many other "UPDATING"'s are floating around the system... > That's easy. pauls@utd65257# locate UPDATING /usr/ports/UPDATING /usr/src/UPDATING -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 07:40:27 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 07:40:34 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> Message-ID: <200903030640.25554.fbsd.questions@rachie.is-a-geek.net> On Monday 02 March 2009 16:21:53 Andrew Moran wrote: > > What's even weirder is that the process gets that far. Did you play > > with > > kern.maxdsiz loader tuneable? > > If so, set it lower, so you can at least have the machine in a > > usable state at > > all times. 4G should be enough for any process and should give > > enough time > > for you to spot the leak and get a ktrace. > > Nope, I haven't tweaked any kernel settings, just using the generic > DEFAULT amd64 kernel. I've been way about tweaking settings because > I don't fully understand what the 'correct' values for my setup are. Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks like it's 32G on my 6.x amd64, in which case setting it is a good idea. echo 'kern.maxdsiz="8G"' >> /boot/loader.conf echo 'kern.defdsiz="4G"' >> /boot/loader.conf would set it to 4G soft limit, 8G hard limit. The difference between soft and hard is, that the limits(1) program can be used to run a process with more then 4G allocatable memory and nothing can run with more then 8G, until loader tunable is changed and a reboot is done. I really have no idea why on amd64 this default is so high, surely 32G for a process is an extreme circumstance, for which one would require 4 physical CPU's to begin with. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 07:54:32 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 07:54:40 2009 Subject: libpthread not found In-Reply-To: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> Message-ID: <200903030654.30799.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 00:41:54 m.borsatino@alice.it wrote: > I've installed netbeans from ports without error messages. when I started > the program I got an error like this: "libpthread.so.2 needed by java not > found". I've verified that there is a libpthread.so.20 in > /usr/local/lib/pth. Did you upgrade your machine to 6.x to 7.x recently and not recompile your ports? That's the only way I can think of that would "install netbeans without error messages". Your java was compiled on 6.x and used libpthread.so.2 and libc.so.6 from there. If you installed diablo-jdk15 on your 7.x system the compat6x port should have been installed automatically. The other case that could explain this, would be that you modified ldconfig_paths in /etc/rc.conf and removed /usr/local/lib/compat/pkg. Either way, if you have: diablo-jdk-1.5.* in /var/db/pkg, you should do what Dan said and install misc/compat6x. libmap.conf is a bad idea. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From sneepre at mac.com Tue Mar 3 08:02:25 2009 From: sneepre at mac.com (Andrew Moran) Date: Tue Mar 3 08:02:32 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <200903030640.25554.fbsd.questions@rachie.is-a-geek.net> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> <200903030640.25554.fbsd.questions@rachie.is-a-geek.net> Message-ID: <9B2E2AAB-0866-4D91-9A4A-4E2D81A342E6@mac.com> In Mar 3, 2009, at 7:40 AM, Mel wrote: > On Monday 02 March 2009 16:21:53 Andrew Moran wrote: > >>> What's even weirder is that the process gets that far. Did you play >>> with >>> kern.maxdsiz loader tuneable? >>> If so, set it lower, so you can at least have the machine in a >>> usable state at >>> all times. 4G should be enough for any process and should give >>> enough time >>> for you to spot the leak and get a ktrace. >> >> Nope, I haven't tweaked any kernel settings, just using the generic >> DEFAULT amd64 kernel. I've been way about tweaking settings because >> I don't fully understand what the 'correct' values for my setup are. > > Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks > like it's > 32G on my 6.x amd64, in which case setting it is a good idea. > echo 'kern.maxdsiz="8G"' >> /boot/loader.conf > echo 'kern.defdsiz="4G"' >> /boot/loader.conf Thank you for helping me. The earlier suggestion of toggling Perl Malloc didn't work, nor did syncing sources and installing new kernel and new world which is what I did lsat night. As for kernel settings, I don't have anything in my loader.conf, and I'm not entirely sure how to show things that aren't sysctls, as this one doesn't seem to be: celebrian# sysctl -a | grep kern.maxdsiz celebrian# sysctl -a | grep kern.defdsiz celebrian# (Btw, using Perl Malloc didn't work, nor did syncing sources and installing new kernel and new world.) I'm going to try your settings in loader.conf and see if they work for me. --Andy From sneepre at me.com Tue Mar 3 08:26:38 2009 From: sneepre at me.com (Andrew Moran) Date: Tue Mar 3 08:26:45 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <9B2E2AAB-0866-4D91-9A4A-4E2D81A342E6@mac.com> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <200903021439.55092.fbsd.questions@rachie.is-a-geek.net> <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> <200903030640.25554.fbsd.questions@rachie.is-a-geek.net> <9B2E2AAB-0866-4D91-9A4A-4E2D81A342E6@mac.com> Message-ID: <649E6643-413F-41B4-AEFA-D94CFC809D00@me.com> On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote: > > In Mar 3, 2009, at 7:40 AM, Mel wrote: > >> On Monday 02 March 2009 16:21:53 Andrew Moran wrote: >> >>>> What's even weirder is that the process gets that far. Did you play >>>> with >>>> kern.maxdsiz loader tuneable? >>>> If so, set it lower, so you can at least have the machine in a >>>> usable state at >>>> all times. 4G should be enough for any process and should give >>>> enough time >>>> for you to spot the leak and get a ktrace. >>> >>> Nope, I haven't tweaked any kernel settings, just using the generic >>> DEFAULT amd64 kernel. I've been way about tweaking settings >>> because >>> I don't fully understand what the 'correct' values for my setup are. >> >> Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks >> like it's >> 32G on my 6.x amd64, in which case setting it is a good idea. >> echo 'kern.maxdsiz="8G"' >> /boot/loader.conf >> echo 'kern.defdsiz="4G"' >> /boot/loader.conf > > > Thank you for helping me. The earlier suggestion of toggling > Perl Malloc didn't work, nor did syncing sources and installing new > kernel and new world which is what I did lsat night. > > As for kernel settings, I don't have anything in my loader.conf, > and I'm not entirely sure how to show things that aren't sysctls, as > this one doesn't seem to be: > > celebrian# sysctl -a | grep kern.maxdsiz > celebrian# sysctl -a | grep kern.defdsiz > celebrian# > Ok sadly that didn't seem to do much: celebrian# cat /boot/loader.conf kern.maxdsiz="8G" kern.defdsiz="4G" celebrian# I rebooted, but still see my memory being chewed up. Almost immediately after booting, one of my spamassassin processes spun out of control. Here's the top with it eating 16 gigs of memory: PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1611 1030 1 68 0 15062M 818M CPU2 2 0:44 20.65% perl5.8.9 and from dmesg: swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(3): failed swap_pager_getswapspace(16): failed pid 1611 (perl5.8.9), uid 1030, was killed: out of swap space The computer gets pretty unresponsive during this, unless swapoff my swap, then the process eats the memory faster and gets killed faster. Did I type in the wrong variables? --Andy From ravikumar.bhattiprolu at gmail.com Tue Mar 3 08:47:17 2009 From: ravikumar.bhattiprolu at gmail.com (Bhattiprolu RaviKumar) Date: Tue Mar 3 08:47:25 2009 Subject: Cross Compile Tools on Linux Message-ID: <7c23a55d0903030826s5c5f873fp8c0c070b809dffab@mail.gmail.com> Hi All, I have a Xeon based server box running FreeBSD 7.1. We do not want to use this machine to run any compilation/build jobs. We want to build our software on a Linux based build machine and transfer the final binary to server. Are there any cross compile tools available on Linux which will create FreeBSD targets? I looked at crosstool and crosstool-ng and they do not have FreeBSD as one of the targets. Any information on this will be of great help to me. thanks and regards, Ravi From jnatola at familycareintl.org Tue Mar 3 08:55:22 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Tue Mar 3 08:55:29 2009 Subject: desktop app/config In-Reply-To: <20090224181452.68c1a342@gumby.homeunix.com> Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E41B4@www.fcimail.org> "Jean-Paul Natola" wrote: > Ok so I left the machine running over the weekend to install KDE, > > And when I got in this morning it said that my disk was out of space- > I loaded nothing but the basic freebsd os and nothing other than kde > (granted its only a 10 gig drive) but that should be enough for a kde > desktop no? >>>It may be that you need to clean-out the workspaces with >>>rm -rf /usr/ports/*/*/work, and start again. >>>BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very >>>fragile to me, and it needs a fairly up-to-date machine, with and a well >>>supported 3-d graphics card if you want the effects. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" So I followed the instructions above, and after a few days I wount up again with my 6 gig slice filling up before kde3 could install- I must be doing something wrong if I cant install kde 3 on a 6 gig slice? From faizi62 at hotmail.com Tue Mar 3 09:00:56 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Tue Mar 3 09:01:04 2009 Subject: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument Message-ID: Hi all,I am trying to use Dummynet on a modified FreeBSD 7 kernel. I haveloaded Dummynet in to the kernel when I add pipes, but pipe config returns thefollowing error:# ipfw pipe 1 config delay 100msipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail?. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 09:05:35 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 09:05:42 2009 Subject: Root shell In-Reply-To: <4ad871310903010847w7542b038w6f7787bb231d0bef@mail.gmail.com> References: <20090301164355.GA29675@haruhi> <4ad871310903010847w7542b038w6f7787bb231d0bef@mail.gmail.com> Message-ID: <200903030805.31189.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 07:47:44 Glen Barber wrote: > On Sun, Mar 1, 2009 at 11:43 AM, Daniel Lannstrom wrote: > > On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote: > >> This explains one of the reasons not to change root's shell: > >> > >> http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT > > > > Yes that's exactly what I meant. Is there any other reason except for > > that? As I see it that problem can easily be solved by copying bash to > > the root file system. Also many systems today have the root and /usr > > on the same file system. > > You'd have to also copy more than just the binary file. True, that's why ports respect PREFIX. > It's more > complex than that, and generally is a Bad Idea(tm). FUD. Just use: make -C /usr/ports/shells/bash -DWITH_STATIC_BASH PREFIX=/ (or PREFIX=/opt or PREFIX=/static or whatever, just as long as it resides on the root partition). If something isn't working that should work (f.e. rc.d scripts), it's easy to chsh -s /bin/csh, relog and see if it works then. I've seen one case where a startup script didn't work because root shell was zsh. Judging from that case, zsh thought it was running interactively or PROMPTS set in .zlogin rather then .zshrc and various tty related commands screwed things up. Also, zsh is more aggressive on correcting command line arguments. All this ammounts to "know your shell" which is an argument *for* changing root's shell to something you're familiar with, rather leaving it at csh out of unfounded paranoia. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From andrewlylegould at gmail.com Tue Mar 3 09:07:02 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue Mar 3 09:07:08 2009 Subject: Ports on Macbook In-Reply-To: <49AD4602.3030005@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> <49AD31A4.5050000@gmail.com> <49AD4602.3030005@gmail.com> Message-ID: On Tue, Mar 3, 2009 at 9:00 AM, michael wrote: > Andrew Gould wrote: > >> On Tue, Mar 3, 2009 at 7:33 AM, michael >> wrote: >> >> >>> >>>> *snip* >>>> >>> ...and legalities aside, let's not forget the question of ethics. >> >> Andrew >> >> > > ethics is like latin, few care. but i agree with you in entirety. > > michael > > At least you didn't make a "dead language" analogy. ;-) Andrew From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 09:19:18 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 09:19:30 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22292723.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> Message-ID: <200903030819.15001.fbsd.questions@rachie.is-a-geek.net> On Monday 02 March 2009 08:36:39 new_guy wrote: > We normally use OpenBSD, but would like to try FreeBSD on a test system. > Usually, when updating from one OpenBSD release to another, we do so by > downloading the latest bsd.rd and booting from that to complete the > install. Our machines have no optical drives. Does FreeBSD have a similar > method to installation? You can use nanobsd (toolt/tools/nanobsd) on a flash card and possibly through PXE, but I'd never tried that. You'd still have to circumvent the bootstrap of making that image, unless someone on the list wants to share his nanobsd image. If the machines have floppies, there are downloadable floppy images. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 09:32:13 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 09:32:33 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <49ab13fb.s7xXxGuXI7v/zFQ3%perryh@pluto.rain.com> References: <49AA41F2.9060801@a1poweruser.com> <200902282359.24584.fbsd.questions@rachie.is-a-geek.net> <49ab13fb.s7xXxGuXI7v/zFQ3%perryh@pluto.rain.com> Message-ID: <200903030832.10672.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 14:02:19 perryh@pluto.rain.com wrote: > Mel wrote: > > On Saturday 28 February 2009 23:06:10 Fbsd1 wrote: > > > I am looking for software like portmanager/portmaster but works > > > on the package system instead of the port system. Is there such > > > am application available? > > > > Not (yet). Without /usr/ports it's impossible to find out what > > software needs updating, or you'd have to download and trust the > > INDEX-7 on the FreeBSD package servers. > > ... which may not be much of a stretch for those who are prepared > to download and trust the packages themselves, from the same place. It is a stretch in practice. The INDEX is based on /usr/ports, which is ahead of the packages that are actually compiled on the buildservers. > portupgrade -PP manages somehow. Not somehow, but because it works with /usr/ports. Try renaming your ports directory and see how that goes. Also, -PP wastes a lot of bandwidth. Just look at the ammount of packages that are downloaded which aren't actually installed, because the version is older or equal then installed. > BTW, the OP may not realize that > "the package system" is a subset of "the port system", rather than > an alternative. Packages are generated using the port system. It's an alternative way to install the same software. One can in fact use packages without having /usr/ports present at all. I'm using my own tools, using a custom INDEX format on the build server. But there's still too many raw edges that I'd like the tools released into the wild. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 09:36:20 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 09:36:31 2009 Subject: A problem about pkg_deinstall In-Reply-To: <18858.39797.40001.573615@jerusalem.litteratus.org> References: <200902282247.22739.fbsd.questions@rachie.is-a-geek.net> <18858.39797.40001.573615@jerusalem.litteratus.org> Message-ID: <200903030836.17672.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 05:28:05 Robert Huff wrote: > Mel writes: > > Aside what Michael pointed out, ports-mgmt/pkg_cutleaves is much > > easier for this task. It will only delete leaves, so if b is > > still needed by X, it will not come up on the next iteration. And > > you get to see the short description of the package, so may > > decide to keep it anyway... > > I'd like to suggest a better solution is not auto-deleting in > either direction. Even if the code were perfect - of which there is > no evidence - the people are not, Unless you're (generic "you") > planning to wipe out something huge (e.g. X11, or Gnome/KDE) and > know _exactly_ what you're doing ... it's like hanging a "Kick me!" > sign around your neck. pkg_cutleaves is interactive by default. Asks confirmation for each port, then only deletes at the end of the run. Unless you explicitedly tell it to be not interactive... Really should check it out. My only beef with it is that it writes "kept" packages as package names, rather then origin, so keeping autoconf-2.56 will result in all autoconf packages to be kept next run. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 09:37:17 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 09:37:26 2009 Subject: Apache In-Reply-To: <62141.87733.qm@web111211.mail.gq1.yahoo.com> References: <62141.87733.qm@web111211.mail.gq1.yahoo.com> Message-ID: <200903030837.15016.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 06:26:46 Monty Pyth wrote: > It is Apache 2.2. There is no /etc/localtime and no /etc/wall_cmos_clock. > For right now I am trying to figure out why the httpd-access.log is showing > +0000. As I stated three weeks ago I saved several files from the server to > my PC at home. Both my PC(running windows XP Pro, NTFS) and the server were > both in the EST time zone. The files on my PC showed the file created and > modified dates of 02/10/2009 17:33:00. The access log shows me accessing > those files [10/Feb/2009 17:33:00 +0000]. Where is the +0000 coming from > when the time 17:33:00 is the same time my PC was set to? When I ran the > BIOS is was set to the correct date and time. Run tzsetup. Then restart apache. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From michael.copeland at gmail.com Tue Mar 3 09:57:09 2009 From: michael.copeland at gmail.com (michael) Date: Tue Mar 3 09:57:16 2009 Subject: Ports on Macbook In-Reply-To: References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49A965D1.7080309@bah.homeip.net> <49A98ADB.2010107@bah.homeip.net> <1236080097.99160.0.camel@laptop1.herveybayaustralia.com.au> <49AD1FFB.4010008@bah.homeip.net> <001601c99bfe$fb6b6e10$f2424a30$@wakefield.sch.uk> <49AD31A4.5050000@gmail.com> <49AD4602.3030005@gmail.com> Message-ID: <49AD6F72.9040906@gmail.com> Andrew Gould wrote: > On Tue, Mar 3, 2009 at 9:00 AM, michael > wrote: > > Andrew Gould wrote: > > On Tue, Mar 3, 2009 at 7:33 AM, michael > > wrote: > > > > *snip* > > ...and legalities aside, let's not forget the question of ethics. > > Andrew > > > > ethics is like latin, few care. but i agree with you in entirety. > > michael > > > At least you didn't make a "dead language" analogy. ;-) > > Andrew I was tempted to, but when i considered it, i came to the conclusion that it would just lead this thread down another rabbit trail. wrong is wrong, no matter your country. From chuckop at gmail.com Tue Mar 3 10:07:25 2009 From: chuckop at gmail.com (Charles Oppermann) Date: Tue Mar 3 10:07:32 2009 Subject: Ports on Macbook In-Reply-To: <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49AD22B1.8060505@bah.homeip.net> <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> Message-ID: <200903031007.12791.chuckop@gmail.com> On Tue March 3 2009 4:40:37 am Luigi Iannone wrote: > The EULA states: > "This License will be governed by and construed in accordance with the > laws of the State of California,.." > Since I assume that Sweden has signed international commercial > agreements with the USA, I think that it odes not matter what the > Swedish law says about signing or not a license agreement, in this > specific case the law of California applies. In a previous message, I posted the link to the license agreements Apple uses for Mac OS. There is a Swedish language version for Sweden which appears basically the same as the United States version, but says that the laws of Sweden would apply. From tajudd at gmail.com Tue Mar 3 10:41:55 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Mar 3 10:42:03 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <22292723.post@talk.nabble.com> References: <22292723.post@talk.nabble.com> Message-ID: On Mon, Mar 2, 2009 at 10:36 AM, new_guy wrote: > > Hi, > > We normally use OpenBSD, but would like to try FreeBSD on a test system. > Usually, when updating from one OpenBSD release to another, we do so by > downloading the latest bsd.rd and booting from that to complete the > install. > Our machines have no optical drives. Does FreeBSD have a similar method to > installation? > > Thanks! > -- > View this message in context: > http://www.nabble.com/bsd.rd-for-FreeBSD-install-tp22292723p22292723.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > Being relatively familiar with both, let me input my advice. first of all, Open and Free use different DOS-partition partition IDs, OpenBSD being A6, and FreeBSD being A5. This would be the first road block to overcome. Second, there isn't a produced single file to boot FreeBSD in a ramdisk image from the FreeBSD folks. There is one out there called mfsbsd that does that. Creating a ramdisk based kernel would work, and you'd need to shove what's in the bootonly CD into that kernel image. I doubt you'll be able to produce a kernel for FreeBSD on OpenBSD. Haven't tried it, but I bet the pmake syntax for FreeBSD will give OpenBSD problems. Running a PXE/NFS/DHCP boot server would be the first thing I'd go into to do a completely CD/DVD-less system. But you have to start from somewhere... You have to boot FreeBSD from external medium so you can prepare a hard drive. Is it a problem to float a USB CD/DVD drive around to install? would a bootserver help you in your efforts? There's just so many ways to approach this, your initial post isn't helping me to lean one way or another. Can you provide your factors why your systems are CD/DVD-less? Do these systems boot from PXE/network? when you answer these questions, something might come into mind that would benefit you most... but the different partition IDs is going to become a hurlde without a external boot medium. Let me know, --TJ From faizi62 at hotmail.com Tue Mar 3 10:47:50 2009 From: faizi62 at hotmail.com (Faizan ul haq Muhammad) Date: Tue Mar 3 10:47:59 2009 Subject: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument In-Reply-To: References: Message-ID: > From: faizi62@hotmail.com > To: freebsd-questions@freebsd.org > Date: Tue, 3 Mar 2009 16:48:54 +0000 > Subject: ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument > > > Hi all,I am trying to use Dummynet on a modified FreeBSD 7 > kernel. I haveloaded Dummynet in to the kernel > when I add pipes, but pipe config returns thefollowing error:# > ipfw pipe 1 config delay 100msipfw: > setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument > _________________________________________________________________ > Express your personality in color! Preview and select themes for Hotmail?. > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme_______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" It worked when i deleted and rewrote the dummynet option in KERNEL and rebuild it... /Regards!!!! _________________________________________________________________ Windows Live? Groups: Create an online spot for your favorite groups to meet. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009 From luigi at net.t-labs.tu-berlin.de Tue Mar 3 10:48:29 2009 From: luigi at net.t-labs.tu-berlin.de (Luigi Iannone) Date: Tue Mar 3 10:48:37 2009 Subject: Ports on Macbook In-Reply-To: <200903031007.12791.chuckop@gmail.com> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <49AD22B1.8060505@bah.homeip.net> <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> <200903031007.12791.chuckop@gmail.com> Message-ID: <2BCB4933-4E0F-4661-875F-0F08F422FBFA@net.t-labs.tu-berlin.de> On Mar 3, 2009, at 19:07 , Charles Oppermann wrote: > On Tue March 3 2009 4:40:37 am Luigi Iannone wrote: >> The EULA states: >> "This License will be governed by and construed in accordance with >> the >> laws of the State of California,.." >> Since I assume that Sweden has signed international commercial >> agreements with the USA, I think that it odes not matter what the >> Swedish law says about signing or not a license agreement, in this >> specific case the law of California applies. > > In a previous message, I posted the link to the license agreements > Apple uses > for Mac OS. There is a Swedish language version for Sweden which > appears > basically the same as the United States version, but says that the > laws of > Sweden would apply. Strange, in the english version is clearly stated that translations are provided in the sake of clarity but legally only the english one count. Luigi > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From leslie at eskk.nu Tue Mar 3 11:55:03 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Tue Mar 3 11:55:12 2009 Subject: Configuring default router per NIC! Message-ID: <49AD8623.6050007@eskk.nu> I'm considering a Squid box serving two different networks, both with their own Internet access. Access from network 1 to default router on network 1 and Access from network 2 to default router on network 2 How do one set default router per NIC? Thanks /Leslie From julianwissmann at gmail.com Tue Mar 3 12:07:20 2009 From: julianwissmann at gmail.com (Julian Wissmann) Date: Tue Mar 3 12:07:26 2009 Subject: Ports on Macbook In-Reply-To: <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> References: <630286c70902270134u18505882xbabf547190ae8747@mail.gmail.com> <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa><87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> <49AD22B1.8060505@bah.homeip.net> <761DDE93-C707-456F-BA01-AF10E5D57B57@net.t-labs.tu-berlin.de> Message-ID: <53BFE9BF-C901-4B6E-894F-825C235EE49A@gmail.com> Am 03.03.2009 um 13:40 schrieb Luigi Iannone: This is not right. The US doesn't recognize the judging of any other country according to proskauerguide, nor do any other countries have to recognize US law or judging. You are saying that basically every country that has signed Internation Commercial Agreement basically subordinates their own laws which is not the case. Their own laws come first. > The EULA states: > > "This License will be governed by and construed in accordance with > the laws of the State of California,.." > > Since I assume that Sweden has signed international commercial > agreements with the USA, I think that it odes not matter what the > Swedish law says about signing or not a license agreement, in this > specific case the law of California applies. > > L. > > On Mar 3, 2009, at 13:29 , Bernt Hansson wrote: > >> FBSD UG said the following on 2009-03-03 09:25: >>> On 2 mrt 2009, at 20:22, Bernt Hansson wrote: >>>> FBSD UG skrev: >>>>> >>>>> You're not buying the software, you buy a license to use it on one >>>>> Apple computer. >>>> >>>> Mostly semantics, if I name my computer "APPLE" Then it's >>>> "legal" to >>>> install. Crap, if I buy it I can install it on ANY computer. Does >>>> not >>>> have to be a computer named "APPLE" it could be "IBM", "HP" or >>>> any other >>>> brand or non brand. >> >> >>> did you sign all Swedish laws then? >> >> Kind of way, yes, since I voted in the election 2006 >> >>> How is Apple going to prevent illegal copying? >> >> They have the copyright laws, as I stated before. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org >> " > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 12:09:46 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 12:09:53 2009 Subject: Configuring default router per NIC! In-Reply-To: <49AD8623.6050007@eskk.nu> References: <49AD8623.6050007@eskk.nu> Message-ID: <200903031109.44812.fbsd.questions@rachie.is-a-geek.net> On Tuesday 03 March 2009 10:33:55 Leslie Jensen wrote: > I'm considering a Squid box serving two different networks, both with > their own Internet access. > > Access from network 1 to default router on network 1 > and > Access from network 2 to default router on network 2 > > > How do one set default router per NIC? One can't as the default router is per IP stack (per machine). One can however use different routing tables per process, using setfib(1) on FreeBSD 7.1 and above. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dkarapet at nd.edu Tue Mar 3 12:13:34 2009 From: dkarapet at nd.edu (David Karapetyan) Date: Tue Mar 3 12:13:43 2009 Subject: Server encryption In-Reply-To: <49AD8623.6050007@eskk.nu> References: <49AD8623.6050007@eskk.nu> Message-ID: <20090303200239.GA363@vagrant.nomad.nd.edu> Hello, I was wondering if it was a worthwhile endeavor to encrypt a backup hard drive on a server that I currently have in my office at school (I am a graduate student). I do have sensitive data on it (backups of my mail, as well as an msmtprc file that contains the password to a gmail account of mine). I am not particularly worried about theft of my server, but you never know. Am I simply being paranoid, or is there a considerable risk when one does not encrypt? On Tue, Mar 03, 2009 at 08:33:55PM +0100, Leslie Jensen wrote: > > I'm considering a Squid box serving two different networks, both with > their own Internet access. > > Access from network 1 to default router on network 1 > and > Access from network 2 to default router on network 2 > > > How do one set default router per NIC? > > Thanks > > /Leslie > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From wmoran at potentialtech.com Tue Mar 3 12:19:01 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Mar 3 12:19:09 2009 Subject: Server encryption In-Reply-To: <20090303200239.GA363@vagrant.nomad.nd.edu> References: <49AD8623.6050007@eskk.nu> <20090303200239.GA363@vagrant.nomad.nd.edu> Message-ID: <20090303151857.3624e24b.wmoran@potentialtech.com> In response to David Karapetyan : > Hello, I was wondering if it was a worthwhile endeavor to encrypt a > backup hard drive on a server that I currently have in my office at > school (I am a graduate student). I do have sensitive data on it > (backups of my mail, as well as an msmtprc file that contains the > password to a gmail account of mine). I am not particularly worried > about theft of my server, but you never know. Am I simply being > paranoid, or is there a considerable risk when one does not encrypt? If you don't encrypt the data and the server is stolen, the thief has your data if he wants it. If you do encrypt it, the thief has to go to considerable length to steal the system without powering it down, and even then it's difficult to get the actual data. Most thieves don't care about your data. The value of the hardware is enough, and they'll probably reformat the HDD with a bootleg Windows Vista install anyway. You have to decide for yourself whether you feel the risk justifies the effort. Keep in mind that if you encrypt the drive, you'll have to enter the password any time the system is rebooted (such as after a power outage). Hope this helps. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 12:31:24 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 12:31:31 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <649E6643-413F-41B4-AEFA-D94CFC809D00@me.com> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <9B2E2AAB-0866-4D91-9A4A-4E2D81A342E6@mac.com> <649E6643-413F-41B4-AEFA-D94CFC809D00@me.com> Message-ID: <200903031131.22493.fbsd.questions@rachie.is-a-geek.net> On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote: > On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote: > > In Mar 3, 2009, at 7:40 AM, Mel wrote: > >> On Monday 02 March 2009 16:21:53 Andrew Moran wrote: > >>>> What's even weirder is that the process gets that far. Did you play > >>>> with > >>>> kern.maxdsiz loader tuneable? > >>>> If so, set it lower, so you can at least have the machine in a > >>>> usable state at > >>>> all times. 4G should be enough for any process and should give > >>>> enough time > >>>> for you to spot the leak and get a ktrace. > >>> > >>> Nope, I haven't tweaked any kernel settings, just using the generic > >>> DEFAULT amd64 kernel. I've been way about tweaking settings > >>> because > >>> I don't fully understand what the 'correct' values for my setup are. > >> > >> Could you show kenv kern.maxdsiz and if unset limits -H -d? Looks > >> like it's > >> 32G on my 6.x amd64, in which case setting it is a good idea. > >> echo 'kern.maxdsiz="8G"' >> /boot/loader.conf > >> echo 'kern.defdsiz="4G"' >> /boot/loader.conf > > > > Thank you for helping me. The earlier suggestion of toggling > > Perl Malloc didn't work, nor did syncing sources and installing new > > kernel and new world which is what I did lsat night. > > > > As for kernel settings, I don't have anything in my loader.conf, > > and I'm not entirely sure how to show things that aren't sysctls, as > > this one doesn't seem to be: > > > > celebrian# sysctl -a | grep kern.maxdsiz > > celebrian# sysctl -a | grep kern.defdsiz > > celebrian# > > Ok sadly that didn't seem to do much: > > celebrian# cat /boot/loader.conf > kern.maxdsiz="8G" > kern.defdsiz="4G" > celebrian# Can you show limits -H -d? > I rebooted, but still see my memory being chewed up. Almost > immediately after booting, one of my spamassassin processes spun out > of control. Here's the top with it eating 16 gigs of memory: > > PID UID THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 1611 1030 1 68 0 15062M 818M CPU2 2 0:44 20.65% > perl5.8.9 At this point, have your cd to a partition large enough to hold a few 100 megs, and type: ktrace -p 1611 where 1611 is the PID of the perl process. You may want to be a bit earlier then this point. After a few seconds, type ktrace -C. Then kdump|less. There should be plenty of allocations there (*alloc* functions). > > and from dmesg: > > > swap_pager_getswapspace(16): failed > swap_pager_getswapspace(16): failed > swap_pager_getswapspace(16): failed > swap_pager_getswapspace(16): failed > swap_pager_getswapspace(3): failed > swap_pager_getswapspace(16): failed > pid 1611 (perl5.8.9), uid 1030, was killed: out of swap space > > > The computer gets pretty unresponsive during this, unless swapoff my > swap, then the process eats the memory faster and gets killed > faster. Did I type in the wrong variables? Nope, I'm now reading up myself, I would think this works on amd64. You can see defaults in /boot/defaults/loader.conf. Maybe it only works on what top shows as RES memory (truely used memory, so overallocation is possible). In that case, set kern.defdsiz to 512M, perl should bug out earlier and probably doesn't affect normal operations (busy MySQL server might). I do hope this feature isn't obsolete on amd64, I kinda like knowing there's a guard against my programming errors ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dkarapet at nd.edu Tue Mar 3 12:32:19 2009 From: dkarapet at nd.edu (David Karapetyan) Date: Tue Mar 3 12:32:25 2009 Subject: Server encryption In-Reply-To: <20090303151857.3624e24b.wmoran@potentialtech.com> References: <49AD8623.6050007@eskk.nu> <20090303200239.GA363@vagrant.nomad.nd.edu> <20090303151857.3624e24b.wmoran@potentialtech.com> Message-ID: <20090303203213.GC363@vagrant.nomad.nd.edu> Yes, having to enter the password in after reboot is a bit of a pain. That is not all; the encrypted drive must be fsck'd as well, which is a bit annoying. At present, I encrypt secure documents on my laptop, and leave my server unencrypted; thanks to your input, I will continue to do so. Thank you. On Tue, Mar 03, 2009 at 03:18:57PM -0500, Bill Moran wrote: > In response to David Karapetyan : > > > Hello, I was wondering if it was a worthwhile endeavor to encrypt a > > backup hard drive on a server that I currently have in my office at > > school (I am a graduate student). I do have sensitive data on it > > (backups of my mail, as well as an msmtprc file that contains the > > password to a gmail account of mine). I am not particularly worried > > about theft of my server, but you never know. Am I simply being > > paranoid, or is there a considerable risk when one does not encrypt? > > If you don't encrypt the data and the server is stolen, the thief > has your data if he wants it. > > If you do encrypt it, the thief has to go to considerable length to > steal the system without powering it down, and even then it's difficult > to get the actual data. > > Most thieves don't care about your data. The value of the hardware is > enough, and they'll probably reformat the HDD with a bootleg Windows > Vista install anyway. > > You have to decide for yourself whether you feel the risk justifies > the effort. Keep in mind that if you encrypt the drive, you'll have > to enter the password any time the system is rebooted (such as after > a power outage). > > Hope this helps. > > -- > Bill Moran > http://www.potentialtech.com > http://people.collaborativefusion.com/~wmoran/ -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From arthurbarlow at earthlink.net Tue Mar 3 13:07:25 2009 From: arthurbarlow at earthlink.net (Arthur Barlow) Date: Tue Mar 3 13:07:35 2009 Subject: Xorg is now broken Message-ID: <49AD9C0A.4050109@earthlink.net> I'm using Freebsd 7.1 and everything had been working fine, until I noticed there were upgrades for Xorg. I went ahead and used portupgrade to upgrade the packages and now I get a server error 11. I'm including the Xorg.0.log and xorg.conf for you to examine. I'm running an older PIII based Gateway PC that uses a Premedia video card, which in turn uses the "xf86-video-glint" driver. All suggestions are welcome. -------------- next part -------------- Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" # RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" # Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30.00 - 81.00 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "DefaultRefresh" # [] #Option "ModeSetClearScreen" # [] Identifier "Card0" Driver "glint" VendorName "Texas Instruments" BoardName "TVP4020 [Permedia 2]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1024x768" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Modes "1024x768" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Modes "1024x768" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Modes "1024x768" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Modes "1024x768" Depth 24 EndSubSection EndSection From apseudoutopia at gmail.com Tue Mar 3 13:10:35 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 3 13:10:42 2009 Subject: Cron Not Sending Mail In-Reply-To: <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> Message-ID: <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> On Mon, Mar 2, 2009 at 10:14 PM, Glen Barber wrote: > On Sun, Mar 1, 2009 at 2:24 PM, APseudoUtopia wrote: > [snip] >> >> ##### >> # User www's crontab >> # Note, I also tried removing the MAILTO to no avail >> ##### >> MAILTO=root >> # m ? ? h ? ? ? dom ? ? mon ? ? dow ? ? cmd >> * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? echo "Hello" >> >> > [snip] > > 1.) ?You are not using the full path to /bin/echo, which is why it is failing. > > 2.) This is a poor designed way to test cron's mail output. > > A Better(tm) way would be something like: > MAILTO=root > */5 * * * * /bin/ping -c1 localhost >/dev/null > > which would mail to root on success or failure. > > Regards, > > -- > Glen Barber > Thanks for the tips. I've put the following line in my normal user account's crontab (This account does have a shell, it's one I use on a daily basis): SHELL=/bin/sh MAILTO=my_email_account@gmail.com * * * * * /sbin/ping -c4 localhost I'm getting no emails at all. In /var/log/maillog, I'm getting the following output: Mar 3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, size=0, class=0, nrcpts=0, msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, relay=www@localhost From glen.j.barber at gmail.com Tue Mar 3 13:17:52 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Mar 3 13:17:59 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> Message-ID: <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia wrote: > Thanks for the tips. I've put the following line in my normal user > account's crontab (This account does have a shell, it's one I use on a > daily basis): > > SHELL=/bin/sh > MAILTO=my_email_account@gmail.com > * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? /sbin/ping -c4 localhost > > I'm getting no emails at all. In /var/log/maillog, I'm getting the > following output: > > Mar ?3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, > size=0, class=0, nrcpts=0, > msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, > relay=www@localhost > You've replaced a problem with another problem. Have you tried to send the mail locally first? -- Glen Barber From freebsd-questions at pp.dyndns.biz Tue Mar 3 13:52:20 2009 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Tue Mar 3 13:52:26 2009 Subject: Cron Not Sending Mail In-Reply-To: <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> Message-ID: <49ADA685.9060702@pp.dyndns.biz> Glen Barber wrote: > On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia wrote: >> Thanks for the tips. I've put the following line in my normal user >> account's crontab (This account does have a shell, it's one I use on a >> daily basis): >> >> SHELL=/bin/sh >> MAILTO=my_email_account@gmail.com >> * * * * * /sbin/ping -c4 localhost >> >> I'm getting no emails at all. In /var/log/maillog, I'm getting the >> following output: >> >> Mar 3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, >> size=0, class=0, nrcpts=0, >> msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, >> relay=www@localhost Isn't "www@localhost" a very weird hostname for a relay? Can you really resolve that into an IP address? /Morgan From apseudoutopia at gmail.com Tue Mar 3 14:29:03 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 3 14:29:11 2009 Subject: Cron Not Sending Mail In-Reply-To: <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> Message-ID: <27ade5280903031429ldb69344hcbff8fe4eb6a4a91@mail.gmail.com> On Tue, Mar 3, 2009 at 4:17 PM, Glen Barber wrote: > On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia wrote: >> Thanks for the tips. I've put the following line in my normal user >> account's crontab (This account does have a shell, it's one I use on a >> daily basis): >> >> SHELL=/bin/sh >> MAILTO=my_email_account@gmail.com >> * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? /sbin/ping -c4 localhost >> >> I'm getting no emails at all. In /var/log/maillog, I'm getting the >> following output: >> >> Mar ?3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, >> size=0, class=0, nrcpts=0, >> msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, >> relay=www@localhost >> > > You've replaced a problem with another problem. ?Have you tried to > send the mail locally first? > > -- > Glen Barber > I have tested it - and sending mail manually from command line to the gmail account works fine without any problems. From wojtek at wojtek.tensor.gdynia.pl Tue Mar 3 14:38:50 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 3 14:38:57 2009 Subject: Xorg is now broken In-Reply-To: <49AD9C0A.4050109@earthlink.net> References: <49AD9C0A.4050109@earthlink.net> Message-ID: > I'm using Freebsd 7.1 and everything had been working fine, until I noticed > there were upgrades for Xorg. I went ahead and used portupgrade to upgrade > the packages and now I get a server error 11. I'm including the Xorg.0.log > and xorg.conf for you to examine. > good lesson to not change things that are working :) From apseudoutopia at gmail.com Tue Mar 3 14:44:35 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 3 14:44:41 2009 Subject: Cron Not Sending Mail In-Reply-To: <49ADA685.9060702@pp.dyndns.biz> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> Message-ID: <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesstr?m wrote: > > Glen Barber wrote: >> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia wrote: >>> Thanks for the tips. I've put the following line in my normal user >>> account's crontab (This account does have a shell, it's one I use on a >>> daily basis): >>> >>> SHELL=/bin/sh >>> MAILTO=my_email_account@gmail.com >>> * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? /sbin/ping -c4 localhost >>> >>> I'm getting no emails at all. In /var/log/maillog, I'm getting the >>> following output: >>> >>> Mar ?3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, >>> size=0, class=0, nrcpts=0, >>> msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, >>> relay=www@localhost > > Isn't "www@localhost" a very weird hostname for a relay? Can you really > resolve that into an IP address? > /Morgan Hm, I'm not sure where it's getting that from. The MAILTO variable is set in the crontab, so it shouldn't be going to or relaying through localhost at all, right? It should go directly to gmail's servers? From glen.j.barber at gmail.com Tue Mar 3 14:44:42 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Mar 3 14:44:49 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903031429ldb69344hcbff8fe4eb6a4a91@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> <27ade5280903031429ldb69344hcbff8fe4eb6a4a91@mail.gmail.com> Message-ID: <4ad871310903031444w16e20744j2f8f148f6289363c@mail.gmail.com> On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia wrote: > > I have tested it - and sending mail manually from command line to the > gmail account works fine without any problems. > What I'm saying is that you changed two of the variables without actually verifying one or the other work first. Change the MAILTO back to root and retest. -- Glen Barber From apseudoutopia at gmail.com Tue Mar 3 14:49:11 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 3 14:49:24 2009 Subject: Cron Not Sending Mail In-Reply-To: <4ad871310903031444w16e20744j2f8f148f6289363c@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <4ad871310903021914q647d6a40ncdb0bb9d8a3582c9@mail.gmail.com> <27ade5280903031310u6d7956u830938f27ea535c6@mail.gmail.com> <4ad871310903031317q353395edh401700f8d4ce9b4c@mail.gmail.com> <27ade5280903031429ldb69344hcbff8fe4eb6a4a91@mail.gmail.com> <4ad871310903031444w16e20744j2f8f148f6289363c@mail.gmail.com> Message-ID: <27ade5280903031449w698a14f7xbf932a4b768023@mail.gmail.com> On Tue, Mar 3, 2009 at 5:44 PM, Glen Barber wrote: > On Tue, Mar 3, 2009 at 5:29 PM, APseudoUtopia wrote: >> >> I have tested it - and sending mail manually from command line to the >> gmail account works fine without any problems. >> > > What I'm saying is that you changed two of the variables without > actually verifying one or the other work first. ?Change the MAILTO > back to root and retest. > > > -- > Glen Barber > SHELL=/bin/sh #MAILTO=staff@tastetherainbow.ws MAILTO=root * * * * * /sbin/ping -c4 localhost Still no email. Same message in the maillog: Mar 3 22:48:00 youcant sendmail[92113]: n23Mm0vP092113: from=www, size=0, class=0, nrcpts=0, msgid=<200903032248.n23Mm0vP092113@youcant.tastetherainbow.ws>, relay=www@localhost This is driving me crazy :-\ From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 15:09:45 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 15:09:51 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> Message-ID: <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> On Tuesday 03 March 2009 13:44:34 APseudoUtopia wrote: > On Tue, Mar 3, 2009 at 4:52 PM, Morgan Wesstr?m > > wrote: > > Glen Barber wrote: > >> On Tue, Mar 3, 2009 at 4:10 PM, APseudoUtopia wrote: > >>> Thanks for the tips. I've put the following line in my normal user > >>> account's crontab (This account does have a shell, it's one I use on a > >>> daily basis): > >>> > >>> SHELL=/bin/sh > >>> MAILTO=my_email_account@gmail.com > >>> * ? ? ? * ? ? ? * ? ? ? * ? ? ? * ? ? ? /sbin/ping -c4 localhost > >>> > >>> I'm getting no emails at all. In /var/log/maillog, I'm getting the > >>> following output: > >>> > >>> Mar ?3 21:10:00 domain sendmail[86797]: n23LA0td086797: from=www, > >>> size=0, class=0, nrcpts=0, > >>> msgid=<200903032110.n23LA0td086797@subdomain.domain.tld>, > >>> relay=www@localhost > > > > Isn't "www@localhost" a very weird hostname for a relay? Can you really > > resolve that into an IP address? > > /Morgan > > Hm, I'm not sure where it's getting that from. The MAILTO variable is > set in the crontab, so it shouldn't be going to or relaying through > localhost at all, right? It should go directly to gmail's servers? If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then something is wrong with your email setup. There should at least be one more entry from the spooler to pickup final destination. And yes, the relay 'www@localhost' seems odd, but since I gave up sendmail for postfix years ago, I'm not current with how it spits things into syslog. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From glen.j.barber at gmail.com Tue Mar 3 15:11:28 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Mar 3 15:11:35 2009 Subject: Xorg is now broken In-Reply-To: References: <49AD9C0A.4050109@earthlink.net> Message-ID: <4ad871310903031511m20abcee2v7ae0f6471b1958cf@mail.gmail.com> On Tue, Mar 3, 2009 at 5:38 PM, Wojciech Puchar wrote: something useless, again. I don't see your Xorg.0.log attached. Did you read /usr/ports/UPDATING regarding the X11 upgrade? -- Glen Barber From fbsd.questions at rachie.is-a-geek.net Tue Mar 3 15:15:04 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Mar 3 15:15:11 2009 Subject: bsdstats not working in 7.1 In-Reply-To: <20090301155935.GA15344@melon.esperance-linux.co.uk> References: <49AA6F75.2080602@a1poweruser.com> <20090301155935.GA15344@melon.esperance-linux.co.uk> Message-ID: <200903031415.03176.fbsd.questions@rachie.is-a-geek.net> On Sunday 01 March 2009 06:59:35 Frank Shute wrote: > On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote: > > bsdstats is now in the base system. > > On what? In PC-BSD since forever, maybe OP is confuzzled a bit ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd-questions at pp.dyndns.biz Tue Mar 3 15:48:30 2009 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Tue Mar 3 15:48:38 2009 Subject: Cron Not Sending Mail In-Reply-To: <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> Message-ID: <49ADC1CA.5090703@pp.dyndns.biz> >>>>> relay=www@localhost >>> Isn't "www@localhost" a very weird hostname for a relay? Can you really >>> resolve that into an IP address? >>> /Morgan >> Hm, I'm not sure where it's getting that from. The MAILTO variable is >> set in the crontab, so it shouldn't be going to or relaying through >> localhost at all, right? It should go directly to gmail's servers? > > If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then > something is wrong with your email setup. There should at least be one more > entry from the spooler to pickup final destination. And yes, the > relay 'www@localhost' seems odd, but since I gave up sendmail for postfix > years ago, I'm not current with how it spits things into syslog. > In my case I only see either "local" there or my smart host as defined in /var/mail/{hostname}.mc Can you provide a "diff -u" between /etc/mail/freebsd.mc and /etc/mail/{hostname}.mc ? /Morgan From fbsd1 at a1poweruser.com Tue Mar 3 16:15:30 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Tue Mar 3 16:15:38 2009 Subject: purpose of /etc/wall_cmos_clock Message-ID: <49ADC81F.7000707@a1poweruser.com> What is /etc/wall_cmos_clock used for and how is it created? From fbsd1 at a1poweruser.com Tue Mar 3 16:22:00 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Tue Mar 3 16:22:09 2009 Subject: desktop app/config In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E41B4@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E41B4@www.fcimail.org> Message-ID: <49ADC9A4.2020207@a1poweruser.com> Jean-Paul Natola wrote: > "Jean-Paul Natola" wrote: > > >> Ok so I left the machine running over the weekend to install KDE, >> >> And when I got in this morning it said that my disk was out of space- >> I loaded nothing but the basic freebsd os and nothing other than kde >> (granted its only a 10 gig drive) but that should be enough for a kde >> desktop no? > >>>> It may be that you need to clean-out the workspaces with >>>> rm -rf /usr/ports/*/*/work, and start again. > >>>> BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very >>>> fragile to me, and it needs a fairly up-to-date machine, with and a well >>>> supported 3-d graphics card if you want the effects. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > So I followed the instructions above, and after a few days I wount up again > with my 6 gig slice filling up before kde3 could install- > > I must be doing something wrong if I cant install kde 3 on a 6 gig slice? > > You would be better off to install the package version of kde. From luvbeastie at larseighner.com Tue Mar 3 17:01:16 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Tue Mar 3 17:01:23 2009 Subject: purpose of /etc/wall_cmos_clock In-Reply-To: <49ADC81F.7000707@a1poweruser.com> References: <49ADC81F.7000707@a1poweruser.com> Message-ID: <20090303185255.M51873@qroenaqrq.6qbyyneqvnyhc.pbz> On Wed, 4 Mar 2009, Fbsd1 wrote: > What is /etc/wall_cmos_clock used for and how is it created? I thought we covered this last time. If the zero-length file exits, it indicates the hardware (cmos) clock keeps local time. If it is absent, UCT is assumed. See man 8 adjkerntz (and numerous SEE ALSOs). -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From apseudoutopia at gmail.com Tue Mar 3 17:19:06 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 3 17:19:14 2009 Subject: Cron Not Sending Mail In-Reply-To: <49ADC1CA.5090703@pp.dyndns.biz> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz> Message-ID: <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> On Tue, Mar 3, 2009 at 6:48 PM, Morgan Wesstr?m wrote: >>>>>> relay=www@localhost >>>> Isn't "www@localhost" a very weird hostname for a relay? Can you really >>>> resolve that into an IP address? >>>> /Morgan >>> Hm, I'm not sure where it's getting that from. The MAILTO variable is >>> set in the crontab, so it shouldn't be going to or relaying through >>> localhost at all, right? It should go directly to gmail's servers? >> >> If grep 'n23LA0td086797' /var/log/maillog only yields one entry, then >> something is wrong with your email setup. There should at least be one more >> entry from the spooler to pickup final destination. And yes, the >> relay 'www@localhost' seems odd, but since I gave up sendmail for postfix >> years ago, I'm not current with how it spits things into syslog. >> > > In my case I only see either "local" there or my smart host as defined > in /var/mail/{hostname}.mc > Can you provide a "diff -u" between /etc/mail/freebsd.mc and > /etc/mail/{hostname}.mc ? > > /Morgan I'd switch over to postfix, but I'm only using this to send output from cron and the daily security run scripts. I don't receive any mail over the network, so I think it'd be pointless to go through the effort of switching and configuring another MTA. Here's the diff. I figured it was too long to include in the email (word wrap will make it hard to read :-P) http://pastebin.ca/1352338 Here's the full contents of /etc/mail/{hostname}.mc http://pastebin.ca/1352340 Thanks for the help. From smithi at nimnet.asn.au Tue Mar 3 18:36:12 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Tue Mar 3 18:36:21 2009 Subject: portmanager/portmaster like application for packages? In-Reply-To: <20090303173238.5E43010656EE@hub.freebsd.org> References: <20090303173238.5E43010656EE@hub.freebsd.org> Message-ID: <20090304124451.P71460@sola.nimnet.asn.au> On Tue, 3 Mar 2009 08:32:10 -0900 Mel wrote: > On Sunday 01 March 2009 14:02:19 perryh@pluto.rain.com wrote: > > Mel wrote: > > > On Saturday 28 February 2009 23:06:10 Fbsd1 wrote: > > > > I am looking for software like portmanager/portmaster but works > > > > on the package system instead of the port system. Is there such > > > > am application available? > > > > > > Not (yet). Without /usr/ports it's impossible to find out what > > > software needs updating, or you'd have to download and trust the > > > INDEX-7 on the FreeBSD package servers. > > > > ... which may not be much of a stretch for those who are prepared > > to download and trust the packages themselves, from the same place. > > It is a stretch in practice. The INDEX is based on /usr/ports, which is ahead > of the packages that are actually compiled on the buildservers. Well, sometimes by a day or two, so I guess if you're portupgrading daily or whatever. For larger portupgrades after a while (as I tend :) I very rarely miss finding all the latest packages, ie as perryh said: > > portupgrade -PP manages somehow. > > Not somehow, but because it works with /usr/ports. Try renaming your ports > directory and see how that goes. Also, -PP wastes a lot of bandwidth. Just > look at the ammount of packages that are downloaded which aren't actually > installed, because the version is older or equal then installed. I don't get your latter point, Mel. Assuming the ports tree is up to date (I can't comment on using just an INDEX without a ports tree) then the package versions obtained using -PP match those in the ports tree; I don't recall it ever downloading older packages than the ports versions? > > BTW, the OP may not realize that > > "the package system" is a subset of "the port system", rather than > > an alternative. Packages are generated using the port system. > > It's an alternative way to install the same software. One can in fact use > packages without having /usr/ports present at all. I'm using my own tools, > using a custom INDEX format on the build server. But there's still too many > raw edges that I'd like the tools released into the wild. Fair enough, but I think perryh's point stands; many people appear to believe that ports and packages are separate systems. We've even seen people say "you shouldn't mix the two methods" which is utter nonsense. For a large (likely overdue :) portupgrade session, after updating the tree I start with portupgrade -anPP which fetches all available packages to /usr/ports/packages, without updating anything yet. Sometimes some regional mirrors aren't quite up to date, so I might need to finish off with a visit to somewhere closer to (ultimately) ftp.freebsd.org. Then portupgrade -aP uses the (now local) packages, builds any ports for which there is no package for licence etc reasons, sometimes grabbing a few more dependent packages along the way, but my poor lil' ol' laptop doesn't need to spend days compiling Xorg, KDE, openoffice if you use it, and a bunch of other big ports; it only takes quite a few hours :) and a little extra bandwidth saving days of building is fine by me .. The only largish port that always needs (re)building here is PHP, where the default options and thus the built package - weirdly, in my view - doesn't include mod_php, though I bet most PHP users wanted it for that. cheers, Ian From on at cs.ait.ac.th Tue Mar 3 19:26:20 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Tue Mar 3 19:26:28 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 Message-ID: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> Hi, I have a couple of new Dell PowerEdge 2950 with 16GB RAM and I found the following issue when trying to install FreeBSD. FreeBSD i386 6.4_RELENG ======================= 8 GB RAM: OK except "acpi_alloc_makeop_handler: can't alloc wake memory" corrected with PR 120515 16GB RAM: panic: "pmap_mapdev: could'n allocate kernel vistual memory" when loading miibus 32GB RAM: panic as soon as the kernel loads, cannot read the error message (several pages) FreeBSD i386 7.1 ================ Plain distribution, I have not yet upgraded to RELENG. It reports for each CPU, on GENERIC and PAE kernel: cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 471b471b0600471b 8 GB RAM: OK 16GB RAM: OK 32GB RAM: panic as soon as the kernel loads I got the 32GB RAM by combining the memory from both servers. I'd prefer using legacy kernel (6.4) but I beleive 7.1 is OK too. One of the server will not be installed for a while and I could run test on it if I am directed what to doo. I can repost to a more appropriate list if I am told what list would be the best. TIA, Olivier From frank at shute.org.uk Tue Mar 3 20:05:48 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue Mar 3 20:05:56 2009 Subject: bsdstats not working in 7.1 In-Reply-To: <200903031415.03176.fbsd.questions@rachie.is-a-geek.net> References: <49AA6F75.2080602@a1poweruser.com> <20090301155935.GA15344@melon.esperance-linux.co.uk> <200903031415.03176.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090304040535.GA29767@melon.esperance-linux.co.uk> On Tue, Mar 03, 2009 at 02:15:03PM -0900, Mel wrote: > > On Sunday 01 March 2009 06:59:35 Frank Shute wrote: > > On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote: > > > bsdstats is now in the base system. > > > > On what? > > In PC-BSD since forever, maybe OP is confuzzled a bit ;) Ah! That confuzzled me too! For the OP's benefit: $ pkg_info -D bsdstats* Information for bsdstats-5.4_2: Install notice: This script, meant to be run monthly, submits statistics anonymously to a central checkin server (http://bsdstats.org), in an attempt to generate reasonably accurate demographics of both *BSD usage, as well as devices in use. Steps have been taken to make eliminate security concerns brought up in earlier releases of this, including, but not limited to, not storing anything in the database that has been deemed as 'sensitive' (ie. IP of the reporting server, and hostname). ******************** To enable monthly reporting, edit or create /etc/periodic.conf and add this line: monthly_statistics_enable="YES" To enable boottime reporting, edit or create /etc/rc.conf and add this line: bsdstats_enable="YES" To enable device reporting, add this line: monthly_statistics_report_devices="YES" To enable ports reporting, add this line: monthly_statistics_report_ports="YES" To run it manually the first time, just run it as: ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay To view current statistics, go to: http://www.bsdstats.org ******************** So it looks like the OPs system is just reporting on boot. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From lacalling at gmail.com Tue Mar 3 20:40:55 2009 From: lacalling at gmail.com (lacalling) Date: Tue Mar 3 20:41:02 2009 Subject: I cannot login coz bash is deinstalled Message-ID: I forget to change shell before I deinstalled bash. A errer occurs when i try to login with my user or root. And it returns to login. I can only login in with single user mode which freebsd proovide, but few tools are provided. How can I change my shell to sh without logining? I have a debian cd which can bring me to its shell,but when i mount /dev/hda ,it says no such device. Thanks. From on at cs.ait.ac.th Tue Mar 3 20:49:25 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Tue Mar 3 20:49:31 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: (message from lacalling on Wed, 4 Mar 2009 12:40:54 +0800) References: Message-ID: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> Hi, > How can I change my shell to sh without logining? You cannot! But what you can: - boot in singkle user mode - mount all your s=disks: mount -a - edit /etc/passwd with your favourite editor Bests, olivier From bryant.eadon at gmail.com Tue Mar 3 20:57:47 2009 From: bryant.eadon at gmail.com (Bryant Eadon) Date: Tue Mar 3 20:58:10 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: References: Message-ID: <49AE0A42.8010506@gmail.com> lacalling wrote: > I forget to change shell before I deinstalled bash. > A errer occurs when i try to login with my user or root. And it returns to > login. > > I can only login in with single user mode which freebsd proovide, but few > tools are provided. > > How can I change my shell to sh without logining? > > I have a debian cd which can bring me to its shell,but when i mount /dev/hda > ,it says no such device. > > Thanks. Have you tried 'chsh -s /bin/sh' ? mount /usr, it's in /usr/bin/chsh by default. This is one of the reasons to leave the root shell at a safe default. Alternatively, a different super-user account could be created to avoid this problem -- leaving root with it's mostly stock (safe) setup. From bryant.eadon at gmail.com Tue Mar 3 21:01:28 2009 From: bryant.eadon at gmail.com (Bryant Eadon) Date: Tue Mar 3 21:01:35 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: <49AE0A42.8010506@gmail.com> References: <49AE0A42.8010506@gmail.com> Message-ID: <49AE0B1F.7000704@gmail.com> Bryant Eadon wrote: > lacalling wrote: >> I forget to change shell before I deinstalled bash. >> A errer occurs when i try to login with my user or root. And it >> returns to >> login. >> >> I can only login in with single user mode which freebsd proovide, but few >> tools are provided. >> >> How can I change my shell to sh without logining? >> >> I have a debian cd which can bring me to its shell,but when i mount >> /dev/hda >> ,it says no such device. >> >> Thanks. > > Have you tried 'chsh -s /bin/sh' ? > mount /usr, it's in /usr/bin/chsh by default. > > This is one of the reasons to leave the root shell at a safe default. > Alternatively, a different super-user account could be created to avoid > this problem -- leaving root with it's mostly stock (safe) setup. > I should note that you'll need to be logged in as single user. And according to the man pages it should go something like this : /usr/bin/chsh -s /bin/sh root (not tested) From tajudd at gmail.com Tue Mar 3 21:02:16 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Mar 3 21:02:25 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> References: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> Message-ID: On Tue, Mar 3, 2009 at 9:49 PM, Olivier Nicole wrote: > Hi, > > > How can I change my shell to sh without logining? > > You cannot! > > But what you can: > > - boot in singkle user mode > - mount all your s=disks: mount -a > - edit /etc/passwd with your favourite editor > > Bests, > > olivier WRONG! DO NOT EDIT /etc/passwd DIRECTLY!!! vipw, or change your EDITOR environment variable to use something else other than vi. Otherwise correct. From lacalling at gmail.com Tue Mar 3 21:49:32 2009 From: lacalling at gmail.com (lacalling) Date: Tue Mar 3 21:49:41 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: References: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> Message-ID: I tried to vi /etc/passwd and change the path of shell to sh from bash. it did not work coz it is encrypted? anyway i suceessed with chsh finally. On Wed, Mar 4, 2009 at 1:02 PM, Tim Judd wrote: > > > On Tue, Mar 3, 2009 at 9:49 PM, Olivier Nicole wrote: > >> Hi, >> >> > How can I change my shell to sh without logining? >> >> You cannot! >> >> But what you can: >> >> - boot in singkle user mode >> - mount all your s=disks: mount -a >> - edit /etc/passwd with your favourite editor >> >> Bests, >> >> olivier > > > > WRONG! > > DO NOT EDIT /etc/passwd DIRECTLY!!! > vipw, or change your EDITOR environment variable to use something else > other than vi. > > Otherwise correct. > > From fbsd1 at a1poweruser.com Tue Mar 3 22:44:20 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Tue Mar 3 22:44:28 2009 Subject: autoconf262 package error Message-ID: <49AE2341.9070303@a1poweruser.com> When doing a pkg_add for autoconf262 it does not do auto package add for its dependents like other packages do. Some thing is wrong with the autoconf262 package on 7.1. From odhiambo at gmail.com Tue Mar 3 23:04:47 2009 From: odhiambo at gmail.com (Remorque) Date: Tue Mar 3 23:04:54 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> Message-ID: <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> On Wed, Mar 4, 2009 at 6:26 AM, Olivier Nicole wrote: > Hi, > > I have a couple of new Dell PowerEdge 2950 with 16GB RAM and I found > the following issue when trying to install FreeBSD. > > FreeBSD i386 6.4_RELENG > ======================= > > 8 GB RAM: OK except "acpi_alloc_makeop_handler: can't alloc wake > memory" corrected with PR 120515 > > 16GB RAM: panic: "pmap_mapdev: could'n allocate kernel vistual memory" > when loading miibus > > 32GB RAM: panic as soon as the kernel loads, cannot read the error > message (several pages) > > FreeBSD i386 7.1 > ================ > > Plain distribution, I have not yet upgraded to RELENG. > > It reports for each CPU, on GENERIC and PAE kernel: > > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 471b471b0600471b > > 8 GB RAM: OK > > 16GB RAM: OK > > 32GB RAM: panic as soon as the kernel loads > > I got the 32GB RAM by combining the memory from both servers. > > I'd prefer using legacy kernel (6.4) but I beleive 7.1 is OK too. > > One of the server will not be installed for a while and I could run > test on it if I am directed what to doo. > > I can repost to a more appropriate list if I am told what list would > be the best. > Hmm, while not adding any value, I thank God you started off this thread. I have two of those I should be installing any time now. However, I am going to use 7.1-STABLE on them. I see no reason why you should run 6.4 at all though. What's your motivation towards thaat angle? I suggest you install the 7.1 and update it to -STABLE then see if anything changes as regards the CPU (est message), while we wait for the magic word from the dedicated developers. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From perryh at pluto.rain.com Wed Mar 4 00:20:38 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Mar 4 00:20:45 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <200903030819.15001.fbsd.questions@rachie.is-a-geek.net> References: <22292723.post@talk.nabble.com> <200903030819.15001.fbsd.questions@rachie.is-a-geek.net> Message-ID: <49ae381d.MijmLnhnQSqk66ur%perryh@pluto.rain.com> > If the machines have floppies, there are downloadable floppy > images. Is anyone aware of a simple method to construct a bootable zip-drive image from the floppy images and/or bootonly.iso? From kline at thought.org Wed Mar 4 00:52:35 2009 From: kline at thought.org (Gary Kline) Date: Wed Mar 4 00:52:53 2009 Subject: Ports on Macbook In-Reply-To: <49AD21B1.6020208@bah.homeip.net> References: <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> <20090303032422.9490d9eb.freebsd@edvax.de> <49AD21B1.6020208@bah.homeip.net> Message-ID: <20090304082155.GC15637@thought.org> On Tue, Mar 03, 2009 at 01:25:21PM +0100, Bernt Hansson wrote: > Polytropon said the following on 2009-03-03 03:24: > >On Mon, 02 Mar 2009 20:22:50 +0100, Bernt Hansson > >wrote: > >>FBSD UG skrev: > >>>You're not buying the software, you buy a license to use it on one > >>>Apple computer. > > >>Mostly semantics, if I name my computer "APPLE" Then it's "legal" to > >>install. Crap, if I buy it I can install it on ANY computer. Does not > >>have to be a computer named "APPLE" it could be "IBM", "HP" or any other > >>brand or non brand. > > > >I think an important point is that you loose support from Apple > >if you're not installing Mac OS X on Apple brand hardware. > > That may be. But i'm not talking about apple specificly. > > >As for the license agreement, if you buy Mac OS X from the shelf > >(for example), you've not confirmed any contract-like agreement > >with Apple yet, but you've purchased some rights already, for > >example the right to burn the whole package (not a nice example > >but I'm sure you get the idea); the EULA mentions nothing about > >this (legally possible) behavior. > > Well, you have the right to make a backup. Is it that? > > >The Mac OS X versions sold along with the "Hackintosh" are no > >illegally pirated copies, they're "boxes" from the shelf. It's > >up to the customer what to do with it. > > Yes. Like with any digital file/s If this were only true! ...But as I understand it, corporations like the RIAA forbid me from making a backup of a CD or DVD that I *own*. (E.g, a 6-CD set of Shostokovich). Admittedly, it's getting OT to ask if it wasn't corporate greed that's causing the Global meltdown, but we come back to the point if we ask two straightforward questions: 1. What is ethical? 2. How much is too much? gary > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 01:46:15 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 01:46:22 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: References: Message-ID: > login. > > I can only login in with single user mode which freebsd proovide, but few > tools are provided. > > How can I change my shell to sh without logining? > run chsh on single user > I have a debian cd which can bring me to its shell,but when i mount /dev/hda > ,it says no such device. > > Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 01:46:31 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 01:46:38 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> Message-ID: > > I see no reason why you should run 6.4 at all though. What's your motivation > towards thaat angle? > > I suggest you install the 7.1 and update it to -STABLE then see if anything > changes as regards the CPU (est message), while we wait for the magic word > from the dedicated developers. > > > -- why not simply use /amd64? From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 01:46:52 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 01:46:58 2009 Subject: I cannot login coz bash is deinstalled In-Reply-To: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> References: <200903040449.n244nLMc052523@banyan.cs.ait.ac.th> Message-ID: > > - boot in singkle user mode > - mount all your s=disks: mount -a > - edit /etc/passwd with your favourite editor it won't work. databases must be rebuild, you have to use chsh or vipw From zszalbot at gmail.com Wed Mar 4 01:53:38 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Wed Mar 4 01:53:45 2009 Subject: tool to determine server stability issues Message-ID: <94136a2c0903040153l7844c353k81769342c424f62@mail.gmail.com> Hello, I am not sure if it was upgrade to perl 5.8.9 which started my problem, but anyway I am spotting a strange server behaviour. It will usually last about 5 minutes during which the system becomes unresponsive. Top tells me there are two perl processes run by user www both of which use 100% of a CPU%. The server has four CPUs so that's ok. What is strange, though is that during such a storm the outgoing bandwidth is all taken up and this is the reason server becomes unresponsive. Normally, it does happen that the bandwidth is taken almost completely by remote backup job but I have priority queueing with pf and it has never been a problem. A site will be served fast even though the bandwidth is taken up, because httpd traffic has higher priority. Also, in this particular case, backup job is not involved (especially that the perl processes are run by user www) so it must be something else. I have looked through apache's logs but I cannot seem to find anything strange (normal traffic without any type of DoS activity, etc.). I have turned on debugging in HotSanic which I use for traffic/system measurement but it would not generate outgoing traffic. I guess I am looking for advice how to debug this. I often spot the problem when it is about to end so I do not have enough time to start some a more detailed monitoring (also I am not sure which tool would be best to use). I'd appreciate any advice on how to troubleshoot and find out the source of the problem. Today, I have managed to run netstat during the outage (the ssh session was on so I was able to continue, otherwise I wouldn't get to the server). I can provide its output if it is of any use. I have never had anything like this before so I am in the dark here. I use FreeBSD 7.0-RELEASE-p9 #3. Many thanks in advance! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From freebsd-questions at pp.dyndns.biz Wed Mar 4 02:36:37 2009 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Wed Mar 4 02:36:44 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> Message-ID: <49AE59B1.4030406@pp.dyndns.biz> APseudoUtopia wrote: >> In my case I only see either "local" there or my smart host as defined >> in /var/mail/{hostname}.mc >> Can you provide a "diff -u" between /etc/mail/freebsd.mc and >> /etc/mail/{hostname}.mc ? >> >> /Morgan > > I'd switch over to postfix, but I'm only using this to send output > from cron and the daily security run scripts. I don't receive any mail > over the network, so I think it'd be pointless to go through the > effort of switching and configuring another MTA. > > Here's the diff. I figured it was too long to include in the email > (word wrap will make it hard to read :-P) > http://pastebin.ca/1352338 > I'm no expert on Sendmail but you are aware that "dnl" is Sendmail's way of commenting out a line, aren't you? In your config you have disabled pretty much every configuration file in /etc/mail, especially /etc/mail/access which defines who can relay mail through the local MTA. I'm pretty sure this isn't a good idea. Apart from this I couldn't see any major differences between your config and FreeBSD's default. Why not try to use the default config and make sure to populate /etc/mail/access with at least "127.0.0.1 RELAY" and try again? /Morgan From odhiambo at gmail.com Wed Mar 4 02:38:26 2009 From: odhiambo at gmail.com (Remorque) Date: Wed Mar 4 02:38:33 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> Message-ID: <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > >> I see no reason why you should run 6.4 at all though. What's your >> motivation >> towards thaat angle? >> >> I suggest you install the 7.1 and update it to -STABLE then see if >> anything >> changes as regards the CPU (est message), while we wait for the magic word >> from the dedicated developers. >> >> >> -- >> > why not simply use /amd64? You mean he changes the CPU? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From rock_on_the_web at comcen.com.au Wed Mar 4 03:17:05 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Mar 4 03:17:12 2009 Subject: ldap cn=config/slapd.d querying In-Reply-To: <1235619755.47624.18.camel@laptop1.herveybayaustralia.com.au> References: <1235619755.47624.18.camel@laptop1.herveybayaustralia.com.au> Message-ID: <1236165423.6517.21.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-02-26 at 13:42 +1000, Da Rock wrote: > This may be a stupid question, but I haven't been able to alight on the > answer to this. > > I'm investigating using dynamic configuration (cn=config or slapd.d > system- whichever term you like) for an ldap service, but as far as I > could see there is no way to change the setting on the fly through the > ldap itself: is this correct? > > Is it dynamic in that you can adjust the config manually correcting the > ldif files in the slapd.d directory knowing that the ldap server will > pick up the changes immediately? Or is there a way that an ldap client > (ldapmodify, luma, diradm, whatever) can access the config and change it > that way? > > Thanks in advance for humouring my dementia... :) Ok, so it did turn out to be a stupid question: the config is in a separate database, what is the real stopper to changing the config through ldap tools is the suffix. This limits the access to only the database not the config. So the answer to this is that the config MUST be changed via the ldif files in the directory (on the fly, that is). An interesting observation though: ldap can use SASL (gssapi = kerberos) to auth user access, and kerberos can use ldap as a backend... chicken and egg- slapd needs to auth with kerberos on startup as a service and kerberos could need to access ldap to reach the keys :) (if setup to use the ldap to store them of course) So what happens in a case like that? Does ldap startup enough to allow kerberos to access the backend? Or does slapd keep retrying to auth until it can? Or do we end up in an endless loop? :) I could probably keep coming up with more (my research into both these has turned up some interesting information)... From zszalbot at gmail.com Wed Mar 4 03:22:46 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Wed Mar 4 03:22:53 2009 Subject: tool to determine server stability issues In-Reply-To: <94136a2c0903040153l7844c353k81769342c424f62@mail.gmail.com> References: <94136a2c0903040153l7844c353k81769342c424f62@mail.gmail.com> Message-ID: <94136a2c0903040322s75077f3ajd83bc9bf22c3f1dd@mail.gmail.com> Hi there, > I am not sure if it was upgrade to perl 5.8.9 which started my > problem, but anyway I am spotting a strange server behaviour. It will I am continuing my searches for the problem and just have been able to find out this: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND www 44888 100.0 0.2 5976 3644 ?? R 11:46AM 2:35.18 /usr/sbin/httpd (perl5.8.9) root 14 96.3 0.0 0 8 ?? RL Fri08AM 7161:12.89 [idle: cpu0] www 44887 96.3 0.2 5976 3644 ?? R 11:46AM 2:34.58 /usr/sbin/httpd (perl5.8.9) The process dies as soon as it ends. But this is strange: $ l /usr/sbin/httpd ls: /usr/sbin/httpd: No such file or directory So it looks like these two processes made the machine unresponsive and generated a lot of outgoing traffic. However, the file does not exist. Any hint as to how to debug it further? I am determined to find the culprit. Thanks! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From apseudoutopia at gmail.com Wed Mar 4 04:05:39 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Wed Mar 4 04:05:47 2009 Subject: Cron Not Sending Mail In-Reply-To: <49AE59B1.4030406@pp.dyndns.biz> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> <49AE59B1.4030406@pp.dyndns.biz> Message-ID: <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesstr?m wrote: > APseudoUtopia wrote: >>> In my case I only see either "local" there or my smart host as defined >>> in /var/mail/{hostname}.mc >>> Can you provide a "diff -u" between /etc/mail/freebsd.mc and >>> /etc/mail/{hostname}.mc ? >>> >>> /Morgan >> >> I'd switch over to postfix, but I'm only using this to send output >> from cron and the daily security run scripts. I don't receive any mail >> over the network, so I think it'd be pointless to go through the >> effort of switching and configuring another MTA. >> >> Here's the diff. I figured it was too long to include in the email >> (word wrap will make it hard to read :-P) >> http://pastebin.ca/1352338 >> > > > I'm no expert on Sendmail but you are aware that "dnl" is Sendmail's way > of commenting out a line, aren't you? In your config you have disabled > pretty much every configuration file in /etc/mail, especially > /etc/mail/access which defines who can relay mail through the local MTA. > I'm pretty sure this isn't a good idea. Apart from this I couldn't see > any major differences between your config and FreeBSD's default. Why not > try to use the default config and make sure to populate /etc/mail/access > with at least "127.0.0.1 RELAY" and try again? > /Morgan Yeah, I am aware what "dnl" does. The reason I commented that stuff out is because I have no use for any of it - all those files (access, local-host-names, mailertable, virtusertable, etc) are all empty by default and I had no reason to add anything to them. I'll try going back to the default config and putting the RELAY line in the access file. Thanks once again for the help. I really do appreciate the time. From roberthuff at rcn.com Wed Mar 4 04:41:51 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Mar 4 04:42:00 2009 Subject: tool to determine server stability issues In-Reply-To: <94136a2c0903040322s75077f3ajd83bc9bf22c3f1dd@mail.gmail.com> References: <94136a2c0903040153l7844c353k81769342c424f62@mail.gmail.com> <94136a2c0903040322s75077f3ajd83bc9bf22c3f1dd@mail.gmail.com> Message-ID: <18862.30476.351969.153598@jerusalem.litteratus.org> Zbigniew Szalbot writes: > The process dies as soon as it ends. But this is strange: > > $ l /usr/sbin/httpd > ls: /usr/sbin/httpd: No such file or directory On my system: huff@> whereis httpd httpd: /usr/local/sbin/httpd /usr/local/man/man8/httpd.8.gz Someone's looking in the wrong place. (Unless you've twiddled /all/ the settings.) Robert Huff From michaelgrunewald at yahoo.fr Wed Mar 4 04:31:15 2009 From: michaelgrunewald at yahoo.fr (=?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?=) Date: Wed Mar 4 04:55:16 2009 Subject: Ports on Macbook In-Reply-To: <20090304082155.GC15637@thought.org> References: <20090227114529.GC91411@orion.ulstu.ru> <1235738361.6496.4.camel@lenzix.cwb.casa> <87DB90C7-3537-41A4-ABBF-C7682F0EE5F0@rgbaz.eu> <49A94AF0.7080603@bah.homeip.net> <49A965D1.7080309@bah.homeip.net> <78FFD3B7-837D-4AC4-8550-7719C3BF738C@rgbaz.eu> <49AC320A.5070203@bah.homeip.net> <20090303032422.9490d9eb.freebsd@edvax.de> <49AD21B1.6020208@bah.homeip.net> <20090304082155.GC15637@thought.org> Message-ID: <49AE672D.3080905@yahoo.fr> Gary Kline a ?crit : > If this were only true! ...But as I understand it, corporations like > the RIAA forbid me from making a backup of a CD or DVD that I *own*. > (E.g, a 6-CD set of Shostokovich). While this thread is off-list and is probably annoying many people here, I cannot refrain to point out that this kind of discussion is void unless it is studied in a given legal system. For example in France, a court may decide that a given clause in a EULA is void because it is unfairly restrictive, or because the customer was not properly informed, oe because it contradicts current usage, or whatever. Companies and particulars can write everything they want, this does not make a law. BTW I would like to point out that the question of validity of EULA is the same than the problem of validity of other software licences such as BSD or GPL: any of them will only be given a definitive answer in the front of a court. -- Cheers, Micha?l From lacalling at gmail.com Wed Mar 4 05:14:27 2009 From: lacalling at gmail.com (lacalling) Date: Wed Mar 4 05:14:35 2009 Subject: libX11 configure failed. Message-ID: I tried to install KDE4 on a freebsd which has few pkg installed. But configration aborted in libX11 that's the config.log in /usr/ports/libX11/.. and the output of make. -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 30880 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090304/d4a3478f/config.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: make_output.log Type: application/octet-stream Size: 7596 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090304/d4a3478f/make_output.obj From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 05:36:08 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 05:36:15 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> Message-ID: > anything > changes as regards the CPU (est message), while we wait for the magic word > from the dedicated developers. > > > -- > > why not simply use /amd64? > > > You mean he changes the CPU? > it's that CPU 64-bit capable? From noc at evolva.ro Wed Mar 4 05:46:30 2009 From: noc at evolva.ro (Evolva Telecom) Date: Wed Mar 4 05:46:39 2009 Subject: Mentenance work for mirrors.evolva.ro 04.03.2008 16 - 19 PM GMT+2 Message-ID: <20090304133127.BD492C66057@www.evolva.ro> Hello, Today mirrors.evolva.ro will be down 2-3 hours for mentenance work. The actual server will be replaced with a new one, more powerfull. We thank you for understanding. Have a great day. -- Daniel TOMUTA Junior System Administrator Evolva Telecom t: +4-021-9394 t: +4-021-200.93.94 t: +4-073-112.38.85 t: +4-074-616.06.05 f: +4-021-200.94.01 e: daniel.tomuta@evolva.ro GPG: http://www.evolva.ro/g/dt.gpg ---- From james.knoll at gmail.com Wed Mar 4 05:43:37 2009 From: james.knoll at gmail.com (james.knoll@gmail.com) Date: Wed Mar 4 06:01:40 2009 Subject: console display freezes at boot Message-ID: <0022152d62f1fe548804644ae7d8@google.com> I have a problem with my pc booting up. About 70% of the time, the console display freezes at the boot menu. The system still boots and I can ssh into the box and it will still serve web pages. I assume it is a problem with my hardware. I have tried an ubuntu live cd and it behaves similarly. Does anyone have any ideas? My problem now is I changed my sshd port to port 80 (please don't make fun of me) , but I forgot to shutdown lighttpd and so now I cannot ssh into the box. I appreciate any help you can give me. Jim From tajudd at gmail.com Wed Mar 4 06:04:03 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Mar 4 06:04:10 2009 Subject: Odd problem with DNS and IP change. In-Reply-To: <6.0.0.22.2.20090228173013.02810f18@mail.computinginnovations.com> References: <49A95AF8.2060608@gmail.com> <6.0.0.22.2.20090228173013.02810f18@mail.computinginnovations.com> Message-ID: On Sat, Feb 28, 2009 at 4:30 PM, Derek Ragona < derek@computinginnovations.com> wrote: > At 09:40 AM 2/28/2009, Andrei Brezan wrote: > >> Hello list, >> >> I have a strange problem and I don't know what to relate it to. My >> ISP >> changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone >> files to reflect that change. >> >> "dig -t mx domain.com" results in mail.domain.com 3600 IN A 15.1.1.1 >> (the new ip). However when i try: >> >> "ping mail.domain.com" it tries to get to 10.1.1.1 the old ip and gets >> time to live exceeded fro an ip along the route. When i try to ping >> domain.com it gets all ok as it pings the new ip. I've also tried dig >> @(forwarders in named.conf) and they to got the correct mx dns entry for >> domain.com. >> In rc.conf i have hostname="mail.domain.com" (eg), i haven't >> changed >> it, i'm thinking it's something related to hostid or hostuid but i don't >> know where to search for this topic. >> If anyone has a clue what to try or where to look upon this >> behavior >> please shed some light. >> >> Thank you. >> >> > Check /etc/hosts which is used before DNS. > > -Derek > Depends on your nsswitch.conf(5) setup. If dns is specified before files, DNS will be checked before /etc/hosts will be. It's all configurable and it's important to know the difference From lacalling at gmail.com Wed Mar 4 06:55:14 2009 From: lacalling at gmail.com (lacalling) Date: Wed Mar 4 06:55:37 2009 Subject: libX11 configure failed. In-Reply-To: References: Message-ID: libX11 configuration suggest that xcb doesnt meet require. I try to make xcb , but it requires to build libX11. Then I pkg_add -r xcb and portupgrade -a it failed again when configuring for libX11,which suggests again " Package requirements (xextproto xtrans xcb >= 1.1.92) were not met". how can i upgrade libX11 then? On Wed, Mar 4, 2009 at 9:14 PM, lacalling wrote: > I tried to install KDE4 on a freebsd which has few pkg installed. > > But configration aborted in libX11 > > that's the config.log in /usr/ports/libX11/.. > and the output of make. > From lists at bertram-scharpf.de Wed Mar 4 07:08:06 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Wed Mar 4 07:08:14 2009 Subject: /bin/sh does not read profile Message-ID: <20090304150803.GA30617@marge.bs.l> Hi, from "man sh": Invocation [...] When first starting, the shell inspects argument 0, and if it begins with a dash (`-'), the shell is also consid- ered a login shell. This is normally done automatically by the system when the user first logs in. A login shell first reads commands from the files /etc/profile and then .profile in a user's home directory, if they exist. [...] I use Slim (X login manager) which calls exec /bin/sh - ~/.xinitrc I first wondered why none of my commands in "/etc/profile" and "~/.profile" got executed. Finally, I modified "/usr/src/bin/sh/main.c" to trace what files are read, recompiled the "sh" command and: the only file that is executed is "~/.shrc". I just cannot believe that FreeBSD has such a severe bug. What is going wrong here? Thanks in advance, Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From freebsd-questions at pp.dyndns.biz Wed Mar 4 07:38:40 2009 From: freebsd-questions at pp.dyndns.biz (=?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?=) Date: Wed Mar 4 07:38:48 2009 Subject: Cron Not Sending Mail In-Reply-To: <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> <49AE59B1.4030406@pp.dyndns.biz> <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> Message-ID: <49AEA07C.7000904@pp.dyndns.biz> > Yeah, I am aware what "dnl" does. The reason I commented that stuff > out is because I have no use for any of it - all those files (access, > local-host-names, mailertable, virtusertable, etc) are all empty by > default and I had no reason to add anything to them. I'll try going > back to the default config and putting the RELAY line in the access > file. > > Thanks once again for the help. I really do appreciate the time. Sendmail is not an open relay by default so you need at least one RELAY entry in /etc/mail/access for it to forward mail externally. I'm still curious of where it picks up that www@localhost but chances are it will disappear as soon as you have a valid access config. /Morgan From amie at advice2all.com Wed Mar 4 08:44:51 2009 From: amie at advice2all.com (Amie) Date: Wed Mar 4 08:44:58 2009 Subject: Simple Sites Make Me 137.00 Daily! Message-ID: <200903041032.23w9r9A@advice2all.com> You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! Copy the URL into your browser for a free video http://www.advice.ne1.net/ From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 09:38:50 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 09:39:00 2009 Subject: Simple Sites Make Me 137.00 Daily! In-Reply-To: <200903041032.23w9r9A@advice2all.com> References: <200903041032.23w9r9A@advice2all.com> Message-ID: > You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" > Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! > My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. > Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! > Copy the URL into your browser for a free video http://www.advice.ne1.net/ > unbelievable how many people still believe money comes from heavens. couldn't the mailsystem be changed to allow posting from addresses only from registered users? From jerrymc at msu.edu Wed Mar 4 09:54:13 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Mar 4 09:54:20 2009 Subject: Simple Sites Make Me 137.00 Daily! In-Reply-To: References: <200903041032.23w9r9A@advice2all.com> Message-ID: <20090304175052.GA71179@gizmo.acns.msu.edu> On Wed, Mar 04, 2009 at 06:27:37PM +0100, Wojciech Puchar wrote: > >You Are About To See How A Simple Little Three Page Website Makes Me Over > >$137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To > >Build!" > >Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! > >My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 > >Years. > >Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! > >Copy the URL into your browser for a free video http://www.advice.ne1.net/ > > > unbelievable how many people still believe money comes from heavens. > > couldn't the mailsystem be changed to allow posting from addresses only > from registered users? That discussion has been had numerous times before. I think that in general the conclusion is always that since the questions list provides a primary point of support for FreeBSD users, and that many have reasons that they cannot subscribe or that it would be a problem for them to subscribe, that the annoyance from these trash messages is less than the benefit of leaving the list open. It is not hard to hit 'd' for delete or click on that box if you use a gui email reader. I suspect that the choice won't change now either. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From sneepre at mac.com Wed Mar 4 10:29:53 2009 From: sneepre at mac.com (Andrew Moran) Date: Wed Mar 4 10:30:00 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <200903031131.22493.fbsd.questions@rachie.is-a-geek.net> References: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com> <9B2E2AAB-0866-4D91-9A4A-4E2D81A342E6@mac.com> <649E6643-413F-41B4-AEFA-D94CFC809D00@me.com> <200903031131.22493.fbsd.questions@rachie.is-a-geek.net> Message-ID: <7CA8D1F9-5756-4113-B83F-6FF09B05D712@mac.com> On Mar 3, 2009, at 12:31 PM, Mel wrote: > On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote: >>> >>> >> >> Ok sadly that didn't seem to do much: >> >> celebrian# cat /boot/loader.conf >> kern.maxdsiz="8G" >> kern.defdsiz="4G" >> celebrian# > > Can you show limits -H -d? > [root@celebrian ~]# limits -H -d Resource limits (current): datasize 8388608 kB [root@celebrian ~]# >> I rebooted, but still see my memory being chewed up. Almost >> immediately after booting, one of my spamassassin processes spun out >> of control. Here's the top with it eating 16 gigs of memory: >> >> PID UID THR PRI NICE SIZE RES STATE C TIME WCPU >> COMMAND >> 1611 1030 1 68 0 15062M 818M CPU2 2 0:44 20.65% >> perl5.8.9 > > At this point, have your cd to a partition large enough to hold a > few 100 > megs, and type: > ktrace -p 1611 > > where 1611 is the PID of the perl process. You may want to be a bit > earlier > then this point. After a few seconds, type ktrace -C. Then kdump| > less. There > should be plenty of allocations there (*alloc* functions). I'll try to do this if I can catch it in the act. I've mitigated the problem by turning off swap completely, which means my system doesn't get bogged down but then it's less obvious when it's happening. I do seem to be seeing a lot of other processes dying as well: pid 53393 (perl5.8.9), uid 1030, was killed: out of swap space pid 53415 (sendmail), uid 0, was killed: out of swap space pid 53401 (imap-login), uid 143, was killed: out of swap space pid 53400 (imap-login), uid 143, was killed: out of swap space pid 53399 (imap-login), uid 143, was killed: out of swap space pid 53417 (procmail), uid 1030, was killed: out of swap space pid 47702 (sendmail), uid 0, was killed: out of swap space pid 53418 (perl5.8.9), uid 1030, was killed: out of swap space pid 53416 (procmail), uid 1030, was killed: out of swap space pid 971 (dovecot), uid 0: exited on signal 11 (core dumped) This morning i had to restart many of my services. The mystery continues. --Andy From list1 at gjunka.com Wed Mar 4 11:34:51 2009 From: list1 at gjunka.com (Grzegorz Junka) Date: Wed Mar 4 11:34:58 2009 Subject: Simple Sites Make Me 137.00 Daily! In-Reply-To: <20090304175052.GA71179@gizmo.acns.msu.edu> References: <200903041032.23w9r9A@advice2all.com> <20090304175052.GA71179@gizmo.acns.msu.edu> Message-ID: <49AED1A2.5020906@gjunka.com> Jerry McAllister wrote: > On Wed, Mar 04, 2009 at 06:27:37PM +0100, Wojciech Puchar wrote: > > >>> You Are About To See How A Simple Little Three Page Website Makes Me Over >>> $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To >>> Build!" >>> Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! >>> My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 >>> Years. >>> Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! >>> Copy the URL into your browser for a free video http://www.advice.ne1.net/ >>> >>> >> unbelievable how many people still believe money comes from heavens. >> >> couldn't the mailsystem be changed to allow posting from addresses only >> from registered users? >> > > That discussion has been had numerous times before. > I think that in general the conclusion is always that since the > questions list provides a primary point of support for FreeBSD users, > and that many have reasons that they cannot subscribe or that it > would be a problem for them to subscribe, that the annoyance from > these trash messages is less than the benefit of leaving the list open. > It is not hard to hit 'd' for delete or click on that box if you > use a gui email reader. > > I suspect that the choice won't change now either. > > ////jerry > > > I can't send emails to the address which I used to sign up to the list, and from which I am receiving emails from the list. The mailing list server simply rejects these emails. I don't know if this is a configuration problem, but I am glad that as long as such problems occur I can post messages using a different address. From tajudd at gmail.com Wed Mar 4 12:49:35 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Mar 4 12:49:43 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> Message-ID: On Wed, Mar 4, 2009 at 3:38 AM, Remorque wrote: > On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > > > > >> I see no reason why you should run 6.4 at all though. What's your > >> motivation > >> towards thaat angle? > >> > >> I suggest you install the 7.1 and update it to -STABLE then see if > >> anything > >> changes as regards the CPU (est message), while we wait for the magic > word > >> from the dedicated developers. > >> > >> > >> -- > >> > > why not simply use /amd64? > > > You mean he changes the CPU? > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "The only time a woman really succeeds in changing a man is when he is a > baby." > - Natalie Wood > All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support -> warranty -> original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. Good luck. From tajudd at gmail.com Wed Mar 4 12:49:57 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Mar 4 12:50:03 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> Message-ID: On Wed, Mar 4, 2009 at 3:38 AM, Remorque wrote: > On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > > > > >> I see no reason why you should run 6.4 at all though. What's your > >> motivation > >> towards thaat angle? > >> > >> I suggest you install the 7.1 and update it to -STABLE then see if > >> anything > >> changes as regards the CPU (est message), while we wait for the magic > word > >> from the dedicated developers. > >> > >> > >> -- > >> > > why not simply use /amd64? > > > You mean he changes the CPU? > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "The only time a woman really succeeds in changing a man is when he is a > baby." > - Natalie Wood > All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support -> warranty -> original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. Good luck. From tajudd at gmail.com Wed Mar 4 13:08:23 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Mar 4 13:08:29 2009 Subject: bsd.rd for FreeBSD install In-Reply-To: <49ae381d.MijmLnhnQSqk66ur%perryh@pluto.rain.com> References: <22292723.post@talk.nabble.com> <200903030819.15001.fbsd.questions@rachie.is-a-geek.net> <49ae381d.MijmLnhnQSqk66ur%perryh@pluto.rain.com> Message-ID: On Wed, Mar 4, 2009 at 1:13 AM, wrote: > > If the machines have floppies, there are downloadable floppy > > images. > > Is anyone aware of a simple method to construct a bootable > zip-drive image from the floppy images and/or bootonly.iso? problem is to create the zip disk bootable. Never tried this, would be COMPLETELY BIOS dependant, and I know of no sure-fire way to make it work. But the process would be the same. Install a bootloader on the zip disk, either install a bsd system, or copy the bootonly directories and files to the zip disk... then the zip would act as a bootonly cd... I've been shipped, by Iomega, a 750MB zip drive in wrong exchange by Iomega of a 2TB USB drive. I'm a little torqued. --TJ From lists at jnielsen.net Wed Mar 4 14:19:51 2009 From: lists at jnielsen.net (John Nielsen) Date: Wed Mar 4 14:19:59 2009 Subject: Anyone know SunFire hardware In-Reply-To: References: Message-ID: <200903041719.48213.lists@jnielsen.net> On Monday 02 March 2009 01:57:21 pm Paul Schmehl wrote: > We have FreeBSD installed on a SunFire box running two AMD Opteron > processors. I was upgrading to 7.1 STABLE on Friday, and after > installing the kernel I rebooted. Now the box is completely unusable. > Does anyone know how to get a SunFire box to boot from the CD ROM? Any > changes I make to the BIOS seem to be completely ignored. When I get > to the FreeBSD boot loader, I lose keyboard, so I can't even go to > single user mode. Not being able to boot off the CD is a royal pita. > > I've done some Googling, and the most common answer seems to be "hit > STOP+A", but there is no STOP key on an Intel keyboard. Is there a > magic incantation that will work? Maybe the entrails of a young goat? I've been working on an X2100 recently. Unfortunately it is running Linux but I was able to boot from both a FreeBSD CD (in an external USB CD drive) and a USB stick without issue. Keyboard was USB as well. F2 should take you to the BIOS setup screen, make sure you save your changes before exiting.. pretty standard AWARD-type BIOS. There's one screen where you can set the boot order between cdrom, hard drive, etc. and another submenu where you can set the hard drive boot priority. HTH, JN From claudiu.vasadi at gmail.com Wed Mar 4 16:06:52 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Mar 4 16:06:59 2009 Subject: the "yes" comand Message-ID: Hell-o, Ever wondered about the "yes" command? Well, I have. If one does "yes" into a terminal one get's an infinit output of "y" on a new line each time. What's the deal here? I saw the same thing on linux, but you only had to type "y" (those cheap blokes :P) So... what's going on ? From glen.j.barber at gmail.com Wed Mar 4 16:09:42 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Mar 4 16:09:51 2009 Subject: the "yes" comand In-Reply-To: References: Message-ID: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> On Wed, Mar 4, 2009 at 7:01 PM, Vasadi I. Claudiu Florin wrote: > Hell-o, > > Ever wondered about the "yes" command? Well, I have. If one does "yes" into > a terminal one get's an infinit output of "y" on a new line each time. > What's the deal here? > > I saw the same thing on linux, but you only had to type "y" (those cheap > blokes :P) > > So... what's going on ? man yes -- Glen Barber From claudiu.vasadi at gmail.com Wed Mar 4 16:11:56 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Mar 4 16:12:03 2009 Subject: the "yes" comand In-Reply-To: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> References: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> Message-ID: Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the sense of having some darn letter printer out forever ? I found it kind of silly If you ask me. From kurt.buff at gmail.com Wed Mar 4 16:15:36 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Wed Mar 4 16:15:43 2009 Subject: the "yes" comand In-Reply-To: References: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> Message-ID: On Wed, Mar 4, 2009 at 16:06, Vasadi I. Claudiu Florin wrote: > Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the > sense of having some darn letter printer out forever ? I found it kind of > silly If you ask me. But, incredibly useful if you actually write shell scripts - many programs want a 'y' for input from the stdin, and this will do that for you. Kurt From freebsd at celestial.com Wed Mar 4 16:17:49 2009 From: freebsd at celestial.com (Bill Campbell) Date: Wed Mar 4 16:17:56 2009 Subject: the "yes" comand In-Reply-To: References: Message-ID: <20090305001747.GA13774@ayn.mi.celestial.com> On Thu, Mar 05, 2009, Vasadi I. Claudiu Florin wrote: > Hell-o, > > Ever wondered about the "yes" command? Well, I have. If one does "yes" > into a terminal one get's an infinit output of "y" on a new line each > time. What's the deal here? The ``yes'' command is designed to automate interactive scripts that expect a repetitive string typed manually (e.g. something like fsck but without the ``-y'' option). One would use something like: yes | somecommand It takes a single string argument so if you had a program that always expected the string ``greblefarf'' one could use: yes greblefarf | yourcommand > I saw the same thing on linux, but you only had to type "y" (those cheap > blokes :P) I don't know what you're talking about here. To the best of my knowledge, the yes command works the same on every version of *nix I have used which goes as far back as Radio Shack Xenix in 1982 (the last real OS that Microsoft was responsible for :-). Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 The pinnacle of open systems is: when moving from vendor to vendor, the design flaws stay the same. From claudiu.vasadi at gmail.com Wed Mar 4 16:30:26 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Mar 4 16:30:33 2009 Subject: the "yes" comand In-Reply-To: <20090305001747.GA13774@ayn.mi.celestial.com> References: <20090305001747.GA13774@ayn.mi.celestial.com> Message-ID: thx Bill, got the picture now. From aryeh.friedman at gmail.com Wed Mar 4 18:09:46 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Wed Mar 4 18:09:55 2009 Subject: OT: saving thunderbird in mbox format Message-ID: <49AF345B.7030000@gmail.com> I am looking for someway to "export" my thunderbird mail boxs From prad at towardsfreedom.com Wed Mar 4 18:28:52 2009 From: prad at towardsfreedom.com (prad) Date: Wed Mar 4 18:28:59 2009 Subject: OT: saving thunderbird in mbox format In-Reply-To: <49AF345B.7030000@gmail.com> References: <49AF345B.7030000@gmail.com> Message-ID: <20090304182850.7e77e2cb@gom.home> On Wed, 04 Mar 2009 21:09:31 -0500 "Aryeh M. Friedman" wrote: > I am looking for someway to "export" my thunderbird mail boxs > if i recall correctly, these are already in mbox format which is readable by other email clients: http://support.detto.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=12 -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From amin.scg at gmail.com Wed Mar 4 19:42:48 2009 From: amin.scg at gmail.com (Aminuddin Abdullah) Date: Wed Mar 4 19:42:55 2009 Subject: FreeBSD 6.4+ PF Binat =>Degraded traffic after few hours hours. In-Reply-To: <20090304222006.AEB18106567C@hub.freebsd.org> References: <20090304222006.AEB18106567C@hub.freebsd.org> Message-ID: <49af433f.16048e0a.1d9f.fffffc09@mx.google.com> I have 2 servers running FreeBSD 6.4P#1 with standard SMP and each server has multiple IP alias bind to the bge1, Dell R200. # ifconfig -a bge0: flags=8802 mtu 1500 options=1b ether 00:19:b9:fa:0a:9f media: Ethernet autoselect (none) status: no carrier bge1: flags=8843 mtu 1500 options=1b inet x.x.72.23 netmask 0xffffff00 broadcast x.x.72.255 inet x.x.72.73 netmask 0xffffff00 broadcast x.x.72.255 inet x.x.72.74 netmask 0xffffff00 broadcast x.x.72.255 inet x.x.72.75 netmask 0xffffff00 broadcast x.x.72.255 inet x.x.72.76 netmask 0xffffff00 broadcast x.x.72.255 inet x.x.72.77 netmask 0xffffff00 broadcast x.x.72.255 ether 00:19:b9:fa:0a:a0 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 pflog0: flags=141 mtu 33208 tun0: flags=8051 mtu 1500 inet 10.10.10.1 --> 255.255.0.0 netmask 0xffffffff Opened by PID 1224 x.x.72.23 is the main IP and the rest are alias. Tun0 is the address created by openvpn. Following is the pf rules. EXT_IF= "bge1" INT_IF= "tun0" # Configured Networks EXT= "x.x.72.0/24" INT= "10.10.0.0/16" DMZ= "10.10.12.0/24" FW= "x.x.72.23" # DMZ Servers IP Addresses user1="10.10.12.2" user2="10.10.12.6" user3="10.10.12.10" user4="10.10.12.14" user5="10.10.12.18" #External IP Pool Mapping WEB_EXT1= "x.x.72.73" WEB_EXT2= "x.x.72.74" WEB_EXT3= "x.x.72.75" WEB_EXT4= "x.x.72.76" WEB_EXT5= "x.x.72.77" ######################################################### # NAT: Bi-directional NAT (one-to-one mapping) binat on $EXT_IF inet from $user1 to any -> $WEB_EXT1 binat on $INT_IF inet from $user1 to any -> $WEB_EXT1 binat on $EXT_IF inet from $user2 to any -> $WEB_EXT2 binat on $INT_IF inet from $user2 to any -> $WEB_EXT2 binat on $EXT_IF inet from $user3 to any -> $WEB_EXT3 binat on $INT_IF inet from $user3 to any -> $WEB_EXT3 binat on $EXT_IF inet from $user4 to any -> $WEB_EXT4 binat on $INT_IF inet from $user4 to any -> $WEB_EXT4 binat on $EXT_IF inet from $user5 to any -> $WEB_EXT5 binat on $INT_IF inet from $user5 to any -> $WEB_EXT5 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT1 port 1024:65000 -> $user1 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT2 port 1024:65000 -> $user2 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT3 port 1024:65000 -> $user3 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT4 port 1024:65000 -> $user4 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT5 port 1024:65000 -> $user5 pass all pass out on $EXT_IF proto {tcp,udp,icmp} from any to any keep state ------------------------------- It's a very simple pf.rules with no block rules. Main purpose to map vpn user to dedicated public IP. It was working great the last few months but lately it has been giving a terrible performance after a few hours of running the servers. SSH is not accessible, traffic and routing is very slow. Is the anything wrong with above configuration or 6.4 kernel with regards to PF and OpenVPN? The servers are not having any custom setting sysctl.conf or loader.conf or rc.conf except the enabling openvpn, firewall and sshd. Restarting sshd will provide remote access again or rebooting the server. Is there any known memory leaked for pf in this configuration? Is there a better and efficient way of doing this in PF or is it better to use ipfw? When this happen (no ssh), all ping to the alias IPs resulted in timeout. Only the main IP will respond. Server RAM is 1GB and during this issue, top shows ---------------top------------ last pid: 4163; load averages: 0.36, 0.29, 0.21 up 0+21:10:26 11:11:58 21 processes: 1 running, 20 sleeping CPU: 2.3% user, 0.0% nice, 6.0% system, 3.9% interrupt, 87.8% idle Mem: 15M Active, 233M Inact, 241M Wired, 76K Cache, 111M Buf, 503M Free Swap: 1951M Total, 1951M Free -------------------------- Anyone? TIA. From frank at shute.org.uk Wed Mar 4 20:15:16 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Mar 4 20:15:23 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090304150803.GA30617@marge.bs.l> References: <20090304150803.GA30617@marge.bs.l> Message-ID: <20090305041505.GA35138@melon.esperance-linux.co.uk> On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote: > > Hi, > > from "man sh": > > Invocation > [...] When first starting, the shell inspects > argument 0, and if it begins with a dash (`-'), the shell is also consid- > ered a login shell. This is normally done automatically by the system > when the user first logs in. A login shell first reads commands from the > files /etc/profile and then .profile in a user's home directory, if they > exist. [...] > > I use Slim (X login manager) which calls > > exec /bin/sh - ~/.xinitrc Usually ~/.xinitrc is parsed by the X server when it starts (startx is just a Bourne shell script) and you exec the last command (the window manager) in your ~/.xinitrc I've never before seen the syntax you've used and I think it comes from a misunderstanding of the manpage for sh and/or it's a bashism or a typo. E.g: /bin/sh -c somecommand (login shell - arg 0 starts with a dash) /bin/sh somecommand (not a login shell) > > I first wondered why none of my commands in "/etc/profile" and > "~/.profile" got executed. Finally, I modified > "/usr/src/bin/sh/main.c" to trace what files are read, recompiled > the "sh" command and: the only file that is executed is "~/.shrc". > > I just cannot believe that FreeBSD has such a severe bug. What is > going wrong here? > > Thanks in advance, > > Bertram > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From wojtek at wojtek.tensor.gdynia.pl Wed Mar 4 22:36:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 4 22:36:11 2009 Subject: the "yes" comand In-Reply-To: References: Message-ID: if you have program that do too much questions like (are you sure), and you are sure then you do yes|program On Thu, 5 Mar 2009, Vasadi I. Claudiu Florin wrote: > Hell-o, > > Ever wondered about the "yes" command? Well, I have. If one does "yes" into a > terminal one get's an infinit output of "y" on a new line each time. What's > the deal here? > > I saw the same thing on linux, but you only had to type "y" (those cheap > blokes :P) > > So... what's going on ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From m.seaman at infracaninophile.co.uk Wed Mar 4 23:19:28 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Mar 4 23:19:36 2009 Subject: the "yes" comand In-Reply-To: References: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> Message-ID: <49AF7CEB.90901@infracaninophile.co.uk> Kurt Buff wrote: > On Wed, Mar 4, 2009 at 16:06, Vasadi I. Claudiu Florin > wrote: >> Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the >> sense of having some darn letter printer out forever ? I found it kind of >> silly If you ask me. > > But, incredibly useful if you actually write shell scripts - many > programs want a 'y' for input from the stdin, and this will do that > for you. Here's an example. When upgrading FreeBSD, especially over a large delta in version numbers, you will frequently need to delete old files etc. that are no longer part of the base system. You are provided with a mechanism to do that, viz: # cd /usr/src # make check-old {prints out all old files, directories and libraries to be deleted} # make delete-old {prompts you to delete anything apart from shlibs which it won't touch} However 'make delete-old' will ask you whether you want to delete each and every individual file, which is tedious. If you decide from your inspection of the 'make check-old' output that you don't want any of the old files, you can just run: # yes | make delete-old Job done. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090305/616b9d32/signature.pgp From zszalbot at gmail.com Wed Mar 4 23:29:13 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Wed Mar 4 23:29:19 2009 Subject: tool to determine server stability issues In-Reply-To: <18862.30476.351969.153598@jerusalem.litteratus.org> References: <94136a2c0903040153l7844c353k81769342c424f62@mail.gmail.com> <94136a2c0903040322s75077f3ajd83bc9bf22c3f1dd@mail.gmail.com> <18862.30476.351969.153598@jerusalem.litteratus.org> Message-ID: <94136a2c0903042329o16bf07f4y8b31fa6550dd4f68@mail.gmail.com> Hello, On Wed, Mar 4, 2009 at 13:41, Robert Huff wrote: > ? ? ? ?On my system: > > huff@> whereis httpd > httpd: /usr/local/sbin/httpd /usr/local/man/man8/httpd.8.gz > > ? ? ? ?Someone's looking in the wrong place. ?(Unless you've twiddled > /all/ the settings.) Thank you Robert and some information for the rest. It turns out these two prcoesses looking for /usr/sbin/httpd were zombies so to say (and they were the cause of my problems). Someone used a php script vulnarability and placed a script in /tmp. Apart from looking for security holes in php scripts, I am going to monitor /tmp. I am embarrased to say I haven't done that so far. I am writing it to warn people like myself. All the best, -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From guru at unixarea.de Thu Mar 5 00:14:17 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Mar 5 00:14:25 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written Message-ID: <20090305081407.GA2242@rebelion.Sisis.de> Hello, I've just bought a new USB key. The label claims "8 GByte" which is the first lying; it shows up as only ~7.5 GByte in /var/log/messages, but there seems to be another bigger problem: Mar 5 08:48:32 rebelion root: Unknown USB device: vendor 0x1307 product 0x0165 bus uhub4 Mar 5 08:48:33 rebelion kernel: umass0: on uhub4 Mar 5 08:48:33 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 5 08:48:33 rebelion kernel: da0: Removable Direct Access SCSI-2 device Mar 5 08:48:33 rebelion kernel: da0: 40.000MB/s transfers Mar 5 08:48:33 rebelion kernel: da0: 7712MB (15794176 512 byte sectors: 255H 63S/T 983C) Mar 5 08:48:35 rebelion kernel: GEOM_LABEL: Label for provider da0 is msdosfs/pen disk. # mount -t msdosfs /dev/da0 /mnt Mar 5 08:50:18 rebelion kernel: GEOM_LABEL: Label msdosfs/pen disk removed. # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0 7.5G 48K 7.5G 0% /mnt # ls -lh file total 3745826 -r--r--r-- 1 guru wheel 1,7G 16 may 2007 file # time cat file file file > /mnt/big cat: stdout: No space left on device 0.194u 13.064s 8:46.32 2.5% 10+1100k 33429+65536io 0pf+0w # ls -lh /mnt/big -rwxr-xr-x 1 root wheel 4,0G 5 mar 09:01 /mnt/big # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0 7.5G 7.5G 0B 100% /mnt How is this possible that ls(1) shows 4G while df(1) 7.5G used? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From prad at towardsfreedom.com Thu Mar 5 00:15:35 2009 From: prad at towardsfreedom.com (prad) Date: Thu Mar 5 00:15:42 2009 Subject: backup files from editor Message-ID: <20090305001531.75f2495b@gom.home> editors can produce backup files - eg emacs adds a ~ to the backup file. the backup file keeps getting changed as you make changes to the original so you i'm wondering what the point of them is. i turn off backups (so my directory doesn't fill up with ~ files), but then i also don't space things properly and occasionally use cryptic names when programming (from what my son tells me), so i figure i should change some of these bad habits. how do people make use of the backup feature when they program? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From dkarapet at nd.edu Thu Mar 5 00:28:51 2009 From: dkarapet at nd.edu (David Karapetyan) Date: Thu Mar 5 00:28:58 2009 Subject: Quirk with latex-suite] Message-ID: <20090305082846.GF2705@vagrant.math.nd.edu> Hello; I am having a funny little problem with latex-suite. When I press , and am prompted with a list of environments to insert, no matter which I choose, it is inserted with a superfluous " that appears right before the cursor. So, for example, \begin{equation} "cursor_is_here \end{equation} Does latex-suite do this by default? What file do I need to edit to change this setting (I'd like to get rid of the quote mark). -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From wojtek at wojtek.tensor.gdynia.pl Thu Mar 5 00:36:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Mar 5 00:36:14 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305081407.GA2242@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> Message-ID: > Mar 5 08:48:33 rebelion kernel: umass0: on uhub4 > Mar 5 08:48:33 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Mar 5 08:48:33 rebelion kernel: da0: Removable Direct Access SCSI-2 device > Mar 5 08:48:33 rebelion kernel: da0: 40.000MB/s transfers > Mar 5 08:48:33 rebelion kernel: da0: 7712MB (15794176 512 byte sectors: 255H 63S/T 983C) > Mar 5 08:48:35 rebelion kernel: GEOM_LABEL: Label for provider da0 is msdosfs/pen disk. > > # mount -t msdosfs /dev/da0 /mnt > > Mar 5 08:50:18 rebelion kernel: GEOM_LABEL: Label msdosfs/pen disk removed. > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0 7.5G 48K 7.5G 0% /mnt > > # ls -lh file > total 3745826 > -r--r--r-- 1 guru wheel 1,7G 16 may 2007 file > > # time cat file file file > /mnt/big > cat: stdout: No space left on device > 0.194u 13.064s 8:46.32 2.5% 10+1100k 33429+65536io 0pf+0w > msdosfs bug or strangely made msdos filesystem on that pendrive. if you use it FreeBSD only, clear first 4kB with dd, then do newfs and use as UFS if not - use newfs_msdos From wojtek at wojtek.tensor.gdynia.pl Thu Mar 5 00:37:02 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Mar 5 00:37:18 2009 Subject: Quirk with latex-suite] In-Reply-To: <20090305082846.GF2705@vagrant.math.nd.edu> References: <20090305082846.GF2705@vagrant.math.nd.edu> Message-ID: > Hello; I am having a funny little problem with latex-suite. When I press > , and am prompted with a list of environments to insert, no matter > which I choose, it is inserted with a superfluous " that appears right > before the cursor. So, for example, > > \begin{equation} > "cursor_is_here > \end{equation} > > Does latex-suite do this by default? What file do I need to edit to > change this setting (I'd like to get rid of the quote mark). it's really NTG. ask on some TeX support groups. From chuckop at gmail.com Thu Mar 5 01:09:32 2009 From: chuckop at gmail.com (Charles Oppermann) Date: Thu Mar 5 01:09:40 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: References: <20090305081407.GA2242@rebelion.Sisis.de> Message-ID: <200903050109.27668.chuckop@gmail.com> > > 08:48:33 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 5 > > 08:48:33 rebelion kernel: da0: Removable > > Direct Access SCSI-2 device Mar 5 08:48:33 rebelion kernel: da0: > > 40.000MB/s transfers > > Mar 5 08:48:33 rebelion kernel: da0: 7712MB (15794176 512 byte sectors: > > 255H 63S/T 983C) Mar 5 08:48:35 rebelion kernel: GEOM_LABEL: Label for > > provider da0 is msdosfs/pen disk. > > # mount -t msdosfs /dev/da0 /mnt > > msdosfs bug or strangely made msdos filesystem on that pendrive. > if you use it FreeBSD only, clear first 4kB with dd, then do newfs and > use as UFS > if not - use newfs_msdos Wouldn't it be /dev/da0s1? Is it possible that the drive hasn't been formatted properly? From guru at unixarea.de Thu Mar 5 01:32:12 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Mar 5 01:32:19 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <200903050109.27668.chuckop@gmail.com> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> Message-ID: <20090305093208.GA4342@rebelion.Sisis.de> El d?a Thursday, March 05, 2009 a las 01:09:27AM -0800, Charles Oppermann escribi?: > > > > 08:48:33 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 5 > > > 08:48:33 rebelion kernel: da0: Removable > > > Direct Access SCSI-2 device Mar 5 08:48:33 rebelion kernel: da0: > > > 40.000MB/s transfers > > > Mar 5 08:48:33 rebelion kernel: da0: 7712MB (15794176 512 byte sectors: > > > 255H 63S/T 983C) Mar 5 08:48:35 rebelion kernel: GEOM_LABEL: Label for > > > provider da0 is msdosfs/pen disk. > > > # mount -t msdosfs /dev/da0 /mnt > > > > msdosfs bug or strangely made msdos filesystem on that pendrive. > > if you use it FreeBSD only, clear first 4kB with dd, then do newfs and > > use as UFS > > if not - use newfs_msdos > > Wouldn't it be /dev/da0s1? Is it possible that the drive hasn't been > formatted properly? I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; maybe I should do # newfs_msdos /dev/da0 ??? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From wojtek at wojtek.tensor.gdynia.pl Thu Mar 5 01:48:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Mar 5 01:48:13 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305093208.GA4342@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> Message-ID: >> formatted properly? > > I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > maybe I should do > > # newfs_msdos /dev/da0 yes. anyway - windoze at least XP no more needs partitions on such devices. > > ??? > > Thx > > matthias > -- > Matthias Apitz > Manager Technical Support - OCLC GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.oclc.org/ http://www.UnixArea.de/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Thu Mar 5 01:49:00 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Mar 5 01:49:07 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305093208.GA4342@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> Message-ID: >> formatted properly? > > I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > maybe I should do > > # newfs_msdos /dev/da0 > > ??? to be sure do dd if=/dev/zero of=/dev/da0 bs=64k count=1 before to clean anything from beginning, if any mess is there. From fbsd1 at a1poweruser.com Thu Mar 5 01:52:54 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Thu Mar 5 01:53:01 2009 Subject: php5 changes in release 8.0 Message-ID: <49AFA0F4.2050400@a1poweruser.com> Having problems installing php5 in 7.1 so tried 8.0 and see that in release 8.0 php5 in defaulting to apache 22 when apache interface is selected from the make config menu. The config menu should give option to select apache 13 or apache 22 not force apache 22 on the user community. Is the maintainer going to change the config menu before php5 8.0 is released for production? From dhaneshkk at hotmail.com Thu Mar 5 02:32:34 2009 From: dhaneshkk at hotmail.com (dhaneshk k) Date: Thu Mar 5 02:32:41 2009 Subject: password protection for RewriteRule Message-ID: List; I am using apache2.2 I need to do a password protected access to a website eg www.mydomain.com I have this Vhost configuration in my httpd-Vhost.conf ServerName mydomain.com RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/www.mydomain.com:80/site1/VirtualHostRoot/$1 [L,P] ErrorLog /var/log/apache/mysite.com/error_log CustomLog /var/log/apache/mysite.com/access.log combined Now anybody in their browse type www.mydomain.com they can view my site , but I want to make them to enter a username & password to view the site . How can I do a password protected access to my site for this RewriteRule based Vhost ( I know that I can do .htaccess & .htpasswd based authentication for directories in apache . ) But for RewriteRule is it possible ? How ? I appreciate very much for your valuable suggestions & hints to how to do that . Thanks in advance Dhanesh. _________________________________________________________________ So many new options, so little time. Windows Live Messenger. http://www.microsoft.com/india/windows/windowslive/messenger.aspx From ohartman at zedat.fu-berlin.de Thu Mar 5 02:49:32 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Mar 5 02:49:38 2009 Subject: FreeBSD 7.1-STABLE/amd64: pkg_delete core dumps Message-ID: <49AFADCE.9050606@zedat.fu-berlin.de> Since several weeks now /usr/sbin/pkg_delete core dumps whenever I try to delete an obsolete package or portupgrade tries to do so. The box is a Quad Core most recent FreeBSD 7.1-STABLE box as built world of today's sources. Regards, Oliver From michaelgrunewald at yahoo.fr Thu Mar 5 03:44:41 2009 From: michaelgrunewald at yahoo.fr (=?ISO-8859-1?Q?Gr=FCnewald_Micha=EBl?=) Date: Thu Mar 5 03:44:49 2009 Subject: backup files from editor In-Reply-To: <20090305001531.75f2495b@gom.home> References: <20090305001531.75f2495b@gom.home> Message-ID: Hi prad, Le 5 mars 09 ? 09:15, prad a ?crit : > editors can produce backup files - eg emacs adds a ~ to the backup > file. the backup file keeps getting changed as you make changes to the > original so you i'm wondering what the point of them is. Please refer to the Emacs manual (info m Emacs) to learn about the precise rule governing backup files. Just like you, I do not like to have all of these backup files springing off everywhere in my filesystem. Instead of turning backup off, I tell emacs to put them in the `.emacs.d/backup' I created for this purpose: (setq backup-directory-alist '((".*" . "~/.emacs.d/backup"))) You can get a finer control on backup location, read documentation for the bariable `backup-directory-alist' to discover how. Note that this setup tends to produce super long file named in `~/.emacs.d/backup' which may break some fragile systems (e.g. I encountered problems when preparing ISO filesystems not supporting these long names). > i turn off backups (so my directory doesn't fill up with ~ files), but > then i also don't space things properly and occasionally use cryptic > names when programming (from what my son tells me), so i figure i > should change some of these bad habits. > > how do people make use of the backup feature when they program? Note that basic functionalities of RCS systems are well integrated in Emacs (see the Tools menu), and I systematically use SVN (in the ports) as a sophisticated backup system when I edit files that count. Note that the FreeBSD wiki features an intereting comparison of the various RCS systems available, so if you are interested with this approach, you can look for this comparison and make your choice. You can also use RCS without the (moderate) hassle to set up a repository, Emacs has support for an `immediate' RCS system, doubling the files you want to keep track of with a `,v' companion file, containing revision history. (IIRC, this RCS system is the ancestor of CVS, but I cannot find again the name, sorry about this.) -- All the best, Micha?l From wmoran at potentialtech.com Thu Mar 5 04:40:08 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Mar 5 04:40:16 2009 Subject: php5 changes in release 8.0 In-Reply-To: <49AFA0F4.2050400@a1poweruser.com> References: <49AFA0F4.2050400@a1poweruser.com> Message-ID: <20090305074004.f2437571.wmoran@potentialtech.com> In response to Fbsd1 : > Having problems installing php5 in 7.1 so tried 8.0 and see that in > release 8.0 php5 in defaulting to apache 22 when apache interface is > selected from the make config menu. The config menu should give option > to select apache 13 or apache 22 not force apache 22 on the user > community. Is the maintainer going to change the config menu before php5 > 8.0 is released for production? If you want a different version of Apache, all you have to do is install Apache first, then PHP will use the version you have installed. It's always been that way. It's just that up till now the default was 1.3. It's _LOOONG_ past time when the default should have moved to 2.X. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From lists at bertram-scharpf.de Thu Mar 5 05:24:02 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Thu Mar 5 05:24:10 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090305041505.GA35138@melon.esperance-linux.co.uk> References: <20090304150803.GA30617@marge.bs.l> <20090305041505.GA35138@melon.esperance-linux.co.uk> Message-ID: <20090305132352.GA8574@marge.bs.l> Hi Frank, Am Donnerstag, 05. M?r 2009, 04:15:05 +0000 schrieb Frank Shute: > On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote: > > from "man sh": > > > > Invocation > > [...] the shell inspects > > argument 0, and if it begins with a dash (`-'), the shell is also consid- > > ered a login shell. [...] A login shell first reads commands from the > > files /etc/profile and then .profile in a user's home directory, if they > > exist. [...] > > > > I use Slim (X login manager) which calls > > > > exec /bin/sh - ~/.xinitrc > > I've never before seen the syntax you've used and I think it comes > from a misunderstanding of the manpage for sh and/or it's a bashism or > a typo. It's the original FreeBSD port. > E.g: > > /bin/sh -c somecommand (login shell - arg 0 starts with a dash) Sorry, this doesn't call /etc/profile either. $ uname -v FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From jalmberg at identry.com Thu Mar 5 05:53:50 2009 From: jalmberg at identry.com (John Almberg) Date: Thu Mar 5 05:53:57 2009 Subject: Battery powered, SBC that can run BSD Message-ID: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> Hope this isn't too off topic... And I'm not sure of my terminology... I'm looking for a small, single board computer that can run for a week or two on batteries (so very low power drain), topped up by solar cells when the sun is out, and that can run some sort of unix... preferably one of the BSDs. No hard drive, obviously, or any other power draining peripherals. The user interface would be a low powered LCD display plus some buttons. The application is for a custom measuring instrument that would run in a marine environment. I've been Googling for it for the last hour, but can't find what I'm looking for. Any ideas much appreciated. -- John From wmoran at potentialtech.com Thu Mar 5 06:04:21 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Mar 5 06:04:29 2009 Subject: ClamAV execusion died without error messages In-Reply-To: <51E3D55451E04BFC97DDD30607FE1B58@Ming> References: <20090301193633.c9ed3807.wmoran@potentialtech.com> <51E3D55451E04BFC97DDD30607FE1B58@Ming> Message-ID: <20090305090418.fd23b85f.wmoran@potentialtech.com> In response to "Ming Tang" : > I did not find any other error messages in log files. The following lines > appeared in the section for "kernel log messages" in daily email message for > Security Run Output. > > > pid 840 (freshclam), uid 1#: exited on signal 11 This is a "segmentation violation". It means the program is trying to access memory that it never allocated (i.e., it's trying to access memory belonging to another process). This generally happens in 1 of 3 cases: 1) The program is a virus, etc trying to steal data from other programs. 2) The program was written poorly and has memory management bugs. 3) Your hardware (RAM) is buggy and memory bits are flipping by accident causing unpredictable memory access. http://en.wikipedia.org/wiki/Segmentation_violation > > pid 875 (clamd), uid 1#: exited on signal 10 This is a more unusual error, but still related to memory: http://en.wikipedia.org/wiki/Bus_error This error is more difficult to create using software than a segfault. My theory at this point is that you either a) downloaded precompiled packages that are not supported by your hardware. b) built these from ports with funky CFLAGS settings My recommendation would be to start out by deinstalling clam, and rebuilding it from ports, ensuring that your /etc/make.conf settings are all set to defaults. If the problem persists, install a program like memtest86, or use some other RAM tester to ensure that your hardware is solid. HTH -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From mtang17 at comcast.net Thu Mar 5 05:50:40 2009 From: mtang17 at comcast.net (Ming Tang) Date: Thu Mar 5 06:06:35 2009 Subject: ClamAV execusion died without error messages In-Reply-To: <20090301193633.c9ed3807.wmoran@potentialtech.com> Message-ID: <51E3D55451E04BFC97DDD30607FE1B58@Ming> I did not find any other error messages in log files. The following lines appeared in the section for "kernel log messages" in daily email message for Security Run Output. > pid 840 (freshclam), uid 1#: exited on signal 11 > pid 875 (clamd), uid 1#: exited on signal 10 I am not sure what they mean exactly. Thanks. - Ming -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com] Sent: Sunday, March 01, 2009 6:37 PM To: Ming Tang Cc: freebsd-questions@freebsd.org Subject: Re: ClamAV execusion died without error messages "Ming Tang" wrote: > > Bill, > > Thank you for the response. > > I tried and did not figure out where is the problem. I am attaching > the command line prompts and clamd.log and freshclam.log content here. > > ns1# > ns1# ./clamav-clamd.sh status > clamav_clamd is not running. > ns1# ./clamav-clamd.sh start > Starting clamav_clamd. > LibClamAV Warning: ************************************************** > LibClamAV Warning: *** The virus database is older than 7 days! *** > LibClamAV Warning: *** Please update it as soon as possible. *** > LibClamAV Warning: ************************************************** > ns1# ./clamav-clamd.sh status > clamav_clamd is not running. > ns1# > > ns1# cat clamd.log > +++ Started at Sat Feb 28 10:43:36 2009 > clamd daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) Running as > user clamav (UID 1#, GID 1#) Log file size limited to 1048576 bytes. > Reading databases from /var/db/clamav > Not loading PUA signatures. > Loaded 455125 signatures. > LOCAL: Removing stale socket file /var/run/clamav/clamd.sock > LOCAL: Unix socket file /var/run/clamav/clamd.sock > LOCAL: Setting connection queue length to 15 > Limits: Global size limit set to 104857600 bytes. > Limits: File size limit set to 26214400 bytes. > Limits: Recursion level limit set to 16. > Limits: Files limit set to 10000. > Archive support enabled. > Algorithmic detection enabled. > Portable Executable support enabled. > ELF support enabled. > Mail files support enabled. > OLE2 support enabled. > PDF support enabled. > HTML support enabled. > Self checking every 1800 seconds. > > ...... > > ns1# > ns1# ./clamav-freshclam.sh status > clamav_freshclam is not running. > ns1# ./clamav-freshclam.sh start > Starting clamav_freshclam. > ns1# ./clamav-freshclam.sh status > clamav_freshclam is not running. > ns1# > > ns1# cat freshclam1.log > -------------------------------------- > freshclam daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386) That's certainly strange. Try starting the processes manually instead of using the rc scripts, and see if they exit with an error of some sort. Also, I seem to remember having difficult with permissions under some circumstances, where the processes couldn't write to directories they needed -- check that both clamd and freshclam are running as the same user/group. See if you're getting core files anywhere (check /var/log/messages for coredump messages). Audit your config files and make sure nothing is out of sorts. Sorry I can't give you any more specific information, but I've not seen the problem you're having. -- Bill Moran http://www.potentialtech.com From guru at unixarea.de Thu Mar 5 06:12:21 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Mar 5 06:12:35 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> Message-ID: <20090305141217.GA11424@rebelion.Sisis.de> El d?a Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar escribi?: > >>formatted properly? > > > >I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > >maybe I should do > > > ># newfs_msdos /dev/da0 > > > >??? > > to be sure do > > dd if=/dev/zero of=/dev/da0 bs=64k count=1 > > before to clean anything from beginning, if any mess is there. to end this threat, I did: # dd if=/dev/zero of=/dev/da0 bs=64k count=1 # newfs_msdos /dev/da0 # mount -t msdosfs /dev/da0 /mnt # time cat file file file > /mnt/big cat: stdout: File too large 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0 7.5G 4.0G 3.5G 53% /mnt i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as free; the write speed is 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From freebsd at optimis.net Thu Mar 5 06:12:21 2009 From: freebsd at optimis.net (George Davidovich) Date: Thu Mar 5 06:12:36 2009 Subject: Battery powered, SBC that can run BSD In-Reply-To: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> References: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> Message-ID: <20090305141220.GA2423@marvin.optimis.net> On Thu, Mar 05, 2009 at 08:53:45AM -0500, John Almberg wrote: > I'm looking for a small, single board computer that can run for a > week or two on batteries (so very low power drain), topped up by > solar cells when the sun is out, and that can run some sort of > unix... preferably one of the BSDs. No hard drive, obviously, or any > other power draining peripherals. > > The user interface would be a low powered LCD display plus some > buttons. > > The application is for a custom measuring instrument that would run > in a marine environment. soekris.com -- George From onemda at gmail.com Thu Mar 5 06:26:15 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Mar 5 06:26:22 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> Message-ID: <3a142e750903050626p43c6c96ao79cecddef70fed99@mail.gmail.com> On 3/5/09, Matthias Apitz wrote: > El dia Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar > escribio: > >> >>formatted properly? >> > >> >I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; >> >maybe I should do >> > >> ># newfs_msdos /dev/da0 >> > >> >??? >> >> to be sure do >> >> dd if=/dev/zero of=/dev/da0 bs=64k count=1 >> >> before to clean anything from beginning, if any mess is there. > > to end this threat, I did: > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > # newfs_msdos /dev/da0 > # mount -t msdosfs /dev/da0 /mnt > # time cat file file file > /mnt/big > cat: stdout: File too large > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > free; > > the write speed is > 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; should'nt you first try to measure with dd(1) how da0 is big before we start blaming msdosfs: # dd if=/dev/da0 of=/dev/null bs=1m ? -- Paul From guru at unixarea.de Thu Mar 5 06:37:08 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Mar 5 06:37:35 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <3a142e750903050626p43c6c96ao79cecddef70fed99@mail.gmail.com> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> <3a142e750903050626p43c6c96ao79cecddef70fed99@mail.gmail.com> Message-ID: <20090305143705.GB12530@rebelion.Sisis.de> El d?a Thursday, March 05, 2009 a las 03:26:12PM +0100, Paul B. Mahol escribi?: > On 3/5/09, Matthias Apitz wrote: > > El dia Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar > > escribio: > > > >> >>formatted properly? > >> > > >> >I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > >> >maybe I should do > >> > > >> ># newfs_msdos /dev/da0 > >> > > >> >??? > >> > >> to be sure do > >> > >> dd if=/dev/zero of=/dev/da0 bs=64k count=1 > >> > >> before to clean anything from beginning, if any mess is there. > > > > to end this threat, I did: > > > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > > # newfs_msdos /dev/da0 > > # mount -t msdosfs /dev/da0 /mnt > > # time cat file file file > /mnt/big > > cat: stdout: File too large > > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > > > # df -kh /mnt > > Filesystem Size Used Avail Capacity Mounted on > > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > > free; > > > > the write speed is > > 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; > > > should'nt you first try to measure with dd(1) how da0 is big > before we start blaming msdosfs: > > # dd if=/dev/da0 of=/dev/null bs=1m ? I've not blamed anybody; please check the full thread; I've reported a problem with a lot of details and got help; the device is around 7.7G but wasn't useable like that as it was formated by the factory; nothing more; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From cjk32 at cam.ac.uk Thu Mar 5 06:45:58 2009 From: cjk32 at cam.ac.uk (Christopher Key) Date: Thu Mar 5 06:46:05 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) Message-ID: <49AFE0DF.9000003@cam.ac.uk> Hello, I'm looking to substantially expand the storage on my FreeBSD 6.3 home media server. With regards hardware, the simplest way to attach large numbers of drives seem to be to use SATA port multipliers, but I've been unable to find any consensus on their level of support in FreeBSD. I'm currently looking at a RocketRAID 2314 and SiI3726 based port multipliers. Has any had any experience with this combination? Regards, Christopher Key From jalmberg at identry.com Thu Mar 5 06:46:45 2009 From: jalmberg at identry.com (John Almberg) Date: Thu Mar 5 06:46:55 2009 Subject: Battery powered, SBC that can run BSD In-Reply-To: <20090305141220.GA2423@marvin.optimis.net> References: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> <20090305141220.GA2423@marvin.optimis.net> Message-ID: <42E3F74B-1D4A-4016-83F1-CA658279A5FD@identry.com> On Mar 5, 2009, at 9:12 AM, George Davidovich wrote: > soekris.com Nice. Thanks. -- John From emorras at xroff.net Thu Mar 5 07:15:45 2009 From: emorras at xroff.net (Eduardo Morras) Date: Thu Mar 5 07:15:53 2009 Subject: Battery powered, SBC that can run BSD In-Reply-To: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> References: <6D3F2653-0D19-492F-8989-253413D2641E@identry.com> Message-ID: <20090305145918.8DAD84FE0DE@xroff.net> At 14:53 05/03/2009, you wrote: >Hope this isn't too off topic... And I'm not sure of my terminology... > >I'm looking for a small, single board computer that can run for a >week or two on batteries (so very low power drain), topped up by >solar cells when the sun is out, and that can run some sort of >unix... preferably one of the BSDs. No hard drive, obviously, or any >other power draining peripherals. > >The user interface would be a low powered LCD display plus some buttons. > >The application is for a custom measuring instrument that would run >in a marine environment. > >I've been Googling for it for the last hour, but can't find what I'm >looking for. Any ideas much appreciated. pcengines.ch I've got an ALIX2d3 working as router for the Internet connection and no problems. HTH >-- John ------------------------------------------------- Useful Acronyms: GPL = Greedy Peng?in Licence From mark at binary-front.com Thu Mar 5 07:49:42 2009 From: mark at binary-front.com (Mark A. Maupin) Date: Thu Mar 5 07:49:50 2009 Subject: USB thumbdrive keeps automatically remounting Message-ID: I am running freebsd 7.1, with Gnome. I have gnome_enable="yes" and dbus_enable="yes" in my rc.conf and my usb key gets auto-mounted when i plug it in. My problem is, when i unmount the drive (either by right clicking the icon on the desktop, or by umount command) the drive immediately remounts, and the window showing files on the drive pops up again. The only way i can remove the drive is by killing hald, remove the drive, and restart hald. This DOES NOT happen with any other usb drives i have used on this system, including mp3 players. The only difference i can find (other than size) between this usb device and others I've used, is that this one shows up as /dev/da0(s1) AND /dev/msdosfs/LEXAR, whereas the others only show up as /dev/da0(s1). All get mounted in /media/ I've been looking into this on and off since December (got it for Xmas), and have yet to find a solution... Does anyone have any insight as to what could be causing this problem on this particular device? I've tried reading up on hald to see if i could find anything to help but I'm stumped. I tried one suggestion on creating/editing an fdi file i had found on a forum, but to no avail. Asking for help is really a last resort for me, this is the first time that patience, persistence, and a good deal of googling/man page reading hasn't solve a problem for me. From mark at binary-front.com Thu Mar 5 07:49:52 2009 From: mark at binary-front.com (Mark A. Maupin) Date: Thu Mar 5 07:50:00 2009 Subject: USB thumbdrive keeps automatically remounting Message-ID: I am running freebsd 7.1, with Gnome. I have gnome_enable="yes" and dbus_enable="yes" in my rc.conf and my usb key gets auto-mounted when i plug it in. My problem is, when i unmount the drive (either by right clicking the icon on the desktop, or by umount command) the drive immediately remounts, and the window showing files on the drive pops up again. The only way i can remove the drive is by killing hald, remove the drive, and restart hald. This DOES NOT happen with any other usb drives i have used on this system, including mp3 players. The only difference i can find (other than size) between this usb device and others I've used, is that this one shows up as /dev/da0(s1) AND /dev/msdosfs/LEXAR, whereas the others only show up as /dev/da0(s1). All get mounted in /media/ I've been looking into this on and off since December (got it for Xmas), and have yet to find a solution... Does anyone have any insight as to what could be causing this problem on this particular device? I've tried reading up on hald to see if i could find anything to help but I'm stumped. I tried one suggestion on creating/editing an fdi file i had found on a forum, but to no avail. Asking for help is really a last resort for me, this is the first time that patience, persistence, and a good deal of googling/man page reading hasn't solve a problem for me. From npapke at acm.org Thu Mar 5 08:32:18 2009 From: npapke at acm.org (Norbert Papke) Date: Thu Mar 5 08:32:26 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> Message-ID: <200903050832.15869.npapke@acm.org> On March 5, 2009, Matthias Apitz wrote: > El d?a Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar > to end this threat, I did: > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > # newfs_msdos /dev/da0 > # mount -t msdosfs /dev/da0 /mnt > # time cat file file file > /mnt/big > cat: stdout: File too large > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > free; Seems to work as it should. The maximum allowed file size on a FAT32 file system is 4GB (-1 byte). See http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 Cheers, -- Norbert Papke. From frank at shute.org.uk Thu Mar 5 08:52:24 2009 From: frank at shute.org.uk (Frank Shute) Date: Thu Mar 5 08:52:31 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090305132352.GA8574@marge.bs.l> References: <20090304150803.GA30617@marge.bs.l> <20090305041505.GA35138@melon.esperance-linux.co.uk> <20090305132352.GA8574@marge.bs.l> Message-ID: <20090305165212.GA36902@melon.esperance-linux.co.uk> On Thu, Mar 05, 2009 at 02:23:52PM +0100, Bertram Scharpf wrote: > > Hi Frank, Hi Bertram, > > Am Donnerstag, 05. M?r 2009, 04:15:05 +0000 schrieb Frank Shute: > > On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote: > > > from "man sh": > > > > > > Invocation > > > [...] the shell inspects > > > argument 0, and if it begins with a dash (`-'), the shell is also consid- > > > ered a login shell. [...] A login shell first reads commands from the > > > files /etc/profile and then .profile in a user's home directory, if they > > > exist. [...] > > > > > > I use Slim (X login manager) which calls > > > > > > exec /bin/sh - ~/.xinitrc > > > > I've never before seen the syntax you've used and I think it comes > > from a misunderstanding of the manpage for sh and/or it's a bashism or > > a typo. > > It's the original FreeBSD port. I suggest you take up your problem with the maintainer. (Mentioned at top of /usr/ports/x11/slim/Makefile). It should "just work" if that's the case. > > > E.g: > > > > /bin/sh -c somecommand (login shell - arg 0 starts with a dash) > > Sorry, this doesn't call /etc/profile either. You're right. This is what my investigations reveal: $ /bin/sh date date: Can't open date: No such file or directory Not reading /etc/profile or ~/.profile $ /bin/sh -c date Thu Mar 5 16:33:17 GMT 2009 Reading ~/.profile but not /etc/profile I'm afraid I'm not a shell guru so I don't understand that particular weirdness. I think we need a shell wizard to explain it to us - these shells and sub-shells etc. are notoriously weird in my experience and half the time I just sacrifice goats to make it work. It could be that the manpage is wrong and the shell is just meant to read ~/.profile (or I'm reading it wrong). If nobody replies on this list, I suggest you post with your problem to hackers@ > > $ uname -v > FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC $ uname -v FreeBSD 7.1-RELEASE-p2 #0: Wed Jan 28 21:45:37 GMT 2009 root@orange.esperance-linux.co.uk:/usr/obj/usr/src/sys/ORANGE_MP2 BTW, my user shell is ksh. > > Bertram > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From kdk at daleco.biz Thu Mar 5 09:07:28 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Thu Mar 5 09:07:35 2009 Subject: USB key with 7.5 GByte but no space left on device after 4 GByte written In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> Message-ID: <49B0069F.4030106@daleco.biz> Matthias Apitz wrote: > to end this threat, I did: > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > # newfs_msdos /dev/da0 > # mount -t msdosfs /dev/da0 /mnt > # time cat file file file > /mnt/big > cat: stdout: File too large > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > free; > > the write speed is > 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; > > matthias Probably I'm just making more noise; you didn't give any hardware details. Some manufacturers (I have a SanDisk Cruzer) are now putting multiple partitions on a flash stick; the Cruzer has one which, on Windows,emulates a CD-ROM drive (dunno why a CD emulation would take up 3.5 GB, tho). Kevin Kinsey -- It is sweet to let the mind unbend on occasion. -- Quintus Horatius Flaccus (Horace) From psteele at maxiscale.com Thu Mar 5 09:35:54 2009 From: psteele at maxiscale.com (Peter Steele) Date: Thu Mar 5 09:36:01 2009 Subject: What's the best way to destroy a geom mirror? In-Reply-To: <27757053.721236272524668.JavaMail.HALO$@halo> Message-ID: <12446074.821236274528605.JavaMail.HALO$@halo> I've created a USB boot disk that is used to clone itself onto the systems hard drives, setting up mirrored file systems in the process. The main difficulty I'm having is reimaging a system with an existing OS whose drives are already configured in a mirror. I want of course to destroy the mirror and create a complete new one, but I can't find the right process to accomplish this reliably. I am doing the following: # Cycle through each /dev/adNN drive and clean it. This has to be # done before the geom_mirror driver is loaded. disks=(`ls /dev/ad* | grep -v "s" | sed -e "s|/dev/||" -e "s|ad||" | sort -g`) for ((i = 0 ; i < ${#disks[@]} ; i++)); do disk=ad${disks[i]} dd if=/dev/zero of=/dev/${disk} bs=512 count=79 done # Partition the drives as needed ... # Create the mirror, starting with the first drive in the list gmdisk=ad${disks[0]} gmirror load gmirror label -v -n -b round-robin gm0 ${gmdisk}s1 This is where the problem occurs. If there was already a mirrored file system previously active on the system being reimaged, the label operation complains that it can't store the metadata on the indicated drive: gmirror: Can't store metadata on ad4s1: Operation not permitted. If I make sure the existing mirrors are torn down first by iterating through the drives and doing a "remove" operation, this can solve the problem, but in some cases the mirror is in a suspect state and I've seen the "gmirror load" command hang idefiinitely. So I don't want to do a load command before I destroy the old mirrors, but I can't seem to find a way to reliably destroy the old mirrors. Can anyone suggest a way to do this? From mark at binary-front.com Thu Mar 5 09:44:18 2009 From: mark at binary-front.com (Mark A. Maupin) Date: Thu Mar 5 09:44:24 2009 Subject: Double Post Message-ID: Sorry for the double posting there guys.... My session timed out and i didnt think the 1st message sent. I don't remember re-sending it, but i was in the middle of my morning coffee at the time, so not sure what happened there. From mister.olli at googlemail.com Thu Mar 5 10:15:27 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Thu Mar 5 10:15:41 2009 Subject: Monitoring geom Message-ID: <1236275168.16526.73.camel@phoenix.blechhirn.net> Hi hi... What is the best way to monitor geom software raids (gmirror & gvinum raid5)??? The solution I'm searching for should be a kind of script which checks the status, and drops me an email if something is wrong. I found a nagios plugin, but currently I'm unable to invest enough time to get nagios up and running for the customer... Thanks a lot... greetz Olli From efinleywork at efinley.com Thu Mar 5 10:41:57 2009 From: efinleywork at efinley.com (Elliot Finley) Date: Thu Mar 5 10:42:04 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <49AFE0DF.9000003@cam.ac.uk> References: <49AFE0DF.9000003@cam.ac.uk> Message-ID: <49B01261.5010200@efinley.com> Christopher Key wrote: > Hello, > > I'm looking to substantially expand the storage on my FreeBSD 6.3 home > media server. With regards hardware, the simplest way to attach large > numbers of drives seem to be to use SATA port multipliers, but I've been > unable to find any consensus on their level of support in FreeBSD. I'm > currently looking at a RocketRAID 2314 and SiI3726 based port > multipliers. Has any had any experience with this combination? Why not just upgrade to 7-Stable and then use these: http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 they cost less than port multipliers. They don't do RAID, but then if you're on 7-Stable, you can use ZFS zraid. Elliot From ianf at ozemail.com.au Thu Mar 5 11:11:11 2009 From: ianf at ozemail.com.au (Ian Fitzgerald) Date: Thu Mar 5 11:12:00 2009 Subject: Free Pascal Message-ID: <49B01CED.6080804@ozemail.com.au> Can anyone point me to a method of installing Free Pascal Compiler? I am running FBSD 7.1, with KDE4. The last attempt deleted a file used by X-windows (and perhaps others), but I had no specific instructions as a guide. From wojtek at wojtek.tensor.gdynia.pl Thu Mar 5 12:23:17 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Mar 5 12:23:31 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <49B01261.5010200@efinley.com> References: <49AFE0DF.9000003@cam.ac.uk> <49B01261.5010200@efinley.com> Message-ID: > Why not just upgrade to 7-Stable and then use these: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 > > they cost less than port multipliers. They don't do RAID, but then if you're > on 7-Stable, you can use ZFS zraid. > or use geom based RAIDs and UFS thanks for URL, anyway new machines usually don't have PCI-X From prad at towardsfreedom.com Thu Mar 5 12:23:51 2009 From: prad at towardsfreedom.com (prad) Date: Thu Mar 5 12:24:02 2009 Subject: Free Pascal In-Reply-To: <49B01CED.6080804@ozemail.com.au> References: <49B01CED.6080804@ozemail.com.au> Message-ID: <20090305122348.6a466e20@gom.home> On Fri, 06 Mar 2009 05:41:49 +1100 Ian Fitzgerald wrote: > Can anyone point me to a method of installing Free Pascal Compiler? > /usr/ports/lang/fpc or pkg_add -r fpc we use gpc (gnu pascal compiler): /usr/ports/lang/gpc or pkg_add -r gpc -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From jeffrey at goldmark.org Thu Mar 5 13:30:26 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Thu Mar 5 13:30:34 2009 Subject: Quirk with latex-suite] In-Reply-To: <20090305082846.GF2705@vagrant.math.nd.edu> References: <20090305082846.GF2705@vagrant.math.nd.edu> Message-ID: <4486FE43-8F97-4226-A63F-7B715A705798@goldmark.org> On Mar 5, 2009, at 2:28 AM, David Karapetyan wrote: > Hello; I am having a funny little problem with latex-suite. Is that the name of the port? I don't see anything by that name in my ports tree. Googling around, I see that latex-suite is a plug-in for vim. > When I press > , and am prompted with a list of environments to insert, no matter > which I choose, it is inserted with a superfluous " that appears right > before the cursor. So, for example, > > \begin{equation} > "cursor_is_here > \end{equation} One thing to check is whether your version of latex-suite is appropriate for your version of vim. It may be that move to vim 7 broke something. > Does latex-suite do this by default? What file do I need to edit to > change this setting (I'd like to get rid of the quote mark). I'm afraid I've never used it (on any platform, though I think I might give it a try). If you don't get any useful help on the FreeBSD list, try joining https://lists.sourceforge.net/lists/listinfo/vim-latex-devel Also the Usenet group comp.text.tex is remarkably helpful. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From finndo77 at gmail.com Thu Mar 5 14:38:40 2009 From: finndo77 at gmail.com (joel perry) Date: Thu Mar 5 14:38:47 2009 Subject: 7.1-release and KDE4 Message-ID: <14d354f60903051408w4e89eee5y2f2885cd3e10ca1b@mail.gmail.com> Attempting to pkg_add kde4 fails because the lame3.97_1.tgz is not located in the latest ftp location. I and many others would appreciate it if you would add lame to latest folder so that this package will install. It was previously available in the 7.0 release. -- Joel Perry SBSC Registered Microsoft Partner 803.800.5650 From modulok at gmail.com Thu Mar 5 15:24:17 2009 From: modulok at gmail.com (Modulok) Date: Thu Mar 5 15:24:23 2009 Subject: Monitoring geom In-Reply-To: <1236275168.16526.73.camel@phoenix.blechhirn.net> References: <1236275168.16526.73.camel@phoenix.blechhirn.net> Message-ID: <64c038660903051524l71ecead9i321ccb71257d6a9a@mail.gmail.com> I'm not sure what the 'best' way to monitor a geom is but this should, in theory, work. I wrote it while eating lunch, so obviously it hasn't been tested much and probably contains bugs. If someone, perhaps here on the list, could offer suggested changes (or a better way), that'd be great! Hopefully the indentation won't get screwed up too badly in transit. If so, ask and I can email it as a plain-text attachment. # Script below: #!/bin/sh # DESCRIPTION: # Heartbeat script to check the status of geoms. If a geom is degraded, # This script will email the administrator. # # USAGE: # Place this script in a directory which will be writable by the UID who will # be executing this script via cron. Setup a cron job to execute it at # regular intervals. # # BUGS: # THIS SCRIPT HAS NOT BEEN TESTED! USE AT YOUR OWN RISK! # admin="you@example.com" host=`hostname` subject="Gmirror is degraded on $host" output=`gmirror status` count=`gmirror status | grep -i -c "degraded"` stateFile="gmirror.emailSent" if [ $count -gt 0 ] then # The geom is degraded. if [ ! -w "$stateFile" ] then # Send an email and remember that we sent an email: gmirror status | mail -s "$subject" "$admin" touch "$stateFile" fi fi # The geom is fine, remove the email state file. if [ $count -eq 0 ] then if [ -w "$stateFile" ] then rm "$stateFile" fi fi # End Script It's a thought, anyway. -Modulok- On 3/5/09, Mister Olli wrote: > Hi hi... > > What is the best way to monitor geom software raids (gmirror & gvinum > raid5)??? > > The solution I'm searching for should be a kind of script which checks > the status, and drops me an email if something is wrong. > > I found a nagios plugin, but currently I'm unable to invest enough time > to get nagios up and running for the customer... > > Thanks a lot... > > greetz > Olli > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at edvax.de Thu Mar 5 15:40:11 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Mar 5 15:40:20 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090304150803.GA30617@marge.bs.l> References: <20090304150803.GA30617@marge.bs.l> Message-ID: <20090306004003.99091e42.freebsd@edvax.de> Good evening Betram et al. I've read the discussion thread as far as it went and would like to share my own solution to a similar problem, mapped onto the sh topic. Maybe it works. A little background: First of all, because my standard dialog shell is the system's C shell, the files important are /etc/cshrc with the settings, such as setenv, alias and path, furthermore /etc/csh.login to be executed after login, and /etc/csh.logout, executed after logout. Local to the user exist ~/.cshrc, ~/.login and ~/.logout which are used if present. In order to make X work properly with these settings, I have a kind of "two stages mechanism" which consists of the files ~/.xinitrc and ~/.xsession. The first one is used by X (xdm) to determine what to do after successful user login, e. g. start some programs and then exec the window manager / desktop environment. Note that both files are chmodded executable: % ll .xsession .xinitrc -rwxr-xr-x 1 poly pgm 807 Mar 3 02:46 .xinitrc* -rwxr-xr-x 1 poly pgm 43 Apr 27 2006 .xsession* The ~/.xsession doesn't do anything besides first incorporate settings from ~/.cshrc and then execute ~/.xinitrc. #!/bin/csh source ~/.cshrc exec ~/.xinitrc It is shebanged with the shell I want to use, which is the C shell. If ~/.xsession is called, it's last action is to execute ~/.xinitrc. If ~/.xsession is NOT called, ~/.xinitrc will be executed anyway. It does the following: #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xrandr --size 1400x1050 & xrandr --fb 1400x1050 & xsetroot -solid rgb:3b/4c/7a # ... your initializations 'n stuff here ... exec wmaker Note that this script is shebanged for sh again. Any X terminals started now (with csh inside) have the settings from ~/.cshrc. Mapped onto the initial sh problem, I'd suggest to create the two files mentioned as follows: ~/.xsession: #!/bin/sh [ -f ~/.shrc ] && . ~/.shrc [ -f ~/.profile ] && . ~/.profile exec ~/.xinitrc ~/.xinitrc: #!/bin/sh [ -f ~/.shrc ] && . ~/.shrc [ -f ~/.profile ] && . ~/.profile my_init_stuff_1 my_init_stuff_2 my_init_stuff_3 exec my_wm_startup Now any instance of sh started should be aware of the settings. Finally, please note that I'm not a guru for sh (or bash) because I do use sh only for scripting, and bash never. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From arab at tangerine-army.co.uk Thu Mar 5 15:45:56 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Thu Mar 5 15:46:04 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <49B01261.5010200@efinley.com> References: <49AFE0DF.9000003@cam.ac.uk> <49B01261.5010200@efinley.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295652@Mercury.galaxy.lan.lcl> -----Original Message----- From: Elliot Finley [mailto:efinleywork@efinley.com] Sent: 05 March 2009 17:57 To: Christopher Key Cc: questions@freebsd.org Subject: Re: SATA Port Multipliers in FreeBSD (6.3) Christopher Key wrote: > Hello, > > I'm looking to substantially expand the storage on my FreeBSD 6.3 home > media server. With regards hardware, the simplest way to attach large > numbers of drives seem to be to use SATA port multipliers, but I've been > unable to find any consensus on their level of support in FreeBSD. I'm > currently looking at a RocketRAID 2314 and SiI3726 based port > multipliers. Has any had any experience with this combination? Why not just upgrade to 7-Stable and then use these: http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 they cost less than port multipliers. They don't do RAID, but then if you're on 7-Stable, you can use ZFS zraid. Elliot _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I had utter hell with a belkin pci sata card which used a silicon image chipset. The main problem would show up when writing a large amount of data to the drives which were in a zfs array. I even tried this card on 3 different motherboards with various combinations of sata hard disks and the result was the same when writing a large amount of data, a drive would randomly disconnect from the system. I understand from reading sata controllers based on a promise chipset are much better under freebsd 7. In then end I trumped for a new motherboard with 6 sata ports on it and it is running 6 x 500gb drives in a ZFS array just perfectly. Regards Graeme From nightrecon at verizon.net Thu Mar 5 15:56:35 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Mar 5 15:56:43 2009 Subject: php5 changes in release 8.0 References: <49AFA0F4.2050400@a1poweruser.com> <20090305074004.f2437571.wmoran@potentialtech.com> Message-ID: Bill Moran wrote: > In response to Fbsd1 : > >> Having problems installing php5 in 7.1 so tried 8.0 and see that in >> release 8.0 php5 in defaulting to apache 22 when apache interface is >> selected from the make config menu. The config menu should give option >> to select apache 13 or apache 22 not force apache 22 on the user >> community. Is the maintainer going to change the config menu before php5 >> 8.0 is released for production? > > If you want a different version of Apache, all you have to do is install > Apache first, then PHP will use the version you have installed. > > It's always been that way. It's just that up till now the default was > 1.3. It's _LOOONG_ past time when the default should have moved to 2.X. > Could always try APACHE_PORT= www/apache13 in /etc/make.conf, or somesuch, whichever incantation is used these days. Ref: /usr/ports/Mk/bsd.apache.mk -Mike From Daan at vehosting.nl Thu Mar 5 16:03:36 2009 From: Daan at vehosting.nl (Daan Vreeken) Date: Thu Mar 5 16:03:43 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <49AFE0DF.9000003@cam.ac.uk> References: <49AFE0DF.9000003@cam.ac.uk> Message-ID: <200903060103.16752.Daan@vehosting.nl> Hi Christopher, On Thursday 05 March 2009 15:25:35 Christopher Key wrote: > Hello, > > I'm looking to substantially expand the storage on my FreeBSD 6.3 home > media server. With regards hardware, the simplest way to attach large > numbers of drives seem to be to use SATA port multipliers, but I've been > unable to find any consensus on their level of support in FreeBSD. I'm > currently looking at a RocketRAID 2314 and SiI3726 based port > multipliers. Has any had any experience with this combination? The Sil3726 works very well if you run a recent enough version of FreeBSD. We use the device in a custom storage appliance. I don't know the RocketRAID 2314 though. You need a SATA 2.0 controller for Port Multipliers to work. FreeBSD has (experimental) support for Port Multipliers since the following commit : On Thursday 10 April 2008 15:05:05 S?ren Schmidt wrote: > sos 2008-04-10 13:05:05 UTC > > FreeBSD src repository ... > Log: > Add experimental support for SATA Port Multipliers > > Support is working on the Silicon Image SiI3124/3132. > Support is working on some AHCI chips but far from all. > > Remember this is WIP, so test reports and (constructive) suggestions are > welcome! Regards, -- Daan Vreeken VEHosting http://VEHosting.nl tel: +31-(0)40-7113050 / +31-(0)6-46210825 KvK nr: 17174380 From andrewlylegould at gmail.com Thu Mar 5 16:43:45 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu Mar 5 16:43:51 2009 Subject: 7.1-release and KDE4 In-Reply-To: <14d354f60903051408w4e89eee5y2f2885cd3e10ca1b@mail.gmail.com> References: <14d354f60903051408w4e89eee5y2f2885cd3e10ca1b@mail.gmail.com> Message-ID: On Thu, Mar 5, 2009 at 4:08 PM, joel perry wrote: > Attempting to pkg_add kde4 fails because the lame3.97_1.tgz is not located > in the latest ftp location. I and many others would appreciate it if you > would add lame to latest folder so that this package will install. It was > previously available in the 7.0 release. > > -- > Joel Perry > SBSC Registered Microsoft Partner > 803.800.5650 > > Lame was available on the ftp site? Are you sure? I thought lame was one of the packages that couldn't be distributed in binary form due to license restrictions. Andrew From amie at advice2all.com Thu Mar 5 16:54:28 2009 From: amie at advice2all.com (Amie) Date: Thu Mar 5 16:54:35 2009 Subject: Paid Online Surveys - Start Now Message-ID: <200903051854.23w9r9A@advice2all.com> [1]Make $40 to $160 Per Hour Just By Sharing Your Opinion With Marketing Giants Like Burger King, Pepsi, Sony, & Coca-Cola Instantly Make More Money Starting Now... References 1. http://givenchy02.survey272.hop.clickbank.net/?tid=SURVEYEM From amie at advice2all.com Thu Mar 5 16:57:07 2009 From: amie at advice2all.com (Amie) Date: Thu Mar 5 16:57:14 2009 Subject: Paid Online Surveys - Start Now Message-ID: <200903051856.23w9r9A@advice2all.com> [1]Make $40 to $160 Per Hour Just By Sharing Your Opinion With Marketing Giants Like Burger King, Pepsi, Sony, & Coca-Cola Instantly Make More Money Starting Now... References 1. http://givenchy02.survey272.hop.clickbank.net/?tid=SURVEYEM From scuba at centroin.com.br Thu Mar 5 16:58:45 2009 From: scuba at centroin.com.br (scuba@centroin.com.br) Date: Thu Mar 5 16:58:52 2009 Subject: [OT] Server hosting with FreeBSD Message-ID: Hi all, We?re looking for good hosting services that offer instalations of FreeBSD in dedicated servers. Any one could point some? Most of the companies offer Linux and Windows, but only few with FreeBSD. The one thar we use today, only install a fixed image. Just a simple custom partition modification, cannot be done. Thank you, - Marcelo From glen.j.barber at gmail.com Thu Mar 5 17:01:11 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Mar 5 17:01:17 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: Message-ID: <4ad871310903051701x21cd06cbs2b6fb1d5fa9603e1@mail.gmail.com> On Thu, Mar 5, 2009 at 7:59 PM, wrote: > Hi all, > > ? ? ? ?We?re looking for good hosting services that offer instalations of > FreeBSD in dedicated servers. > ? ? ? ?Any one could point some? > ? ? ? ?Most of the companies offer Linux and Windows, but only few with > FreeBSD. > ? ? ? ?The one thar we use today, only install a fixed image. Just a simple > custom partition modification, cannot be done. > http://www.google.com/search?hl=en&q=freebsd+dedicated+server&btnG=Google+Search&aq=0&oq=freebsd+dedicated&safe=images -- Glen Barber From freebsd at edvax.de Thu Mar 5 17:02:45 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Mar 5 17:02:53 2009 Subject: 7.1-release and KDE4 In-Reply-To: References: <14d354f60903051408w4e89eee5y2f2885cd3e10ca1b@mail.gmail.com> Message-ID: <20090306020227.deb5cecb.freebsd@edvax.de> On Thu, 5 Mar 2009 18:43:42 -0600, Andrew Gould wrote: > I thought lame was one of the packages that couldn't be distributed in > binary form due to license restrictions. In the past, it really was. But I think it was possible to add it via pkg_add. It's some time ago, but memory serves me right, I did pkg_add -r lame because it was possible... if there was a way to find out if some software has been installed via port OR package, I could find this out. :-) Because of the few dependencies, it's no problem to use the port to install it first, then pkg_add -r the KDE 4 packages. Maybe install nasm prior to make. The Makefile of lame still states: RESTRICTED= patent issues, see http://www.mp3licensing.com/ If licensing problems are still present, there may be no way to put a precompiled package onto the FTP server. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From claudiu.vasadi at gmail.com Thu Mar 5 17:05:45 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Thu Mar 5 17:05:53 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: Message-ID: also calpop @ calpop.com From nlandys at gmail.com Thu Mar 5 17:09:03 2009 From: nlandys at gmail.com (Nerius Landys) Date: Thu Mar 5 17:09:10 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: Message-ID: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> > We?re looking for good hosting services that offer instalations of > FreeBSD in dedicated servers. > Any one could point some? > Most of the companies offer Linux and Windows, but only few with > FreeBSD. > The one thar we use today, only install a fixed image. Just a simple > custom partition modification, cannot be done. There is (believe it or not) a webpage on the freebsd.org website that lists some commercial businesses that offer colocation and/or dedicated servers: http://www.freebsd.org/commercial/isp.html My server is colocated with m5hosting.com (halfway down on that page) in San Diego. I'm very happy with them. I'm running 5 video game servers for the free game Urban Terror on my server. From j65nko at gmail.com Thu Mar 5 18:02:36 2009 From: j65nko at gmail.com (J65nko) Date: Thu Mar 5 18:02:43 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090304150803.GA30617@marge.bs.l> References: <20090304150803.GA30617@marge.bs.l> Message-ID: <19861fba0903051741t58c7c622q12bd4619eda7f4bb@mail.gmail.com> On Wed, Mar 4, 2009 at 4:08 PM, Bertram Scharpf wrote: > Hi, > > from "man sh": > > Invocation > [...] When first starting, the shell inspects > argument 0, and if it begins with a dash (`-'), the shell is also consid- > ered a login shell. This is normally done automatically by the system > when the user first logs in. A login shell first reads commands from the > files /etc/profile and then .profile in a user's home directory, if they > exist. [...] > > I use Slim (X login manager) which calls > > exec /bin/sh - ~/.xinitrc > > I first wondered why none of my commands in "/etc/profile" and > "~/.profile" got executed. Finally, I modified > "/usr/src/bin/sh/main.c" to trace what files are read, recompiled > the "sh" command and: the only file that is executed is "~/.shrc". > > I just cannot believe that FreeBSD has such a severe bug. What is > going wrong here? > Put the following in a file called ".Xresources" : XTerm*loginShell: true =Adriaan= From psteele at maxiscale.com Thu Mar 5 18:11:38 2009 From: psteele at maxiscale.com (Peter Steele) Date: Thu Mar 5 18:11:45 2009 Subject: /bin/sh does not read profile In-Reply-To: <20090306004003.99091e42.freebsd@edvax.de> Message-ID: <31137799.01236305475066.JavaMail.HALO$@halo> >I first wondered why none of my commands in "/etc/profile" and >"~/.profile" got executed. Finally, I modified >"/usr/src/bin/sh/main.c" to trace what files are read, recompiled >the "sh" command and: the only file that is executed is "~/.shrc". > >I just cannot believe that FreeBSD has such a severe bug. What is >going wrong here? I have a similar problem, but with bash. I have both my personal account and root set to use bash instead of sh and when I login the .bashrc file is not read. My system does not have an X environment, it's plain old BSD. How can I get it to load .bashrc when I login? I'm using a 7.0 binary release. From carl at chave.us Thu Mar 5 18:18:55 2009 From: carl at chave.us (Carl Chave) Date: Thu Mar 5 18:19:02 2009 Subject: Monitoring geom In-Reply-To: <1236275168.16526.73.camel@phoenix.blechhirn.net> References: <1236275168.16526.73.camel@phoenix.blechhirn.net> Message-ID: >From Michael Lucas' Absolute FreeBSD book page 550: FreeBSD can include a status check of your mirrored disks in its daily periodic(8) run. Just add the line daily_status_gmirror_enable="YES" to /etc/periodic.conf. Not sure about other raid types beyond mirrors. On 3/5/09, Mister Olli wrote: > > Hi hi... > > What is the best way to monitor geom software raids (gmirror & gvinum > raid5)??? > > The solution I'm searching for should be a kind of script which checks > the status, and drops me an email if something is wrong. > > I found a nagios plugin, but currently I'm unable to invest enough time > to get nagios up and running for the customer... > > Thanks a lot... > > greetz > Olli > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From freebsd at edvax.de Thu Mar 5 18:22:07 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Mar 5 18:22:13 2009 Subject: /bin/sh does not read profile In-Reply-To: <31137799.01236305475066.JavaMail.HALO$@halo> References: <20090306004003.99091e42.freebsd@edvax.de> <31137799.01236305475066.JavaMail.HALO$@halo> Message-ID: <20090306032159.12ea365a.freebsd@edvax.de> On Thu, 5 Mar 2009 18:11:18 -0800 (PST), Peter Steele wrote: > I have a similar problem, but with bash. I have both my personal > account and root set to use bash instead of sh and when I login > the .bashrc file is not read. My system does not have an X > environment, it's plain old BSD. How can I get it to load .bashrc > when I login? I'm using a 7.0 binary release. I read from the manpage bash-3.2.25 according to the FILES section: /etc/profile The systemwide initialization file, executed for login shells ~/.bash_profile The personal initialization file, executed for login shells ~/.bashrc The individual per-interactive-shell startup file When the shell is the login shell (prefixed with - in the process list), it seems that it needs to read ~/.bash_profile (and not the ~/.bashrc file). So you could put . ~/.bashrc into ~/.bash_profile to get a workaround. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From frank at shute.org.uk Thu Mar 5 18:27:17 2009 From: frank at shute.org.uk (Frank Shute) Date: Thu Mar 5 18:27:24 2009 Subject: /bin/sh does not read profile In-Reply-To: <31137799.01236305475066.JavaMail.HALO$@halo> References: <20090306004003.99091e42.freebsd@edvax.de> <31137799.01236305475066.JavaMail.HALO$@halo> Message-ID: <20090306022706.GA38428@melon.esperance-linux.co.uk> On Thu, Mar 05, 2009 at 06:11:18PM -0800, Peter Steele wrote: > > >I first wondered why none of my commands in "/etc/profile" and > >"~/.profile" got executed. Finally, I modified > >"/usr/src/bin/sh/main.c" to trace what files are read, recompiled > >the "sh" command and: the only file that is executed is "~/.shrc". > > > >I just cannot believe that FreeBSD has such a severe bug. What is > >going wrong here? > > I have a similar problem, but with bash. I have both my personal > account and root set to use bash instead of sh and when I login the > .bashrc file is not read. My system does not have an X environment, > it's plain old BSD. How can I get it to load .bashrc when I login? > I'm using a 7.0 binary release. You should be able to put: source $HOME/.bashrc in ~/.bash_profile That's if $HOME is set. Otherwise use the full path. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From xxjack12xx at gmail.com Thu Mar 5 19:24:49 2009 From: xxjack12xx at gmail.com (Jack L.) Date: Thu Mar 5 19:25:22 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> References: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> Message-ID: I provide that hosting and sharktech does as well. On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys wrote: >> We?re looking for good hosting services that offer instalations of >> FreeBSD in dedicated servers. >> Any one could point some? >> Most of the companies offer Linux and Windows, but only few with >> FreeBSD. >> The one thar we use today, only install a fixed image. Just a simple >> custom partition modification, cannot be done. > > There is (believe it or not) a webpage on the freebsd.org website that > lists some commercial businesses that offer colocation and/or > dedicated servers: > > http://www.freebsd.org/commercial/isp.html > > My server is colocated with m5hosting.com (halfway down on that page) > in San Diego. I'm very happy with them. I'm running 5 video game > servers for the free game Urban Terror on my server. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From vogelke+software at pobox.com Thu Mar 5 19:51:26 2009 From: vogelke+software at pobox.com (Karl Vogel) Date: Thu Mar 5 19:51:33 2009 Subject: SpamAssassin/Perl eating enormous amounts of memory? In-Reply-To: <19C0CCFC-CBD5-4822-8838-4F10C4792C23@mac.com> (message from Andrew Moran on Mon, 02 Mar 2009 17:21:53 -0800) Message-ID: <20090306014248.E0AB2B7C5@kev.msw.wpafb.af.mil> >> On Mon, 02 Mar 2009 17:21:53 -0800, >> Andrew Moran said: A> Thank you for your suggestion. I'll try compiling Perl and it's A> dependencies without using PERL_MALLOC. I've had similar memory problems using Hyperestraier to index collections exceeding 1,000,000 documents. The indexer would run without complaint under Solaris, but die periodically on FreeBSD with "out of memory" errors. Since I had around 6 Gb of RAM, I was pretty sure memory wasn't the problem, so I recompiled using a version of Doug Lea's malloc and the problem went away. The most recent malloc sources are here: ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.3.c ftp://gee.cs.oswego.edu/pub/misc/malloc-2.8.3.h Here's a Makefile suitable for building and installing the library with GCC. I'm sure the tabs have been mangled: CC = gcc CPLUS = g++ LIBS = libmalloc.a libcppmalloc.a DEST = /usr/local/lib INC = /usr/local/include all: $(LIBS) clean: rm -f $(LIBS) *.o cppmalloc.o: malloc.c $(CPLUS) -O -c -I. malloc.c -o cppmalloc.o install: $(LIBS) cp $(LIBS) $(DEST) cp -p malloc.h $(INC) ranlib $(DEST)/libcppmalloc.a ranlib $(DEST)/libmalloc.a libcppmalloc.a: cppmalloc.o rm -f libcppmalloc.a ar q libcppmalloc.a cppmalloc.o libmalloc.a: malloc.o rm -f libmalloc.a ar q libmalloc.a malloc.o malloc.o: malloc.c $(CC) -O -c -I. malloc.c To build something using configure and this library, change the configure commands to include these environment variables: LDFLAGS="-L/usr/local/lib -lmalloc" CPPFLAGS="-I/usr/local/include" -- Karl Vogel I don't speak for the USAF or my company Why are they called apartments, when they're all stuck together? From dhaneshkk at hotmail.com Thu Mar 5 21:45:43 2009 From: dhaneshkk at hotmail.com (dhaneshk k) Date: Thu Mar 5 21:46:00 2009 Subject: Any BSDians hands on with apache-2.2 webserver, Message-ID: .htpasswd Failure .. htpasswd recreation also not working I added a for restricting access to my web site URL . I used Basic Authentication module.. I created #htpasswd -c .htpasswd test password : test and restarted apache . The path to AuthUserFile is absolutely the system path no error in that .. but when I tried to access mysites URL it showing the Authentication Dialogue , I entered username : test password : test , but its not loging in ..) I recreated the password many times with other user names and passwords .. but still I can't login .. what may be the issue ? how can I fix the issue ? This is the setup .... [root@sun /usr/local/www/testblock]# ls -al total 6 drwxr-xr-x 2 www www 512 Mar 5 19:13 . drwxr-xr-x 11 root wheel 512 Mar 5 16:10 .. -rw-r-xr-x 1 www www 19 Mar 6 09:52 .htpasswd [root@sun /usr/local/www/testblock]# cat .htpasswd test:Nkw3seTaTE16I [root@sun /usr/local/www/testblock]# ServerName mysite.com AuthType Basic AuthName "Auth" AuthUserFile "/usr/local/www/testblock/. htpasswd" Require valid-user RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/mysite.com:80/site1/VirtualHostRoot/$1 [L,P] ErrorLog /var/log/apache/site1/error_log CustomLog /var/log/apache/site2/access.log combined Any hints most welcome Thanks in advance KK _________________________________________________________________ Windows Live Messenger. Multitasking at its finest. http://www.microsoft.com/india/windows/windowslive/messenger.aspx From pprocacci at datapipe.com Thu Mar 5 21:57:54 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Mar 5 21:58:02 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> Message-ID: <49B0B8F2.5000405@datapipe.com> DataPipe also provides (optional: managed) hosting as well. They are a bit pricey, but you get what you pay for. Jack L. wrote: > I provide that hosting and sharktech does as well. > > On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys wrote: > >>> We?re looking for good hosting services that offer instalations of >>> FreeBSD in dedicated servers. >>> Any one could point some? >>> Most of the companies offer Linux and Windows, but only few with >>> FreeBSD. >>> The one thar we use today, only install a fixed image. Just a simple >>> custom partition modification, cannot be done. >>> >> There is (believe it or not) a webpage on the freebsd.org website that >> lists some commercial businesses that offer colocation and/or >> dedicated servers: >> >> http://www.freebsd.org/commercial/isp.html >> >> My server is colocated with m5hosting.com (halfway down on that page) >> in San Diego. I'm very happy with them. I'm running 5 video game >> servers for the free game Urban Terror on my server. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. From pprocacci at datapipe.com Thu Mar 5 21:58:04 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Mar 5 21:58:11 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> Message-ID: <49B0B9B2.8080609@datapipe.com> Jack L. wrote: > I provide that hosting and sharktech does as well. > > On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys wrote: > >>> We?re looking for good hosting services that offer instalations of >>> FreeBSD in dedicated servers. >>> Any one could point some? >>> Most of the companies offer Linux and Windows, but only few with >>> FreeBSD. >>> The one thar we use today, only install a fixed image. Just a simple >>> custom partition modification, cannot be done. >>> >> There is (believe it or not) a webpage on the freebsd.org website that >> lists some commercial businesses that offer colocation and/or >> dedicated servers: >> >> http://www.freebsd.org/commercial/isp.html >> >> My server is colocated with m5hosting.com (halfway down on that page) >> in San Diego. I'm very happy with them. I'm running 5 video game >> servers for the free game Urban Terror on my server. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Double post (sorry). There is also the following page which has a nice big list.... http://www.freebsd.org/commercial/consult.html This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. From tajudd at gmail.com Thu Mar 5 22:36:17 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu Mar 5 22:36:24 2009 Subject: the "yes" comand In-Reply-To: References: Message-ID: On Wed, Mar 4, 2009 at 11:35 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > if you have program that do too much questions like (are you sure), and you > are sure then you do > > yes|program yes Continue | Vista -uac Bit o' humor in an otherwise too-serious world. Laugh. It'll make you happy. From frederique at isafeelin.org Thu Mar 5 22:37:22 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Thu Mar 5 22:37:29 2009 Subject: Monitoring geom In-Reply-To: <1236275168.16526.73.camel@phoenix.blechhirn.net> References: <1236275168.16526.73.camel@phoenix.blechhirn.net> Message-ID: <49B0C0DD.80803@isafeelin.org> Mister Olli wrote: > Hi hi... > > What is the best way to monitor geom software raids (gmirror & gvinum > raid5)??? > > The solution I'm searching for should be a kind of script which checks > the status, and drops me an email if something is wrong. > > I found a nagios plugin, but currently I'm unable to invest enough time > to get nagios up and running for the customer... > > Thanks a lot... > > greetz > Olli > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I monitor some machines with geom mirrors via Nagios/SNMP. In nagios: -------------------------------------------------------------- define service{ use generic-service host_name host.name.com service_description gmirror check_command check_snmp!1!0!UCD-SNMP-MIB::extOutput.1 } On the machine in snmpd.conf (net-snmp): -------------------------------------------------------------- exec gmirror /usr/local/sbin/checkgmirror The script: -------------------------------------------------------------- #!/bin/sh mirrorstate=`/sbin/gmirror list | /usr/bin/grep ^State |\ /usr/bin/awk '{print $2}'` if [ $mirrorstate != "COMPLETE" ] then echo "1" else echo "0" fi Besides crafthing something of your own, there is also: /usr/ports/net-mgmt/nagios-geom This is a small Nagios plugin written in PERL and designed to monitor the state of FreeBSD GEOM devices (specifically mirrors and striped volumes) from Nagios. WWW: http://www.geocities.com/ntb4real/proj/geom.htm To use in Nagios: In checkcommands.cfg: -------------------------------------------------------------- define command{ command_name check_geom command_line $USER1$/check_geom $ARG1$ $ARG2$ } In your host.cfg: -------------------------------------------------------------- define service{ use local-service host_name host.name.conf service_description mirror check_command check_geom!mirror!gm0 } From yuri.pankov at gmail.com Thu Mar 5 23:29:32 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Thu Mar 5 23:29:39 2009 Subject: What's the best way to destroy a geom mirror? In-Reply-To: <12446074.821236274528605.JavaMail.HALO$@halo> References: <27757053.721236272524668.JavaMail.HALO$@halo> <12446074.821236274528605.JavaMail.HALO$@halo> Message-ID: <20090306072925.GA38402@darklight.homeunix.org> On Thu, Mar 05, 2009 at 09:35:31AM -0800, Peter Steele wrote: > > I've created a USB boot disk that is used to clone itself onto the systems hard drives, setting up mirrored file systems in the process. The main difficulty I'm having is reimaging a system with an existing OS whose drives are already configured in a mirror. I want of course to destroy the mirror and create a complete new one, but I can't find the right process to accomplish this reliably. I am doing the following: > > # Cycle through each /dev/adNN drive and clean it. This has to be > # done before the geom_mirror driver is loaded. > disks=(`ls /dev/ad* | grep -v "s" | sed -e "s|/dev/||" -e "s|ad||" | sort -g`) > for ((i = 0 ; i < ${#disks[@]} ; i++)); do > disk=ad${disks[i]} > dd if=/dev/zero of=/dev/${disk} bs=512 count=79 > done > > # Partition the drives as needed > ... > > # Create the mirror, starting with the first drive in the list > gmdisk=ad${disks[0]} > gmirror load > gmirror label -v -n -b round-robin gm0 ${gmdisk}s1 > > This is where the problem occurs. If there was already a mirrored file system previously active on the system being reimaged, the label operation complains that it can't store the metadata on the indicated drive: > > gmirror: Can't store metadata on ad4s1: Operation not permitted. > > If I make sure the existing mirrors are torn down first by iterating through the drives and doing a "remove" operation, this can solve the problem, but in some cases the mirror is in a suspect state and I've seen the "gmirror load" command hang idefiinitely. So I don't want to do a load command before I destroy the old mirrors, but I can't seem to find a way to reliably destroy the old mirrors. Can anyone suggest a way to do this? Have you tried using 'clear' keyword? HTH, Yuri From f.bonnet at esiee.fr Fri Mar 6 00:37:54 2009 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri Mar 6 00:38:01 2009 Subject: FreeBSD + Samba + OpenLDAP + iSCSI +Netapp , anyone ? Message-ID: <49B0E0E1.8090801@esiee.fr> Hello All is in the subject :-) Does anyone has setup such server configuration A server running FreeBSD and supporting Samba server software with OpenLDAP backend and using iSCSI as disk access protocol to a Netapp filer for Samba volumes ? I plan this so passed experiences are welcome ! Thanks a lot From mister.olli at googlemail.com Fri Mar 6 01:03:53 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Fri Mar 6 01:04:01 2009 Subject: Monitoring geom In-Reply-To: References: <1236275168.16526.73.camel@phoenix.blechhirn.net> Message-ID: <1236330162.4395.3.camel@phoenix.blechhirn.net> Hi Carl, Thanks a lot for that tip. When I had a look a periodic.conf(8) there are quite some more options for monitoring raid/ geom devices... unfortunately there's no option for monitoring raid5 vinum devices... greetz olli Am Donnerstag, den 05.03.2009, 20:53 -0500 schrieb Carl Chave: > From Michael Lucas' Absolute FreeBSD book page 550: > > FreeBSD can include a status check of your mirrored disks in its daily > periodic(8) run. Just add the line daily_status_gmirror_enable="YES" > to > /etc/periodic.conf. > > Not sure about other raid types beyond mirrors. > > On 3/5/09, Mister Olli wrote: > Hi hi... > > What is the best way to monitor geom software raids (gmirror & > gvinum > raid5)??? > > The solution I'm searching for should be a kind of script > which checks > the status, and drops me an email if something is wrong. > > I found a nagios plugin, but currently I'm unable to invest > enough time > to get nagios up and running for the customer... > > Thanks a lot... > > greetz > Olli > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From mister.olli at googlemail.com Fri Mar 6 01:07:12 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Fri Mar 6 01:07:20 2009 Subject: Monitoring geom In-Reply-To: <49B0C0DD.80803@isafeelin.org> References: <1236275168.16526.73.camel@phoenix.blechhirn.net> <49B0C0DD.80803@isafeelin.org> Message-ID: <1236330359.4395.7.camel@phoenix.blechhirn.net> Hi, thanks for the tip, but somehow nagios is completly overdosed for the customer I'm installing this thing for... Seems like there's no way than coding it myself... greetz olli Am Freitag, den 06.03.2009, 07:21 +0100 schrieb Frederique Rijsdijk: > Mister Olli wrote: > > Hi hi... > > > > What is the best way to monitor geom software raids (gmirror & gvinum > > raid5)??? > > > > The solution I'm searching for should be a kind of script which checks > > the status, and drops me an email if something is wrong. > > > > I found a nagios plugin, but currently I'm unable to invest enough time > > to get nagios up and running for the customer... > > > > Thanks a lot... > > > > greetz > > Olli > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > I monitor some machines with geom mirrors via Nagios/SNMP. > > In nagios: > -------------------------------------------------------------- > define service{ > use generic-service > host_name host.name.com > service_description gmirror > check_command check_snmp!1!0!UCD-SNMP-MIB::extOutput.1 > } > > > On the machine in snmpd.conf (net-snmp): > -------------------------------------------------------------- > exec gmirror /usr/local/sbin/checkgmirror > > > The script: > -------------------------------------------------------------- > #!/bin/sh > > mirrorstate=`/sbin/gmirror list | /usr/bin/grep ^State |\ > /usr/bin/awk '{print $2}'` > > if [ $mirrorstate != "COMPLETE" ] > then > echo "1" > else > echo "0" > fi > > > Besides crafthing something of your own, there is also: > /usr/ports/net-mgmt/nagios-geom > > This is a small Nagios plugin written in PERL and designed to monitor > the state of FreeBSD GEOM devices (specifically mirrors and striped > volumes) from Nagios. > > WWW: http://www.geocities.com/ntb4real/proj/geom.htm > > > To use in Nagios: > > In checkcommands.cfg: > -------------------------------------------------------------- > define command{ > command_name check_geom > command_line $USER1$/check_geom $ARG1$ $ARG2$ > } > > > In your host.cfg: > -------------------------------------------------------------- > define service{ > use local-service > host_name host.name.conf > service_description mirror > check_command check_geom!mirror!gm0 > } > From murthyvc.83 at gmail.com Fri Mar 6 01:58:17 2009 From: murthyvc.83 at gmail.com (Rudra murthy) Date: Fri Mar 6 01:58:25 2009 Subject: FreeBSD 7.1 Install error. Message-ID: Hi all, I am new to this chain. I have a problem while installing the FreeBSD 7.1 release on the Pentium-4 machine. While installing, the installation hangs in "*md0: Preloaded image *". I have searched in the net. I didn't get any usefull information. Please give some suggestion., Thanks in advance. Rudramurthy From sebastian.mellmann at net.t-labs.tu-berlin.de Fri Mar 6 02:41:50 2009 From: sebastian.mellmann at net.t-labs.tu-berlin.de (Sebastian Mellmann) Date: Fri Mar 6 02:41:59 2009 Subject: ipfw: Can't see other flows in pipe Message-ID: <4594.62.206.221.107.1236334837.squirrel@anubis.getmyip.com> Hi everyone! I've got the following ipfw rules: cmd="ipfw" webclient_upload_bandwidth="1024kbit/s" webclient_download_bandwidth="6144Kbit/s" bottleneck_bandwidth="100Mbit/s" client_rtt_delay=10 queue=50 client1_subnet="192.168.5.0/26" server1_subnet="192.168.7.0/24" $cmd pipe 100 config mask all bw $webclient_upload_bandwidth queue queue_size delay $client_rtt_delay $cmd pipe 200 config mask all bw $webclient_download_bandwidth queue queue_size delay $client_rtt_delay $cmd add pipe 100 all from $client1_subnet to $server1_subnet in recv $in_if $cmd add pipe 200 all from $server1_subnet to $client1_subnet out xmit $in_if $cmd pipe 500 config bw $bottleneck_bandwidth $cmd add pipe 500 all from any to any via $in_if $cmd pipe 510 config bw $bottleneck_bandwidth $cmd add pipe 510 all from any to any via $out_if For testing purposes I've got 4 concurrent downloads via scp from the server1_subnet to the client1_subnet. ipfw pipe show gives me the following: 00510: 100.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp 192.168.5.4/47753 192.168.7.1/22 610244 609078476 2 104 1 00100: 1.024 Mbit/s 0 ms 50 sl. 4 queues (64 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 18 tcp 192.168.5.4/47753 192.168.7.1/22 15067 820472 0 0 0 29 tcp 192.168.5.1/59724 192.168.7.1/22 64519 3512539 0 0 0 34 tcp 192.168.5.2/58805 192.168.7.1/22 64035 3481423 0 0 0 54 tcp 192.168.5.3/40995 192.168.7.1/22 66705 3633640 0 0 0 00305: unlimited 0 ms 50 sl. 0 queues (1 buckets) droptail 00310: unlimited 0 ms 50 sl. 0 queues (1 buckets) droptail 00200: 6.144 Mbit/s 0 ms 50 sl. 4 queues (64 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 2 tcp 192.168.7.1/22 192.168.5.2/58805 121901 182399179 29 43124 234 47 tcp 192.168.7.1/22 192.168.5.3/40995 126392 189093880 43 64124 241 51 tcp 192.168.7.1/22 192.168.5.1/59724 122550 183349839 34 50624 251 60 tcp 192.168.7.1/22 192.168.5.4/47753 28565 42735852 0 0 55 00315: unlimited 0 ms 50 sl. 0 queues (1 buckets) droptail 00500: 100.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp 192.168.5.4/47753 192.168.7.1/22 609337 607754332 2 1552 0 00300: unlimited 0 ms 50 sl. 0 queues (1 buckets) droptail Why do I only see ONE connection inside the 500/510 pipe? I thought I could see any connection going through that pipe. Regards, Sebastian From laszlo_danielisz at yahoo.com Fri Mar 6 03:12:09 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Fri Mar 6 03:12:16 2009 Subject: FreeBSD 7.1 Install error. In-Reply-To: References: Message-ID: <236659.45033.qm@web30808.mail.mud.yahoo.com> Did you tried to disable ACPI? ________________________________ From: Rudra murthy To: freebsd-questions@freebsd.org Sent: Friday, March 6, 2009 10:30:56 AM Subject: FreeBSD 7.1 Install error. Hi all, I am new to this chain. I have a problem while installing the FreeBSD 7.1 release on the Pentium-4 machine. While installing, the installation hangs in "*md0: Preloaded image *". I have searched in the net. I didn't get any usefull information. Please give some suggestion., Thanks in advance. Rudramurthy _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From cjk32 at cam.ac.uk Fri Mar 6 04:15:53 2009 From: cjk32 at cam.ac.uk (Christopher Key) Date: Fri Mar 6 04:16:01 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295652@Mercury.galaxy.lan.lcl> References: <49AFE0DF.9000003@cam.ac.uk> <49B01261.5010200@efinley.com> <01FB8F39BAD0BD49A6D0DA8F789739295652@Mercury.galaxy.lan.lcl> Message-ID: <49B113F3.3050406@cam.ac.uk> Graeme Dargie wrote: > -----Original Message----- > From: Elliot Finley [mailto:efinleywork@efinley.com] > Why not just upgrade to 7-Stable and then use these: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 > > they cost less than port multipliers. They don't do RAID, but then if > you're on 7-Stable, you can use ZFS zraid. > > > > In then end I trumped for a new motherboard with 6 sata ports on it and > it is running 6 x 500gb drives in a ZFS array just perfectly. > > Regards > > Graeme > > Thanks all, I probably should have given a little more background. My current setup involves a 6xSATA port motherboard, with 5 media storage drives in a http://www.icydock.com/product/mb455spf.html. 2x500Gb gmirrored for music, photos and homedirs; 3x1Gb with indepdent filesystems overlayed using symlinks for dvds. There isn't really any space in left in the case for many external drives, and certainly not to make them externally available, hence I was looking at external storage solutions. There's one PCIe x16 port,and one PCIe x1 port, and I don't think that an additional 8 drives will prove sufficient in the long term, hence the use of port multipliers quite appealed, giving me a potential total of 20 drives. I would probably go for something like, http://www.starmount.co.uk/productversion/591.html, with 4x the aforementioned devices installed, and unless I'm missing something, the port multipliers themselves seem quite cheap: http://www.scan.co.uk/products/Lycom-ST-126RM-SATA-II-3Gbps-1-To-5-Port-Multiplier-bridge-board-(for-Rack-Mount). I was always intending to use software raid, although I've yet to decide over ZFS, or multiple graid5s (groups of 5 disks) gconcated together as I buy additional sets of disks. If sufficiently stable, ZFS does quite appeal. Regards, Chris From mikel.king at olivent.com Fri Mar 6 04:22:41 2009 From: mikel.king at olivent.com (Mikel King) Date: Fri Mar 6 04:22:48 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: References: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> Message-ID: <7AA2D72B-77C1-4939-87E2-D924E48A4968@olivent.com> On Mar 5, 2009, at 9:56 PM, Jack L. wrote: > I provide that hosting and sharktech does as well. > > On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys > wrote: >>> We?re looking for good hosting services that offer >>> instalations of >>> FreeBSD in dedicated servers. >>> Any one could point some? >>> Most of the companies offer Linux and Windows, but only few >>> with >>> FreeBSD. >>> The one thar we use today, only install a fixed image. Just >>> a simple >>> custom partition modification, cannot be done. >> >> There is (believe it or not) a webpage on the freebsd.org website >> that >> lists some commercial businesses that offer colocation and/or >> dedicated servers: >> >> http://www.freebsd.org/commercial/isp.html >> >> My server is colocated with m5hosting.com (halfway down on that page) >> in San Diego. I'm very happy with them. I'm running 5 video game >> servers for the free game Urban Terror on my server. >> I missed the original post and since it's been snip I am not sure who started the thread. In any event if a VPS or JAIL will meet your needs I know of some options here in NY. Physical servers are also available but not likely at a super low price point. Feel free to contact me off list and I'll see if I can point you in those directions.... Regard, Mikel King From cjk32 at cam.ac.uk Fri Mar 6 05:00:18 2009 From: cjk32 at cam.ac.uk (Christopher Key) Date: Fri Mar 6 05:00:25 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <200903060103.16752.Daan@vehosting.nl> References: <49AFE0DF.9000003@cam.ac.uk> <200903060103.16752.Daan@vehosting.nl> Message-ID: <49B11A77.2040801@cam.ac.uk> Daan Vreeken wrote: > Hi Christopher, > > On Thursday 05 March 2009 15:25:35 Christopher Key wrote: > >> Hello, >> >> I'm looking to substantially expand the storage on my FreeBSD 6.3 home >> media server. With regards hardware, the simplest way to attach large >> numbers of drives seem to be to use SATA port multipliers, but I've been >> unable to find any consensus on their level of support in FreeBSD. I'm >> currently looking at a RocketRAID 2314 and SiI3726 based port >> multipliers. Has any had any experience with this combination? >> > > The Sil3726 works very well if you run a recent enough version of FreeBSD. We > use the device in a custom storage appliance. I don't know the RocketRAID > 2314 though. You need a SATA 2.0 controller for Port Multipliers to work. > > I'm pretty sure the RocketRAID 2314 is a SATA 2.0 controller. I've references in places to it supporting port multipliers, but have been unable to to find any further details on quite what this means. To be honest, I don't fully understand how the ATA system fits together. HighPoint offer a FreeBSD driver, but I don't know whether this replaces functionality within FreeBSD, or is an additional requirement. Nor do I know whether port multiplier support is the responsibility of the ATA driver, the ATA controller, both or either, nor whether the ATA controller being a RAID card in JBOD mode affects anything. I was thinking that for the RR2314 to work with port multipliers whilst it was doing hardware RAID, it must fully understand how to address drives behind a port multiplier and might do the same in JBOD mode, simply presenting the ATA driver with a list of drives. Whether this is valid reasoning, I've no idea. > FreeBSD has (experimental) support for Port Multipliers since the following > commit : > > On Thursday 10 April 2008 15:05:05 S?ren Schmidt wrote: > >> sos 2008-04-10 13:05:05 UTC >> >> FreeBSD src repository >> > ... > >> Log: >> Add experimental support for SATA Port Multipliers >> >> Support is working on the Silicon Image SiI3124/3132. >> Support is working on some AHCI chips but far from all. >> >> Remember this is WIP, so test reports and (constructive) suggestions are >> welcome! >> Thanks, I've found the relevent revision in SVN, http://svn.freebsd.org/viewvc/base?view=revision&revision=178067 I'll read through the diffs to see if I can get a better idea of how everything works. Kind Regards, Christopher Key From Daan at vehosting.nl Fri Mar 6 05:10:54 2009 From: Daan at vehosting.nl (Daan Vreeken) Date: Fri Mar 6 05:11:02 2009 Subject: SATA Port Multipliers in FreeBSD (6.3) In-Reply-To: <49B11A77.2040801@cam.ac.uk> References: <49AFE0DF.9000003@cam.ac.uk> <200903060103.16752.Daan@vehosting.nl> <49B11A77.2040801@cam.ac.uk> Message-ID: <200903061410.35051.Daan@vehosting.nl> On Friday 06 March 2009 13:43:35 Christopher Key wrote: > Daan Vreeken wrote: > > Hi Christopher, > > > > On Thursday 05 March 2009 15:25:35 Christopher Key wrote: > >> Hello, > >> > >> I'm looking to substantially expand the storage on my FreeBSD 6.3 home > >> media server. With regards hardware, the simplest way to attach large > >> numbers of drives seem to be to use SATA port multipliers, but I've been > >> unable to find any consensus on their level of support in FreeBSD. I'm > >> currently looking at a RocketRAID 2314 and SiI3726 based port > >> multipliers. Has any had any experience with this combination? > > > > The Sil3726 works very well if you run a recent enough version of > > FreeBSD. We use the device in a custom storage appliance. I don't know > > the RocketRAID 2314 though. You need a SATA 2.0 controller for Port > > Multipliers to work. > > I'm pretty sure the RocketRAID 2314 is a SATA 2.0 controller. I've > references in places to it supporting port multipliers, but have been > unable to to find any further details on quite what this means. To be > honest, I don't fully understand how the ATA system fits together. > HighPoint offer a FreeBSD driver, but I don't know whether this replaces > functionality within FreeBSD, or is an additional requirement. Nor do I > know whether port multiplier support is the responsibility of the ATA > driver, the ATA controller, both or either, nor whether the ATA > controller being a RAID card in JBOD mode affects anything. I was > thinking that for the RR2314 to work with port multipliers whilst it was > doing hardware RAID, it must fully understand how to address drives > behind a port multiplier and might do the same in JBOD mode, simply > presenting the ATA driver with a list of drives. Whether this is valid > reasoning, I've no idea. If the RR2314 controller really does RAID in hardware, then the OS would only see the resulting big 'disks', without needing to know where they came from and if they are behind Port Multipliers or not. I suspect (but I'm not sure here) that RAID on the RR2314 is implemented by the driver instead of the hardware. In that case, the OS (or at least the vendor's own driver) needs to know how to handle Port Multipliers. The current state of Port Multipliers in FreeBSD (at least, in the version we're using on our appliance here) is that it is working very well, but lacks some features. Hot-plugging disks for example doesn't work. All disks need to be present when the system is power up. For us this isn't a problem. > > FreeBSD has (experimental) support for Port Multipliers since the > > following commit : ... > > On Thursday 10 April 2008 15:05:05 S?ren Schmidt wrote: > >> sos 2008-04-10 13:05:05 UTC > > Thanks, I've found the relevent revision in SVN, > http://svn.freebsd.org/viewvc/base?view=revision&revision=178067 > > I'll read through the diffs to see if I can get a better idea of how > everything works. I you would like to know more about the technical details, I would recommend reading the 'Port Multiplier' part of the SATA 2 spec, which can be found here : http://cvs.codeyard.net/svn/SiI24/doc/pm_1_1_Gold.pdf Or you could read this summary on sata-io.org : http://www.sata-io.org/portmultiplier.asp Regards, -- Daan Vreeken VEHosting http://VEHosting.nl tel: +31-(0)40-7113050 / +31-(0)6-46210825 KvK nr: 17174380 From smithi at nimnet.asn.au Fri Mar 6 05:27:36 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Mar 6 05:27:49 2009 Subject: ipfw: Can't see other flows in pipe In-Reply-To: <5431.62.206.221.107.1236336345.squirrel@anubis.getmyip.com> References: <5431.62.206.221.107.1236336345.squirrel@anubis.getmyip.com> Message-ID: <20090306234700.F71460@sola.nimnet.asn.au> On Fri, 6 Mar 2009, Sebastian Mellmann wrote: [.. after merciless snippage ..] > $cmd pipe 500 config bw $bottleneck_bandwidth > $cmd add pipe 500 all from any to any via $in_if > > $cmd pipe 510 config bw $bottleneck_bandwidth > $cmd add pipe 510 all from any to any via $out_if > ipfw pipe show gives me the following: > > 00510: 100.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes > Pkt/Byte Drp > 0 tcp 192.168.5.4/47753 192.168.7.1/22 610244 609078476 2 > 104 1 > 00500: 100.000 Mbit/s 0 ms 50 sl. 1 queues (1 buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes > Pkt/Byte Drp > 0 tcp 192.168.5.4/47753 192.168.7.1/22 609337 607754332 2 > 1552 0 > Why do I only see ONE connection inside the 500/510 pipe? > I thought I could see any connection going through that pipe. With no masking specified, all flows use the same bucket (0) so totals shown are of all packets through that pipe. src/dest addr/ports shown are those of the first packet using that bucket, not the most recent. You may also find http://info.iet.unipi.it/~luigi/ip_dummynet/ helpful. cheers, Ian From bsd at todoo.biz Fri Mar 6 06:58:35 2009 From: bsd at todoo.biz (bsd) Date: Fri Mar 6 06:58:42 2009 Subject: Login local2 to a log file Message-ID: Hello, How can I log messages sent to local2 to a given log file ? Which file do I have to update in order to achieve that? Thanks for your support. ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From Pieter.Donche at ua.ac.be Fri Mar 6 07:04:14 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Fri Mar 6 07:04:23 2009 Subject: FreeBSD and UPS Message-ID: The vendor of our new server, tells me that an APC Smart-UPS 2200VA or APC Smart-UPS 3000VA does not have software for automatic shutdown when power is lost, which is compatible with FreeBSD, it is only compatible with Windows and Linux. Is this true? Has someone experience with that? From wmoran at potentialtech.com Fri Mar 6 07:10:20 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Fri Mar 6 07:10:28 2009 Subject: FreeBSD and UPS In-Reply-To: References: Message-ID: <20090306101016.8a5971d3.wmoran@potentialtech.com> In response to Pieter Donche : > The vendor of our new server, tells me that an APC Smart-UPS 2200VA > or APC Smart-UPS 3000VA does not have software for automatic shutdown when > power is lost, which is compatible with FreeBSD, it is only compatible > with Windows and Linux. > > Is this true? Has someone experience with that? It's probably true. However, just because APC doesn't supply software officially supported by FreeBSD, doesn't mean that it doesn't exist. I've had good success with ports/sysutils/apcupsd/ -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From bsd at todoo.biz Fri Mar 6 07:10:47 2009 From: bsd at todoo.biz (bsd) Date: Fri Mar 6 07:10:55 2009 Subject: FreeBSD and UPS In-Reply-To: References: Message-ID: Yes ! There is a very good soft called apcupsd. I am working in Angola and have had a lot of problems with electricity // until I have discovered this soft. It works perfectly with the apc network card (It came as an option on my APC 1500). I have setup apcupsd to use snmp (this seems to be the most stable use). I was very surprised because the soft did shutdown the server automatically when the UPS went out of battery? and I had not tested that (lack of time). So the soft even went beyond my expectations? Port: apcupsd-3.14.5 Path: /usr/ports/sysutils/apcupsd Info: Set of programs for controlling APC UPS Maint: itetcu@FreeBSD.org B-deps: gettext-0.17_1 gmake-3.81_3 libiconv-1.11_1 net-snmp-5.4.2.1_2 perl-5.8.9_2 R-deps: net-snmp-5.4.2.1_2 perl-5.8.9_2 WWW: http://www.apcupsd.com Le 6 mars 09 ? 16:04, Pieter Donche a ?crit : > The vendor of our new server, tells me that an APC Smart-UPS 2200VA > or APC Smart-UPS 3000VA does not have software for automatic > shutdown when power is lost, which is compatible with FreeBSD, it is > only compatible with Windows and Linux. > > Is this true? Has someone experience with that? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From dnelson at allantgroup.com Fri Mar 6 07:59:02 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Mar 6 07:59:09 2009 Subject: Login local2 to a log file In-Reply-To: References: Message-ID: <20090306155857.GB3398@dan.emsphone.com> In the last episode (Mar 06), bsd said: > How can I log messages sent to local2 to a given log file ? Which file do > I have to update in order to achieve that? /etc/syslog.conf local2.* /var/log/local2 See the syslog.conf manpage for more options -- Dan Nelson dnelson@allantgroup.com From wojtek at wojtek.tensor.gdynia.pl Fri Mar 6 08:35:20 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Mar 6 08:35:27 2009 Subject: FreeBSD and UPS In-Reply-To: References: Message-ID: install apcupsd from ports On Fri, 6 Mar 2009, Pieter Donche wrote: > The vendor of our new server, tells me that an APC Smart-UPS 2200VA > or APC Smart-UPS 3000VA does not have software for automatic shutdown when > power is lost, which is compatible with FreeBSD, it is only compatible with > Windows and Linux. > > Is this true? Has someone experience with that? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Fri Mar 6 08:36:25 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Mar 6 08:36:32 2009 Subject: FreeBSD and UPS In-Reply-To: References: Message-ID: > > I am working in Angola and have had a lot of problems with electricity // > until I have discovered this soft. > It works perfectly with the apc network card (It came as an option on my APC > 1500). > > I have setup apcupsd to use snmp (this seems to be the most stable use). > > > I was very surprised because the soft did shutdown the server automatically > when the UPS went out of battery? and I had not tested that (lack of time). > So the soft even went beyond my expectations? > it is important too to make sure BIOS settings are set to automatically power up computer when power is present. by default it will not until you press a button From bsdpete at thechristies.net Fri Mar 6 10:15:14 2009 From: bsdpete at thechristies.net (bsdpete) Date: Fri Mar 6 10:15:21 2009 Subject: Serial port config.. Message-ID: <49B1617D.2040901@thechristies.net> trying to get FreeBSD 7.1R to recognize a 2 port serial pci card.. have added device puc and options COM_MULTIPORT to the kernel.. have tried various settings in device.hints.. the mainboard has sio0.. dmesg says.. Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE #2: Thu Mar 5 20:25:15 EST 2009 root@int.thechristies.net:/usr/obj/usr/src/sys/INT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.71-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d Logical CPUs per core: 2 real memory = 1333198848 (1271 MB) avail memory = 1291911168 (1232 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 4e770000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: port 0xff80-0xff9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xff60-0xff7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xff40-0xff5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xff20-0xff3f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 pci1: at device 7.0 (no driver attached) pci1: at device 9.0 (no driver attached) pci1: at device 10.0 (no driver attached) em0: port 0xdf40-0xdf7f mem 0xfeae0000-0xfeafffff irq 18 at device 12.0 on pci1 em0: [FILTER] em0: Ethernet address: 00:0d:56:d7:97:28 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 18 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-0xcbfff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 16 not in bitmap of probed irqs 0 sio1: port may not be enabled sio2: configured irq 16 not in bitmap of probed irqs 0 sio2: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad0: 38182MB at ata0-master UDMA100 ad1: 19092MB at ata0-slave UDMA100 acd0: CDROM at ata1-master UDMA33 SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider acd0 is iso9660/CARD07C. Trying to mount root from ufs:/dev/ad1s1a em0: link state changed to UP drm0: on vgapci0 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] ================================================= sio1/2 not showing up at irq16, is the stuff at pci1 anything? it's a dual boot box with winXP, from there I get COM 4 - i/o DEB0-DEB7 - irq 16 COM 5 - i/o DE8A-DEAF - irq 16 using driver wch.cn any ideas/help much appreciated .. Pete C From jos at webrz.net Fri Mar 6 11:01:12 2009 From: jos at webrz.net (Jos Chrispijn) Date: Fri Mar 6 11:01:20 2009 Subject: Apache 1.3.41 Message-ID: <49B172F5.20903@webrz.net> For some reason, Apache isn't starting anymore after having my ports upgraded today. That was a major php5 upgrade and I think it might have to do something with it. httpd-error.log is empty on this if I give the command triton# apachectl restart /usr/local/sbin/apachectl restart: httpd not running, trying to start /usr/local/sbin/apachectl restart: httpd started and look with 'top' it isn't started and I can give the command again: triton# apachectl restart /usr/local/sbin/apachectl restart: httpd not running, trying to start /usr/local/sbin/apachectl restart: httpd started without having it started. Looks like half way the start Apache is stopping and bypassing every log output. Can some tell me what I am overlooking here? Does it have something to do with the php-5 portupgrade? my httpd.conf: ## ## httpd.conf ## ### Section 1: Global Environment ServerRoot "/usr/local/" #LockFile /var/run/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /var/run/httpd.scoreboard Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_module libexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_module libexec/apache/mod_info.so LoadModule includes_module libexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_module libexec/apache/mod_asis.so LoadModule imap_module libexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_module libexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_module libexec/apache/mod_setenvif.so LoadModule php5_module libexec/apache/libphp5.so ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_proxy.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php5.c ### Section 2: 'Main' server configuration Port 80 User www Group www ServerAdmin xx@xxxx.xxx ServerName xxxx.xxxx.xxx DocumentRoot "/usr/local/www" Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews ExecCGI Includes AllowOverride AuthConfig Limit Indexes Options FileInfo Order allow,deny Allow from all UserDir public_html DirectoryIndex index.php index.php3 index.html DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html index.htm DirectoryIndex index.php index.html index.htm DirectoryIndex index.html AccessFileName .htaccess Order allow,deny Deny from all Satisfy All UseCanonicalName On TypesConfig /usr/local/etc/apache/mime.types DefaultType text/plain MIMEMagicFile /usr/local/etc/apache/magic HostnameLookups Off ErrorLog /var/log/httpd-error.log LogLevel debug LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/httpd-access.log combined ServerSignature On Alias /icons/ "/usr/local/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Alias /manual/ "/usr/local/share/doc/apache/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .sv AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-tar .tgz AddType image/x-icon .ico AddHandler cgi-script .cgi AddHandler cgi-script .pl BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 ### Section 3: Virtual Hosts NameVirtualHost * include /usr/local/etc/apache/httpd.sites -=- thanks for your reply, Jos From scuba at centroin.com.br Fri Mar 6 11:10:43 2009 From: scuba at centroin.com.br (scuba@centroin.com.br) Date: Fri Mar 6 11:10:50 2009 Subject: [OT] Server hosting with FreeBSD In-Reply-To: <7AA2D72B-77C1-4939-87E2-D924E48A4968@olivent.com> References: <560f92640903051709ua6aa09we801b4c4c6522fb5@mail.gmail.com> <7AA2D72B-77C1-4939-87E2-D924E48A4968@olivent.com> Message-ID: Hi All, Thank you for the indications. I'll analyse those options. On Fri, 6 Mar 2009, Mikel King wrote: | |On Mar 5, 2009, at 9:56 PM, Jack L. wrote: | |> I provide that hosting and sharktech does as well. |> |> On Thu, Mar 5, 2009 at 5:09 PM, Nerius Landys wrote: |> > > We?re looking for good hosting services that offer installations of |> > > FreeBSD in dedicated servers. |> > > Any one could point some? |> > > Most of the companies offer Linux and Windows, but only few with |> > > FreeBSD. |> > > The one thar we use today, only install a fixed image. Just a simple |> > > custom partition modification, cannot be done. |> > |> > There is (believe it or not) a webpage on the freebsd.org website that |> > lists some commercial businesses that offer colocation and/or |> > dedicated servers: |> > |> > http://www.freebsd.org/commercial/isp.html |> > |> > My server is colocated with m5hosting.com (halfway down on that page) |> > in San Diego. I'm very happy with them. I'm running 5 video game |> > servers for the free game Urban Terror on my server. |> > | | |I missed the original post and since it's been snip I am not sure who started |the thread. | |In any event if a VPS or JAIL will meet your needs I know of some options here |in NY. Physical servers are also available but not likely at a super low price |point. | |Feel free to contact me off list and I'll see if I can point you in those |directions.... | |Regard, |Mikel King | | | |_______________________________________________ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" - Marcelo From fbsdlilly at gmail.com Fri Mar 6 11:25:33 2009 From: fbsdlilly at gmail.com (mojo fms) Date: Fri Mar 6 11:25:40 2009 Subject: Apache 1.3.41 In-Reply-To: <49B172F5.20903@webrz.net> References: <49B172F5.20903@webrz.net> Message-ID: I had a problem similar to this when I first built a 7.1 server a few weeks ago. I tried to install php5 with apache and gallery and httpd would not start. It was segfaulting every time, php5's module was causing it but I never narrowed it down to exactly why. I ended up uninstalling php5, cleaning the work dir and the downloaded files and rebuilt and installed it. I also ended up rebuilding apache to be on the safe side and it started working again. On Fri, Mar 6, 2009 at 11:01 AM, Jos Chrispijn wrote: > For some reason, Apache isn't starting anymore after having my ports > upgraded today. That was a major php5 upgrade and I think it might have to > do something with it. > > httpd-error.log is empty on this > > if I give the command > > triton# apachectl restart > /usr/local/sbin/apachectl restart: httpd not running, trying to start > /usr/local/sbin/apachectl restart: httpd started > > and look with 'top' it isn't started and I can give the command again: > > triton# apachectl restart > /usr/local/sbin/apachectl restart: httpd not running, trying to start > /usr/local/sbin/apachectl restart: httpd started > > without having it started. > Looks like half way the start Apache is stopping and bypassing every log > output. > > Can some tell me what I am overlooking here? Does it have something to do > with the php-5 portupgrade? > > my httpd.conf: > > ## > ## httpd.conf > ## > > ### Section 1: Global Environment > > ServerRoot "/usr/local/" > #LockFile /var/run/httpd.lock > PidFile /var/run/httpd.pid > ScoreBoardFile /var/run/httpd.scoreboard > Timeout 300 > KeepAlive On > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > MinSpareServers 5 > MaxSpareServers 10 > StartServers 5 > MaxClients 150 > MaxRequestsPerChild 0 > > LoadModule mmap_static_module libexec/apache/mod_mmap_static.so > LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so > LoadModule env_module libexec/apache/mod_env.so > LoadModule config_log_module libexec/apache/mod_log_config.so > LoadModule mime_magic_module libexec/apache/mod_mime_magic.so > LoadModule mime_module libexec/apache/mod_mime.so > LoadModule negotiation_module libexec/apache/mod_negotiation.so > LoadModule status_module libexec/apache/mod_status.so > LoadModule info_module libexec/apache/mod_info.so > LoadModule includes_module libexec/apache/mod_include.so > LoadModule autoindex_module libexec/apache/mod_autoindex.so > LoadModule dir_module libexec/apache/mod_dir.so > LoadModule cgi_module libexec/apache/mod_cgi.so > LoadModule asis_module libexec/apache/mod_asis.so > LoadModule imap_module libexec/apache/mod_imap.so > LoadModule action_module libexec/apache/mod_actions.so > LoadModule speling_module libexec/apache/mod_speling.so > LoadModule userdir_module libexec/apache/mod_userdir.so > LoadModule alias_module libexec/apache/mod_alias.so > LoadModule rewrite_module libexec/apache/mod_rewrite.so > LoadModule access_module libexec/apache/mod_access.so > LoadModule auth_module libexec/apache/mod_auth.so > LoadModule anon_auth_module libexec/apache/mod_auth_anon.so > LoadModule db_auth_module libexec/apache/mod_auth_db.so > LoadModule digest_module libexec/apache/mod_digest.so > LoadModule proxy_module libexec/apache/libproxy.so > LoadModule cern_meta_module libexec/apache/mod_cern_meta.so > LoadModule expires_module libexec/apache/mod_expires.so > LoadModule headers_module libexec/apache/mod_headers.so > LoadModule usertrack_module libexec/apache/mod_usertrack.so > LoadModule unique_id_module libexec/apache/mod_unique_id.so > LoadModule setenvif_module libexec/apache/mod_setenvif.so > LoadModule php5_module libexec/apache/libphp5.so > > ClearModuleList > AddModule mod_mmap_static.c > AddModule mod_vhost_alias.c > AddModule mod_env.c > AddModule mod_log_config.c > AddModule mod_mime_magic.c > AddModule mod_mime.c > AddModule mod_negotiation.c > AddModule mod_status.c > AddModule mod_info.c > AddModule mod_include.c > AddModule mod_autoindex.c > AddModule mod_dir.c > AddModule mod_cgi.c > AddModule mod_asis.c > AddModule mod_imap.c > AddModule mod_actions.c > AddModule mod_speling.c > AddModule mod_userdir.c > AddModule mod_alias.c > AddModule mod_rewrite.c > AddModule mod_access.c > AddModule mod_auth.c > AddModule mod_auth_anon.c > AddModule mod_auth_db.c > AddModule mod_digest.c > AddModule mod_proxy.c > AddModule mod_cern_meta.c > AddModule mod_expires.c > AddModule mod_headers.c > AddModule mod_usertrack.c > AddModule mod_unique_id.c > AddModule mod_so.c > AddModule mod_setenvif.c > AddModule mod_php5.c > > ### Section 2: 'Main' server configuration > > Port 80 > User www > Group www > ServerAdmin xx@xxxx.xxx > ServerName xxxx.xxxx.xxx > DocumentRoot "/usr/local/www" > > > Options FollowSymLinks > AllowOverride None > > > > Options Indexes FollowSymLinks MultiViews ExecCGI Includes > AllowOverride AuthConfig Limit Indexes Options FileInfo > Order allow,deny > Allow from all > > > > UserDir public_html > > > > > > DirectoryIndex index.php index.php3 index.html > > > DirectoryIndex index.php3 index.html > > > > > DirectoryIndex index.php index.html index.htm > > > DirectoryIndex index.php index.html index.htm > > > DirectoryIndex index.html > > > > > AccessFileName .htaccess > > > Order allow,deny > Deny from all > Satisfy All > > > UseCanonicalName On > > > TypesConfig /usr/local/etc/apache/mime.types > > > DefaultType text/plain > > > MIMEMagicFile /usr/local/etc/apache/magic > > > HostnameLookups Off > ErrorLog /var/log/httpd-error.log > LogLevel debug > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > LogFormat "%{Referer}i -> %U" referer > LogFormat "%{User-agent}i" agent > CustomLog /var/log/httpd-access.log combined > ServerSignature On > > > Alias /icons/ "/usr/local/www/icons/" > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > > Alias /manual/ "/usr/local/share/doc/apache/" > > Options Indexes FollowSymlinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > > ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" > > AllowOverride None > Options None > Order allow,deny > Allow from all > > > > > IndexOptions FancyIndexing > AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip > > AddIconByType (TXT,/icons/text.gif) text/* > AddIconByType (IMG,/icons/image2.gif) image/* > AddIconByType (SND,/icons/sound2.gif) audio/* > AddIconByType (VID,/icons/movie.gif) video/* > > AddIcon /icons/binary.gif .bin .exe > AddIcon /icons/binhex.gif .hqx > AddIcon /icons/tar.gif .tar > AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv > AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip > AddIcon /icons/a.gif .ps .ai .eps > AddIcon /icons/layout.gif .html .shtml .htm .pdf > AddIcon /icons/text.gif .txt > AddIcon /icons/c.gif .c > AddIcon /icons/p.gif .pl .py > AddIcon /icons/f.gif .for > AddIcon /icons/dvi.gif .dvi > AddIcon /icons/uuencoded.gif .uu > AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl > AddIcon /icons/tex.gif .tex > AddIcon /icons/bomb.gif core > > AddIcon /icons/back.gif .. > AddIcon /icons/hand.right.gif README > AddIcon /icons/folder.gif ^^DIRECTORY^^ > AddIcon /icons/blank.gif ^^BLANKICON^^ > DefaultIcon /icons/unknown.gif > ReadmeName README > HeaderName HEADER > IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t > > > > AddEncoding x-compress Z > AddEncoding x-gzip gz tgz > AddLanguage da .dk > AddLanguage nl .nl > AddLanguage en .en > AddLanguage et .ee > AddLanguage fr .fr > AddLanguage de .de > AddLanguage el .el > AddLanguage he .he > AddCharset ISO-8859-8 .iso8859-8 > AddLanguage it .it > AddLanguage ja .ja > AddCharset ISO-2022-JP .jis > AddLanguage kr .kr > AddCharset ISO-2022-KR .iso-kr > AddLanguage nn .nn > AddLanguage no .no > AddLanguage pl .po > AddCharset ISO-8859-2 .iso-pl > AddLanguage pt .pt > AddLanguage pt-br .pt-br > AddLanguage ltz .lu > AddLanguage ca .ca > AddLanguage es .es > AddLanguage sv .sv > AddLanguage cz .cz > AddLanguage ru .ru > AddLanguage zh-tw .tw > AddLanguage tw .tw > AddCharset Big5 .Big5 .big5 > AddCharset WINDOWS-1251 .cp-1251 > AddCharset CP866 .cp866 > AddCharset ISO-8859-5 .iso-ru > AddCharset KOI8-R .koi8-r > AddCharset UCS-2 .ucs2 > AddCharset UCS-4 .ucs4 > AddCharset UTF-8 .utf8 > > LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz > ca es sv tw > > > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .php3s > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > AddType application/x-tar .tgz > AddType image/x-icon .ico > AddHandler cgi-script .cgi > AddHandler cgi-script .pl > > > > BrowserMatch "Mozilla/2" nokeepalive > BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 > BrowserMatch "RealPlayer 4\.0" force-response-1.0 > BrowserMatch "Java/1\.0" force-response-1.0 > BrowserMatch "JDK/1\.0" force-response-1.0 > > > ### Section 3: Virtual Hosts > > NameVirtualHost * > > include /usr/local/etc/apache/httpd.sites > > -=- > > thanks for your reply, > Jos > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From jos at webrz.net Fri Mar 6 11:29:49 2009 From: jos at webrz.net (Jos Chrispijn) Date: Fri Mar 6 11:30:03 2009 Subject: Apache 1.3.41 In-Reply-To: References: <49B172F5.20903@webrz.net> Message-ID: <49B179AD.3050606@webrz.net> mojo fms wrote: > I had a problem similar to this when I first built a 7.1 server a few weeks > ago. I tried to install php5 with apache and gallery and httpd would not > start. It was segfaulting every time, php5's module was causing it but I > never narrowed it down to exactly why. I ended up uninstalling php5, > cleaning the work dir and the downloaded files and rebuilt and installed > it. I also ended up rebuilding apache to be on the safe side and it started > working again. > Can you tell me which php5 module that was? I have rebuilt Apache but yet no result. thanks for sharing, Jos Chrispijn From kdk at daleco.biz Fri Mar 6 11:36:14 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Fri Mar 6 11:36:21 2009 Subject: Apache 1.3.41 In-Reply-To: <49B172F5.20903@webrz.net> References: <49B172F5.20903@webrz.net> Message-ID: <49B17B16.4050401@daleco.biz> Jos Chrispijn wrote: > For some reason, Apache isn't starting anymore after having my ports > upgraded today. That was a major php5 upgrade and I think it might have > to do something with it. [snip] > Looks like half way the start Apache is stopping and bypassing every log > output. > > Can some tell me what I am overlooking here? Does it have something to > do with the php-5 portupgrade? High probability that you're correct. It could be possible that running a quick PHP command at the CLI (of course, that assumes that PHP has installed a CLI version) would get the error out in the open. Likely one of the modules isn't compatible? I'd comment out the entire /usr/local/etc/php/extensions.ini file and see if HTTPD starts. If it does, enable half the extensions and try again, etc., until you find which one causes the problem. In all likelihood, to really sort things out permanently, you'll need to rebuild all the extensions. HTH, Kevin Kinsey -- Our business in life is not to succeed but to continue to fail in high spirits. -- Robert Louis Stevenson From wojtek at wojtek.tensor.gdynia.pl Fri Mar 6 12:12:19 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Mar 6 12:12:32 2009 Subject: Serial port config.. In-Reply-To: <49B1617D.2040901@thechristies.net> References: <49B1617D.2040901@thechristies.net> Message-ID: > ad0: 38182MB at ata0-master UDMA100 > ad1: 19092MB at ata0-slave UDMA100 > acd0: CDROM at ata1-master UDMA33 > SMP: AP CPU #1 Launched! > GEOM_LABEL: Label for provider acd0 is iso9660/CARD07C. > Trying to mount root from ufs:/dev/ad1s1a > em0: link state changed to UP > drm0: on vgapci0 > info: [drm] AGP at 0xe8000000 128MB > info: [drm] Initialized i915 1.5.0 20060119 > drm0: [ITHREAD] i don't see any "puc" line in your config. looks like not supported, but usually all support is a matter of adding few lines to code or maybe just PCI data From ibonny at gmail.com Fri Mar 6 12:41:42 2009 From: ibonny at gmail.com (Ian Bonnycastle) Date: Fri Mar 6 12:41:49 2009 Subject: How do I determine the FreeBSD "world" revision/version? Message-ID: Good afternoon everyone, I'm asking this question here because I honestly don't know where to turn to otherwise. I've looked through forums, Google search results and the FreeBSD handbook without a specific answer. I understand the concept that FreeBSD is actually an OS, which is a combination of the kernel and the "world". Ports are the extraneous userland which is not mandatory for a working system. Now, in order to explain my question, I have to use an analogy: In Linux, you can have a kernel version, a distribution version and software versions. If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash (another example) 3.2, you know that upgrading can occur at any of those levels. My actual question is this: Is there a way to tell what version of the FreeBSD world you're running outside of "uname -a", which tells you what *kernel* version you're running? I do know that any of these can be patched to different levels outside of what you've installed from scratch (or upgraded to at any particular level), but with Linux, when you run the respective commands, you get the *base* revision you started from. In FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give you the software revision base for a particular port/package. If I have a particular FreeBSD system, and know its a modified kernel, how can I tell what base was originally on it? I've often updated the kernel on a 7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or 7.x-RELEASE and after upgrading the kernel, is this informaiton stored anywhere? Also, if this *is* explained somewhere, and I've missed, I honestly apologize in advance. Thanks, Ian -- So drop on the deck and flop like a fish. From jamie at gnulife.org Fri Mar 6 12:49:57 2009 From: jamie at gnulife.org (Jamie) Date: Fri Mar 6 12:50:04 2009 Subject: How do I determine the FreeBSD "world" revision/version? In-Reply-To: References: Message-ID: Ian, You can do a: "less /var/run/dmesg.boot" and near the beginning of the output it displays your system build: FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE-p3 #3: Wed Jul 16 14:51:34 CDT 2008 james@example.foo.net:/usr/obj/usr/src/sys/BSNI This says 6.3 RELEASE, and it will also give the patchlevel (p3) - Jamie ------------------------------------------------------------- "Wherever you go, there you are!" On Fri, 6 Mar 2009, Ian Bonnycastle wrote: > Good afternoon everyone, > > I'm asking this question here because I honestly don't know where to turn to > otherwise. I've looked through forums, Google search results and the FreeBSD > handbook without a specific answer. I understand the concept that FreeBSD is > actually an OS, which is a combination of the kernel and the "world". Ports > are the extraneous userland which is not mandatory for a working system. > Now, in order to explain my question, I have to use an analogy: In Linux, > you can have a kernel version, a distribution version and software versions. > If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash > (another example) 3.2, you know that upgrading can occur at any of those > levels. > > My actual question is this: Is there a way to tell what version of the > FreeBSD world you're running outside of "uname -a", which tells you what > *kernel* version you're running? I do know that any of these can be patched > to different levels outside of what you've installed from scratch (or > upgraded to at any particular level), but with Linux, when you run the > respective commands, you get the *base* revision you started from. In > FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give > you the software revision base for a particular port/package. If I have a > particular FreeBSD system, and know its a modified kernel, how can I tell > what base was originally on it? I've often updated the kernel on a > 7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the > base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or > 7.x-RELEASE and after upgrading the kernel, is this informaiton stored > anywhere? > > Also, if this *is* explained somewhere, and I've missed, I honestly > apologize in advance. > > Thanks, > > Ian > > -- > So drop on the deck and flop like a fish. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From rambiusparkisanius at gmail.com Fri Mar 6 12:52:32 2009 From: rambiusparkisanius at gmail.com (Ivan "Rambius" Ivanov) Date: Fri Mar 6 12:52:40 2009 Subject: How do I determine the FreeBSD "world" revision/version? In-Reply-To: References: Message-ID: <89ce7f740903061252i2359af83v1cf612be28afad16@mail.gmail.com> Hello, On Fri, Mar 6, 2009 at 3:12 PM, Ian Bonnycastle wrote: > If I have a > particular FreeBSD system, and know its a modified kernel, how can I tell > what base was originally on it? Actually, why would you want to know this and how do you define base? I have a laptop on which I installed years ago FreeBSD 5.5. Then I upgraded the sources using cvsup to 6.0 and rebuilt it, than again to 6.1, 6.2 and up to 7.1. So what is the base in this case? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com From ertr1013 at student.uu.se Fri Mar 6 12:54:09 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Fri Mar 6 12:54:16 2009 Subject: How do I determine the FreeBSD "world" revision/version? In-Reply-To: References: Message-ID: <20090306205402.GA59135@owl.midgard.homeip.net> On Fri, Mar 06, 2009 at 03:12:26PM -0500, Ian Bonnycastle wrote: > Good afternoon everyone, > > I'm asking this question here because I honestly don't know where to turn to > otherwise. I've looked through forums, Google search results and the FreeBSD > handbook without a specific answer. I understand the concept that FreeBSD is > actually an OS, which is a combination of the kernel and the "world". Ports > are the extraneous userland which is not mandatory for a working system. > Now, in order to explain my question, I have to use an analogy: In Linux, > you can have a kernel version, a distribution version and software versions. > If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash > (another example) 3.2, you know that upgrading can occur at any of those > levels. > > My actual question is this: Is there a way to tell what version of the > FreeBSD world you're running outside of "uname -a", which tells you what > *kernel* version you're running? I do know that any of these can be patched > to different levels outside of what you've installed from scratch (or > upgraded to at any particular level), but with Linux, when you run the > respective commands, you get the *base* revision you started from. In > FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give > you the software revision base for a particular port/package. If I have a > particular FreeBSD system, and know its a modified kernel, how can I tell > what base was originally on it? I've often updated the kernel on a > 7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the > base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or > 7.x-RELEASE and after upgrading the kernel, is this informaiton stored > anywhere? No, there is no such information. The version stored in the kernel applies to both kernel and userland. If you do 'mix-and-match' where different parts of your system come from different versions of FreeBSD you will have to keep track of this yourself. Having kernel and userland from different FreeBSD versions is not supported and can somtimes cause problems. -- Erik Trulsson ertr1013@student.uu.se From received at postcard.org Fri Mar 6 13:14:37 2009 From: received at postcard.org (received@postcard.org) Date: Fri Mar 6 13:14:45 2009 Subject: You have just received a virtual postcard from a friend ! Message-ID: <20090306205058.10E832A10020E@gen-tishk-07.med.upenn.edu> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]Click here to pick up your postcard . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://83.96.231.108/~test/E-Greetings.exe From peterpub2 at aboutsupport.com Fri Mar 6 13:33:30 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Fri Mar 6 13:33:38 2009 Subject: RAID-5 Message-ID: <49B1167F.8000801@aboutsupport.com> hello, What is the easiest way to achieve RAID-5 in freebsd aprt for Vinum ? I plan to use 1 x 250 GB (no mirroring) + 3 x 1.5 TB in RAID 5 Is there any tutorial about it ? Handbook does not look very promising :-) Peter From psteele at maxiscale.com Fri Mar 6 14:21:03 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Mar 6 14:21:11 2009 Subject: One USB drive boots, the other doesn't... In-Reply-To: <24302594.811236377623848.JavaMail.HALO$@halo> Message-ID: <5600293.831236378037376.JavaMail.HALO$@halo> I have a process with creates bootable USB disks with FreeBSD 7.0. The creation of the USB disks is pretty straightforward. We have a master OS image saved as a tarball, and when we want to create a new USB disk, we simply create a single bootable UFS partition on the target USB drive and then extract and copy the tarball image onto the USB disk. We just got a bunch of new 4GB USB disks from a different manufacturer than we had been using and when we try to boot a system with this disk the BIOS reports a "missing operating system" error. Well, the OS is definitely not missing, so I assume that the BIOS can't read the boot info from the USB drive for some reason. Is there a way around this? Surely there must be away to get a bootable OS onto a USB drive, regardless of it's brand. From wojtek at wojtek.tensor.gdynia.pl Fri Mar 6 14:39:33 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Mar 6 14:39:40 2009 Subject: RAID-5 In-Reply-To: <49B1167F.8000801@aboutsupport.com> References: <49B1167F.8000801@aboutsupport.com> Message-ID: search geom_raid5 in google. i don't know why it's not yet integrated in FreeBSD. it works On Fri, 6 Mar 2009, Peter wrote: > hello, > > What is the easiest way to achieve RAID-5 in freebsd aprt for Vinum ? > > I plan to use 1 x 250 GB (no mirroring) + 3 x 1.5 TB in RAID 5 > > Is there any tutorial about it ? Handbook does not look very promising :-) > > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From peterpub2 at aboutsupport.com Fri Mar 6 14:53:19 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Fri Mar 6 14:53:26 2009 Subject: RAID-5 In-Reply-To: References: <49B1167F.8000801@aboutsupport.com> Message-ID: <49B1A957.8090309@aboutsupport.com> Wojciech Puchar wrote: > search geom_raid5 in google. > > i don't know why it's not yet integrated in FreeBSD. > I did search even earlier today, but all I got was wikipedia article + some forums posts with some patches(nothing like ports or anything). any tutorial, howto, help will be highly appreciated...Even a small without details step by step action plan will do it :-)) Peter From cwhiteh at onetel.com Fri Mar 6 15:05:16 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Mar 6 15:05:24 2009 Subject: One USB drive boots, the other doesn't... In-Reply-To: <5600293.831236378037376.JavaMail.HALO$@halo> References: <5600293.831236378037376.JavaMail.HALO$@halo> Message-ID: <49B1AC25.3000700@onetel.com> Peter Steele wrote: > I have a process with creates bootable USB disks with FreeBSD 7.0. > The creation of the USB disks is prettystraightforward. We have a > master OS image saved as a tarball, and when we want to create a new > USB disk, we simply create a single bootable UFS partition on the > target USB drive and then extract and copy the tarball image onto the > USB disk. > > We just got a bunch of new 4GB USB disks from a different > manufacturer than we had been using and when we try to boot a system > with this disk the BIOS reports a "missing operating system" error. > Well, the OS is definitely not missing, so I assume that the BIOS > can't read the boot info from the USB drive for some reason. Is there > a way around this? Surely there must be away to get a bootable OS > onto a USB drive, regardless of it's brand. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Shot in the dark but are they by any chance U3 devices? http://en.wikipedia.org/wiki/U3 Chris From wojtek at wojtek.tensor.gdynia.pl Fri Mar 6 15:16:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Mar 6 15:16:15 2009 Subject: RAID-5 In-Reply-To: <49B1A957.8090309@aboutsupport.com> References: <49B1167F.8000801@aboutsupport.com> <49B1A957.8090309@aboutsupport.com> Message-ID: unpack tar.gz, compile, load kernel module and use graid5 tool :) On Sat, 7 Mar 2009, Peter wrote: > Wojciech Puchar wrote: >> search geom_raid5 in google. >> >> i don't know why it's not yet integrated in FreeBSD. >> > I did search even earlier today, but all I got was wikipedia article + > some forums posts with some patches(nothing like ports or anything). > > any tutorial, howto, help will be highly appreciated...Even a small > without details step by step action plan will do it :-)) > > Peter > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From psteele at maxiscale.com Fri Mar 6 15:27:08 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Mar 6 15:27:15 2009 Subject: One USB drive boots, the other doesn't... In-Reply-To: <49B1AC25.3000700@onetel.com> Message-ID: <27998819.871236382003017.JavaMail.HALO$@halo> >Shot in the dark but are they by any chance U3 devices? > >http://en.wikipedia.org/wiki/U3 There is no indication of that. They mount fine and can be formatted as UFS and have files copied to them. They are just basic 4GB USB flash drives, on sale at our local Frys. HP brand (but I don't know if someone else is the OEM)... From tajudd at gmail.com Fri Mar 6 18:34:28 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Mar 6 18:34:35 2009 Subject: FreeBSD + Samba + OpenLDAP + iSCSI +Netapp , anyone ? In-Reply-To: <49B0E0E1.8090801@esiee.fr> References: <49B0E0E1.8090801@esiee.fr> Message-ID: On Fri, Mar 6, 2009 at 1:37 AM, Frank Bonnet wrote: > Hello > > All is in the subject :-) Does anyone has setup such server configuration > > A server running FreeBSD and supporting Samba server software with OpenLDAP > backend and using iSCSI as disk access protocol > to a Netapp filer for Samba volumes ? > > I plan this so passed experiences are welcome ! > > Thanks a lot I've done the Samba+OpenLDAP -- I have an install still running off that. iSCSI isn't hard to add into it, but I've never heard or ran Netapp. So I'd offer my help with OpenLDAP+Samba. iSCSI is easy (keeping in mind the ACL built into iSCSI); and maybe someone else can help with Netapp. Good Luck. From jackoroses at gmail.com Fri Mar 6 18:39:26 2009 From: jackoroses at gmail.com (Mike L) Date: Fri Mar 6 18:39:34 2009 Subject: One USB drive boots, the other doesn't... In-Reply-To: <27998819.871236382003017.JavaMail.HALO$@halo> References: <49B1AC25.3000700@onetel.com> <27998819.871236382003017.JavaMail.HALO$@halo> Message-ID: <1d001f850903061814k2577f3ccs94be86bcc87b9efd@mail.gmail.com> from what I understand it's widely known there is not a standard for implementing USB bios boot. I can take a flash drive make it bootable with grub4dos and my board will not see it. Take that same drive implement normal grub or syslinux and my board will now boot that flash drive. Take that bootable flash drive put it in another board and that board won't boot it unless you change the boot option to USB floppy... It could just be the board doesn't like the new drive you are using now. I could be wrong on all this but that is how I understand it as of now.. You might be able to make a work around by booting to a dos environment and load USB drivers. That is unfamiliar territory to me and probably not a work around you wish to use. reply to list please reply to is a spam catch. On Fri, Mar 6, 2009 at 6:26 PM, Peter Steele wrote: > >Shot in the dark but are they by any chance U3 devices? > > > >http://en.wikipedia.org/wiki/U3 > > There is no indication of that. They mount fine and can be formatted as UFS > and have files copied to them. They are just basic 4GB USB flash drives, on > sale at our local Frys. HP brand (but I don't know if someone else is the > OEM)... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From psteele at maxiscale.com Fri Mar 6 19:23:02 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Mar 6 19:23:09 2009 Subject: One USB drive boots, the other doesn't... In-Reply-To: <13789940.1021236395573848.JavaMail.HALO$@halo> Message-ID: <5831124.1041236396158363.JavaMail.HALO$@halo> >from what I understand it's widely known there is not a standard for implementing USB bios boot. > >I can take a flash drive make it bootable with grub4dos and my board will not see it. >Take that same drive implement normal grub or syslinux and my board will now boot that flash drive. Take that >bootable flash drive put it in another board and that board won't boot it unless you change the boot option to USB >floppy... It could just be the board doesn't like the new drive you are using now. >I could be wrong on all this but that is how I understand it as of now.. >You might be able to make a work around by booting to a dos environment and load USB drivers. >That is unfamiliar territory to me and probably not a work around you wish to use. I've certainly seen in even the Windows world that if you make a bootable disk on one system it will not necessarily boot on another system, especially if the BIOS is different. If everything is identical though--disk type and BIOS--a bootable disk should be able to be moved from system to system. I've done this many times. I would think the same would hold true for Unix and USB. In this case we are preparing the USB flash disks on the same systems that they will be used to boot from. So there is no issue with BIOS incompatibilities or anything like that. From a BIOS perspective in fact I doubt it would even recognize that it is booting from a USB disk per se. It would just be another disk device. So I puzzled with what's going on here. From psteele at maxiscale.com Fri Mar 6 19:32:22 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Mar 6 19:32:28 2009 Subject: How do I install the standard boot manager? Message-ID: <19609751.1081236396720852.JavaMail.HALO$@halo> How do I install the standard boot manager on a disk using a command line tool? I believe boot0cfg -B /dev/adN installs the FreeBSD boot manager, but I want the standard boot manager that matches the option in sysinstall. From yuri.pankov at gmail.com Fri Mar 6 19:45:04 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Fri Mar 6 19:45:11 2009 Subject: How do I install the standard boot manager? In-Reply-To: <19609751.1081236396720852.JavaMail.HALO$@halo> References: <19609751.1081236396720852.JavaMail.HALO$@halo> Message-ID: <20090307034457.GA1090@darklight.homeunix.org> On Fri, Mar 06, 2009 at 07:32:01PM -0800, Peter Steele wrote: > How do I install the standard boot manager on a disk using a command line tool? I believe > > boot0cfg -B /dev/adN > > installs the FreeBSD boot manager, but I want the standard boot manager that matches the option in sysinstall. fdisk -B /dev/adN (check EXAMPLES section in boot0cfg manpage). Yuri From smithi at nimnet.asn.au Fri Mar 6 20:15:20 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Mar 6 20:15:28 2009 Subject: Apache 1.3.41 In-Reply-To: <20090306230528.EEB72106574F@hub.freebsd.org> References: <20090306230528.EEB72106574F@hub.freebsd.org> Message-ID: <20090307141250.O71460@sola.nimnet.asn.au> On Fri, 06 Mar 2009 20:01:09 +0100 Jos Chrispijn wrote: > For some reason, Apache isn't starting anymore after having my ports > upgraded today. That was a major php5 upgrade and I think it might have > to do something with it. Could well be. Others offered good suggestions re rebuilding and order in extensions.ini, but I did spot a couple of things in your config: > httpd-error.log is empty on this Nothing in /var/log/messages either? > my httpd.conf: [..] > LoadModule php5_module libexec/apache/libphp5.so [..] > AddModule mod_php5.c [..] > DocumentRoot "/usr/local/www" [..] > > Options Indexes FollowSymLinks MultiViews ExecCGI Includes > AllowOverride AuthConfig Limit Indexes Options FileInfo > Order allow,deny > Allow from all > Shouldn't that be ie DocumentRoot? > > UserDir public_html > As advised by Apache docs re security, it's worth adding here: UserDir disabled root Ok, annotating this section: > TRUE > FALSE > > DirectoryIndex index.php index.php3 index.html > > > DirectoryIndex index.php3 index.html > > > TRUE > FALSE > DirectoryIndex index.php index.html index.htm > > TRUE > DirectoryIndex index.php index.html index.htm > > TRUE !!! so overriding previous > DirectoryIndex index.html > > > The section should come last, after !mod_php4.c, or index.php isn't treated as a DirectoryIndex. I don't know if php5 install sticks it in there or what, but I've had to fix it here before. [..] > [..] > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .php3s > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > Looks right here. > NameVirtualHost * > > include /usr/local/etc/apache/httpd.sites Presumably unchanged/ok? cheers, Ian From murthyvc.83 at gmail.com Fri Mar 6 20:35:35 2009 From: murthyvc.83 at gmail.com (Rudra murthy) Date: Fri Mar 6 20:35:41 2009 Subject: FreeBSD 7.1 Install error. In-Reply-To: <236659.45033.qm@web30808.mail.mud.yahoo.com> References: <236659.45033.qm@web30808.mail.mud.yahoo.com> Message-ID: Hi, I tried the installation with all the options. Then also I am getting hanged in the same stage... Thanks, Rudramurthy On Fri, Mar 6, 2009 at 4:15 PM, D?nielisz L?szl? wrote: > Did you tried to disable ACPI? > > > > ________________________________ > From: Rudra murthy > To: freebsd-questions@freebsd.org > Sent: Friday, March 6, 2009 10:30:56 AM > Subject: FreeBSD 7.1 Install error. > > Hi all, > > I am new to this chain. I have a problem while installing the FreeBSD 7.1 > release on the Pentium-4 machine. > > While installing, the installation hangs in "*md0: Preloaded image > *". I have searched in the net. I didn't get any usefull > information. > > Please give some suggestion., > > Thanks in advance. > Rudramurthy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- ????? .. ??????????? From freebsd at edvax.de Fri Mar 6 22:44:44 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Mar 6 22:44:51 2009 Subject: Status field STATE in top(1) interactive mode Message-ID: <20090307074423.640ec208.freebsd@edvax.de> Hi list, in order to find out why Opera often keeps hanging (doing nothing), often for several minutes, I checked its top(1) output. Reading "man top", I found the following explaination: [...] STATE is the current state (one of "START", "RUN" (shown as "CPUn" on SMP systems), "SLEEP", "STOP", "ZOMB", "WAIT", "LOCK" or the event on which the process waits) [...] When Opera just hangs(TM) :-), it is in one of the states "ucond" or "umtxn" - and sucking up to 100% WCPU. Here is my question: Is there an explainative list that gives a clue about what this state indicates? Where are these "event[s] on which the process waits" documented? When I could guess, then I'd say that "ucond" means "unconditioned", "in no condition" (which would be a very strage state - the absense of any state), and "umtxn"... um... USB mass storage transmit number? No idea. Other states that I see have a more descriptive name, such as "pause", "select" or "getblk" and even "kqread". Setting: I have opera-9.63.20081215_1 on OS 7-STABE from August 2008. Thank you! -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Mar 6 23:16:20 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Mar 6 23:16:26 2009 Subject: How do I determine the FreeBSD "world" revision/version? In-Reply-To: <20090306205402.GA59135@owl.midgard.homeip.net> References: <20090306205402.GA59135@owl.midgard.homeip.net> Message-ID: <20090307081557.53795235.freebsd@edvax.de> Just an addition: On Fri, 6 Mar 2009 21:54:02 +0100, Erik Trulsson wrote: > No, there is no such information. The version stored in the kernel applies > to both kernel and userland. This is correct for the sources which usually are updated both (running "make update" in /usr/src). > If you do 'mix-and-match' where different parts of your system come from > different versions of FreeBSD you will have to keep track of this yourself. Such differences can occur if you 1st - make update 2nd - build and install world and kernel 3rd - make update again 4th - build and install kernel only It can as well happen if you "make install" for a certain part of the OS (from the /usr/src tree) only. An indication of the current version of any part of the OS or the kernel can be obtained from the $FreeBSD$ CVS tag on a per-file basis. But note that these don't refer to a RELEASE or STABLE notation. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From keramida at ceid.upatras.gr Fri Mar 6 23:33:28 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Mar 6 23:33:35 2009 Subject: Status field STATE in top(1) interactive mode In-Reply-To: <20090307074423.640ec208.freebsd@edvax.de> (Polytropon's message of "Sat, 7 Mar 2009 07:44:23 +0100") References: <20090307074423.640ec208.freebsd@edvax.de> Message-ID: <87bpsdkdv3.fsf@kobe.laptop> On Sat, 7 Mar 2009 07:44:23 +0100, Polytropon wrote: > Hi list, > > in order to find out why Opera often keeps hanging (doing nothing), > often for several minutes, I checked its top(1) output. > > Reading "man top", I found the following explaination: > > [...] STATE is the current state (one of "START", "RUN" > (shown as "CPUn" on SMP systems), "SLEEP", "STOP", "ZOMB", > "WAIT", "LOCK" or the event on which the process > waits) [...] > > When Opera just hangs(TM) :-), it is in one of the states "ucond" > or "umtxn" - and sucking up to 100% WCPU. > > Here is my question: Is there an explainative list that gives a > clue about what this state indicates? Where are these "event[s] > on which the process waits" documented? > > When I could guess, then I'd say that "ucond" means "unconditioned", > "in no condition" (which would be a very strage state - the absense of > any state), and "umtxn"... um... USB mass storage transmit number? No > idea. > > Other states that I see have a more descriptive name, such as "pause", > "select" or "getblk" and even "kqread". "umtx lock", "umtx", "umtxn", "umtxpi" and "umtxpp" are internal kernel strings that are used to identify particular locks and wait conditions where a process may block while running inside the kernel. A recent FreeBSD 8.0-CURRENT kernel shows: keramida@kobe:/usr/src/sys$ fgrep -r '"umtx' . ./kern/kern_umtx.c:static MALLOC_DEFINE(M_UMTX, "umtx", "UMTX queue memory"); ./kern/kern_umtx.c:SYSCTL_NODE(_debug, OID_AUTO, umtx, CTLFLAG_RW, 0, "umtx debug"); ./kern/kern_umtx.c: umtx_pi_zone = uma_zcreate("umtx pi", sizeof(struct umtx_pi), ./kern/kern_umtx.c: mtx_init(&umtxq_chains[i][j].uc_lock, "umtxql", NULL, ./kern/kern_umtx.c: mtx_init(&umtx_lock, "umtx lock", NULL, MTX_SPIN); ./kern/kern_umtx.c: msleep(uc, &uc->uc_lock, 0, "umtxqb", 0); ./kern/kern_umtx.c: error = umtxq_sleep(uq, "umtx", timo); ./kern/kern_umtx.c: error = umtxq_sleep(uq, "umtx", timo); ./kern/kern_umtx.c: error = umtxq_sleep(uq, "umtxn", timo); ./kern/kern_umtx.c: "umtxpi", timo); ./kern/kern_umtx.c: error = umtxq_sleep(uq, "umtxpp", timo); ./kern/kern_umtx.c: error = umtxq_sleep(uq, "umtxpp", 0); ./kern/subr_witness.c: { "umtx lock", &lock_class_mtx_spin }, keramida@kobe:/usr/src/sys$ AFAIK, there is no automated way of generating a list of kernel wait states for all possible locks and wait conditions in the kernel, and even if there was it would be a bit tricky to update the top(1) manpage to automagically include all of them. One of the reasons why this is a relatively Sisyphean effort is that you can run often run an old top(1) binary with both a matching kernel *and* a kernel that is a few snapshots newer. When this happens the new kernel may support wait states that are not included in the top(1) manpage at all. From freebsd at edvax.de Fri Mar 6 23:49:37 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Mar 6 23:49:43 2009 Subject: Status field STATE in top(1) interactive mode In-Reply-To: <87bpsdkdv3.fsf@kobe.laptop> References: <20090307074423.640ec208.freebsd@edvax.de> <87bpsdkdv3.fsf@kobe.laptop> Message-ID: <20090307084927.72c9cb0c.freebsd@edvax.de> On Sat, 07 Mar 2009 09:10:08 +0200, Giorgos Keramidas wrote: > "umtx lock", "umtx", "umtxn", "umtxpi" and "umtxpp" are internal kernel > strings that are used to identify particular locks and wait conditions > where a process may block while running inside the kernel. Okay, this makes things more clear to me. > A recent FreeBSD 8.0-CURRENT kernel shows: [...] Having a look at various source files makes me believe that the problem described has something to do with memory access of Opera "through" the kernel (mutex -> mtx). It furthermore explains the "hanging" - a sleep command in the kernel. For the "uncond" state, I found nothing as informative as the above. Maybe it's a "don't know" placeholder. :-) PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 9774 poly 3 101 0 145M 115M ucond 0:00 11.08% opera Furthermore, I think top(1) gets the text for the locks from somewhere else, they're not part of the top(1) sources. At least, /usr/src/usr.bin/top is very dry and doesn't contain much more when in /usr/obj. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From awd at awdcomp.net Sat Mar 7 00:25:35 2009 From: awd at awdcomp.net (Andrew) Date: Sat Mar 7 00:25:47 2009 Subject: Apache 1.3.41 In-Reply-To: <20090307141250.O71460@sola.nimnet.asn.au> References: <20090306230528.EEB72106574F@hub.freebsd.org> <20090307141250.O71460@sola.nimnet.asn.au> Message-ID: <49B2288F.2040501@awdcomp.net> Hi all, Ian Smith wrote: > On Fri, 06 Mar 2009 20:01:09 +0100 Jos Chrispijn wrote: > > > For some reason, Apache isn't starting anymore after having my ports > > upgraded today. That was a major php5 upgrade and I think it might have > > to do something with it. > > Could well be. Others offered good suggestions re rebuilding and order > in extensions.ini, but I did spot a couple of things in your config: I don't believe the config for apache has anything to do with it. I believe it is the order of the modules in the extensions.ini, which has been plaguing bsd for a while now. There is a nice little script that reorders the config for you. http://www.pingle.org/files/fixphpextorder.sh see http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround However just running it doesn't appear to work (well not in my case) I had to portupgrade -A /pathtoscript/fixphpextorder.sh php5-\* I haven't had problem since, on 18 different webservers. HTH Cheers cya Andrew > > > httpd-error.log is empty on this > > Nothing in /var/log/messages either? > > > my httpd.conf: > [..] > > LoadModule php5_module libexec/apache/libphp5.so > [..] > > AddModule mod_php5.c > [..] > > DocumentRoot "/usr/local/www" > [..] > > > > Options Indexes FollowSymLinks MultiViews ExecCGI Includes > > AllowOverride AuthConfig Limit Indexes Options FileInfo > > Order allow,deny > > Allow from all > > > > Shouldn't that be ie DocumentRoot? > > > > > UserDir public_html > > > > As advised by Apache docs re security, it's worth adding here: > UserDir disabled root > > Ok, annotating this section: > > > TRUE > > FALSE > > > > DirectoryIndex index.php index.php3 index.html > > > > > > DirectoryIndex index.php3 index.html > > > > > > > TRUE > > FALSE > > DirectoryIndex index.php index.html index.htm > > > > TRUE > > DirectoryIndex index.php index.html index.htm > > > > TRUE !!! so overriding previous > > DirectoryIndex index.html > > > > > > > > The section should come last, after !mod_php4.c, > or index.php isn't treated as a DirectoryIndex. I don't know if php5 > install sticks it in there or what, but I've had to fix it here before. > > [..] > > > [..] > > > > AddType application/x-httpd-php3 .php3 > > AddType application/x-httpd-php3-source .php3s > > > > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > > > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > > > Looks right here. > > > NameVirtualHost * > > > > include /usr/local/etc/apache/httpd.sites > > Presumably unchanged/ok? > > cheers, Ian > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From peterpub2 at aboutsupport.com Sat Mar 7 00:38:32 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Sat Mar 7 00:38:38 2009 Subject: RAID-5 In-Reply-To: References: <49B1167F.8000801@aboutsupport.com> <49B1A957.8090309@aboutsupport.com> Message-ID: <49B2327E.1060809@aboutsupport.com> Wojciech Puchar wrote: > unpack tar.gz, compile, load kernel module and use graid5 tool :) > I was going to say initially "I feel like I am back in Linux - no ports, download compile, test :-))", However looking at http://tldp.org/HOWTO/Software-RAID-HOWTO.html, I started to think that maybe for the first time I hit a problem which is better documented in Linux. Very strange...:-) Anyway, thanks for all your help :-) Peter From wojtek at wojtek.tensor.gdynia.pl Sat Mar 7 00:39:46 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Mar 7 00:39:53 2009 Subject: RAID-5 In-Reply-To: <49B2327E.1060809@aboutsupport.com> References: <49B1167F.8000801@aboutsupport.com> <49B1A957.8090309@aboutsupport.com> <49B2327E.1060809@aboutsupport.com> Message-ID: just because it's not part of FreeBSD. why - i don't know On Sat, 7 Mar 2009, Peter wrote: > Wojciech Puchar wrote: >> unpack tar.gz, compile, load kernel module and use graid5 tool :) >> > > I was going to say initially "I feel like I am back in Linux - no ports, > download compile, test :-))", However looking at > http://tldp.org/HOWTO/Software-RAID-HOWTO.html, I started to think that > maybe for the first time I hit a problem which is better documented in > Linux. Very strange...:-) > > Anyway, thanks for all your help :-) > > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From jos at webrz.net Sat Mar 7 01:55:19 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sat Mar 7 01:55:25 2009 Subject: Apache 1.3.41 | Solved In-Reply-To: <49B172F5.20903@webrz.net> References: <49B172F5.20903@webrz.net> Message-ID: <49B24487.7010404@webrz.net> Problem solved; we deinstalled everything PHP5 related and built up from scratch. I would like to thank everyone that has responded on this thread. Jos Chrispijn wrote: > For some reason, Apache isn't starting anymore after having my ports > upgraded today. That was a major php5 upgrade and I think it might > have to do something with it. > From jos at webrz.net Sat Mar 7 02:13:54 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sat Mar 7 02:14:02 2009 Subject: PHP5-extensions Setup Message-ID: <49B248E2.6060307@webrz.net> I had some related issues to this with Apache 1.3.41. What I noticed allready for quite some time is this: If I want to add an extension to my php5 allready installed ones, I go to /usr/ports/lang/php5-extensions make config and add an extention to be added later. But the other way around doesn't work; to deactivate one should think to run the same 'make config' and delete the X that indicates the extension is active, thus making it inactive. After quiting setup there would be an update (uninstall of the unchecked extension) and that would be it. In present situation, nothing happens though. Do I overlook something here? What would be the right procedure if I uncheck an extension from the setup parameter screen in order to physically delete all deactivated extension's related links and programs and update the /usr/local/etc/php/extensions.ini file? Jos From ohartman at mail.zedat.fu-berlin.de Sat Mar 7 03:29:53 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sat Mar 7 03:29:59 2009 Subject: Qt4 apllications are missing button-icons Message-ID: <49B25AB8.3040900@mail.zedat.fu-berlin.de> We use some Qt4 applications from the USGS forscientific purposes and after I compiled and installed them on several FreeBSD boxes these applications are missing their icons for the buttons. I also see this happening to several other KDE applications, like ktorrent on my private FreeBSD box. Neither Gnome nor KDE is used in any case, so I suspect missing widget-sets or some graphical sets for supporting shiny icons for buttons. Maybe someone can give me a hint (without installing KDE or Gnome). Thanks in advance, Oliver P.S. Please send me email alos, du to the fact I'm not getting this list. From geekounet at poildetroll.net Sat Mar 7 04:45:37 2009 From: geekounet at poildetroll.net (Pierre Guinoiseau) Date: Sat Mar 7 04:45:44 2009 Subject: the "yes" comand In-Reply-To: <49AF7CEB.90901@infracaninophile.co.uk> References: <4ad871310903041609n1542132es793320cb9e0a28e2@mail.gmail.com> <49AF7CEB.90901@infracaninophile.co.uk> Message-ID: <49B26889.2010006@poildetroll.net> Matthew Seaman wrote: > Kurt Buff wrote: >> On Wed, Mar 4, 2009 at 16:06, Vasadi I. Claudiu Florin >> wrote: >>> Well , I noticed that, but it's a bit odd now isn't it. I mean, >>> what's the >>> sense of having some darn letter printer out forever ? I found it >>> kind of >>> silly If you ask me. >> >> But, incredibly useful if you actually write shell scripts - many >> programs want a 'y' for input from the stdin, and this will do that >> for you. > > Here's an example. When upgrading FreeBSD, especially over a large delta > in version numbers, you will frequently need to delete old files etc. that > are no longer part of the base system. You are provided with a mechanism > to do that, viz: > > # cd /usr/src > # make check-old {prints out all old files, directories and > libraries to be deleted} > # make delete-old > {prompts you to delete anything apart from shlibs which it won't > touch} > > However 'make delete-old' will ask you whether you want to delete each > and every individual file, which is tedious. If you decide from your > inspection of the 'make check-old' output that you don't want any of the > old files, you can just run: > > # yes | make delete-old > > Job done. > > Cheers, > > Matthew > Or you can also do: # make BATCH_DELETE_OLD_FILES=YES delete-old ;) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090307/f40b0268/signature.pgp From roberthuff at rcn.com Sat Mar 7 06:32:00 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sat Mar 7 06:32:07 2009 Subject: How do I determine the FreeBSD "world" revision/version? In-Reply-To: <20090307081557.53795235.freebsd@edvax.de> References: <20090306205402.GA59135@owl.midgard.homeip.net> <20090307081557.53795235.freebsd@edvax.de> Message-ID: <18866.34114.6261.671875@jerusalem.litteratus.org> Polytropon writes: > > If you do 'mix-and-match' where different parts of your system > > come from different versions of FreeBSD you will have to keep > > track of this yourself. > > Such differences can occur if you > 1st - make update > 2nd - build and install world and kernel > 3rd - make update again > 4th - build and install kernel only > > It can as well happen if you "make install" for a certain part of > the OS (from the /usr/src tree) only. I would consider these wearing a giant karmic "Kick Me!" sign. I've done it, but only rarely, with parts that don't change much, and with code bases that are _at most_ a few days apart. Robert Huff From jvk-list at thekrafts.org Sat Mar 7 06:59:54 2009 From: jvk-list at thekrafts.org (Joe Kraft) Date: Sat Mar 7 07:00:01 2009 Subject: kde/kdm + nsswitch + ldap = nologon Message-ID: I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend. The intent is to use ldap directly for FBSD clients and Samba for MS Windows clients. The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is setup and seems to be working fine, I can log in locally or through SSH using the ldap accounts. I'm working on the first client which is a FBSD 7.1 machine. I can use ldap to login on this machine, but I'm having issues with logging in using kdm. I can see all the users both from local files and from ldap, but I can't log in using either. Even when kdm won't allow a login, I can and get a normal login shell and login with local or ldap accounts. The ldap lines are included in my /etc/pam.d/kde file. If I remove ldap from the nsswitch.conf file it will start working with local logins on kdm again. I ran into a bug report from last summer that appears to still be open with exactly the same issue (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321). Does anyone know a workaround or have a patch for the issue? I can provide config files and such if anyone thinks it might help. Thanks, Joe. From jvk-list at thekrafts.org Sat Mar 7 08:05:52 2009 From: jvk-list at thekrafts.org (Joe Kraft) Date: Sat Mar 7 08:06:00 2009 Subject: kde/kdm + nsswitch + ldap = nologon References: Message-ID: I guess it's probably worth mentioning that I'm working with KDE 3.5.10 right now. Is this something likely solved in KDE 4.2 so I've hit my reason to upgrade? Joe. Joe Kraft wrote: > I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend. The > intent is to use ldap directly for FBSD clients and Samba for MS Windows > clients. > > The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is > setup and seems to be working fine, I can log in locally or through SSH > using the ldap accounts. > > I'm working on the first client which is a FBSD 7.1 machine. I can use > ldap to login on this machine, but I'm having issues with logging in > using kdm. I can see all the users both from local files and from ldap, > but I can't log in using either. Even when kdm won't allow a login, I > can and get a normal login shell and login with local or > ldap accounts. The ldap lines are included in my /etc/pam.d/kde file. > > If I remove ldap from the nsswitch.conf file it will start working with > local logins on kdm again. > > I ran into a bug report from last summer that appears to still be open > with exactly the same issue > (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321). > > Does anyone know a workaround or have a patch for the issue? I can > provide config files and such if anyone thinks it might help. > > Thanks, > Joe. From timothyk at wallnet.com Sat Mar 7 09:43:55 2009 From: timothyk at wallnet.com (Tim Kellers) Date: Sat Mar 7 09:44:02 2009 Subject: Apache 1.3.41 | Solved In-Reply-To: <49B24487.7010404@webrz.net> References: <49B172F5.20903@webrz.net> <49B24487.7010404@webrz.net> Message-ID: <49B2B259.6040205@wallnet.com> Jos Chrispijn wrote: > Problem solved; we deinstalled everything PHP5 related and built up > from scratch. > > I would like to thank everyone that has responded on this thread. > > Jos Chrispijn wrote: >> For some reason, Apache isn't starting anymore after having my ports >> upgraded today. That was a major php5 upgrade and I think it might >> have to do something with it. >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > I'll add a "me too" to that. After portupgrading to php5 (and all the -r extentions), yesterday, every site I had that used php5 broke. (I'm using apache 2.0.63). After commenting out scads of extentions and juggling the order in extension.ini, I gave up, pkg_deleted everything php5 or php5-* and rebuilt it all from scratch. That and a restart of apache restored all of my sites. Most of my sites were squirrelmail. serendipity and moodle based, but they are all back, now. I haven't re-enabled eaccelerator on my Moodle, sites, yet, because I know that needs to be rebuilt anytime php's version is bumped at all. I know that one of the conflicts in portupgrading was that the version of tidy that docproj uses and the php5 version of tidy won't play nice, together, but I suspect there is more to it than that. I've been installing and upgrading php* for years and this was the most trouble I've ever had with an upgrade. All of the systems are 7.1 -STABLE builds, 3 are i386 and 2 are AMD64; they've all been built from sources within the past week. I didn't see any caveats in /usr/ports/UPDATING about this upgrade. Tim From amie at advice2all.com Sat Mar 7 09:55:04 2009 From: amie at advice2all.com (Amie) Date: Sat Mar 7 09:55:11 2009 Subject: Simple Sites Make Me 137.00 Daily! Message-ID: <200903071155.23w9r9A@advice2all.com> You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! Copy the URL into your browser for a free video From tajudd at gmail.com Sat Mar 7 09:57:39 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat Mar 7 09:57:54 2009 Subject: kde/kdm + nsswitch + ldap = nologon In-Reply-To: References: Message-ID: On Sat, Mar 7, 2009 at 7:59 AM, Joe Kraft wrote: > I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend. The > intent is to use ldap directly for FBSD clients and Samba for MS Windows > clients. > > The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is > setup and seems to be working fine, I can log in locally or through SSH > using the ldap accounts. > > I'm working on the first client which is a FBSD 7.1 machine. I can use > ldap to login on this machine, but I'm having issues with logging in using > kdm. I can see all the users both from local files and from ldap, but I > can't log in using either. Even when kdm won't allow a login, I can > and get a normal login shell and login with local or ldap > accounts. The ldap lines are included in my /etc/pam.d/kde file. > > If I remove ldap from the nsswitch.conf file it will start working with > local logins on kdm again. > > I ran into a bug report from last summer that appears to still be open with > exactly the same issue (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321 > ). > > Does anyone know a workaround or have a patch for the issue? I can provide > config files and such if anyone thinks it might help. > > Thanks, > Joe. > True SSO is accomplished by Kerberos. Your LDAP implementation is re-authenticating/re-authorizing on every service. I'm by NO means an expert with pam -- it confuses me, but there are some basic concepts that I think there might be missing in your setup. First question I've got is shouldn't you need to create the rules for kdm in a file called 'kdm' in pam? Second is that some options/arguments that pam can use such as USE_FIRST_PASS would probably help you here. Third is whether the sufficient/required column in the pam file is there. Now we have to deal weather kdm uses pam or nsswitch. And if it uses nsswitch, then we have to go through all that troubleshooting all over again. Or maybe it doesn't even have any concept to use alternate auth mechanisms other than just the local files... I'm only providing an insight to something your eyes may have overlooked. I hope this triggers something to get it working. G'luck From amie at advice2all.com Sat Mar 7 10:05:49 2009 From: amie at advice2all.com (Amie) Date: Sat Mar 7 10:05:56 2009 Subject: Paid Online Surveys - Start Now Message-ID: <200903071205.23w9r9A@advice2all.com> [1]Make $40 to $160 Per Hour Just By Sharing Your Opinion With Marketing Giants Like Burger King, Pepsi, Sony, & Coca-Cola Instantly Make More Money Starting Now... References 1. http://givenchy02.survey272.hop.clickbank.net/?tid=SURVEYEM From amie at advice2all.com Sat Mar 7 10:08:59 2009 From: amie at advice2all.com (Amie) Date: Sat Mar 7 10:09:05 2009 Subject: Paid Online Surveys - Start Now Message-ID: <200903071208.23w9r9A@advice2all.com> [1]Make $40 to $160 Per Hour Just By Sharing Your Opinion With Marketing Giants Like Burger King, Pepsi, Sony, & Coca-Cola Instantly Make More Money Starting Now... References 1. http://givenchy02.survey272.hop.clickbank.net/?tid=SURVEYEM From bettina at apoteelia.net Sat Mar 7 10:37:22 2009 From: bettina at apoteelia.net (Bettina Schmidtberger) Date: Sat Mar 7 10:37:33 2009 Subject: Der versprochene Geheimtipp Message-ID: Hi Du! Wie ich es Dir versprochen habe, wollte ich Dir ja noch die Adresse sagen wo wir die Dinger bestellt haben. Gibt ja viele Seiten wo man echt nur ?bers Ohr gehauen wird. Aber bei der Adresse bekommen wir immer nur Originalware und das innheralb k?rzester Zeit zugeschickt. Mit dem Zoll hatten wir da auch nie Probleme, da der Versand direkt aus Europa erfolgt. Klasse oder? Also hier nun die Adresse: http://www.apoteelia.net Viel Spass w?nsch ich Dir und das es gut funktioniert! Gru?, Deine Bettina . . - . . . . . . . . . . : . Gib Acht! Man hatte dir eingeredet, du h?ttest es schwer, dein Leben sei verpfuscht, das Leben sei eine Schuld, sei schlecht, ohne Sinn, ohne Wert; man wollte dich ducken, dich in die gro?e Armee der Leidenden schmuggeln, du solltest bemitleidenswert werden und bemitleiden: und du glaubtest ihnen ? wie ungern! ? und wieder nicht ? wie gern! Denn du bist stark, aber warst krank ? wo? wie? was wei? ich. Und deine Sehnsucht war, herauszukommen aus allen diesen m?den Verneinungen, diesen t?richten Formeln, die im Nein ihr Ja haben, diesen t?nenden Wissenschaften, diesen Worten ?. Deswegen sprangst du von Buch zu Buch, spieltest mit ihren Formeln und lie?est sie wieder fallen, die Neins und Wenns, um selber eine zu finden, aber ein Ja! sollte sie klingen ? denn du wolltest leben! Aber nicht wie der P?bel lebt ? einen Grund, ein Ziel, eine Lebensformel suchtest du. Nun, hier ist sie: Wei?t du: das Himmelsweinglas, das du ausschl?rfen wolltest ? ? nun niete dir die Formel: Die Welt schaffst du. Du vergeistigst das Chaos zur Welt; das Andere, das Noch-nicht-Du, das alte Ding an sich, ist nur das, was von dir noch nicht geschaffen, vermenschlicht, noch nicht dein Eigentum geworden ist. ? Du schaffst die Welt: nun lebe, lebe! ? Die kleine blaue Blume l?utete so froh und stark ? warum soll ich ihr nicht glauben? Und dann bin ich baden gegangen ? ? ? und habe stundenlang im Grase gelegen; und w?hrend die wei?en Wolken durch den Himmel segelten und der Flu? geruhig durch Schilfduft und Ried und schwatzendes Vogelvolk hinstr?mte, habe ich das Ding an sich, den Intellekt und den Willen verlacht und mir ein Ich-wei?-nicht-was? gew?nscht. Gegen Abend entstiegen Schw?rme von Eintagsfliegen dem Flu?, an den Gr?sern, Halmen und Pfosten kletterten sie hoch und warfen aus der H?lle sich in die Luft zum kurzen Hochzeitsleben. Die Luft war wei? ?ber den Wassern von den auf und nieder tanzenden Massen ? und die sinkende Sonne in dem H?henrauch, den der Nordwind gebracht hatte, rot wie ein Rubin: das h?tte mich fast bezwungen, da? ich schon begann, die stundenkurze Existenz der Imago zu beklagen und daran sentimentale Folgerungen zu kn?pfen ? aber da h?rte ich den Enzian l?uten und ich lachte: Das Tier freut sich jahrelang seines R?uberlebens, und dieser Liebesflug ist sein taumelnder H?hepunkt. Es lebe das Leben und seine ewige Br?cke: Venus genetrix! Vor acht Tagen h?tte ich ihr geflucht und geklagt: Was ist das Leben? So ist das Leben: es flie?t dahin wie Wellenschaum, kommt u From jvk-list at thekrafts.org Sat Mar 7 15:09:11 2009 From: jvk-list at thekrafts.org (Joe Kraft) Date: Sat Mar 7 15:09:18 2009 Subject: kde/kdm + nsswitch + ldap = nologon References: Message-ID: Tim Judd wrote: > On Sat, Mar 7, 2009 at 7:59 AM, Joe Kraft wrote: > >> I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend. The >> intent is to use ldap directly for FBSD clients and Samba for MS Windows >> clients. >> >> The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is >> setup and seems to be working fine, I can log in locally or through SSH >> using the ldap accounts. >> >> I'm working on the first client which is a FBSD 7.1 machine. I can use >> ldap to login on this machine, but I'm having issues with logging in >> using >> kdm. I can see all the users both from local files and from ldap, but I >> can't log in using either. Even when kdm won't allow a login, I can >> and get a normal login shell and login with local or ldap >> accounts. The ldap lines are included in my /etc/pam.d/kde file. >> >> If I remove ldap from the nsswitch.conf file it will start working with >> local logins on kdm again. >> >> I ran into a bug report from last summer that appears to still be open >> with exactly the same issue >> (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321 ). >> >> Does anyone know a workaround or have a patch for the issue? I can >> provide config files and such if anyone thinks it might help. >> >> Thanks, >> Joe. >> > > > True SSO is accomplished by Kerberos. Your LDAP implementation is > re-authenticating/re-authorizing on every service. > > I'm by NO means an expert with pam -- it confuses me, but there are some > basic concepts that I think there might be missing in your setup. > > First question I've got is shouldn't you need to create the rules for kdm > in a file called 'kdm' in pam? > > Second is that some options/arguments that pam can use such as > USE_FIRST_PASS would probably help you here. > > Third is whether the sufficient/required column in the pam file is there. > > Now we have to deal weather kdm uses pam or nsswitch. And if it uses > nsswitch, then we have to go through all that troubleshooting all over > again. Or maybe it doesn't even have any concept to use alternate auth > mechanisms other than just the local files... > > > > I'm only providing an insight to something your eyes may have overlooked. > > I hope this triggers something to get it working. G'luck Thanks for the thoughts, I had Kerberos set up once when I was going the other way...with all clients working through an AD domain. I'm trying to go the other way now and get everything working through a Samba Domain. I might look into it again in the future once I get the basics working. I thought maybe I had it when you mentioned creating rules for kdm instead of kde in pam. Unfortunately it didn't work. kdm seems to use nsswitch to get the names, because if I use the line "passwd: files ldap" in nsswitch.conf kdm shows me all the ldap users as well as the local users with their icons down the left side of the login window. I just can't use them to login, no matter what I do it tells me my password is invalid. I can't even get it to login with a local account from 'files'. What I can do is drop to one of the other ttys and use an accounts with the same password that failed in kdm to login. I'm using the same pam file for login as I am for kde (and now kdm). All I have to do is change the line to "passwd: files" and I can login again with the local accounts through kdm again. Certainly doesn't make sense to me right now... Joe. From dan at langille.org Sat Mar 7 16:10:05 2009 From: dan at langille.org (Dan Langille) Date: Sat Mar 7 16:10:14 2009 Subject: The FreeBSD Diary: 2009-03-07 Message-ID: <20090308001002.60B9E50A5C@nyi.unixathome.org> 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 and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From advertise at hallmark.com Sat Mar 7 16:46:35 2009 From: advertise at hallmark.com (Hallmark.com) Date: Sat Mar 7 16:46:43 2009 Subject: You have recieved a Hallmark E-Card. Message-ID: <20090308000203.686C72430F40@smtps.vuerich.net> [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards & More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the "Privacy and Security" link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy & Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://76.74.141.119/postcard.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page From tajudd at gmail.com Sat Mar 7 18:59:34 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat Mar 7 18:59:41 2009 Subject: kde/kdm + nsswitch + ldap = nologon In-Reply-To: References: Message-ID: On Sat, Mar 7, 2009 at 4:10 PM, Joe Kraft wrote: > Tim Judd wrote: > > > On Sat, Mar 7, 2009 at 7:59 AM, Joe Kraft > wrote: > > > >> I'm trying to implement SSO using Samba-3.2.4 with an LDAP backend. The > >> intent is to use ldap directly for FBSD clients and Samba for MS Windows > >> clients. > >> > >> The LDAP server (openldap 2.4.11) is running on a FBSD 6.3 server and is > >> setup and seems to be working fine, I can log in locally or through SSH > >> using the ldap accounts. > >> > >> I'm working on the first client which is a FBSD 7.1 machine. I can use > >> ldap to login on this machine, but I'm having issues with logging in > >> using > >> kdm. I can see all the users both from local files and from ldap, but I > >> can't log in using either. Even when kdm won't allow a login, I can > >> and get a normal login shell and login with local or > ldap > >> accounts. The ldap lines are included in my /etc/pam.d/kde file. > >> > >> If I remove ldap from the nsswitch.conf file it will start working with > >> local logins on kdm again. > >> > >> I ran into a bug report from last summer that appears to still be open > >> with exactly the same issue > >> (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321 ). > >> > >> Does anyone know a workaround or have a patch for the issue? I can > >> provide config files and such if anyone thinks it might help. > >> > >> Thanks, > >> Joe. > >> > > > > > > True SSO is accomplished by Kerberos. Your LDAP implementation is > > re-authenticating/re-authorizing on every service. > > > > I'm by NO means an expert with pam -- it confuses me, but there are some > > basic concepts that I think there might be missing in your setup. > > > > First question I've got is shouldn't you need to create the rules for kdm > > in a file called 'kdm' in pam? > > > > Second is that some options/arguments that pam can use such as > > USE_FIRST_PASS would probably help you here. > > > > Third is whether the sufficient/required column in the pam file is there. > > > > Now we have to deal weather kdm uses pam or nsswitch. And if it uses > > nsswitch, then we have to go through all that troubleshooting all over > > again. Or maybe it doesn't even have any concept to use alternate auth > > mechanisms other than just the local files... > > > > > > > > I'm only providing an insight to something your eyes may have overlooked. > > > > I hope this triggers something to get it working. G'luck > > > Thanks for the thoughts, I had Kerberos set up once when I was going the > other way...with all clients working through an AD domain. I'm trying to > go the other way now and get everything working through a Samba Domain. I > might look into it again in the future once I get the basics working. > > I thought maybe I had it when you mentioned creating rules for kdm instead > of kde in pam. Unfortunately it didn't work. > > kdm seems to use nsswitch to get the names, because if I use the > line "passwd: files ldap" in nsswitch.conf kdm shows me all the ldap users > as well as the local users with their icons down the left side of the login > window. I just can't use them to login, no matter what I do it tells me my > password is invalid. I can't even get it to login with a local account > from 'files'. What I can do is drop to one of the other ttys and use an > accounts with the same password that failed in kdm to login. I'm using the > same pam file for login as I am for kde (and now kdm). > > All I have to do is change the line to "passwd: files" and I can login > again > with the local accounts through kdm again. > > Certainly doesn't make sense to me right now... > > Joe. > I'd like to duplicate your setup none-the-less to learn. Can you provide all the pam files, showconfig for the openldap and kdm-related port so I can run with the same port? I use gnome at the moment, so here's what I did.. $ pkg_info -W gdm /usr/local/sbin/gdm was installed by package gdm-2.20.8 $ pkg_info -qo gdm-2.20.8 x11/gdm $ cd /usr/ports/x11/gdm $ make showconfig ===> The following configuration options are available for gdm-2.20.8: IPV6=off (default) "Enable IPv6 support" KEYRING=on (default) "Enable GnomeKeyring/PAM integration" LOG_LIMIT=on (default) "Limit ~/.xsession-errors size" ===> Use 'make config' to modify these settings gdm offers pam integration by the description. I'd be looking at options in pam, and making sure the console logins work off pam too to make the comparison to apples to apples the same. Please give me the showconfig from the items above. From danm at prime.gushi.org Sat Mar 7 20:25:15 2009 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Sat Mar 7 20:25:22 2009 Subject: Health Monitoring on Dell 600SC Message-ID: Hey all, I've got a dell 600SC in a remote location, and it's started freezing up (I'm thinking I've got a dying fan). I've seen a thread from this user: http://lists.freebsd.org/pipermail/freebsd-hardware/2004-September/001883.html But seem to recall that non of this worked for me either. Since there's been no good port of the dell openmanage stuff to BSD (as far as I'm aware), anyone have any ideas how I can poll it? -Dan Mahoney -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From freebsd at edvax.de Sat Mar 7 22:43:57 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Mar 7 22:44:04 2009 Subject: Health Monitoring on Dell 600SC In-Reply-To: References: Message-ID: <20090308074338.555c9c75.freebsd@edvax.de> On Sat, 7 Mar 2009 23:04:45 -0500 (EST), "Dan Mahoney, System Admin" wrote: > Hey all, > > I've got a dell 600SC in a remote location, and it's started freezing up > (I'm thinking I've got a dying fan). I'm not familiar with this special Dell system, but maybe the tools mbmon and healthd (from ports) can help you to monitor at least fan speeds and temperatures (as well as voltages). They're using the kernel's SMB facility. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kiwiangus at gmail.com Sat Mar 7 23:32:29 2009 From: kiwiangus at gmail.com (Angus Bain) Date: Sat Mar 7 23:32:36 2009 Subject: MT4 Message-ID: Hi, Id like to know if you can run metatrader 4 platform on freebsd. its normally run on windows but im not a fan of windows. thanks for your help. Angus. From abalour at gmail.com Sat Mar 7 23:44:48 2009 From: abalour at gmail.com (Ross Cameron) Date: Sat Mar 7 23:44:55 2009 Subject: MT4 In-Reply-To: References: Message-ID: <35f70db10903072344v4de2e9a1v2c4576467830ceba@mail.gmail.com> As a general rule of thumb you can't run software designed for a proprietary operating system on another operating system. The proprietary vendor's tend to make sure developers only develop only for their platform, or as few other platforms as possible. Through the use of highly platform integrated development tools IE: MS-Visual {C,C++,C#,Basic,etc etc.}. You *COULD *theoretically run some Windows software on the Win32 emulator Wine,... BUT its pretty hit and miss. While some games run flawlessly, more complex things like business software with DB backends (Usually MS-SQL :( here in South Africa) are just not worth trying to get onto another platform. On Sun, Mar 8, 2009 at 9:01 AM, Angus Bain wrote: > Hi, > > Id like to know if you can run metatrader 4 platform on freebsd. > > its normally run on windows but im not a fan of windows. > > thanks for your help. > > Angus. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. From danm at prime.gushi.org Sun Mar 8 01:04:21 2009 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Sun Mar 8 01:04:28 2009 Subject: Health Monitoring on Dell 600SC In-Reply-To: <20090308074338.555c9c75.freebsd@edvax.de> References: <20090308074338.555c9c75.freebsd@edvax.de> Message-ID: On Sun, 8 Mar 2009, Polytropon wrote: > On Sat, 7 Mar 2009 23:04:45 -0500 (EST), "Dan Mahoney, System Admin" wrote: >> Hey all, >> >> I've got a dell 600SC in a remote location, and it's started freezing up >> (I'm thinking I've got a dying fan). > > I'm not familiar with this special Dell system, but maybe the > tools mbmon and healthd (from ports) can help you to monitor > at least fan speeds and temperatures (as well as voltages). > They're using the kernel's SMB facility. pciconf -l -v doesn't show an smbus on this system, even with the kernel options compiled in. healthd, I've tried, and it talks to some chips directly, but it hasn't been updated in forever. bsdhwmon looks like it did two releases and went unsupported, reports this board as unsupported. It would appear that older linux kernels find the hardware as follows on this link http://hausheer.osola.com/docs/8 (I realize BSD and linux are different, but perhaps the output there could help someone to know if something there is supported). Sadly, porting lm_sensors to BSD is hard because of all the kernel dependencies and abstraction. But something more "universal" under BSD as opposed to several years-outdated ports would be REALLY COOL. -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From wojtek at wojtek.tensor.gdynia.pl Sun Mar 8 01:27:25 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Mar 8 01:27:42 2009 Subject: MT4 In-Reply-To: References: Message-ID: > > Id like to know if you can run metatrader 4 platform on freebsd. > > its normally run on windows but im not a fan of windows. but if you are fan of metatrader 4 you should be fan on windows ;) you may try wine, but is it really worth of it, unless you run this program occasionally, while doing everything else on FreeBSD? From tajudd at gmail.com Sun Mar 8 11:32:28 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Mar 8 11:32:35 2009 Subject: Health Monitoring on Dell 600SC In-Reply-To: References: <20090308074338.555c9c75.freebsd@edvax.de> Message-ID: On Sun, Mar 8, 2009 at 2:02 AM, Dan Mahoney, System Admin < danm@prime.gushi.org> wrote: > On Sun, 8 Mar 2009, Polytropon wrote: > > On Sat, 7 Mar 2009 23:04:45 -0500 (EST), "Dan Mahoney, System Admin" < >> danm@prime.gushi.org> wrote: >> >>> Hey all, >>> >>> I've got a dell 600SC in a remote location, and it's started freezing up >>> (I'm thinking I've got a dying fan). >>> >> >> I'm not familiar with this special Dell system, but maybe the >> tools mbmon and healthd (from ports) can help you to monitor >> at least fan speeds and temperatures (as well as voltages). >> They're using the kernel's SMB facility. >> > > pciconf -l -v doesn't show an smbus on this system, even with the kernel > options compiled in. > > healthd, I've tried, and it talks to some chips directly, but it hasn't > been updated in forever. > > bsdhwmon looks like it did two releases and went unsupported, reports this > board as unsupported. > > It would appear that older linux kernels find the hardware as follows on > this link http://hausheer.osola.com/docs/8 (I realize BSD and linux are > different, but perhaps the output there could help someone to know if > something there is supported). > > Sadly, porting lm_sensors to BSD is hard because of all the kernel > dependencies and abstraction. But something more "universal" under BSD as > opposed to several years-outdated ports would be REALLY COOL. > Dan, I'm curious... and only curious. Have you discovered if the OpenManage suite works with any drivers on the Linux system? Because if OpenManage is a userland utility only, running OpenManage with linux compatibility should work, right? My understanding of Linux compat is the ability to run userland apps (not drivers) under BSD. The closed minded attitude of Dell that will support "X" but not "Y" is offensive to me and that is what makes me steer clear of the Dell branded stuff. I hope this might have sparked a interest - but I can't help with the Linux compat at all. I run BSD because it's not Linux. --Tim From danm at prime.gushi.org Sun Mar 8 13:06:03 2009 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Sun Mar 8 13:06:10 2009 Subject: Health Monitoring on Dell 600SC In-Reply-To: References: <20090308074338.555c9c75.freebsd@edvax.de> Message-ID: On Sun, 8 Mar 2009, Tim Judd wrote: > > > On Sun, Mar 8, 2009 at 2:02 AM, Dan Mahoney, System Admin wrote: > On Sun, 8 Mar 2009, Polytropon wrote: > > On Sat, 7 Mar 2009 23:04:45 -0500 (EST), "Dan Mahoney, System Admin" wrote: > Hey all, > > I've got a dell 600SC in a remote location, and it's started freezing up > (I'm thinking I've got a dying fan). > > > I'm not familiar with this special Dell system, but maybe the > tools mbmon and healthd (from ports) can help you to monitor > at least fan speeds and temperatures (as well as voltages). > They're using the kernel's SMB facility. > > > pciconf -l -v doesn't show an smbus on this system, even with the kernel options compiled in. > > healthd, I've tried, and it talks to some chips directly, but it hasn't been updated in forever. > > bsdhwmon looks like it did two releases and went unsupported, reports this board as unsupported. > > It would appear that older linux kernels find the hardware as follows on this link http://hausheer.osola.com/docs/8 (I > realize BSD and linux are different, but perhaps the output there could help someone to know if something there is > supported). > > Sadly, porting lm_sensors to BSD is hard because of all the kernel dependencies and abstraction. But something more > "universal" under BSD as opposed to several years-outdated ports would be REALLY COOL. > > > Dan, > > I'm curious... and only curious. Have you discovered if the OpenManage suite works with any drivers on the Linux system? > Because if OpenManage is a userland utility only, running OpenManage with linux compatibility should work, right? It would appear that the openmanage stuff requires kernel modules to be loaded. As the way the linuxemu under BSD works, it basically includes a whole linux-kernel into the BSD kernel, I doubt any of those modules would load. This is a shame, we've gotten to the point where we can drop in windows drivers for things like modems and network cards (which I can easily slap a compatible one into my system and ignore the noncompatible one). But I can't exactly toss another hw monitoring chip in. :( > My understanding of Linux compat is the ability to run userland apps (not drivers) under BSD. The closed minded attitude of > Dell that will support "X" but not "Y" is offensive to me and that is what makes me steer clear of the Dell branded stuff. The systems came to me free, other than this dying fan thing, they've proven ROCK solid (and I have a bank of spare systems). > I hope this might have sparked a interest - but I can't help with the Linux compat at all. I run BSD because it's not Linux. As do I. But linux excels in this area. lm_sensors is better than anything available under BSD. Given the drastic age of the ports I mentioned above, what ARE people using to gauge their systems? Or do people just not care about this stuff? -Dan -- "You recreate the stars in the sky with cows?" -Furrball, March 7 2005, on Katamari Damacy --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From gkatsanos at gmail.com Sun Mar 8 13:22:51 2009 From: gkatsanos at gmail.com (George Katsanos) Date: Sun Mar 8 13:22:58 2009 Subject: LAPTOP COMPATIBILITY w FreeBSD : Toshiba Satellite A300-13I Message-ID: Hello users, I am strongly considering of installing FreeBSD on my laptop as my primary O/S but before I do so I would like to ask if someone between you has already done it and if so, if all hardware parts function as they should. Thanks for your time, George From peter.piggybox at virgin.net Sun Mar 8 13:43:05 2009 From: peter.piggybox at virgin.net (Peter Harrison) Date: Sun Mar 8 13:43:12 2009 Subject: LAPTOP COMPATIBILITY w FreeBSD : Toshiba Satellite A300-13I In-Reply-To: References: Message-ID: <20090308204303.GA1055@laptop.piggybox> Sunday, 8 March 2009 at 20:59:43 +0100, George Katsanos said: > Hello users, > > > > I am strongly considering of installing FreeBSD on my laptop > as my primary O/S but before I do so I would like to ask if someone between > you has already done it and if so, if all hardware parts function as they > should. > Have you checked the laptop compatibility list for your model? http://laptop.bsdgroup.de/freebsd/ Peter Harrison. > > > Thanks for your time, > > > > George > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jvk-list at thekrafts.org Sun Mar 8 14:28:38 2009 From: jvk-list at thekrafts.org (Joe Kraft) Date: Sun Mar 8 14:28:46 2009 Subject: kde/kdm + nsswitch + ldap = nologon References: Message-ID: > > I'd like to duplicate your setup none-the-less to learn. Can you provide > all the pam files, showconfig for the openldap and kdm-related port so I > can run with the same port? > > gdm offers pam integration by the description. I'd be looking at options > in pam, and making sure the console logins work off pam too to make the > comparison to apples to apples the same. > > Please give me the showconfig from the items above. Was going to send as an e-mail to keep the gigantic post off the list, but my mailer went stupid this morning... OK...we'll start with the server. Note that while I'm using the SASL portion of the port, I'm not using any of the SASL type functionality yet. Just incase you missed the part from the original post... I ran into a bug report from last summer that appears to still be open with exactly the same issue (http://www.freebsd.org/cgi/query-pr.cgi?pr=124321). I get the same error messages and such, with any luck it's based on misconfiguration of something. I hope all of this helps. Joe. ============================ >From the ldap server: shadow# uname -a FreeBSD shadow.casa.local 6.3-STABLE FreeBSD 6.3-STABLE #1: Sat Apr 5 14:49:53 EDT 2008 joe@shadow.casa.local:/usr/obj/usr/src/sys/GENERIC i386 shadow# pkg_info |grep ldap nss_ldap-1.257 RFC 2307 NSS module openldap-sasl-client-2.4.11 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.11_2 Open source LDAP server implementation pam_ldap-1.8.4 A pam module for authenticating with LDAP shadow# cd /usr/ports/net/openldap24-server shadow# make showconfig ===> The following configuration options are available for openldap-sasl-server-2.4.11_2: SASL=on "With (Cyrus) SASL2 support" DNSSRV=off "With Dnssrv backend" PASSWD=off "With Passwd backend" PERL=off "With Perl backend" RELAY=off "With Relay backend" SHELL=off "With Shell backend (disables threading)" SOCK=off "With Sock backend" ODBC=off "With SQL backend" RLOOKUPS=off "With reverse lookups of client hostnames" SLP=off "With SLPv2 (RFC 2608) support" SLAPI=off "With Netscape SLAPI plugin API" TCP_WRAPPERS=on "With tcp wrapper support" BDB=on "With BerkeleyDB support" ACCESSLOG=off "With In-Directory Access Logging overlay" AUDITLOG=off "With Audit Logging overlay" CONSTRAINT=off "With Attribute Constraint overlay" DDS=off "Dynamic Directory Services overlay" DENYOP=off "With Deny Operation overlay" DYNGROUP=off "With Dynamic Group overlay" DYNLIST=off "With Dynamic List overlay" LASTMOD=off "With Last Modification overlay" MEMBEROF=off "With Reverse Group Membership overlay" PPOLICY=off "With Password Policy overlay" PROXYCACHE=off "With Proxy Cache overlay" REFINT=off "With Referential Integrity overlay" RETCODE=off "With Return Code testing overlay" RWM=off "With Rewrite/Remap overlay" SEQMOD=on "Sequential Modify overlay" SYNCPROV=on "With Syncrepl Provider overlay" TRANSLUCENT=off "With Translucent Proxy overlay" UNIQUE=off "With attribute Uniqueness overlay" VALSORT=off "With Value Sorting overlay" SMBPWD=off "With Samba Password hashes overlay" DYNAMIC_BACKENDS=on "Build dynamic backends" ===> Use 'make config' to modify these settings shadow# cat slapd.conf # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/samba.schema pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args # Load dynamic backend modules: modulepath /usr/local/libexec/openldap moduleload back_bdb ####################################################################### ####################################################################### ## BDB database definitions ####################################################################### ####################################################################### ########## main part ########################## database bdb directory /var/db/openldap-data suffix dc=casa,dc=local rootdn cn=Manager,dc=casa,dc=local rootpw {crypt}PasswordGoesHere ######## access control ##################### access to * by * write # users can authenticate and change their password access to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdLastSet,sambaPwdMustChange,shadowLastChange,shadowMax by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by dn="cn=nssldap,ou=DSA,dc=casa,dc=local" write by self write by anonymous auth by * none # some attributes need to be readable anonymously so that 'id user' can answer correctly access to attrs=objectClass,entry,homeDirectory,uid,uidNumber,gidNumber,memberUid by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by * read # somme attributes can be writable by users themselves access to attrs=description,telephoneNumber,roomNumber,homePhone,loginShell,gecos,cn,sn,givenname by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by self write by * read # some attributes need to be writable for samba access to attrs=cn,sambaLMPassword,sambaNTPassword,sambaPwdLastSet,sambaLogonTime,sambaLogoffTime,sambaKickoffTime,sambaPwdCanChange,sambaPwdMustChange,sambaAcctFlags,displayName,sambaHomePath,sambaHomeDrive,sambaLogonScript,sambaProfilePath,description,sambaUserWorkstations,sambaPrimaryGroupSID,sambaDomainName,sambaMungedDial,sambaBadPasswordCount,sambaBadPasswordTime,sambaPasswordHistory,sambaLogonHours,sambaSID,sambaSIDList,sambaTrustFlags,sambaGroupType,sambaNextRid,sambaNextGroupRid,sambaNextUserRid,sambaAlgorithmicRidBase,sambaShareName,sambaOptionName,sambaBoolOption,sambaIntegerOption,sambaStringOption,sambaStringListoption by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by self read by * none # samba need to be able to create the samba domain account access to dn.base="dc=casa,dc=local" by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by * none # samba need to be able to create new users account access to dn="ou=accounts,ou=people,dc=casa,dc=local" by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by * none # samba need to be able to create new groups account access to dn="ou=group,dc=casa,dc=local" by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by * none # samba need to be able to create new computers account access to dn="ou=machine,dc=casa,dc=local" by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by dn="cn=smbldap-tools,ou=DSA,dc=casa,dc=local" write by * none access to dn="ou=Idmap,dc=casa,dc=local" by dn="cn=samba,ou=DSA,dc=casa,dc=local" write by * none access to * by * read ######## indices ############################ # Indices to maintain index objectClass eq #index cn eq,sub #index sn eq,sub index mail eq,sub #index uid eq ## More indices for samba index cn pres,sub,eq index sn pres,sub,eq index uid pres,sub,eq index displayName pres,sub,eq index uidNumber eq index gidNumber eq index memberUid eq index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index default sub ## End Samba indicies shadow# cat /etc/nsswitch.conf group: files ldap winbind hosts: files dns wins networks: files passwd: files ldap winbind shells: files shadow# cat nss_ldap.conf @(#)$Id: ldap.conf,v 2.47 2006/05/15 08:13:44 lukeh Exp $ # # This is the configuration file for the LDAP nameservice # switch library. # # PADL Software # http://www.padl.com # host 127.0.0.1 base dc=casa,dc=local binddn cn=nssldap,ou=DSA,dc=casa,dc=local bindpw nssldappwd rootbinddn cn=Manager,dc=casa,dc=local scope sub #timelimit 30 #bind_timelimit 30 #bind_policy hard -----default, check to see if soft works better bind_policy soft #nss_connect_policy persist #idle_timelimit 3600 #nss_schema rfc2307bis # RFC2307bis naming contexts # Syntax: # nss_base_XXX base?scope?filter # where scope is {base,one,sub} # and filter is a filter to be &'d with the # default filter. nss_base_passwd ou=accounts,ou=people,dc=casa,dc=local?one nss_base_passwd ou=machine,dc=casa,dc=local?one nss_base_shadow ou=accounts,ou=people,dc=casa,dc=local?one nss_base_group ou=group,dc=casa,dc=local?one #nss_base_hosts ou=Hosts,dc=casa,dc=local?one #nss_base_services ou=Services,dc=casa,dc=local?one #nss_base_networks ou=Networks,dc=casa,dc=local?one #nss_base_protocols ou=Protocols,dc=casa,dc=local?one #nss_base_rpc ou=Rpc,dc=casa,dc=local?one #nss_base_ethers ou=Ethers,dc=casa,dc=local?one #nss_base_netmasks ou=Networks,dc=casa,dc=local?ne #nss_base_bootparams ou=Ethers,dc=casa,dc=local?one #nss_base_aliases ou=Aliases,dc=casa,dc=local?one #nss_base_netgroup ou=Netgroup,dc=casa,dc=local?one shadow# cat ldap.conf # @(#)$Id: ldap.conf,v 1.38 2006/05/15 08:13:31 lukeh Exp $ # # This is the configuration file for the LDAP PAM module. # host 127.0.0.1 base dc=casa,dc=local binddn cn=nssldap,ou=DSA,dc=casa,dc=local bindpw nssldappwd rootbinddn cn=Manager,dc=casa,dc=local scope sub timelimit 30 ################################## ##### pam_ldap unique config ##### ################################## #pam_filter objectclass=posixAccount pam_login_attribute uid #pam_check_host_attr yes #pam_member_attribute uniquemember # Use the OpenLDAP password change # extended operation to update the password. #pam_password exop shadow# cd /etc/pam.d shadow# ls README ftp ftpd gdm imap kde login other passwd pop3 rsh sshd su system telnetd xdm shadow# cat login # # $FreeBSD: src/etc/pam.d/login,v 1.16 2003/06/14 12:35:05 des Exp $ # # PAM configuration for the "login" service # # auth auth required pam_nologin.so no_warn auth sufficient pam_self.so no_warn auth include system # account account requisite pam_securetty.so account include system # session session include system # password password include system shadow# cat system # # $FreeBSD: src/etc/pam.d/system,v 1.1 2003/06/14 12:35:05 des Exp $ # # System-wide defaults # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient /usr/local/lib/pam_ldap.so try_first_pass ignore_authinfo_unavail auth required pam_unix.so try_first_pass nullok # account #account required pam_krb5.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_lastlog.so no_fail # password #password sufficient pam_krb5.so no_warn try_first_pass password sufficient /usr/local/lib/pam_ldap.so no_warn use_first_pass ignore_authinfo_unavail password required pam_unix.so no_warn try_first_pass shadow# cat other # # $FreeBSD: src/etc/pam.d/other,v 1.10 2003/04/30 21:57:54 markm Exp $ # # PAM configuration for the "other" service # # auth auth required pam_nologin.so no_warn auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient /usr/local/lib/pam_ldap.so no_warn use_first_pass ignore_authinfo_unavail auth required pam_unix.so no_warn try_first_pass # account #account required pam_krb5.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so # password password required pam_permit.so ================================ On the client I have: [root@slug etc]# uname -a FreeBSD slug.casa.local 7.1-STABLE FreeBSD 7.1-STABLE #4: Sun Feb 15 22:47:46 EST 2009 root@slug.home.local:/usr/obj/usr/src/sys/SLUG i386 [root@slug openldap24-server]# pkg_info |grep ldap nss_ldap-1.264_1 RFC 2307 NSS module openldap-sasl-client-2.4.13 Open source LDAP client implementation with SASL2 support pam_ldap-1.8.4 A pam module for authenticating with LDAP root@slug etc]# cat nss_ldap.conf # @(#)$Id: ldap.conf,v 2.47 2006/05/15 08:13:44 lukeh Exp $ # # This is the configuration file for the LDAP nameservice # switch library. # # PADL Software # http://www.padl.com # host 10.0.1.100 base dc=casa,dc=local binddn cn=nssldap,ou=DSA,dc=casa,dc=local bindpw nssldappwd rootbinddn cn=Manager,dc=casa,dc=local scope sub #timelimit 30 #bind_timelimit 30 #bind_policy hard -----default, check to see if soft works better bind_policy soft #nss_connect_policy persist #idle_timelimit 3600 #nss_schema rfc2307bis # RFC2307bis naming contexts # Syntax: # nss_base_XXX base?scope?filter # where scope is {base,one,sub} # and filter is a filter to be &'d with the # default filter. nss_base_passwd ou=accounts,ou=people,dc=casa,dc=local?one nss_base_passwd ou=machine,dc=casa,dc=local?one nss_base_shadow ou=accounts,ou=people,dc=casa,dc=local?one nss_base_group ou=group,dc=casa,dc=local?one #nss_base_hosts ou=Hosts,dc=casa,dc=local?one #nss_base_services ou=Services,dc=casa,dc=local?one #nss_base_networks ou=Networks,dc=casa,dc=local?one #nss_base_protocols ou=Protocols,dc=casa,dc=local?one #nss_base_rpc ou=Rpc,dc=casa,dc=local?one #nss_base_ethers ou=Ethers,dc=casa,dc=local?one #nss_base_netmasks ou=Networks,dc=casa,dc=local?ne #nss_base_bootparams ou=Ethers,dc=casa,dc=local?one #nss_base_aliases ou=Aliases,dc=casa,dc=local?one #nss_base_netgroup ou=Netgroup,dc=casa,dc=local?one [root@slug etc]# cat ldap.conf # @(#)$Id: ldap.conf,v 1.38 2006/05/15 08:13:31 lukeh Exp $ # # This is the configuration file for the LDAP PAM module. # host 10.0.1.100 base dc=casa,dc=local binddn cn=nssldap,ou=DSA,dc=casa,dc=local bindpw nssldappwd rootbinddn cn=Manager,dc=casa,dc=local scope sub timelimit 30 #bind_timelimit 30 #bind_policy hard #idle_timelimit 3600 ################################## ##### pam_ldap unique config ##### ################################## #pam_filter objectclass=posixAccount pam_login_attribute uid #pam_check_host_attr yes #pam_member_attribute uniquemember # Use the OpenLDAP password change # extended operation to update the password. #pam_password exop [root@slug etc]# cat /etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: src/etc/nsswitch.conf,v 1.1 2006/05/03 15:14:47 ume Exp $ # #group: files ldap group: files ldap winbind hosts: files dns wins networks: files #passwd: files passwd: files ldap winbind shells: files services: compat services_compat: nis protocols: files rpc: files [root@slug etc]# cat /etc/pam.d/login # # $FreeBSD: src/etc/pam.d/login,v 1.17 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "login" service # # auth auth sufficient pam_self.so no_warn #auth sufficient pam_winbind.so no_warn auth include system # account account requisite pam_securetty.so account required pam_nologin.so account include system # session session include system # password password include system [root@slug etc]# cat /etc/pam.d/system # # $FreeBSD: src/etc/pam.d/system,v 1.1 2003/06/14 12:35:05 des Exp $ # # System-wide defaults # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth required pam_unix.so no_warn try_first_pass nullok # account #account required pam_krb5.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_lastlog.so no_fail # password #password sufficient pam_krb5.so no_warn try_first_pass #password sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail password required pam_unix.so no_warn try_first_pass [root@slug etc]# cat /etc/pam.d/kde # # $FreeBSD: src/etc/pam.d/kde,v 1.7 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "kde" service # # auth #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass #auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so #account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so [root@slug etc]# cat /etc/pam.d/other # # $FreeBSD: src/etc/pam.d/other,v 1.11 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "other" service # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so # password password required pam_permit.so root@slug etc]# pkg_info -W kdm /usr/local/bin/kdm was installed by package kdebase-3.5.10_1 [root@slug etc]# pkg_info -qo kdebase-3.5.10_1 x11/kdebase3 [root@slug etc]# cd /usr/ports/x11/kdebase3 [root@slug kdebase3]# make showconfig ===> The following configuration options are available for kdebase-3.5.10_2: ARTSWRAPPER=on "Suid wrapper for aRts, req'd for realtime prio" HAL=on "Use HAL backend for media:/" HTDIG=off "Depend on htdig, used to build manual indices" ===> Use 'make config' to modify these settings From kline at thought.org Sun Mar 8 16:16:51 2009 From: kline at thought.org (Gary Kline) Date: Sun Mar 8 16:16:58 2009 Subject: USENET? Message-ID: <20090308231643.GA35171@thought.org> are there any ports that offer an interface to USENET? I think mozilla did, but that was a long time ago ... . gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php From ertr1013 at student.uu.se Sun Mar 8 16:22:14 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun Mar 8 16:22:21 2009 Subject: USENET? In-Reply-To: <20090308231643.GA35171@thought.org> References: <20090308231643.GA35171@thought.org> Message-ID: <20090308232200.GA69420@owl.midgard.homeip.net> On Sun, Mar 08, 2009 at 04:16:46PM -0700, Gary Kline wrote: > > are there any ports that offer an interface to USENET? I think mozilla > did, but that was a long time ago ... . Look in ports/news for a whole bunch of reader and server software that can be used to read and/or distribute the various newsgroups available on Usenet. (And several of the more popular web-browsers can also be used as newsreaders.) -- Erik Trulsson ertr1013@student.uu.se From chris at monochrome.org Sun Mar 8 17:23:52 2009 From: chris at monochrome.org (Chris Hill) Date: Sun Mar 8 17:24:00 2009 Subject: USENET? In-Reply-To: <20090308231643.GA35171@thought.org> References: <20090308231643.GA35171@thought.org> Message-ID: <20090308195357.W95994@tripel.monochrome.org> On Sun, 8 Mar 2009, Gary Kline wrote: > are there any ports that offer an interface to USENET? I think mozilla > did, but that was a long time ago ... . news/pan seems to work OK, if you want a GUI. But be aware that nowadays, you'll probably have to pay a monthly fee for usenet. ISPs don't seem to routinely offer it as part of the deal anymore like they used to. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From dnelson at allantgroup.com Sun Mar 8 18:13:37 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Sun Mar 8 18:13:44 2009 Subject: USENET? In-Reply-To: <20090308231643.GA35171@thought.org> References: <20090308231643.GA35171@thought.org> Message-ID: <20090309011333.GF3398@dan.emsphone.com> In the last episode (Mar 08), Gary Kline said: > are there any ports that offer an interface to USENET? I think mozilla > did, but that was a long time ago ... . Mozilla simply changed names to Seamonkey and is still alive and kicking. -- Dan Nelson dnelson@allantgroup.com From roberthuff at rcn.com Sun Mar 8 19:39:43 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Mar 8 19:39:50 2009 Subject: USENET? In-Reply-To: <20090309011333.GF3398@dan.emsphone.com> References: <20090308231643.GA35171@thought.org> <20090309011333.GF3398@dan.emsphone.com> Message-ID: <18868.33046.328210.747658@jerusalem.litteratus.org> Dan Nelson writes: > > are there any ports that offer an interface to USENET? I think mozilla > > did, but that was a long time ago ... . > > Mozilla simply changed names to Seamonkey and is still alive and kicking. Thunderbird also has this ability. Robert Huff From info at wallprintdesign.de Sun Mar 8 22:07:21 2009 From: info at wallprintdesign.de (Servicecenter Wallprintdesign) Date: Sun Mar 8 22:07:28 2009 Subject: scponly Message-ID: <019301c9a072$53121660$f9364320$@de> Hi, I have big problems with scponly for sftp under FreeBSD 7.1 and find no solution. Is there a simple Howto? Thank you Greetings Ludwig From zszalbot at gmail.com Mon Mar 9 00:37:01 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Mar 9 00:37:08 2009 Subject: roundcube security bug Message-ID: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> hello, I strongly advise anyone who has the mail/roundcube port or software installed to be careful as it has a security bug (and I do not know where to report it). It allows people to remotely place a trojan on /tmp and use it. They do it like this: 213.96.25.30 - - [05/Mar/2009:19:22:14 +0100] "POST /roundcube/bin/html2text.php HTTP/1.0" 406 and as a result a non-empty directory /tmp/guestbook.ntr/ is created and a file /tmp/guestbook.php This html2text.php file has been used by an attacker on my system (at least I think so). I have removed the port and since then I have had no trouble, although they have been scanning for this file as I can read in the logs. Yours, -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From brentgclarklist at gmail.com Mon Mar 9 00:43:28 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Mon Mar 9 00:43:35 2009 Subject: roundcube security bug In-Reply-To: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> Message-ID: <49B4C89C.7080205@gmail.com> Zbigniew Szalbot wrote: > hello, > > I strongly advise anyone who has the mail/roundcube port or software > installed to be careful as it has a security bug (and I do not know > where to report it). It allows people to remotely place a trojan on > /tmp and use it. They do it like this: > > 213.96.25.30 - - [05/Mar/2009:19:22:14 +0100] "POST > /roundcube/bin/html2text.php HTTP/1.0" 406 > and as a result a non-empty directory /tmp/guestbook.ntr/ is created > and a file /tmp/guestbook.php > > This html2text.php file has been used by an attacker on my system (at > least I think so). I have removed the port and since then I have had > no trouble, although they have been scanning for this file as I can > read in the logs. > > Yours, > > Hiya Have you notified and / or checked with the upstream authour (maybe the mailinglist too). Regards Brent Clark From zszalbot at gmail.com Mon Mar 9 00:47:47 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Mar 9 00:47:55 2009 Subject: roundcube security bug In-Reply-To: <49B4C89C.7080205@gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> <49B4C89C.7080205@gmail.com> Message-ID: <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> On Mon, Mar 9, 2009 at 08:43, Brent Clark wrote: > Hiya > > Have you notified and / or checked with the upstream authour (maybe the > mailinglist too) Not really. It requires subscribing to a mailing list which I don't have time to do at the moment. -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From nightrecon at verizon.net Mon Mar 9 01:22:00 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Mar 9 01:22:07 2009 Subject: roundcube security bug References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > hello, > > I strongly advise anyone who has the mail/roundcube port or software > installed to be careful as it has a security bug (and I do not know > where to report it). It allows people to remotely place a trojan on > /tmp and use it. They do it like this: > > 213.96.25.30 - - [05/Mar/2009:19:22:14 +0100] "POST > /roundcube/bin/html2text.php HTTP/1.0" 406 > and as a result a non-empty directory /tmp/guestbook.ntr/ is created > and a file /tmp/guestbook.php > > This html2text.php file has been used by an attacker on my system (at > least I think so). I have removed the port and since then I have had > no trouble, although they have been scanning for this file as I can > read in the logs. > > Yours, > I have an eCommerce store and sometimes up to about two thirds of the script kiddie runs include a search for roundcube. So it is highly sought after active vulnerability for compromising web sites. I don't use it myself so it has no effect on my site, but I am seeing the traffic. -Mike From fbsd1 at a1poweruser.com Mon Mar 9 02:27:23 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Mon Mar 9 02:27:31 2009 Subject: php5 changes in release 8.0 In-Reply-To: <20090305074004.f2437571.wmoran@potentialtech.com> References: <49AFA0F4.2050400@a1poweruser.com> <20090305074004.f2437571.wmoran@potentialtech.com> Message-ID: <49B4E0F6.6030007@a1poweruser.com> Bill Moran wrote: > In response to Fbsd1 : > >> Having problems installing php5 in 7.1 so tried 8.0 and see that in >> release 8.0 php5 in defaulting to apache 22 when apache interface is >> selected from the make config menu. The config menu should give option >> to select apache 13 or apache 22 not force apache 22 on the user >> community. Is the maintainer going to change the config menu before php5 >> 8.0 is released for production? > > If you want a different version of Apache, all you have to do is install > Apache first, then PHP will use the version you have installed. > > It's always been that way. It's just that up till now the default was > 1.3. It's _LOOONG_ past time when the default should have moved to 2.X. > I had Apache 13 installed before installing php5 and it did install php with files for apache22. It did not default to using apache 13 which was all ready installed. From abalour at gmail.com Mon Mar 9 02:50:36 2009 From: abalour at gmail.com (Ross Cameron) Date: Mon Mar 9 02:50:43 2009 Subject: roundcube security bug In-Reply-To: <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> <49B4C89C.7080205@gmail.com> <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> Message-ID: <35f70db10903090250q1b7c7dd9x30e1dc420fcfe0fc@mail.gmail.com> On Mon, Mar 9, 2009 at 9:47 AM, Zbigniew Szalbot wrote: > On Mon, Mar 9, 2009 at 08:43, Brent Clark > wrote: > > Hiya > > > > Have you notified and / or checked with the upstream authour (maybe the > > mailinglist too) > > Not really. It requires subscribing to a mailing list which I don't > have time to do at the moment. > Surely an attempted cracking attempt on you're server warrants making time? Without detailed reports of issues like this how is the vendor expected to correct the problem? Avoiding installing the code is just a lazy workaround, helping the author's will improve the general open source software ecosystem. From zszalbot at gmail.com Mon Mar 9 03:05:15 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Mar 9 03:05:22 2009 Subject: roundcube security bug In-Reply-To: <35f70db10903090250q1b7c7dd9x30e1dc420fcfe0fc@mail.gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> <49B4C89C.7080205@gmail.com> <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> <35f70db10903090250q1b7c7dd9x30e1dc420fcfe0fc@mail.gmail.com> Message-ID: <94136a2c0903090305t13f59235wa21f855aa18433e@mail.gmail.com> Hi there, On Mon, Mar 9, 2009 at 10:50, Ross Cameron wrote: > Surely an attempted cracking attempt on you're server warrants making time? It does. > Without detailed reports of issues like this how is the vendor expected to > correct the problem? > ??? Avoiding installing the code is just a lazy workaround, helping the > author's will improve the general open source software ecosystem. Like I said, I just lacked the time. I have notified the port maintainer though and intend to contact the author but I wish there was a simpler way then having to register first. -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From wojtek at wojtek.tensor.gdynia.pl Mon Mar 9 03:38:06 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 9 03:38:13 2009 Subject: USENET? In-Reply-To: <20090308231643.GA35171@thought.org> References: <20090308231643.GA35171@thought.org> Message-ID: tin slrn On Sun, 8 Mar 2009, Gary Kline wrote: > > are there any ports that offer an interface to USENET? I think mozilla > did, but that was a long time ago ... . > > gary > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > The 2.23a release of Jottings: http://jottings.thought.org/index.php > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From wojtek at wojtek.tensor.gdynia.pl Mon Mar 9 03:39:53 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 9 03:39:59 2009 Subject: USENET? In-Reply-To: <20090308195357.W95994@tripel.monochrome.org> References: <20090308231643.GA35171@thought.org> <20090308195357.W95994@tripel.monochrome.org> Message-ID: > > news/pan seems to work OK, if you want a GUI. But be aware that nowadays, > you'll probably have to pay a monthly fee for usenet. ISPs don't seem to > routinely offer it as part of the deal anymore like they > used to. at least in Poland there are free. and for my clients i have nntpcache'd news from Gda?sk University. anyway maybe few people use it. most don't ;) they prefer more stupid things From ohartman at zedat.fu-berlin.de Mon Mar 9 03:46:38 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Mar 9 03:46:47 2009 Subject: FBSD 7.1-STABLE: pkg_delete: segmentation fault Message-ID: <49B4F324.9040006@zedat.fu-berlin.de> Hello Everybody, Since several days ago I get a segmentation fault on a FreeBSD 7.1-STABLE/AMD64 box when invoking 'pkg_delete' on installed packages to delete them. This box has been most recently 'built-world' and I did a 'make delete-files' and sibblings as a precaution - but I still get this error. I suspect a DB47 issue (if this is possoble, but I don't know). How can the database be repaired without loosing informations about the installed packages and is this shown degmentation-fault issue a well known issue? Thanks in advance, Oliver From ohartman at web.de Mon Mar 9 04:16:36 2009 From: ohartman at web.de (O. Hartmann) Date: Mon Mar 9 04:16:45 2009 Subject: Qt4 applications are missing pixmaps/icons Message-ID: <49B4F594.3020804@web.de> Dear Sirs, all of my installed Qt4-applications are missing pixmaps/icons for knobs and menus - the mouse-sensistive highlighting and literals are working finde, but no pixmaps/icons. Our environment is mostly KDE/Gnome free, so I suspect missing pixmap-ports or something from the multimedia repositories. Maybe there is simply a missing environment variable, but I do not know and I'm a newbie regarding Qt4 and its sibblings. If someone does have a hint, please feel so free and email me (please be so kind a put myself's eMail address on reply, I'm not subscribing this list, thank you very much). Regards, Oliver From cpghost at cordula.ws Mon Mar 9 04:44:42 2009 From: cpghost at cordula.ws (cpghost) Date: Mon Mar 9 04:44:49 2009 Subject: USENET? In-Reply-To: References: <20090308231643.GA35171@thought.org> <20090308195357.W95994@tripel.monochrome.org> Message-ID: <20090309114438.GA1362@phenom.cordula.ws> On Mon, Mar 09, 2009 at 11:39:43AM +0100, Wojciech Puchar wrote: > > news/pan seems to work OK, if you want a GUI. But be aware that nowadays, > > you'll probably have to pay a monthly fee for usenet. ISPs don't seem to > > routinely offer it as part of the deal anymore like they > > used to. > > at least in Poland there are free. and for my clients i have nntpcache'd > news from Gda?sk University. Actually, in most parts of the world, news are still freely available with many ISPs (you may have to ask them explicitly), except for alt.binaries.* which are quite bandwidth intensive. Your typical small ISP would rather save the bandwidth it takes to transfer all articles, esp. if only a fraction of them are accessed by their customers. It simply doesn't make sense for them to host binaries, unlike dedicated news providers which have enough customers to justify the expenses. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From dmw at coder.cl Mon Mar 9 06:01:08 2009 From: dmw at coder.cl (Daniel Molina Wegener) Date: Mon Mar 9 06:01:15 2009 Subject: USENET? In-Reply-To: <18868.33046.328210.747658@jerusalem.litteratus.org> References: <20090308231643.GA35171@thought.org> <20090309011333.GF3398@dan.emsphone.com> <18868.33046.328210.747658@jerusalem.litteratus.org> Message-ID: <200903090934.17287.dmw@coder.cl> El Sunday 08 March 2009 23:38:14 Robert Huff escribi?: > Dan Nelson writes: > > > are there any ports that offer an interface to USENET? I think > > > mozilla did, but that was a long time ago ... . > > > > Mozilla simply changed names to Seamonkey and is still alive and > > kicking. > > Thunderbird also has this ability. I'm currently using knode from kde ports... > > > Robert Huff > > [SNIP] Best regards, -- .O.| Daniel Molina Wegener | C/C++ Developer ..O| dmw [at] coder [dot] cl | FreeBSD & Linux OOO| http://coder.cl/ | Standards Basis -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/9541f4d3/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Mon Mar 9 06:06:18 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 9 06:06:24 2009 Subject: USENET? In-Reply-To: <20090309114438.GA1362@phenom.cordula.ws> References: <20090308231643.GA35171@thought.org> <20090308195357.W95994@tripel.monochrome.org> <20090309114438.GA1362@phenom.cordula.ws> Message-ID: >> at least in Poland there are free. and for my clients i have nntpcache'd >> news from Gda?sk University. > > Actually, in most parts of the world, news are still freely available > with many ISPs (you may have to ask them explicitly), except for > alt.binaries.* which are quite bandwidth intensive. i'm connected to university network (commercially, not as a student ;), i have all their service included in price. alt.binaries.* too, don't know if all of them as i don't use it. > > Your typical small ISP would rather save the bandwidth it takes to > transfer all articles, esp. if only a fraction of them are accessed nntpcache is exactly for this. it's like squid, just for nntp it's worth even with 1 nntp user, and it takes 5 minutes to configure. From freebsd at optimis.net Mon Mar 9 07:14:28 2009 From: freebsd at optimis.net (George Davidovich) Date: Mon Mar 9 07:14:34 2009 Subject: USENET? In-Reply-To: <20090309114438.GA1362@phenom.cordula.ws> References: <20090308231643.GA35171@thought.org> <20090308195357.W95994@tripel.monochrome.org> <20090309114438.GA1362@phenom.cordula.ws> Message-ID: <20090309141426.GA51920@marvin.optimis.net> On Mon, Mar 09, 2009 at 12:44:38PM +0100, cpghost wrote: > On Mon, Mar 09, 2009 at 11:39:43AM +0100, Wojciech Puchar wrote: > > > news/pan seems to work OK, if you want a GUI. But be aware that > > > nowadays, you'll probably have to pay a monthly fee for usenet. > > > ISPs don't seem to routinely offer it as part of the deal anymore > > > like they used to. > > > > at least in Poland there are free. and for my clients i have > > nntpcache'd news from Gda?sk University. > > Actually, in most parts of the world, news are still freely available > with many ISPs (you may have to ask them explicitly), except for > alt.binaries.* which are quite bandwidth intensive. > > Your typical small ISP would rather save the bandwidth it takes to > transfer all articles, esp. if only a fraction of them are accessed by > their customers. It simply doesn't make sense for them to host > binaries, unlike dedicated news providers which have enough customers > to justify the expenses. That's essentially correct, but it's worth noting that an ISP can provide a news feed to their customers through one of the major news providers. It wasn't unusual not so long ago for dialup ISPs to offer a full alt.binaries hierachy this way. As for client suggestions, that typically depends on whether the person is interested in text, binaries, or both. Most clients are capable of doing both, of course. That's not to say that all do both equally well. Right tool for the job and all that. For text, I'd recommend slrn. Gary is already using mutt, so I'd suggest he go that route, or alternatively, try mutt's nntp patch and use mutt instead. Works perfectly well and it's what I use. If reading news is going to be a regular thing, then setting up a local server of some sort (to pull down feeds from one or more providers) may be a useful addition, though slrn does does provide a companion program to do something similar. Binary groups, on the other hand, are generally best handled by a GUI client. If you know what you're doing, command-line programs like nget, nzbperl, etc. may be preferrable or useful additions. The thing to keep in mind is that irrespective of what client one is using, it's the quality of the feed that matters most. At least for non-casual use. For a top notch feed, expect to pay out a few extra bucks per month. That typically gives you a host of other benefits that would include a complete hierarchy, high retention levels, unrestricted download speeds, web access, multiple connections, multiple servers, NNTPS, HTTPs, Clarinet, and a direct line to customer support. If you think you are or can get most of those for free (from your ISP, for example), you haven't looked carefully enough. Still, I think a subscription to a pay provider is worth every cent, even for text groups. -- George From levymoti at gmail.com Mon Mar 9 07:54:50 2009 From: levymoti at gmail.com (Moti Levy) Date: Mon Mar 9 07:54:56 2009 Subject: roundcube security bug In-Reply-To: <94136a2c0903090305t13f59235wa21f855aa18433e@mail.gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> <49B4C89C.7080205@gmail.com> <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> <35f70db10903090250q1b7c7dd9x30e1dc420fcfe0fc@mail.gmail.com> <94136a2c0903090305t13f59235wa21f855aa18433e@mail.gmail.com> Message-ID: <49B52DB2.2010306@gmail.com> On 03/09/09 6:05 AM, Zbigniew Szalbot wrote: > Hi there, > > On Mon, Mar 9, 2009 at 10:50, Ross Cameron wrote: > >> Surely an attempted cracking attempt on you're server warrants making time? >> > > It does. > > >> Without detailed reports of issues like this how is the vendor expected to >> correct the problem? >> Avoiding installing the code is just a lazy workaround, helping the >> author's will improve the general open source software ecosystem. >> > > Like I said, I just lacked the time. I have notified the port > maintainer though and intend to contact the author but I wish there > was a simpler way then having to register first. > > portaudit is always usefull Affected package: roundcube-0.2.a,1 Type of problem: roundcube -- remote execution of arbitrary code. Reference: From psteele at maxiscale.com Mon Mar 9 08:37:50 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon Mar 9 08:38:00 2009 Subject: Warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints In-Reply-To: <16987044.2361236612895380.JavaMail.HALO$@halo> Message-ID: <4941256.2381236613044068.JavaMail.HALO$@halo> I have a process that automates the creation of a master FreeBSD image that we clone onto mulitple machines. In the latest version of this image I am seeing the warnings: warning: KLD '/boot/kernel/linprocfs.ko' is newer than the linker.hints file warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints What might be causing this? I am not doing anything in particular with this Linux component during the image creation process, and these are the only such warnings. We do install a custom kernel as well, but I did not see this error in earlier versions of the image creation process. From nicolas at boiteameuh.org Mon Mar 9 08:50:09 2009 From: nicolas at boiteameuh.org (Nicolas Haller) Date: Mon Mar 9 08:50:16 2009 Subject: Busy disk and page fault Message-ID: <20090309153057.GD1481@boiteameuh.org> Hi all, I'm asking myself about a problem I have with a Postgresql server on FreeBSD 7.1-RELEASE. The server is overload, the disk is 100% busy with 250 write operations per second and a throuput of 6MB/s. My first idea is because of mass random access/write on the disk. But I also see the server can make 20k page fault per second. So, did you think I really have a disk contention or this high number of page fault can be a problem (and if it can, how to resolve it). Thanks, -- Nicolas Haller From ptkrisada at gmail.com Mon Mar 9 08:58:32 2009 From: ptkrisada at gmail.com (Pongthep Kulkrisada) Date: Mon Mar 9 08:58:40 2009 Subject: FreeBSD 7.1R on laptop Message-ID: Hi all, I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was physically broken. My machine is very old anyway. So I want to buy a new laptop (notebook). I have some questions. 1. Previously I use ADSL but now I go back to 56k serial modem. The problem is new laptops do not provide COM port (/dev/cuad?). I must use internal modem built with the laptop. I'm not sure whether this internal modem can be found by FBSD 7.1R or not. If not, how to do? (Sorry I never used laptop.) 2. Previously, I used LILO boot manager (from Linux) for selecting FBSD, Linux or WinXP. But nowadays most of the time I use only FBSD and don't use Linux at all. So I don't want to waste the space installing linux on my new laptop. But I use XP occassionally. I need to know whether FBSD boot manager can select and boot XP or not? How to do it? I didn't find it in the handbook. Note that I know grub. But I really want to know the way, the system provide. Because I have a long story of this problem. Once (5 years ago) I installed FBSD success but without caution. I rebooted then I could not run the freshly installed system. Because there was no options for selecting the new system. :-( That time I ended up with LILO to fix the problem. But this time I just don't want to install Linux. So I want to use only what, the system provides. Thanks, Pongthep From wojtek at wojtek.tensor.gdynia.pl Mon Mar 9 09:04:44 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 9 09:04:51 2009 Subject: Busy disk and page fault In-Reply-To: <20090309153057.GD1481@boiteameuh.org> References: <20090309153057.GD1481@boiteameuh.org> Message-ID: > The server is overload, the disk is 100% busy with 250 write operations > per second and a throuput of 6MB/s. > My first idea is because of mass random access/write on the disk. But I also see > the server can make 20k page fault per second. what page fault? most page faults in FreeBSD doesn't mean disk access, just no mapping present in page tables, which gets mapped after the fault. Only if page is actually not present in memory it is fetched from disk. top shows in what state is a process. if it's biord or biorw - it's doing disk/file I/O, not swapping. that's about FreeBSD part - about postgress part ask on postgress mailing list. i don't use it so i can't help you. From onemda at gmail.com Mon Mar 9 09:07:08 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Mar 9 09:07:15 2009 Subject: Warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints In-Reply-To: <4941256.2381236613044068.JavaMail.HALO$@halo> References: <16987044.2361236612895380.JavaMail.HALO$@halo> <4941256.2381236613044068.JavaMail.HALO$@halo> Message-ID: <3a142e750903090907y2115838co3aaf88c15fa139e4@mail.gmail.com> On 3/9/09, Peter Steele wrote: > I have a process that automates the creation of a master FreeBSD image that > we clone onto mulitple machines. In the latest version of this image I am > seeing the warnings: > > warning: KLD '/boot/kernel/linprocfs.ko' is newer than the linker.hints file > warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints > > What might be causing this? I am not doing anything in particular with this > Linux component during the image creation process, and these are the only > such warnings. We do install a custom kernel as well, but I did not see this > error in earlier versions of the image creation process. # kldxref /boot/kernel Probably you installed that files _after_ linker.hints is generated, just make sure that they are still compatible with /boot/kernel/kernel -- Paul From wojtek at wojtek.tensor.gdynia.pl Mon Mar 9 09:07:41 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Mar 9 09:07:48 2009 Subject: FreeBSD 7.1R on laptop In-Reply-To: References: Message-ID: > I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was > physically broken. My machine is very old anyway. So I want to buy a > new laptop (notebook). I have some questions. simply getting new hard drive could be enough. > > 1. Previously I use ADSL but now I go back to 56k serial modem. The > problem is new laptops do not provide COM port (/dev/cuad?). I must > use internal modem built with the laptop. I'm not sure whether this > internal modem can be found by FBSD 7.1R or not. If not, how to do? > (Sorry I never used laptop.) check what modem. for lucent winmodems there is WORKING driver in ports. works on my IBM T23. simply check the hardware. or use external modems with USB connector. Check if "Hayes compatible" or so label are on modem package - if so, it behaves like serial port modem just connected through USB, you'll use some of USB serial port drivers. if no - it's winmodem, most likely incompatible with anything except windoze. From darryl at osborne-ind.com Mon Mar 9 09:22:30 2009 From: darryl at osborne-ind.com (Darryl Hoar) Date: Mon Mar 9 09:22:58 2009 Subject: Which install ? Message-ID: <006001c9a0d3$9d61b660$d8252320$@com> Greetings, I just purchased an older rack mounted supermicro server. It is running CentOS, but I want to install Freebsd on it. The server has (2) Xeon processors. Which download should I use ? i386 ??? Thanks, Darryl From Pieter.Donche at ua.ac.be Mon Mar 9 09:27:50 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Mon Mar 9 09:28:00 2009 Subject: UID/GID in anon.ftp directory Message-ID: I set up an anonymous ftp directory on FreeBSD system and copied (via a tarball) the anon.ftp directory (pub) from our old ftp server to the new FreeBSD server. In the new server users get same loginnames, but UIDs are different from UID at old server, so I manually did the necessary chown -R username:groupname on all the directories and files in the anon. ftp directory. At unix command prompt an ls -la shows correct usernames and groupnames. # ls -la pub drwxr-xr-x 6 sbecuwe cant 512 Mar 30 1999 IT drwxr-xr-x 13 cant cant 512 Apr 8 2005 cant drwxr-xr-x 2 dekeyser adrem 512 Sep 11 2002 dekeyser drwxr-xr-x 2 cant cant 512 Nov 30 2003 ect drwxr-xr-x 2 dekeyser adrem 512 Nov 18 14:20 olap drwxr-xr-x 7 pats pats 512 Sep 5 2006 pats drwxr-xr-x 2 penne algebra 512 Feb 15 2005 penne ... But when I use ftp ... ftp> cd pub ftp> dir drwxr-xr-x 6 1003 205 512 Mar 30 1999 IT drwxr-xr-x 13 1011 205 512 Apr 8 2005 cant drwxr-xr-x 2 1026 200 512 Sep 11 2002 dekeyser drwxr-xr-x 2 1011 205 512 Nov 30 2003 ect drwxr-xr-x 2 1026 200 512 Nov 18 13:20 olap drwxr-xr-x 7 1024 210 512 Sep 5 2006 pats drwxr-xr-x 2 1025 202 512 Feb 15 2005 penne ... So, it displays numeric UIDs and GIDs. (these numbers are correct and are present in /etc/passwd and /etc/group). But why does he not show me usernames and groupnames (on the original ftp server, he does..) How to remedy? From ertr1013 at student.uu.se Mon Mar 9 09:32:22 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon Mar 9 09:32:30 2009 Subject: Which install ? In-Reply-To: <006001c9a0d3$9d61b660$d8252320$@com> References: <006001c9a0d3$9d61b660$d8252320$@com> Message-ID: <20090309163201.GA89070@owl.midgard.homeip.net> On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > Greetings, > I just purchased an older rack mounted supermicro server. It is running > CentOS, but I want to install Freebsd on it. > The server has (2) Xeon processors. Which download should I use ? i386 ??? > If it is an older server then i386 is probably the right version to use. The recent processors from Intel that use the 'Xeon' name also support amd64, but older ones did not. -- Erik Trulsson ertr1013@student.uu.se From nicolas at boiteameuh.org Mon Mar 9 09:43:55 2009 From: nicolas at boiteameuh.org (Nicolas Haller) Date: Mon Mar 9 09:44:02 2009 Subject: Busy disk and page fault In-Reply-To: References: <20090309153057.GD1481@boiteameuh.org> Message-ID: <20090309164352.GE1481@boiteameuh.org> On Mon, Mar 09, 2009 at 05:04:16PM +0100, Wojciech Puchar wrote: >> The server is overload, the disk is 100% busy with 250 write operations >> per second and a throuput of 6MB/s. >> My first idea is because of mass random access/write on the disk. But I also see >> the server can make 20k page fault per second. > what page fault? most page faults in FreeBSD doesn't mean disk access, > just no mapping present in page tables, which gets mapped after the > fault. > Only if page is actually not present in memory it is fetched from disk. > top shows in what state is a process. > if it's biord or biorw - it's doing disk/file I/O, not swapping. The box don't swap. I just ask if page fault interrupt postgresql process and fragment/de-optimize disk write. -- Nicolas Haller From zszalbot at gmail.com Mon Mar 9 09:57:18 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Mar 9 09:57:24 2009 Subject: roundcube security bug In-Reply-To: <49B52DB2.2010306@gmail.com> References: <94136a2c0903090036q51d569dfk4a58ef0f8cceab05@mail.gmail.com> <49B4C89C.7080205@gmail.com> <94136a2c0903090047j34ddb20t2bebb19e8353fc66@mail.gmail.com> <35f70db10903090250q1b7c7dd9x30e1dc420fcfe0fc@mail.gmail.com> <94136a2c0903090305t13f59235wa21f855aa18433e@mail.gmail.com> <49B52DB2.2010306@gmail.com> Message-ID: <94136a2c0903090957n447b476am7cbb7b4668618fec@mail.gmail.com> Hello, On Mon, Mar 9, 2009 at 15:54, Moti Levy wrote: > portaudit is always usefull > > Affected package: roundcube-0.2.a,1 Ah... my bad - I have had roundcube installed from sources, not from port. That's why I didn't know. I use portaudit on daily bases. Many thanks, though! In the meantime I have notified roundcube authors but it seems they should know by now anyway. -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl From psteele at maxiscale.com Mon Mar 9 10:31:18 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon Mar 9 10:31:27 2009 Subject: Warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints In-Reply-To: <24988707.2441236619566261.JavaMail.HALO$@halo> Message-ID: <12014306.2461236619815645.JavaMail.HALO$@halo> > Probably you installed that files _after_ linker.hints is generated, > just make sure that they are still compatible with /boot/kernel/kernel Perhaps its a matter of the process we're using. I first install the GENERIC kernel into the image I am creating: export DESTDIR=${IMAGE_DIR} export DIST=/mnt/7.0-RELEASE pushd ${DIST}/kernels ./install.sh GENERIC popd and then I apply our custom kernel: cd ${IMAGE_DIR}/boot mv kernel kernel.orig cd ${IMAGE_DIR} gzip -d < /mnt2/CUSTOM.tgz | tar xvpf - The CUSTOM.tgz file was created for me by one of our kernel guys, and I checked the archive and there is a new linux.ko file in the archive but no linker.hints file. We don't make any changes to linux.ko but it is likely being recompiled when the custom kernel is created. So I suspect I can ignore this warning but am I missing something in the process. When a new kernel is created, is there a new linker.hints file that should be included in the tarball? From jwinn at cfnps.org Mon Mar 9 10:57:36 2009 From: jwinn at cfnps.org (Jennifer Winn) Date: Mon Mar 9 10:57:44 2009 Subject: New York Fundraising Summit - Panelist Invitation Message-ID: Dear Foundation Representative, My name is Jennifer Winn, Event Manager for the Center for Nonprofit Success, and I am writing to invite you to speak on a grantmaking panel at the Fundraising Summit that we will be hosting again this year at New York University on June 3-4, 2009. This year, we have a corporate grantmaking panel and a private foundation grantmaking panel, and you can see a full list of sessions for which we are recruiting speakers below. You can also see who spoke at last year's New York Summit by going to: http://www.cfnps.org/newyork2008.aspx?target=speakers If you would like to receive more information about being a panelist one of our panels or one of the other sessions, please feel free to contact me via reply email. We are very much looking forward to hearing from you. Regards, Jennifer Winn Event Manager Center for Nonprofit Success email: jwinn@cfnps.org Phone: 903-262-0765 www.cfnps.org ============================================== EVENT DETAILS New York Fundraising Summit June 3-4, 2009 (Wednesday - Thursday) New York University Kimmel Center 60 Washington Square South New York, NY 10012 You can learn more about the New York Summit by going to: http://cfnps.org/ny2009.aspx ============================================== A. SPEAKING AT THE SUMMIT This year we are offering over 20 concurrent sessions that cover the following topics: Corporate Giving Track ? Panel discussion and dialogue with corporate grantmakers ? Finding Corporate Funders: The Art of Successful Research ? Exploring the World of Corporate Sponsorship ? Cause Marketing ? Winning Corporate Partnerships Foundation Giving Track ? Panel discussion and dialogue with foundation grantmakers ? Finding Foundation Funders: The Art of Successful Research ? Proposal Writing ? Winning Proposals: A Tour of Four Successful Case Studies ? How to Build a Successful Relationship with Grantmakers Individual Giving Track ? Finding Individual Funders: The Art of Successful Research ? Engaging Your Board in Fundraising ? Online Fundraising ? Annual Giving Campaigns ? Introduction to Major Gifts ? Complex Issues Affecting Major Gifts Solicitations ? Fundraising in The One-Person Development Shop ? Special Events Fundraising ? Capital Campaigns ? Planned Giving ? Direct Mail Fundraising To learn about any of these sessions, go to: http://cfnps.org/ny2009.aspx If you would like to speak in one of these sessions, please send an email to Jennifer Winn at jwinn@cfnps.org You may also be interested in speaking at one of our other Summits. To see a 2009 calendar of Summits by city, go to: http://cfnps.org/education_calendar.aspx If you are interested in speaking at another Summit, please send us an email at info@cfnps.org ============================================== B. MENTORING AT THE SUMMIT In addition to speaking at the Summit, you can also participate as a mentor in our one-on-one mentoring sessions during the Summit. If you sign up as a mentor, attendees will be able to sit down with you to discuss specific questions about their organizations. Sessions last 30 minutes and the mentoring topics correspond to the seminars offered at the Summit. Mentoring is optional, and you will be prompted to register as a mentor when you register as a speaker. ============================================== C. EXHIBITING AT THE SUMMIT The Center for Nonprofit Success is currently accepting exhibitor registrations for the New York Summit. If you or someone you know has a product or service that benefits the nonprofit sector, and might be interested in exhibiting at one of our Summits, please write to info@cfnps.org so that we can send you more information. In the meantime, you can learn more about this opportunity by going to: http://www.cfnps.org/Exhibitors.aspx ============================================== Unsubscribe information: The Center for Nonprofit Success is a nonprofit organization whose mission to provide the training, knowledge and resources to help nonprofit leaders succeed.?If you do not wish to receive any future invitations from us, please go to: http://lists.mediate-facilitate.com/subscribe/profile?f=25&id=1524032J From nightrecon at verizon.net Mon Mar 9 11:14:40 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Mar 9 11:14:47 2009 Subject: Which install ? References: <006001c9a0d3$9d61b660$d8252320$@com> <20090309163201.GA89070@owl.midgard.homeip.net> Message-ID: Erik Trulsson wrote: > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: >> Greetings, >> I just purchased an older rack mounted supermicro server. It is running >> CentOS, but I want to install Freebsd on it. >> The server has (2) Xeon processors. Which download should I use ? i386 >> ??? >> > > If it is an older server then i386 is probably the right version to use. > The recent processors from Intel that use the 'Xeon' name also support > amd64, but older ones did not. > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior to that were 32 bit and came in OLGA 603 sockets. In early 2001 they were 1.4 to 1.7GHz units, and later that year the speeds ramped up. At any rate, dmesg works the same way in CentOS so you can use it to easily make a more accurate determination. It will be near the top so do dmesg | more, or dmesg | less so it will page. It will be among some of the earliest output. -Mike From Greg.Stark at sungard.com Mon Mar 9 11:28:37 2009 From: Greg.Stark at sungard.com (Greg.Stark@sungard.com) Date: Mon Mar 9 11:28:44 2009 Subject: FreeBSD 7.1R on laptop In-Reply-To: References: Message-ID: Some laptops do come with COM ports still. Usually they are the business models. For example, the Dell Latitude 820's have them. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Pongthep Kulkrisada Sent: Monday, March 09, 2009 11:35 AM To: freebsd-questions@freebsd.org Subject: FreeBSD 7.1R on laptop Hi all, I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was physically broken. My machine is very old anyway. So I want to buy a new laptop (notebook). I have some questions. 1. Previously I use ADSL but now I go back to 56k serial modem. The problem is new laptops do not provide COM port (/dev/cuad?). I must use internal modem built with the laptop. I'm not sure whether this internal modem can be found by FBSD 7.1R or not. If not, how to do? (Sorry I never used laptop.) 2. Previously, I used LILO boot manager (from Linux) for selecting FBSD, Linux or WinXP. But nowadays most of the time I use only FBSD and don't use Linux at all. So I don't want to waste the space installing linux on my new laptop. But I use XP occassionally. I need to know whether FBSD boot manager can select and boot XP or not? How to do it? I didn't find it in the handbook. Note that I know grub. But I really want to know the way, the system provide. Because I have a long story of this problem. Once (5 years ago) I installed FBSD success but without caution. I rebooted then I could not run the freshly installed system. Because there was no options for selecting the new system. :-( That time I ended up with LILO to fix the problem. But this time I just don't want to install Linux. So I want to use only what, the system provides. Thanks, Pongthep _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ipfreak at yahoo.com Mon Mar 9 11:59:21 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Mar 9 11:59:28 2009 Subject: hardware list in a machine Message-ID: <453684.84249.qm@web52105.mail.re2.yahoo.com> Hi all: How could I find out the list of hardware in my machine? I used "dmesg" and "var/run/dmesg.boot", it didn't seem to help that much as I expected. which file lists all of hardware in the machine? Thanks. From josh.carroll at gmail.com Mon Mar 9 12:17:52 2009 From: josh.carroll at gmail.com (Josh Carroll) Date: Mon Mar 9 12:17:59 2009 Subject: hardware list in a machine In-Reply-To: <453684.84249.qm@web52105.mail.re2.yahoo.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> Message-ID: <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> On Mon, Mar 9, 2009 at 2:59 PM, gahn wrote: > > Hi all: > > How could I find out the list of hardware in my machine? I used "dmesg" and "var/run/dmesg.boot", it didn't seem to help that much as I expected. > > which file lists all of hardware in the machine? > > Thanks. Give the sysutils/dmidecode port a shot. Josh From bsd-unix at embarqmail.com Mon Mar 9 12:49:58 2009 From: bsd-unix at embarqmail.com (Randy Pratt) Date: Mon Mar 9 12:50:05 2009 Subject: USENET? In-Reply-To: <20090309141426.GA51920@marvin.optimis.net> References: <20090308231643.GA35171@thought.org> <20090308195357.W95994@tripel.monochrome.org> <20090309114438.GA1362@phenom.cordula.ws> <20090309141426.GA51920@marvin.optimis.net> Message-ID: <20090309152955.5541db22.bsd-unix@embarqmail.com> On Mon, 9 Mar 2009 07:14:26 -0700 > For text, I'd recommend slrn. Gary is already using mutt, so I'd > suggest he go that route, or alternatively, try mutt's nntp patch and > use mutt instead. Works perfectly well and it's what I use. If reading > news is going to be a regular thing, then setting up a local server of > some sort (to pull down feeds from one or more providers) may be a > useful addition, though slrn does does provide a companion program to do > something similar. > > Binary groups, on the other hand, are generally best handled by a GUI > client. If you know what you're doing, command-line programs like nget, > nzbperl, etc. may be preferrable or useful additions. > > The thing to keep in mind is that irrespective of what client one is > using, it's the quality of the feed that matters most. At least for > non-casual use. For a top notch feed, expect to pay out a few extra > bucks per month. That typically gives you a host of other benefits that > would include a complete hierarchy, high retention levels, unrestricted > download speeds, web access, multiple connections, multiple servers, > NNTPS, HTTPs, Clarinet, and a direct line to customer support. Even though this has nothing to do with FreeBSD, its worth mentioning that pulling down headers for a news group can use a lot of disk space and consume a lot of time. The OP might consider using one of the NZB aggregator sites and using a client that is NZB capable. This, of course, is most useful for binaries. The other tools usually required for these multipart postings are also in the tree. A little bit of Googling will cover learning how to use them. Back to my lurking corner ;-) Randy From ertr1013 at student.uu.se Mon Mar 9 12:57:16 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon Mar 9 12:57:24 2009 Subject: Which install ? In-Reply-To: References: <006001c9a0d3$9d61b660$d8252320$@com> <20090309163201.GA89070@owl.midgard.homeip.net> Message-ID: <20090309195702.GA90033@owl.midgard.homeip.net> On Mon, Mar 09, 2009 at 02:15:25PM -0400, Michael Powell wrote: > Erik Trulsson wrote: > > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > >> Greetings, > >> I just purchased an older rack mounted supermicro server. It is running > >> CentOS, but I want to install Freebsd on it. > >> The server has (2) Xeon processors. Which download should I use ? i386 > >> ??? > >> > > > > If it is an older server then i386 is probably the right version to use. > > The recent processors from Intel that use the 'Xeon' name also support > > amd64, but older ones did not. > > > > > > > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior to > that were 32 bit and came in OLGA 603 sockets. In early 2001 they were 1.4 > to 1.7GHz units, and later that year the speeds ramped up. There have been many 'Xeon' processors before that. The first ones were the Pentium II Xeon for Slot 2 and ran at a most impressive 400 MHz. There have been many variants after that using Slot 2, Socket 603, Socket 604, Socket 775, Socket 771, and probably some more socket type which I have missed. The Slot 2 and Socket 603 models do not have 64-bit support. Some of the Socket 604 models have 64-bit support, while I believe all the Socket 775 and Socket 771 models have 64-bit support. See http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors for what looks like a fairly complete list of them all, which should illustrate fairly well why it is pretty much meaningless to just say that you have a 'Xeon' processor. -- Erik Trulsson ertr1013@student.uu.se From darryl at osborne-ind.com Mon Mar 9 13:18:10 2009 From: darryl at osborne-ind.com (Darryl Hoar) Date: Mon Mar 9 13:18:17 2009 Subject: Which install ? In-Reply-To: <20090309195702.GA90033@owl.midgard.homeip.net> References: <006001c9a0d3$9d61b660$d8252320$@com> <20090309163201.GA89070@owl.midgard.homeip.net> <20090309195702.GA90033@owl.midgard.homeip.net> Message-ID: <008c01c9a0f4$8b530cf0$a1f926d0$@com> To: Michael Powell Cc: freebsd-questions@freebsd.org Subject: Re: Which install ? On Mon, Mar 09, 2009 at 02:15:25PM -0400, Michael Powell wrote: > Erik Trulsson wrote: > > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > >> Greetings, > >> I just purchased an older rack mounted supermicro server. It is running > >> CentOS, but I want to install Freebsd on it. > >> The server has (2) Xeon processors. Which download should I use ? i386 > >> ??? > >> > > > > If it is an older server then i386 is probably the right version to use. > > The recent processors from Intel that use the 'Xeon' name also support > > amd64, but older ones did not. > > > > > > > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior to > that were 32 bit and came in OLGA 603 sockets. In early 2001 they were 1.4 > to 1.7GHz units, and later that year the speeds ramped up. > There have been many 'Xeon' processors before that. The first ones were the > Pentium II Xeon for Slot 2 and ran at a most impressive 400 MHz. There have > been many variants after that using Slot 2, Socket 603, Socket 604, > Socket 775, Socket 771, and probably some more socket type which I have > missed. The Slot 2 and Socket 603 models do not have 64-bit support. Some > of the Socket 604 models have 64-bit support, while I believe all the Socket > 775 and Socket 771 models have 64-bit support. > See http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors for what > looks like a fairly complete list of them all, which should illustrate > fairly well why it is pretty much meaningless to just say that you have > a 'Xeon' processor. > Erik Trulsson > ertr1013@student.uu.se After looking at the referenced wiki and my system, I believe I have a supermicro SuperServer 6012L-6. It has (2) Xeon 512K L2 "Prestonia" processors. They are Installed in a P4DLR+ motherboard which has 603 pin sockets. >From this, I believe I should install the i386 version of Freebsd. Do I have to do anything to enable multi-processors in Freebsd ? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.9/1989 - Release Date: 03/09/09 07:14:00 From kdk at daleco.biz Mon Mar 9 13:39:36 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Mon Mar 9 13:39:43 2009 Subject: Which install ? In-Reply-To: <008c01c9a0f4$8b530cf0$a1f926d0$@com> References: <006001c9a0d3$9d61b660$d8252320$@com> <20090309163201.GA89070@owl.midgard.homeip.net> <20090309195702.GA90033@owl.midgard.homeip.net> <008c01c9a0f4$8b530cf0$a1f926d0$@com> Message-ID: <49B57E61.7010502@daleco.biz> Darryl Hoar wrote: > >>From this, I believe I should install the i386 version of Freebsd. Do I > have to do anything to enable multi-processors in Freebsd ? AFAIK you need "apic" and "smp" options in your kernel config; of course, the good news is that 7.0 and up have this enabled by default. Kevin Kinsey -- Squirrels eating squirrels, my God, that's sick. From nightrecon at verizon.net Mon Mar 9 13:41:03 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Mar 9 13:41:10 2009 Subject: Which install ? References: <006001c9a0d3$9d61b660$d8252320$@com> <20090309163201.GA89070@owl.midgard.homeip.net> <20090309195702.GA90033@owl.midgard.homeip.net> <008c01c9a0f4$8b530cf0$a1f926d0$@com> Message-ID: Darryl Hoar wrote: [snip] >> >> After looking at the referenced wiki and my system, I believe I have a >> supermicro >> SuperServer 6012L-6. It has (2) Xeon 512K L2 "Prestonia" processors. >> They are >> Installed in a P4DLR+ motherboard which has 603 pin sockets. > From this, I believe I should install the i386 version of Freebsd. Do I > have to do anything to enable multi-processors in Freebsd ? Yes - the Prestonia is from before EMT64. Some while back FreeBSD went to having SMP enabled as default in the GENERIC kernel. I haven't looked at the 6.x series as I went to 7.0-Release when it arrived. I did take a quick look at the GENERIC conf file on a 7.1-Release box and it has SMP in there as default. On older hardware you might try both/either 6.x and/or 7.1 releases and try and see if one works better. I'd try 7.1 first as it will have a better long term upgrade path, and fall back to giving 6.x a go if 7.1 gives trouble. Most likely what you'll see is whether or not the disk controllers are properly supported. SCSI and/or IDE can give problems with boot ordering sometimes. If it doesn't hickup on the disk controller(s) everything else will most likely be fine. As old as it is there is a pretty fair chance it will be OK. -Mike From ipfreak at yahoo.com Mon Mar 9 14:04:00 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Mar 9 14:04:07 2009 Subject: portupgrade, afterwards Message-ID: <330137.44455.qm@web52112.mail.re2.yahoo.com> Hi all: Where is the result of "portupgrade -fa" stored at? it showed a bunch files didn't go through or failed. just wondering whether I can take look at the results after I rebooted the server. Thanks From danielby at slightlystrange.org Mon Mar 9 14:25:42 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Mon Mar 9 14:25:48 2009 Subject: portupgrade, afterwards In-Reply-To: <330137.44455.qm@web52112.mail.re2.yahoo.com> References: <330137.44455.qm@web52112.mail.re2.yahoo.com> Message-ID: <20090309212536.GA1555@torus.slightlystrange.org> On Mon, Mar 09, 2009 at 02:03:59PM -0700, gahn wrote: > > Hi all: > > Where is the result of "portupgrade -fa" stored at? it showed a bunch files didn't go through or failed. just wondering whether I can take look at the results after I rebooted the server. > If that's exactly how you ran portupgrade, then I'm afraid you won't have any log info anywhere. You need the -L flag to portupgrade, which takes a printf(3) style format string (see man portupgrade for an example of how to use it), or you can run portupgrade in a script(1) session, something like this: # script /var/log/portupgrade.log portupgrade -fa Note that this approach will log ALL output generated by portupgrade, stderr and stdout, so the log file will get large. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/ef901cff/attachment.pgp From strbenjr at yahoo.com Mon Mar 9 13:07:25 2009 From: strbenjr at yahoo.com (Ben H.) Date: Mon Mar 9 14:30:53 2009 Subject: Help installing Hippo viewer... Message-ID: <820789.91789.qm@web33008.mail.mud.yahoo.com> Hello all... Thanks in advance for any assistance you may be able to provide. I am trying to get source code built for an application called "HIPPO Viewer" The source and instructions for building are written for Linux You can see what I have attempted to do to get this installed at: http://daemonforums.org/showthread.php?p=21745 Please reply to the list AND my email address. Any help will be greatly appreciated. Ben. -- -- -- http://inter-op.net http://www.cbsnews.com/sections/i_video/main500251.shtml?id=1419445n From roberthuff at rcn.com Mon Mar 9 14:36:17 2009 From: roberthuff at rcn.com (Robert Huff) Date: Mon Mar 9 14:36:24 2009 Subject: portupgrade, afterwards In-Reply-To: <330137.44455.qm@web52112.mail.re2.yahoo.com> References: <330137.44455.qm@web52112.mail.re2.yahoo.com> Message-ID: <18869.35733.910205.642469@jerusalem.litteratus.org> gahn writes: > Where is the result of "portupgrade -fa" stored at? it showed a > bunch files didn't go through or failed. just wondering whether > I can take look at the results after I rebooted the server. From the man page: -l FILE --results-file FILE Specify a file name to save the results to. By default, portupgrade does not save results as a file. If you have not used this option, or saved the output to stdout/stderr, or sent them as e-mail ... it's gone. Robert Huff From jtn at jtn.cx Mon Mar 9 14:53:17 2009 From: jtn at jtn.cx (Jason T. Nelson) Date: Mon Mar 9 14:53:29 2009 Subject: iSCSI initiator lockups Message-ID: <20090309212720.GA49294@jtn.cx> I'm running into some odd headaches regarding what looks like iSCSI initiators going to sleep for approximately 30 seconds before returning to life and pumping a ton of information back to the target. While this is happening, system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it shows what appears to be a nearly exact 30 second delay where the initiator stops talking to the target server, then abruptly restarts. Currently 8 machines are talking to 2 servers with 4 targets a piece, and while its working, we get good throughput. Activity is moderately high, as we are using the iSCSI targets as spool disks in an email cluster. As it appears that iscsi-target is a single-threaded process, would it be valuable to put each target in its own process on its own port? At any rate, this is causing serious problems on the mail processing machines. -- Jason T. Nelson GPG key 0xFF676C9E -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/8b13460c/attachment.pgp From ipfreak at yahoo.com Mon Mar 9 15:13:57 2009 From: ipfreak at yahoo.com (gahn) Date: Mon Mar 9 15:14:05 2009 Subject: freebsd 7.1, building kernel Message-ID: <865278.52299.qm@web52107.mail.re2.yahoo.com> Hi, all: I am trying to build customized kernel with "device carp" and followed kernel building procedure of the handbook. unfortunately it is failed: lab1# make buildkernel KERNCONF=lab1 ERROR: Missing kernel configuration file(s) (lab1). *** Error code 1 Stop in /usr/src. *** Error code 1 -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 -> /root/kernels/lab1 tried another system and i had similar problem: lab2# make buildkernel KERNCONF=lab2 ERROR: Missing kernel configuration file(s) (lab2). *** Error code 1 Stop in /usr/src. *** Error code 1 bothe system has just been patched: FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar 9 16:48:31 EDT 2009 admin@lab1:/usr/obj/usr/src/sys/GENERIC amd64 but for the kernel name GENERIC, the command work fine: drwxr-xr-x 2 root wheel 512 Mar 9 18:10 . drwxr-xr-x 15 root wheel 512 Feb 20 13:04 .. -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS lrwxr-xr-x 1 root wheel 21 Mar 9 18:10 GENERIC -> /root/kernels/lab1 -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC.bak -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX did anyone here encounter such problem? Thanks From nightrecon at verizon.net Mon Mar 9 15:18:10 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Mar 9 15:18:17 2009 Subject: freebsd 7.1, building kernel References: <865278.52299.qm@web52107.mail.re2.yahoo.com> Message-ID: gahn wrote: > > Hi, all: > > I am trying to build customized kernel with "device carp" and followed > kernel building procedure of the handbook. unfortunately it is failed: > > lab1# make buildkernel KERNCONF=lab1 > ERROR: Missing kernel configuration file(s) (lab1). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 -> /root/kernels/lab1 Take this link away and put your kernel config file here. > tried another system and i had similar problem: > > lab2# make buildkernel KERNCONF=lab2 > ERROR: Missing kernel configuration file(s) (lab2). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > [snip] > > did anyone here encounter such problem? > nope. I always put the kernel config file where it belongs. -Mike From onemda at gmail.com Mon Mar 9 16:16:54 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Mar 9 16:17:01 2009 Subject: Warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints In-Reply-To: <12014306.2461236619815645.JavaMail.HALO$@halo> References: <24988707.2441236619566261.JavaMail.HALO$@halo> <12014306.2461236619815645.JavaMail.HALO$@halo> Message-ID: <3a142e750903091616x4df600a8nadb8f05376ecc486@mail.gmail.com> On 3/9/09, Peter Steele wrote: >> Probably you installed that files _after_ linker.hints is generated, >> just make sure that they are still compatible with /boot/kernel/kernel > > Perhaps its a matter of the process we're using. I first install the GENERIC > kernel into the image I am creating: > > export DESTDIR=${IMAGE_DIR} > export DIST=/mnt/7.0-RELEASE > pushd ${DIST}/kernels > ./install.sh GENERIC > popd > > and then I apply our custom kernel: > > cd ${IMAGE_DIR}/boot > mv kernel kernel.orig > cd ${IMAGE_DIR} > gzip -d < /mnt2/CUSTOM.tgz | tar xvpf - > > The CUSTOM.tgz file was created for me by one of our kernel guys, and I > checked the archive and there is a new linux.ko file in the archive but no > linker.hints file. We don't make any changes to linux.ko but it is likely > being recompiled when the custom kernel is created. So I suspect I can > ignore this warning but am I missing something in the process. When a new > kernel is created, is there a new linker.hints file that should be included > in the tarball? You can ignore warning or make it go with already mentioned command. Your kernel guys should already take care for possible ABI breakage :-/ Even if ABI breakage happen, which can cause panic, above warning will not try to save you from crash. From rwmaillists at googlemail.com Mon Mar 9 17:37:20 2009 From: rwmaillists at googlemail.com (RW) Date: Mon Mar 9 17:37:26 2009 Subject: freebsd 7.1, building kernel In-Reply-To: <865278.52299.qm@web52107.mail.re2.yahoo.com> References: <865278.52299.qm@web52107.mail.re2.yahoo.com> Message-ID: <20090310003713.0410dbe8@gumby.homeunix.com> On Mon, 9 Mar 2009 15:13:55 -0700 (PDT) gahn wrote: > I am trying to build customized kernel with "device carp" and > followed kernel building procedure of the handbook. unfortunately it > is failed: > > lab1# make buildkernel KERNCONF=lab1 > ERROR: Missing kernel configuration file(s) (lab1). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 > -> /root/kernels/lab1 This appears to be /usr/src/sys/i386/conf/ (note the PAE file), but the following line suggests you are running amd64. > FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar 9 > 16:48:31 EDT 2009 admin@lab1:/usr/obj/usr/src/sys/GENERIC amd64 > > but for the kernel name GENERIC, the command work fine: probably because it's finding the amd64 GENERIC file in /usr/src/sys/amd64/conf/ rather than your symlink. From saifi.khan at twincling.org Mon Mar 9 18:08:07 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon Mar 9 18:08:14 2009 Subject: is there a laptop ? Message-ID: Hi all: i've looked at tuxmobil, bsdgroup.de etc and i don't want to use ndiswrapper, or broadcom or additional PCMCIA card at all. Is there a laptop model (available in market) that experienced members would like to recommend wherein . the WiFi 802.11 a/g (PCI based) . Ethernet port . and ACPI work absolutely fine with FreeBSD 7.x ? thanks Saifi. From kijoko99 at gmail.com Mon Mar 9 23:34:43 2009 From: kijoko99 at gmail.com (joko bodo) Date: Mon Mar 9 23:34:53 2009 Subject: freebsd-questions Digest, Vol 250, Issue 2 In-Reply-To: <20090309221822.102B810657C3@hub.freebsd.org> References: <20090309221822.102B810657C3@hub.freebsd.org> Message-ID: <461e6580903092334s7b1b5fecxdf6fdaf60555552a@mail.gmail.com> why if iget email from milis my subject always "freebsd-questions Digest, Vol 250, Issue 2" thx On Tue, Mar 10, 2009 at 5:18 AM, wrote: > Send freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." > > > Today's Topics: > > 1. Re: USENET? (Daniel Molina Wegener) > 2. Re: USENET? (Wojciech Puchar) > 3. Re: USENET? (George Davidovich) > 4. Re: roundcube security bug (Moti Levy) > 5. Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints (Peter Steele) > 6. Busy disk and page fault (Nicolas Haller) > 7. FreeBSD 7.1R on laptop (Pongthep Kulkrisada) > 8. Re: Busy disk and page fault (Wojciech Puchar) > 9. Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints (Paul B. Mahol) > 10. Re: FreeBSD 7.1R on laptop (Wojciech Puchar) > 11. Which install ? (Darryl Hoar) > 12. UID/GID in anon.ftp directory (Pieter Donche) > 13. Re: Which install ? (Erik Trulsson) > 14. Re: Busy disk and page fault (Nicolas Haller) > 15. Re: roundcube security bug (Zbigniew Szalbot) > 16. Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints (Peter Steele) > 17. New York Fundraising Summit - Panelist Invitation (Jennifer Winn) > 18. Re: Which install ? (Michael Powell) > 19. RE: FreeBSD 7.1R on laptop (Greg.Stark@sungard.com) > 20. hardware list in a machine (gahn) > 21. Re: hardware list in a machine (Josh Carroll) > 22. Re: USENET? (Randy Pratt) > 23. Re: Which install ? (Erik Trulsson) > 24. RE: Which install ? (Darryl Hoar) > 25. Re: Which install ? (Kevin Kinsey) > 26. RE: Which install ? (Michael Powell) > 27. portupgrade, afterwards (gahn) > 28. Re: portupgrade, afterwards (Daniel Bye) > 29. Help installing Hippo viewer... (Ben H.) > 30. portupgrade, afterwards (Robert Huff) > 31. iSCSI initiator lockups (Jason T. Nelson) > 32. freebsd 7.1, building kernel (gahn) > 33. Re: freebsd 7.1, building kernel (Michael Powell) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 9 Mar 2009 09:34:09 -0300 > From: Daniel Molina Wegener > Subject: Re: USENET? > To: freebsd-questions@freebsd.org > Cc: Robert Huff , Dan Nelson > , Gary Kline > Message-ID: <200903090934.17287.dmw@coder.cl> > Content-Type: text/plain; charset="iso-8859-1" > > El Sunday 08 March 2009 23:38:14 Robert Huff escribi?: > > Dan Nelson writes: > > > > are there any ports that offer an interface to USENET? I think > > > > mozilla did, but that was a long time ago ... . > > > > > > Mozilla simply changed names to Seamonkey and is still alive and > > > kicking. > > > > Thunderbird also has this ability. > > I'm currently using knode from kde ports... > > > > > > > Robert Huff > > > > [SNIP] > > Best regards, > -- > .O.| Daniel Molina Wegener | C/C++ Developer > ..O| dmw [at] coder [dot] cl | FreeBSD & Linux > OOO| http://coder.cl/ | Standards Basis > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 835 bytes > Desc: This is a digitally signed message part. > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/9541f4d3/attachment-0001.pgp > > ------------------------------ > > Message: 2 > Date: Mon, 9 Mar 2009 14:05:56 +0100 (CET) > From: Wojciech Puchar > Subject: Re: USENET? > To: cpghost > Cc: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > >> at least in Poland there are free. and for my clients i have nntpcache'd > >> news from Gda?sk University. > > > > Actually, in most parts of the world, news are still freely available > > with many ISPs (you may have to ask them explicitly), except for > > alt.binaries.* which are quite bandwidth intensive. > > i'm connected to university network (commercially, not as a student ;), i > have all their service included in price. alt.binaries.* too, don't know > if all of them as i don't use it. > > > > > Your typical small ISP would rather save the bandwidth it takes to > > transfer all articles, esp. if only a fraction of them are accessed > > nntpcache is exactly for this. it's like squid, just for nntp > > it's worth even with 1 nntp user, and it takes 5 minutes to configure. > > > ------------------------------ > > Message: 3 > Date: Mon, 9 Mar 2009 07:14:26 -0700 > From: George Davidovich > Subject: Re: USENET? > To: freebsd-questions@freebsd.org > Message-ID: <20090309141426.GA51920@marvin.optimis.net> > Content-Type: text/plain; charset=us-ascii > > On Mon, Mar 09, 2009 at 12:44:38PM +0100, cpghost wrote: > > On Mon, Mar 09, 2009 at 11:39:43AM +0100, Wojciech Puchar wrote: > > > > news/pan seems to work OK, if you want a GUI. But be aware that > > > > nowadays, you'll probably have to pay a monthly fee for usenet. > > > > ISPs don't seem to routinely offer it as part of the deal anymore > > > > like they used to. > > > > > > at least in Poland there are free. and for my clients i have > > > nntpcache'd news from Gda?sk University. > > > > Actually, in most parts of the world, news are still freely available > > with many ISPs (you may have to ask them explicitly), except for > > alt.binaries.* which are quite bandwidth intensive. > > > > Your typical small ISP would rather save the bandwidth it takes to > > transfer all articles, esp. if only a fraction of them are accessed by > > their customers. It simply doesn't make sense for them to host > > binaries, unlike dedicated news providers which have enough customers > > to justify the expenses. > > That's essentially correct, but it's worth noting that an ISP can > provide a news feed to their customers through one of the major news > providers. It wasn't unusual not so long ago for dialup ISPs to offer a > full alt.binaries hierachy this way. > > As for client suggestions, that typically depends on whether the person > is interested in text, binaries, or both. Most clients are capable of > doing both, of course. That's not to say that all do both equally well. > Right tool for the job and all that. > > For text, I'd recommend slrn. Gary is already using mutt, so I'd > suggest he go that route, or alternatively, try mutt's nntp patch and > use mutt instead. Works perfectly well and it's what I use. If reading > news is going to be a regular thing, then setting up a local server of > some sort (to pull down feeds from one or more providers) may be a > useful addition, though slrn does does provide a companion program to do > something similar. > > Binary groups, on the other hand, are generally best handled by a GUI > client. If you know what you're doing, command-line programs like nget, > nzbperl, etc. may be preferrable or useful additions. > > The thing to keep in mind is that irrespective of what client one is > using, it's the quality of the feed that matters most. At least for > non-casual use. For a top notch feed, expect to pay out a few extra > bucks per month. That typically gives you a host of other benefits that > would include a complete hierarchy, high retention levels, unrestricted > download speeds, web access, multiple connections, multiple servers, > NNTPS, HTTPs, Clarinet, and a direct line to customer support. > > If you think you are or can get most of those for free (from your ISP, > for example), you haven't looked carefully enough. Still, I think a > subscription to a pay provider is worth every cent, even for text > groups. > > -- > George > > > ------------------------------ > > Message: 4 > Date: Mon, 09 Mar 2009 10:54:42 -0400 > From: Moti Levy > Subject: Re: roundcube security bug > To: Zbigniew Szalbot > Cc: User Questions > Message-ID: <49B52DB2.2010306@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 03/09/09 6:05 AM, Zbigniew Szalbot wrote: > > Hi there, > > > > On Mon, Mar 9, 2009 at 10:50, Ross Cameron wrote: > > > >> Surely an attempted cracking attempt on you're server warrants making > time? > >> > > > > It does. > > > > > >> Without detailed reports of issues like this how is the vendor expected > to > >> correct the problem? > >> Avoiding installing the code is just a lazy workaround, helping the > >> author's will improve the general open source software ecosystem. > >> > > > > Like I said, I just lacked the time. I have notified the port > > maintainer though and intend to contact the author but I wish there > > was a simpler way then having to register first. > > > > > portaudit is always usefull > > Affected package: roundcube-0.2.a,1 > Type of problem: roundcube -- remote execution of arbitrary code. > Reference: > < > http://www.FreeBSD.org/ports/portaudit/8f483746-d45d-11dd-84ec-001fc66e7203.html > > > > > > > ------------------------------ > > Message: 5 > Date: Mon, 9 Mar 2009 08:37:25 -0700 (PDT) > From: Peter Steele > Subject: Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints > To: freebsd-questions@freebsd.org > Message-ID: <4941256.2381236613044068.JavaMail.HALO$@halo> > Content-Type: text/plain; charset=utf-8 > > I have a process that automates the creation of a master FreeBSD image that > we clone onto mulitple machines. In the latest version of this image I am > seeing the warnings: > > warning: KLD '/boot/kernel/linprocfs.ko' is newer than the linker.hints > file > warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints > > What might be causing this? I am not doing anything in particular with this > Linux component during the image creation process, and these are the only > such warnings. We do install a custom kernel as well, but I did not see this > error in earlier versions of the image creation process. > > > > > ------------------------------ > > Message: 6 > Date: Mon, 9 Mar 2009 16:30:58 +0100 > From: Nicolas Haller > Subject: Busy disk and page fault > To: freebsd-questions@freebsd.org > Message-ID: <20090309153057.GD1481@boiteameuh.org> > Content-Type: text/plain; charset=iso-8859-1 > > Hi all, > > I'm asking myself about a problem I have with a Postgresql server on > FreeBSD 7.1-RELEASE. > > The server is overload, the disk is 100% busy with 250 write operations > per second and a throuput of 6MB/s. > My first idea is because of mass random access/write on the disk. But I > also see > the server can make 20k page fault per second. > > So, did you think I really have a disk contention or this high number of > page fault can be a problem (and if it can, how to resolve it). > > Thanks, > > -- > Nicolas Haller > > > ------------------------------ > > Message: 7 > Date: Mon, 9 Mar 2009 22:35:01 +0700 > From: Pongthep Kulkrisada > Subject: FreeBSD 7.1R on laptop > To: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was > physically broken. My machine is very old anyway. So I want to buy a > new laptop (notebook). I have some questions. > > 1. Previously I use ADSL but now I go back to 56k serial modem. The > problem is new laptops do not provide COM port (/dev/cuad?). I must > use internal modem built with the laptop. I'm not sure whether this > internal modem can be found by FBSD 7.1R or not. If not, how to do? > (Sorry I never used laptop.) > > 2. Previously, I used LILO boot manager (from Linux) for selecting > FBSD, Linux or WinXP. But nowadays most of the time I use only FBSD > and don't use Linux at all. So I don't want to waste the space > installing linux on my new laptop. But I use XP occassionally. I need > to know whether FBSD boot manager can select and boot XP or not? How > to do it? I didn't find it in the handbook. > Note that I know grub. But I really want to know the way, the system > provide. Because I have a long story of this problem. Once (5 years > ago) I installed FBSD success but without caution. I rebooted then I > could not run the freshly installed system. Because there was no > options for selecting the new system. :-( That time I ended up with > LILO to fix the problem. But this time I just don't want to install > Linux. So I want to use only what, the system provides. > > Thanks, > Pongthep > > > ------------------------------ > > Message: 8 > Date: Mon, 9 Mar 2009 17:04:16 +0100 (CET) > From: Wojciech Puchar > Subject: Re: Busy disk and page fault > To: Nicolas Haller > Cc: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > The server is overload, the disk is 100% busy with 250 write operations > > per second and a throuput of 6MB/s. > > My first idea is because of mass random access/write on the disk. But I > also see > > the server can make 20k page fault per second. > > what page fault? most page faults in FreeBSD doesn't mean disk access, > just no mapping present in page tables, which gets mapped after the fault. > > Only if page is actually not present in memory it is fetched from disk. > > top shows in what state is a process. > if it's biord or biorw - it's doing disk/file I/O, not swapping. > > that's about FreeBSD part - about postgress part ask on postgress mailing > list. i don't use it so i can't help you. > > > ------------------------------ > > Message: 9 > Date: Mon, 9 Mar 2009 17:07:03 +0100 > From: "Paul B. Mahol" > Subject: Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints > To: Peter Steele > Cc: freebsd-questions@freebsd.org > Message-ID: > <3a142e750903090907y2115838co3aaf88c15fa139e4@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 3/9/09, Peter Steele wrote: > > I have a process that automates the creation of a master FreeBSD image > that > > we clone onto mulitple machines. In the latest version of this image I am > > seeing the warnings: > > > > warning: KLD '/boot/kernel/linprocfs.ko' is newer than the linker.hints > file > > warning: KLD '/boot/kernel/linux.ko' is newer than the linker.hints > > > > What might be causing this? I am not doing anything in particular with > this > > Linux component during the image creation process, and these are the only > > such warnings. We do install a custom kernel as well, but I did not see > this > > error in earlier versions of the image creation process. > > # kldxref /boot/kernel > > Probably you installed that files _after_ linker.hints is generated, > just make sure > that they are still compatible with /boot/kernel/kernel > > > -- > Paul > > > ------------------------------ > > Message: 10 > Date: Mon, 9 Mar 2009 17:07:04 +0100 (CET) > From: Wojciech Puchar > Subject: Re: FreeBSD 7.1R on laptop > To: Pongthep Kulkrisada > Cc: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was > > physically broken. My machine is very old anyway. So I want to buy a > > new laptop (notebook). I have some questions. > > simply getting new hard drive could be enough. > > > > > 1. Previously I use ADSL but now I go back to 56k serial modem. The > > problem is new laptops do not provide COM port (/dev/cuad?). I must > > use internal modem built with the laptop. I'm not sure whether this > > internal modem can be found by FBSD 7.1R or not. If not, how to do? > > (Sorry I never used laptop.) > > check what modem. for lucent winmodems there is WORKING driver in ports. > works on my IBM T23. > > simply check the hardware. or use external modems with USB connector. > > Check if "Hayes compatible" or so label are on modem package - if so, it > behaves like serial port modem just connected through USB, you'll use some > of USB serial port drivers. > > if no - it's winmodem, most likely incompatible with anything except > windoze. > > > ------------------------------ > > Message: 11 > Date: Mon, 9 Mar 2009 11:25:06 -0500 > From: "Darryl Hoar" > Subject: Which install ? > To: > Message-ID: <006001c9a0d3$9d61b660$d8252320$@com> > Content-Type: text/plain; charset="us-ascii" > > Greetings, > I just purchased an older rack mounted supermicro server. It is running > CentOS, but I want to install Freebsd on it. > The server has (2) Xeon processors. Which download should I use ? i386 > ??? > > > Thanks, > Darryl > > > > ------------------------------ > > Message: 12 > Date: Mon, 9 Mar 2009 17:27:44 +0100 (CET) > From: Pieter Donche > Subject: UID/GID in anon.ftp directory > To: "mail.list freebsd-questions" > Message-ID: > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > I set up an anonymous ftp directory on FreeBSD system and copied (via a > tarball) the anon.ftp directory (pub) from our old ftp server to the > new FreeBSD server. > > In the new server users get same loginnames, but UIDs are different from > UID at old server, so I manually did the necessary > chown -R username:groupname on all the directories and files in the anon. > ftp directory. > > At unix command prompt an ls -la shows correct usernames and groupnames. > # ls -la pub > drwxr-xr-x 6 sbecuwe cant 512 Mar 30 1999 IT > drwxr-xr-x 13 cant cant 512 Apr 8 2005 cant > drwxr-xr-x 2 dekeyser adrem 512 Sep 11 2002 dekeyser > drwxr-xr-x 2 cant cant 512 Nov 30 2003 ect > drwxr-xr-x 2 dekeyser adrem 512 Nov 18 14:20 olap > drwxr-xr-x 7 pats pats 512 Sep 5 2006 pats > drwxr-xr-x 2 penne algebra 512 Feb 15 2005 penne > ... > > But when I use ftp > ... > ftp> cd pub > ftp> dir > drwxr-xr-x 6 1003 205 512 Mar 30 1999 IT > drwxr-xr-x 13 1011 205 512 Apr 8 2005 cant > drwxr-xr-x 2 1026 200 512 Sep 11 2002 dekeyser > drwxr-xr-x 2 1011 205 512 Nov 30 2003 ect > drwxr-xr-x 2 1026 200 512 Nov 18 13:20 olap > drwxr-xr-x 7 1024 210 512 Sep 5 2006 pats > drwxr-xr-x 2 1025 202 512 Feb 15 2005 penne > ... > > So, it displays numeric UIDs and GIDs. (these numbers are correct and are > present in /etc/passwd and /etc/group). > > But why does he not show me usernames and groupnames > (on the original ftp server, he does..) > > How to remedy? > > > ------------------------------ > > Message: 13 > Date: Mon, 9 Mar 2009 17:32:01 +0100 > From: Erik Trulsson > Subject: Re: Which install ? > To: Darryl Hoar > Cc: freebsd-questions@freebsd.org > Message-ID: <20090309163201.GA89070@owl.midgard.homeip.net> > Content-Type: text/plain; charset=us-ascii > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > > Greetings, > > I just purchased an older rack mounted supermicro server. It is running > > CentOS, but I want to install Freebsd on it. > > The server has (2) Xeon processors. Which download should I use ? i386 > ??? > > > > If it is an older server then i386 is probably the right version to use. > The recent processors from Intel that use the 'Xeon' name also support > amd64, but older ones did not. > > > > > -- > > Erik Trulsson > ertr1013@student.uu.se > > > ------------------------------ > > Message: 14 > Date: Mon, 9 Mar 2009 17:43:52 +0100 > From: Nicolas Haller > Subject: Re: Busy disk and page fault > To: freebsd-questions@freebsd.org > Message-ID: <20090309164352.GE1481@boiteameuh.org> > Content-Type: text/plain; charset=iso-8859-1 > > On Mon, Mar 09, 2009 at 05:04:16PM +0100, Wojciech Puchar wrote: > >> The server is overload, the disk is 100% busy with 250 write operations > >> per second and a throuput of 6MB/s. > >> My first idea is because of mass random access/write on the disk. But I > also see > >> the server can make 20k page fault per second. > > > what page fault? most page faults in FreeBSD doesn't mean disk access, > > just no mapping present in page tables, which gets mapped after the > > fault. > > > Only if page is actually not present in memory it is fetched from disk. > > > top shows in what state is a process. > > if it's biord or biorw - it's doing disk/file I/O, not swapping. > > The box don't swap. I just ask if page fault interrupt postgresql > process and fragment/de-optimize disk write. > > -- > Nicolas Haller > > > ------------------------------ > > Message: 15 > Date: Mon, 9 Mar 2009 17:57:16 +0100 > From: Zbigniew Szalbot > Subject: Re: roundcube security bug > To: User Questions > Message-ID: > <94136a2c0903090957n447b476am7cbb7b4668618fec@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hello, > > On Mon, Mar 9, 2009 at 15:54, Moti Levy wrote: > > portaudit is always usefull > > > > Affected package: roundcube-0.2.a,1 > > Ah... my bad - I have had roundcube installed from sources, not from > port. That's why I didn't know. I use portaudit on daily bases. Many > thanks, though! > > In the meantime I have notified roundcube authors but it seems they > should know by now anyway. > > -- > Zbigniew Szalbot > www.slowo.pl > www.fairtrade.net.pl > > > ------------------------------ > > Message: 16 > Date: Mon, 9 Mar 2009 10:30:17 -0700 (PDT) > From: Peter Steele > Subject: Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the > linker.hints > To: freebsd-questions@freebsd.org > Message-ID: <12014306.2461236619815645.JavaMail.HALO$@halo> > Content-Type: text/plain; charset=utf-8 > > > Probably you installed that files _after_ linker.hints is generated, > > just make sure that they are still compatible with /boot/kernel/kernel > > Perhaps its a matter of the process we're using. I first install the > GENERIC kernel into the image I am creating: > > export DESTDIR=${IMAGE_DIR} > export DIST=/mnt/7.0-RELEASE > pushd ${DIST}/kernels > ./install.sh GENERIC > popd > > and then I apply our custom kernel: > > cd ${IMAGE_DIR}/boot > mv kernel kernel.orig > cd ${IMAGE_DIR} > gzip -d < /mnt2/CUSTOM.tgz | tar xvpf - > > The CUSTOM.tgz file was created for me by one of our kernel guys, and I > checked the archive and there is a new linux.ko file in the archive but no > linker.hints file. We don't make any changes to linux.ko but it is likely > being recompiled when the custom kernel is created. So I suspect I can > ignore this warning but am I missing something in the process. When a new > kernel is created, is there a new linker.hints file that should be included > in the tarball? > > > > ------------------------------ > > Message: 17 > Date: Mon, 09 Mar 2009 13:26:07 -0500 > From: "Jennifer Winn" > Subject: New York Fundraising Summit - Panelist Invitation > To: freebsd-questions@freebsd.org > Message-ID: > freebsd.org@lists.mediate-facilitate.com> > > Content-Type: text/plain; charset="ISO-8859-1" > > Dear Foundation Representative, > > My name is Jennifer Winn, Event Manager for the Center for > Nonprofit Success, and I am writing to invite you to speak on a > grantmaking panel at the Fundraising Summit that we will be > hosting again this year at New York University on June 3-4, 2009. > > This year, we have a corporate grantmaking panel and a private > foundation grantmaking panel, and you can see a full list of > sessions for which we are recruiting speakers below. You can also > see who spoke at last year's New York Summit by going to: > http://www.cfnps.org/newyork2008.aspx?target=speakers > > If you would like to receive more information about being a > panelist one of our panels or one of the other sessions, please > feel free to contact me via reply email. We are very much looking > forward to hearing from you. > > Regards, > > Jennifer Winn > Event Manager > Center for Nonprofit Success > email: jwinn@cfnps.org > Phone: 903-262-0765 > www.cfnps.org > > ============================================== > > EVENT DETAILS > New York Fundraising Summit > June 3-4, 2009 (Wednesday - Thursday) > New York University Kimmel Center > 60 Washington Square South > New York, NY 10012 > > You can learn more about the New York Summit by going to: > http://cfnps.org/ny2009.aspx > > ============================================== > > A. SPEAKING AT THE SUMMIT > This year we are offering over 20 concurrent sessions that cover > the following topics: > > Corporate Giving Track > ? Panel discussion and dialogue with corporate grantmakers > ? Finding Corporate Funders: The Art of Successful Research > ? Exploring the World of Corporate Sponsorship > ? Cause Marketing > ? Winning Corporate Partnerships > > Foundation Giving Track > ? Panel discussion and dialogue with foundation grantmakers > ? Finding Foundation Funders: The Art of Successful Research > ? Proposal Writing > ? Winning Proposals: A Tour of Four Successful Case Studies > ? How to Build a Successful Relationship with Grantmakers > > Individual Giving Track > ? Finding Individual Funders: The Art of Successful Research > ? Engaging Your Board in Fundraising > ? Online Fundraising > ? Annual Giving Campaigns > ? Introduction to Major Gifts > ? Complex Issues Affecting Major Gifts Solicitations > ? Fundraising in The One-Person Development Shop > ? Special Events Fundraising > ? Capital Campaigns > ? Planned Giving > ? Direct Mail Fundraising > > To learn about any of these sessions, go to: > http://cfnps.org/ny2009.aspx > If you would like to speak in one of these sessions, please send > an email to Jennifer Winn at jwinn@cfnps.org > > You may also be interested in speaking at one of our other Summits. > To see a 2009 calendar of Summits by city, go to: > http://cfnps.org/education_calendar.aspx > If you are interested in speaking at another Summit, > please send us an email at info@cfnps.org > > ============================================== > > B. MENTORING AT THE SUMMIT > In addition to speaking at the Summit, you can also participate > as a mentor in our one-on-one mentoring sessions during the > Summit. If you sign up as a mentor, attendees will be able to sit > down with you to discuss specific questions about their > organizations. Sessions last 30 minutes and the mentoring topics > correspond to the seminars offered at the Summit. Mentoring is > optional, and you will be prompted to register as a mentor when > you register as a speaker. > > ============================================== > > C. EXHIBITING AT THE SUMMIT > The Center for Nonprofit Success is currently accepting exhibitor > registrations for the New York Summit. If you or someone you know > has a product or service that benefits the nonprofit sector, and > might be interested in exhibiting at one of our Summits, please > write to info@cfnps.org so that we can send you more information. > In the meantime, you can learn more about this opportunity by > going to: http://www.cfnps.org/Exhibitors.aspx > > ============================================== > Unsubscribe information: > The Center for Nonprofit Success is a nonprofit organization > whose mission to provide the training, knowledge and resources to > help nonprofit leaders succeed. If you do not wish to receive > any future invitations from us, please go to: > http://lists.mediate-facilitate.com/subscribe/profile?f=25&id=1524032J > > > ------------------------------ > > Message: 18 > Date: Mon, 09 Mar 2009 14:15:25 -0400 > From: Michael Powell > Subject: Re: Which install ? > To: freebsd-questions@freebsd.org > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Erik Trulsson wrote: > > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > >> Greetings, > >> I just purchased an older rack mounted supermicro server. It is running > >> CentOS, but I want to install Freebsd on it. > >> The server has (2) Xeon processors. Which download should I use ? i386 > >> ??? > >> > > > > If it is an older server then i386 is probably the right version to use. > > The recent processors from Intel that use the 'Xeon' name also support > > amd64, but older ones did not. > > > > > > > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior > to > that were 32 bit and came in OLGA 603 sockets. In early 2001 they were 1.4 > to 1.7GHz units, and later that year the speeds ramped up. > > At any rate, dmesg works the same way in CentOS so you can use it to easily > make a more accurate determination. It will be near the top so do dmesg | > more, or dmesg | less so it will page. It will be among some of the > earliest > output. > > -Mike > > > > > > ------------------------------ > > Message: 19 > Date: Mon, 9 Mar 2009 14:13:28 -0400 > From: > Subject: RE: FreeBSD 7.1R on laptop > To: , > Message-ID: > > > > > Content-Type: text/plain; charset="us-ascii" > > Some laptops do come with COM ports still. Usually they are the > business models. For example, the Dell Latitude 820's have them. > > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Pongthep > Kulkrisada > Sent: Monday, March 09, 2009 11:35 AM > To: freebsd-questions@freebsd.org > Subject: FreeBSD 7.1R on laptop > > Hi all, > > I am using FBSD 7.1R on PC. But yesterday (8 Mar 09) my hard disk was > physically broken. My machine is very old anyway. So I want to buy a > new laptop (notebook). I have some questions. > > 1. Previously I use ADSL but now I go back to 56k serial modem. The > problem is new laptops do not provide COM port (/dev/cuad?). I must > use internal modem built with the laptop. I'm not sure whether this > internal modem can be found by FBSD 7.1R or not. If not, how to do? > (Sorry I never used laptop.) > > 2. Previously, I used LILO boot manager (from Linux) for selecting > FBSD, Linux or WinXP. But nowadays most of the time I use only FBSD > and don't use Linux at all. So I don't want to waste the space > installing linux on my new laptop. But I use XP occassionally. I need > to know whether FBSD boot manager can select and boot XP or not? How > to do it? I didn't find it in the handbook. > Note that I know grub. But I really want to know the way, the system > provide. Because I have a long story of this problem. Once (5 years > ago) I installed FBSD success but without caution. I rebooted then I > could not run the freshly installed system. Because there was no > options for selecting the new system. :-( That time I ended up with > LILO to fix the problem. But this time I just don't want to install > Linux. So I want to use only what, the system provides. > > Thanks, > Pongthep > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > > ------------------------------ > > Message: 20 > Date: Mon, 9 Mar 2009 11:59:19 -0700 (PDT) > From: gahn > Subject: hardware list in a machine > To: freebsd general questions > Message-ID: <453684.84249.qm@web52105.mail.re2.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > > Hi all: > > How could I find out the list of hardware in my machine? I used "dmesg" and > "var/run/dmesg.boot", it didn't seem to help that much as I expected. > > which file lists all of hardware in the machine? > > Thanks. > > > > > > > > > > ------------------------------ > > Message: 21 > Date: Mon, 9 Mar 2009 15:17:50 -0400 > From: Josh Carroll > Subject: Re: hardware list in a machine > To: ipfreak@yahoo.com > Cc: freebsd general questions > Message-ID: > <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Mon, Mar 9, 2009 at 2:59 PM, gahn wrote: > > > > Hi all: > > > > How could I find out the list of hardware in my machine? I used "dmesg" > and "var/run/dmesg.boot", it didn't seem to help that much as I expected. > > > > which file lists all of hardware in the machine? > > > > Thanks. > > Give the sysutils/dmidecode port a shot. > > Josh > > > ------------------------------ > > Message: 22 > Date: Mon, 9 Mar 2009 15:29:55 -0400 > From: Randy Pratt > Subject: Re: USENET? > To: freebsd-questions@freebsd.org > Message-ID: <20090309152955.5541db22.bsd-unix@embarqmail.com> > Content-Type: text/plain; charset=US-ASCII > > On Mon, 9 Mar 2009 07:14:26 -0700 > > > For text, I'd recommend slrn. Gary is already using mutt, so I'd > > suggest he go that route, or alternatively, try mutt's nntp patch and > > use mutt instead. Works perfectly well and it's what I use. If reading > > news is going to be a regular thing, then setting up a local server of > > some sort (to pull down feeds from one or more providers) may be a > > useful addition, though slrn does does provide a companion program to do > > something similar. > > > > Binary groups, on the other hand, are generally best handled by a GUI > > client. If you know what you're doing, command-line programs like nget, > > nzbperl, etc. may be preferrable or useful additions. > > > > The thing to keep in mind is that irrespective of what client one is > > using, it's the quality of the feed that matters most. At least for > > non-casual use. For a top notch feed, expect to pay out a few extra > > bucks per month. That typically gives you a host of other benefits that > > would include a complete hierarchy, high retention levels, unrestricted > > download speeds, web access, multiple connections, multiple servers, > > NNTPS, HTTPs, Clarinet, and a direct line to customer support. > > Even though this has nothing to do with FreeBSD, its worth mentioning > that pulling down headers for a news group can use a lot of disk space > and consume a lot of time. The OP might consider using one of the NZB > aggregator sites and using a client that is NZB capable. This, of > course, is most useful for binaries. The other tools usually required > for these multipart postings are also in the tree. A little bit > of Googling will cover learning how to use them. > > Back to my lurking corner ;-) > > Randy > > > ------------------------------ > > Message: 23 > Date: Mon, 9 Mar 2009 20:57:02 +0100 > From: Erik Trulsson > Subject: Re: Which install ? > To: Michael Powell > Cc: freebsd-questions@freebsd.org > Message-ID: <20090309195702.GA90033@owl.midgard.homeip.net> > Content-Type: text/plain; charset=us-ascii > > On Mon, Mar 09, 2009 at 02:15:25PM -0400, Michael Powell wrote: > > Erik Trulsson wrote: > > > > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > > >> Greetings, > > >> I just purchased an older rack mounted supermicro server. It is > running > > >> CentOS, but I want to install Freebsd on it. > > >> The server has (2) Xeon processors. Which download should I use ? > i386 > > >> ??? > > >> > > > > > > If it is an older server then i386 is probably the right version to > use. > > > The recent processors from Intel that use the 'Xeon' name also support > > > amd64, but older ones did not. > > > > > > > > > > > > > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior > to > > that were 32 bit and came in OLGA 603 sockets. In early 2001 they were > 1.4 > > to 1.7GHz units, and later that year the speeds ramped up. > > There have been many 'Xeon' processors before that. The first ones were > the > Pentium II Xeon for Slot 2 and ran at a most impressive 400 MHz. There > have > been many variants after that using Slot 2, Socket 603, Socket 604, > Socket 775, Socket 771, and probably some more socket type which I have > missed. The Slot 2 and Socket 603 models do not have 64-bit support. Some > of the Socket 604 models have 64-bit support, while I believe all the > Socket > 775 and Socket 771 models have 64-bit support. > > See http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors for > what > looks like a fairly complete list of them all, which should illustrate > fairly well why it is pretty much meaningless to just say that you have > a 'Xeon' processor. > > > > -- > > Erik Trulsson > ertr1013@student.uu.se > > > ------------------------------ > > Message: 24 > Date: Mon, 9 Mar 2009 15:20:49 -0500 > From: "Darryl Hoar" > Subject: RE: Which install ? > To: "'Erik Trulsson'" , "'Michael Powell'" > > Cc: freebsd-questions@freebsd.org > Message-ID: <008c01c9a0f4$8b530cf0$a1f926d0$@com> > Content-Type: text/plain; charset="us-ascii" > > To: Michael Powell > Cc: freebsd-questions@freebsd.org > Subject: Re: Which install ? > > On Mon, Mar 09, 2009 at 02:15:25PM -0400, Michael Powell wrote: > > Erik Trulsson wrote: > > > > > On Mon, Mar 09, 2009 at 11:25:06AM -0500, Darryl Hoar wrote: > > >> Greetings, > > >> I just purchased an older rack mounted supermicro server. It is > running > > >> CentOS, but I want to install Freebsd on it. > > >> The server has (2) Xeon processors. Which download should I use ? > i386 > > >> ??? > > >> > > > > > > If it is an older server then i386 is probably the right version to > use. > > > The recent processors from Intel that use the 'Xeon' name also support > > > amd64, but older ones did not. > > > > > > > > > > > > > > > > If memory serves, the first Xeon to be 64 bit was the Nocona. Xeons prior > to > > that were 32 bit and came in OLGA 603 sockets. In early 2001 they were > 1.4 > > > to 1.7GHz units, and later that year the speeds ramped up. > > > There have been many 'Xeon' processors before that. The first ones were > the > > Pentium II Xeon for Slot 2 and ran at a most impressive 400 MHz. There > have > > been many variants after that using Slot 2, Socket 603, Socket 604, > > Socket 775, Socket 771, and probably some more socket type which I have > > missed. The Slot 2 and Socket 603 models do not have 64-bit support. > Some > > of the Socket 604 models have 64-bit support, while I believe all the > Socket > > 775 and Socket 771 models have 64-bit support. > > > See http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors for > what > > looks like a fairly complete list of them all, which should illustrate > > fairly well why it is pretty much meaningless to just say that you have > > a 'Xeon' processor. > > Erik Trulsson > > ertr1013@student.uu.se > > After looking at the referenced wiki and my system, I believe I have a > supermicro > SuperServer 6012L-6. It has (2) Xeon 512K L2 "Prestonia" processors. They > are > Installed in a P4DLR+ motherboard which has 603 pin sockets. > > >From this, I believe I should install the i386 version of Freebsd. Do I > have to > do anything to enable multi-processors in Freebsd ? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.237 / Virus Database: 270.11.9/1989 - Release Date: 03/09/09 > 07:14:00 > > > > ------------------------------ > > Message: 25 > Date: Mon, 09 Mar 2009 15:38:57 -0500 > From: Kevin Kinsey > Subject: Re: Which install ? > To: Darryl Hoar > Cc: freebsd-questions@freebsd.org > Message-ID: <49B57E61.7010502@daleco.biz> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Darryl Hoar wrote: > > > >>From this, I believe I should install the i386 version of Freebsd. Do I > > have to do anything to enable multi-processors in Freebsd ? > > AFAIK you need "apic" and "smp" options in your kernel config; of > course, the good news is that 7.0 and up have this enabled by default. > > Kevin Kinsey > -- > Squirrels eating squirrels, my God, that's sick. > > > > ------------------------------ > > Message: 26 > Date: Mon, 09 Mar 2009 16:41:46 -0400 > From: Michael Powell > Subject: RE: Which install ? > To: freebsd-questions@freebsd.org > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Darryl Hoar wrote: > > [snip] > >> > >> After looking at the referenced wiki and my system, I believe I have a > >> supermicro > >> SuperServer 6012L-6. It has (2) Xeon 512K L2 "Prestonia" processors. > >> They are > >> Installed in a P4DLR+ motherboard which has 603 pin sockets. > > > From this, I believe I should install the i386 version of Freebsd. Do I > > have to do anything to enable multi-processors in Freebsd ? > > Yes - the Prestonia is from before EMT64. > > Some while back FreeBSD went to having SMP enabled as default in the > GENERIC > kernel. I haven't looked at the 6.x series as I went to 7.0-Release when it > arrived. I did take a quick look at the GENERIC conf file on a 7.1-Release > box and it has SMP in there as default. > > On older hardware you might try both/either 6.x and/or 7.1 releases and try > and see if one works better. I'd try 7.1 first as it will have a better > long > term upgrade path, and fall back to giving 6.x a go if 7.1 gives trouble. > > Most likely what you'll see is whether or not the disk controllers are > properly supported. SCSI and/or IDE can give problems with boot ordering > sometimes. If it doesn't hickup on the disk controller(s) everything else > will most likely be fine. As old as it is there is a pretty fair chance it > will be OK. > > -Mike > > > > > > > ------------------------------ > > Message: 27 > Date: Mon, 9 Mar 2009 14:03:59 -0700 (PDT) > From: gahn > Subject: portupgrade, afterwards > To: freebsd general questions > Message-ID: <330137.44455.qm@web52112.mail.re2.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > > Hi all: > > Where is the result of "portupgrade -fa" stored at? it showed a bunch files > didn't go through or failed. just wondering whether I can take look at the > results after I rebooted the server. > > Thanks > > > > > > ------------------------------ > > Message: 28 > Date: Mon, 9 Mar 2009 21:25:36 +0000 > From: "Daniel Bye" > Subject: Re: portupgrade, afterwards > To: freebsd general questions > Message-ID: <20090309212536.GA1555@torus.slightlystrange.org> > Content-Type: text/plain; charset="us-ascii" > > On Mon, Mar 09, 2009 at 02:03:59PM -0700, gahn wrote: > > > > Hi all: > > > > Where is the result of "portupgrade -fa" stored at? it showed a bunch > files didn't go through or failed. just wondering whether I can take look at > the results after I rebooted the server. > > > > If that's exactly how you ran portupgrade, then I'm afraid you won't have > any log info anywhere. > > You need the -L flag to portupgrade, which takes a printf(3) style > format string (see man portupgrade for an example of how to use it), > or you can run portupgrade in a script(1) session, something like this: > > # script /var/log/portupgrade.log portupgrade -fa > > Note that this approach will log ALL output generated by portupgrade, > stderr and stdout, so the log file will get large. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 196 bytes > Desc: not available > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/ef901cff/attachment-0001.pgp > > ------------------------------ > > Message: 29 > Date: Mon, 9 Mar 2009 12:40:44 -0700 (PDT) > From: "Ben H." > Subject: Help installing Hippo viewer... > To: freebsd-questions@FreeBSD.ORG > Message-ID: <820789.91789.qm@web33008.mail.mud.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > Hello all... > > Thanks in advance for any assistance you may be able to provide. > > I am trying to get source code built for an application called "HIPPO > Viewer" > > The source and instructions for building are written for Linux > > You can see what I have attempted to do to get this installed at: > > http://daemonforums.org/showthread.php?p=21745 > > Please reply to the list AND my email address. Any help will be greatly > appreciated. > > Ben. > -- -- -- > http://inter-op.net > http://www.cbsnews.com/sections/i_video/main500251.shtml?id=1419445n > > > ------------------------------ > > Message: 30 > Date: Mon, 9 Mar 2009 17:35:17 -0400 > From: Robert Huff > Subject: portupgrade, afterwards > To: ipfreak@yahoo.com > Cc: freebsd general questions > Message-ID: <18869.35733.910205.642469@jerusalem.litteratus.org> > Content-Type: text/plain; charset=us-ascii > > > gahn writes: > > > Where is the result of "portupgrade -fa" stored at? it showed a > > bunch files didn't go through or failed. just wondering whether > > I can take look at the results after I rebooted the server. > > From the man page: > > -l FILE > --results-file FILE Specify a file name to save the results to. By > default, portupgrade does not save results as a > file. > > If you have not used this option, or saved the output to > stdout/stderr, or sent them as e-mail ... it's gone. > > > Robert Huff > > > > ------------------------------ > > Message: 31 > Date: Mon, 9 Mar 2009 17:27:20 -0400 > From: "Jason T. Nelson" > Subject: iSCSI initiator lockups > To: freebsd-questions@freebsd.org > Cc: freebsd-scsi@freebsd.org > Message-ID: <20090309212720.GA49294@jtn.cx> > Content-Type: text/plain; charset="us-ascii" > > I'm running into some odd headaches regarding what looks like iSCSI > initiators > going to sleep for approximately 30 seconds before returning to life and > pumping a ton of information back to the target. While this is happening, > system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it > shows what appears to be a nearly exact 30 second delay where the initiator > stops talking to the target server, then abruptly restarts. Currently > 8 machines are talking to 2 servers with 4 targets a piece, and while its > working, we get good throughput. Activity is moderately high, as we are > using the iSCSI targets as spool disks in an email cluster. As it appears > that iscsi-target is a single-threaded process, would it be valuable to > put each target in its own process on its own port? At any rate, this is > causing serious problems on the mail processing machines. > > -- > Jason T. Nelson > GPG key 0xFF676C9E > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 195 bytes > Desc: not available > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/8b13460c/attachment-0001.pgp > > ------------------------------ > > Message: 32 > Date: Mon, 9 Mar 2009 15:13:55 -0700 (PDT) > From: gahn > Subject: freebsd 7.1, building kernel > To: freebsd general questions > Message-ID: <865278.52299.qm@web52107.mail.re2.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > > Hi, all: > > I am trying to build customized kernel with "device carp" and followed > kernel building procedure of the handbook. unfortunately it is failed: > > lab1# make buildkernel KERNCONF=lab1 > ERROR: Missing kernel configuration file(s) (lab1). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 -> /root/kernels/lab1 > > tried another system and i had similar problem: > > lab2# make buildkernel KERNCONF=lab2 > ERROR: Missing kernel configuration file(s) (lab2). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > bothe system has just been patched: > > FreeBSD piper_2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar 9 > 16:48:31 EDT 2009 admin@lab1:/usr/obj/usr/src/sys/GENERIC amd64 > > but for the kernel name GENERIC, the command work fine: > > drwxr-xr-x 2 root wheel 512 Mar 9 18:10 . > drwxr-xr-x 15 root wheel 512 Feb 20 13:04 .. > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > lrwxr-xr-x 1 root wheel 21 Mar 9 18:10 GENERIC -> > /root/kernels/lab1 > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC.bak > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > > did anyone here encounter such problem? > > Thanks > > > > > > > > > ------------------------------ > > Message: 33 > Date: Mon, 09 Mar 2009 18:18:56 -0400 > From: Michael Powell > Subject: Re: freebsd 7.1, building kernel > To: freebsd-questions@freebsd.org > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > gahn wrote: > > > > > Hi, all: > > > > I am trying to build customized kernel with "device carp" and followed > > kernel building procedure of the handbook. unfortunately it is failed: > > > > lab1# make buildkernel KERNCONF=lab1 > > ERROR: Missing kernel configuration file(s) (lab1). > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > > -rw-r--r-- 1 root wheel 534 Nov 24 21:59 DEFAULTS > > -rw-r--r-- 1 root wheel 12412 Nov 24 21:59 GENERIC > > -rw-r--r-- 1 root wheel 1745 Nov 24 21:59 GENERIC.hints > > -rw-r--r-- 1 root wheel 1034 Nov 24 21:59 MAC > > -rw-r--r-- 1 root wheel 131 Nov 24 21:59 Makefile > > -rw-r--r-- 1 root wheel 38713 Nov 24 21:59 NOTES > > -rw-r--r-- 1 root wheel 2016 Nov 24 21:59 PAE > > -rw-r--r-- 1 root wheel 3539 Nov 24 21:59 XBOX > > lrwxr-xr-x 1 root wheel 20 Mar 9 18:08 lab1 -> /root/kernels/lab1 > > Take this link away and put your kernel config file here. > > > tried another system and i had similar problem: > > > > lab2# make buildkernel KERNCONF=lab2 > > ERROR: Missing kernel configuration file(s) (lab2). > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > [snip] > > > > did anyone here encounter such problem? > > > nope. I always put the kernel config file where it belongs. > > -Mike > > > > > > > ------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > End of freebsd-questions Digest, Vol 250, Issue 2 > ************************************************* > From lyris-noreply at lists.mediate-facilitate.com Tue Mar 10 00:01:28 2009 From: lyris-noreply at lists.mediate-facilitate.com (Lyris ListManager) Date: Tue Mar 10 00:01:35 2009 Subject: your unsubscribe request Message-ID: You have been unsubscribed from 'speakers'. From brentgclarklist at gmail.com Tue Mar 10 00:06:39 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Tue Mar 10 00:06:46 2009 Subject: port nasm wont upgrade Message-ID: <49B6117C.4050700@gmail.com> Hiya Im trying to upgrade SDL, but I need nasm to upgrade first. Trying to do so, I get ... zulu# make install ===> Vulnerability check disabled, database not found ===> Extracting for nasm-2.05.01,1 => No MD5 checksum recorded for nasm-2.05.01.tar.bz2. => No SHA256 checksum recorded for nasm-2.05.01.tar.bz2. => No suitable checksum found for nasm-2.05.01.tar.bz2. => No MD5 checksum recorded for nasm-2.05.01-xdoc.tar.bz2. => No SHA256 checksum recorded for nasm-2.05.01-xdoc.tar.bz2. => No suitable checksum found for nasm-2.05.01-xdoc.tar.bz2. *** Error code 1 Stop in /usr/ports/devel/nasm. I even tried portupgrade -kO nasm. If anyone can assist, it would be appreciated. Kind Regards Brent Clark From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 00:51:23 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 00:51:32 2009 Subject: sendmail limits Message-ID: i'm just asking for sure - do sendmail has any limits of how much adresses is put in CC/BCC in single mail? From kheuer2 at gwdg.de Tue Mar 10 01:30:57 2009 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Tue Mar 10 01:31:05 2009 Subject: Is NFS Locking Reliable? Message-ID: <20090310091318.W34669@gwdu60.gwdg.de> I'd like to ask for your experiences with NFS locking in larger environments. Our experiences are not so satisfying. Our NFS servers for user home directories are on FreeBSD (6.4), MacOSX (10.5), Linux (still 2.4 kernel) and Tru64-UNIX boxes; NFS clients are mostly Linux (2.6 kernel) and FreeBSD (6.4, 7.0, but w/o kernel lockd) systems. There are periods of several days without problems, but from time to time, on one, two, or several (but not all) clients application processes which use locking suddenly hang in kernel mode - namely firefox, opera, pine. It seems to be no specific operating system problem - all combinations of clients and servers are involved. There are some suspicious facts that out network may cause problems although not all ip subnets are protected by cisco firewall modules. But there may be other circumstances which could lead to sporadic packet losses or whatever else ... So, if anyone has similar or other experiences with NFS locking, I'm very interested in reading about! Thank you very much in advance! Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From leosat.it at ariel.ru Tue Mar 10 03:03:38 2009 From: leosat.it at ariel.ru (Leonid Satanovsky) Date: Tue Mar 10 03:03:49 2009 Subject: Is this a feature or a bug?: system hanging if loading the if_tun module at the boot time while it is already compiled in the kernel. Message-ID: <49B636F6.3010507@ariel.ru> __________________________________________________ The Issue: Hi... we had the following issue: the system hanging with FreeBSD 7.1, amd64. It seems that the reason in loading the if_tun module at the boot time (/boot/loader.conf: if_tun_load=YES), while it is already compiled in the kernel. It appeared only when the OpenVPN appliance started and tried to use tun interfaces. __________________________________________________ The Question: Is the system hanging is to be considered "normal" in this case? (in other words, is this a feature or a bug? =)) ) __________________________________________________ P.S. the only related log messages we got in /var/log/messages were <...> /var/log/messages.1:Mar 10 11:32:10 gw-office-hpp kernel: Module if_tun failed to register: 17 /var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: can't re-use a leaf (if_tun_debug)! /var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: module_register: module if_tun already exists! /var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: Module if_tun failed to register: 17 <...> ------------------------------------------------------------------ Best regards, Leonid E. Satanovsky, system administrator, Ariel Metal. tel.: +7 (495) 786-42-90 (0406) fax: - e-mail: leosat.it@ariel.ru http://www.arielmetal.ru From ricardo.meb.jesus at gmail.com Tue Mar 10 03:07:53 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 10 03:08:02 2009 Subject: hardware list in a machine In-Reply-To: <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> Message-ID: <49B63BF7.3060306@gmail.com> Josh Carroll wrote: > On Mon, Mar 9, 2009 at 2:59 PM, gahn wrote: >> Hi all: >> >> How could I find out the list of hardware in my machine? I used "dmesg" and "var/run/dmesg.boot", it didn't seem to help that much as I expected. >> >> which file lists all of hardware in the machine? >> >> Thanks. > > Give the sysutils/dmidecode port a shot. > > Josh > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > % pciconf -lv man pciconf for further details. From freebsd at edvax.de Tue Mar 10 03:12:21 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Mar 10 03:12:29 2009 Subject: hardware list in a machine In-Reply-To: <49B63BF7.3060306@gmail.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> <49B63BF7.3060306@gmail.com> Message-ID: <20090310111212.32f080bc.freebsd@edvax.de> On Tue, 10 Mar 2009 10:07:51 +0000, Ricardo Jesus wrote: > % pciconf -lv > man pciconf for further details. Additionally: usbconf to list USB devices, and camcontrol to list SCSI devices, as well as atacontrol for ATA devices. And finally, dmesg. :-) Note that these are *system tools*. In order to obtain more information, it may be required to install some tools from the Ports Collection. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ricardo.meb.jesus at gmail.com Tue Mar 10 03:24:24 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 10 03:24:31 2009 Subject: hardware list in a machine In-Reply-To: <20090310111212.32f080bc.freebsd@edvax.de> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> <49B63BF7.3060306@gmail.com> <20090310111212.32f080bc.freebsd@edvax.de> Message-ID: <49B63FD8.5000501@gmail.com> Polytropon wrote: > On Tue, 10 Mar 2009 10:07:51 +0000, Ricardo Jesus wrote: >> % pciconf -lv >> man pciconf for further details. > > Additionally: usbconf to list USB devices, and camcontrol > to list SCSI devices, as well as atacontrol for ATA devices. > > And finally, dmesg. :-) > > > > Note that these are *system tools*. In order to obtain more > information, it may be required to install some tools from > the Ports Collection. > > Polytropon I can't seem to find usbconf. % usbconf usbconf: Command not found. % whereis usbconf usbconf: Is it a third party application? From keramida at ceid.upatras.gr Tue Mar 10 03:38:20 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Mar 10 03:38:27 2009 Subject: sendmail limits In-Reply-To: (Wojciech Puchar's message of "Tue, 10 Mar 2009 08:51:12 +0100 (CET)") References: Message-ID: <87ljrd7je0.fsf@kobe.laptop> On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar wrote: > i'm just asking for sure - do sendmail has any limits of how much > adresses is put in CC/BCC in single mail? Yes, of course. There is *support* for a limit, but the default is to accept a large number of recipients per-message: confMAX_RCPTS_PER_MESSAGE MaxRecipientsPerMessage [default: infinite] If set, allow no more than the specified number of recipients in an SMTP envelope. Further recipients receive a 452 error code (i.e., they are deferred for the next delivery attempt). You can set this easily, by modifying `sendmail.mc' to include: define(`confMAX_RCPTS_PER_MESSAGE', `20') From gesbbb at yahoo.com Tue Mar 10 03:43:02 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Mar 10 03:43:09 2009 Subject: hardware list in a machine In-Reply-To: <49B63BF7.3060306@gmail.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> <49B63BF7.3060306@gmail.com> Message-ID: <20090310064251.48a8111c@scorpio> On Tue, 10 Mar 2009 10:07:51 +0000 Ricardo Jesus wrote: >Josh Carroll wrote: >> On Mon, Mar 9, 2009 at 2:59 PM, gahn wrote: >>> Hi all: >>> >>> How could I find out the list of hardware in my machine? I used >>> "dmesg" and "var/run/dmesg.boot", it didn't seem to help that much >>> as I expected. >>> >>> which file lists all of hardware in the machine? >>> >>> Thanks. >> >> Give the sysutils/dmidecode port a shot. >> >> Josh >% pciconf -lv >man pciconf for further details. This may not be a popular suggestion; however, the only method that I have ever found to be 100% accurate, other than opening the machine up an inspecting it, is to query the manufacturer. Dell is pretty good about this, as is HP. I am not too sure about others. Of course, if you have added/changed HW after obtaining the machine, you would have to factor that into any information obtained from the manufacturer. -- Jerry gesbbb@yahoo.com OCEAN: A body of water occupying about two-thirds of a world made for man -- who has no gills. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090310/f8876531/signature.pgp From freebsd at troback.com Tue Mar 10 04:02:28 2009 From: freebsd at troback.com (Anders Troback) Date: Tue Mar 10 04:03:11 2009 Subject: hardware list in a machine In-Reply-To: <49B63FD8.5000501@gmail.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> <49B63BF7.3060306@gmail.com> <20090310111212.32f080bc.freebsd@edvax.de> <49B63FD8.5000501@gmail.com> Message-ID: <20090310113722.0fdc7a85@server09.gelita.swe> Den Tue, 10 Mar 2009 10:24:24 +0000 skrev Ricardo Jesus : > Polytropon wrote: > > On Tue, 10 Mar 2009 10:07:51 +0000, Ricardo Jesus > > wrote: > >> % pciconf -lv > >> man pciconf for further details. > > > > Additionally: usbconf to list USB devices, and camcontrol > > to list SCSI devices, as well as atacontrol for ATA devices. > > > > And finally, dmesg. :-) > > > > > > > > Note that these are *system tools*. In order to obtain more > > information, it may be required to install some tools from > > the Ports Collection. > > > > > Polytropon I can't seem to find usbconf. > > % usbconf > usbconf: Command not found. > % whereis usbconf > usbconf: > > Is it a third party application? > Try usbdevs instead! \\troback -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From ilikefbsd at web.de Tue Mar 10 04:54:13 2009 From: ilikefbsd at web.de (Marco) Date: Tue Mar 10 04:54:23 2009 Subject: badblocks on sata drive In-Reply-To: <20090301182844.GA30055@haruhi> References: <49AAD148.3040805@web.de> <20090301182844.GA30055@haruhi> Message-ID: <49B654E2.5060008@web.de> thank you guys, never knew about that feature in modern harddrives. so i rly have to replace the drive. best regards, marco Daniel Lannstrom wrote: > If a modern hard drive begins to let bad blocks through it's internal > block relocation mechanics have failed. I recommend to take backup on > everthing on that disk because this is usually a sign that the disk > will die shortly. > > On Sun, Mar 01, 2009 at 07:17:44PM +0100, Marco wrote: > >> hej list, >> >> during dd tests i encounter hardware problems with my harddisk. is there >> a way to mark parts of the hdd as "bad" so those are not used anymore? >> >> best regards, >> marco >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From viqronization at gmail.com Tue Mar 10 05:05:20 2009 From: viqronization at gmail.com (Crescent Hikari) Date: Tue Mar 10 05:05:29 2009 Subject: freebsd-questions Digest, Vol 250, Issue 2 In-Reply-To: <461e6580903092334s7b1b5fecxdf6fdaf60555552a@mail.gmail.com> References: <20090309221822.102B810657C3@hub.freebsd.org> <461e6580903092334s7b1b5fecxdf6fdaf60555552a@mail.gmail.com> Message-ID: <8fedd4c20903100441k3bf6e963wd7290ddb1b3ad0ce@mail.gmail.com> On Tue, Mar 10, 2009 at 1:34 PM, joko bodo wrote: > why if iget email from milis my subject always "freebsd-questions Digest, > Vol 250, Issue 2" > > thx > I think because you are set the option "Would you like to receive list mail batched in a daily digest?" to "Yes" when you are subscribe to this email you can change it on your user page in from your second email from this mailing list that had subject like this "Welcome to the "freebsd-questions" mailing list" and login to your account on this mailing list, and set Digest mode to off best regards, Fiqri ------------------------- M. Fiqri Muthohar Amateur Radio Club - ITB Informatics Engineering - STEI - ITB School On Internet - ITB http://www.soi.itb.ac.id http://www.soi.asia ------------------------- From danny at cs.huji.ac.il Tue Mar 10 05:41:19 2009 From: danny at cs.huji.ac.il (Danny Braniss) Date: Tue Mar 10 05:41:28 2009 Subject: iSCSI initiator lockups In-Reply-To: <20090309212720.GA49294@jtn.cx> References: <20090309212720.GA49294@jtn.cx> Message-ID: > > --ikeVEW9yuYc//A+q > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > I'm running into some odd headaches regarding what looks like iSCSI initiat= > ors > going to sleep for approximately 30 seconds before returning to life and > pumping a ton of information back to the target. While this is happening, > system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it > shows what appears to be a nearly exact 30 second delay where the initiator > stops talking to the target server, then abruptly restarts. Currently > 8 machines are talking to 2 servers with 4 targets a piece, and while its= > =20 > working, we get good throughput. Activity is moderately high, as we are=20 > using the iSCSI targets as spool disks in an email cluster. As it appears > that iscsi-target is a single-threaded process, would it be valuable to > put each target in its own process on its own port? At any rate, this is > causing serious problems on the mail processing machines. > can you send me the output of sysctl net.iscsi chears, danny From ahamiltonwright at mta.ca Tue Mar 10 06:19:31 2009 From: ahamiltonwright at mta.ca (Andrew Wright) Date: Tue Mar 10 06:19:39 2009 Subject: Is NFS Locking Reliable? In-Reply-To: <20090310091318.W34669@gwdu60.gwdg.de> References: <20090310091318.W34669@gwdu60.gwdg.de> Message-ID: On Tue, 10 Mar 2009, Konrad Heuer wrote: > > I'd like to ask for your experiences with NFS locking in larger environments. > > Our experiences are not so satisfying. Our NFS servers for user home This matches my historical experience, especially if you add in periodically "wedged" and "ignored" lock state. First, it is useful to realize that locking over NFS has, until version 4, been done "outside of" NFS itself. That is, there are a pair of daemon (usually called statd and lockd) processes that negotiate the lock outside of the stateless mechanism that is the NFS data access method up to v3. My past v3 experience has been that only in the case where you have exactly the same version of statd and lockd on both sides (on the client and on the server) is it possible that you _may_ experience truly reliable locking. Note that this is only possible with the same OS at the same revision/patch on both client and server. NFS v4 is no longer stateless, and manages locks internally, which I would guess would make things much better, though my experience on mixed environments under v4 is much more limited. What version of the NFS protocol are you using? You can find this out via /usr/sbin/nfsstat If you are stuck with a v3 client, my recommendation would be to turn locking off altogether for that client, as I have found that this works in general better, as the applications desiring the lock are then at least aware that the lock won't work, rather than being "led up the garden path" by a successful return from a call to lockd that later is not honoured. If upgrading all to v4 is possible, it is probably worth a try, and good luck! Andrew. From invalid.pointer at gmail.com Tue Mar 10 06:36:55 2009 From: invalid.pointer at gmail.com (manish jain) Date: Tue Mar 10 06:37:01 2009 Subject: Help required for configuring FreeBSD with DHCP Message-ID: <49B66D49.9020709@gmail.com> Hi all, I have a dual boot system (FreeBSD 7.1 + Windows 2000). I am trying out FreeBSD for the first time with an ISP who runs a DHCP server. Until the times of static addresses, everything was so simple in FreeBSD. Now I am forced to ask for help because the ISP is willing to help only for Windows. And indeed my Windows 2000 is sailing the internet smoothly enough, so I can't really blame him. I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to configure rl0, it asks me whether I want to use DHCP. When I say yes, it still gives me the same form to fill out as it does for static IP addresses. I don't have any idea how to fill out this form when DHCP is being used. Please note that on Windows, the following are enabled : 1) Obtain an IP address automatically 2) Obtain DNS server address automatically Everything else (IP address/Default dateway/etc) is greyed out. Can anyone please tell me how to get my FreeBSD system up on DHCP. The only other piece of information I can provide is the hostname I have been using so far : unxfbsdi.freebsd.localdomain Thanks in advance for any help. Regards Manish Jain invalid.pointer@gmail.com From ricardo.meb.jesus at gmail.com Tue Mar 10 06:53:50 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 10 06:53:57 2009 Subject: Help required for configuring FreeBSD with DHCP In-Reply-To: <49B66D49.9020709@gmail.com> References: <49B66D49.9020709@gmail.com> Message-ID: <49B670EE.6020503@gmail.com> manish jain wrote: > > Hi all, > > I have a dual boot system (FreeBSD 7.1 + Windows 2000). > > I am trying out FreeBSD for the first time with an ISP who runs a DHCP > server. Until the times of static addresses, everything was so simple in > FreeBSD. Now I am forced to ask for help because the ISP is willing to > help only for Windows. And indeed my Windows 2000 is sailing the > internet smoothly enough, so I can't really blame him. > > I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall > to configure rl0, it asks me whether I want to use DHCP. When I say yes, > it still gives me the same form to fill out as it does for static IP > addresses. I don't have any idea how to fill out this form when DHCP is > being used. > > Please note that on Windows, the following are enabled : > 1) Obtain an IP address automatically > 2) Obtain DNS server address automatically > > Everything else (IP address/Default dateway/etc) is greyed out. Can > anyone please tell me how to get my FreeBSD system up on DHCP. The only > other piece of information I can provide is the hostname I have been > using so far : unxfbsdi.freebsd.localdomain > > Thanks in advance for any help. > > Regards > Manish Jain > invalid.pointer@gmail.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg | less to confirm this. To display the current configuration for the network interfaces on your system run: % ifconfig You need to edit rc.conf and add the following to have the network card configured at boot time: ifconfig_re0="DHCP" To configure the card from the command line simply run: # ifconfig re0 dhcp From nightrecon at verizon.net Tue Mar 10 06:55:25 2009 From: nightrecon at verizon.net (Michael Powell) Date: Tue Mar 10 06:55:33 2009 Subject: Help required for configuring FreeBSD with DHCP References: <49B66D49.9020709@gmail.com> Message-ID: manish jain wrote: > > Hi all, > > I have a dual boot system (FreeBSD 7.1 + Windows 2000). > > I am trying out FreeBSD for the first time with an ISP who runs a DHCP > server. Until the times of static addresses, everything was so simple in > FreeBSD. Now I am forced to ask for help because the ISP is willing to > help only for Windows. And indeed my Windows 2000 is sailing the > internet smoothly enough, so I can't really blame him. > > I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall > to configure rl0, it asks me whether I want to use DHCP. When I say yes, > it still gives me the same form to fill out as it does for static IP > addresses. I don't have any idea how to fill out this form when DHCP is > being used. > > Please note that on Windows, the following are enabled : > 1) Obtain an IP address automatically > 2) Obtain DNS server address automatically > > Everything else (IP address/Default dateway/etc) is greyed out. Can > anyone please tell me how to get my FreeBSD system up on DHCP. The only > other piece of information I can provide is the hostname I have been > using so far : unxfbsdi.freebsd.localdomain > > Thanks in advance for any help. > > Regards > Manish Jain > invalid.pointer@gmail.com > Try placing in /etc/rc.conf with an editor such as vi and reboot: network_interfaces="AUTO" ifconfig_rl0="DHCP" If you're exceedingly lucky that will get you started. -Mike From byte8bits at gmail.com Tue Mar 10 06:57:44 2009 From: byte8bits at gmail.com (new_guy) Date: Tue Mar 10 06:57:52 2009 Subject: CVE-2008-2939 and FreeBSD Message-ID: <22434745.post@talk.nabble.com> I can't find any info on the Web. Has CVE-2008-2939 been addressed in FreeBSD7.1 Apache2.2? I can't find any reference to that CVE number. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2939 I've subscribed to the security notification list, and I've searched the archives, but no go. -- View this message in context: http://www.nabble.com/CVE-2008-2939-and-FreeBSD-tp22434745p22434745.html Sent from the freebsd-questions mailing list archive at Nabble.com. From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 07:43:26 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 07:43:33 2009 Subject: sendmail limits In-Reply-To: <87ljrd7je0.fsf@kobe.laptop> References: <87ljrd7je0.fsf@kobe.laptop> Message-ID: > On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar wrote: >> i'm just asking for sure - do sendmail has any limits of how much >> adresses is put in CC/BCC in single mail? > > Yes, of course. There is *support* for a limit, but the default > is to accept a large number of recipients per-message: > > confMAX_RCPTS_PER_MESSAGE MaxRecipientsPerMessage > > [default: infinite] If set, allow no more than the specified > number of recipients in an SMTP envelope. Further recipients > receive a 452 error code (i.e., they are deferred for the > next delivery attempt). > > You can set this easily, by modifying `sendmail.mc' to include: > > define(`confMAX_RCPTS_PER_MESSAGE', `20') > > thank you very much. that's what i was looking for. From freebsd-questions-local at be-well.ilk.org Tue Mar 10 08:02:30 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Mar 10 08:02:38 2009 Subject: port nasm wont upgrade In-Reply-To: <49B6117C.4050700@gmail.com> (Brent Clark's message of "Tue\, 10 Mar 2009 09\:06\:36 +0200") References: <49B6117C.4050700@gmail.com> Message-ID: <444oy1ju9o.fsf@be-well.ilk.org> Brent Clark writes: > Im trying to upgrade SDL, but I need nasm to upgrade first. > > Trying to do so, I get ... > > zulu# make install > ===> Vulnerability check disabled, database not found > ===> Extracting for nasm-2.05.01,1 > => No MD5 checksum recorded for nasm-2.05.01.tar.bz2. > => No SHA256 checksum recorded for nasm-2.05.01.tar.bz2. > => No suitable checksum found for nasm-2.05.01.tar.bz2. > => No MD5 checksum recorded for nasm-2.05.01-xdoc.tar.bz2. > => No SHA256 checksum recorded for nasm-2.05.01-xdoc.tar.bz2. > => No suitable checksum found for nasm-2.05.01-xdoc.tar.bz2. > *** Error code 1 > > Stop in /usr/ports/devel/nasm. > > I even tried portupgrade -kO nasm. > > If anyone can assist, it would be appreciated. You seem to be be missing /usr/ports/devel/nasm/distinfo. You can re-create it with "make makesum", but that would defeat the point of checking file integrity in the first place. Besides, if you have a missing (or corrupted) file in your ports tree, there may be others. If you update your ports tree regularly anyway, I would recommend removing that directory and updating. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From odhiambo at gmail.com Tue Mar 10 08:03:43 2009 From: odhiambo at gmail.com (Remorque) Date: Tue Mar 10 08:03:50 2009 Subject: Help required for configuring FreeBSD with DHCP In-Reply-To: <49B670EE.6020503@gmail.com> References: <49B66D49.9020709@gmail.com> <49B670EE.6020503@gmail.com> Message-ID: <991123400903100803w35f333edkdd46b2c4b0d94ed3@mail.gmail.com> On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus wrote: > manish jain wrote: > >> >> Hi all, >> >> I have a dual boot system (FreeBSD 7.1 + Windows 2000). >> >> I am trying out FreeBSD for the first time with an ISP who runs a DHCP >> server. Until the times of static addresses, everything was so simple in >> FreeBSD. Now I am forced to ask for help because the ISP is willing to help >> only for Windows. And indeed my Windows 2000 is sailing the internet >> smoothly enough, so I can't really blame him. >> >> I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to >> configure rl0, it asks me whether I want to use DHCP. When I say yes, it >> still gives me the same form to fill out as it does for static IP addresses. >> I don't have any idea how to fill out this form when DHCP is being used. >> >> Please note that on Windows, the following are enabled : >> 1) Obtain an IP address automatically >> 2) Obtain DNS server address automatically >> >> Everything else (IP address/Default dateway/etc) is greyed out. Can anyone >> please tell me how to get my FreeBSD system up on DHCP. The only other piece >> of information I can provide is the hostname I have been using so far : >> unxfbsdi.freebsd.localdomain >> >> Thanks in advance for any help. >> >> Regards >> Manish Jain >> invalid.pointer@gmail.com >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg > | less to confirm this. > > To display the current configuration for the network interfaces on your > system run: > % ifconfig > > You need to edit rc.conf and add the following to have the network card > configured at boot time: > ifconfig_re0="DHCP" > > To configure the card from the command line simply run: > # ifconfig re0 dhcp I would do: dhclient re0 Is the behaviour the same? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From perrin at apotheon.com Tue Mar 10 08:13:34 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Mar 10 08:13:41 2009 Subject: MT4 In-Reply-To: References: Message-ID: <20090310151059.GA11863@kokopelli.hydra> On Sun, Mar 08, 2009 at 10:27:13AM +0100, Wojciech Puchar wrote: > > but if you are fan of metatrader 4 you should be fan on windows ;) > > you may try wine, but is it really worth of it, unless you run this > program occasionally, while doing everything else on FreeBSD? Do you have any suggestions for an alternative? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Larry Wall: "It's more important to be a good driver than to have seven feet of sponge rubber all around your car." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090310/4403e599/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 08:14:00 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 08:14:08 2009 Subject: sendmail limits In-Reply-To: <874oy1v2u9.fsf@kobe.laptop> References: <87ljrd7je0.fsf@kobe.laptop> <874oy1v2u9.fsf@kobe.laptop> Message-ID: >>> define(`confMAX_RCPTS_PER_MESSAGE', `20') >> >> thank you very much. that's what i was looking for. > > You are welcome :) > > FWIW, there are many more options & tunables. You can read about them > in the `/usr/share/sendmail/cf/README' file. > > yes i know this, but didn't read well. From ptkrisada at gmail.com Tue Mar 10 08:14:20 2009 From: ptkrisada at gmail.com (Pongthep Kulkrisada) Date: Tue Mar 10 08:14:28 2009 Subject: FreeBSD 7.1R on laptop In-Reply-To: References: Message-ID: Hi, Thanks for your response. On Tue, Mar 10, 2009 at 1:13 AM, wrote: > Some laptops do come with COM ports still. ?Usually they are the > business models. ?For example, the Dell Latitude 820's have them. Actually I don't want to adhere with such thing. I think laptop with COM port will be extinct very soon due to marketing. I don't want to find the solution again after says 5 years. I believe that MANY people here are using FreeBSD on laptops without COM port. But I don't know how they fix the problem of internal modem built with the laptop. The only solution I can think right now is staying in LAN and behind NAT. Thanks, From ricardo.meb.jesus at gmail.com Tue Mar 10 08:22:37 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Mar 10 08:22:45 2009 Subject: Help required for configuring FreeBSD with DHCP In-Reply-To: <991123400903100803w35f333edkdd46b2c4b0d94ed3@mail.gmail.com> References: <49B66D49.9020709@gmail.com> <49B670EE.6020503@gmail.com> <991123400903100803w35f333edkdd46b2c4b0d94ed3@mail.gmail.com> Message-ID: <49B685BC.5060105@gmail.com> "Remorque" wrote: > On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus > wrote: > >> manish jain wrote: >> >>> Hi all, >>> >>> I have a dual boot system (FreeBSD 7.1 + Windows 2000). >>> >>> I am trying out FreeBSD for the first time with an ISP who runs a DHCP >>> server. Until the times of static addresses, everything was so simple in >>> FreeBSD. Now I am forced to ask for help because the ISP is willing to help >>> only for Windows. And indeed my Windows 2000 is sailing the internet >>> smoothly enough, so I can't really blame him. >>> >>> I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to >>> configure rl0, it asks me whether I want to use DHCP. When I say yes, it >>> still gives me the same form to fill out as it does for static IP addresses. >>> I don't have any idea how to fill out this form when DHCP is being used. >>> >>> Please note that on Windows, the following are enabled : >>> 1) Obtain an IP address automatically >>> 2) Obtain DNS server address automatically >>> >>> Everything else (IP address/Default dateway/etc) is greyed out. Can anyone >>> please tell me how to get my FreeBSD system up on DHCP. The only other piece >>> of information I can provide is the hostname I have been using so far : >>> unxfbsdi.freebsd.localdomain >>> >>> Thanks in advance for any help. >>> >>> Regards >>> Manish Jain >>> invalid.pointer@gmail.com >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >>> I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg >> | less to confirm this. >> >> To display the current configuration for the network interfaces on your >> system run: >> % ifconfig >> >> You need to edit rc.conf and add the following to have the network card >> configured at boot time: >> ifconfig_re0="DHCP" >> >> To configure the card from the command line simply run: >> # ifconfig re0 dhcp > > > I would do: > > dhclient re0 > > Is the behaviour the same? > > I guess so. If rc.conf is set up with the line ifconfig_rl0="DHCP" then it is no need to run the dhclient command manually. For 8139D the correct driver is rl as Michael Powell pointed out in his reply. From keramida at freebsd.org Tue Mar 10 08:33:29 2009 From: keramida at freebsd.org (Giorgos Keramidas) Date: Tue Mar 10 08:34:02 2009 Subject: sendmail limits In-Reply-To: (Wojciech Puchar's message of "Tue, 10 Mar 2009 15:43:12 +0100 (CET)") References: <87ljrd7je0.fsf@kobe.laptop> Message-ID: <874oy1v2u9.fsf@kobe.laptop> On Tue, 10 Mar 2009 15:43:12 +0100 (CET), Wojciech Puchar wrote: >> On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar wrote: >>> i'm just asking for sure - do sendmail has any limits of how much >>> adresses is put in CC/BCC in single mail? >> >> Yes, of course. There is *support* for a limit, but the default >> is to accept a large number of recipients per-message: >> >> confMAX_RCPTS_PER_MESSAGE MaxRecipientsPerMessage >> >> [default: infinite] If set, allow no more than the specified >> number of recipients in an SMTP envelope. Further recipients >> receive a 452 error code (i.e., they are deferred for the >> next delivery attempt). >> >> You can set this easily, by modifying `sendmail.mc' to include: >> >> define(`confMAX_RCPTS_PER_MESSAGE', `20') > > thank you very much. that's what i was looking for. You are welcome :) FWIW, there are many more options & tunables. You can read about them in the `/usr/share/sendmail/cf/README' file. From apseudoutopia at gmail.com Tue Mar 10 08:53:42 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Mar 10 08:53:49 2009 Subject: Cron Not Sending Mail In-Reply-To: <49AEA07C.7000904@pp.dyndns.biz> References: <27ade5280903011124v4d6d9fdq2071d5ab44a37ca9@mail.gmail.com> <49ADA685.9060702@pp.dyndns.biz> <27ade5280903031444i3df88842ub6087e1e3855b4c1@mail.gmail.com> <200903031409.43484.fbsd.questions@rachie.is-a-geek.net> <49ADC1CA.5090703@pp.dyndns.biz> <27ade5280903031719j60679b72r23e3f8fa41a9e86e@mail.gmail.com> <49AE59B1.4030406@pp.dyndns.biz> <27ade5280903040405m74a9eb75y7869d0e2163d16fa@mail.gmail.com> <49AEA07C.7000904@pp.dyndns.biz> Message-ID: <27ade5280903100853n1d34e787x87b6c9ab544d133a@mail.gmail.com> On Wed, Mar 4, 2009 at 11:38 AM, Morgan Wesstr?m wrote: >> Yeah, I am aware what "dnl" does. The reason I commented that stuff >> out is because I have no use for any of it - all those files (access, >> local-host-names, mailertable, virtusertable, etc) are all empty by >> default and I had no reason to add anything to them. ?I'll try going >> back to the default config and putting the RELAY line in the access >> file. >> >> Thanks once again for the help. I really do appreciate the time. > > Sendmail is not an open relay by default so you need at least one RELAY > entry in /etc/mail/access for it to forward mail externally. I'm still > curious of where it picks up that www@localhost but chances are it will > disappear as soon as you have a valid access config. > /Morgan > _______________________________________________ I still can't figure this whole issue out. I've tried everything suggested in this thread, including reverting back to the default sendmail config files. I created a work-around by just piping all my crontabs into /usr/bin/mail and sending output using that method. It doesn't solve it, but it works for now. Thanks for all the help. From robin at reportlab.com Tue Mar 10 09:01:25 2009 From: robin at reportlab.com (Robin Becker) Date: Tue Mar 10 09:01:31 2009 Subject: problem rotating apache logs Message-ID: <49B6897D.3060508@chamonix.reportlab.co.uk> I'm trying to get newsyslog to rotate my apache2 logs (this in 7.0 & 7.1 release). I added this to the end of newsyslog.conf /var/log/httpd-*.log 644 9 8 @T01 BG /var/run/httpd.pid 30 this is what is currently working for me in 6.0 & 6.1. Signal 30 is supposed to be USR1 which is intended to cause a graceful restart. However, I find that although I do get a rotated log file the new logs always seem to be empty. The logs seem to start growing only after I restart the apache server. What am I doing wrong? -- Robin Becker From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 09:30:40 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 09:30:47 2009 Subject: MT4 In-Reply-To: <20090310151059.GA11863@kokopelli.hydra> References: <20090310151059.GA11863@kokopelli.hydra> Message-ID: >> >> but if you are fan of metatrader 4 you should be fan on windows ;) >> >> you may try wine, but is it really worth of it, unless you run this >> program occasionally, while doing everything else on FreeBSD? > > Do you have any suggestions for an alternative? definitely no, i don't know even what metatrader 4 is From tabthorpe at freebsd.org Tue Mar 10 10:18:11 2009 From: tabthorpe at freebsd.org (Thomas Abthorpe) Date: Tue Mar 10 10:18:19 2009 Subject: CVE-2008-2939 and FreeBSD In-Reply-To: <22434745.post@talk.nabble.com> References: <22434745.post@talk.nabble.com> Message-ID: <200903101255.50386.tabthorpe@freebsd.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On March 10, 2009 09:57:43 am new_guy wrote: > I can't find any info on the Web. Has CVE-2008-2939 been addressed in > FreeBSD7.1 Apache2.2? I can't find any reference to that CVE number. > http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2939 This issue has indeed been addressed, http://www.freshports.org/commit.php?category=www&port=apache22&files=yes&message_id=200808312300.m7VN0RJV025926@repoman.freebsd.org > > I've subscribed to the security notification list, and I've searched the > archives, but no go. Often these ports vulnerabilities are documented via security/vuxml, and can be found at http://www.vuxml.org/freebsd/. The vuxml has not been created for this instance :( Sending a courtesy email to ports-security@FreeBSD.org with relevant info is always appreciated, sending a PR generated with output of security/vuxml is even better! Thomas - -- Thomas Abthorpe | FreeBSD Committer tabthorpe@FreeBSD.org | http://people.freebsd.org/~tabthorpe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkm2m5YACgkQ5Gm/jNBp8qBdxwCfUAMzoPX3QTdH5aJfXyhHO67+ pWQAn1OWH32rvLPFkfVqoDPH7+aIfSlE =JURb -----END PGP SIGNATURE----- From gesbbb at yahoo.com Tue Mar 10 11:21:57 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Mar 10 11:22:04 2009 Subject: problem rotating apache logs In-Reply-To: <49B6897D.3060508@chamonix.reportlab.co.uk> References: <49B6897D.3060508@chamonix.reportlab.co.uk> Message-ID: <20090310142142.7866db77@scorpio> On Tue, 10 Mar 2009 15:38:37 +0000 Robin Becker wrote: >I'm trying to get newsyslog to rotate my apache2 logs (this in 7.0 & >7.1 release). > >I added this to the end of newsyslog.conf > > >/var/log/httpd-*.log 644 9 8 @T01 >BG /var/run/httpd.pid 30 > > >this is what is currently working for me in 6.0 & 6.1. Signal 30 is >supposed to be USR1 which is intended to cause a graceful restart. > >However, I find that although I do get a rotated log file the new logs >always seem to be empty. > >The logs seem to start growing only after I restart the apache server. > >What am I doing wrong? Have you checked out (depending on your Apache version) http://httpd.apache.docs/1.3/programs/rotatelogs.html http://httpd.apache.docs/2.0/programs/rotatelogs.html -- Jerry gesbbb@yahoo.com Established technology tends to persist in the face of new technology. G. Blaauw, one of the designers of System 360 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090310/17e6ce6e/signature.pgp From m.borsatino at alice.it Tue Mar 10 10:47:43 2009 From: m.borsatino at alice.it (m.borsatino@alice.it) Date: Tue Mar 10 11:33:14 2009 Subject: libthread not found Message-ID: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FE@FBCMST11V01.fbc.local> Good idea, thank you. Everything is ok now. Marco From ges+lists at wingfoot.org Tue Mar 10 11:52:36 2009 From: ges+lists at wingfoot.org (Glenn Sieb) Date: Tue Mar 10 11:52:48 2009 Subject: Question regarding mu-conference, jabberd2. Message-ID: <49B6B6E6.4050707@wingfoot.org> Hello! I'm running FreeBSD-7.0 (athlon64, 4G RAM), with jabberd-2.2.7.1, and expat-2.0.1. I'm trying to install mu-conference, and getting the below-listed error. Any ideas? :-/ Thanks so much in advance! Best, --Glenn ===> Building for mu-conference-0.7_3 cd src/ ; make cd jabberd ; make cc -O -pipe -march=athlon64 -Wall -I. -I../../include `/usr/local/bin/pkg-config --cflags glib-2.0` -D_REENTRANT -DLIBIDN -c expat.c In file included from expat.c:42: ../../include/lib.h:25:19: error: expat.h: No such file or directory In file included from expat.c:42: ../../include/lib.h:299: error: expected specifier-qualifier-list before 'XML_Parser' expat.c: In function 'xmlnode_str': expat.c:88: error: 'XML_Parser' undeclared (first use in this function) expat.c:88: error: (Each undeclared identifier is reported only once expat.c:88: error: for each function it appears in.) expat.c:88: error: expected ';' before 'p' expat.c:97: error: 'p' undeclared (first use in this function) expat.c:97: warning: implicit declaration of function 'XML_ParserCreate' expat.c:98: warning: implicit declaration of function 'XML_SetUserData' expat.c:99: warning: implicit declaration of function 'XML_SetElementHandler' expat.c:100: warning: implicit declaration of function 'XML_SetCharacterDataHandler' expat.c:101: warning: implicit declaration of function 'XML_Parse' expat.c:109: warning: implicit declaration of function 'XML_ParserFree' expat.c: In function 'xmlnode_file': expat.c:115: error: 'XML_Parser' undeclared (first use in this function) expat.c:115: error: expected ';' before 'p' expat.c:130: error: 'p' undeclared (first use in this function) expat.c: In function 'xmlnode_file_borked': expat.c:155: error: 'XML_Parser' undeclared (first use in this function) expat.c:155: error: expected ';' before 'p' expat.c:167: error: 'p' undeclared (first use in this function) expat.c:174: warning: implicit declaration of function 'XML_ErrorString' expat.c:174: warning: implicit declaration of function 'XML_GetErrorCode' expat.c:174: warning: implicit declaration of function 'XML_GetErrorLineNumber' expat.c:174: warning: implicit declaration of function 'XML_GetErrorColumnNumber' *** Error code 1 Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7/src/jabberd. *** Error code 1 Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7/src. *** Error code 1 Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7. *** Error code 1 Stop in /usr/ports/net-im/mu-conference. *** Error code 1 Stop in /usr/ports/net-im/mu-conference. From saifi.khan at twincling.org Tue Mar 10 11:57:53 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Tue Mar 10 11:58:06 2009 Subject: is there a laptop ? In-Reply-To: <49B60754.4080301@sophia.ac.jp> References: <49B60754.4080301@sophia.ac.jp> Message-ID: On Tue, 10 Mar 2009, Takashi Inoue wrote: > Hi, > > > i've looked at tuxmobil, bsdgroup.de etc and i don't want to use > > ndiswrapper, or broadcom or additional PCMCIA card at all. > > > > Is there a laptop model (available in market) that experienced > > members would like to recommend wherein > > . the WiFi 802.11 a/g (PCI based) > > . Ethernet port . and ACPI > > work absolutely fine with FreeBSD 7.x ? > > If you want to use ACPI suspend/resume, > you need to kill one of two core in Core2Duo. > If you want the both, choose Linux insted. > > Cheers, > T. I. > Are you saying that ACPI implementation in FreeBSD is buggy ? Do you have any suggestions about laptops to make (assuming ACPI is disabled) ? thanks Saifi. From nlandys at gmail.com Tue Mar 10 12:00:34 2009 From: nlandys at gmail.com (Nerius Landys) Date: Tue Mar 10 12:01:00 2009 Subject: problem rotating apache logs In-Reply-To: <20090310142142.7866db77@scorpio> References: <49B6897D.3060508@chamonix.reportlab.co.uk> <20090310142142.7866db77@scorpio> Message-ID: <560f92640903101200sa39bf29h786174439d7baf5a@mail.gmail.com> I had to solve this same problem some time ago, and I used this mailing list to help me figure it out. See here: http://forums.freebsd.org/archive/index.php/t-1027.html Go to the very bottom, my last post has the answer. Maybe this will help you. It works very well for me. From alainfabry at belgacom.net Tue Mar 10 12:02:34 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Tue Mar 10 12:02:41 2009 Subject: libsndfile portupgrade cuts sound... :-( Message-ID: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> Today, I successfully portupgraded libsndfile, but afterwards I noticed that my sound doesn't work anymore. Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High Definition Audio' sound card. Before it was working without any problems with the sound/snd_hda drivers. What can I do to get my sound back up and running? Thanks, Alain From saifi.khan at twincling.org Tue Mar 10 12:03:37 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Tue Mar 10 12:03:44 2009 Subject: Is there a roadmap for FreeBSD ? Message-ID: Hi all: Is there a roadmap for FreeBSD ? i spent sometime reading up the website, but couldn't find any information regarding the roadmap. What exactly is 8.x trying to accomplish ? thanks Saifi. From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 12:04:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 12:04:14 2009 Subject: libsndfile portupgrade cuts sound... :-( In-Reply-To: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> References: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> Message-ID: > Today, I successfully portupgraded libsndfile, but afterwards I noticed that my sound doesn't work anymore. > > Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High Definition Audio' sound card. Before it was working without any problems with the sound/snd_hda drivers. > > What can I do to get my sound back up and running? > libsndfile has nothing to do with sound driver, i'm sure it's still working fine. just do cat /dev/urandom >/dev/audio to check :) From roys1012 at gmail.com Tue Mar 10 12:40:13 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Tue Mar 10 12:40:22 2009 Subject: IPFW torrent Message-ID: Hello, I can't seem to get my torrent client working, when ipfw is up. This rules i use in my script for the torrent client (ktorrent) # Sta ktorrent toe naar buiten. $cmd 00283 allow tcp from any to any 50427 out via $pif setup keep-state $cmd 00284 allow udp from any to any 50427 out via $pif keep-state $cmd 00285 allow udp from any to any 50428 out via $pif keep-state $cmd 00286 allow udp from any to any 50429 out via $pif keep-state In my router these ports are open too. I googled about this issue and found this rule .. but It doesn't look safe to me? Looks like everything is open? 520 allow tcp from any to any out keep-state Regards, Roy. From dnelson at allantgroup.com Tue Mar 10 13:35:14 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Mar 10 13:35:22 2009 Subject: IPFW torrent In-Reply-To: References: Message-ID: <20090310203502.GK3398@dan.emsphone.com> In the last episode (Mar 10), Roy Stuivenberg said: > I can't seem to get my torrent client working, when ipfw is up. > > This rules i use in my script for the torrent client (ktorrent) > > # Sta ktorrent toe naar buiten. > $cmd 00283 allow tcp from any to any 50427 out via $pif setup keep-state > $cmd 00284 allow udp from any to any 50427 out via $pif keep-state > $cmd 00285 allow udp from any to any 50428 out via $pif keep-state > $cmd 00286 allow udp from any to any 50429 out via $pif keep-state These rules apply to outgoing traffic to TCP/50427 and UDP/50427-50429 . Unless you can guarantee that all your peers are listening on those ports, those rules aren't going to do much good. ... Unless you're applying these rules on an intermediate router box, and $pif is your "trusted network" interface, in which case the rules look okay. A good way to troubleshoot firewall problems is to set the sysctl net.inet.ip.fw.verbose=1, add "reset log ip from any to any" rule to the bottom of your list, and run "tail -f /var/log/security" to watch for blocked packets. > In my router these ports are open too. > > I googled about this issue and found this rule .. but It doesn't look safe > to me? Looks like everything is open? > > 520 allow tcp from any to any out keep-state A rule like this is usually applied to the actual machine running ktorrent, so any outgoing traffic (and any replies to that traffic) is allowed. Alternatively, a rule like this could be applied to an intermediate router: allow ip from any to any in via $trusted_interface out via $external_interface keep-state -- Dan Nelson dnelson@allantgroup.com From frank at shute.org.uk Tue Mar 10 13:53:17 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue Mar 10 13:53:28 2009 Subject: is there a laptop ? In-Reply-To: References: <49B60754.4080301@sophia.ac.jp> Message-ID: <20090310205304.GA84417@melon.esperance-linux.co.uk> On Wed, Mar 11, 2009 at 12:31:41AM +0000, Saifi Khan wrote: > > On Tue, 10 Mar 2009, Takashi Inoue wrote: > > > Hi, > > > > > i've looked at tuxmobil, bsdgroup.de etc and i don't want to use > > > ndiswrapper, or broadcom or additional PCMCIA card at all. > > > > > > Is there a laptop model (available in market) that experienced > > > members would like to recommend wherein > > > . the WiFi 802.11 a/g (PCI based) > > > . Ethernet port . and ACPI > > > work absolutely fine with FreeBSD 7.x ? > > > > If you want to use ACPI suspend/resume, > > you need to kill one of two core in Core2Duo. > > If you want the both, choose Linux insted. > > > > Cheers, > > T. I. > > > > Are you saying that ACPI implementation in FreeBSD is buggy ? > > Do you have any suggestions about laptops to make (assuming ACPI > is disabled) ? > You can still use ACPI, it's just that suspend/resume might not work. If you use ACPI then you can run powerd(8) which will prolong battery life. I bought a Dell XPS1330 on which everything seems to work on 7.1-R; even the fingerprint reader can be made to work (can't remember the port to use). I don't use powerd as I usually have the laptop plugged in. BTW, I've got an old Thinkpad and I much prefer the Trackpoint to the Dell's Touchpad, YMMV. So my advice is to look at the Thinkpads. A lot of BSD users use them & their hardware is well supported by FreeBSD, I believe. > > thanks > Saifi. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From rsmith at xs4all.nl Tue Mar 10 14:23:57 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Mar 10 14:24:04 2009 Subject: Is there a roadmap for FreeBSD ? In-Reply-To: References: Message-ID: <20090310212354.GC34271@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 12:37:28AM +0000, Saifi Khan wrote: > Hi all: > > Is there a roadmap for FreeBSD ? I'm not sure there even is one. :) The road that is taken depends mostly on what the people working on the code want to tackle, I guess. Looking at the -current mailing list should probably give you an idea what is being worked on. Personally I don't think roadmaps are all that usefull for open source projects that depend on volunteer work. Volunteers tend to work on an area that either scratches an itch for them or that interests them. > What exactly is 8.x trying to accomplish ? Generally, CURRENT is a branch to introduce changes that would be too intrusive in the release brances or STABLE. Other than that, you'd better ask on the -current or -hackers list. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090310/995347b3/attachment.pgp From rwmaillists at googlemail.com Tue Mar 10 14:58:10 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Mar 10 14:58:18 2009 Subject: IPFW torrent In-Reply-To: References: Message-ID: <20090310215801.47aa703e@gumby.homeunix.com> On Tue, 10 Mar 2009 20:40:11 +0100 Roy Stuivenberg wrote: > Hello, > > I can't seem to get my torrent client working, when ipfw is up. > > This rules i use in my script for the torrent client (ktorrent) Typically you need separate rules for incoming and outgoing connections, something like this add 1000 check-state add 1010 deny tcp from any to any in established # bittorrent tcp on 14353 add 10801 allow tcp from any to me 14353 keep-state # allow outgoing tcp add 50000 allow tcp from any to any out keep-state BTW if you use p2p a lot then eventually you'll probably want to do upload prioritisation, and that's a lot easier with pf+altq. I switched from ipfw to pf a long time ago, and I wouldn't want to go back. From dc at dcoder.net Tue Mar 10 15:52:49 2009 From: dc at dcoder.net (dacoder) Date: Tue Mar 10 15:52:56 2009 Subject: puzzling ipnat behavior Message-ID: <20090310225248.GF31232@mail2.dcoder.net> i've asked this question before, but i must have been unclear. i hope this is better: i'm puzzled by how ipnat works, particularly by the fact that when the ip's on an inside nic are mapped to the ip on my outside nic, i have to configure ipfilter to allow any ip that might hit the outside nic access to the ip's on the inside nic. so, where wpi0 is the outside nic & the 1st /24 in 10.0.0.0 contains the ip of the inside nic & everything behind it: ipnat.rules: allow wpi0 10.0.0.0/24 -> /32 ipf.rules: pass in quick from any to 10.0.0.0/24 i should have thought that since everything coming from outside to 10.0.0.0/24 is addressed to the this would be sufficient: pass in quick from to 10.0.0.0/24 but it isn't. what's wrong w/ my thinking? & why isn't this rule a security hazard? david coder network engineer emeritus ntt/verio From freebsd-questions at lists.goldenpath.org Tue Mar 10 18:37:07 2009 From: freebsd-questions at lists.goldenpath.org (T.) Date: Tue Mar 10 18:37:14 2009 Subject: SYSCALL_MODULE macro modified? Message-ID: <49B70F38.9010305@lists.goldenpath.org> Found 7.0's sysent.h file modified at the commonly used SYSCALL_MODULE macro, wasn't sure how I should modify my code to accommodate the change so changed the sysent.h (yikes!). No biggy right? Removed the AUE_NULL. That's all that's been added. But the argument was NULL, so what the hell else could I do? AUE_NULL didn't work. And how can you be requiring anything else where once there was NULL. And when I said NULL, I meant NULL! Boggling! This is related to some audit stuff? Anyway... #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ static struct syscall_module_data name##_syscall_mod = { \ evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \ }; \ \ static moduledata_t name##_mod = { \ #name, \ syscall_module_handler, \ &name##_syscall_mod \ }; \ DECLARE_MODULE(name, name##_mod, SI_SUB_SYSCALLS, SI_ORDER_MIDDLE) From admin2 at enabled.com Tue Mar 10 19:12:22 2009 From: admin2 at enabled.com (Noah) Date: Tue Mar 10 19:12:29 2009 Subject: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" Message-ID: <49B7199F.6040008@enabled.com> Hi there, rebuilding emacs using portupgrade is dying and claiming I am missing a library. What shall I do? /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" From saifi.khan at twincling.org Tue Mar 10 19:51:16 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Tue Mar 10 19:51:23 2009 Subject: Is there a roadmap for FreeBSD ? In-Reply-To: <20090310212354.GC34271@slackbox.xs4all.nl> References: <20090310212354.GC34271@slackbox.xs4all.nl> Message-ID: On Tue, 10 Mar 2009, Roland Smith wrote: > > Personally I don't think roadmaps are all that usefull for open source > projects that depend on volunteer work. Volunteers tend to work on an > area that either scratches an itch for them or that interests them. > Fine, may i have the list of 'itch'es ? thanks Saifi. From roberthuff at rcn.com Tue Mar 10 20:04:49 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Mar 10 20:04:56 2009 Subject: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" In-Reply-To: <49B7199F.6040008@enabled.com> References: <49B7199F.6040008@enabled.com> Message-ID: <18871.10830.685930.5873@jerusalem.litteratus.org> Noah writes: > rebuilding emacs using portupgrade is dying and claiming I am missing a > library. What shall I do? > > /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, > required by "libcairo.so.2" Have you: 1) updated your whole ports tree? 2) read /usr/ports/UPDATING? Robert Huff From admin2 at enabled.com Tue Mar 10 21:06:41 2009 From: admin2 at enabled.com (Noah) Date: Tue Mar 10 21:06:47 2009 Subject: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" In-Reply-To: <18871.10830.685930.5873@jerusalem.litteratus.org> References: <49B7199F.6040008@enabled.com> <18871.10830.685930.5873@jerusalem.litteratus.org> Message-ID: <49B738C5.5090108@enabled.com> Robert Huff wrote: > Noah writes: > >> rebuilding emacs using portupgrade is dying and claiming I am missing a >> library. What shall I do? >> >> /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, >> required by "libcairo.so.2" > > Have you: > 1) updated your whole ports tree? > 2) read /usr/ports/UPDATING? Sure Robert, This is what I do to update the whole ports tree. Am I missing something? 1) use cvsup and get the entire ports 2) cd /usr/ports && make index 3) cd /usr/ports && make fetchindex 4) /usr/local/sbin/portsdb -Uu 5) /usr/local/sbin/pkgdb -fu > > > Robert Huff From ljfong at sdf.lonestar.org Tue Mar 10 21:30:09 2009 From: ljfong at sdf.lonestar.org (Hong) Date: Tue Mar 10 21:30:15 2009 Subject: Ldapadd Crashed with Segmentation Fault Message-ID: <20090311041526.GA1154@SDF.LONESTAR.ORG> Hi, I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed through the port system. The configuration file /usr/local/etc/slapd.conf was edited: ... database bdb #suffix "dc=my-domain,dc=com" #rootdn "cn=Manager,dc=my-domain,dc=com" suffix "dc=example,dc=com" rootdn "cn=Manager,dc=example,dc=com" ... I created a test LDIF file named test1.ldif: dn: dc=example,dc=com objectclass: dcObject objectclass: organization o: Example Company dc: example dn: cn=Manager,dc=example,dc=com objectClass: organizationalRole cn: Manager Then I used ldapadd to add the new entries in the LDIF file: # ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f test1.ldif Enter LDAP Password: adding new entry "dc=example,dc=com" adding new entry "cn=Manager,dc=example,dc=com" Segmentation fault: 11 (core dumped) Any idea what went wrong? Hong From tajudd at gmail.com Tue Mar 10 21:49:21 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Mar 10 21:49:28 2009 Subject: Ldapadd Crashed with Segmentation Fault In-Reply-To: <20090311041526.GA1154@SDF.LONESTAR.ORG> References: <20090311041526.GA1154@SDF.LONESTAR.ORG> Message-ID: <1236746967.1145.4.camel@t60.local.zz> On Tue, 2009-03-10 at 21:15 -0700, Hong wrote: > Hi, > > I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed through > the port system. > > The configuration file /usr/local/etc/slapd.conf was edited: > ... > database bdb > #suffix "dc=my-domain,dc=com" > #rootdn "cn=Manager,dc=my-domain,dc=com" > suffix "dc=example,dc=com" > rootdn "cn=Manager,dc=example,dc=com" > ... > > I created a test LDIF file named test1.ldif: > > dn: dc=example,dc=com > objectclass: dcObject > objectclass: organization > o: Example Company > dc: example > > dn: cn=Manager,dc=example,dc=com > objectClass: organizationalRole > cn: Manager > > Then I used ldapadd to add the new entries in the LDIF file: > > # ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f test1.ldif > Enter LDAP Password: > adding new entry "dc=example,dc=com" > > adding new entry "cn=Manager,dc=example,dc=com" > > Segmentation fault: 11 (core dumped) > > Any idea what went wrong? > > Hong Why it crashed? don't know. Most segfaults in my experience (few and far between) are due to compiled options that crash it. My experience with OpenLDAP has taught me the rootdn specified in slapd.conf is a superuser who DOES NOT always need to be specified in the LDAP directory (some apps look for it, some apps just use the values you provide and OpenLDAP binds to the super-user defined there) My first suggestion is to (optionally, preferred) remove the database files, since it may not have added correctly, edit test1.ldif and remove the user (last 3 lines), and readd. If it still crashes, consider limiting the options on the server and recompiling pretty vanilla. Some ideas, no firm reason. ktrace ldapadd to find details. From roberthuff at rcn.com Tue Mar 10 21:53:32 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Mar 10 21:53:38 2009 Subject: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" In-Reply-To: <49B738C5.5090108@enabled.com> References: <49B7199F.6040008@enabled.com> <18871.10830.685930.5873@jerusalem.litteratus.org> <49B738C5.5090108@enabled.com> Message-ID: <18871.17310.443084.684674@jerusalem.litteratus.org> Noah writes: > 1) use cvsup and get the entire ports > 2) cd /usr/ports && make index > 3) cd /usr/ports && make fetchindex Ummm ... it is my understanding that not only will (3) overwrite (2), but it will often resulr in a less current INDEX. Robert Huff From alainfabry at belgacom.net Tue Mar 10 23:26:08 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Tue Mar 10 23:26:16 2009 Subject: libsndfile portupgrade cuts sound... :-( In-Reply-To: References: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> Message-ID: <20090311062410.GA5070@desmo.3rdrock.kicks-ass.net> On Tue, Mar 10, 2009 at 08:03:49PM +0100, Wojciech Puchar wrote: > > >Today, I successfully portupgraded libsndfile, but afterwards I noticed > >that my sound doesn't work anymore. > > > >Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High > >Definition Audio' sound card. Before it was working without any problems > >with the sound/snd_hda drivers. > > > >What can I do to get my sound back up and running? > > > libsndfile has nothing to do with sound driver, i'm sure it's still > working fine. > > just do > > cat /dev/urandom >/dev/audio > > to check > :) Nope, no sound coming out of my speakers. I was a bit worried that it was my audio card died on me but booting from another external HD with FreeBSD, everything seems to work fine. I'll portupgrade the other HD also to verify if the same issue occurs. I've only updated gtar, libsndfile, and ruby18-bdb that day, so I assumed it had to do with libsndfile. Hopefully I'll know more the next few days, so don't spend any time on my problem for now ;-) Thanks, > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Tue Mar 10 23:38:42 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Mar 10 23:38:49 2009 Subject: libsndfile portupgrade cuts sound... :-( In-Reply-To: <20090311062410.GA5070@desmo.3rdrock.kicks-ass.net> References: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> <20090311062410.GA5070@desmo.3rdrock.kicks-ass.net> Message-ID: >> :) > > Nope, no sound coming out of my speakers. I was a bit worried that it was my audio card died on me but booting from another external HD with FreeBSD, everything seems to work fine. I'll portupgrade the other HD also to verify if the same issue occurs. run mixer and check if it's not just volume set to 0 From alainfabry at belgacom.net Tue Mar 10 23:51:07 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Tue Mar 10 23:51:14 2009 Subject: libsndfile portupgrade cuts sound... :-( In-Reply-To: References: <20090310190037.GA26899@desmo.3rdrock.kicks-ass.net> <20090311062410.GA5070@desmo.3rdrock.kicks-ass.net> Message-ID: <20090311064911.GA8851@desmo.3rdrock.kicks-ass.net> On Wed, Mar 11, 2009 at 07:38:29AM +0100, Wojciech Puchar wrote: > >>:) > > > >Nope, no sound coming out of my speakers. I was a bit worried that it was > >my audio card died on me but booting from another external HD with > >FreeBSD, everything seems to work fine. I'll portupgrade the other HD also > >to verify if the same issue occurs. > > run mixer and check if it's not just volume set to 0 I guess idiots (me) haven't left this world yet since indeed the pcm in mixer was set to 0... Problem solved....yet strange that it suddenly was at 0 Thanks, > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From brentgclarklist at gmail.com Tue Mar 10 23:55:39 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Tue Mar 10 23:55:47 2009 Subject: port nasm wont upgrade In-Reply-To: <444oy1ju9o.fsf@be-well.ilk.org> References: <49B6117C.4050700@gmail.com> <444oy1ju9o.fsf@be-well.ilk.org> Message-ID: <49B76068.4010203@gmail.com> Lowell Gilbert wrote: > You seem to be be missing /usr/ports/devel/nasm/distinfo. > > You can re-create it with "make makesum", but that would defeat the > point of checking file integrity in the first place. Besides, if you > have a missing (or corrupted) file in your ports tree, there may be > others. If you update your ports tree regularly anyway, I would > recommend removing that directory and updating. > > Hiya I removed the ports directory as suggest (Cant believe I didnt think of that). Alls working / compiling. Thanks so much. Regards Brent Clark From m.seaman at infracaninophile.co.uk Wed Mar 11 00:03:29 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Mar 11 00:03:36 2009 Subject: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2" In-Reply-To: <49B738C5.5090108@enabled.com> References: <49B7199F.6040008@enabled.com> <18871.10830.685930.5873@jerusalem.litteratus.org> <49B738C5.5090108@enabled.com> Message-ID: <49B76225.1020803@infracaninophile.co.uk> Noah wrote: > Robert Huff wrote: >> Noah writes: >> >>> rebuilding emacs using portupgrade is dying and claiming I am >>> missing a library. What shall I do? >>> >>> /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, >>> required by "libcairo.so.2" >> >> Have you: >> 1) updated your whole ports tree? >> 2) read /usr/ports/UPDATING? > > > > Sure Robert, > > This is what I do to update the whole ports tree. Am I missing something? > > > 1) use cvsup and get the entire ports > 2) cd /usr/ports && make index > 3) cd /usr/ports && make fetchindex Do one of 2 or 3 -- not both. > 4) /usr/local/sbin/portsdb -Uu > 5) /usr/local/sbin/pkgdb -fu > Yeah. You need to read /usr/ports/UPDATING and act on the 20090123 entry for x11/libxcb. You'ld know if you had carried out the instructions because it would have reinstalled just about everything X related on your system. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/24019c0e/signature.pgp From patfbsd at davenulle.org Wed Mar 11 00:33:11 2009 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Wed Mar 11 00:33:18 2009 Subject: Is there a roadmap for FreeBSD ? In-Reply-To: References: <20090310212354.GC34271@slackbox.xs4all.nl> Message-ID: <20090311083306.7e28f10f@baby-jane.lamaiziere.net> Le Wed, 11 Mar 2009 08:25:12 +0000 (GMT), Saifi Khan : > > Personally I don't think roadmaps are all that usefull for open > > source projects that depend on volunteer work. Volunteers tend to > > work on an area that either scratches an itch for them or that > > interests them. > > Fine, may i have the list of 'itch'es ? Ivan Voras has a nice page "What's cooking for FreeBSD 8?" http://ivoras.sharanet.org/freebsd/freebsd8.html From danny at cs.huji.ac.il Wed Mar 11 00:34:42 2009 From: danny at cs.huji.ac.il (Danny Braniss) Date: Wed Mar 11 00:34:50 2009 Subject: iSCSI initiator lockups In-Reply-To: Your message of Tue, 10 Mar 2009 15:44:59 -0400 . Message-ID: > > --VbJkn9YxBvnuCH5J > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > In our last exciting episode, Danny Braniss (danny@cs.huji.ac.il) said: > > I guess it's time to fix this. > > danny > > Thank you very much for the pointer to the newer version; we have seen a=20 > marked improvement with none of the 30 second studdering. I appreciate > your rapid assistance! Good, can you send me the info of the target/s you are using to add to the list of supported targets? Cheers, danny From saifi.khan at twincling.org Wed Mar 11 01:03:20 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Wed Mar 11 01:03:27 2009 Subject: Is there a roadmap for FreeBSD ? In-Reply-To: <20090311083306.7e28f10f@baby-jane.lamaiziere.net> References: <20090310212354.GC34271@slackbox.xs4all.nl> <20090311083306.7e28f10f@baby-jane.lamaiziere.net> Message-ID: On Wed, 11 Mar 2009, Patrick Lamaizière wrote: > Le Wed, 11 Mar 2009 08:25:12 +0000 (GMT), > Saifi Khan : > > > > Personally I don't think roadmaps are all that usefull for open > > > source projects that depend on volunteer work. Volunteers tend to > > > work on an area that either scratches an itch for them or that > > > interests them. > > > > Fine, may i have the list of 'itch'es ? > > Ivan Voras has a nice page "What's cooking for FreeBSD 8?" > > http://ivoras.sharanet.org/freebsd/freebsd8.html > Thank you Patrick for the help. This is the document that i was searching for on freebsd.org and wiki.freebsd.org . Is there any reason, to not have this document on freebsd.org website like other projects ? thanks Saifi. From perryh at pluto.rain.com Wed Mar 11 01:11:46 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Mar 11 01:11:53 2009 Subject: Is NFS Locking Reliable? In-Reply-To: <20090310091318.W34669@gwdu60.gwdg.de> References: <20090310091318.W34669@gwdu60.gwdg.de> Message-ID: <49b771cb.daisuixe+bdr3tV8%perryh@pluto.rain.com> > Our NFS servers for user home directories are on FreeBSD (6.4), > MacOSX (10.5), Linux (still 2.4 kernel) and Tru64-UNIX boxes; NFS > clients are mostly Linux (2.6 kernel) and FreeBSD (6.4, 7.0, but > w/o kernel lockd) systems. I have seen problems with NFS locking even in completely homogeneous environments. With a mix like that, I would not trust it as far as I could throw a Cray :) > There are periods of several days without problems, but from time > to time, on one, two, or several (but not all) clients application > processes which use locking suddenly hang in kernel mode - namely > firefox, opera, pine. Lockups are probably the least of your concerns, at least where pine is involved. Dunno what sort of data firefox and opera are protecting from race conditions, but I suppose pine is being used for email. Cases will arise wherein mail mysteriously disappears, because the client and the delivery agent were both updating the inbox at the same time. Often there will be no noticeable symptoms, except for users wondering what happened to that important message they were supposed to have gotten (and which the MTA log shows was in fact delivered). Never export an inbox read/write if reliability of mail delivery is needed. Use IMAP instead. > It seems to be no specific operating system problem - all > combinations of clients and servers are involved. I suspect the reason NFS locking is so troublesome is that it presents problems which are fundamentally incomputable. Prior to restoration of communication, how can any automaton possibly distinguish between * a temporary loss of the communication link (but the peer is still running and the link will eventually be re-established), and * the peer has crashed, and will eventually reboot? From prad at towardsfreedom.com Wed Mar 11 01:20:21 2009 From: prad at towardsfreedom.com (prad) Date: Wed Mar 11 01:20:28 2009 Subject: bsd vs gpl Message-ID: <20090311012018.2075c3d9@gom.home> i've not paid much attention to licensing philosophy i the past, because for me it was always windoze vs the goodguys. however, recently i've become aware of there being a chasm within the goodguys in that the bsd attitude is do what you want as long as you give credit to the creator, whereas the gpl folks say do what you want as long as you keep it free. is this a fair summation? do people here have any thoughts on the two different licenses? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From on at cs.ait.ac.th Wed Mar 11 01:31:47 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Mar 11 01:31:54 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> (odhiambo@gmail.com) References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> Message-ID: <200903110831.n2B8V6WD056612@banyan.cs.ait.ac.th> Hi, > However, I am going to use 7.1-STABLE on them. > > I see no reason why you should run 6.4 at all though. What's your > motivation towards thaat angle? > > I suggest you install the 7.1 and update it to -STABLE then see if > anything changes as regards the CPU (est message), while we wait for > the magic word from the dedicated developers. With some delay in the reply: for a production server I try to keep with the legacy version of FreeBSD. And I stick to RELENG, not STABLE, because I want to patch security bugs, but I most probably does not need all the new bells and whistles of STABLE: this is a production server, I prefer to modify the machine as least as possible, unless it is expressely needed by a secuity issue (I won't apply security patches if they are not pertinent to a specific server and the services running on that machine). Bests, Olivier From saifi.khan at twincling.org Wed Mar 11 01:36:23 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Wed Mar 11 01:36:30 2009 Subject: bsd vs gpl In-Reply-To: <20090311012018.2075c3d9@gom.home> References: <20090311012018.2075c3d9@gom.home> Message-ID: <9a52b1190903110136q1d16e73cq56ba0404224ea362@mail.gmail.com> On Wed, Mar 11, 2009 at 8:20 AM, prad wrote: > > however, recently i've become aware of there being a chasm within the > goodguys in that the bsd attitude is do what you want as long as you > give credit to the creator, whereas the gpl folks say do what you want > as long as you keep it free. > > is this a fair summation? > > do people here have any thoughts on the two different licenses? > > -- > In friendship, > prad > There are two rights associated. Rights to Usage Rights to Modify When you take a piece of code licensed under GPL and "modify" it, you are required to make your changes available and also under the same license ie. GPL. So the rights to modify comes with covenants in GPL. In the case of BSD and ASL, there is no such covenant. It may also be pertinent to know that under any license, the recipient cannot change the copyright ownership or the notice for eg. " ... The Regents of the University of California. All rights reserved. ..." -- thanks Saifi. From brentgclarklist at gmail.com Wed Mar 11 02:13:20 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Wed Mar 11 02:13:27 2009 Subject: torrent client traffic shaping question Message-ID: <49B780AC.3010600@gmail.com> Hiya I got this question to ask, and I was hoping the TCP/IP gurus would be able to help me understand this. K you know how with traffic shapping you can control only the traffic leaving you, how it is that torrent clients say they can control the download as well as the upload. I would think the client can only control the upload. TIA Brent Clark From on at cs.ait.ac.th Wed Mar 11 02:19:19 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Mar 11 02:19:31 2009 Subject: torrent client traffic shaping question In-Reply-To: <49B780AC.3010600@gmail.com> (message from Brent Clark on Wed, 11 Mar 2009 11:13:16 +0200) References: <49B780AC.3010600@gmail.com> Message-ID: <200903110919.n2B9JDe8063258@banyan.cs.ait.ac.th> Hi, > K you know how with traffic shapping you can control only the traffic > leaving you, how it is that torrent clients say they can control the > download as well as the upload. I would think the client can only > control the upload. Maybe torrent protocol includes something where by the client tells its peers to send data at a slower rate. Traffic shaping is done at IP or TCP level, while the up/down load speed is managed at the client level. Bests, Olivier From nightrecon at verizon.net Wed Mar 11 02:24:28 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Mar 11 02:24:35 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <200903110831.n2B8V6WD056612@banyan.cs.ait.ac.th> Message-ID: Olivier Nicole wrote: [snip] > > And I stick to RELENG, not STABLE, because I want to patch security > bugs, but I most probably does not need all the new bells and whistles > of STABLE: this is a production server, I prefer to modify the machine > as least as possible, unless it is expressely needed by a secuity > issue (I won't apply security patches if they are not pertinent to a > specific server and the services running on that machine). > > Bests, > > Olivier I am of the same bent. For many security issues that do not mandate a reboot I just apply the patches following the instructions in the security advisory. 32 bit drivers such as NVidia on a desktop box mean you're stuck with i386. These same drivers usually have problems with PAE kernels as well. In the server world you are better off not running a PAE kernel. PAE is kludge and a true 64 bit implementation will give you better performance. The thing to watch out here would be a controller driver based on a binary blob. How it was originally built by the mfr can cause trouble in a mix-n- match environment. I believe most controller drivers these days are OK on 64 bit platforms, it is just a detail to keep an eye out on. But - PAE is something better done away with and relegated to history. Just my $.02 -Mike From kulka at man.poznan.pl Wed Mar 11 03:46:13 2009 From: kulka at man.poznan.pl (Michal Kulczewski) Date: Wed Mar 11 03:46:19 2009 Subject: driver for wifi as usb device Message-ID: <49B790A6.6000209@man.poznan.pl> Hi, I'm struggling with installation of driver for my wifi visible as usb device (hp 8730w laptop) on both, 7.1 and 8.0, versions of FreeBSD. I've tried to use Windows drivers with no significant effect (still, USB wifi is not assigned with the driver). Has anyone succeeded in resolving similar problem? Any help will be most appreciated. Best, Michal From m.e.sanliturk at gmail.com Wed Mar 11 04:37:32 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Wed Mar 11 04:37:50 2009 Subject: bsd vs gpl In-Reply-To: <20090311012018.2075c3d9@gom.home> References: <20090311012018.2075c3d9@gom.home> Message-ID: On Wed, Mar 11, 2009 at 4:20 AM, prad wrote: > > do people here have any thoughts on the two different licenses? > > -- > In friendship, > prad > > > This is NOT a simple issue . In http://en.wikipedia.org/wiki/Comparison_of_free_software_licences http://en.wikipedia.org/wiki/Category:Software_licenses http://en.wikipedia.org/wiki/Software_licences pages and links in them , it is possible to find sufficiently detailed information . The main point is that any dispute with respect to software licenses are solved in courts and final decisions are made by judges . This means that any legal advise can only be made by legally authorized persons . The other views are only exchange of point of views . Thank you very much . Mehmet Erol Sanliturk From wojtek at wojtek.tensor.gdynia.pl Wed Mar 11 05:12:45 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 11 05:12:52 2009 Subject: bsd vs gpl In-Reply-To: <20090311012018.2075c3d9@gom.home> References: <20090311012018.2075c3d9@gom.home> Message-ID: > i've not paid much attention to licensing philosophy i the past, > because for me it was always windoze vs the goodguys. > > however, recently i've become aware of there being a chasm within the > goodguys in that the bsd attitude is do what you want as long as you > give credit to the creator, whereas the gpl folks say do what you want > as long as you keep it free. > > is this a fair summation? not quite. "keep it free" means that you HAVE TO publish sources of your whole product if you will just use a few lines of code from GPL sources. It's not free licence, it's just another kind communism. In contrary BSD licence allows you to JUST USE THE CODE. That's all. Nothing forbids you to write say "prad-OS" that will reuse all drivers from FreeBSD, and sell it commercially in binary only form. From brentgclarklist at gmail.com Wed Mar 11 05:22:53 2009 From: brentgclarklist at gmail.com (Brent Clark) Date: Wed Mar 11 05:23:00 2009 Subject: torrent client traffic shaping question In-Reply-To: <200903110919.n2B9JDe8063258@banyan.cs.ait.ac.th> References: <49B780AC.3010600@gmail.com> <200903110919.n2B9JDe8063258@banyan.cs.ait.ac.th> Message-ID: <49B7AD1A.6090103@gmail.com> Olivier Nicole wrote: > Maybe torrent protocol includes something where by the client tells > its peers to send data at a slower rate. > > Traffic shaping is done at IP or TCP level, while the up/down load > speed is managed at the client level. > > Bests, > > Olivier > Hi I posted the same Q on netfilters mailinglist. This was one of the answers I got .... If you read from socket at fixed rate, it's TCP receive buffer is emptied at same rate. TCP announces free buffer in receive window field, so congestion window on sender side is also adjusted, thus limiting send speed to the rate you read from socket on receiver side. Brent From on at cs.ait.ac.th Wed Mar 11 05:32:37 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Mar 11 05:32:44 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 In-Reply-To: (message from Tim Judd on Wed, 4 Mar 2009 13:49:24 -0700) References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> Message-ID: <200903111232.n2BCWWK9088827@banyan.cs.ait.ac.th> Hi, > > > why not simply use /amd64? > > You mean he changes the CPU? > All CPUs generally shipped from Dell anymore are 64bit capable. Do you have > the original specs (take the service tag, go to dell support -> warranty -> > original system config) and paste that. It gives chip IDs that we can use > online to see if it's amd64 capable. It seems that amd64 is not only for CPU's manufactured by AMD, but it can be used on 64 bits Intels too. Well I am just trying and so far it installed. But that name amd64 is missleading, to say the least. Bests, Olivier From rwmaillists at googlemail.com Wed Mar 11 05:42:30 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Mar 11 05:42:36 2009 Subject: torrent client traffic shaping question In-Reply-To: <49B780AC.3010600@gmail.com> References: <49B780AC.3010600@gmail.com> Message-ID: <20090311124223.7f81913e@gumby.homeunix.com> On Wed, 11 Mar 2009 11:13:16 +0200 Brent Clark wrote: > Hiya > > I got this question to ask, and I was hoping the TCP/IP gurus would be > able to help me understand this. > > K you know how with traffic shapping you can control only the traffic > leaving you, how it is that torrent clients say they can control the > download as well as the upload. I would think the client can only > control the upload. If the client reads from a TCP socket slower than the data is coming-in, the buffers fill-up and the sliding-window algorithm in TCP causes the sending side to slow down. A traffic shaper could efficiently regulate downloads by proxying TCP. And even though PF does some limited TCP proxying, unfortunately dummynet and altq work at the IP level. From freebsd at edvax.de Wed Mar 11 05:43:18 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Mar 11 05:43:26 2009 Subject: hardware list in a machine In-Reply-To: <49B63FD8.5000501@gmail.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> <8cb6106e0903091217y417e15aeo79fb0f6d705e251@mail.gmail.com> <49B63BF7.3060306@gmail.com> <20090310111212.32f080bc.freebsd@edvax.de> <49B63FD8.5000501@gmail.com> Message-ID: <20090311134309.23987a3d.freebsd@edvax.de> On Tue, 10 Mar 2009 10:24:24 +0000, Ricardo Jesus wrote: > Polytropon I can't seem to find usbconf. > > % usbconf > usbconf: Command not found. > % whereis usbconf > usbconf: > > Is it a third party application? My mistake, sorry. Of course it's usbdevs, a tool that comes with the OS. % which usbdevs /usr/sbin/usbdevs Its manpage offers various options how to show the attached USB devices, as well as the USB controller's / hub' capabilities. The most common use is "usbdevs -vd" to obtain the most important informations. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nightrecon at verizon.net Wed Mar 11 05:56:35 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Mar 11 05:56:42 2009 Subject: PAE kernel problem on Dell PowerEdge 2950 References: <200903040326.n243QHY1041181@banyan.cs.ait.ac.th> <991123400903032304p7409c4ecvb76a6c6946b82920@mail.gmail.com> <991123400903040238r5c196b80jb5e6799b56974703@mail.gmail.com> <200903111232.n2BCWWK9088827@banyan.cs.ait.ac.th> Message-ID: Olivier Nicole wrote: > Hi, > >> > > why not simply use /amd64? >> > You mean he changes the CPU? >> All CPUs generally shipped from Dell anymore are 64bit capable. Do you >> have the original specs (take the service tag, go to dell support -> >> warranty -> >> original system config) and paste that. It gives chip IDs that we can >> use online to see if it's amd64 capable. > > It seems that amd64 is not only for CPU's manufactured by AMD, but it > can be used on 64 bits Intels too. > > Well I am just trying and so far it installed. > > But that name amd64 is missleading, to say the least. > [snip] Yes - it has been somewhat of a small source of confusion. The reason it had the name amd64 attached is it was AMD that first developed the x86-64 extensions. Intel soon followed suit when it became apparent that their IA64 architecture was not going to supplant x86. They named their version EMT64. FreeBSD simply used the amd64 wrt it's naming scheme to give proper credit where due, e.g, to the inventor/originator. -Mike From admin2 at enabled.com Wed Mar 11 06:01:04 2009 From: admin2 at enabled.com (Noah) Date: Wed Mar 11 06:01:13 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! Message-ID: <49B7B609.5080303@enabled.com> Hi there, I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running "pkg_delete -f p5-Digest-HMAC-1.01" then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running "pkg_delete -f p5-Digest-HMAC-1.01" then manually reinstalling this port ------------------------------------------------------------------------ portmanager 0.4.1_9: Collecting installed port data ------------------------------------------------------------------------ ^CMGPMrCatchSignal received signal -=>2 # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix From on at cs.ait.ac.th Wed Mar 11 06:04:48 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Mar 11 06:04:55 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! In-Reply-To: <49B7B609.5080303@enabled.com> (message from Noah on Wed, 11 Mar 2009 06:00:57 -0700) References: <49B7B609.5080303@enabled.com> Message-ID: <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> > I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? > > > > # portmanager -u -y > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" > not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS > p5-Digest-HMAC-1.01 installation is corrupt! > recomend running "pkg_delete -f p5-Digest-HMAC-1.01" Did you try "pkg_delete -f p5-Digest-HMAC-1.01" as recommended? Bests, Olivier From admin2 at enabled.com Wed Mar 11 06:12:52 2009 From: admin2 at enabled.com (Noah) Date: Wed Mar 11 06:12:59 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! In-Reply-To: <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> References: <49B7B609.5080303@enabled.com> <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> Message-ID: <49B7B8C2.503@enabled.com> yes # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix Olivier Nicole wrote: >> I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? >> >> >> >> # portmanager -u -y >> rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" >> not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS >> p5-Digest-HMAC-1.01 installation is corrupt! >> recomend running "pkg_delete -f p5-Digest-HMAC-1.01" > > Did you try "pkg_delete -f p5-Digest-HMAC-1.01" as recommended? > > Bests, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From admin2 at enabled.com Wed Mar 11 06:13:45 2009 From: admin2 at enabled.com (Noah) Date: Wed Mar 11 06:13:52 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! In-Reply-To: <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> References: <49B7B609.5080303@enabled.com> <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> Message-ID: <49B7B8FD.2000702@enabled.com> yes and I still get the error again when running portmanager # pkg_delete -f p5-Digest-HMAC-1.01 pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Mail-SpamAssassin-3.2.5_1 pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix # # portmanager -u -y rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running "pkg_delete -f p5-Digest-HMAC-1.01" then manually reinstalling this port rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS p5-Digest-HMAC-1.01 installation is corrupt! recomend running "pkg_delete -f p5-Digest-HMAC-1.01" then manually reinstalling this port ------------------------------------------------------------------------ portmanager 0.4.1_9: Collecting installed port data ------------------------------------------------------------------------ ^CMGPMrCatchSignal received signal -=>2 Olivier Nicole wrote: >> I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do it? >> >> >> >> # portmanager -u -y >> rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" >> not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS >> p5-Digest-HMAC-1.01 installation is corrupt! >> recomend running "pkg_delete -f p5-Digest-HMAC-1.01" > > Did you try "pkg_delete -f p5-Digest-HMAC-1.01" as recommended? > > Bests, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From admin2 at enabled.com Wed Mar 11 06:15:04 2009 From: admin2 at enabled.com (Noah) Date: Wed Mar 11 06:15:10 2009 Subject: reinstall package with portinstall Message-ID: <49B7B952.30205@enabled.com> Hi there, how can I reinstall a package that could be the same version as the currently Install version with portinstall or portupgrade? Cheers, Noah From guru at unixarea.de Wed Mar 11 06:17:52 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed Mar 11 06:18:00 2009 Subject: port: multimedia/recordmydesktop Message-ID: <20090311063515.GA2244@rebelion.Sisis.de> Hello, Any experience or comments about the port multimedia/recordmydesktop? I can't access the web site http://recordmydesktop.iovar.org/ that's why I'm asking; to the Cc'ed maintainer of the port: the web site mentioned in pkg-descr does not exist anymore; Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From rwmaillists at googlemail.com Wed Mar 11 06:25:44 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Mar 11 06:25:58 2009 Subject: reinstall package with portinstall In-Reply-To: <49B7B952.30205@enabled.com> References: <49B7B952.30205@enabled.com> Message-ID: <20090311132536.3e7b60db@gumby.homeunix.com> On Wed, 11 Mar 2009 06:14:58 -0700 Noah wrote: > Hi there, > > how can I reinstall a package that could be the same version as the > currently Install version with portinstall or portupgrade? portupgrade -f From odhiambo at gmail.com Wed Mar 11 06:26:28 2009 From: odhiambo at gmail.com (Remorque) Date: Wed Mar 11 06:26:35 2009 Subject: reinstall package with portinstall In-Reply-To: <49B7B952.30205@enabled.com> References: <49B7B952.30205@enabled.com> Message-ID: <991123400903110626g7aad976cx7827222f5e718d4b@mail.gmail.com> On Wed, Mar 11, 2009 at 4:14 PM, Noah wrote: > Hi there, > > how can I reinstall a package that could be the same version as the > currently Install version with portinstall or portupgrade? > man portupgrade If the install location conflicts, you have to deinstall one, then install the other. Otherwise portupgrade -Nf will do what you want. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From dkelly at hiwaay.net Wed Mar 11 07:02:50 2009 From: dkelly at hiwaay.net (David Kelly) Date: Wed Mar 11 07:02:56 2009 Subject: bsd vs gpl In-Reply-To: <20090311012018.2075c3d9@gom.home> References: <20090311012018.2075c3d9@gom.home> Message-ID: <20090311140247.GE86605@Grumpy.DynDNS.org> On Wed, Mar 11, 2009 at 01:20:18AM -0700, prad wrote: > i've not paid much attention to licensing philosophy i the past, > because for me it was always windoze vs the goodguys. > > however, recently i've become aware of there being a chasm within the > goodguys in that the bsd attitude is do what you want as long as you > give credit to the creator, whereas the gpl folks say do what you want > as long as you keep it free. > > is this a fair summation? No, too simple. The source code is always free under BSD, contrary to what GPL proponents claim. Just that under BSD you are free to keep ownership of your own work. To decide how *you* wish to distribute. You may limit the redistribution of your work which includes BSD components. GPL people seem to forget the base BSD code is still free, its just that they want your enhancements too. Its a lesson in how to lie the way they claim this is somehow "free" and/or "freedom." GPL states that if you make changes those changes must be made available under the same terms as the original source code. Yet somehow darlings of the GPL world such as Red Hat, MySQL, and others, skirt around that onerous requirement. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From mlfreebsd at streamingedge.com Wed Mar 11 07:10:02 2009 From: mlfreebsd at streamingedge.com (FreeBSD List) Date: Wed Mar 11 07:10:10 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! In-Reply-To: <49B7B8FD.2000702@enabled.com> References: <49B7B609.5080303@enabled.com> <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> <49B7B8FD.2000702@enabled.com> Message-ID: <49B7C3A4.9000208@streamingedge.com> Try doing a "pkg_deinstall -pf p5-Digest-HMAC-1.01" And if that fails, I guess you could try as a last resort "rm -Rf /var/db/pkg/p5-Digest-HMAC-1.01" and then reinstall the package and do a regular "pkg_delete -f p5-Digest-HMAC-1.01" -- Jacques Manukyan Noah wrote: > yes and I still get the error again when running portmanager > > > > # pkg_delete -f p5-Digest-HMAC-1.01 > pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other > packages > and may not be deinstalled (but I'll delete it anyway): > p5-Mail-SpamAssassin-3.2.5_1 > pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix > # > # portmanager -u -y > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" > not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS > p5-Digest-HMAC-1.01 installation is corrupt! > recomend running "pkg_delete -f p5-Digest-HMAC-1.01" > then manually reinstalling this port > rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" > not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS > p5-Digest-HMAC-1.01 installation is corrupt! > recomend running "pkg_delete -f p5-Digest-HMAC-1.01" > then manually reinstalling this port > ------------------------------------------------------------------------ > portmanager 0.4.1_9: Collecting installed port data > ------------------------------------------------------------------------ > ^CMGPMrCatchSignal received signal -=>2 > > Olivier Nicole wrote: >>> I am trying to remove p5-Digest-HMAC-1.01 installation. How do I do >>> it? >>> >>> >>> >>> # portmanager -u -y >>> rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment >>> ORIGIN:" not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS >>> p5-Digest-HMAC-1.01 installation is corrupt! >>> recomend running "pkg_delete -f p5-Digest-HMAC-1.01" >> >> Did you try "pkg_delete -f p5-Digest-HMAC-1.01" as recommended? >> >> Bests, >> >> Olivier >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From david+dated+1237212971.17604e at skytracker.ca Wed Mar 11 07:28:55 2009 From: david+dated+1237212971.17604e at skytracker.ca (David Banning) Date: Wed Mar 11 07:29:02 2009 Subject: acroread error with libgobject-2.0.so.0 Message-ID: <20090311141610.GA82966@skytracker.ca> I have installed acroread8 with no errors, however on execution I get the following error; /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory the file is there; $ cd /usr/local/lib $ $ ls -tld libgobject* -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 and ldconfig sees it; $ ldconfig -r | grep libgobject 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 $ I have followed a few threads with similar error but have found no resolution yet. Any pointers would be helpful. From psteele at maxiscale.com Wed Mar 11 07:44:01 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 07:44:07 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <7280394.541236782303889.JavaMail.HALO$@halo> Message-ID: <10423240.561236782522127.JavaMail.HALO$@halo> I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? From freebsd at edvax.de Wed Mar 11 07:46:35 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Mar 11 07:46:42 2009 Subject: bsd vs gpl In-Reply-To: <20090311140247.GE86605@Grumpy.DynDNS.org> References: <20090311012018.2075c3d9@gom.home> <20090311140247.GE86605@Grumpy.DynDNS.org> Message-ID: <20090311154613.0a90e64b.freebsd@edvax.de> On Wed, 11 Mar 2009 09:02:47 -0500, David Kelly wrote: > The source code is always free under BSD, contrary to what GPL > proponents claim. Terms like "enslavement of code" come into mind, "BSD thieves" and others... But this isn't only the case with BSDL. The MIT uses a similar license for X, as far as I know, and Apache does it as well. > Just that under BSD you are free to keep ownership of > your own work. The BSDL doesn't change anything related to copyright (which is on the side of the coders). > GPL states that if you make changes those changes must be made available > under the same terms as the original source code. Yet somehow darlings > of the GPL world such as Red Hat, MySQL, and others, skirt around that > onerous requirement. That's why the GPL is often called a "viral license". As far as I know, not only using GPL code, also linking against a GPL library would require to put the initial work under GPL. I'd like to make an addition: The freedom of the BSDL intentionally allows to close sources. This can be considered theft, if one would like to use this interpretation. When taking some BSDL code, there's no need to contribute anything back. One argument could be that the money or hardware given to the FreeBSD developers is "abused" by those who "silently" take advantage of their work. But finally, it's always the developer who decides what to do with his own work. If he intends to allow others to make money from his code without giving anything back, it's his choice to do so. If a supporter doesn't like this decision, he should think about his support. Closing code doesn't make the code disappear which it is based upon, so code doesn't get "unfree". I know, this can lead into an endless discussion. It has already taken place on other platforms, such as here: http://www.osnews.com/comments/20740 Forgive me my comment. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Wed Mar 11 07:52:55 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Mar 11 07:53:04 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <10423240.561236782522127.JavaMail.HALO$@halo> References: <7280394.541236782303889.JavaMail.HALO$@halo> <10423240.561236782522127.JavaMail.HALO$@halo> Message-ID: <20090311155243.57fdcb25.freebsd@edvax.de> On Wed, 11 Mar 2009 07:42:04 -0700 (PDT), Peter Steele wrote: > I want to have a process running on my FreeBSD box that > automatically detects when a USB drive is inserted. What's > the easiest way to accomplish this? I know I could simply > monitor /var/log/messages and look for the appropriate > events to appear, but is there a more elegant way? The system will monitor it itself. :-) My question to you would be: What exactly do you mean by "automatically detect"? The drive *is* automatically detected. Should it be mounted afterwards? The creation of the device files (after system startup) is controlled by the file /etc/devfs.rules. You can use automounters to automatically mount devices when they appear. In order how to determine file systems, slices and partitions on such an USB device, you could, for example, have a look at how FreeSBIE does it. Additionally, there are already tools integrated in KDE and Gnome that automount USB devices. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Wed Mar 11 08:08:30 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 11 08:08:37 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <10423240.561236782522127.JavaMail.HALO$@halo> References: <10423240.561236782522127.JavaMail.HALO$@halo> Message-ID: devd.conf On Wed, 11 Mar 2009, Peter Steele wrote: > I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From nightrecon at verizon.net Wed Mar 11 08:09:14 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Mar 11 08:09:21 2009 Subject: acroread error with libgobject-2.0.so.0 References: <20090311141610.GA82966@skytracker.ca> Message-ID: David Banning wrote: > I have installed acroread8 with no errors, however on > execution I get the following error; > > /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: > error while loading shared libraries: libgobject-2.0.so.0: cannot open > shared object file: No such file or directory > > the file is there; > > $ cd /usr/local/lib > $ > $ ls -tld libgobject* > -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a > -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la > lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> > libgobject-2.0.so.0 > -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 > > and ldconfig sees it; > > $ ldconfig -r | grep libgobject > 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 > 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 > $ > > I have followed a few threads with similar error but have found no > resolution yet. > > Any pointers would be helpful. Please forgive if I seem a trifle dense, but how did you go about installing? If done using the ports system, as part of the process linux_compat and various linux-* ports should have installed as dependencies. Perhaps the install succeeded but left out linux_load="YES" from /boot/loader.conf? Possibly it may be one of the few things that need linprocfs_load="YES" too, but I doubt this because there would be a different error. I would expect it to be looking for the library referenced above somewhere below the /compat or /usr/compat (the first is a link) which is where the linuxolator resides. This library should be being provided by the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using the linuxolator to run. -Mike From wojtek at wojtek.tensor.gdynia.pl Wed Mar 11 08:09:58 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 11 08:10:05 2009 Subject: bsd vs gpl In-Reply-To: <20090311154613.0a90e64b.freebsd@edvax.de> References: <20090311012018.2075c3d9@gom.home> <20090311140247.GE86605@Grumpy.DynDNS.org> <20090311154613.0a90e64b.freebsd@edvax.de> Message-ID: > That's why the GPL is often called a "viral license". As GPL is a communist licence. From psteele at maxiscale.com Wed Mar 11 08:11:17 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 08:11:24 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <21664605.661236783895798.JavaMail.HALO$@halo> Message-ID: <20138265.681236784246466.JavaMail.HALO$@halo> >My question to you would be: What exactly do you mean by >"automatically detect"? The drive *is* automatically detected. >Should it be mounted afterwards? Yeah, I guess my wording was a little vague. I know that the system automatically detects when a USB drive is inserted, and creates the appropriate entries under /dev. I want to follow this up with having the drive automatically mounted, and I'll then examine the USB drive for specific files I expect to be present, and possible run something that's installed on the disk, then unmount the disk. We want to use this approach to deploy our software on large clusters of machines that may not have an IP identity. >You can use automounters to automatically mount devices when >they appear. In order how to determine file systems, slices >and partitions on such an USB device, you could, for example, >have a look at how FreeSBIE does it. If I can hook into an event that signals when a USB disk is inserted, I can take care of verifying the disk is in the format we expect it to be. >Additionally, there are already tools integrated in KDE and >Gnome that automount USB devices. Our boxes have no GUI so these may not work for us. We have a more specific application though and do not need a general purpose automounter. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From psteele at maxiscale.com Wed Mar 11 08:13:49 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 08:13:56 2009 Subject: How to auto-detect a USB drive? In-Reply-To: Message-ID: <28261019.721236784394267.JavaMail.HALO$@halo> This looks like it will do exactly what I need. Thanks for the pointer! ----- Original Message ----- From: "Wojciech Puchar" To: "Peter Steele" Cc: questions@freebsd.org Sent: Wednesday, March 11, 2009 8:08:20 AM GMT -08:00 US/Canada Pacific Subject: Re: How to auto-detect a USB drive? devd.conf On Wed, 11 Mar 2009, Peter Steele wrote: > I want to have a process running on my FreeBSD box that automatically detects when a USB drive is inserted. What's the easiest way to accomplish this? I know I could simply monitor /var/log/messages and look for the appropriate events to appear, but is there a more elegant way? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From masoom.shaikh at gmail.com Wed Mar 11 08:16:07 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Wed Mar 11 08:16:13 2009 Subject: hardware list in a machine In-Reply-To: <453684.84249.qm@web52105.mail.re2.yahoo.com> References: <453684.84249.qm@web52105.mail.re2.yahoo.com> Message-ID: devinfo -v On Tue, Mar 10, 2009 at 12:29 AM, gahn wrote: > > Hi all: > > How could I find out the list of hardware in my machine? I used "dmesg" and > "var/run/dmesg.boot", it didn't seem to help that much as I expected. > > which file lists all of hardware in the machine? > > Thanks. > > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From eitanadlerlist at gmail.com Wed Mar 11 08:16:39 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Wed Mar 11 08:16:46 2009 Subject: bsd vs gpl In-Reply-To: References: <20090311012018.2075c3d9@gom.home> <20090311140247.GE86605@Grumpy.DynDNS.org> <20090311154613.0a90e64b.freebsd@edvax.de> Message-ID: <49B7D5D5.2060908@gmail.com> Reader Chemisor advances a theory in his journal that a linguistic misunderstanding is at the root of many disagreements over different licensing philosophies, in particular BSD vs. GPL. The argument is that GPL adherents desire the freedom of their /code/, while those on the BSD side want freedom for their /projects/. http://news.slashdot.org/article.pl?sid=08/07/08/1832255 could we follow up to -chat please? -questions is usually meant for freeBSD questions. -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen From emorras at xroff.net Wed Mar 11 08:54:40 2009 From: emorras at xroff.net (Eduardo Morras) Date: Wed Mar 11 08:54:48 2009 Subject: bsd vs gpl In-Reply-To: References: <20090311012018.2075c3d9@gom.home> <20090311140247.GE86605@Grumpy.DynDNS.org> <20090311154613.0a90e64b.freebsd@edvax.de> Message-ID: <20090311155436.47BF94FC80A@xroff.net> At 16:09 11/03/2009, Wojciech Puchar wrote: >>That's why the GPL is often called a "viral license". As > >GPL is a communist licence. No, even communist are more generous ... ----------------------------------------------- Useful Acronyms: GPL = Greedy Peng?in Licence From wojtek at wojtek.tensor.gdynia.pl Wed Mar 11 09:04:27 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Mar 11 09:04:34 2009 Subject: bsd vs gpl In-Reply-To: <20090311155436.47BF94FC80A@xroff.net> References: <20090311012018.2075c3d9@gom.home> <20090311140247.GE86605@Grumpy.DynDNS.org> <20090311154613.0a90e64b.freebsd@edvax.de> <20090311155436.47BF94FC80A@xroff.net> Message-ID: > At 16:09 11/03/2009, Wojciech Puchar wrote: >>> That's why the GPL is often called a "viral license". As >> >> GPL is a communist licence. > > No, even communist are more generous ... It's not funny. Communism is common today, and it's getting stronger from day they just changed to names to hide. Computers are just one thing. As usual - Richard Stallman probably wanted good, but - it turned as usual. From freebsd-questions at lists.goldenpath.org Wed Mar 11 09:23:48 2009 From: freebsd-questions at lists.goldenpath.org (T.) Date: Wed Mar 11 09:23:55 2009 Subject: SYSCALL_MODULE macro modified? In-Reply-To: <49B70F38.9010305@lists.goldenpath.org> References: <49B70F38.9010305@lists.goldenpath.org> Message-ID: <49B7E592.8040806@lists.goldenpath.org> T. wrote: > Found 7.0's sysent.h file modified at the commonly used SYSCALL_MODULE > macro, > wasn't sure how I should modify my code to accommodate the change so > changed the sysent.h (yikes!). > No biggy right? Removed the AUE_NULL. That's all that's been added. > But the argument was NULL, so what the hell else could I do? AUE_NULL > didn't work. > And how can you be requiring anything else where once there was NULL. > And when I said NULL, I meant NULL! Boggling! This is related to some > audit stuff? > Anyway... > > #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ > static struct syscall_module_data name##_syscall_mod = { \ > evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \ > }; \ > \ > static moduledata_t name##_mod = { \ > #name, \ > syscall_module_handler, \ > &name##_syscall_mod \ > }; \ > DECLARE_MODULE(name, name##_mod, SI_SUB_SYSCALLS, SI_ORDER_MIDDLE) > _______________________________________________ So, if anyone else is interested / doesn't already know, if you encounter AUE_NULL errors compiling rather than go and removing AUE_NULL from the system source (which works too), you can just add #include That's where AUE_NULL is defined. You'd think they would have included that in the macro then, eh? From gesbbb at yahoo.com Wed Mar 11 09:40:41 2009 From: gesbbb at yahoo.com (Jerry) Date: Wed Mar 11 09:40:49 2009 Subject: p5-Digest-HMAC-1.01 installation is corrupt! In-Reply-To: <49B7B8FD.2000702@enabled.com> References: <49B7B609.5080303@enabled.com> <200903111304.n2BD4beo093197@banyan.cs.ait.ac.th> <49B7B8FD.2000702@enabled.com> Message-ID: <20090311124027.1eb2580e@scorpio> On Wed, 11 Mar 2009 06:13:33 -0700 Noah wrote: >yes and I still get the error again when running portmanager ># pkg_delete -f p5-Digest-HMAC-1.01 >pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other >packages >and may not be deinstalled (but I'll delete it anyway): >p5-Mail-SpamAssassin-3.2.5_1 >pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix ># ># portmanager -u -y >rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" >not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS > p5-Digest-HMAC-1.01 installation is corrupt! > recomend running "pkg_delete -f p5-Digest-HMAC-1.01" >then manually reinstalling this port >rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" >not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS > p5-Digest-HMAC-1.01 installation is corrupt! > recomend running "pkg_delete -f p5-Digest-HMAC-1.01" >then manually reinstalling this port >------------------------------------------------------------------------ >portmanager 0.4.1_9: Collecting installed port data >------------------------------------------------------------------------ >^CMGPMrCatchSignal received signal -=>2 Please don't top post. If you don't know what that means, Google for it. Try running pkg_delete with the [-d] & [-v] options also. pkg_delete -dfv p5-Digest-HMAC-1.01 Paste the output here if there is a problem. Then run portmanager: portmanager security/p5-Digest-HMAC -l -f -y See if that clears up your problem. -- Jerry gesbbb@yahoo.com Man is an animal that makes bargains: no other animal does this-- no dog exchanges bones with another. Adam Smith -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/8594e567/signature.pgp From rsmith at xs4all.nl Wed Mar 11 10:43:07 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Mar 11 10:43:15 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <20138265.681236784246466.JavaMail.HALO$@halo> References: <21664605.661236783895798.JavaMail.HALO$@halo> <20138265.681236784246466.JavaMail.HALO$@halo> Message-ID: <20090311174304.GA67007@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 08:10:46AM -0700, Peter Steele wrote: > >My question to you would be: What exactly do you mean by > >"automatically detect"? The drive *is* automatically detected. > >Should it be mounted afterwards? > > Yeah, I guess my wording was a little vague. I know that the system > automatically detects when a USB drive is inserted, and creates the > appropriate entries under /dev. I want to follow this up with having > the drive automatically mounted, and I'll then examine the USB drive > for specific files I expect to be present, and possible run something > that's installed on the disk, then unmount the disk. We want to use > this approach to deploy our software on large clusters of machines > that may not have an IP identity. The easiest way (I think) is to use devd, in combination with a USB drive that has a unique label. Say you have a USB drive formatted with a UFS filesystem. You use 'tunefs -L' to give this drive a unique label, e.g. 'FOO'. Then you can put the following in /etc/devd.conf notify 1000 { match "system" "DEVFS"; match "subsystem" "CDEV"; match "cdev" "/dev/ufs/FOO"; action "sh /usr/local/sbin/autorun /dev/ufs/FOO &"; }; Where the script /usr/local/sbin/autorun would contain the required actions (mount, check, run, umount, beep). The reason for using a labeled device is that you might not want to run the script on any old USB drive! If you want to use a FAT formatted drive you should use /dev/msdosfs/FOO for the path. Last week I submitted a patch to get this system and subsystem documented in the manual page of devd.conf. It should be in CURRENT now, and will be MFC'd to STABLE in a week or so. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/c48312ce/attachment.pgp From david at skytracker.ca Wed Mar 11 10:48:53 2009 From: david at skytracker.ca (David Banning) Date: Wed Mar 11 10:49:00 2009 Subject: acroread error with libgobject-2.0.so.0 In-Reply-To: References: <20090311141610.GA82966@skytracker.ca> Message-ID: <49B7F6C3.7000507@skytracker.ca> Michael Powell wrote: > David Banning wrote: > > >> I have installed acroread8 with no errors, however on >> execution I get the following error; >> >> /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: >> error while loading shared libraries: libgobject-2.0.so.0: cannot open >> shared object file: No such file or directory >> >> the file is there; >> >> $ cd /usr/local/lib >> $ >> $ ls -tld libgobject* >> -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a >> -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la >> lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> >> libgobject-2.0.so.0 >> -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 >> >> and ldconfig sees it; >> >> $ ldconfig -r | grep libgobject >> 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 >> 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 >> $ >> >> I have followed a few threads with similar error but have found no >> resolution yet. >> >> Any pointers would be helpful. >> > > Please forgive if I seem a trifle dense, but how did you go about > installing? If done using the ports system, as part of the process > linux_compat and various linux-* ports should have installed as > dependencies. Perhaps the install succeeded but left out linux_load="YES" > from /boot/loader.conf? > I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) but it didn't touch the /boot/loader.conf file. Is there a way to load this without rebooting? > Possibly it may be one of the few things that need linprocfs_load="YES" too, > but I doubt this because there would be a different error. > I'll look at that. > I would expect it to be looking for the library referenced above somewhere > below the /compat or /usr/compat (the first is a link) which is where the > linuxolator resides. This library should be being provided by the linux- > gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be using > the linuxolator to run. > > The acroread8 port did not install linux-gtk2 ports are up-to-date. From psteele at maxiscale.com Wed Mar 11 10:49:49 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 10:49:58 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <20090311174304.GA67007@slackbox.xs4all.nl> Message-ID: <27422526.801236793758736.JavaMail.HALO$@halo> > Last week I submitted a patch to get this system and subsystem >documented in the manual page of devd.conf. It should be in CURRENT now, >and will be MFC'd to STABLE in a week or so. This looks like exactly what we need, except we're using 7.0, and are too close to releasing 1.0 of our software to make a switch to 7.1 now (QA would want to run weeks of testing). What are the issues with devd and 7.0? From rsmith at xs4all.nl Wed Mar 11 11:02:40 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Mar 11 11:02:47 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <27422526.801236793758736.JavaMail.HALO$@halo> References: <20090311174304.GA67007@slackbox.xs4all.nl> <27422526.801236793758736.JavaMail.HALO$@halo> Message-ID: <20090311180237.GB67007@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 10:49:18AM -0700, Peter Steele wrote: > >Last week I submitted a patch to get this system and subsystem > >documented in the manual page of devd.conf. It should be in CURRENT now, > >and will be MFC'd to STABLE in a week or so. > > This looks like exactly what we need, except we're using 7.0, and are > too close to releasing 1.0 of our software to make a switch to 7.1 > now (QA would want to run weeks of testing). > > What are the issues with devd and 7.0? It's missing the call to devctl_notify in the devfs handling. This was added to RELENG_7 on the 28th of May 2008. You'll need at least rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=u&only_with_tag=RELENG_7&logsort=date Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/b0fb8d76/attachment.pgp From jmc-freebsd2 at milibyte.co.uk Wed Mar 11 11:09:27 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Wed Mar 11 11:09:39 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <20138265.681236784246466.JavaMail.HALO$@halo> References: <20138265.681236784246466.JavaMail.HALO$@halo> Message-ID: <200903111809.25108.jmc-freebsd2@milibyte.co.uk> On Wednesday 11 March 2009, Peter Steele wrote: > Yeah, I guess my wording was a little vague. I know that the system > automatically detects when a USB drive is inserted, and creates the > appropriate entries under /dev. I want to follow this up with having > the drive automatically mounted, and I'll then examine the USB drive > for specific files I expect to be present, and possible run something > that's installed on the disk, then unmount the disk. We want to use > this approach to deploy our software on large clusters of machines > that may not have an IP identity. I do something like this. Here's the rules I have in /usr/local/etc/devd.conf #----------------------------------------------------------------- # # Generic USB devices # attach 10 { match "device-name" "umass0"; action "sleep 2; /root/bin/usbstick_attach > /dev/console"; }; # # Cameras # attach 20 { match "device-name" "umass0"; match "vendor" "0x(07b4|04b0)"; action "/bin/sleep 2 && mount -t msdosfs /dev/da0s1 /camera && /root/bin/camcopy && umount /camera && echo ^G > /dev/console"; }; #----------------------------------------------------------------- For most USB storage devices /root/bin/usbstick_attach parses the output of `camcontrol devlist` looking for entries like (da*,pass*) or (pass*,da*) and then it sets the permissions on the device to 660 and, for convenience, creates a link called usbstick in the dev directory pointing to the real device. This way the I can always mount /dev/usbstick on one of my own subdirectories without having to determine what device was created. I could have made the script mount the USB stick but if I have to make the effort to mount it myself I might be more likely to remember to unmount it afterwards. The cameras are a special case since all I want to do is to check for new photos and copy them to my photo archive so if devd detects one of my cameras it mounts the camera with the higher priority "attach 20" rule which invokes /root/bin/camcopy to copy the photos before unmounting the camera and sounding the console bell to let me know I can unplug it. The scripts are a bit primitive and get totally confused if I insert more than one USB storage device at a time so would need some refinement for general use but work OK for me as the only user on this PC. -- Mike Clarke From dan-freebsd-questions at ourbrains.org Wed Mar 11 11:10:49 2009 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Wed Mar 11 11:11:06 2009 Subject: Disabling write cache on eSATA enclosures Message-ID: <20090311181107.GA26852@ourbrains.org> Hi. atacontrol is reporting that the write cache on an eSATA enclosure I am using (Silicon Image chipset) with Silicon Image SATA controller has write cache enabled even though I want it disabled in loader.conf. My feeling is this has to be controlled by the enclosure, though such control doesn't exist. Is this it, or is the OS still responsible for turning off cache on external drives? What's your experience? Thanks. From psteele at maxiscale.com Wed Mar 11 11:13:38 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 11:13:48 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <11870126.841236795067655.JavaMail.HALO$@halo> Message-ID: <5363853.861236795187150.JavaMail.HALO$@halo> >It's missing the call to devctl_notify in the devfs handling. This was >added to RELENG_7 on the 28th of May 2008. You'll need at least >rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=u&only_with_tag=RELENG_7&logsort=date Looks like were out of luck then. Our version is 1.208.2.1 from circa 2007/12/07. I assume we can't just replace this one file with the latest version? We simply cannot move to 7.1 at this point. We have some substantial kernel mods that would need to be ported and tested in the 7.1 code base and there simply isn't time for that. From rsmith at xs4all.nl Wed Mar 11 11:15:43 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Mar 11 11:15:49 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <27422526.801236793758736.JavaMail.HALO$@halo> References: <20090311174304.GA67007@slackbox.xs4all.nl> <27422526.801236793758736.JavaMail.HALO$@halo> Message-ID: <20090311181537.GC67007@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 10:49:18AM -0700, Peter Steele wrote: > >Last week I submitted a patch to get this system and subsystem > >documented in the manual page of devd.conf. It should be in CURRENT now, > >and will be MFC'd to STABLE in a week or so. > > This looks like exactly what we need, except we're using 7.0, and are > too close to releasing 1.0 of our software to make a switch to 7.1 > now (QA would want to run weeks of testing). An alternative solution is to run a script from a cron job that checks for the labeled device and performs the necessary actions if found. It could mean that you have to wait up to a minute (the minimum granularity of cron) for the process to start. You have to make sure that the script fails gracefully if it is started while a previous instance is still running! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/e6fede7a/attachment.pgp From psteele at maxiscale.com Wed Mar 11 11:15:51 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 11:15:59 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <200903111809.25108.jmc-freebsd2@milibyte.co.uk> Message-ID: <1560666.901236795319377.JavaMail.HALO$@halo> > The scripts are a bit primitive and get totally confused if I insert >more than one USB storage device at a time so would need some >refinement for general use but work OK for me as the only user on this >PC. Thanks, I'll give this a try and see how it works. We have a very simple requirement as well so something primitive will be enough, as long as it works. From rsmith at xs4all.nl Wed Mar 11 11:20:55 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Mar 11 11:21:01 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <200903111809.25108.jmc-freebsd2@milibyte.co.uk> References: <20138265.681236784246466.JavaMail.HALO$@halo> <200903111809.25108.jmc-freebsd2@milibyte.co.uk> Message-ID: <20090311182051.GD67007@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 06:09:24PM +0000, Mike Clarke wrote: > The scripts are a bit primitive and get totally confused if I insert > more than one USB storage device at a time so would need some > refinement for general use but work OK for me as the only user on this > PC. If you give the msdosfs filesystem a unique label (with e.g. mlabel from emulators/mtools), you'll get a unique device in /dev/msdosfs/. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/99ec6bd9/attachment.pgp From rsmith at xs4all.nl Wed Mar 11 11:34:39 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Mar 11 11:34:46 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <5363853.861236795187150.JavaMail.HALO$@halo> References: <11870126.841236795067655.JavaMail.HALO$@halo> <5363853.861236795187150.JavaMail.HALO$@halo> Message-ID: <20090311183435.GE67007@slackbox.xs4all.nl> On Wed, Mar 11, 2009 at 11:13:08AM -0700, Peter Steele wrote: > >It's missing the call to devctl_notify in the devfs handling. This was > >added to RELENG_7 on the 28th of May 2008. You'll need at least > >rev. 1.208.2.4 of /usr/src/sys/kern/kern_conf.c. See: > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_conf.c?f=u&only_with_tag=RELENG_7&logsort=date > > Looks like were out of luck then. Our version is 1.208.2.1 from circa > 2007/12/07. I assume we can't just replace this one file with the > latest version? It might work. You'd have to look around in the CVS database [cvsweb.freebsd.org] to see if the changes in question touch other files as well. > We simply cannot move to 7.1 at this point. We have > some substantial kernel mods that would need to be ported and tested > in the 7.1 code base and there simply isn't time for that. Then try another solution: a cron job, as explained in another msg. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090311/8038a852/attachment.pgp From psteele at maxiscale.com Wed Mar 11 11:40:14 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Mar 11 11:40:20 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <20090311183435.GE67007@slackbox.xs4all.nl> Message-ID: <33214037.941236796780013.JavaMail.HALO$@halo> >Then try another solution: a cron job, as explained in another msg. Yeah, that's probably the simplest approach. This was my first thought, but I figured there'd be a more elegant way of doing it if I could tie into the drive insert event.... From 2four1 at gmail.com Wed Mar 11 12:00:18 2009 From: 2four1 at gmail.com (j.) Date: Wed Mar 11 12:00:24 2009 Subject: reclaiming /var capacity? Message-ID: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> Where did my capacity go and how can I get it back? deathray# du -sh /var 70M /var deathray# df -h /var Filesystem Size Used Avail Capacity Mounted on /dev/da0d 248M 214M 15M 94% /var Thanks, --j. From yuri.pankov at gmail.com Wed Mar 11 12:04:31 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Wed Mar 11 12:04:38 2009 Subject: reclaiming /var capacity? In-Reply-To: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> References: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> Message-ID: <20090311190422.GA71253@darklight.homeunix.org> On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: > Where did my capacity go and how can I get it back? > > deathray# du -sh /var > 70M /var > > > deathray# df -h /var > Filesystem Size Used Avail Capacity Mounted on > /dev/da0d 248M 214M 15M 94% /var > > > Thanks, > > --j. http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF HTH, Yuri From nealhogan at gmail.com Wed Mar 11 12:05:04 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Mar 11 12:05:11 2009 Subject: reclaiming /var capacity? In-Reply-To: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> References: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> Message-ID: On Wed, Mar 11, 2009 at 1:30 PM, j. <2four1@gmail.com> wrote: > Where did my capacity go and how can I get it back? > > deathray# du -sh /var > 70M /var > > > deathray# df -h /var > Filesystem Size Used Avail Capacity Mounted on > /dev/da0d 248M 214M 15M 94% /var > > > Thanks, Are your log (/var/log) being flushed or overly produced? > > --j. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com From nightrecon at verizon.net Wed Mar 11 12:10:08 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Mar 11 12:10:29 2009 Subject: acroread error with libgobject-2.0.so.0 References: <20090311141610.GA82966@skytracker.ca> <49B7F6C3.7000507@skytracker.ca> Message-ID: David Banning wrote: [snip] >> >> Please forgive if I seem a trifle dense, but how did you go about >> installing? If done using the ports system, as part of the process >> linux_compat and various linux-* ports should have installed as >> dependencies. Perhaps the install succeeded but left out linux_load="YES" >> from /boot/loader.conf? >> > I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) > but it didn't touch the /boot/loader.conf file. > > Is there a way to load this without rebooting? Yes - kldload linux.ko That is provided that the linuxolator was actually installed as it should have been. See below. Placing linux_load="YES" in loader.conf will just ensure it's always loaded at every boot. >> Possibly it may be one of the few things that need linprocfs_load="YES" >> too, but I doubt this because there would be a different error. >> > I'll look at that. Probably not required. IIRC the error associated with this is pretty clear. >> I would expect it to be looking for the library referenced above >> somewhere below the /compat or /usr/compat (the first is a link) which is >> where the linuxolator resides. This library should be being provided by >> the linux- gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it >> should be using the linuxolator to run. >> >> > The acroread8 port did not install linux-gtk2 > Maybe something b0rked in dependency land. I believe the object failing to load is part of this port. You can install it manually. Here is what the ports says on the web site: acroread8-8.1.3_1 Adobe Reader for view, print, and search PDF documents (ENU) Long description : Sources : Changes : Download Maintained by: hrs@FreeBSD.org Also listed in: linux Requires: acroreadwrapper-0.0.20080906, hicolor-icon-theme-0.10_2, linux-atk-1.9.1_1, linux-cairo-1.0.2, linux-expat-1.95.8, linux-fontconfig-2.2.3_7, linux-gtk2-2.6.10_1, linux-hicolor-icon-theme-0.5_1, linux-jpeg-6b.34, linux-nvu-1.0_1, linux-pango-1.10.2_1, linux-png-1.2.8_2, linux-scim-gtk-fc4-1.4.4, linux-scim-libs-fc4-1.4.4_1, linux-tiff-3.7.1, linux-xorg-libs-6.8.2_5, linux_base-fc-4_14 Theoretically dependency tracking in the ports system should have installed all of these, and anything they in turn depend on. Also notice that the default linux version is fedora core 4 which is rather old. It is entirely possible that even with all of the other dependencies above properly installed it could still fail if the binary blob from Adobe was compiled against a later version. If such were the case I'd imagine someone would have pinged the port maintainer by now, so I sort of discount the possibility. One clue is the default behavior inherent in acroread8 is it will fall back to trying to use FreeBSD libs in place of the linux versions it can't find. This is what your errors are displaying. -Mike From jamgill at gmail.com Wed Mar 11 12:23:52 2009 From: jamgill at gmail.com (jamgill) Date: Wed Mar 11 12:23:58 2009 Subject: reclaiming /var capacity? In-Reply-To: <20090311190422.GA71253@darklight.homeunix.org> References: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> <20090311190422.GA71253@darklight.homeunix.org> Message-ID: <9da4e0e90903111223j7549c28ak16c2d14739507992@mail.gmail.com> On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov wrote: > On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: > > Where did my capacity go and how can I get it back? > > > > deathray# du -sh /var > > 70M /var > > > > > > deathray# df -h /var > > Filesystem Size Used Avail Capacity Mounted on > > /dev/da0d 248M 214M 15M 94% /var > > > > > > Thanks, > > > > --j. > > http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF > > Thanks, Yuri. According to the FAQ you linked, wouldn't a good smattering of "sync ; sync ; sync ; sync ; sync" cause the the two to reflect the sizes accurately? This problem has been going on for some time now, so I have more than exceeded the recommendation to "wait up to 30 seconds". It does appear that softupdates are on, if that matters. deathray# dumpfs /var | grep -i soft flags soft-updates As the FAQ and Neal's response point out, this is where logs go, but I have cleaned out logs several times over the last few months, so that doesn't appear to be the problem: deathray# du -sh /var/log 1.5M /var/log I am also not sure what to make of the 5% inode usage on this volume: deathray# df -hi /var Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/da0d 248M 214M 15M 94% 1720 31302 5% /var --j. From prad at towardsfreedom.com Wed Mar 11 12:36:48 2009 From: prad at towardsfreedom.com (prad) Date: Wed Mar 11 12:36:54 2009 Subject: bsd vs gpl In-Reply-To: <20090311012018.2075c3d9@gom.home> References: <20090311012018.2075c3d9@gom.home> Message-ID: <20090311123644.77f632e3@gom.home> On Wed, 11 Mar 2009 01:20:18 -0700 prad wrote: > do people here have any thoughts on the two different licenses? > thank you everyone for your comments on this topic. the links some of you provided were very interesting and helpful. i had no idea there were so many licenses either!!! it is a curious situation that the 'freedom' which insists on propagating itself (gpl), can be argued to be not really free, while 'freedom' without such a restriction can permit its own termination. i like this summation the best: "The bottom line is, the GPL is not anti-commercial or anti- capitalistic; it is only anti-proprietary. The BSD license, on the other hand, is very unrestrictive, and allows proprietary knockoffs. Which you choose depends on what you need and what you value. There's nothing more to it than that." (http://slashdot.org/articles/99/06/23/1313224.shtml) now off to establish what we value ... -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From jonc at chen.org.nz Wed Mar 11 12:57:43 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Wed Mar 11 12:57:49 2009 Subject: reclaiming /var capacity? In-Reply-To: <9da4e0e90903111223j7549c28ak16c2d14739507992@mail.gmail.com> References: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> <20090311190422.GA71253@darklight.homeunix.org> <9da4e0e90903111223j7549c28ak16c2d14739507992@mail.gmail.com> Message-ID: <20090311195740.GA70853@osiris.chen.org.nz> On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote: > On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov wrote: > > > On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: > > > Where did my capacity go and how can I get it back? > > > > > > deathray# du -sh /var > > > 70M /var > > > > > > > > > deathray# df -h /var > > > Filesystem Size Used Avail Capacity Mounted on > > > /dev/da0d 248M 214M 15M 94% /var > > > > > > > > > Thanks, > > > > > > --j. > > > > http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF > > > > > > Thanks, Yuri. According to the FAQ you linked, wouldn't a good smattering > of "sync ; sync ; sync ; sync ; sync" cause the the two to reflect the sizes > accurately? This will do nothing if a process has an open file descriptor on a deleted file. Use fstat(1) or lsof to help hunt down the offending process. -- Jonathan Chen ---------------------------------------------------------------------- When all else fails, RTFM From jmc-freebsd2 at milibyte.co.uk Wed Mar 11 13:16:59 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Wed Mar 11 13:17:05 2009 Subject: How to auto-detect a USB drive? In-Reply-To: <20090311182051.GD67007@slackbox.xs4all.nl> References: <20138265.681236784246466.JavaMail.HALO$@halo> <200903111809.25108.jmc-freebsd2@milibyte.co.uk> <20090311182051.GD67007@slackbox.xs4all.nl> Message-ID: <200903112016.54859.jmc-freebsd2@milibyte.co.uk> On Wednesday 11 March 2009, Roland Smith wrote: > If you give the msdosfs filesystem a unique label (with e.g. mlabel > from emulators/mtools), you'll get a unique device in /dev/msdosfs/. Yes, but sometimes I'll be transferring data to or from someone else's USB stick so I can't make any assumptions about how the filesystem has been labeled. -- Mike Clarke From bsam at ipt.ru Wed Mar 11 13:27:58 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Mar 11 13:28:07 2009 Subject: acroread error with libgobject-2.0.so.0 In-Reply-To: <49B7F6C3.7000507@skytracker.ca> (David Banning's message of "Wed\, 11 Mar 2009 13\:37\:07 -0400") References: <20090311141610.GA82966@skytracker.ca> <49B7F6C3.7000507@skytracker.ca> Message-ID: <45193864@h30.sp.ipt.ru> On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: > Michael Powell wrote: > > David Banning wrote: > > > > > >> I have installed acroread8 with no errors, however on > >> execution I get the following error; > >> > >> /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: > >> error while loading shared libraries: libgobject-2.0.so.0: cannot open > >> shared object file: No such file or directory Something is wrong with your system/ports... > >> the file is there; > >> > >> $ cd /usr/local/lib > >> $ > >> $ ls -tld libgobject* > >> -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a > >> -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la > >> lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> > >> libgobject-2.0.so.0 > >> -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 These are native FreeBSD libraries. > >> and ldconfig sees it; Yes, native FreeBSD ldconfig sees it's native libraies. > >> $ ldconfig -r | grep libgobject > >> 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 > >> 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 > >> $ > >> > >> I have followed a few threads with similar error but have found no > >> resolution yet. > >> > >> Any pointers would be helpful. A linux application (i.e. acroread8) use linux libraries which by default are installed to /compat/linux. > > Please forgive if I seem a trifle dense, but how did you go about > > installing? If done using the ports system, as part of the process > > linux_compat and various linux-* ports should have installed as > > dependencies. Perhaps the install succeeded but left out > > linux_load="YES" > > from /boot/loader.conf? > I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) Please, show commands you had given. > but it didn't touch the /boot/loader.conf file. > Is there a way to load this without rebooting? > > Possibly it may be one of the few things that need > > linprocfs_load="YES" too, but I doubt this because there would be a > > different error. > > > I'll look at that. > > I would expect it to be looking for the library referenced above > > somewhere below the /compat or /usr/compat (the first is a link) > > which is where the linuxolator resides. This library should be being > > provided by the linux- > > gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be > > using the linuxolator to run. > > > > > The acroread8 port did not install linux-gtk2 > ports are up-to-date. Please, show an output of commands: % pkg_info -xI linux % (cd /usr/ports/print/acroread8 && make all-depends-list | grep linux) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From mlfreebsd at streamingedge.com Wed Mar 11 13:39:56 2009 From: mlfreebsd at streamingedge.com (FreeBSD List) Date: Wed Mar 11 13:40:04 2009 Subject: Disabling write cache on eSATA enclosures In-Reply-To: <20090311181107.GA26852@ourbrains.org> References: <20090311181107.GA26852@ourbrains.org> Message-ID: <49B82198.4020503@streamingedge.com> I've got an external eSATA enclosure as well which is using a Silicon Image Chipset and its connected to a Silicon Image SATA controller just like yours. So far, I haven't figured out how to turn off the write cache. I even tried playing with it on Windows (both XP & Vista) and so far, there is no way to disable it. This seems like a common problem with Silicon Image Chipset + Silicon Image SATA controller. There's a lot of complains on google about this but no fixes that work. If anyone on the list has any first hand experience in resolving this, I'm all ears. -- Jacques Manukyan Dan wrote: > Hi. atacontrol is reporting that the write cache on an eSATA enclosure I > am using (Silicon Image chipset) with Silicon Image SATA controller has > write cache enabled even though I want it disabled in loader.conf. My > feeling is this has to be controlled by the enclosure, though such > control doesn't exist. Is this it, or is the OS still responsible for > turning off cache on external drives? What's your experience? Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From mathieu.chappuis.lists at gmail.com Wed Mar 11 14:11:23 2009 From: mathieu.chappuis.lists at gmail.com (Mathieu Chappuis) Date: Wed Mar 11 14:13:20 2009 Subject: Freeze on bootstrap loader (CD) using ATA/133 Promise FastTrak TX2000 Message-ID: <935eeb180903111339k4230611at6a1b73da52620900@mail.gmail.com> Hello, I'm stopped on first step of boot for install FreeBSD from CD/DVD.. The first indicator | freezes, not rotating.. Tried with FreeBSD 7.1 i386, amd64. (DVD and CD) FreeBSD 7.0 bootstrap give more info, but freeze at the same step, giving a sort of register dump with tons of "es: 00000" etc, too fast for read. My short boot process looks like that : --------------------------------------------- Boot from CD/DVD : CD Loader 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.02 Consoles : internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 BIOS 628kB/1963904Kb available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@driscoll.css.buffalo.edu, Yhu Jan 1 07:21:03 UTC 2009) | ---------------------------------------------- And that's all. CPU : http://www.cpu-world.com/CPUs/K8/AMD-Athlon%2064%20X2%203800%2B%20-%20ADO3800IAA5CU%20(ADO3800CUBOX).html Motherboard Gigabyte GA-MA78G-DS3H IDE "Raid" Controler : Promise FastTrak TX2000 ATA/133 Last bios rev : 2.00.0.33 (same behavior with 2.00.0.22) Hard Disk are Seagate 80G, identical models. Note the freeze occurs only if disks are plugged on the FastTrak ATA Card. Boot is okay with no disk attached, but the card plugged. The system is booting on the controler with an "existing" system (WIN2K Recycling!) The system also is booting and installing with Debian Lenny. The boot and install are also OK with NetBSD 4.0 and 4.0.1 (i386 and amd64). Just a note, with a degraded array the NetBSD boot is halted (small console system), but after a bios-rebuild (RAID), the system boot again. After disabling some stuff in the BIOS (No SATA, no Floppy), changed ATA Connector #1->#2, used other PCI Slot, etc. same freeze at boot. The system is not OverClocked. I've also upgraded the FastTrak Bios from 2.00.0.22 to 2.00.0.33 (Promise talk about a boot problem on CD corrected with 2.00.0.28). I've plugged the Card and Drives onto another hardware (Compaq Evo 51s) and everything is okay with FreeBSB version (7.0,7.1 i386) Is there a way to ftp,ssh or just run dmesg (without harddisk plugged) from the first install menu stage ? (I dont see any message about the FastTrak TX2000 during boot, but scroll too fast..) I can also do an install to grab the dmesg output if you like more informations. Thanks for reading.. PS : Apologies for submiting a problem occuring on this model of GigaByte motherboard, but such freeze is very unusual for me, used some OS'es so far. This system is planned to boot using TX2000 with all "datas" stored on 2 or more sata disks using software raid with geom : dedicated array. I can also install using SATA and drop the oldi ATA/133 stuff.. But I like have separate boot/work array ATA:(/, usr, swap ) and separate storage SATA,GEOM:(/var,/home,..) -- Mathieu From mariopnh at gmail.com Wed Mar 11 14:28:10 2009 From: mariopnh at gmail.com (Mario PNH) Date: Wed Mar 11 14:28:16 2009 Subject: Ports Collection Message-ID: <5d5f67170903111401j3695d4c4pfe5e4a4bd704a9cd@mail.gmail.com> I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd /usr/ports/x11/gnome2 # make install clean I have burned the DVD of 6.4 version lately and I don't know if that's all I needed to install gnome2 instead of using Ports Collection. Thanks, Mario Palmer From admin.dragos at gmail.com Wed Mar 11 14:28:54 2009 From: admin.dragos at gmail.com (Dragos) Date: Wed Mar 11 14:29:00 2009 Subject: Can't work out which disk we are booting from Message-ID: <49B8273C.8080003@gmail.com> Hi, I have installed freebsd 7.1 on a 8GB usb flash drive. Now, it seems that the freebsd loader is unable to identify the usb disk where is booting from(da0s1a). The loader runs fine from the stick but gets confused on the drive it runs from, and the kernel it's not loaded. Here is what the loader prints out: [...] Bios drive A: is disk0 [...] Can't work out which disk we are booting from. Guessed BIOS device 0x80 not found by probes, defaulting to disk0: can't load 'kernel' I installed grub too and grub is loading the freebsd loader just fine, but the freebsd loader still get confused. Unfortunately I wasn't able to load the kernel (/boot/kernel/kernel) directly from grub. Best regards, Dragos From shinjii at maydias.com Wed Mar 11 15:25:54 2009 From: shinjii at maydias.com (Warren Liddell) Date: Wed Mar 11 15:26:02 2009 Subject: USB Port getting disabled on Boot Message-ID: <49B83A68.5010605@maydias.com> Im running FreeBSD 7.1-STABLE AMD64 an each time i boot my machine i have to unplug every USB device otherwise it disables the USB port and quite frankly its a very big nuisence since nearly all i use is USB ... is there anything i can do to prevent//curtail this issue ? From jamgill at gmail.com Wed Mar 11 15:34:14 2009 From: jamgill at gmail.com (jamgill) Date: Wed Mar 11 15:34:22 2009 Subject: reclaiming /var capacity? In-Reply-To: <20090311195740.GA70853@osiris.chen.org.nz> References: <9da4e0e90903111130o71de8b54xc417b51c1aaf31dd@mail.gmail.com> <20090311190422.GA71253@darklight.homeunix.org> <9da4e0e90903111223j7549c28ak16c2d14739507992@mail.gmail.com> <20090311195740.GA70853@osiris.chen.org.nz> Message-ID: <9da4e0e90903111534n35cfed99h1b5f5aeef3adee3f@mail.gmail.com> On Wed, Mar 11, 2009 at 3:57 PM, Jonathan Chen wrote: > On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote: > > On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov > wrote: > > > > > On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote: > > > > Where did my capacity go and how can I get it back? > > > > > > > > deathray# du -sh /var > > > > 70M /var > > > > > > > > > > > > deathray# df -h /var > > > > Filesystem Size Used Avail Capacity Mounted on > > > > /dev/da0d 248M 214M 15M 94% /var > > > > > > > > > > > > Thanks, > > > > > > > > --j. > > > > > > http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF > > > > > > > > > > Thanks, Yuri. According to the FAQ you linked, wouldn't a good > smattering > > of "sync ; sync ; sync ; sync ; sync" cause the the two to reflect the > sizes > > accurately? > > This will do nothing if a process has an open file descriptor on a > deleted file. Use fstat(1) or lsof to help hunt down the offending > process. Thanks for the reply. This helped me solve my problem. fstat /var didn't show me anything interesting, but fstat -v var did indicate a bunch of "cant read vnode at 0x0 for pid ..." so i installed lsof and saw that httpd and mysqld had a lot more open files than I expected, and several of those were not open to a specific file but to /var (/dev/da0d) ... after restarting the services (i cheated, I rebooted) the space reported by du and df are now much closer. And, importantly, postfix knows it has some room to do its thing in the /var partition. Thanks again. > > -- > Jonathan Chen > ---------------------------------------------------------------------- > When all else fails, RTFM > -- "Build a man a fire, he'll be warm for a night... set a man on fire, he will be warm for the rest of his life" From invalid.pointer at gmail.com Wed Mar 11 16:04:59 2009 From: invalid.pointer at gmail.com (manish jain) Date: Wed Mar 11 16:05:07 2009 Subject: Problem with installing curl/xine Message-ID: Hi all, I was trying to install xine on my FreeBSD 7.1 system. At one point, it came up with an options dialog (curses-based) where I enabled GNU TLS. Since then, xine stops compilation with the following error : curl-7.19.2 may use GNU TLS only if OpenSSL support is disabled. Error code 1 I checked the Makefile in /usr/port/ftp/curl but could not figure out any way to disable either GNU TLS or OpenSSL support. So in the current situation, I cannot install curl and therefore cannot install xine. Can somebody please help me get out of this situation ? Thanks in advance Manish Jain invalid.pointer@gmail.com From cwhiteh at onetel.com Wed Mar 11 16:30:24 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Wed Mar 11 16:30:32 2009 Subject: is there a laptop ? In-Reply-To: References: Message-ID: <49B8498B.9080402@onetel.com> Saifi Khan wrote: > Hi all: > > i've looked at tuxmobil, bsdgroup.de etc and i don't want to use > ndiswrapper, or broadcom or additional PCMCIA card at all. > > Is there a laptop model (available in market) that experienced > members would like to recommend wherein > . the WiFi 802.11 a/g (PCI based) > . Ethernet port > . and ACPI > work absolutely fine with FreeBSD 7.x ? > > > thanks > Saifi. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > HP nc6320 (google RH383ET) - most things work, including wifi and ethernet, except for the following: - gives a repeated message like acpi_tz0 absurd value ignoring - dmesg shows dvd drive errors on each boot and later hald-addon-storage will start using 100%cpu till it is killed (I think they are connected but haven't really investigated) - with FreeBSD (latest PCBSD) cpu fan comes on more than it did with windows and battery doesn't last as long - haven't tested suspend/resume or internal modem. - don't think the finger print reader or the card reader are recognised. - build quality is probably not as good as the IBM's Sorry not to give exact messages, I'm at a different machine but I can give you dmesg etc later if required. Chris PS don't buy from laptopsdirect.co.uk unless you want to get spammed from them and various associated online shops. From invalid.pointer at gmail.com Wed Mar 11 17:04:28 2009 From: invalid.pointer at gmail.com (manish jain) Date: Wed Mar 11 17:04:35 2009 Subject: Problem with installing acroread8 Message-ID: <49B851E1.7040601@gmail.com> Hi all, I got another problem I can't solve on my own. I was trying to install acroread8 from /usr/ports and came up with the following : ===> Generating temporary packing list ===> Checking if x11-toolkits/linux-pango already installed cd /usr/ports/x11-toolkits/linux-pango/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \; cd /usr/ports/x11-toolkits/linux-pango/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux 1437 blocks /compat/linux/usr/bin/pango-querymodules-32: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory *** Error code 127 Can anybody please tell me how to get around this problem ? Thanks in advance Manish Jain invalid.pointer@gmail.com From rwmaillists at googlemail.com Wed Mar 11 17:56:16 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Mar 11 17:56:23 2009 Subject: Problem with installing curl/xine In-Reply-To: References: Message-ID: <20090312005609.7bf6300c@gumby.homeunix.com> On Thu, 12 Mar 2009 04:34:57 +0530 manish jain wrote: > Hi all, > > I was trying to install xine on my FreeBSD 7.1 system. At one point, > it came up with an options dialog (curses-based) where I enabled GNU > TLS. Since then, xine stops compilation with the following error : > > curl-7.19.2 may use GNU TLS only if OpenSSL support is disabled. > Error code 1 > > I checked the Makefile in /usr/port/ftp/curl but could not figure out > any way to disable either GNU TLS or OpenSSL support. So in the > current situation, I cannot install curl and therefore cannot install > xine. > cd /usr/ports/ftp/curl make config From david at skytracker.ca Wed Mar 11 18:28:39 2009 From: david at skytracker.ca (David Banning) Date: Wed Mar 11 18:28:46 2009 Subject: acroread error with libgobject-2.0.so.0 In-Reply-To: <45193864@h30.sp.ipt.ru> References: <20090311141610.GA82966@skytracker.ca> <49B7F6C3.7000507@skytracker.ca> <45193864@h30.sp.ipt.ru> Message-ID: <49B865C7.2070207@skytracker.ca> Boris Samorodov wrote: > On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: > >> Michael Powell wrote: >> >>> David Banning wrote: >>> >>> >>> >>>> I have installed acroread8 with no errors, however on >>>> execution I get the following error; >>>> >>>> /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: >>>> error while loading shared libraries: libgobject-2.0.so.0: cannot open >>>> shared object file: No such file or directory >>>> > > Something is wrong with your system/ports... > > >>>> the file is there; >>>> >>>> $ cd /usr/local/lib >>>> $ >>>> $ ls -tld libgobject* >>>> -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a >>>> -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la >>>> lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> >>>> libgobject-2.0.so.0 >>>> -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 >>>> > > These are native FreeBSD libraries. > > >>>> and ldconfig sees it; >>>> > > Yes, native FreeBSD ldconfig sees it's native libraies. > > >>>> $ ldconfig -r | grep libgobject >>>> 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 >>>> 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 >>>> $ >>>> >>>> I have followed a few threads with similar error but have found no >>>> resolution yet. >>>> >>>> Any pointers would be helpful. >>>> > > A linux application (i.e. acroread8) use linux libraries which by > default are installed to /compat/linux. > > >>> Please forgive if I seem a trifle dense, but how did you go about >>> installing? If done using the ports system, as part of the process >>> linux_compat and various linux-* ports should have installed as >>> dependencies. Perhaps the install succeeded but left out >>> linux_load="YES" >>> from /boot/loader.conf? >>> >> I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) >> > > Please, show commands you had given. > a simple; cd /usr/ports/print/acroread8 make install clean > >> but it didn't touch the /boot/loader.conf file. >> > > >> Is there a way to load this without rebooting? >> > > >>> Possibly it may be one of the few things that need >>> linprocfs_load="YES" too, but I doubt this because there would be a >>> different error. >>> >>> >> I'll look at that. >> >>> I would expect it to be looking for the library referenced above >>> somewhere below the /compat or /usr/compat (the first is a link) >>> which is where the linuxolator resides. This library should be being >>> provided by the linux- >>> gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be >>> using the linuxolator to run. >>> >>> >>> >> The acroread8 port did not install linux-gtk2 >> > > >> ports are up-to-date. >> > > Please, show an output of commands: > % pkg_info -xI linux > % (cd /usr/ports/print/acroread8 && make all-depends-list | grep linux) > ]# pkg_info -xI linux linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34 RPM of the JPEG lib linux-nvu-1.0_1 A complete Web Authoring System linux-png-1.2.8_2 RPM of the PNG lib linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, Linux bin linux-tiff-3.7.1 TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) linuxdoc-1.1_1 The Linuxdoc SGML DTD # # cd /usr/ports/print/acroread8 && make all-depends-list | grep linux /usr/ports/x11-toolkits/linux-gtk2 /usr/ports/x11-toolkits/linux-pango /usr/ports/www/linux-nvu /usr/ports/textproc/linux-scim-gtk /usr/ports/emulators/linux_base-fc4 /usr/ports/accessibility/linux-atk /usr/ports/graphics/linux-jpeg /usr/ports/graphics/linux-png /usr/ports/graphics/linux-tiff /usr/ports/x11/linux-xorg-libs /usr/ports/x11-fonts/linux-fontconfig /usr/ports/graphics/linux-cairo /usr/ports/textproc/linux-expat /usr/ports/x11-themes/linux-hicolor-icon-theme /usr/ports/textproc/linux-scim-libs # From saifi.khan at twincling.org Wed Mar 11 19:51:34 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Wed Mar 11 19:51:41 2009 Subject: is there a laptop ? In-Reply-To: <49B8498B.9080402@onetel.com> References: <49B8498B.9080402@onetel.com> Message-ID: On Wed, 11 Mar 2009, Chris Whitehouse wrote: > > > HP nc6320 (google RH383ET) - most things work, including wifi and ethernet, > except for the following: > >From HP site, Network Integrated Broadcom NetLink Gigabit Ethernet PCI Controller (10/100/1000 NIC) Wireless Broadcom 802.11a/b/g; Broadcom 802.11b/g; Bluetooth 2.0 It seems to have the US-trash-com chipset ! Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work with FreeBSD ? thanks Saifi. From dd at dabber.tv Wed Mar 11 19:56:16 2009 From: dd at dabber.tv (Daniel Daboczy - DABBER) Date: Wed Mar 11 19:56:24 2009 Subject: [News] Dabber Newsletter - March 2009 Message-ID: <312356.BODFSGBJ@dabber.tv> Dabber Newsletter New collaboration with Berns Salonger We are very proud to present a new collaboration Dabber has started collaboration with Berns Salonger, a critically acclaimeStockholm. The nighfashion from concerts, semin We have focused on developing ways to present films both as documentatiwhat is coming. innovative ways to coimplementing the player without chanstructures, but at the same time intensifyand the communication with the viewer. We use our experience and knowledge as the glue between ideas and all the gour clientsstart implementing different approach to take thwebsite. Whatever the need, Dabber is rto stunning ! Visit the web site Berns Salonger Nightlife: here About us Dabber is an Internet start-up, focused on helping you change the way you cit?s alsit. The old days otowards depth, interactio We offer a wide range of online video solutions that are innovative, affordmanagement platfointuitive 3D video plascene as well as in web devtechnology with an und