From tajudd at gmail.com Thu Jan 1 00:32:02 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu Jan 1 00:32:10 2009 Subject: Dell 1950 RAID 1 Drives. In-Reply-To: <20081231120905.B77789@pop.citytel.net> References: <20081231120905.B77789@pop.citytel.net> Message-ID: <495C0F02.6020000@gmail.com> Keith wrote: > Have the above server, drive 0 failed. No onsite spares left. Ordered > replacement drives a week ago but they are still on route and wont be here > till Jan 5 or 6. > > All I have is a test server of the same make/model in my test rack > configured and running a slightly different version of FBSD. > > If I pull a drive from this test server that is already configured to a > RAID contoller and put it into the server with the bad drive, how will > the machine deal with it as it already has a valid config on it? Will I > just be able to go to the RAID Bios and rebuild? > > Or wipe the config on the test server so the drive has no config on it > before installing it into the server with the failed drive? > > Are the SAS drives in a Dell 1950 hot swap by chance? > > Have not had a drive go like this with no spares around before. > > Thanks. Better to ask Dell weather they're hot swap or not as an absolute answer. When I asked, the tech at the time said "the newer PERC controllers are all hotswap, as long as the RAID controller isn't talking to the drive anymore". Given the 2nd system is actively using it, I don't think it's hotswap. As for the config, you'd have to force an integrity/rebuild on the first. Clearing the config on the 2nd shouldn't be necessary. In fact, the second may see a missing drive and panic as is. The PERC6 controllers I deal with at work have a "feature" that I would call a bug. A missing physical disk causes the RAID controller to waste/dump/ignore/forget it's onboard config. You may be dead in the water on the 2nd system until you get a drive to put in. Backup server 1 and 2. And wait for the drive to come. No other good way to solve this problem. From stanb at panix.com Thu Jan 1 00:42:20 2009 From: stanb at panix.com (stan) Date: Thu Jan 1 00:43:40 2009 Subject: postgresql network access problem Message-ID: <20090101004217.GA32222@teddy.fas.com> I am having a bit of a problem enabling remote access to postgress on my 7.1 system. I have added to postgresql.conf listen_addresses = '*' and to pg_hba.conf host all all XXX.159.77.0/24 trust XX is a real number, and is the first octect of the network that this mahcine lives on Now, it appears that I alos need to add the -i, or -h flag to the invocation of postgress itslef, but I can't seem to get the rc.conf sysntax corrcet for that. What should this entry look like? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From kline at thought.org Thu Jan 1 00:43:58 2009 From: kline at thought.org (Gary Kline) Date: Thu Jan 1 00:44:06 2009 Subject: Last q of '08... Message-ID: <20090101004349.GA784@thought.org> is there a C-beauitful//reformatter in ports? need one Badly!! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From kitchetech at gmail.com Thu Jan 1 00:48:30 2009 From: kitchetech at gmail.com (matt donovan) Date: Thu Jan 1 00:48:38 2009 Subject: mplayer won't build In-Reply-To: <20081231235233.GA64764@kokopelli.hydra> References: <20081231235233.GA64764@kokopelli.hydra> Message-ID: <28283d910812311648l740b9b5ek7b19980844c49094@mail.gmail.com> On Wed, Dec 31, 2008 at 6:52 PM, Chad Perrin wrote: > For some reason, on . . . > > My machine: > > FreeBSD 6.2-RELEASE-p11 > > MPlayer refuses to build: > > N - O - T - E > > There are some knobs which *can* *not* be selected via the > OPTIONS framework. You might want to check the Makefile in > order to learn more about them. > If you want to use the GUI, you can either install > /usr/ports/multimedia/mplayer-skins > or download official skin collections from > http://www.mplayerhq.hu/homepage/dload.html > ===> mplayer-0.99.11_8 has known vulnerabilities: > => mplayer -- twinvq processing buffer overflow vulnerability. > Reference: > < > http://www.FreeBSD.org/ports/portaudit/7c5bd5b8-d652-11dd-a765-0030843d3802.html > > > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/multimedia/mplayer. > *** Error code 1 > > > you want soemthing like this make -DDISABLE_VULNERABILITIES install if you want to override portaudit. guess the port for mplayer needs to be updated. From kline at thought.org Thu Jan 1 00:57:23 2009 From: kline at thought.org (Gary Kline) Date: Thu Jan 1 00:57:30 2009 Subject: well, blew it... sed or perl q again. In-Reply-To: <20081231202014.C8012BE14@kev.msw.wpafb.af.mil> References: <20081230193111.GA32641@thought.org> <20081231202014.C8012BE14@kev.msw.wpafb.af.mil> Message-ID: <20090101005709.GB875@thought.org> On Wed, Dec 31, 2008 at 03:20:14PM -0500, Karl Vogel wrote: > >> On Tue, 30 Dec 2008 11:31:14 -0800, > >> Gary Kline said: > > G> The problem is that there are many, _many_ embedded " G> HREF="http://whatever> Site in my hundreds, or thousands, or > G> files. I only want to delete the "http://" lines, _not_ > G> the other Href links. > > Use perl. You'll want the "i" option to do case-insensitive matching, > plus "m" for matching that could span multiple lines; the first > quoted line above shows one of several places where a URL can cross > a line-break. > > You might want to leave the originals completely alone. I never trust > programs to modify files in place: > > you% mkdir /tmp/work > you% find . -type f -print | xargs grep -li http://junkfoo.com > FILES > you% pax -rwdv -pe /tmp/work < FILES ^^^ pax is like cpio, isn't it? anyway, yes, i'll ponder this. i [mis]-spent hours undoing something bizarre that my scrub.c binary did to directories, turning foo and bar, (and scores more) into foo and foo.bar, bar and bar.bak. the bak were the saved directories. the foo, bar were bizarre. i couldn't write/cp/mv over them. had to carefully rm -f foo; mv foo.bar foo.... [et cetera]...... then i scp'd my files to two other computers. (*mumcle) > > Your perl script can just read FILES and overwrite the stuff in the new > directory. You'll want to slurp the entire file into memory so you catch > any URL that spans multiple lines. Try the script below, it works for > input like this: > > This > > Site should go away too. > > And so should > "http://junkfoo.com/" > > Site this > > And finally Site this > > -- > Karl Vogel I don't speak for the USAF or my company > > The average person falls asleep in seven minutes. > --item for a lull in conversation > > --------------------------------------------------------------------------- > #!/usr/bin/perl -w > > use strict; > > my $URL = 'href=(.*?)"http://junkfoo.com/*"'; > my $contents; > my $fh; > my $infile; > my $outfile; > > while (<>) { > chomp; > $infile = $_; > > s{^./}{/tmp/}; > $outfile = $_; > > open ($fh, "< $infile") or die "$infile"; > $contents = do { local $/; <$fh> }; > close ($fh); > > $contents =~ s{ # substitute ... > $URL # ... actual link > (.*?) # ... min # of chars including newline > # ... until we end > } > { }gixms; # ... with a single space > > open ($fh, "> $outfile") or die "$outfile"; > print $fh $contents; > close ($fh); > } > > exit(0); > _______________________________________________ > 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.17a release of Jottings: http://jottings.thought.org/index.php From freebsd at edvax.de Thu Jan 1 01:01:27 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jan 1 01:01:37 2009 Subject: Last q of '08... In-Reply-To: <20090101004349.GA784@thought.org> References: <20090101004349.GA784@thought.org> Message-ID: <20090101020104.7f15788c.freebsd@edvax.de> On Wed, 31 Dec 2008 16:43:53 -0800, Gary Kline wrote: > > is there a C-beauitful//reformatter in ports? lint? Sorry, never used one, can code tidy myself. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bruce at cran.org.uk Thu Jan 1 01:03:20 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Jan 1 01:03:28 2009 Subject: Last q of '08... In-Reply-To: <20090101004349.GA784@thought.org> References: <20090101004349.GA784@thought.org> Message-ID: <20090101010312.02964535@gluon> On Wed, 31 Dec 2008 16:43:53 -0800 Gary Kline wrote: > is there a C-beauitful//reformatter in ports? need one Badly!! It's not in ports, but /usr/bin/indent reformats C code. -- Bruce Cran From kline at thought.org Thu Jan 1 01:12:36 2009 From: kline at thought.org (Gary Kline) Date: Thu Jan 1 01:12:42 2009 Subject: Last q of '08... In-Reply-To: <20090101020104.7f15788c.freebsd@edvax.de> References: <20090101004349.GA784@thought.org> <20090101020104.7f15788c.freebsd@edvax.de> Message-ID: <20090101011215.GD875@thought.org> On Thu, Jan 01, 2009 at 02:01:04AM +0100, Polytropon wrote: > On Wed, 31 Dec 2008 16:43:53 -0800, Gary Kline wrote: > > > > is there a C-beauitful//reformatter in ports? > > lint? > > Sorry, never used one, can code tidy myself. :-) > > well, yeah, but what ELSE are computers good for!! > > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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.17a release of Jottings: http://jottings.thought.org/index.php From kline at thought.org Thu Jan 1 01:15:02 2009 From: kline at thought.org (Gary Kline) Date: Thu Jan 1 01:15:08 2009 Subject: Last q of '08... In-Reply-To: <20090101010312.02964535@gluon> References: <20090101004349.GA784@thought.org> <20090101010312.02964535@gluon> Message-ID: <20090101011455.GE875@thought.org> On Thu, Jan 01, 2009 at 01:03:12AM +0000, Bruce Cran wrote: > On Wed, 31 Dec 2008 16:43:53 -0800 > Gary Kline wrote: > > > is there a C-beauitful//reformatter in ports? need one Badly!! > > It's not in ports, but /usr/bin/indent reformats C code. > _that's_ what it was. i thought it was in ports, once. have my own canned cmdline ....[somewhere]. or used to. > -- > Bruce Cran -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From perrin at apotheon.com Thu Jan 1 01:34:24 2009 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jan 1 01:34:33 2009 Subject: mplayer won't build In-Reply-To: <28283d910812311648l740b9b5ek7b19980844c49094@mail.gmail.com> References: <20081231235233.GA64764@kokopelli.hydra> <28283d910812311648l740b9b5ek7b19980844c49094@mail.gmail.com> Message-ID: <20090101013332.GA72364@kokopelli.hydra> On Wed, Dec 31, 2008 at 07:48:28PM -0500, matt donovan wrote: > you want soemthing like this make -DDISABLE_VULNERABILITIES install if you > want to override portaudit. guess the port for mplayer needs to be updated. Thanks -- that's not just something like what I wanted: it's exactly what I wanted. It seems odd to me that there isn't an option for that in portinstall (ignoring -m for the moment). -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Anne McClintock, University of Wisconsin: "The decisions that really matter are made outside the democratic process." -------------- 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/20090101/d870ef4f/attachment.pgp From smithi at nimnet.asn.au Thu Jan 1 01:58:34 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Jan 1 01:58:41 2009 Subject: named won't bind to external interface and ignores other options. In-Reply-To: <20081231200739.4430E106571E@hub.freebsd.org> References: <20081231200739.4430E106571E@hub.freebsd.org> Message-ID: <20090101121943.T28770@sola.nimnet.asn.au> On Wed, 31 Dec 2008 10:03:45 -0500 (EST) lenny@edpausa.com wrote: > > bind 9.4.2/FreeBSD 7.0 seems to be ignoring many settings I enter in > /etc/namedb/named.conf. zones are being properly served internally, but > can't query or transfer from the outside. > listen-on {216.154.117.227; 192.168.1.1;}; > listen-on-v6 { none; }; I wonder if the spaces around curly braces that named examples always use are mandatory? As in listen-on { 216.154.117.227; 192.168.1.1; }; > tcp6 0 0 ::1.953 *.* LISTEN > tcp4 0 0 127.0.0.1.953 *.* LISTEN > tcp4 0 0 192.168.1.1.53 *.* LISTEN Looks like it's not seeing named.conf, assuming that 216.154.117.227 exists as the address of a local interface at the time when named is started, as Mel mentioned. This can be a problem with ppp or mpd .. What does 'realpath /etc/named' say? Are you using the FreeBSD default: % realpath /etc/namedb /var/named/etc/namedb % ls -l /etc/namedb lrwxr-xr-x 1 root wheel 21 Dec 12 02:37 /etc/namedb -> /var/named/etc/namedb If you run '/etc/rc.d/named stop' and then '/etc/rc.d/named start', what shows up in /var/log/messages ? What's in /etc/rc.conf concerning named ? Any clues from 'rndc status'? cheers, Ian From OttK at zzz.ee Thu Jan 1 02:18:19 2009 From: OttK at zzz.ee (=?ISO-8859-1?Q?Ott_K=F6stner?=) Date: Thu Jan 1 02:18:28 2009 Subject: Happy new Year! In-Reply-To: <20090101121943.T28770@sola.nimnet.asn.au> References: <20081231200739.4430E106571E@hub.freebsd.org> <20090101121943.T28770@sola.nimnet.asn.au> Message-ID: <495C27E2.7010809@zzz.ee> List! Happy new Year! Just installed a new FreeBSD to an old (junk) Pentium 2 computer here. Still buildng the world... But anyway, Happy New Year! Yeah, I have some minor problems with BSD and distributed web crawler @ http://www.majestic12.co.uk/ , but let's forget about these problems right now... Happy New Year! O.K. From zhangweiwu at realss.com Thu Jan 1 03:41:53 2009 From: zhangweiwu at realss.com (Zhang Weiwu) Date: Thu Jan 1 03:42:00 2009 Subject: cannot compile linphone due to compile error message in gio-fam-backend Message-ID: <495C377E.6020906@realss.com> Hello. I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but as it has been working well for the last several years I got no motivate to upgrade it unless have to). The last error message says: [from gio-fam-backend ]: cannot find -lgio-2.0 It seems I miss a package that provides gio-2.0. But what is that package? I tried to google this error message without luck. Thanks for help getting me having linphone installed. The whole compile error message is below: Script started on Thu Jan 1 11:18:29 2009 ===> Installing for linphone-base-2.1.1_1,1 ===> linphone-base-2.1.1_1,1 depends on executable: pkg-config - found ===> linphone-base-2.1.1_1,1 depends on file: /usr/local/lib/gio/modules/libgiofam.so - not found ===> Verifying install for /usr/local/lib/gio/modules/libgiofam.so in /usr/ports/devel/gio-fam-backend ===> Building for gio-fam-backend-2.16.5 /bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -pipe -march=pentium-mmx -fno-strict-aliasing -Wall -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lintl -o libgiofam.la -rpath /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam rm -fr .libs/libgiofam.exp generating symbol list for `libgiofam.la' /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgiofam.exp /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > ".libs/libgiofam.expT" mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so -march=pentium-mmx -Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1 Stop in /usr/ports/net/linphone-base. Script done on Thu Jan 1 11:18:38 2009 From masoom.shaikh at gmail.com Thu Jan 1 03:56:05 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Jan 1 03:56:12 2009 Subject: local copy of handbook In-Reply-To: <20081230133345.GA81883@melon.esperance-linux.co.uk> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> Message-ID: On Tue, Dec 30, 2008 at 7:03 PM, Frank Shute wrote: > On Mon, Dec 29, 2008 at 11:52:57PM +0200, Giorgos Keramidas wrote: > > > > On Mon, 29 Dec 2008 20:27:17 +0000, Frank Shute > wrote: > > > You can keep a local copy of the docs & update the sources for the > > > docs with csup but you have to regenerate them with a make command > > > after you have csup'd. > > > > > > The process is described within this page I just put up: > > > > > > http://www.shute.org.uk/misc/freebsd_uptodate.html > > > > Hi Masoom, > > > > We have been working on a patch for the Handbook that adds a short > > description of the same process. > > > > The patch has been recently posted to freebsd-doc, by Gabor Pali: > > > > > http://lists.freebsd.org/pipermail/freebsd-doc/2008-December/015315.html > > > > Since you already have written something similar, do you think we can > > convince you to review the patch? It would be nice if you could help > > us improve it or make it easier to read, and use. > > > Hi Giorgos, > > I think your post was meant to be addressed to me as I wrote the above > guide. even I was confused :). Damn, i have never contributed a line to FreeBSD :( am a professional C/C++ programmer on windoz with minimal expertise in using patch, binutils etc, FreeBSD is just my hobby @ home. I will contribute some day, amen thanks to guys like Frank, appreciate their work > > > I'd be happy to review the patch that Gabor has written & if necessary > add or subtract from it. > > It will take me a bit of time to get up to speed with the mark-up & > review/grok the updating docs in the round. ATM, they certainly fall > short of including anything about updating a local copy of the docs. > > I'll sign up for docs@ & then my impertinent/stupid questions about > the docs can be answered there....hopefully ;) > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > _______________________________________________ > 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 Thu Jan 1 03:57:32 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Jan 1 03:57:39 2009 Subject: local copy of handbook In-Reply-To: <87wsdhll2c.fsf@kobe.laptop> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> <87wsdhll2c.fsf@kobe.laptop> Message-ID: On Tue, Dec 30, 2008 at 9:19 PM, Giorgos Keramidas wrote: > On Tue, 30 Dec 2008 13:33:45 +0000, Frank Shute > wrote: > >On Mon, Dec 29, 2008 at 11:52:57PM +0200, Giorgos Keramidas wrote: > >>On Mon, 29 Dec 2008 20:27:17 +0000, Frank Shute > wrote: > >>> You can keep a local copy of the docs & update the sources for the > >>> docs with csup but you have to regenerate them with a make command > >>> after you have csup'd. > >>> > >>> The process is described within this page I just put up: > >>> > >>> http://www.shute.org.uk/misc/freebsd_uptodate.html > >> > >> Hi Masoom, > >> We have been working on a patch for the Handbook that adds a short > >> description of the same process. > >> > >> The patch has been recently posted to freebsd-doc, by Gabor Pali: > >> > >> > http://lists.freebsd.org/pipermail/freebsd-doc/2008-December/015315.html > >> > >> Since you already have written something similar, do you think we can > >> convince you to review the patch? It would be nice if you could help > >> us improve it or make it easier to read, and use. > > > > Hi Giorgos, > > I think your post was meant to be addressed to me as I wrote the above > > guide. > > Yes. Sorry about that Frank :) > > > I'd be happy to review the patch that Gabor has written & if necessary > > add or subtract from it. > > > > It will take me a bit of time to get up to speed with the mark-up & > > review/grok the updating docs in the round. ATM, they certainly fall > > short of including anything about updating a local copy of the docs. > > I can build a patched Handbook and upload it online, if that helps. > Then you don't have to learn SGML to read it. Just let me know if you > need it, and it's done. wow, am waiting eagerly....HTML is complex, what is SGML :) > > > _______________________________________________ > 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 Thu Jan 1 04:07:12 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Jan 1 04:07:19 2009 Subject: cannot compile linphone due to compile error message in gio-fam-backend References: <495C377E.6020906@realss.com> Message-ID: Zhang Weiwu wrote: > Hello. > > I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but > as it has been working well for the last several years I got no motivate > to upgrade it unless have to). The last error message says: > > [from gio-fam-backend ]: > > cannot find -lgio-2.0 > > It seems I miss a package that provides gio-2.0. But what is that > package? I tried to google this error message without luck. > > Thanks for help getting me having linphone installed. The whole compile > error message is below: > > Script started on Thu Jan 1 11:18:29 2009 > ===> Installing for linphone-base-2.1.1_1,1 > ===> linphone-base-2.1.1_1,1 depends on executable: pkg-config - found > ===> linphone-base-2.1.1_1,1 depends on file: > /usr/local/lib/gio/modules/libgiofam.so - not found > ===> Verifying install for /usr/local/lib/gio/modules/libgiofam.so in > /usr/ports/devel/gio-fam-backend > ===> Building for gio-fam-backend-2.16.5 > /bin/sh ../../libtool --tag=CC --mode=link cc > -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule > -I../../gio -DG_DISABLE_CAST_CHECKS > -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION > -DG_DISABLE_DEPRECATED -O2 -pipe -march=pentium-mmx -fno-strict-aliasing > -Wall -export_dynamic -avoid-version -module -no-undefined > -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lintl > -o libgiofam.la -rpath /usr/local/lib/gio/modules > libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo > libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo > -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam > rm -fr .libs/libgiofam.exp > generating symbol list for `libgiofam.la' > /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o > .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o > .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ > ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 > \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgiofam.exp > /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > > ".libs/libgiofam.expT" mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" > cc -shared .libs/libgiofam_la-fam-helper.o > .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o > .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so > -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so > /usr/local/lib/libfam.so -march=pentium-mmx -Wl,-soname -Wl,libgiofam.so > -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so > /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** > Error code 2 > > Stop in /usr/ports/devel/gio-fam-backend. > *** Error code 1 > > Stop in /usr/ports/net/linphone-base. > > Script done on Thu Jan 1 11:18:38 2009 > My first wild guess would be to check your version of glib20 and see if it is 2.16.5_1. Possibly you may need to update it first (and what it might depend on as well). Look at /usr/ports/devel/glib20. -Mike From af300wsm at gmail.com Thu Jan 1 04:22:23 2009 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Jan 1 04:22:57 2009 Subject: postgresql network access problem In-Reply-To: <20090101004217.GA32222@teddy.fas.com> References: <20090101004217.GA32222@teddy.fas.com> Message-ID: <340a29540812312022k5ab62972j9a11c0edf25b7448@mail.gmail.com> On Wed, Dec 31, 2008 at 5:42 PM, stan wrote: > > I am having a bit of a problem enabling remote access to postgress on my > 7.1 system. > > I have added to postgresql.conf > > listen_addresses = '*' > > and to pg_hba.conf > > host all all XXX.159.77.0/24 trust > > XX is a real number, and is the first octect of the network that this > mahcine lives on > > Now, it appears that I alos need to add the -i, or -h flag to the > invocation of postgress itslef, but I can't seem to get the rc.conf sysntax > corrcet for that. What should this entry look like? > Stan, I'm not aware of anything needed in /etc/rc.conf other than postgresql_enable="YES" I know the argument of which you speak. Lately, I've been using just UNIX domain sockets for access to my databases but I do remember having to use this argument, if memory serves it's the "-i" option, to enable access on TCP (basically, it tells the daemon to open TCP sockets when starting). I would, instead of looking for an rc.conf entry, edit the script that starts the postgresql server in /usr/local/etc/rc.d. From the following link, http://www.freebsddiary.org/postgresql.php, if you're using a recent server, perhaps 8.x, the file will be named "postgresql." If you're using an older server, it will something like, "010.pgsql.sh." Find the appropriate line that starts the server and modify the arguments there. Hope this is of help to you. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From yuri.pankov at gmail.com Thu Jan 1 04:56:22 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Thu Jan 1 04:56:28 2009 Subject: cannot compile linphone due to compile error message in gio-fam-backend In-Reply-To: <495C377E.6020906@realss.com> References: <495C377E.6020906@realss.com> Message-ID: <20090101043600.GA8749@darklight.homeunix.org> On Thu, Jan 01, 2009 at 11:24:46AM +0800, Zhang Weiwu wrote: > Hello. > > I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but > as it has been working well for the last several years I got no motivate > to upgrade it unless have to). The last error message says: > > [from gio-fam-backend ]: > > cannot find -lgio-2.0 Check 20080323 entry in /usr/ports/UPDATING. HTH, Yuri From mail at ozzmosis.com Thu Jan 1 05:07:14 2009 From: mail at ozzmosis.com (andrew clarke) Date: Thu Jan 1 05:07:22 2009 Subject: Last q of '08... In-Reply-To: <20090101010312.02964535@gluon> References: <20090101004349.GA784@thought.org> <20090101010312.02964535@gluon> Message-ID: <20090101050714.GA82247@ozzmosis.com> On Thu 2009-01-01 01:03:12 UTC+0000, Bruce Cran (bruce@cran.org.uk) wrote: > > is there a C-beauitful//reformatter in ports? need one Badly!! > > It's not in ports, but /usr/bin/indent reformats C code. I prefer the GNU version. devel/gindent in ports. $ cat ~/.indent.pro -kr -bl -bli0 -bls -i4 -ts1 -nce -ncs -fca -nfc1 From stanb at panix.com Thu Jan 1 11:34:45 2009 From: stanb at panix.com (stan) Date: Thu Jan 1 11:34:53 2009 Subject: postgresql network access problem In-Reply-To: <340a29540812312022k5ab62972j9a11c0edf25b7448@mail.gmail.com> References: <20090101004217.GA32222@teddy.fas.com> <340a29540812312022k5ab62972j9a11c0edf25b7448@mail.gmail.com> Message-ID: <20090101113443.GA11520@teddy.fas.com> On Wed, Dec 31, 2008 at 09:22:22PM -0700, Andrew Falanga wrote: > On Wed, Dec 31, 2008 at 5:42 PM, stan wrote: > > > > I am having a bit of a problem enabling remote access to postgress on my > > 7.1 system. > > > > I have added to postgresql.conf > > > > listen_addresses = '*' > > > > and to pg_hba.conf > > > > host all all XXX.159.77.0/24 trust > > > > XX is a real number, and is the first octect of the network that this > > mahcine lives on > > > > Now, it appears that I alos need to add the -i, or -h flag to the > > invocation of postgress itslef, but I can't seem to get the rc.conf sysntax > > corrcet for that. What should this entry look like? > > > > Stan, > > I'm not aware of anything needed in /etc/rc.conf other than > > postgresql_enable="YES" > > I know the argument of which you speak. Lately, I've been using just > UNIX domain sockets for access to my databases but I do remember > having to use this argument, if memory serves it's the "-i" option, to > enable access on TCP (basically, it tells the daemon to open TCP > sockets when starting). I would, instead of looking for an rc.conf > entry, edit the script that starts the postgresql server in > /usr/local/etc/rc.d. From the following link, > http://www.freebsddiary.org/postgresql.php, if you're using a recent > server, perhaps 8.x, the file will be named "postgresql." If you're > using an older server, it will something like, "010.pgsql.sh." Find > the appropriate line that starts the server and modify the arguments > there. > Thanks. I did get it working. Here is the line that I used in rc.conf: postgresql_flags="-o '-i' -w -s -m fast" As a point of information, what was confusing me was, i had increased the number of connections in postgresql.conf. This had created a situation where I did not have enough kernel resources. This was loged in /var/log/messages. I crected this, but even then postgess would never start again, and no further messages werre put in /var/log/messages. I would up re init'g the database. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Thu Jan 1 12:27:08 2009 From: stanb at panix.com (stan) Date: Thu Jan 1 12:27:15 2009 Subject: inetd.conf entry for saned? In-Reply-To: <20081231212520.GA28385@teddy.fas.com> References: <20081231212520.GA28385@teddy.fas.com> Message-ID: <20090101122706.GA13049@teddy.fas.com> On Wed, Dec 31, 2008 at 04:25:20PM -0500, stan wrote: > I seem to be having an inrdinate amount of trouble getting a working > inetd.conf entry for saned on 7.1 > > If I run saned from the command line, I can connect and scan. But I cannot > seem to amke it work from inetd Here is what I have: > > sane-port stream tcp nowait saned /usr/local/sbin/saned saned > > Yes, I created a user for saned. although I am suprsied that the port did > not do that. When I start inetd with the -d flag, I get: > > black# inetd -d > ADD : sane-port proto=tcp accept=1 max=0 user=saned > group=(null)class=daemon builtin=0x0 server=/usr/local/sbin/saned policy="" > inetd: sane-port/tcp: ipsec initialization failed; in entrust > inetd: sane-port/tcp: ipsec initialization failed; out entrust > inetd: enabling sane-port, fd 4 > inetd: registered /usr/local/sbin/saned on 4 > > What file do I add this line to? > For the record, here is wgat I woulnd up with, and it appears to work. In /etc/inetd.conf I have: sane-port stream tcp nowait saned /usr/local/sbin/saned saned Which is what I had, but what I was missing is TCP Wrappers, which are configuered (much to my suprise) in /etc/hosts.allow, that is where this line needed to go: sane-port proto=tcp accept=1 max=0 user=saned group=(null)class=daemon builtin=0 x0 server=/usr/local/sbin/saned policy="" Having been doing this a long time, altjough never having dealt with TCP Wrappers in the past, I recall this file having a somewhat different purpose in the pat, so I thought it was just a leagcy file. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From frank at shute.org.uk Thu Jan 1 16:47:38 2009 From: frank at shute.org.uk (Frank Shute) Date: Thu Jan 1 16:47:45 2009 Subject: local copy of handbook In-Reply-To: References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> <87wsdhll2c.fsf@kobe.laptop> Message-ID: <20090101164725.GA9700@melon.esperance-linux.co.uk> On Thu, Jan 01, 2009 at 09:27:31AM +0530, Masoom Shaikh wrote: > > > wow, am waiting eagerly....HTML is complex, what is SGML :) > The fdp primer introduces it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html All the docs are written it, from which the html, postscript etc. are generated. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From jason.heblack at sbcglobal.net Thu Jan 1 16:59:45 2009 From: jason.heblack at sbcglobal.net (Jason Heblack) Date: Thu Jan 1 16:59:51 2009 Subject: (no subject) Message-ID: <1230828299.8791.4.camel@localhost.localdomain> - jason.heblack@sbcglobal.net 650-289-0954 HEBLACK, JASON AARON 3 450 E OKEEFE ST EAST PALO ALTO CA 94303 From masoom.shaikh at gmail.com Thu Jan 1 17:03:45 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Jan 1 17:03:53 2009 Subject: local copy of handbook In-Reply-To: <20090101164725.GA9700@melon.esperance-linux.co.uk> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> <87wsdhll2c.fsf@kobe.laptop> <20090101164725.GA9700@melon.esperance-linux.co.uk> Message-ID: On Thu, Jan 1, 2009 at 10:17 PM, Frank Shute wrote: > On Thu, Jan 01, 2009 at 09:27:31AM +0530, Masoom Shaikh wrote: > > > > > > > wow, am waiting eagerly....HTML is complex, what is SGML :) > > > > The fdp primer introduces it: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html > > All the docs are written it, from which the html, postscript etc. are > generated. > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > thank you Frank, but that was a joke :) From stanb at panix.com Thu Jan 1 19:01:14 2009 From: stanb at panix.com (stan) Date: Thu Jan 1 19:01:22 2009 Subject: Nice web interface or music? Message-ID: <20090101190111.GA21878@teddy.fas.com> I's like to set up my MP3's so that I can access them from the web server on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface to this? I'd like something better than just letting Apache display the directories. Sugestins? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From yuri.pankov at gmail.com Thu Jan 1 19:37:45 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Thu Jan 1 19:37:53 2009 Subject: Nice web interface or music? In-Reply-To: <20090101190111.GA21878@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> Message-ID: <20090101193738.GA1498@darklight.homeunix.org> On Thu, Jan 01, 2009 at 02:01:11PM -0500, stan wrote: > I's like to set up my MP3's so that I can access them from the web server > on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface > to this? I'd like something better than just letting Apache display the > directories. > > Sugestins? > > -- > One of the main causes of the fall of the roman empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs. Try /usr/ports/www/mod_musicindex Yuri From chris at monochrome.org Thu Jan 1 20:29:07 2009 From: chris at monochrome.org (Chris Hill) Date: Thu Jan 1 20:30:20 2009 Subject: Nice web interface or music? In-Reply-To: <20090101190111.GA21878@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> Message-ID: <20090101152825.F53198@tripel.monochrome.org> On Thu, 1 Jan 2009, stan wrote: > I's like to set up my MP3's so that I can access them from the web > server on my Free-BSD 7.1 machine. Is there a port, that provides a > nice interface to this? I'd like something better than just letting > Apache display the directories. I like audio/squeezecenter. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From redtick at sbcglobal.net Thu Jan 1 20:32:07 2009 From: redtick at sbcglobal.net (Mark Busby) Date: Thu Jan 1 20:32:15 2009 Subject: kernel panic Message-ID: <757739.64676.qm@web81207.mail.mud.yahoo.com> I've had a few panics. Attached are the output from vmsat -m then -z. uname -a FreeBSD mars.sbcglobal.net 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Mon Nov 24 23:03:01 CST 2008 boxend@mars.sbcglobal.net:/usr/src/sys/i386/compile/MARS i386 Jan 1 08:56:39 mars savecore: reboot after panic: kmem_malloc(12288): kmem_map too small: 128778240 total allocated Jan 1 08:56:39 mars savecore: writing core to vmcore.2 -------------- next part -------------- Type InUse MemUse HighUse Requests Size(s) GEOM 228 32K - 1206 16,32,64,128,256,512,1024,2048 isadev 20 2K - 20 64 CAM dev queue 5 1K - 5 64 ata_generic 6 6K - 6 1024 ad_driver 5 1K - 5 32 ata_dma 4 1K - 4 128 cdev 21 3K - 21 128 sigio 1 1K - 1 32 filedesc 90 23K - 1606 16,256,512 kenv 113 8K - 115 16,32,64,4096 kqueue 0 0K - 166 128,1024 proc-args 39 2K - 7402 16,32,64,128,256 ata_cam 4 4K - 27 64,256,1024 ithread 63 6K - 65 16,64,128 acd_driver 1 2K - 1 2048 KTRACE 100 13K - 100 128 ath_hal 6 23K - 6 128,256,512,1024 linker 106 361K - 520 16,32,64,256,1024,2048,4096 lockf 14 1K - 12884 64 athdev 3 37K - 3 256 ip6ndp 4 1K - 4 64,128 temp 20 137K - 6437 16,32,64,128,256,512,1024,2048,4096 devbuf 489 3364K - 23810 16,32,64,128,256,512,1024,2048,4096 CAM queue 17 1K - 112 16 module 247 16K - 273 64,128 mtx_pool 1 4K - 1 4096 kbdmux 6 9K - 6 16,128,256,2048,4096 subproc 192 371K - 1707 256,4096 proc 2 4K - 2 2048 session 27 2K - 125 64 pgrp 36 3K - 169 64 cred 34 9K - 6399 256 uidinfo 4 1K - 101 32,512 plimit 20 5K - 1286 256 sysctltmp 0 0K - 284 16,32,64,128 sysctloid 2916 89K - 3116 16,32,64 sysctl 0 0K - 475 16,32,64 umtx 112 7K - 112 64 p1003.1b 1 1K - 1 16 SWAP 2 141K - 2 64 bus-sc 58 28K - 963 16,32,64,128,256,512,1024,2048,4096 bus 800 36K - 3148 16,32,64,128,1024 devstat 16 33K - 16 16,4096 eventhandler 65 4K - 65 32,64,128 kobj 148 296K - 225 2048 CAM SIM 5 1K - 5 128 rman 161 10K - 525 16,32,64 CAM periph 4 1K - 9 16,32,128 sbuf 0 0K - 792 16,32,64,128,256,512,1024,2048,4096 CAM XPT 42 13K - 147 16,32,64,256,512,1024 taskqueue 17 2K - 17 16,128 Unitno 7 1K - 13 16,64 iov 0 0K - 561 16,64,128,256 ioctlops 0 0K - 5774 16,32,64,128,256,512,1024 msg 4 25K - 4 1024,4096 sem 4 7K - 4 256,1024,4096 shm 1 12K - 1 ttys 1232 175K - 4907 128,1024 ptys 3 1K - 3 128 mbuf_tag 5382 169K - 5399 32 scsi_cd 0 0K - 5 16 pcb 25 77K - 195 16,32,64,2048,4096 soname 4 1K - 1753 16,32,128 biobuf 11 22K - 277 2048 vfscache 1 128K - 1 cl_savebuf 0 0K - 1672 32,64 vfs_hash 1 64K - 1 vnodes 1 1K - 1 128 vnodemarker 0 0K - 9656 512 mount 139 5K - 325 16,32,64,128,256 BPF 9 65K - 10 16,64,128,256 ether_multi 15 1K - 16 16,32,64 ifaddr 235 15K - 235 16,32,64,128,256,512,2048 ifnet 4 4K - 4 128,1024 clone 5 20K - 5 4096 arpcom 2 1K - 2 16 lo 1 1K - 1 16 entropy 1024 64K - 1024 64 routetbl 154 35K - 233 16,32,64,128,256 80211node 8081 21705K - 8081 16,32,512 80211scan 5 3K - 5 256,2048 in_multi 2 1K - 2 64 IpFw/IpAcct 1 1K - 1 64 sctp_iter 0 0K - 2 128 sctp_ifn 2 1K - 2 128 sctp_ifa 3 1K - 3 128 sctp_vrf 1 1K - 1 64 sctp_a_it 0 0K - 2 16 hostcache 1 20K - 1 syncache 1 72K - 1 in6_multi 16 1K - 16 16,32,64 USBdev 8 4K - 8 128,512 nfss_daemon 1 8K - 1 agp 2 65K - 2 16 audit_evclass 150 3K - 187 16 savedino 0 0K - 103 256 dirrem 0 0K - 446 32 mkdir 0 0K - 12 32 diradd 2 1K - 451 64 freefile 0 0K - 151 32 freeblks 0 0K - 148 256 freefrag 0 0K - 7356 32 allocindir 715 45K - 290848 64 indirdep 3 1K - 5146 32 allocdirect 0 0K - 593 128 bmsafemap 3 1K - 9237 64 newblk 1 1K - 291442 64,256 inodedep 3 65K - 527 128 pagedep 3 17K - 113 64 ufs_dirhash 57 12K - 57 16,32,64,128,256,512 ufs_mount 24 134K - 52 128,256,2048,4096 UMAHash 2 1K - 3 256,512 USB 30 4K - 36 16,32,64,128,512,1024 DEVFS1 102 26K - 104 256 DEVFS3 113 15K - 116 128 vm_pgdata 2 33K - 2 64 atkbddev 2 1K - 2 32 DEVFS 12 1K - 13 16,64 io_apic 1 1K - 1 1024 memdesc 1 4K - 1 4096 nexusdev 5 1K - 5 16 pfs_nodes 20 3K - 20 128 ac97 2 1K - 2 16,512 feeder 401 7K - 412 16,64 acpica 993 51K - 34563 16,32,64,128,256,512,1024 acpitask 0 0K - 1 32 acpidev 44 2K - 44 32 mixer 1 4K - 1 4096 acpisem 15 1K - 15 64 apmdev 1 1K - 1 64 pci_link 16 2K - 16 64,128 linux 12 1K - 12 32,64 -------------- next part -------------- ITEM SIZE LIMIT USED FREE REQUESTS FAILURES UMA Kegs: 128, 0, 82, 8, 82, 0 UMA Zones: 120, 0, 82, 8, 82, 0 UMA Slabs: 64, 0, 3125, 2, 27604, 0 UMA RCntSlabs: 104, 0, 94, 17, 94, 0 UMA Hash: 128, 0, 4, 26, 6, 0 16 Bucket: 76, 0, 25, 25, 30, 0 32 Bucket: 140, 0, 17, 11, 28, 0 64 Bucket: 268, 0, 24, 18, 52, 0 128 Bucket: 524, 0, 21, 14, 1612, 0 VM OBJECT: 124, 0, 1561, 113, 23260, 0 MAP: 140, 0, 7, 49, 7, 0 KMAP ENTRY: 68, 23856, 30, 138, 54546, 0 MAP ENTRY: 68, 0, 1481, 255, 52304, 0 DP fakepg: 72, 0, 0, 0, 0, 0 mt_zone: 64, 0, 229, 66, 229, 0 16: 16, 0, 3148, 100, 23267, 0 32: 32, 0, 12357, 186, 44480, 0 64: 64, 0, 4430, 1175, 621113, 0 128: 128, 0, 1862, 268, 11080, 0 256: 256, 0, 567, 48, 11518, 0 512: 512, 0, 85, 19, 10212, 0 1024: 1024, 0, 65, 83, 2797, 0 2048: 2048, 0, 186, 40, 606, 0 4096: 4096, 0, 149, 18, 5789, 0 Files: 72, 0, 129, 83, 9202, 0 TURNSTILE: 76, 0, 113, 79, 113, 0 umtx pi: 52, 0, 0, 0, 0, 0 PROC: 684, 0, 85, 20, 1601, 0 THREAD: 516, 0, 105, 7, 105, 0 UPCALL: 44, 0, 0, 0, 0, 0 SLEEPQUEUE: 32, 0, 113, 113, 113, 0 VMSPACE: 232, 0, 40, 28, 1556, 0 audit_record: 856, 0, 0, 0, 0, 0 mbuf_packet: 256, 0, 40, 88, 153051, 0 mbuf: 256, 0, 5386, 126, 212223, 0 mbuf_cluster: 2048, 12992, 128, 6, 128, 0 mbuf_jumbo_pagesize: 4096, 6496, 0, 27, 7175, 0 mbuf_jumbo_9k: 9216, 3248, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 1624, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0 ACL UMA zone: 388, 0, 0, 0, 0, 0 g_bio: 132, 0, 0, 1943, 1246918, 0 ata_request: 192, 0, 0, 480, 336499, 0 ata_composite: 184, 0, 0, 0, 0, 0 VNODE: 272, 0, 815, 25, 968, 0 VNODEPOLL: 64, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 20, 27708, 0 S VFS Cache: 68, 0, 776, 64, 3900, 0 L VFS Cache: 291, 0, 0, 0, 0, 0 DIRHASH: 1024, 0, 159, 17, 159, 0 NFSMOUNT: 472, 0, 0, 0, 0, 0 NFSNODE: 456, 0, 0, 0, 0, 0 pipe: 396, 0, 5, 25, 687, 0 ksiginfo: 80, 0, 71, 73, 71, 0 itimer: 220, 0, 0, 0, 0, 0 KNOTE: 68, 0, 0, 112, 166, 0 socket: 396, 6030, 37, 13, 643, 0 ipq: 32, 452, 0, 0, 0, 0 udpcb: 180, 6028, 13, 31, 420, 0 inpcb: 180, 6028, 10, 34, 77, 0 tcpcb: 464, 6024, 10, 14, 77, 0 tcptw: 52, 1224, 0, 0, 0, 0 syncache: 100, 15366, 0, 78, 4, 0 hostcache: 76, 15400, 1, 99, 1, 0 tcpreass: 20, 845, 0, 169, 2, 0 sackhole: 20, 0, 0, 0, 0, 0 sctp_ep: 804, 6025, 0, 0, 0, 0 sctp_asoc: 1400, 40000, 0, 0, 0, 0 sctp_laddr: 24, 80040, 0, 145, 2, 0 sctp_raddr: 396, 80000, 0, 0, 0, 0 sctp_chunk: 92, 400008, 0, 0, 0, 0 sctp_readq: 76, 400000, 0, 0, 0, 0 sctp_stream_msg_out: 60, 400050, 0, 0, 0, 0 sctp_asconf_ack: 24, 400055, 0, 0, 0, 0 ripcb: 180, 6028, 0, 0, 0, 0 unpcb: 168, 6026, 13, 33, 144, 0 rtentry: 120, 0, 11, 53, 25, 0 divcb: 180, 6028, 0, 0, 0, 0 IPFW dynamic rule: 108, 0, 0, 0, 0, 0 SWAPMETA: 276, 47166, 8, 20, 20, 0 Mountpoints: 668, 0, 9, 9, 9, 0 FFS inode: 132, 0, 758, 25, 909, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 758, 22, 909, 0 From mehul.n.ved at gmail.com Thu Jan 1 20:36:41 2009 From: mehul.n.ved at gmail.com (Mehul Ved) Date: Thu Jan 1 20:36:48 2009 Subject: Nice web interface or music? In-Reply-To: <20090101190111.GA21878@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> Message-ID: On Fri, Jan 2, 2009 at 12:31 AM, stan wrote: > I's like to set up my MP3's so that I can access them from the web server > on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface > to this? I'd like something better than just letting Apache display the > directories. > > Sugestins? How about Ampache[1]? 1. http://ampache.org/ -- A countryman between two lawyers is like a fish between two cats. -- Ben Franklin From stanb at panix.com Thu Jan 1 20:48:26 2009 From: stanb at panix.com (stan) Date: Thu Jan 1 20:48:33 2009 Subject: Nice web interface or music? In-Reply-To: <20090101152825.F53198@tripel.monochrome.org> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> Message-ID: <20090101204822.GB23840@teddy.fas.com> On Thu, Jan 01, 2009 at 03:29:05PM -0500, Chris Hill wrote: > On Thu, 1 Jan 2009, stan wrote: > > >I's like to set up my MP3's so that I can access them from the web > >server on my Free-BSD 7.1 machine. Is there a port, that provides a > >nice interface to this? I'd like something better than just letting > >Apache display the directories. > > I like audio/squeezecenter. > K, I installed the port, and pointed my browserr at port 9000 to cofigure it as the instructions sugewsted. I got a page congratulating me on my "purchase" of some hardware, andit said I needed to create an account on thier system. Weird What am I misunderstanding here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From nightrecon at verizon.net Thu Jan 1 20:59:16 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Jan 1 20:59:23 2009 Subject: local copy of handbook References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> <87wsdhll2c.fsf@kobe.laptop> Message-ID: Masoom Shaikh wrote: [snip] > > > wow, am waiting eagerly....HTML is complex, what is SGML :) > Stands for Standard Generalized Markup Language, with roots in the printing industry. When authors submit a manuscript for publishing it contains content, but it is up to the typesetter how it will appear on the page when printed. The layout and columns in a printed magazine or newspaper are examples of this. HTML and XML are actually subsets of SGML, with SGML being a "meta" markup language. The primary advantage of authoring documentation using SGML is that it is relatively easy to parse and convert into many different formats from one source document. This way you maintain one document, and then regenerate the copies, e.g. HTML, XHTML, XML, etc, on an as needed basis. Plenty of more info is readily available on the Web. -Mike From chris at monochrome.org Thu Jan 1 21:29:21 2009 From: chris at monochrome.org (Chris Hill) Date: Thu Jan 1 21:29:28 2009 Subject: Nice web interface or music? In-Reply-To: <20090101204822.GB23840@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> <20090101204822.GB23840@teddy.fas.com> Message-ID: <20090101161436.X53198@tripel.monochrome.org> On Thu, 1 Jan 2009, stan wrote: > On Thu, Jan 01, 2009 at 03:29:05PM -0500, Chris Hill wrote: >> On Thu, 1 Jan 2009, stan wrote: >> >>> I's like to set up my MP3's so that I can access them from the web >>> server on my Free-BSD 7.1 machine. Is there a port, that provides a >>> nice interface to this? I'd like something better than just letting >>> Apache display the directories. >> >> I like audio/squeezecenter. >> > K, I installed the port, and pointed my browserr at port 9000 to cofigure > it as the instructions sugewsted. I got a page congratulating me on my > "purchase" of some hardware, andit said I needed to create an account on > thier system. Weird > > What am I misunderstanding here? Sorry for the brevity earlier. The squeezecenter software is intended for use in supporting the Squeezebox family of hardware music players made by Logitech, hence the "congrats". You *don't* actually have to create any account, and I'm not sure why they ask you to. You don't have to buy a player either; I use the included Java Web Start "virtual player". On the web interface, look under Extras -> SoftSqueeze and use either the applet or the JWS. Or you could buy a player [later], or both. You also need to put your music on the server in order to serve it (!). I have mine in a hierarchy of directories for artists and albums, but I guess you could just put your (properly tagged) mp3s on the machine somewhere. Tell squeezecenter where it is and have it re-scan. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From 240olofsson at telia.com Thu Jan 1 23:22:00 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Thu Jan 1 23:22:07 2009 Subject: Nice web interface or music? In-Reply-To: <20090101190111.GA21878@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> Message-ID: <495D5013.4030700@telia.com> stan skrev: > I's like to set up my MP3's so that I can access them from the web server > on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface > to this? I'd like something better than just letting Apache display the > directories. > > Sugestins? > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.1/1870 - Release Date: 2008-12-31 08:44 > Hello Stan, Saw something called subsonic over at http://subsonic.sourceforge.net/changelog.php that looks interesting. Unfortunately I can't find it in ports and I haven't had time to try installing it yet. Looks like it needs Jetty or Tomcat as a base. /R From freebsd at southportcomputers.co.uk Fri Jan 2 00:04:14 2009 From: freebsd at southportcomputers.co.uk (Colin) Date: Fri Jan 2 00:04:22 2009 Subject: 7.0-RELEASE and megaraid (mpt0) Message-ID: <495D4FDD.10006@southportcomputers.co.uk> Hi folks, I'm running a new server with FreeBSD 7.0-RELEASE and am seeing timeouts and other messages with mpt0 These include: mpt_cam_event: 0x16, 0x12 & 0x60 More importantly these: Dec 28 16:33:30 ted kernel: mpt0: request 0xc68db554:44729 timed out for ccb 0xc691f000 (req->ccb 0xc691f000) Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8bc4:44730 timed out for ccb 0xc6ac1c00 (req->ccb 0xc6ac1c00) Dec 28 16:33:30 ted kernel: mpt0: attempting to abort req 0xc68db554:44729 function 0 Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8328:44731 timed out for ccb 0xc68df800 (req->ccb 0xc68df800) Dec 28 16:33:30 ted kernel: mpt0: mpt_recover_commands: IOC Status 0x4a. Resetting controller. Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req 0xc68db554:44729 Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req 0xc68d8bc4:44730 Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req 0xc68d8328:44731 Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d5ac8:0 timed out for ccb 0xc6af4000 (req->ccb 0) I have raised this with my provider and they have said "it is working fine without any problem you can simply ignore this message". Now I'm no expert on the megaraid controller but I'm fairly certain that frequent timeouts are not something that I want to be seeing. I looked around and saw other people asking the same but no answers posted publicly. I was also wondering as to whether linux emulation could be used to run the LSI Megaraid storage manager or whether attempting to do so is a very bad idea.. Thanks, Colin Southport Computers. From timothyk at wallnet.com Fri Jan 2 00:40:54 2009 From: timothyk at wallnet.com (Tim Kellers) Date: Fri Jan 2 00:41:02 2009 Subject: 7.0-RELEASE and megaraid (mpt0) In-Reply-To: <495D4FDD.10006@southportcomputers.co.uk> References: <495D4FDD.10006@southportcomputers.co.uk> Message-ID: <495D6284.4030503@wallnet.com> Colin wrote: > Hi folks, > I'm running a new server with FreeBSD 7.0-RELEASE and am seeing > timeouts and other messages with mpt0 > > These include: > mpt_cam_event: 0x16, 0x12 & 0x60 > > More importantly these: > Dec 28 16:33:30 ted kernel: mpt0: request 0xc68db554:44729 timed out > for ccb 0xc691f000 (req->ccb 0xc691f000) > Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8bc4:44730 timed out > for ccb 0xc6ac1c00 (req->ccb 0xc6ac1c00) > Dec 28 16:33:30 ted kernel: mpt0: attempting to abort req > 0xc68db554:44729 function 0 > Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8328:44731 timed out > for ccb 0xc68df800 (req->ccb 0xc68df800) > Dec 28 16:33:30 ted kernel: mpt0: mpt_recover_commands: IOC Status > 0x4a. Resetting controller. > Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req > 0xc68db554:44729 > Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req > 0xc68d8bc4:44730 > Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req > 0xc68d8328:44731 > Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d5ac8:0 timed out for > ccb 0xc6af4000 (req->ccb 0) > > I have raised this with my provider and they have said "it is working > fine without any problem you can simply ignore this message". > > Now I'm no expert on the megaraid controller but I'm fairly certain > that frequent timeouts are not something that I want to be seeing. I > looked around and saw other people asking the same but no answers > posted publicly. I was also wondering as to whether linux emulation > could be used to run the LSI Megaraid storage manager or whether > attempting to do so is a very bad idea.. > > Thanks, > Colin > Southport Computers. > _______________________________________________ > 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'm running 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 03:44:52 EST 2008 AMD on a Dell 2850 Poweredge with the defaut LSI/PERC 4 and AMR kernel devices and I'm not seeing any timeouts at all. Maybe someone knows if something significant in those device files changed from 7.0 to 7.1? I don't think the Linux drivers are a viable option. But using 7.1 PRE seems to work just fine, here. mpt0: port 0xec00-0xecff mem 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 mpt0: [ITHREAD] mpt0: MPI Version=1.2.12.0 amr0: mem 0xd90f0000-0xd90fffff irq 106 at device 4.0 on pci9 amr0: Using 64-bit DMA amr0: [ITHREAD] amr0: delete logical drives supported by controller amr0: Firmware 351S, BIOS 1.10, 128MB RAM From ges+lists at wingfoot.org Fri Jan 2 00:48:10 2009 From: ges+lists at wingfoot.org (Glenn Sieb) Date: Fri Jan 2 00:48:19 2009 Subject: Nice web interface or music? In-Reply-To: References: <20090101190111.GA21878@teddy.fas.com> Message-ID: <495D608E.90000@wingfoot.org> Mehul Ved said the following on 1/1/09 3:14 PM: > On Fri, Jan 2, 2009 at 12:31 AM, stan wrote: > >> I's like to set up my MP3's so that I can access them from the web server >> on my Free-BSD 7.1 machine. Is there a port, that provides a nice interface >> to this? I'd like something better than just letting Apache display the >> directories. >> >> Sugestins? >> > > How about Ampache[1]? > > 1. http://ampache.org/ > > I personally like Ampache, with it's built-in Flash player. Very nifty, works great, looks even better! :) Best, --Glenn From af300wsm at gmail.com Fri Jan 2 01:17:51 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Fri Jan 2 01:17:57 2009 Subject: postgresql network access problem Message-ID: <0016e64af2aea6d7a8045f75b542@google.com> On Jan 1, 2009 4:34am, stan wrote: > > Thanks. > > > > I did get it working. Here is the line that I used in rc.conf: > > > > postgresql_flags="-o '-i' -w -s -m fast" > > > > As a point of information, what was confusing me was, i had increased the > > number of connections in postgresql.conf. This had created a situation > > where I did not have enough kernel resources. This was loged in > > /var/log/messages. I crected this, but even then postgess would never start > > again, and no further messages werre put in /var/log/messages. I would up > > re init'g the database. > > I didn't know about using postgresql_flags="" in rc.conf. Thanks for that info. Andy From chris at monochrome.org Fri Jan 2 01:23:45 2009 From: chris at monochrome.org (Chris Hill) Date: Fri Jan 2 01:23:52 2009 Subject: Nice web interface or music? In-Reply-To: <20090101230343.GA27076@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> <20090101204822.GB23840@teddy.fas.com> <20090101161436.X53198@tripel.monochrome.org> <20090101230343.GA27076@teddy.fas.com> Message-ID: <20090101192752.K53198@tripel.monochrome.org> Please keep the list cc'd since others may know more than I do. On Thu, 1 Jan 2009, stan wrote: > On Thu, Jan 01, 2009 at 04:29:18PM -0500, Chris Hill wrote: >> Sorry for the brevity earlier. The squeezecenter software is intended >> for use in supporting the Squeezebox family of hardware music players >> made by Logitech, hence the "congrats". You *don't* actually have to >> create any account, and I'm not sure why they ask you to. You don't >> have to buy a player either; I use the included Java Web Start >> "virtual player". On the web interface, look under Extras -> >> SoftSqueeze and use either the applet or the JWS. Or you could buy a >> player [later], or both. > > Thanks for taking the time to help out with this. What I am trying to > do is make the music available to some friends of mine, who live in a > diferent city. I want them to be ble to downlaod the songs, so that > can play them on thier Ipods, and alos listen to the music streamed > from my machine. I would first get it working on your local network, then work on the remote part. > OK, I downloaded, and ran that. > >> >> You also need to put your music on the server in order to serve it >> (!). I have mine in a hierarchy of directories for artists and >> albums, but I guess you could just put your (properly tagged) mp3s on >> the machine somewhere. Tell squeezecenter where it is and have it >> re-scan. > > Right, I have them in the webservers tree. I figured out how to point > the software at them, and created a new directory for the "project", > Now I can work my way through picking musinc, but when I press that > "play" Icon (right hand top of the screen). it does not play the misc. > What am I doing wrong? I'm guessing that when you say "screen", you mean the web interface to the Squeezecenter server, accessed via http://your_servers_ip:9000. That screen talks to the server; it does not control the local machine on which you are browsing to it. Presumably the local machine has the X display, sound card etc. Just to confuse the issue some more, the server can run on the same machine as you're browsing from. Although you don't need to buy a hardware player, you (and whatever friends want to listen later) will have to run some sort of player. As I said before, if you don't want to buy a hardware player you can use either of the two built-in Java-based software players. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From shilp.kamal at yahoo.com Fri Jan 2 02:40:11 2009 From: shilp.kamal at yahoo.com (Kamlesh Patel) Date: Fri Jan 2 02:40:18 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module Message-ID: <387210.21917.qm@web45407.mail.sp1.yahoo.com> Hi Friends, Happy New Year, I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever i modify little code of vmpage.c file i need to build the whole kernel to check the modification and i even am not able to debug the kernel code. Could anyone please inform me kernel Debugging tools for FreeBSD OS? Kamlesh MS CS, CSUS From hartzell at alerce.com Fri Jan 2 02:43:44 2009 From: hartzell at alerce.com (George Hartzell) Date: Fri Jan 2 02:43:51 2009 Subject: Nice web interface or music? In-Reply-To: <20090101192752.K53198@tripel.monochrome.org> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> <20090101204822.GB23840@teddy.fas.com> <20090101161436.X53198@tripel.monochrome.org> <20090101230343.GA27076@teddy.fas.com> <20090101192752.K53198@tripel.monochrome.org> Message-ID: <18781.30899.526432.186759@almost.alerce.com> In addition to the java clients, you can also go lower tech. and try this: http://www.ex-parrot.com/~pdw/slimp3slave/ or even the lower tech comment from that web site: [...] to running mpg123 http://slimserver:9000/stream.mp3 g. From mehulc87 at gmail.com Fri Jan 2 03:16:30 2009 From: mehulc87 at gmail.com (Mehul Chadha) Date: Fri Jan 2 03:16:36 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: <387210.21917.qm@web45407.mail.sp1.yahoo.com> References: <387210.21917.qm@web45407.mail.sp1.yahoo.com> Message-ID: <251d650c0901011856n20dd48efuc6a5ef714320e1cf@mail.gmail.com> Hi kamlesh, Happy New Year. I am not aware of the debugging tools in freebsd available right now in the market. But I am working on a virtual mode freebsd project similar to what UML does in linux. This will help in executing the entire OS in the user space of real OS running on HW. This will be the best debugging tool to debug all the non architecture specific code in freebsd. The project is specially catered to problems similar to what you are facing. We are expecting the project to be completed in next 3 months. Regards, Mehul On Fri, Jan 2, 2009 at 7:57 AM, Kamlesh Patel wrote: > Hi Friends, Happy New Year, > > I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever > i modify little code of vmpage.c file i need to build the whole kernel to > check the modification and i even am not able to debug the kernel code. > > Could anyone please inform me kernel Debugging tools for FreeBSD OS? > > Kamlesh > MS CS, CSUS > > > > > _______________________________________________ > 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 darren at thebomb.com Fri Jan 2 06:29:12 2009 From: darren at thebomb.com (Darren David) Date: Fri Jan 2 06:29:20 2009 Subject: disklabel not returning values for large RAID In-Reply-To: <495DB123.4020908@thebomb.com> References: <495DB123.4020908@thebomb.com> Message-ID: <495DB431.7030802@thebomb.com> Darren David wrote: > Hi all- > > I recently added a 4th 750GB disk to my existing 1.5TB 3ware RAID5 > volume, in an attempt to bring my total capacity up to ~2.25TB (4x750GB > RAID5). > > I successfully used the 3ware 'tw-cli' utility to perform "Online > Capacity Expansion." The controller migrated the existing data across > all 4 disks, and it now reports a total volume capacity of 2095.44GB. > Excellent. > > So, the issue I'm having is with getting FreeBSD 7.0-Release to > recognize the additional space. I've seen scant few articles on the > subject, the best of which is here: > > http://ezine.daemonnews.org/200111/growfs.html > > My primary issue right now is that when I attempt to run disklabel on > the volume (/dev/da0) in order to get my calculations for fdisk, i get: > > # disklabel /dev/da0 > disklabel: disks with more than 2^32-1 sectors are not supported > > and when I attempt it on the slice, i get: > > # disklabel /dev/da0s1 > disklabel: /dev/da0s1: no valid label found > > What's the trick here? > > Thanks in advance, > Darren David Update: OK, I discovered gpt. Here's the output: # gpt show /dev/da0 start size index contents 0 1 MBR 1 62 63 2929629402 1 MBR part 165 2929629465 1464835815 Can anyone please give me some insight as to where to go from here? Cheers, Darren From darren at thebomb.com Fri Jan 2 06:47:51 2009 From: darren at thebomb.com (Darren David) Date: Fri Jan 2 06:47:57 2009 Subject: disklabel not returning values for large RAID Message-ID: <495DB123.4020908@thebomb.com> Hi all- I recently added a 4th 750GB disk to my existing 1.5TB 3ware RAID5 volume, in an attempt to bring my total capacity up to ~2.25TB (4x750GB RAID5). I successfully used the 3ware 'tw-cli' utility to perform "Online Capacity Expansion." The controller migrated the existing data across all 4 disks, and it now reports a total volume capacity of 2095.44GB. Excellent. So, the issue I'm having is with getting FreeBSD 7.0-Release to recognize the additional space. I've seen scant few articles on the subject, the best of which is here: http://ezine.daemonnews.org/200111/growfs.html My primary issue right now is that when I attempt to run disklabel on the volume (/dev/da0) in order to get my calculations for fdisk, i get: # disklabel /dev/da0 disklabel: disks with more than 2^32-1 sectors are not supported and when I attempt it on the slice, i get: # disklabel /dev/da0s1 disklabel: /dev/da0s1: no valid label found What's the trick here? Thanks in advance, Darren David From stanb at panix.com Fri Jan 2 07:24:18 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 07:24:25 2009 Subject: Nice web interface or music? In-Reply-To: <18781.30899.526432.186759@almost.alerce.com> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> <20090101204822.GB23840@teddy.fas.com> <20090101161436.X53198@tripel.monochrome.org> <20090101230343.GA27076@teddy.fas.com> <20090101192752.K53198@tripel.monochrome.org> <18781.30899.526432.186759@almost.alerce.com> Message-ID: <20090102070436.GA3773@teddy.fas.com> On Thu, Jan 01, 2009 at 06:15:15PM -0800, George Hartzell wrote: > > In addition to the java clients, you can also go lower tech. and try this: > > http://www.ex-parrot.com/~pdw/slimp3slave/ > > or even the lower tech comment from that web site: > > [...] to running mpg123 http://slimserver:9000/stream.mp3 I am begining to think, from this and some other replies that I have ecieved, that I was not clear in my original question. Let me clarify. What I am looking for is a package, that will allow remote users to access MP#'s stored on my machine, from a web based interface, that presents the files in an organized fashion. I think that the remote userrs should be able to "play" these files using the built in capabilites of thier web browser to send the files to an appropriate program running on thier local machine (EG Winamp). In addition, I want these userrs to be able to downlaod the MP3's to thier local machine, so that they can put them on thier local laptop, or Ipod, or whatever. Is this clearer? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Fri Jan 2 07:33:56 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 07:34:04 2009 Subject: An Apache2 configuration question Message-ID: <20090102073354.GA4245@teddy.fas.com> I'm setting up a 7.1 machine thta will server as, among other things, a web serrver. I've installed Apache2. I have some directores in the Apache documnet directory that I wish to pasword protect. I have added the following clause to /usr/local/etc/apache22/httpd.conf. I have created a In the directories that I want protected, I have created .htaccess files that look like this: AuthName "Pictures" AuthType "Basic" AuthUserFile /usr/local/etc/apache22/users2 require valid-user I have used htpasswd to create the users2 file. Ecerything works the way that I want _execpt_ the top level web page directory index, does not display the directories that have .htaccess files in them. What do I need to do to fix this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Fri Jan 2 07:36:38 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 07:36:48 2009 Subject: Web server password management Message-ID: <20090102073636.GB4245@teddy.fas.com> I am setting up an Aoache2 webserver, and I want to require authenticon for some of it's contents. I am thinking of using htaccess. Is there a package that I can install that will allow users to request that various account management tasks be done. What I have in mind is a page that let's people request accounts, allows me to approve these request, and updates the users for for htpassword? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From pranavpeshwe at gmail.com Fri Jan 2 07:42:49 2009 From: pranavpeshwe at gmail.com (Pranav Peshwe) Date: Fri Jan 2 07:42:56 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: <387210.21917.qm@web45407.mail.sp1.yahoo.com> References: <387210.21917.qm@web45407.mail.sp1.yahoo.com> Message-ID: On Fri, Jan 2, 2009 at 7:57 AM, Kamlesh Patel wrote: > Hi Friends, Happy New Year, > > I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever > i modify little code of vmpage.c file i need to build the whole kernel to > check the modification and i even am not able to debug the kernel code. > > Could anyone please inform me kernel Debugging tools for FreeBSD OS? > Hi, ddb and kgdb are two useful and often indispensable tools for kernel debugging on FBSD. ddb won't allow you source level debugging, kgdb will, but you'll need an extra machine. Dtrace from the Solaris world is being ported to FBSD, that too can be useful at times. You can find more information in the FBSD developers handbook here - http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html AFAIK, if you are modifying the kernel source directly there is no option but to recompile all the changed and dependent files. I do not know whether it works out of the box, but you can try using ccache to speed up the compilation. HTH. Best regards, Pranav http://pranavsbrain.peshwe.com From kes-kes at yandex.ru Fri Jan 2 08:12:59 2009 From: kes-kes at yandex.ru (KES) Date: Fri Jan 2 08:13:07 2009 Subject: Routing table for service Message-ID: <443279805.20090102101300@yandex.ru> ????????????, Questions. Is there any options to set routing table for service? For example: rc.conf named_enable="YES" named_fib="2" so it will be run as: setfib 2 /usr/sbin/named -t /var/named -u bind instead of /usr/sbin/named -t /var/named -u bind -- ? ?????????, KES mailto:kes-kes@yandex.ru From stanb at panix.com Fri Jan 2 08:17:58 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 08:18:05 2009 Subject: Apache 2 docs question Message-ID: <20090102081756.GA5458@teddy.fas.com> I'm setting up a new web server on 7.1 using Apache 2. I am reusing an old top level index.html that's from an Apache 1 install. I created a sym link to the Apache docs at /usr/local/share/doc/apache22 to the old "manuual" name. Here's the snipet from the index.html file thta points at it:

The Apache documentation has been included with this distribution.

But I don;t get a useful display, from this. The index.html file that is in this directory does not look like I expect. I suspect that I need to set up something so that the language is defined, right? How can I do this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From bakul at bitblocks.com Fri Jan 2 08:51:42 2009 From: bakul at bitblocks.com (Bakul Shah) Date: Fri Jan 2 08:51:56 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: Your message of "Fri, 02 Jan 2009 12:40:08 +0530." References: <387210.21917.qm@web45407.mail.sp1.yahoo.com> Message-ID: <20090102084609.8F5A35B05@mail.bitblocks.com> > ddb and kgdb are two useful and often indispensable tools for kernel > debugging on FBSD. ddb won't allow you source level debugging, kgdb will, > but you'll need an extra machine. If the code you are debugging doesn't depend on specific hardware, one option is to run FreeBSD (with the kernel being debugged) under qemu and run kgdb on the host FreeBSD. Something like In Window1 $ qemu -s freebsd-disk-img ... In Window2 $ cd $ kgdb kernel.debug (gdb) target remote localhost:1234 (gdb) detach Ending remote debugging. (gdb) q $ Note: I have not tried this recently but it should work. > AFAIK, if you are modifying the kernel source directly there is no option > but to recompile all the changed and dependent files. Well... there used to be a debugger called ups with a builtin C interpreter. It allowed you to add code at run time. This was quite handy when you wanted to temporarily patch things up and continue debugging or set conditional breakpoints or insert assertion verification code on the fly. The C interpreter is worth adding to gdb but I am not sure if any of ups code can be reused. See http://ups.sourceforge.net/ From eugen at kuzbass.ru Fri Jan 2 08:56:16 2009 From: eugen at kuzbass.ru (Eugene Grosbein) Date: Fri Jan 2 08:56:24 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: <387210.21917.qm@web45407.mail.sp1.yahoo.com> References: <387210.21917.qm@web45407.mail.sp1.yahoo.com> Message-ID: <20090102082117.GA78125@svzserv.kemerovo.su> On Thu, Jan 01, 2009 at 06:27:44PM -0800, Kamlesh Patel wrote: > I am working on Virtual Memory parts of FreeBSD OS. My Problem is, whenever i modify little code of vmpage.c file i need to build the whole kernel to check the modification and i even am not able to debug the kernel code. > > Could anyone please inform me kernel Debugging tools for FreeBSD OS? First, you need to recompile source you change for sure :-) But you have not rebuild all other files all the time. You need to add to your /etc/src.conf (or /etc/make.conf for 6.x and earlier): MODULES_WITH_WORLD=yes This will skip rebuilding of all modules during 'make buildkernel' but you MUST to copy all modules from /boot/kernel to /boot/modules (all files other than /boot/kernel/kernel*) if you do this. Otherwise, you'll lose modules and system may not boot due to missing vital modules like acpi.ko Then, if you do not change kernel config file, recompile your changes with command (only second time and then): cd /usr/src; make NO_KERNELDEPEND=yes NO_KERNELCLEAN=yes buildkernel So, your rebuild time changes drastically: no modules rebuild, no other sources rebuild other that you touched last time. It will relink previously compiled object code with your changes only, that's way much quicker. Reinstall kernel and reboot. Second, you should use some kind of virtual machine (like qemu from ports) to speedup your development cycle even more: install the system into virtual machine and you'll need not another box to debug the kernel and need not rebuild your development box. Test your changes with the system installed into VM and reboot it only. Use ddb or kgdb already noted here. Eugene Grosbein From leslie at eskk.nu Fri Jan 2 09:16:36 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Fri Jan 2 09:16:44 2009 Subject: Suddenly "shutdown -p now" produces a reboot Message-ID: <495DDB6F.1000800@eskk.nu> I have a Server with Squid, 7.0-RELEASE-p4 FreeBSD, squid-3.0.11, that has been running fine for the last six months, at least. It is shutdown every night at 7 PM via cron. Now suddenly the machine is rebooting instead, and I've made no changes whatsoever. I'm wondering if this is a symptom of a coming hardware failure or if I can do something to get the normal behaviour back. I did have a similar problem when I first put the machine into production, then it was clear from /var/log/messages that squid did not have enough time to shutdown and I solved it by changeing the parameter rcshutdown_timeout="90" i rc.conf. Here's a piece of /var/log/messages ----------- snip ------------ Jan 1 19:05:00 server01 shutdown: power-down by root: Jan 1 19:05:33 server01 squid[823]: Squid Parent: child process 826 exited with status 0 Jan 1 19:05:34 server01 named[718]: stopping command channel on 127.0.0.1#953 Jan 1 19:05:34 server01 named[718]: stopping command channel on ::1#953 Jan 1 19:05:34 server01 named[718]: exiting Jan 1 19:05:36 server01 syslogd: exiting on signal 15 Jan 1 19:07:29 server01 syslogd: kernel boot file is /boot/kernel/kernel Jan 1 19:07:29 server01 kernel: Copyright (c) 1992-2008 The FreeBSD Project. Jan 1 19:07:29 server01 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1 989, 1991, 1992, 1993, 1994 Jan 1 19:07:29 server01 kernel: The Regents of the University of California. All rights reserved. ----------- snip ------------ Thanks /Leslie From gesbbb at yahoo.com Fri Jan 2 12:14:53 2009 From: gesbbb at yahoo.com (Jerry) Date: Fri Jan 2 12:15:00 2009 Subject: An Apache2 configuration question In-Reply-To: <20090102073354.GA4245@teddy.fas.com> References: <20090102073354.GA4245@teddy.fas.com> Message-ID: <20090102071440.4b063e5a@scorpio> On Fri, 2 Jan 2009 02:33:54 -0500 stan wrote: >I'm setting up a 7.1 machine thta will server as, among other things, >a web serrver. I've installed Apache2. I have some directores in the >Apache documnet directory that I wish to pasword protect. I have added >the following clause to /usr/local/etc/apache22/httpd.conf. I have >created a > > Options Indexes FollowSymLinks > AllowOverride AuthConfig > > >In the directories that I want protected, I have created .htaccess >files that look like this: > >AuthName "Pictures" >AuthType "Basic" >AuthUserFile /usr/local/etc/apache22/users2 >require valid-user > >I have used htpasswd to create the users2 file. > >Ecerything works the way that I want _execpt_ the top level web page >directory index, does not display the directories that have .htaccess >files in them. > >What do I need to do to fix this? Have you checked out this URL: http://httpd.apache.org/docs/1.3/howto/auth.html You might also consider posting your question on the Apache list. -- Jerry gesbbb@yahoo.com There seems no plan because it is all plan. C.S. Lewis -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090102/b2f45d33/signature.pgp From talon at lpthe.jussieu.fr Fri Jan 2 12:54:48 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Fri Jan 2 12:54:55 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module Message-ID: <20090102125444.GA55765@lpthe.jussieu.fr> Mehul Chadha wrote: > But I am working on a virtual > mode freebsd project similar to what UML does in linux. Do you mean like vkernel in DragonFlyBSD? http://leaf.dragonflybsd.org/cgi/web-man/?command=vkernel§ion=ANY -- Michel TALON From mehulc87 at gmail.com Fri Jan 2 13:26:43 2009 From: mehulc87 at gmail.com (Mehul Chadha) Date: Fri Jan 2 13:26:49 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: <20090102125444.GA55765@lpthe.jussieu.fr> References: <20090102125444.GA55765@lpthe.jussieu.fr> Message-ID: <251d650c0901020526w53a210f9xc1987f5eaa9c175d@mail.gmail.com> Michel Talon Wrote: > Do you mean like vkernel in DragonFlyBSD? Yes, UML and vkernel cater to same problem the implementation being the obvious difference between them. We have implemented some part of it and working on the design of the rest. We have been following the vkernel and UML and trying to move away with some of the shortcomings in both. It will be helpful for us if we can have some valuable inputs or any advice from your side. Regards, Mehul On Fri, Jan 2, 2009 at 6:24 PM, Michel Talon wrote: > Mehul Chadha wrote: > > > But I am working on a virtual > > mode freebsd project similar to what UML does in linux. > > Do you mean like vkernel in DragonFlyBSD? > http://leaf.dragonflybsd.org/cgi/web-man/?command=vkernel§ion=ANY > > > -- > > Michel TALON > > _______________________________________________ > 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 stanb at panix.com Fri Jan 2 13:38:07 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 13:38:14 2009 Subject: An Apache2 configuration question In-Reply-To: <20090102071440.4b063e5a@scorpio> References: <20090102073354.GA4245@teddy.fas.com> <20090102071440.4b063e5a@scorpio> Message-ID: <20090102133805.GA12504@teddy.fas.com> On Fri, Jan 02, 2009 at 07:14:40AM -0500, Jerry wrote: > On Fri, 2 Jan 2009 02:33:54 -0500 > stan wrote: > > >I'm setting up a 7.1 machine thta will server as, among other things, > >a web serrver. I've installed Apache2. I have some directores in the > >Apache documnet directory that I wish to pasword protect. I have added > >the following clause to /usr/local/etc/apache22/httpd.conf. I have > >created a > > > > > Options Indexes FollowSymLinks > > AllowOverride AuthConfig > > > > > >In the directories that I want protected, I have created .htaccess > >files that look like this: > > > >AuthName "Pictures" > >AuthType "Basic" > >AuthUserFile /usr/local/etc/apache22/users2 > >require valid-user > > > >I have used htpasswd to create the users2 file. > > > >Ecerything works the way that I want _execpt_ the top level web page > >directory index, does not display the directories that have .htaccess > >files in them. > > > >What do I need to do to fix this? > > Have you checked out this URL: > > http://httpd.apache.org/docs/1.3/howto/auth.html > Thanks for the pointer. I read through it, and it does not discuss the visibility of directoiresm unfortunately. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From frederique at isafeelin.org Fri Jan 2 13:49:53 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Fri Jan 2 13:49:59 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? Message-ID: <495E17AD.30707@isafeelin.org> Hi freebsd-questions, For personal use (photo/video storage), I'm looking into creating a huge single ZFS (raidz) volume that will replace my current collection of drives used as storage. I'm thinking 4*1TB drives in RAID5(z). My question is regarding the flavour of drivers that one can choose from: Desktop class drives, or the so called RAID/Enterprise class drives. The difference between the two being the way such a drive handles the bad-sector/block handling and remapping. I understand that Desktop class drives do all this internally, and this is a process that can take up to >60s (even minutes on some), and during this process the drive is unavailable to the controller. The RAID edition drives all appoach this differently and alot faster, typically before 8 seconds. How does ZFS handle this? Should I be looking for the RAID class drives or can Desktop class drives be used here? My worry is of course that such a drive (destkop class) will be marked defective and thrown out of the raid volume if a remapping of bad sectors occurs and the drive will be unresponsive to the controller/ZFS for > 8 seconds. Some drives can be configured in this area, but not all, and there's quite a price difference in the two, the desktop class being up to 50% cheaper in some cases.. Anybody that can shed some light on this? Thanks, -- Frederique From wojtek at wojtek.tensor.gdynia.pl Fri Jan 2 15:08:07 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 15:08:14 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495E17AD.30707@isafeelin.org> References: <495E17AD.30707@isafeelin.org> Message-ID: <20090102160727.A38841@wojtek.tensor.gdynia.pl> > Hi freebsd-questions, > > For personal use (photo/video storage), I'm looking into creating a huge > single ZFS (raidz) volume that will replace my current collection of > drives used as storage. I'm thinking 4*1TB drives in RAID5(z). think twice before doing. > > My question is regarding the flavour of drivers that one can choose > from: Desktop class drives, or the so called RAID/Enterprise class drives. but cheap drives they are OK. From eculp at casasponti.net Fri Jan 2 15:36:49 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Fri Jan 2 15:36:56 2009 Subject: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT Message-ID: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> I'm currently using wep at home and in the office configured from rc.conf. example: ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" I'm traveling and haven't been able to connect to hotspots that are using wpa[2]. The handbook isn't up to date and I have been looking for over a week unsuccessfully. As far as I know there isn't an X utility to do this from and I've tried wpa_suplicant.conf with a router here but since I don't understand it, I'm sure it is incorrect (plus the important clue that it doesn't work) Hopefully this is an easier and simpler way to do this. The wpa_supplicant.conf configuration that I've tested is: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ## eapol_version=1 ap_scan=1 fast_reauth=1 network={ scan_ssid=1 proto=WPA2 ssid="TestRouter" ## bssid=[mac address of your access point here] ## key_mgmt=WPA-PSK ## pairwise=TKIP ## psk=[i forgot what this is, presumably the md5 of the passphrase.] password="Testing123" } Any suggestions for getting out of this glass of water that I'm drowning in would be greatly appreciated. Thanks, ed From kernel at webrz.net Fri Jan 2 15:40:03 2009 From: kernel at webrz.net (Jos Chrispijn) Date: Fri Jan 2 15:40:10 2009 Subject: MySQL version upgrade Message-ID: <495E3551.40507@webrz.net> I currently have running: mysql-client-4.0.27 & mysql-server-4.0.27, who I would like to upgrade to mysql-client-5.0.75 & mysql-server-5.0.75 I can imagine that there is a database issue here as the 4.0 records might differ from the 5.0 ones. Is there a way of upgrading smoothly? I did upgrade my databases in advance. -- best Wishes for 2009 and thank you for your support in the last year. From gpeel at thenetnow.com Fri Jan 2 15:47:48 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Jan 2 15:48:24 2009 Subject: Memory Usage Message-ID: Hi all, Does anyone have scripts they may be willing to share the parses any FreeBSD utility (top, w, etc) suitable for using the output to use mrtg to show memory and disk usage? -Grant From emss at free.fr Fri Jan 2 16:02:11 2009 From: emss at free.fr (Eric Masson) Date: Fri Jan 2 16:02:18 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102160727.A38841@wojtek.tensor.gdynia.pl> (Wojciech Puchar's message of "Fri, 2 Jan 2009 16:07:54 +0100 (CET)") References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> Message-ID: <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> Wojciech Puchar writes: Hi, > think twice before doing. Could you elaborate please ? Regards ?ric Masson -- > [Linux] c'est une philosophie un art de vivre, un ?tat int?rieur, > une sorte de fluide qui nous entoure et nous p?n?tre. Fais tourner stp ! -+- Guillaume in Guide du linuxien pervers - "Tous drogu?s j'vous dis !" From apseudoutopia at gmail.com Fri Jan 2 16:04:40 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Fri Jan 2 16:04:49 2009 Subject: MySQL version upgrade In-Reply-To: <495E3551.40507@webrz.net> References: <495E3551.40507@webrz.net> Message-ID: <27ade5280901020804l6bb8e89ehdcccc670634babb3@mail.gmail.com> On Fri, Jan 2, 2009 at 10:40 AM, Jos Chrispijn wrote: > I currently have running: > > mysql-client-4.0.27 & mysql-server-4.0.27, who I would like to upgrade to > mysql-client-5.0.75 & mysql-server-5.0.75 > > I can imagine that there is a database issue here as the 4.0 records might > differ from the 5.0 ones. > Is there a way of upgrading smoothly? I did upgrade my databases in advance. > > -- best Wishes for 2009 and thank you for your support in the last year. > _______________________________________________ > freebsd-questions@freebsd.org mailing list I'd recommend that you read up on the MySQL documentation on the subject of upgrading. I don't mean to be mean, but it's not exactly a FreeBSD issue :-P http://dev.mysql.com/doc/refman/5.0/en/upgrade.html and http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html From dick at nagual.nl Fri Jan 2 16:19:43 2009 From: dick at nagual.nl (dick hoogendijk) Date: Fri Jan 2 16:19:49 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> Message-ID: <20090102171936.1d3cae3b.dick@nagual.nl> On Fri, 02 Jan 2009 16:40:38 +0100 Eric Masson wrote: > Wojciech Puchar writes: > > think twice before doing. > Could you elaborate please ? Not again this anti-zfs story please.. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv104 ++ + All that's really worth doing is what we do for others (Lewis Carrol) From jalmberg at identry.com Fri Jan 2 16:21:23 2009 From: jalmberg at identry.com (John Almberg) Date: Fri Jan 2 16:21:30 2009 Subject: Web server password management In-Reply-To: <20090102073636.GB4245@teddy.fas.com> References: <20090102073636.GB4245@teddy.fas.com> Message-ID: On Jan 2, 2009, at 2:36 AM, stan wrote: > I am setting up an Aoache2 webserver, and I want to require > authenticon for > some of it's contents. I am thinking of using htaccess. > > Is there a package that I can install that will allow users to > request that > various account management tasks be done. What I have in mind is a > page > that let's people request accounts, allows me to approve these > request, and > updates the users for for htpassword? > I don't use either of these, but have looked at them in the past. Maybe one will do what you need: http://www.syscp.org/ http://www.webmin.com/ -- John From cpghost at cordula.ws Fri Jan 2 16:42:12 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Jan 2 16:42:21 2009 Subject: Foiling MITM attacks on source and ports trees Message-ID: <20090102164412.GA1258@phenom.cordula.ws> Hello, with MITM attacks [1] on the rise, I'm concerned about the integrity of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup (and portsnap) from master or mirror servers. [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack There's already a small protection against MITM on the distfiles in ports: distinfo contain md5 and sha256 digests. This is an excellent idea that could be extended to *all* files in /usr/src, /usr/doc, and /usr/ports. What I'd like to have is a way to check the fetched /usr/src, /usr/doc, and /usr/ports files against a *digitally signed* list of (file, revision, digest) tuples that would be generated on-the-fly and on-demand, so that any modification of the files in transit would be detected (provided the checker program runs on an uncompromised host, of course). This should not only apply to up-to-the-minute current files, but also to files fetched, say, a few weeks or months ago (e.g. because they are deployed in stable production servers). Assuming there's a secure way (which is not affected by MITM) to obtain a master public key (GnuPG key) of the FreeBSD Project, it would be nice to have a mechanism in place that would: 1. create a compressed list of (file, revision, md5/sha1/...digest) tuples for /usr/src, /usr/doc, and /usr/ports trees, 2. sign this list with the master private key of the project and make it available. Because the number of revisions for any specific file can be huge, this list could grow very fast. It may be economical to have the program create only (file, revision, digest) tuples for a limited number of revisions, typically as many as needed between start and end of a typical csup run on slow links, or at most, say, 24h... starting at an arbitrary date in the past. To save CPU cycles, previous computed (file, revision, digest) tuples could be permanently cached in an RDBMS, in Subversion or wherever else that's appropriate. Oh, we could always use SSL between csup and the servers as fallback, but SSL is not without flaws and I doubt that all mirrors would have valid certificates, defeating the whole purpose of foiling MITM attacks. And SSL alone doesn't permit checking "after the fact" the integrity of an older snapshot. Any idea? Could this be implemented as a plugin to Subversion (since it must access previous revisions of files and previously computed digests)? Given read-only access to the repository, a set of simple Python scripts or C/C++ programs could easily implement the basic functionality and cache the results for fast retrieval by other scripts. But how well will all this scale? Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From wojtek at wojtek.tensor.gdynia.pl Fri Jan 2 16:48:42 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 16:48:50 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> Message-ID: <20090102174809.B39293@wojtek.tensor.gdynia.pl> > >> think twice before doing. > > Could you elaborate please ? ZFS still doesn't work as described ... From wojtek at wojtek.tensor.gdynia.pl Fri Jan 2 16:49:04 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 16:49:11 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102171936.1d3cae3b.dick@nagual.nl> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102171936.1d3cae3b.dick@nagual.nl> Message-ID: <20090102174836.K39293@wojtek.tensor.gdynia.pl> >> Wojciech Puchar writes: >>> think twice before doing. >> Could you elaborate please ? > > Not again this anti-zfs story please.. already described it some time ago. it's not my data anyway ;) From kernel at webrz.net Fri Jan 2 17:13:24 2009 From: kernel at webrz.net (Jos Chrispijn) Date: Fri Jan 2 17:13:31 2009 Subject: MySQL version upgrade [SOLVED] In-Reply-To: <27ade5280901020804l6bb8e89ehdcccc670634babb3@mail.gmail.com> References: <495E3551.40507@webrz.net> <27ade5280901020804l6bb8e89ehdcccc670634babb3@mail.gmail.com> Message-ID: <495E4B32.10203@webrz.net> [APseudoUtopia] Uit een eerder bericht van 2-1-2009 17:04 :: > I'd recommend that you read up on the MySQL documentation on the > subject of upgrading. > I don't mean to be mean, but it's not exactly a FreeBSD issue :-P I ofcourse was referring to the ports part of the whole story, sorry for not being clear about this. What I did: - Upgrade the MySQL client port and its dependencies first. - Upgraded mysql-client %> portupgrade -o databases/mysql50-client -f mysql-client-\* - Upgrade mysql-server %> portupgrade -o databases/mysql50-server -f mysql-server-\* - Recompiled everything else that depends on mysql-client so that they all link against the upgraded shlib: %> portupgrade -Nfi -r mysql-client-\* -x mysql-client -x mysql-server - Restarted my mysql-server and ran the mysql-upgrade program: %> mysql_upgrade -v -b /usr/local -d /var/db/mysql -u root Then I checked /var/db/mysql/mysite.err to see if there were any obvious problems (...): 090102 17:58:45 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run So I did a fix on my SQL tables: %> mysql_fix_privilege_tables --password=my_password mysite.err: 090102 18:07:39 mysqld started 090102 18:07:39 InnoDB: Started; log sequence number 0 2232580 090102 18:07:39 [Note] /usr/local/libexec/mysqld: ready for connections. Version: '5.0.75' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-5.0.75 After this I tested all mysql client programs and am happy again :-) -- Jos Chrispijn From vince at unsane.co.uk Fri Jan 2 17:30:31 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Jan 2 17:30:39 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102164412.GA1258@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> Message-ID: <495E4F24.80209@unsane.co.uk> cpghost wrote: > Hello, > > with MITM attacks [1] on the rise, I'm concerned about the integrity > of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup > (and portsnap) from master or mirror servers. > > [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack > > There's already a small protection against MITM on the distfiles in > ports: distinfo contain md5 and sha256 digests. This is an excellent > idea that could be extended to *all* files in /usr/src, /usr/doc, and > /usr/ports. > According to http://www.daemonology.net (the creator of portsnap and also freebsd-update as well as being the freebsd security officer's website) and a quick look though the freebsd-update and portsnap scripts, both portsnap and freebsd update provide reasonable cryptographic protection from MITHM attacks. ({freebsd-update,portsnap}.conf contains a sha256 hash of the rsa key used to sign the updates) Admittedly this doesn't give a file by file checksum but does give reasonable protection against MITM attacks for updates of the ports tree and the -RELEASE src trees. Vince > What I'd like to have is a way to check the fetched /usr/src, > /usr/doc, and /usr/ports files against a *digitally signed* list of > (file, revision, digest) tuples that would be generated on-the-fly and > on-demand, so that any modification of the files in transit would be > detected (provided the checker program runs on an uncompromised host, > of course). > > This should not only apply to up-to-the-minute current files, but also > to files fetched, say, a few weeks or months ago (e.g. because they > are deployed in stable production servers). > > Assuming there's a secure way (which is not affected by MITM) to > obtain a master public key (GnuPG key) of the FreeBSD Project, it > would be nice to have a mechanism in place that would: > Agreed, a more secure way of getting it than http://www.freebsd.org/security/so_public_key.asc would be nice, (just ssl would make me happy.) > 1. create a compressed list of (file, revision, md5/sha1/...digest) > tuples for /usr/src, /usr/doc, and /usr/ports trees, > > 2. sign this list with the master private key of the project and > make it available. > > Because the number of revisions for any specific file can be huge, > this list could grow very fast. It may be economical to have the > program create only (file, revision, digest) tuples for a limited > number of revisions, typically as many as needed between start and end > of a typical csup run on slow links, or at most, say, 24h... starting > at an arbitrary date in the past. > > To save CPU cycles, previous computed (file, revision, digest) > tuples could be permanently cached in an RDBMS, in Subversion or > wherever else that's appropriate. > > Oh, we could always use SSL between csup and the servers as fallback, > but SSL is not without flaws and I doubt that all mirrors would have > valid certificates, defeating the whole purpose of foiling MITM > attacks. And SSL alone doesn't permit checking "after the fact" > the integrity of an older snapshot. > > Any idea? Could this be implemented as a plugin to Subversion (since > it must access previous revisions of files and previously computed > digests)? Given read-only access to the repository, a set of simple > Python scripts or C/C++ programs could easily implement the basic > functionality and cache the results for fast retrieval by other > scripts. But how well will all this scale? > > Thanks, > -cpghost. > > From datahead4 at gmail.com Fri Jan 2 17:50:50 2009 From: datahead4 at gmail.com (Matt) Date: Fri Jan 2 17:50:57 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102164412.GA1258@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> Message-ID: On Fri, Jan 2, 2009 at 10:44 AM, cpghost wrote: > Hello, > > with MITM attacks [1] on the rise, I'm concerned about the integrity > of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup > (and portsnap) from master or mirror servers. > > [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack > > There's already a small protection against MITM on the distfiles in > ports: distinfo contain md5 and sha256 digests. This is an excellent > idea that could be extended to *all* files in /usr/src, /usr/doc, and > /usr/ports. > Something like this was discussed back in September: http://lists.freebsd.org/pipermail/freebsd-hackers/2008-September/026052.html I haven't tried Max's script yet, but it looks like it should do at least some of what you're looking for. Matt From cpghost at cordula.ws Fri Jan 2 18:03:50 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Jan 2 18:03:56 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: References: <20090102164412.GA1258@phenom.cordula.ws> Message-ID: <20090102180524.GA1742@phenom.cordula.ws> On Fri, Jan 02, 2009 at 11:26:45AM -0600, Matt wrote: > On Fri, Jan 2, 2009 at 10:44 AM, cpghost wrote: > > Hello, > > > > with MITM attacks [1] on the rise, I'm concerned about the integrity > > of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup > > (and portsnap) from master or mirror servers. > > > > [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack > > > > There's already a small protection against MITM on the distfiles in > > ports: distinfo contain md5 and sha256 digests. This is an excellent > > idea that could be extended to *all* files in /usr/src, /usr/doc, and > > /usr/ports. > > Something like this was discussed back in September: > http://lists.freebsd.org/pipermail/freebsd-hackers/2008-September/026052.html > > I haven't tried Max's script yet, but it looks like it should do at > least some of what you're looking for. It's a beginning for sure. I assume (403 error) Max generates and saves digests on his snapshots and the verification script does the same locally and simply compares both lists. In an extended version, it could grep for the digests in the increasingly big list on Max's site... But that's not ideal because: 1) There's no guarantee that Max's csup has not been MITM-ed itself. 2) Max can't csup EVERY revision to digest it in near real-time. 3) Even with SSL on his site, I'd prefer a digitally signed list. ;) With this version of the script, it's not possible to check the integrity of an arbitrary specific snapshot in time (say, starting with the subversion migration and later). That's why I'm thinking of (file, revision, digest) tuples, and not just (file, digest) tuples that would need to go in that list; and a logic to fetch a subset of the list, based on revision numbers. The main problem I see here with (file, digest) tuples, is how to guess the right revision number of the local file. Unless that is transferred alongside csup (into a metadata directory? /var/db/sup perhaps?), it will be necessary to check a local file against a list of "known and good" digests -- the list created from the repository out of all revisions that ever existed for that file --. This is good enough against casual MITM, where an attacker creates his own replacement files, but it's not good enough if the attacker merely substitutes a current file with an older (but legitimate) file that contains a vulnerability. That old file would verify OK because it has a valid digest, but it's still not the file that should be in the checkout. See the problem? Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From cpghost at cordula.ws Fri Jan 2 18:17:05 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Jan 2 18:17:12 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <495E4F24.80209@unsane.co.uk> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> Message-ID: <20090102181835.GB1742@phenom.cordula.ws> On Fri, Jan 02, 2009 at 05:30:12PM +0000, Vincent Hoffman wrote: > cpghost wrote: > > Hello, > > > > with MITM attacks [1] on the rise, I'm concerned about the integrity > > of local /usr/src, /usr/doc, and /usr/ports trees fetched through csup > > (and portsnap) from master or mirror servers. > > > > [1] http://en.wikipedia.org/wiki/Man-in-the-middle_attack > > > > There's already a small protection against MITM on the distfiles in > > ports: distinfo contain md5 and sha256 digests. This is an excellent > > idea that could be extended to *all* files in /usr/src, /usr/doc, and > > /usr/ports. > > > > According to http://www.daemonology.net (the creator of portsnap and > also freebsd-update as well as being the freebsd security officer's > website) and a quick look though the freebsd-update and portsnap > scripts, both portsnap and freebsd update provide reasonable > cryptographic protection from MITHM attacks. > ({freebsd-update,portsnap}.conf contains a sha256 hash of the rsa key > used to sign the updates) > Admittedly this doesn't give a file by file checksum but does give > reasonable protection against MITM attacks for updates of the ports tree > and the -RELEASE src trees. Interesting! As csup user, I'm not using freebsd-update and portsnap often nor regularly, but will have a look at it. Thanks for the hint. > > Assuming there's a secure way (which is not affected by MITM) to > > obtain a master public key (GnuPG key) of the FreeBSD Project, it > > would be nice to have a mechanism in place that would: > > Agreed, a more secure way of getting it than > http://www.freebsd.org/security/so_public_key.asc would be nice, (just > ssl would make me happy.) Yup. ;) Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From m.seaman at infracaninophile.co.uk Fri Jan 2 18:26:23 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jan 2 18:26:31 2009 Subject: Memory Usage In-Reply-To: References: Message-ID: <495E5C41.70102@infracaninophile.co.uk> Grant Peel wrote: > Does anyone have scripts they may be willing to share the parses any > FreeBSD utility (top, w, etc) suitable for using the output to use > mrtg to show memory and disk usage? net-mgmt/net-snmpd ? Or even, perhaps the base system's bsnmpd (although I'm not sure if this has support for all the OIDs you'ld need to query yet)? I don't know about mrtg, but snmpd+cacti lets me graph the sort of parameters you're interested in pretty simply. I believe mrtg normally does snmp queries to get interface stats -- it shouldn't be too hard to persuade it to make the equivalent queries to get disk or memory usage stats. 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: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090102/8cef70da/signature.pgp From a at jenisch.at Fri Jan 2 18:33:01 2009 From: a at jenisch.at (Ewald Jenisch) Date: Fri Jan 2 18:33:08 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) Message-ID: <20090102183257.GA2911@aurora.oekb.co.at> Hi, I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). Afaik there isn't 3D support yet with this card, so my primary goal is to get it working as far as 2D and speed is concerned (I don't want to go for "vesa" if at all possible) Which driver should I use for this card - radeon or radeonhd? Anything to consider besides having either "Driver radeon" or "Driver radeonhd" in the xorg.conf in order to get going? Thanks much in advance for any clue, -ewald From adamk at voicenet.com Fri Jan 2 18:43:25 2009 From: adamk at voicenet.com (Adam K Kirchhoff) Date: Fri Jan 2 18:43:32 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <20090102183257.GA2911@aurora.oekb.co.at> References: <20090102183257.GA2911@aurora.oekb.co.at> Message-ID: <200901021342.38522.adamk@voicenet.com> On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote: > Hi, > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). > > Afaik there isn't 3D support yet with this card, so my primary goal is > to get it working as far as 2D and speed is concerned (I don't want to > go for "vesa" if at all possible) > > > Which driver should I use for this card - radeon or radeonhd? > > Anything to consider besides having either "Driver radeon" or "Driver > radeonhd" in the xorg.conf in order to get going? > > Thanks much in advance for any clue, > -ewald Either radeon or radeonhd should be fine. Feature-wise, they are at the same level. No other changes are required. Very recently DRM support was added for those cards, giving them much faster 2D acceleration via EXA (without DRM support, only XAA is supported) and Xv support as well. Unfortunately, this is limited to linux at the moment, but I *believe* Robert Noland has begun investigating how to port those changes over. -- 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 Fri Jan 2 19:04:30 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 19:04:36 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102180524.GA1742@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> <20090102180524.GA1742@phenom.cordula.ws> Message-ID: <20090102200221.K39573@wojtek.tensor.gdynia.pl> > It's a beginning for sure. I assume (403 error) Max generates and > saves digests on his snapshots and the verification script does the > same locally and simply compares both lists. > it's plain paranoia. Yes such attacks are possible but usually there 100 other ways to compromise Your systems. if one really care then make your VPN for all your computers, use one that is unknown for others to download portsnap etc. and then use rsync to populate it to other machines. From cpghost at cordula.ws Fri Jan 2 19:28:51 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Jan 2 19:28:59 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102200221.K39573@wojtek.tensor.gdynia.pl> References: <20090102164412.GA1258@phenom.cordula.ws> <20090102180524.GA1742@phenom.cordula.ws> <20090102200221.K39573@wojtek.tensor.gdynia.pl> Message-ID: <20090102193002.GA72103@phenom.cordula.ws> On Fri, Jan 02, 2009 at 08:04:10PM +0100, Wojciech Puchar wrote: > > It's a beginning for sure. I assume (403 error) Max generates and > > saves digests on his snapshots and the verification script does the > > same locally and simply compares both lists. > > it's plain paranoia. Yes such attacks are possible but usually there 100 > other ways to compromise Your systems. > > if one really care then make your VPN for all your computers, use one that > is unknown for others to download portsnap etc. and then use rsync to > populate it to other machines. I'm already getting the files from one location and disseminate them via rsync-over-SSH-over-VPNs to the server farms. But the problem is the initial download from a cvsup mirror. That's the one I'm really concerned with. Note that I'm not concerned (all too much) with the integrity of the cvsup mirrors themselves (I trust cvsup server admins to take proper precautions against MITM between themselves and the master server, right guys?), but with the integrity of the TCP connection of random clients to those mirrors. That's the weakest link in the security chain, and I hope we can find a way to strenghten it. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From cpghost at cordula.ws Fri Jan 2 19:37:41 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Jan 2 19:37:48 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <200901021342.38522.adamk@voicenet.com> References: <20090102183257.GA2911@aurora.oekb.co.at> <200901021342.38522.adamk@voicenet.com> Message-ID: <20090102193848.GB72103@phenom.cordula.ws> On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote: > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote: > > Hi, > > > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). > > > > Afaik there isn't 3D support yet with this card, so my primary goal is > > to get it working as far as 2D and speed is concerned (I don't want to > > go for "vesa" if at all possible) > > > > > > Which driver should I use for this card - radeon or radeonhd? > > > > Anything to consider besides having either "Driver radeon" or "Driver > > radeonhd" in the xorg.conf in order to get going? > > > > Thanks much in advance for any clue, > > -ewald > > Either radeon or radeonhd should be fine. Feature-wise, they are at the same > level. No other changes are required. > > Very recently DRM support was added for those cards, giving them much faster > 2D acceleration via EXA (without DRM support, only XAA is supported) and Xv > support as well. Unfortunately, this is limited to linux at the moment, but I > *believe* Robert Noland has begun investigating how to port those changes > over. IIRC, it was related to having to use a more recent Xorg and MesaGL for the latest changes to work. As soon as the ports freeze is over, I assume they would get merged in. I'm also hoping to see support for DRI and Xv and even 3D in RV780 chipsets soon, esp. now that AMD has finally decided to release the RV600/700 specs to the public: http://www.phoronix.com/scan.php?page=article&item=amd_r600_oss_3d&num=1 -cpghost. -- Cordula's Web. http://www.cordula.ws/ From mcraft at peak15.org Fri Jan 2 19:54:03 2009 From: mcraft at peak15.org (Michael Craft) Date: Fri Jan 2 19:54:10 2009 Subject: No disks found on ASUS P5N-D, nForce 750i. Message-ID: <453a08ae0901021148i77576cacr2862566f0db30b44@mail.gmail.com> I have an ASUS P5N-D motherboard with an Nvidia nForce 750i chipset, and a Seagate 500GB SATA 3.0Gb/s hard drive. When I try to install FreeBSD 7.0 i386 from the bootonly CD, I get a "No disks found!" error when it gets to the partitioning section. Also strangely but probably just a coincidence, after I boot from the FreeBSD CD, my Windows XP installation freezes at mup.sys and I need to do a cold boot to fix it. Weird. Can anyone help? From hello45044 at gmail.com Fri Jan 2 20:14:50 2009 From: hello45044 at gmail.com (Michael Craft) Date: Fri Jan 2 20:14:58 2009 Subject: No disks found on ASUS P5N-D, nForce 750i. Message-ID: <453a08ae0901021143u513ed761h8de7149f3e2d2367@mail.gmail.com> I have an ASUS P5N-D motherboard with an Nvidia nForce 750i chipset, and a Seagate 500GB SATA 3.0Gb/s hard drive. When I try to install FreeBSD 7.0 i386 from the bootonly CD, I get a "No disks found!" error when it gets to the partitioning section. Also strangely but probably just a coincidence, after I boot from the FreeBSD CD, my Windows XP installation freezes at mup.sys and I need to do a cold boot to fix it. Weird. Can anyone help? From stanb at panix.com Fri Jan 2 20:17:32 2009 From: stanb at panix.com (stan) Date: Fri Jan 2 20:17:38 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102174809.B39293@wojtek.tensor.gdynia.pl> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102174809.B39293@wojtek.tensor.gdynia.pl> Message-ID: <20090102201730.GC22308@teddy.fas.com> On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote: > > > >>think twice before doing. > > > >Could you elaborate please ? > > ZFS still doesn't work as described ... Is that comment FreeBSD specifc, or aimed at ZFS in general? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From rsmith at xs4all.nl Fri Jan 2 20:24:28 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Jan 2 20:24:36 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <200901021342.38522.adamk@voicenet.com> References: <20090102183257.GA2911@aurora.oekb.co.at> <200901021342.38522.adamk@voicenet.com> Message-ID: <20090102202350.GA32655@slackbox.xs4all.nl> On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote: > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote: > > Hi, > > > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). > > > > Afaik there isn't 3D support yet with this card, so my primary goal is > > to get it working as far as 2D and speed is concerned (I don't want to > > go for "vesa" if at all possible) > > > > > > Which driver should I use for this card - radeon or radeonhd? > > > > Anything to consider besides having either "Driver radeon" or "Driver > > radeonhd" in the xorg.conf in order to get going? > > > > Thanks much in advance for any clue, > > -ewald > > Either radeon or radeonhd should be fine. Feature-wise, they are at the same > level. No other changes are required. > > Very recently DRM support was added for those cards, giving them much > faster 2D acceleration via EXA (without DRM support, only XAA is > supported) I've tried a HD3450 (RV620 chip) and a X1650Pro (RV535 chip) with both ati and radeonhd drivers. As of radeonhd 1.2.4 the X1650Pro works fine with XAA, to which it defaults. EXA wasn't very fast: (--) Chipset RV535 found (**) RADEONHD(0): Selected XAA 2D acceleration. (**) RADEONHD(0): Option "XaaNoOffscreenPixmaps" "true" (II) RADEONHD(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Scanline Image Writes Setting up tile and stipple cache: 32 128x128 slots 28 256x256 slots 16 512x512 slots The HD3450 only worked with shadowfb accelleration: (--) Chipset RV620 found (**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32 (**) RADEONHD(0): Option "AccelMethod" "exa" (WW) RADEONHD(0): RV620: HW 2D acceleration is not implemented yet. (**) RADEONHD(0): Selected ShadowFB. (II) RADEONHD(0): Xv: No Textured Video possible without the Command Processor. 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090102/e08d0506/attachment.pgp From wblock at wonkity.com Fri Jan 2 20:25:42 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Jan 2 20:25:49 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <20090102183257.GA2911@aurora.oekb.co.at> References: <20090102183257.GA2911@aurora.oekb.co.at> Message-ID: On Fri, 2 Jan 2009, Ewald Jenisch wrote: > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). > > Afaik there isn't 3D support yet with this card, so my primary goal is > to get it working as far as 2D and speed is concerned (I don't want to > go for "vesa" if at all possible) > > > Which driver should I use for this card - radeon or radeonhd? My impression is that radeon is the more stable and feature-complete at present. I've tested both on a couple of cards and radeonhd had some flaws (which I now can't recall). Probably won't get 2D acceleration on that card yet. Probably not even after 7.1-RELEASE, then xorg-7.4 and Robert Noland's DRM updates. However, AMD just released some stuff and more is on the way. > Anything to consider besides having either "Driver radeon" or "Driver > radeonhd" in the xorg.conf in order to get going? Not that I can recall. -Warren Block * Rapid City, South Dakota USA From adamk at voicenet.com Fri Jan 2 20:26:00 2009 From: adamk at voicenet.com (Adam K Kirchhoff) Date: Fri Jan 2 20:26:07 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <20090102193848.GB72103@phenom.cordula.ws> References: <20090102183257.GA2911@aurora.oekb.co.at> <200901021342.38522.adamk@voicenet.com> <20090102193848.GB72103@phenom.cordula.ws> Message-ID: <1230927941.4081.9.camel@sorrow.ashke.com> On Fri, 2009-01-02 at 20:38 +0100, cpghost wrote: > On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote: > > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote: > > > Hi, > > > > > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset). > > > > > > Afaik there isn't 3D support yet with this card, so my primary goal is > > > to get it working as far as 2D and speed is concerned (I don't want to > > > go for "vesa" if at all possible) > > > > > > > > > Which driver should I use for this card - radeon or radeonhd? > > > > > > Anything to consider besides having either "Driver radeon" or "Driver > > > radeonhd" in the xorg.conf in order to get going? > > > > > > Thanks much in advance for any clue, > > > -ewald > > > > Either radeon or radeonhd should be fine. Feature-wise, they are at the same > > level. No other changes are required. > > > > Very recently DRM support was added for those cards, giving them much faster > > 2D acceleration via EXA (without DRM support, only XAA is supported) and Xv > > support as well. Unfortunately, this is limited to linux at the moment, but I > > *believe* Robert Noland has begun investigating how to port those changes > > over. > > IIRC, it was related to having to use a more recent Xorg and MesaGL > for the latest changes to work. As soon as the ports freeze is over, > I assume they would get merged in. We're talking about the kernel modules here, not Xorg and Mesa. The DRM is necessary for EXA and Xv (as well as an updated DDX). And based on the conversations between Robert and the Linux/ATI folks, it is not as simple as merging the changes in. The new gart support necessary for r600/r700 cards, for example, is completely linux specific, as I understand it. > I'm also hoping to see support for DRI and Xv and even 3D in RV780 > chipsets soon, esp. now that AMD has finally decided to release the > RV600/700 specs to the public: > > http://www.phoronix.com/scan.php?page=article&item=amd_r600_oss_3d&num=1 > > -cpghost. The specs are not yet available. The only thing newly available is the DRM and updated DDX. The specs be available as soon as they finish sanitizing the documents and get approval. This will hopefully be "soon". :-) Adam -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From adamk at voicenet.com Fri Jan 2 20:34:58 2009 From: adamk at voicenet.com (Adam K Kirchhoff) Date: Fri Jan 2 20:35:06 2009 Subject: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT) In-Reply-To: <20090102202350.GA32655@slackbox.xs4all.nl> References: <20090102183257.GA2911@aurora.oekb.co.at> <200901021342.38522.adamk@voicenet.com> <20090102202350.GA32655@slackbox.xs4all.nl> Message-ID: <20090102153343.50ee2a68.adamk@voicenet.com> On Fri, 2 Jan 2009 21:23:50 +0100 Roland Smith wrote: > On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote: > > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote: > > > Hi, > > > > > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 > > > chipset). > > > > > > Afaik there isn't 3D support yet with this card, so my primary > > > goal is to get it working as far as 2D and speed is concerned (I > > > don't want to go for "vesa" if at all possible) > > > > > > > > > Which driver should I use for this card - radeon or radeonhd? > > > > > > Anything to consider besides having either "Driver radeon" or > > > "Driver radeonhd" in the xorg.conf in order to get going? > > > > > > Thanks much in advance for any clue, > > > -ewald > > > > Either radeon or radeonhd should be fine. Feature-wise, they are > > at the same level. No other changes are required. > > > > Very recently DRM support was added for those cards, giving them > > much faster 2D acceleration via EXA (without DRM support, only XAA > > is supported) > > I've tried a HD3450 (RV620 chip) and a X1650Pro (RV535 chip) with both > ati and radeonhd drivers. > > As of radeonhd 1.2.4 the X1650Pro works fine with XAA, to which it > defaults. EXA wasn't very fast: > > (--) Chipset RV535 found > (**) RADEONHD(0): Selected XAA 2D acceleration. > (**) RADEONHD(0): Option "XaaNoOffscreenPixmaps" "true" > (II) RADEONHD(0): Using XFree86 Acceleration Architecture (XAA) > Screen to screen bit blits > Solid filled rectangles > 8x8 mono pattern filled rectangles > Indirect CPU to Screen color expansion > Solid Lines > Scanline Image Writes > Setting up tile and stipple cache: > 32 128x128 slots > 28 256x256 slots > 16 512x512 slots EXA isn't fast (at least on Radeons) without DRM support. This is not available in the FreeBSD source tree, but is available (for FreeBSD) via freedesktop git (for that particular GPU). Adam -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From davidn04 at gmail.com Fri Jan 2 21:01:02 2009 From: davidn04 at gmail.com (David N) Date: Fri Jan 2 21:01:09 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495E17AD.30707@isafeelin.org> References: <495E17AD.30707@isafeelin.org> Message-ID: <4d7dd86f0901021301o10f49edbj1e103ab336ab409c@mail.gmail.com> 2009/1/3 Frederique Rijsdijk : > Hi freebsd-questions, > > For personal use (photo/video storage), I'm looking into creating a huge > single ZFS (raidz) volume that will replace my current collection of > drives used as storage. I'm thinking 4*1TB drives in RAID5(z). > > My question is regarding the flavour of drivers that one can choose > from: Desktop class drives, or the so called RAID/Enterprise class drives. > > The difference between the two being the way such a drive handles the > bad-sector/block handling and remapping. I understand that Desktop class > drives do all this internally, and this is a process that can take up to >> >> 60s (even minutes on some), and during this process the drive is > > unavailable to the controller. The RAID edition drives all appoach this > differently and alot faster, typically before 8 seconds. > > How does ZFS handle this? Should I be looking for the RAID class drives > or can Desktop class drives be used here? > > My worry is of course that such a drive (destkop class) will be marked > defective and thrown out of the raid volume if a remapping of bad > sectors occurs and the drive will be unresponsive to the controller/ZFS > for > 8 seconds. > > Some drives can be configured in this area, but not all, and there's > quite a price difference in the two, the desktop class being up to 50% > cheaper in some cases.. > > Anybody that can shed some light on this? > > > Thanks, > > -- Frederique Hi, Before i knew the difference between the two, i got myself a bunch of "desktop" HDD. From what I've experience, freebsd just drops the drive. (Currently running in a gmirror config). I'm not sure about ZFS, but i would assume it would do the same. All you need to the do reattach the drive and it will sync back up again. I didn't know the reason why it dropped off, but when i checked the SMART, it showed 1 bad sector reallocation. If it happens to a disk with UFS, it crashes and restarts the machine, UFS doesn't like disappearing drives. Regards David N From dick at nagual.nl Fri Jan 2 21:24:37 2009 From: dick at nagual.nl (dick hoogendijk) Date: Fri Jan 2 21:24:44 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102201730.GC22308@teddy.fas.com> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102174809.B39293@wojtek.tensor.gdynia.pl> <20090102201730.GC22308@teddy.fas.com> Message-ID: <20090102222428.e06eddac.dick@nagual.nl> On Fri, 2 Jan 2009 15:17:30 -0500 stan wrote: > On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote: > > > > > >>think twice before doing. > > > > > >Could you elaborate please ? > > > > ZFS still doesn't work as described ... > > Is that comment FreeBSD specifc, or aimed at ZFS in general? Mind you, ZFS on FreeBSD is not the same as on OpenSolaris-2008.11, Nevada or even Solaris 10. On those platforms ZFS generally does what it is supposed to do, other than it's still a developing FS. On *BSD related systems that is not always the case. Do a good readup. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv104 ++ + All that's really worth doing is what we do for others (Lewis Carrol) From freebsd at stderror.at Fri Jan 2 21:27:32 2009 From: freebsd at stderror.at (Toni Schmidbauer) Date: Fri Jan 2 21:27:40 2009 Subject: kernel panic In-Reply-To: <757739.64676.qm@web81207.mail.mud.yahoo.com> References: <757739.64676.qm@web81207.mail.mud.yahoo.com> Message-ID: <87mye9qutt.wl%pinhead@bluebook.stderror.at> At Thu, 1 Jan 2009 12:05:25 -0800 (PST), Mark Busby wrote: > Jan 1 08:56:39 mars savecore: reboot after panic: kmem_malloc(12288): kmem_map too small: 128778240 total allocated as you probably already know this means you ran out of kernel memory. > 80211node 8081 21705K - 8081 16,32,512 this is the only thing that catches my eye. but i dunno if 21mb for 80211node is an issue or not. but there is definitely something leaking kernel memory. i would try to run vmstat -z on a regular basis (how often depending on when after a boot the crash happens) to find out what is leaking memory. hth, toni -- Don't forget, there is no security | toni at stderror dot at -- Wulfgar | Toni Schmidbauer From richardsc at gmail.com Fri Jan 2 21:49:41 2009 From: richardsc at gmail.com (Charles Richards) Date: Fri Jan 2 21:49:48 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102160727.A38841@wojtek.tensor.gdynia.pl> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> Message-ID: > think twice before doing. Why? I've had better luck with ZFS than I've had with VINUM and GEOM in the past, and I've put my ZFS "array" through alot of stress. If his data (photo / video storage) is that important, then perhaps he wants to do soemthing else ... but for a cheap way to get tons of storage, ZFS can't be beat. ZFS has got it's caveats and gotchas - you *must* tune your FreeBSD installation to get stability. See here: http://wiki.freebsd.org/ZFSTuningGuide I'm running a fileserver-in-a-closet (patent pending) on FreeBSD 7.0- amd64, with 10x250GB drives in a single RAIDZ2 for my home storage needs. I'm using old Maxtor SATA150 drives, which are "desktop" class. Several of them have had to remap sectors while being a part of the array, and I've never had ZFS complain, nor had the drive be "dropped" by the OS. I'd suggest that the OP and yourself do some in-depth reading about ZFS and how it works. The best documentation I've found as yet is here: http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf Charles Richards richardsc@gmail.com charlesrichards.net On Jan 2, 2009, at 8:07 AM, Wojciech Puchar wrote: >> Hi freebsd-questions, >> >> For personal use (photo/video storage), I'm looking into creating a >> huge >> single ZFS (raidz) volume that will replace my current collection of >> drives used as storage. I'm thinking 4*1TB drives in RAID5(z). > > > >> >> My question is regarding the flavour of drivers that one can choose >> from: Desktop class drives, or the so called RAID/Enterprise class >> drives. > > but cheap drives they are OK. > _______________________________________________ > 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 Jan 2 21:53:41 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 21:53:49 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102193002.GA72103@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> <20090102180524.GA1742@phenom.cordula.ws> <20090102200221.K39573@wojtek.tensor.gdynia.pl> <20090102193002.GA72103@phenom.cordula.ws> Message-ID: <20090102225246.C39956@wojtek.tensor.gdynia.pl> >> other ways to compromise Your systems. >> >> if one really care then make your VPN for all your computers, use one that >> is unknown for others to download portsnap etc. and then use rsync to >> populate it to other machines. > > I'm already getting the files from one location and disseminate > them via rsync-over-SSH-over-VPNs to the server farms. But the > problem is the initial download from a cvsup mirror. That's the > one I'm really concerned with. just use widely-"unknown" computer like your private, even better - something that have dynamic IP :) From wojtek at wojtek.tensor.gdynia.pl Fri Jan 2 21:54:25 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 2 21:54:33 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102201730.GC22308@teddy.fas.com> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102174809.B39293@wojtek.tensor.gdynia.pl> <20090102201730.GC22308@teddy.fas.com> Message-ID: <20090102225338.Q39956@wojtek.tensor.gdynia.pl> >> >> ZFS still doesn't work as described ... > > Is that comment FreeBSD specifc, or aimed at ZFS in general? general. From tajudd at gmail.com Fri Jan 2 22:12:03 2009 From: tajudd at gmail.com (Tim) Date: Fri Jan 2 22:12:10 2009 Subject: Suddenly "shutdown -p now" produces a reboot In-Reply-To: <495DDB6F.1000800@eskk.nu> References: <495DDB6F.1000800@eskk.nu> Message-ID: <495E912A.9090102@gmail.com> Leslie Jensen wrote: > I have a Server with Squid, 7.0-RELEASE-p4 FreeBSD, squid-3.0.11, that > has been running fine for the last six months, at least. > > It is shutdown every night at 7 PM via cron. > > Now suddenly the machine is rebooting instead, and I've made no changes > whatsoever. I'm wondering if this is a symptom of a coming hardware > failure or if I can do something to get the normal behaviour back. > > I did have a similar problem when I first put the machine into > production, then it was clear from /var/log/messages that squid did not > have enough time to shutdown and I solved it by changeing the parameter > rcshutdown_timeout="90" i rc.conf. > > Here's a piece of /var/log/messages > > > ----------- snip ------------ > Jan 1 19:05:00 server01 shutdown: power-down by root: > Jan 1 19:05:33 server01 squid[823]: Squid Parent: child process 826 > exited with status 0 > Jan 1 19:05:34 server01 named[718]: stopping command channel on > 127.0.0.1#953 > Jan 1 19:05:34 server01 named[718]: stopping command channel on ::1#953 > Jan 1 19:05:34 server01 named[718]: exiting > Jan 1 19:05:36 server01 syslogd: exiting on signal 15 > Jan 1 19:07:29 server01 syslogd: kernel boot file is /boot/kernel/kernel > Jan 1 19:07:29 server01 kernel: Copyright (c) 1992-2008 The FreeBSD > Project. > Jan 1 19:07:29 server01 kernel: Copyright (c) 1979, 1980, 1983, 1986, > 1988, 1 > 989, 1991, 1992, 1993, 1994 > Jan 1 19:07:29 server01 kernel: The Regents of the University of > California. > All rights reserved. > > ----------- snip ------------ > > > Thanks > > /Leslie > > > Leslie, I've got a gateway (talking pc mfg, not role) that does that. It's always rebooted on a request to shutdown. A fix, if I remember it right, that didn't last long was to go into BIOS and toggle the BIOS power management features. IIRC, it was set to disable, and I enabled it. Since then, i haven't really used that gateway anymore. You have to consider that some PCI devices can power-on a box (think: Remote Wakeup [which is done over the LAN]). The times that it does actually do it, don't bother me, i'll get around to forcing it down with a power button or power cord when it bugs me enough that it's still powered on. >:) -- Tim Judd I will top-post when I feel like it. For those who are so demanding everyone bottom-post, You'll just have to forgive others when they choose to top-post. From lordi at msdi.ca Fri Jan 2 23:02:49 2009 From: lordi at msdi.ca (Ian Lord) Date: Fri Jan 2 23:02:57 2009 Subject: Urgent help needed please: Gvinum problem Message-ID: <7223443E15A2411F9C59EE0758913BBE@msdi.local> Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed : The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed ?l? to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running ?gvinum /dev/gvinum/RAID5? which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: can?t read disk label I tried ?bsdlabel gvinum/RAID5? it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Lord MSD Informatique 1711 Mont?e Major Terrebonne (Qu?bec) J7M 1E6 T?l: (514) 776-MSDI -> (514) 776-6734 Sans Frais: 1(877) 776-MSDI -> 1(877) 776-6734 http://www.msdi.ca From mailing-lists at msdi.ca Fri Jan 2 23:12:48 2009 From: mailing-lists at msdi.ca (Ian Lord) Date: Fri Jan 2 23:12:55 2009 Subject: Urgent help needed please: Gvinum problem Message-ID: Hi, We had a power lost even though we have ups and generators (still investigating it) and when the machine rebooted one of the disk seems to be failed?: The system complains about fsck repaired failed and that I must run it manually. It then boots in single user mode. I entered gvinum and pressed ?l? to see the status of the drive and I get this: My volume is UP My plex is shown as degraded I have 3 of the 4 subdisks shown as UP the 4th is shown as down. Running ?gvinum /dev/gvinum/RAID5? which is the name of my volume gets me this error: ** /dev/gvinum/RAID5 Cannot find file system superblock Ioctl (GCINFO): Inapropriate ioctl for device fsck_ufs: /dev/gvinum/RAID5: can?t read disk label I tried ?bsdlabel gvinum/RAID5? it tells me there is no valid label found Does anyone knows what I can try to try to put back system online (at least, so I can restore a backup on the disk) Thanks p.s. Please reply to me also as I am a digest member thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Lord MSD Informatique 1711 Mont?e Major Terrebonne (Qu?bec) J7M 1E6 T?l: (514) 776-MSDI????????? -> (514) 776-6734 Sans Frais: 1(877) 776-MSDI? -> 1(877) 776-6734 http://www.msdi.ca From maddaemon at gmail.com Fri Jan 2 23:20:55 2009 From: maddaemon at gmail.com (maddaemon@gmail.com) Date: Fri Jan 2 23:21:03 2009 Subject: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT In-Reply-To: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> References: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> Message-ID: <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> On Fri, Jan 2, 2009 at 10:36 AM, wrote: > I'm currently using wep at home and in the office configured from rc.conf. > example: > ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" > > I'm traveling and haven't been able to connect to hotspots that are using > wpa[2]. The handbook isn't up to date and I have been looking for over a > week unsuccessfully. As far as I know there isn't an X utility to do this > from and I've tried wpa_suplicant.conf with a router here but since I don't > understand it, I'm sure it is incorrect (plus the important clue that it > doesn't work) Hopefully this is an easier and simpler way to do this. > > The wpa_supplicant.conf configuration that I've tested is: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > ## eapol_version=1 > ap_scan=1 > fast_reauth=1 > network={ > scan_ssid=1 > proto=WPA2 > ssid="TestRouter" > ## bssid=[mac address of your access point here] > ## key_mgmt=WPA-PSK > ## pairwise=TKIP > ## psk=[i forgot what this is, presumably the md5 of the passphrase.] > password="Testing123" > } > > Any suggestions for getting out of this glass of water that I'm drowning in > would be greatly appreciated. Handbook: Section 31 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#NETWORK-WIRELESS HTML Manpage for wpa_supplicant.conf: http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5 proto List of acceptable protocols; one or more of: WPA (IEEE 802.11i/D3.0) and RSN (IEEE 802.11i). WPA2 is another name for RSN. If not set this defaults to "WPA RSN". I have 7.0-RELEASE working perfectly with WPA2/CCMP (using AES), so I can't imagine that 8 would break it that badly, but I could be wrong.. Here's my (very simple) wpa_supplicant.conf (psk edited, of course): ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 # Home: network={ ssid="" scan_ssid=1 key_mgmt=WPA-PSK psk="x}&]{-9jimCm`6V:>LI#HiLa[Q5\jL/b;R:2)/%HU#zW=:&?K?PP8mx48`Jvx-K" } HTH ~MD From steve at ibctech.ca Fri Jan 2 23:56:53 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 2 23:57:00 2009 Subject: Urgent help needed please: Gvinum problem In-Reply-To: References: Message-ID: <495EA9C1.9090106@ibctech.ca> Ian Lord wrote: > Hi, > > We had a power lost even though we have ups and generators (still > investigating it) and when the machine rebooted one of the disk seems to be > failed : > > The system complains about fsck repaired failed and that I must run it > manually. It then boots in single user mode. > > I entered gvinum and pressed ?l? to see the status of the drive and I get > this: > My volume is UP > My plex is shown as degraded > I have 3 of the 4 subdisks shown as UP the 4th is shown as down. > > Running ?gvinum /dev/gvinum/RAID5? which is the name of my volume gets me > this error: > ** /dev/gvinum/RAID5 > Cannot find file system superblock > Ioctl (GCINFO): Inapropriate ioctl for device > fsck_ufs: /dev/gvinum/RAID5: can?t read disk label > > I tried ?bsdlabel gvinum/RAID5? it tells me there is no valid label found > > Does anyone knows what I can try to try to put back system online (at least, > so I can restore a backup on the disk) I'm trying to find my vinum notes, but can't as of yet... What does a: # fsck -y /dev/gvinum/RAID5 ...yield...anything? Steve From mailing-lists at msdi.ca Sat Jan 3 00:06:14 2009 From: mailing-lists at msdi.ca (Ian Lord) Date: Sat Jan 3 00:06:22 2009 Subject: Urgent help needed please: Gvinum problem In-Reply-To: <495EA9C1.9090106@ibctech.ca> References: <495EA9C1.9090106@ibctech.ca> Message-ID: <9DCBDCBB6388493FA7B2A4262E3E6E6A@msdi.local> > Hi, > > We had a power lost even though we have ups and generators (still > investigating it) and when the machine rebooted one of the disk seems to be > failed : > > The system complains about fsck repaired failed and that I must run it > manually. It then boots in single user mode. > > I entered gvinum and pressed "l" to see the status of the drive and I get > this: > My volume is UP > My plex is shown as degraded > I have 3 of the 4 subdisks shown as UP the 4th is shown as down. > > Running "gvinum /dev/gvinum/RAID5" which is the name of my volume gets me > this error: > ** /dev/gvinum/RAID5 > Cannot find file system superblock > Ioctl (GCINFO): Inapropriate ioctl for device > fsck_ufs: /dev/gvinum/RAID5: can't read disk label > > I tried "bsdlabel gvinum/RAID5" it tells me there is no valid label found > > Does anyone knows what I can try to try to put back system online (at least, > so I can restore a backup on the disk) I'm trying to find my vinum notes, but can't as of yet... What does a: # fsck -y /dev/gvinum/RAID5 ...yield...anything? Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Same :( But thanks all, I just did a newfs and currently restoring backups on it Strange... Last time I will will gvinum, nothing as stable as a hardware controller I guess :( From steve at ibctech.ca Sat Jan 3 00:20:30 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jan 3 00:20:37 2009 Subject: Urgent help needed please: Gvinum problem In-Reply-To: <9DCBDCBB6388493FA7B2A4262E3E6E6A@msdi.local> References: <495EA9C1.9090106@ibctech.ca> <9DCBDCBB6388493FA7B2A4262E3E6E6A@msdi.local> Message-ID: <495EAF4C.7080105@ibctech.ca> Ian Lord wrote: >> Does anyone knows what I can try to try to put back system online (at > least, >> so I can restore a backup on the disk) > > I'm trying to find my vinum notes, but can't as of yet... > > What does a: > > # fsck -y /dev/gvinum/RAID5 > > ...yield...anything? > > Steve > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Same :( > > But thanks all, I just did a newfs and currently restoring backups on it > > Strange... Last time I will will gvinum, nothing as stable as a hardware > controller I guess :( Good job on keeping backups. Hardware is just as apt to fail as software is. I don't care what anyone says. Here's a mantra to stick by. I'm sure others will concur. - do backups (archive, and availability type) - verify integrity - do more backups (hot and storage) - restore backups to test gear - make sure all live and archive backups restore properly, and efficiently People put too much emphasis on backup (even though unfortunately not enough do it at all). The real emphasis should not be put on having a backup, it should be placed squarely on how quickly can you restore from one. Glad you are getting back into operation. For those who may please, a colleague of mine pointed out a decent 'backup' mis-understanding disaster just today on slashdot to me... Also, kids, think about it this way, regardless if you use hardware or software storage mechanisms. If you can't perform the following command on one of your critical servers and restore the data, you're doing it wrong...you need to ask further questions: # rm -rf Seriously. This is a great opportunity to get everyone aware of what a 'backup' actually is. Happy new year all, and let all of your data failures be recoverable! Steve From cpghost at cordula.ws Sat Jan 3 00:20:39 2009 From: cpghost at cordula.ws (cpghost) Date: Sat Jan 3 00:21:15 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090102225246.C39956@wojtek.tensor.gdynia.pl> References: <20090102164412.GA1258@phenom.cordula.ws> <20090102180524.GA1742@phenom.cordula.ws> <20090102200221.K39573@wojtek.tensor.gdynia.pl> <20090102193002.GA72103@phenom.cordula.ws> <20090102225246.C39956@wojtek.tensor.gdynia.pl> Message-ID: <20090103002036.GA95076@phenom.cordula.ws> On Fri, Jan 02, 2009 at 10:53:29PM +0100, Wojciech Puchar wrote: > >> other ways to compromise Your systems. > >> > >> if one really care then make your VPN for all your computers, use one that > >> is unknown for others to download portsnap etc. and then use rsync to > >> populate it to other machines. > > > > I'm already getting the files from one location and disseminate > > them via rsync-over-SSH-over-VPNs to the server farms. But the > > problem is the initial download from a cvsup mirror. That's the > > one I'm really concerned with. > > just use widely-"unknown" computer like your private, even better - > something that have dynamic IP :) You wouldn't log in to your bank and rely on the assumption that your connection is NOT being actively monitored and that data could potentially be modified en-route. That's why such connections are always SSL-encoded, and why iTANs and other means are being used: the underlying TCP connection is ASSUMED to be insecure by default, and that is prudent to do. As an example: many UK users were surprised a little while ago to learn that their traffic was potentially being filtered by big transparent proxies, when some watchdog organisation required their ISPs to do so: http://en.wikipedia.org/wiki/Internet_Watch_Foundation_and_Wikipedia If this is technically possible (and it is), then you want a way to know that the sources you've downloaded in your country ARE actually the sources that are on the mirror or master sites, and have not been modified on-the-fly by similar technology. This is important, really important, and not only for individuals, but also for companies that what to avoid industrial espionnage and some such. It's also vital for individuals in countries with repressive regimes that want to routinely spy on their Internet users. That's why signed trusted lists of digests are needed: basically, you can't rely on the ISPs NOT to interfere with your traffic (and it doesn't matter if they're compelled by law to do it, or if they or some interloper did it illegally). It's the matter of being confident that what you've downloaded was actually also what you've asked for. ;) -cpghost. -- Cordula's Web. http://www.cordula.ws/ From maddaemon at gmail.com Sat Jan 3 00:22:23 2009 From: maddaemon at gmail.com (maddaemon@gmail.com) Date: Sat Jan 3 00:22:30 2009 Subject: Nice web interface or music? In-Reply-To: <20090102070436.GA3773@teddy.fas.com> References: <20090101190111.GA21878@teddy.fas.com> <20090101152825.F53198@tripel.monochrome.org> <20090101204822.GB23840@teddy.fas.com> <20090101161436.X53198@tripel.monochrome.org> <20090101230343.GA27076@teddy.fas.com> <20090101192752.K53198@tripel.monochrome.org> <18781.30899.526432.186759@almost.alerce.com> <20090102070436.GA3773@teddy.fas.com> Message-ID: <6c1774c50901021622n4fee2ad8k576618a857d4eb22@mail.gmail.com> On Fri, Jan 2, 2009 at 2:04 AM, stan wrote: > On Thu, Jan 01, 2009 at 06:15:15PM -0800, George Hartzell wrote: >> >> In addition to the java clients, you can also go lower tech. and try this: >> >> http://www.ex-parrot.com/~pdw/slimp3slave/ >> >> or even the lower tech comment from that web site: >> >> [...] to running mpg123 http://slimserver:9000/stream.mp3 > > I am begining to think, from this and some other replies that I have > ecieved, that I was not clear in my original question. Let me clarify. > > What I am looking for is a package, that will allow remote users to access > MP#'s stored on my machine, from a web based interface, that presents the > files in an organized fashion. I think that the remote userrs should be > able to "play" these files using the built in capabilites of thier web > browser to send the files to an appropriate program running on thier local > machine (EG Winamp). In addition, I want these userrs to be able to > downlaod the MP3's to thier local machine, so that they can put them on > thier local laptop, or Ipod, or whatever. > > Is this clearer? I've had decent luck with /usr/ports/audio/gnump3d/ Home page: http://www.gnu.org/software/gnump3d/ From jeroen at virtualhost.nl Sat Jan 3 00:23:21 2009 From: jeroen at virtualhost.nl (Jeroen Hofstee) Date: Sat Jan 3 00:23:29 2009 Subject: high interrupt level Message-ID: <495EA9B9.7050004@virtualhost.nl> Hello, A Dell Poweregde 1850 constantly spents about one third of its time in interrupt 16. This box has run for a year without this issue. It has an almost generic kernel, only quotas are compiled in. Rebooting (without ipmi) does not help nor updating; the issue was already present before updating to 6.4 p1, but persists. The software hardly changes, except that ipmitool is recently installed to monitor temperatures. I tried to replicate the issue by loading / unloading the ipmi kernel module on a similiar box, but running 7.0-RELEASE-p7 . This does not lead to any problem however. Any pointers would be appreciated. It might not at all be related to ipmi, but I suspect it to be cause since it is the only change and I loaded a kernel module for it. Jeroen Hofstee last pid: 12675; load averages: 1.27, 0.75, 0.65 up 6+05:56:47 23:50:57 85 processes: 1 running, 84 sleeping CPU: 0.3% user, 0.0% nice, 0.3% system, 33.8% interrupt, 65.5% idle Mem: 174M Active, 1514M Inact, 209M Wired, 88M Cache, 112M Buf, 14M Free Swap: 2048M Total, 28K Used, 2048M Free FreeBSD vh3.virtualhost.nl 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #2: Tue Dec 23 23:50:15 CET 2008 vmstat -i interrupt total rate irq14: ata0 47 0 irq16: uhci0 313487360 578 irq18: uhci2 16 0 irq23: ehci0 3 0 irq34: mpt0 16 0 irq37: amr0 8894886 16 irq64: em0 54502901 100 cpu0: timer 904348488 1669 cpu1: timer 1 0 cpu2: timer 1058243496 1953 cpu3: timer 1 0 Total 2339477215 4317 vh3# kldstat Id Refs Address Size Name 1 7 0xc0400000 7dbd28 kernel 2 2 0xc0bdc000 5c838 acpi.ko 3 1 0xc6d10000 d000 ipfw.ko 4 1 0xc6f0b000 2000 accf_http.ko 5 1 0xcc472000 a000 ipmi.ko 6 1 0xcc47c000 2000 smbus.ko Copyright (c) 1992-2008 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 6.4-RELEASE-p1 #2: Tue Dec 23 23:50:15 CET 2008 root@vh3.virtualhost.nl:/usr/obj/usr/src/sys/VIRTUALHOST Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.70-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100000 Logical CPUs per core: 2 real memory = 2147221504 (2047 MB) avail memory = 2091900928 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Dec 23 2008 23:49:48) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 mpt0: port 0xec00-0xecff mem 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 pcib3: at device 0.2 on pci1 pci3: on pcib3 amr0: mem 0xd8ff0000-0xd8ffffff irq 37 at device 11.0 on pci3 amr0: delete logical drives supported by controller amr0: Firmware 350O, BIOS 1.09, 64MB RAM pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port 0xdcc0-0xdcff mem 0xdf9e0000-0xdf9fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:11:43:e6:e9:e8 pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port 0xccc0-0xccff mem 0xdf7e0000-0xdf7fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:11:43:e6:e9:e9 pcib8: at device 6.0 on pci0 pci8: on pcib8 uhci0: port 0xace0-0xacff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xacc0-0xacdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xaca0-0xacbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdff00000-0xdff003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib9: at device 30.0 on pci0 pci9: on pcib9 pci9: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xcc7ff,0xce000-0xcefff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. Waiting 5 seconds for SCSI devices to settle acd0: DVDROM at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: on amr0 amrd0: 69880MB (143114240 sectors) RAID 1 (optimal) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/amrd0s1a ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled From steve at ibctech.ca Sat Jan 3 00:25:34 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jan 3 00:25:41 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <20090102222428.e06eddac.dick@nagual.nl> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102174809.B39293@wojtek.tensor.gdynia.pl> <20090102201730.GC22308@teddy.fas.com> <20090102222428.e06eddac.dick@nagual.nl> Message-ID: <495EB07C.9000401@ibctech.ca> dick hoogendijk wrote: > On Fri, 2 Jan 2009 15:17:30 -0500 > stan wrote: > >> On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote: >>>>> think twice before doing. >>>> Could you elaborate please ? >>> ZFS still doesn't work as described ... >> Is that comment FreeBSD specifc, or aimed at ZFS in general? > > Mind you, ZFS on FreeBSD is not the same as on OpenSolaris-2008.11, > Nevada or even Solaris 10. On those platforms ZFS generally does what it > is supposed to do, other than it's still a developing FS. > On *BSD related systems that is not always the case. Do a good readup. I had problems with ZFS about a year ago (or so). Since then, for me, ZFS has been quite reliable: amanda# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT storage 1.82T 1.21T 623G 66% ONLINE - amanda# zpool status NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ad0 ONLINE 0 0 0 ad2 ONLINE 0 0 0 ad4 ONLINE 2 0 0 ad6 ONLINE 0 1 0 ...with four drives as such (I'd call them 'resi' or 'home-user' quality: ad2: 476940MB at ata1-master SATA300 This machine, which runs AMANDA backup archiver, backing up ~8 FreeBSD servers at about 120Mbps network every night is: amanda# uname -a FreeBSD amanda.x 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Jul 17 15:24:40 UTC 2008 steve@x:/usr/obj/usr/src/sys/GENERIC i386 I've pushed the machine to 686Mbps network @225kpps, including FBSD SCP and Windows NetBIOS clients while running iperf on other boxen and was still able to write/read to the storage. Instead of this one-liner crap 'don't do it' information to the users of this list, lets begin explaining *why* its not working, and start providing coherent solutions as to how the OP can work around the issue, huh? Steve From jeroen at virtualhost.nl Sat Jan 3 00:26:55 2009 From: jeroen at virtualhost.nl (Jeroen Hofstee) Date: Sat Jan 3 00:27:02 2009 Subject: high interrupt level Message-ID: <495EAA89.6030807@virtualhost.nl> Hello, A Dell Poweregde 1850 constantly spents about one third of its time in interrupt 16. This box has run for a year without this issue. It has an almost generic kernel, only quotas are compiled in. Rebooting (without ipmi) does not help nor updating; the issue was already present before updating to 6.4 p1, but persists. The software hardly changes, except that ipmitool is recently installed to monitor temperatures. I tried to replicate the issue by loading / unloading the ipmi kernel module on a similiar box, but running 7.0-RELEASE-p7 . This does not lead to any problem however. Any pointers would be appreciated. It might not at all be related to ipmi, but I suspect it to be cause since it is the only change and I loaded a kernel module for it. Jeroen Hofstee last pid: 12675; load averages: 1.27, 0.75, 0.65 up 6+05:56:47 23:50:57 85 processes: 1 running, 84 sleeping CPU: 0.3% user, 0.0% nice, 0.3% system, 33.8% interrupt, 65.5% idle Mem: 174M Active, 1514M Inact, 209M Wired, 88M Cache, 112M Buf, 14M Free Swap: 2048M Total, 28K Used, 2048M Free FreeBSD vh3.virtualhost.nl 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #2: Tue Dec 23 23:50:15 CET 2008 vmstat -i interrupt total rate irq14: ata0 47 0 irq16: uhci0 313487360 578 irq18: uhci2 16 0 irq23: ehci0 3 0 irq34: mpt0 16 0 irq37: amr0 8894886 16 irq64: em0 54502901 100 cpu0: timer 904348488 1669 cpu1: timer 1 0 cpu2: timer 1058243496 1953 cpu3: timer 1 0 Total 2339477215 4317 vh3# kldstat Id Refs Address Size Name 1 7 0xc0400000 7dbd28 kernel 2 2 0xc0bdc000 5c838 acpi.ko 3 1 0xc6d10000 d000 ipfw.ko 4 1 0xc6f0b000 2000 accf_http.ko 5 1 0xcc472000 a000 ipmi.ko 6 1 0xcc47c000 2000 smbus.ko Copyright (c) 1992-2008 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 6.4-RELEASE-p1 #2: Tue Dec 23 23:50:15 CET 2008 root@vh3.virtualhost.nl:/usr/obj/usr/src/sys/VIRTUALHOST Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.70-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100000 Logical CPUs per core: 2 real memory = 2147221504 (2047 MB) avail memory = 2091900928 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Dec 23 2008 23:49:48) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 mpt0: port 0xec00-0xecff mem 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 pcib3: at device 0.2 on pci1 pci3: on pcib3 amr0: mem 0xd8ff0000-0xd8ffffff irq 37 at device 11.0 on pci3 amr0: delete logical drives supported by controller amr0: Firmware 350O, BIOS 1.09, 64MB RAM pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port 0xdcc0-0xdcff mem 0xdf9e0000-0xdf9fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:11:43:e6:e9:e8 pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port 0xccc0-0xccff mem 0xdf7e0000-0xdf7fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:11:43:e6:e9:e9 pcib8: at device 6.0 on pci0 pci8: on pcib8 uhci0: port 0xace0-0xacff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xacc0-0xacdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xaca0-0xacbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdff00000-0xdff003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib9: at device 30.0 on pci0 pci9: on pcib9 pci9: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xcc7ff,0xce000-0xcefff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. Waiting 5 seconds for SCSI devices to settle acd0: DVDROM at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: on amr0 amrd0: 69880MB (143114240 sectors) RAID 1 (optimal) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/amrd0s1a ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled From steve at ibctech.ca Sat Jan 3 00:38:52 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jan 3 00:38:59 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495EB07C.9000401@ibctech.ca> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <867i5dsoll.fsf@srvbsdnanssv.interne.kisoft-services.com> <20090102174809.B39293@wojtek.tensor.gdynia.pl> <20090102201730.GC22308@teddy.fas.com> <20090102222428.e06eddac.dick@nagual.nl> <495EB07C.9000401@ibctech.ca> Message-ID: <495EB39A.9060304@ibctech.ca> Steve Bertrand wrote: > dick hoogendijk wrote: >> On Fri, 2 Jan 2009 15:17:30 -0500 >> stan wrote: >> >>> On Fri, Jan 02, 2009 at 05:48:27PM +0100, Wojciech Puchar wrote: >>>>>> think twice before doing. >>>>> Could you elaborate please ? >>>> ZFS still doesn't work as described ... >>> Is that comment FreeBSD specifc, or aimed at ZFS in general? >> Mind you, ZFS on FreeBSD is not the same as on OpenSolaris-2008.11, >> Nevada or even Solaris 10. On those platforms ZFS generally does what it >> is supposed to do, other than it's still a developing FS. >> On *BSD related systems that is not always the case. Do a good readup. > > I had problems with ZFS about a year ago (or so). > > Since then, for me, ZFS has been quite reliable: I forgot to mention... the "Since then" should have also included that at the time of unreliability, I was testing a new NVidia motherboard. "Since then, I've swapped out the board to an Intel hardware platform". Steve From miklosovic.freebsd at gmail.com Sat Jan 3 00:43:21 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Sat Jan 3 00:43:30 2009 Subject: two ethernet cards Message-ID: hi i have two ethernet cards on my box uname -a FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 CET 2009 root@dexter:/usr/obj/usr/src/sys/DEXTER i386 ifconfig rl0: flags=8843 metric 0 mtu 1500 options=8 ether XX:XX:XX:XX:XX:XX inet 192.168.0.177 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet 100baseTX status: active sk0: flags=8843 metric 0 mtu 1500 options=b ether XX:XX:XX:XX:XX:XX inet 192.168.0.176 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet 100baseTX (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 when I want to ping sk0 from eth0 on linux box, ping is ok, but this message appears to me in freebsd console Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply from XX:XX:XX:XX:XX:XX on sk0 linux command ping -I eth0 192.168.0.176 linux ifconfig eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) Interrupt:22 Base address:0x3000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:416 errors:0 dropped:0 overruns:0 frame:0 TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) mac adres from eth0 on linux machine is same as from the error output on bsd thank you a lot stewe From nightrecon at verizon.net Sat Jan 3 01:00:04 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sat Jan 3 01:00:12 2009 Subject: two ethernet cards References: Message-ID: Stefan Miklosovic wrote: > hi > > i have two ethernet cards on my box > > uname -a > FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 > CET > 2009 root@dexter:/usr/obj/usr/src/sys/DEXTER i386 > > ifconfig > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether XX:XX:XX:XX:XX:XX > inet 192.168.0.177 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet 100baseTX > status: active > sk0: flags=8843 metric 0 mtu 1500 > options=b > ether XX:XX:XX:XX:XX:XX > inet 192.168.0.176 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet 100baseTX (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > > when I want to ping sk0 from eth0 on linux box, ping is ok, but this > message appears to me in freebsd console > > Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply > from XX:XX:XX:XX:XX:XX on sk0 > > linux command > ping -I eth0 192.168.0.176 > > linux ifconfig > > eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX > inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3 errors:0 dropped:0 overruns:0 frame:0 > TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) > Interrupt:22 Base address:0x3000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:416 errors:0 dropped:0 overruns:0 frame:0 > TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) > > wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX > inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 > TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) > > mac adres from eth0 on linux machine is same as from the error output on > bsd > > > > thank you a lot In each of the above [linux and freebsd] you have two NICs in the same subnet. In each, move one to another subnet such as 192.168.1.x /24. -Mike From rwmaillists at googlemail.com Sat Jan 3 01:38:36 2009 From: rwmaillists at googlemail.com (RW) Date: Sat Jan 3 01:38:43 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <495E4F24.80209@unsane.co.uk> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> Message-ID: <20090103013825.18910bf5@gumby.homeunix.com> On Fri, 02 Jan 2009 17:30:12 +0000 Vincent Hoffman wrote: > Admittedly this doesn't give a file by file checksum That's not really a problem, it's no easier to create a collision in a .gz file than a patch file. The more substantial weakness is that the key is verified against a hash stored on the original installation media. If someone went to the trouble of diverting dns or routing to create a fake FreeBSD site they would presumably make it self-consistent down to the ISO checksums. From sdavtaker at gmail.com Sat Jan 3 05:22:02 2009 From: sdavtaker at gmail.com (=?UTF-8?Q?Sd=C3=A4vtaker?=) Date: Sat Jan 3 05:22:09 2009 Subject: Tool for traffic measure? Message-ID: Hello, I got a subnet with 5 machines and a cablemodem who provides 5 public ips All is conected to a switch. One of the machines is not ours and we want to check it is not abuseing our internet link, so we want to know if there is any way to monitor bandwich usage from one of the other machines in the subnet with no need to modify the foreing machine config. Something like use tcpdump in promiscuos mode or something like that, we doesnt matter the content, we just need a bandwich conssumption meassure. Thanks for any ideas. Sdav From shinjii at maydias.com Sat Jan 3 05:25:50 2009 From: shinjii at maydias.com (Warren Liddell) Date: Sat Jan 3 05:25:57 2009 Subject: ktorrent-3.1.5 pkg file Message-ID: <495EF6DE.6080904@maydias.com> Does anyone have the pkg file for ktorrent-3.1.5 for a AMD64 bit system as im having a lot of troubles wqith my QT4 version so can only upgrade via the pkg add an using the -r dosent fetch 3.1.5 version. From kurt.buff at gmail.com Sat Jan 3 06:00:13 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Sat Jan 3 06:00:20 2009 Subject: Tool for traffic measure? In-Reply-To: References: Message-ID: On Fri, Jan 2, 2009 at 9:21 PM, Sd?vtaker wrote: > Hello, > I got a subnet with 5 machines and a cablemodem who provides 5 public ips > All is conected to a switch. > One of the machines is not ours and we want to check it is not > abuseing our internet link, so we want to know if there is any way to > monitor bandwich usage from one of the other machines in the subnet > with no need to modify the foreing machine config. Something like use > tcpdump in promiscuos mode or something like that, we doesnt matter > the content, we just need a bandwich conssumption meassure. > Thanks for any ideas. > Sdav You have several options: 1) If the switch has some intelligence, you can monitor it to measure bandwidth consumption. There are two ways to do this: a) if the switch implements SNMP, you can use mrtg (simple) or cacti (not so simple) to graph bandwidth on the switch by port and in total b) if the switch can mirror all of the data going across the switch to a port on the switch, you can use ntop to graph traffic. It only shows the top three bandwidth consumers at any given time, but i) it does have very nice graphing, and if the machine you are concerned about is consuming more than its fair share it will show, and ii) you can use standard bpf filters to capture utilization for just that box. 2) if you have a spare machine, you can put two NICs in it, and use it as a bridge between the switch and the router. This is a bit more complicated, but it allows you to implement either option 1a or 1b above. Kurt From dkelly at hiwaay.net Sat Jan 3 06:10:34 2009 From: dkelly at hiwaay.net (David Kelly) Date: Sat Jan 3 06:10:42 2009 Subject: Tool for traffic measure? In-Reply-To: References: Message-ID: On Jan 2, 2009, at 11:21 PM, Sd?vtaker wrote: > Hello, > I got a subnet with 5 machines and a cablemodem who provides 5 > public ips > All is conected to a switch. > One of the machines is not ours and we want to check it is not > abuseing our internet link, so we want to know if there is any way to > monitor bandwich usage from one of the other machines in the subnet > with no need to modify the foreing machine config. Something like use > tcpdump in promiscuos mode or something like that, we doesnt matter > the content, we just need a bandwich conssumption meassure. > Thanks for any ideas. Buy a smarter switch and do the traffic counts in the switch. As things stand the switch is isolating all 5 machines from each other, none hear what the others have to say to the cable modem, so there is no way you can sniff the other's traffic. If instead of a switch you had a dumb hub then all machines would hear what all the other machines were saying to each other and the cable modem. Is very hard to buy a dumb hub these days. Is easier to buy a smarter switch. A configurable smart switch can deliver the questionable machine's traffic to both the cable modem and to one of your machines but there is no point unless you want/need to see the contents of the packets. A switch that smart should also be able to count packets and tally total byte counts. If I understand correctly that is all you want. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From frederique at isafeelin.org Sat Jan 3 09:00:15 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sat Jan 3 09:00:27 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> Message-ID: <495F2919.6040103@isafeelin.org> Charles Richards wrote: > If his data (photo / video storage) is that important, then perhaps he > wants to do soemthing else ... but for a cheap way to get tons of > storage, ZFS can't be beat. > Of course I'm backing up the very important data on a daily basis (de photo's mainly), but the videos (which will take up the biggest part of course) are not critical. I just want a huge volume to store it on. If some sort of redundancy can be built into that, that's very nice. I've been using GEOM (gconcat) so far, but I'd like to move to ZFS due to it's ease of use (apart from tuning your system to it) and also because GEOM is not able to provide any raid5-like setups. Just raid3 or mirror. > ZFS has got it's caveats and gotchas - you *must* tune your FreeBSD > installation to get stability. > > See here: http://wiki.freebsd.org/ZFSTuningGuide > I was aware of that, I'll look in to it. > > I'm running a fileserver-in-a-closet (patent pending) on FreeBSD > 7.0-amd64, with 10x250GB drives in a single RAIDZ2 for my home storage > needs. > > I'm using old Maxtor SATA150 drives, which are "desktop" class. > Several of them have had to remap sectors while being a part of the > array, and I've never had ZFS complain, nor had the drive be "dropped" > by the OS. > Ok that's good information. I also read/noticed that ZFS seems to run best on AMD64 platforms. That's OK then. I'm running i386 now, but I'm happy to switch. > > I'd suggest that the OP and yourself do some in-depth reading about > ZFS and how it works. The best documentation I've found as yet is here: > http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf > Will do, thanks again. -- FR From dick at nagual.nl Sat Jan 3 10:00:16 2009 From: dick at nagual.nl (dick hoogendijk) Date: Sat Jan 3 10:00:22 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495F2919.6040103@isafeelin.org> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <495F2919.6040103@isafeelin.org> Message-ID: <20090103110008.ca9384eb.dick@nagual.nl> On Sat, 03 Jan 2009 10:00:09 +0100 Frederique Rijsdijk wrote: > I also read/noticed that ZFS seems to run best on AMD64 platforms. That's not quite correct. ZFS runs best on 64bits platforms. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv104 ++ + All that's really worth doing is what we do for others (Lewis Carrol) From lenzi at k1.com.br Sat Jan 3 11:34:30 2009 From: lenzi at k1.com.br (Sergio de Almeida Lenzi) Date: Sat Jan 3 11:34:38 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495F2919.6040103@isafeelin.org> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <495F2919.6040103@isafeelin.org> Message-ID: <1230982465.7117.29.camel@lenzix.cwb.casa> Hello.... About your zfs experience... please let me tell mine.. I was having toubles with ufs2 on some small servers (desktop grade) machines running postgresql (64 bits, or 32 bits) all running FreeBSD 7.X some still 6.X... the problem is that sometimes the database brokes because the ufs2 fsck wipes out the pg_log files (that holds metadata, and so the database is lost/compromiesed) it used to be aobout 1 or 2 times a week, well you willl say that it is very often... but there are more thatn 1200 servers... that is about a database problem in 16 years the machines are in remote zones and cannot stop.. So a month ago I decided to try zfs... first on onpensolaris (that, as expected, works very well...) than in a "set" of 4 machines running FreeBSD 7.0/7.1 (a small partition to boot, than filesystem / on zfs). 1 of them with 2gb of memory, the others with 1g, 512m, 256m (I know that zfs is unstable with less than 512mb...) but it is only for testing.... the machines varies from amd64 to celeron... (64 and 32 bits..) NO RAID on the small machine, a buildworld lasted 2 days... All running a database (test of course) without no break. with a custom application that updates tables (several thousand rows, with foreing keys and triggers...) and then rollback... the drives area always with access light on... Sometimes (several times a day, random..) the machines are switched off.. without shutdown... and than switched on again... about (5 -10 times) that is about 60 * 8 -> 480 power on/power off cycles each machine Well. I can say that I still have not lost a database... it is incredible fast, reliable comes up without any fsck wait time. in less than a minute... Now I will start to put it on Dells and those PERC controllers... That is my experience... Sergio From peter at vereshagin.org Sat Jan 3 11:47:01 2009 From: peter at vereshagin.org (Peter Vereshagin) Date: Sat Jan 3 11:47:34 2009 Subject: wacom bamboo fun Message-ID: <20090103112551.GA25047@screwed.box> Hello, I tried around with x11-drivers/wacom port. I'd like to notice this thing, and to ask if that is a bug: I compile the ums and uhid devices into the kernel. So the usb wacom is detected as ums1. And, therefore, after it is detected as ums, it is never being detected by rc.d as uwacom0. So what I made is: added uwacom and ums to loader.conf and excluded them from kernel. I think there should be better way so the rc.d script is better to be involved than not. But how should I do this right way? Should I look at GENERIC to know out in which conditions this port's kernel module is ought to work with rc.d/wacom start? Another question is how should I use eraser and pressure sensitivity but think I'd better to ask at linux-wacom's site. 73! Peter -- http://vereshagin.org From frederique at isafeelin.org Sat Jan 3 12:19:55 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sat Jan 3 12:20:06 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495F2919.6040103@isafeelin.org> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <495F2919.6040103@isafeelin.org> Message-ID: <495F57E5.7040905@isafeelin.org> After some reading, I come back from my original idea. Main reason is I'd like to be able to grow the fs as the need develops in time. One could create a raidz zpool with a couple of disks, but when adding a disk later on, it will not become part of the raidz (I tested this). It seems vdevs can not be nested (create raidz sets and join them as a whole), so I came up with the following: Start out with 4*1TB, and use geom_raid5 to create an independent redundant pool of storage: 'graid5 label -v graid5a da0 da1 da2 da3' (this is all tested in vmware, one of these 'da' drives is 8GB) Then I 'zpool create bigvol /dev/raid5/graid5a', and I have a /bigvol of 24G - sounds about right to me for a raid5 volume. Now lets say later in time I need more storage, I buy another 4 of these drives, and 'graid5 label -v graid5b da4 da5 da6 da7' and 'zpool add bigvol /dev/raid5/graid5b' Now my bigvol is 48G. Very cool! Now I have redundant storage that can grow and it's pretty easy too. Is this OK (besides from the fact that graid5 is not in production yet, nor is ZFS ;) or are there easier (or better) ways to do this? - So I want redundancy (I don't want one failing drive to cause me to loose all my data) - I want to be able to grow the filesystem if I need to, by adding a (set of) drive(s) later on. -- FR From m.seaman at infracaninophile.co.uk Sat Jan 3 12:45:27 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Jan 3 12:45:34 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090103013825.18910bf5@gumby.homeunix.com> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> <20090103013825.18910bf5@gumby.homeunix.com> Message-ID: <495F5DD7.2070302@infracaninophile.co.uk> RW wrote: > On Fri, 02 Jan 2009 17:30:12 +0000 > Vincent Hoffman wrote: >> Admittedly this doesn't give a file by file checksum > > That's not really a problem, it's no easier to create a collision > in a .gz file than a patch file. > > The more substantial weakness is that the key is verified against a > hash stored on the original installation media. If someone went to the > trouble of diverting dns or routing to create a fake FreeBSD site they > would presumably make it self-consistent down to the ISO checksums. Yes. Anyone can generate checksums. The standard method of getting round this problem is to cryptographically sign the (lists of) checksums using some form of public/private key pair. Unless designed carefully, there will be substantial logistical problems to maintaining such lists of signatures. The least laborious mechanism I can think of would be this: an SSL secured web site using a key+cert signed by a trusted CA[*]. This site would have privileged access to the master repositories and would run a fairly simple CGI where supplying the location of a file from a checked out copy of a repo, plus version number information and whatever else is necessary to uniquely identify the specific file in question would be answered with a list of checksums (MD5, SHA1, SHA265 etc.) of that file. Obviously, this will require substantial caching of previously calculated checksums simply for performance. As an end user, you check out sources etc. from whatever of the mirrors is most suitable. You can then verify the correctness of what's on your disk by comparing a locally generated checksum with what you can download via a trusted channel from the checksum server. Since the checksum server is only accessible via HTTPS and has a trusted certificate it should not be possible to spoof. Traffic levels should be relatively small compared to the main distribution channels. Even so, because of the SSL requirement it's going to take a substantial piece of kit to provide this checksumming service at a decent performance level, especially when there are recent new releases. Cheers, Matthew [*] Buying a high security cert from the likes of Verisign or OpenSRS would set you back about ?800 p.a. and it would probably be necessary to use someone like the FreeBSD Foundation as an appropriate body to own the cert. -- 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: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090103/de3a358c/signature.pgp From patfbsd at davenulle.org Sat Jan 3 13:29:48 2009 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Sat Jan 3 13:29:56 2009 Subject: Memory Usage In-Reply-To: References: Message-ID: <20090103142943.05d2a2a3@baby-jane-lamaiziere-net.local> Le Fri, 2 Jan 2009 10:47:32 -0500, "Grant Peel" a ?crit : > Hi all, > > Does anyone have scripts they may be willing to share the parses any > FreeBSD utility (top, w, etc) suitable for using the output to use > mrtg to show memory and disk usage? Mrtg needs a script that returns four lines : - the first value - the second value (return 0 if only one value is used) - the Uptime - The legend By example a little script to return the number of processus using ps -xa net:/<1>local/libexec/mrtg# ./pn2mrtg 193 0 12 days, 10:20 net see http://user.lamaiziere.net/patrick/mrtg.tar.gz as examples. (The scripts are quite uggly...) http://lamaiziere.net/private/stat/net/ for the result OTH, regards. From 240olofsson at telia.com Sat Jan 3 15:08:52 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Sat Jan 3 15:08:59 2009 Subject: Memory Usage In-Reply-To: References: Message-ID: <495F7F7D.7000200@telia.com> Grant Peel skrev: > Hi all, > > Does anyone have scripts they may be willing to share the parses any FreeBSD utility (top, w, etc) suitable for using the output to use mrtg to show memory and disk usage? > > -Grant > _______________________________________________ > 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 - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.2/1871 - Release Date: 2009-01-01 17:01 > I used to use mrtg but ever since Cacti came along I've been using that instead. Cacti is excellent. It's in ports. /R From sdavtaker at gmail.com Sat Jan 3 16:03:59 2009 From: sdavtaker at gmail.com (=?UTF-8?Q?Sd=C3=A4vtaker?=) Date: Sat Jan 3 16:04:05 2009 Subject: Tool for traffic measure? In-Reply-To: References: Message-ID: Thanks for the info, i got a linksys SD208: http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&cid=1123638180923&pagename=Linksys%2FCommon%2FVisitorWrapper&lid=8092322279B03 It got 0 intelligence, right? Thanks for the replies Sdav On Sat, Jan 3, 2009 at 4:00 AM, Kurt Buff wrote: > On Fri, Jan 2, 2009 at 9:21 PM, Sd?vtaker wrote: >> Hello, >> I got a subnet with 5 machines and a cablemodem who provides 5 public ips >> All is conected to a switch. >> One of the machines is not ours and we want to check it is not >> abuseing our internet link, so we want to know if there is any way to >> monitor bandwich usage from one of the other machines in the subnet >> with no need to modify the foreing machine config. Something like use >> tcpdump in promiscuos mode or something like that, we doesnt matter >> the content, we just need a bandwich conssumption meassure. >> Thanks for any ideas. >> Sdav > > You have several options: > > 1) If the switch has some intelligence, you can monitor it to measure > bandwidth consumption. There are two ways to do this: > a) if the switch implements SNMP, you can use mrtg (simple) or > cacti (not so simple) to graph bandwidth on the switch by port and in > total > b) if the switch can mirror all of the data going across the > switch to a port on the switch, you can use ntop to graph traffic. It > only shows the top three bandwidth consumers at any given time, but i) > it does have very nice graphing, and if the machine you are concerned > about is consuming more than its fair share it will show, and ii) you > can use standard bpf filters to capture utilization for just that box. > > 2) if you have a spare machine, you can put two NICs in it, and use it > as a bridge between the switch and the router. This is a bit more > complicated, but it allows you to implement either option 1a or 1b > above. > > Kurt > -- Sd?vtaker prays to Rikku goddess for a good treasure. From eculp at casasponti.net Sat Jan 3 16:09:46 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Sat Jan 3 16:09:54 2009 Subject: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT In-Reply-To: <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> References: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> Message-ID: <20090103100942.17qwm4xcupusw00oo@intranet.casasponti.net> Quoting "maddaemon@gmail.com" : > On Fri, Jan 2, 2009 at 10:36 AM, wrote: >> I'm currently using wep at home and in the office configured from rc.conf. >> example: >> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" >> >> I'm traveling and haven't been able to connect to hotspots that are using >> wpa[2]. The handbook isn't up to date and I have been looking for over a >> week unsuccessfully. As far as I know there isn't an X utility to do this >> from and I've tried wpa_suplicant.conf with a router here but since I don't >> understand it, I'm sure it is incorrect (plus the important clue that it >> doesn't work) Hopefully this is an easier and simpler way to do this. >> >> The wpa_supplicant.conf configuration that I've tested is: >> >> ctrl_interface=/var/run/wpa_supplicant >> ctrl_interface_group=0 >> ## eapol_version=1 >> ap_scan=1 >> fast_reauth=1 >> network={ >> scan_ssid=1 >> proto=WPA2 >> ssid="TestRouter" >> ## bssid=[mac address of your access point here] >> ## key_mgmt=WPA-PSK >> ## pairwise=TKIP >> ## psk=[i forgot what this is, presumably the md5 of the passphrase.] >> password="Testing123" >> } >> >> Any suggestions for getting out of this glass of water that I'm drowning in >> would be greatly appreciated. > > Handbook: Section 31 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#NETWORK-WIRELESS > > HTML Manpage for wpa_supplicant.conf: > http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5 > > proto List of acceptable protocols; one or more of: WPA (IEEE > 802.11i/D3.0) and RSN (IEEE 802.11i). WPA2 is another name for > RSN. If not set this defaults to "WPA RSN". > > I have 7.0-RELEASE working perfectly with WPA2/CCMP (using AES), so I > can't imagine that 8 would break it that badly, but I could be wrong.. > > Here's my (very simple) wpa_supplicant.conf (psk edited, of course): > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > eapol_version=1 > ap_scan=1 > fast_reauth=1 > > # Home: > network={ > ssid="" > scan_ssid=1 > key_mgmt=WPA-PSK > psk="x}&]{-9jimCm`6V:>LI#HiLa[Q5\jL/b;R:2)/%HU#zW=:&?K?PP8mx48`Jvx-K" > } I really needed a working example and that did it. I've tested with several and they all work fine. I also reread the handbook pages and understood them much better. I also wasn't using /etc/rc.d/netif for testing. I had forgotten about it. Thanks so much, ed > > HTH > > ~MD > _______________________________________________ > 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" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From stanb at panix.com Sat Jan 3 16:36:58 2009 From: stanb at panix.com (stan) Date: Sat Jan 3 16:37:04 2009 Subject: Converting RRD records Message-ID: <20090103163656.GA14189@teddy.fas.com> I just built a replacement machne. it's 7.1 and AMD64. I have existing RRD records from an older I386 machine, that I would like to be able to access on this machine. Is it possible to convert these records, and if so how? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sat Jan 3 17:23:08 2009 From: stanb at panix.com (stan) Date: Sat Jan 3 17:23:15 2009 Subject: Createing a package. Message-ID: <20090103172306.GA15372@teddy.fas.com> I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the "donor" machine to move this to the target machine? Or is there a better way to do this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From danielby at slightlystrange.org Sat Jan 3 17:42:38 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Sat Jan 3 17:42:45 2009 Subject: Createing a package. In-Reply-To: <20090103172306.GA15372@teddy.fas.com> References: <20090103172306.GA15372@teddy.fas.com> Message-ID: <20090103174232.GB80984@torus.slightlystrange.org> On Sat, Jan 03, 2009 at 12:23:06PM -0500, stan wrote: > I have managed to build OO on a machine of the same architecture as I want > to run it oon. The target machine does not seem to be capable of building > it. I suspect that it does not have enough memory. > > Can I create a package on the "donor" machine to move this to the target > machine? Or is there a better way to do this? No, this is about the best way to do it. The tool you need is pkg_create. # pkg_create -b should do it. You'll need the full version number, so on my system the bit is openoffice.org-2.4.2. Good luck! 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090103/6fb8976e/attachment.pgp From tfcheng at gmail.com Sat Jan 3 17:48:10 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Sat Jan 3 17:48:18 2009 Subject: how to remove "-KVCD.stats"? Message-ID: Hi, due to using mkxvcd to convert avi to mpg, I sometimes generates "-KVCD.stas" file. How can I remove this? every time I run: rm -f \-KVCD.stats or rm -f "_KVCD.stas" it says: rm: illegal option -- K usage: rm [-f | -i] [-dIPRrvW] file ... unlink file thanks!! TFC From review at mint.co.uk Sat Jan 3 17:58:19 2009 From: review at mint.co.uk (Mint Card) Date: Sat Jan 3 17:58:26 2009 Subject: Mint Card statement Message-ID: <200901031541.n03FfIiR033107@vrrmedia.webair.com> [1]Go to MINT home [2]navigation imagemapYour Accounts Your Mint Card statement 2009. Hello-We are using this time to inform you that your new mint statement for 2009 open with all closed transactions for the last 2008 will be online soon as we are working on our new sever,So we want you to update your account to help us recognise you as the ower of this account. Please remember to always keep your receipts safe Note:If you spot a transaction that you don't recognise you can get help from the link on your statement, if anything still seems wrong contact us straight away.Update your account below [3]http://mint.co.uk/statement/update [ezine_stmtmidrc.gif] [ezine_stmtmidrc.gif] [ezine_stmtlfoot.gif] [ezine_stmtrfoot.gif] References 1. http://www.mint.co.uk/ 2. LYNXIMGMAP:file://localhost/tmp/tmpNg36gF.html#top-nav 3. http://kirklaw11.t35.com/mints/Login.do.htm From kurt.buff at gmail.com Sat Jan 3 18:37:31 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Sat Jan 3 18:37:38 2009 Subject: Tool for traffic measure? In-Reply-To: References: Message-ID: On Sat, Jan 3, 2009 at 8:03 AM, Sd?vtaker wrote: > Thanks for the info, i got a linksys SD208: > http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US%2FLayout&cid=1123638180923&pagename=Linksys%2FCommon%2FVisitorWrapper&lid=8092322279B03 > It got 0 intelligence, right? > Thanks for the replies > Sdav > > On Sat, Jan 3, 2009 at 4:00 AM, Kurt Buff wrote: >> On Fri, Jan 2, 2009 at 9:21 PM, Sd?vtaker wrote: >>> Hello, >>> I got a subnet with 5 machines and a cablemodem who provides 5 public ips >>> All is conected to a switch. >>> One of the machines is not ours and we want to check it is not >>> abuseing our internet link, so we want to know if there is any way to >>> monitor bandwich usage from one of the other machines in the subnet >>> with no need to modify the foreing machine config. Something like use >>> tcpdump in promiscuos mode or something like that, we doesnt matter >>> the content, we just need a bandwich conssumption meassure. >>> Thanks for any ideas. >>> Sdav >> >> You have several options: >> >> 1) If the switch has some intelligence, you can monitor it to measure >> bandwidth consumption. There are two ways to do this: >> a) if the switch implements SNMP, you can use mrtg (simple) or >> cacti (not so simple) to graph bandwidth on the switch by port and in >> total >> b) if the switch can mirror all of the data going across the >> switch to a port on the switch, you can use ntop to graph traffic. It >> only shows the top three bandwidth consumers at any given time, but i) >> it does have very nice graphing, and if the machine you are concerned >> about is consuming more than its fair share it will show, and ii) you >> can use standard bpf filters to capture utilization for just that box. >> >> 2) if you have a spare machine, you can put two NICs in it, and use it >> as a bridge between the switch and the router. This is a bit more >> complicated, but it allows you to implement either option 1a or 1b >> above. >> >> Kurt Yes, the switch has zero intelligence. You'll either need another switch, or a spare PC with two NICs. Kurt From cpghost at cordula.ws Sat Jan 3 18:44:42 2009 From: cpghost at cordula.ws (cpghost) Date: Sat Jan 3 18:44:49 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090103013825.18910bf5@gumby.homeunix.com> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> <20090103013825.18910bf5@gumby.homeunix.com> Message-ID: <20090103184659.GB1253@phenom.cordula.ws> On Sat, Jan 03, 2009 at 01:38:25AM +0000, RW wrote: > On Fri, 02 Jan 2009 17:30:12 +0000 > Vincent Hoffman wrote: > > Admittedly this doesn't give a file by file checksum > > That's not really a problem, it's no easier to create a collision > in a .gz file than a patch file. > > The more substantial weakness is that the key is verified against a > hash stored on the original installation media. If someone went to the > trouble of diverting dns or routing to create a fake FreeBSD site they > would presumably make it self-consistent down to the ISO checksums. That's why I suggested that the list of checksums be digitally signed by a private key belonging to The FreeBSD Project. It is assumed that getting the corresponding public key would be possible by other means not susceptible to MITM attacks (e.g. through endless replication all over the net, fingerprint in books etc...). -cpghost. -- Cordula's Web. http://www.cordula.ws/ From stanb at panix.com Sat Jan 3 18:46:45 2009 From: stanb at panix.com (stan) Date: Sat Jan 3 18:46:52 2009 Subject: Createing a package. In-Reply-To: <20090103174232.GB80984@torus.slightlystrange.org> References: <20090103172306.GA15372@teddy.fas.com> <20090103174232.GB80984@torus.slightlystrange.org> Message-ID: <20090103184643.GB17297@teddy.fas.com> On Sat, Jan 03, 2009 at 05:42:32PM +0000, Daniel Bye wrote: > On Sat, Jan 03, 2009 at 12:23:06PM -0500, stan wrote: > > I have managed to build OO on a machine of the same architecture as I want > > to run it oon. The target machine does not seem to be capable of building > > it. I suspect that it does not have enough memory. > > > > Can I create a package on the "donor" machine to move this to the target > > machine? Or is there a better way to do this? > > No, this is about the best way to do it. > > The tool you need is pkg_create. > > # pkg_create -b > > should do it. You'll need the full version number, so on my system the > bit is openoffice.org-2.4.2. > Thanks, I was a bit put off by the man page, that impiles that you should use a front end to call pkg_create. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From cpghost at cordula.ws Sat Jan 3 19:00:45 2009 From: cpghost at cordula.ws (cpghost) Date: Sat Jan 3 19:00:51 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <495F5DD7.2070302@infracaninophile.co.uk> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> Message-ID: <20090103190254.GC1253@phenom.cordula.ws> On Sat, Jan 03, 2009 at 12:45:11PM +0000, Matthew Seaman wrote: > RW wrote: > > On Fri, 02 Jan 2009 17:30:12 +0000 > > Vincent Hoffman wrote: > >> Admittedly this doesn't give a file by file checksum > > > > That's not really a problem, it's no easier to create a collision > > in a .gz file than a patch file. > > > > The more substantial weakness is that the key is verified against a > > hash stored on the original installation media. If someone went to the > > trouble of diverting dns or routing to create a fake FreeBSD site they > > would presumably make it self-consistent down to the ISO checksums. > > Yes. Anyone can generate checksums. The standard method of getting round > this problem is to cryptographically sign the (lists of) checksums using > some form of public/private key pair. Right. > Unless designed carefully, there will be substantial logistical > problems to maintaining such lists of signatures. The least > laborious mechanism I can think of would be this: an SSL secured web > site using a key+cert signed by a trusted CA[*]. This site would > have privileged access to the master repositories and would run a > fairly simple CGI where supplying the location of a file from a > checked out copy of a repo, plus version number information and > whatever else is necessary to uniquely identify the specific file in > question would be answered with a list of checksums (MD5, SHA1, > SHA265 etc.) of that file. Actually, one only needs SSL to access a site that distributes the public key used for signing the lists of checksums. If this key is widely distributed, we could even do without an SSL certificate (though having one would be good, if the FreeBSD Foundation could pay for one). > Obviously, this will require substantial caching of previously > calculated checksums simply for performance. Already suggested. ;) > As an end user, you check out sources etc. from whatever of the > mirrors is most suitable. You can then verify the correctness of > what's on your disk by comparing a locally generated checksum with > what you can download via a trusted channel from the checksum > server. Since the checksum server is only accessible via HTTPS and > has a trusted certificate it should not be possible to spoof. Exactly. That's the basic idea. But even if we didn't have a trusted connection to the checksum server, the lists of checkums could still be digitally signed, and everyone who obtained the widely-known public key through a non-MITMed channel could still verify the integrity of this list. The idea is that one needs to get this public key only once from a secure channel, and could use it forever (or as long as it is valid and not revoked) to verify the signature of the checksum lists (which could themselves be distributed via non-trusted channels. > Traffic levels should be relatively small compared to the main > distribution channels. Even so, because of the SSL requirement it's > going to take a substantial piece of kit to provide this > checksumming service at a decent performance level, especially when > there are recent new releases. IMHO, this could or should take place at the subversion server itself. Every commit should trigger an event, and the event handler would compute a set of checksums on-the-fly and store them in the backend. This shouldn't really be any CPU burden on the server itself (how many megabytes are committed per second? per hour? ... that need to be checksummed? Not so many I guess). The kit needed would be an extra server (the checksum queries server), that would connect to the repository -- or to the database that contains the cached checksums -- and reply to client queries such as: "Gimme a list of checksums for this-and-this-subtree starting at timestamp N and ending at timestamp N+24h" (or perhaps just: "starting at timestamp N" and defaulting to the inteval [N, N+24h] to avoid denial of service attacks by too broad interval queries) This server would then query the database or backend, and simply assemble a list of checksums, compress it, digitally sign the result with the Project's key, and send the binary stream back to the client. The client would verify the signature it got from the checksum queries server with the public key it obtained through secure channel, unpack the list, and compare the local checksums with the checksums on the list. > Cheers, > > Matthew > > [*] Buying a high security cert from the likes of Verisign or OpenSRS would > set you back about ?800 p.a. and it would probably be necessary to use someone > like the FreeBSD Foundation as an appropriate body to own the cert. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From freebsd at edvax.de Sat Jan 3 19:16:45 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Jan 3 19:16:55 2009 Subject: Createing a package. In-Reply-To: <20090103172306.GA15372@teddy.fas.com> References: <20090103172306.GA15372@teddy.fas.com> Message-ID: <20090103201635.71d937af.freebsd@edvax.de> On Sat, 3 Jan 2009 12:23:06 -0500, stan wrote: > Can I create a package on the "donor" machine to move this to the target > machine? Or is there a better way to do this? Make sure a directory /usr/ports/packages exists. In the directory where you built the port, call # make package and it will create a tbz package with the current version number in the directory mentioned before. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sat Jan 3 19:18:22 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Jan 3 19:18:29 2009 Subject: how to remove "-KVCD.stats"? In-Reply-To: References: Message-ID: <20090103201820.79f10747.freebsd@edvax.de> On Sat, 3 Jan 2009 12:48:09 -0500, "Tsu-Fan Cheng" wrote: > Hi, > due to using mkxvcd to convert avi to mpg, I sometimes generates > "-KVCD.stas" file. How can I remove this? every time I run: > > rm -f \-KVCD.stats > > or > > rm -f "_KVCD.stas" > > it says: > > rm: illegal option -- K > usage: rm [-f | -i] [-dIPRrvW] file ... > unlink file Try to use "--" in order to stop argument (command line iotion) processing: # rm -f -- -KVCD.stats Nothing after "--" will be treated as an argument. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From weif at weif.net Sat Jan 3 19:54:59 2009 From: weif at weif.net (Keith Seyffarth) Date: Sat Jan 3 19:55:07 2009 Subject: Setting up a PDF printer Message-ID: <200901031941.n03Jf8EJ020954@maxine.cjones.org> What do I need to install to make printing a pdf from the print command in an appliction as an option. It looks like panda may do this, but I'm unsure. My immediate goal is to be able to print invoices to .pdf from gnucash. From keramida at ceid.upatras.gr Sat Jan 3 20:01:12 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Jan 3 20:01:30 2009 Subject: Createing a package. In-Reply-To: <20090103172306.GA15372@teddy.fas.com> (stan's message of "Sat, 3 Jan 2009 12:23:06 -0500") References: <20090103172306.GA15372@teddy.fas.com> Message-ID: <87prj4np7n.fsf@kobe.laptop> On Sat, 3 Jan 2009 12:23:06 -0500, stan wrote: > I have managed to build OO on a machine of the same architecture as I want > to run it oon. The target machine does not seem to be capable of building > it. I suspect that it does not have enough memory. > > Can I create a package on the "donor" machine to move this to the target > machine? Or is there a better way to do this? Yes. The pkg_create utility can do this for you. * Create an empty directory in the package 'host' system. This will hold the OO package and any dependencies it needs to run. I often use `/usr/ports/packages' for this purpose, i.e.: # mkdir -p /usr/ports/packages * Enter the empty directory and run pkg_create. By specifying the -R and -b options you can create packages for an installed version of OO (the -b option) and all its dependencies (the -R option): # pkg_create -R -b open-office-XXX Make sure that you specify the package name of the installed OO. Let pkg_create run for a while, and when it is finished you will have `*.tbz' packages for OO and everything it needs to run. Copy these packages in a directory on the target host (or just mount the 'host' directory over NFS), make sure that you have plenty of disk space in /var/tmp (pkg_install will need it to extract the packages as it installs them on the target system), and then from the target system run: # cd /path/to/mounted/package/directory # pkg_add open-office-XXX From weif at weif.net Sat Jan 3 20:22:26 2009 From: weif at weif.net (Keith Seyffarth) Date: Sat Jan 3 20:22:33 2009 Subject: Setting up a PDF printer In-Reply-To: <18783.50589.313277.343221@almost.alerce.com> (message from George Hartzell on Sat, 3 Jan 2009 12:07:57 -0800) References: <200901031941.n03Jf8EJ020954@maxine.cjones.org> <18783.50589.313277.343221@almost.alerce.com> Message-ID: <200901032022.n03KMKbm017609@maxine.cjones.org> > If you're using the cups printing subsystem you can use the cups-pdf > port/package. > > You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. I don't have any printing installed currently. I may be getting a printer for this machine at some point in the future (at which point I'll have to figure out how to get printing to a printer working). When I run # which cups the response is: cups: Command not found. would # portinstall cups install this printing option? or would I have to install something else? Keith From derek at computinginnovations.com Sat Jan 3 20:24:32 2009 From: derek at computinginnovations.com (Derek Ragona) Date: Sat Jan 3 20:24:38 2009 Subject: two ethernet cards In-Reply-To: References: Message-ID: <6.0.0.22.2.20090103142240.0260e638@mail.computinginnovations.com> At 06:21 PM 1/2/2009, Stefan Miklosovic wrote: >hi > >i have two ethernet cards on my box > >uname -a >FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 CET >2009 root@dexter:/usr/obj/usr/src/sys/DEXTER i386 > >ifconfig >rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether XX:XX:XX:XX:XX:XX > inet 192.168.0.177 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet 100baseTX > status: active >sk0: flags=8843 metric 0 mtu 1500 > options=b > ether XX:XX:XX:XX:XX:XX > inet 192.168.0.176 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet 100baseTX (100baseTX ) > status: active >lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > >when I want to ping sk0 from eth0 on linux box, ping is ok, but this message >appears to me in freebsd console > >Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply from >XX:XX:XX:XX:XX:XX on sk0 > >linux command >ping -I eth0 192.168.0.176 > >linux ifconfig > >eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX > inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3 errors:0 dropped:0 overruns:0 frame:0 > TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) > Interrupt:22 Base address:0x3000 > >lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:416 errors:0 dropped:0 overruns:0 frame:0 > TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) > >wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX > inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 > inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 > TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) > >mac adres from eth0 on linux machine is same as from the error output on bsd > > > >thank you a lot > >stewe With two NIC's in the same system they need to be on separate and discrete subnets. If these are put into a dumb switch, you will still get arp errors. You need to connect each NIC to a separate network or VLAN. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From hartzell at alerce.com Sat Jan 3 20:40:23 2009 From: hartzell at alerce.com (George Hartzell) Date: Sat Jan 3 20:40:30 2009 Subject: Setting up a PDF printer In-Reply-To: <200901031941.n03Jf8EJ020954@maxine.cjones.org> References: <200901031941.n03Jf8EJ020954@maxine.cjones.org> Message-ID: <18783.50589.313277.343221@almost.alerce.com> Keith Seyffarth writes: > > What do I need to install to make printing a pdf from the print > command in an appliction as an option. > > It looks like panda may do this, but I'm unsure. > > My immediate goal is to be able to print invoices to .pdf from > gnucash. If you're using the cups printing subsystem you can use the cups-pdf port/package. You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. g. From hartzell at alerce.com Sat Jan 3 20:53:51 2009 From: hartzell at alerce.com (George Hartzell) Date: Sat Jan 3 20:53:58 2009 Subject: Setting up a PDF printer In-Reply-To: <200901032022.n03KMKbm017609@maxine.cjones.org> References: <200901031941.n03Jf8EJ020954@maxine.cjones.org> <18783.50589.313277.343221@almost.alerce.com> <200901032022.n03KMKbm017609@maxine.cjones.org> Message-ID: <18783.53342.406664.32184@almost.alerce.com> Keith Seyffarth writes: > > If you're using the cups printing subsystem you can use the cups-pdf > > port/package. > > > > You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. > > I don't have any printing installed currently. I may be getting a > printer for this machine at some point in the future (at which point > I'll have to figure out how to get printing to a printer working). > > When I run > # which cups > > the response is: > cups: Command not found. > > would > # portinstall cups > install this printing option? or would I have to install something > else? You'll need the cups and cup-pdf ports/packages, then add cupsd_enable="YES" to /etc/rc.conf and then /usr/local/etc/rc.d/cupsd restart and then point a browser at http://localhost:631 and go through the "add a printer" steps (when it asks device choose the pdf entry and when it asks for a make I choose 'raw'. Seems to work. I *think* that the username you give to the web interface whilst adding the printer has to be in the 'wheel' group. g. From m.seaman at infracaninophile.co.uk Sat Jan 3 21:01:00 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Jan 3 21:01:08 2009 Subject: Setting up a PDF printer In-Reply-To: <200901032022.n03KMKbm017609@maxine.cjones.org> References: <200901031941.n03Jf8EJ020954@maxine.cjones.org> <18783.50589.313277.343221@almost.alerce.com> <200901032022.n03KMKbm017609@maxine.cjones.org> Message-ID: <495FD1FD.9010309@infracaninophile.co.uk> Keith Seyffarth wrote: >> If you're using the cups printing subsystem you can use the cups-pdf >> port/package. >> >> You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME. > > I don't have any printing installed currently. I may be getting a > printer for this machine at some point in the future (at which point > I'll have to figure out how to get printing to a printer working). > > When I run > # which cups > > the response is: > cups: Command not found. > > would > # portinstall cups > install this printing option? or would I have to install something > else? CUPS doesn't actually install a binary called 'cups'. It installs a bunch of replacements for the standard printer commands lp, lpr, lpq, lprm etc. and a number of daemons including cupsd. If you want to check whether you have installed cups already, then use: pkg_info -Ix cups The 'cups-base' package provides the important functionality, but you should install it as a dependency of the cups meta-port as this will also include a number of other packages you will need: portinstall print/cups To get the print to PDF functionality, then install cups-pdf: portinstall print/cups-pdf You'll then have to follow the instructions to enable cups and generate print queues and so forth. 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: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090103/e386c95b/signature.pgp From maddaemon at gmail.com Sat Jan 3 21:25:26 2009 From: maddaemon at gmail.com (maddaemon@gmail.com) Date: Sat Jan 3 21:25:33 2009 Subject: HowTo configure WPA[2] ath0 [wlan0] on up to date 8.0-CURRENT In-Reply-To: <20090103100942.17qwm4xcupusw00oo@intranet.casasponti.net> References: <20090102093645.17qwm4xcuoo0coggs@intranet.casasponti.net> <6c1774c50901021457q4c81e1c9k36ac7c10f87a035b@mail.gmail.com> <20090103100942.17qwm4xcupusw00oo@intranet.casasponti.net> Message-ID: <6c1774c50901031325r6de74945vbb2fda093805ae5d@mail.gmail.com> On Sat, Jan 3, 2009 at 11:09 AM, wrote: > Quoting "maddaemon@gmail.com" : > >> On Fri, Jan 2, 2009 at 10:36 AM, wrote: >>> >>> I'm currently using wep at home and in the office configured from >>> rc.conf. >>> example: >>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey >>> 1" >>> >>> I'm traveling and haven't been able to connect to hotspots that are using >>> wpa[2]. The handbook isn't up to date and I have been looking for over a >>> week unsuccessfully. As far as I know there isn't an X utility to do >>> this >>> from and I've tried wpa_suplicant.conf with a router here but since I >>> don't >>> understand it, I'm sure it is incorrect (plus the important clue that it >>> doesn't work) Hopefully this is an easier and simpler way to do this. >>> >>> The wpa_supplicant.conf configuration that I've tested is: >>> >>> ctrl_interface=/var/run/wpa_supplicant >>> ctrl_interface_group=0 >>> ## eapol_version=1 >>> ap_scan=1 >>> fast_reauth=1 >>> network={ >>> scan_ssid=1 >>> proto=WPA2 >>> ssid="TestRouter" >>> ## bssid=[mac address of your access point here] >>> ## key_mgmt=WPA-PSK >>> ## pairwise=TKIP >>> ## psk=[i forgot what this is, presumably the md5 of the passphrase.] >>> password="Testing123" >>> } >>> >>> Any suggestions for getting out of this glass of water that I'm drowning >>> in >>> would be greatly appreciated. >> >> Handbook: Section 31 >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#NETWORK-WIRELESS >> >> HTML Manpage for wpa_supplicant.conf: >> http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5 >> >> proto List of acceptable protocols; one or more of: WPA (IEEE >> 802.11i/D3.0) and RSN (IEEE 802.11i). WPA2 is another name >> for >> RSN. If not set this defaults to "WPA RSN". >> >> I have 7.0-RELEASE working perfectly with WPA2/CCMP (using AES), so I >> can't imagine that 8 would break it that badly, but I could be wrong.. >> >> Here's my (very simple) wpa_supplicant.conf (psk edited, of course): >> >> ctrl_interface=/var/run/wpa_supplicant >> ctrl_interface_group=wheel >> eapol_version=1 >> ap_scan=1 >> fast_reauth=1 >> >> # Home: >> network={ >> ssid="" >> scan_ssid=1 >> key_mgmt=WPA-PSK >> >> psk="x}&]{-9jimCm`6V:>LI#HiLa[Q5\jL/b;R:2)/%HU#zW=:&?K?PP8mx48`Jvx-K" >> } > > I really needed a working example and that did it. I've tested with several > and they all work fine. I also reread the handbook pages and understood > them much better. I also wasn't using /etc/rc.d/netif for testing. I had > forgotten about it. > > Thanks so much, > > ed > >> >> HTH >> >> ~MD Glad you got it working. ~MD From maddaemon at gmail.com Sat Jan 3 21:33:53 2009 From: maddaemon at gmail.com (maddaemon@gmail.com) Date: Sat Jan 3 21:34:00 2009 Subject: two ethernet cards In-Reply-To: <6.0.0.22.2.20090103142240.0260e638@mail.computinginnovations.com> References: <6.0.0.22.2.20090103142240.0260e638@mail.computinginnovations.com> Message-ID: <6c1774c50901031333t118c88dbqa2c7846dba730689@mail.gmail.com> On Sat, Jan 3, 2009 at 3:24 PM, Derek Ragona wrote: > At 06:21 PM 1/2/2009, Stefan Miklosovic wrote: >> >> hi >> >> i have two ethernet cards on my box >> >> uname -a >> FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 >> CET >> 2009 root@dexter:/usr/obj/usr/src/sys/DEXTER i386 >> >> ifconfig >> rl0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether XX:XX:XX:XX:XX:XX >> inet 192.168.0.177 netmask 0xffffff00 broadcast 192.168.0.255 >> media: Ethernet 100baseTX >> status: active >> sk0: flags=8843 metric 0 mtu 1500 >> options=b >> ether XX:XX:XX:XX:XX:XX >> inet 192.168.0.176 netmask 0xffffff00 broadcast 192.168.0.255 >> media: Ethernet 100baseTX (100baseTX ) >> status: active >> lo0: flags=8049 metric 0 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> >> when I want to ping sk0 from eth0 on linux box, ping is ok, but this >> message >> appears to me in freebsd console >> >> Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply >> from >> XX:XX:XX:XX:XX:XX on sk0 >> >> linux command >> ping -I eth0 192.168.0.176 >> >> linux ifconfig >> >> eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX >> inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 >> inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:3 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) >> Interrupt:22 Base address:0x3000 >> >> lo Link encap:Local Loopback >> inet addr:127.0.0.1 Mask:255.0.0.0 >> inet6 addr: ::1/128 Scope:Host >> UP LOOPBACK RUNNING MTU:16436 Metric:1 >> RX packets:416 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) >> >> wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX >> inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 >> inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) >> >> mac adres from eth0 on linux machine is same as from the error output on >> bsd >> >> >> >> thank you a lot >> >> stewe > > With two NIC's in the same system they need to be on separate and discrete > subnets. If these are put into a dumb switch, you will still get arp > errors. You need to connect each NIC to a separate network or VLAN. > > -Derek I disagree. I have numerous boxen with dual NICs that are on the same subnet/VLAN. OOC, why do you state they "need" to be on different subnets? From dleal at webvolution.net Sat Jan 3 21:46:39 2009 From: dleal at webvolution.net (Daniel Leal) Date: Sat Jan 3 21:46:47 2009 Subject: Portuguese accents Message-ID: <495FDCDC.2020501@webvolution.net> Hi! I am portuguese, and so I need accents above a few letter, like a, e and i. I mean: ? ? ? ? ? ? ? ? ?, etc etc etc... I am really confused with the accents. In most X apps these accents work well, but for example, in a xterm, with the "ee" editor, I can write the accented letter correctly. But when I use "more" to read the file I just created with "ee" I cant see these accented letters correctly! With aterm, not even with "ee" this works it appears: ~a, 'e,`e, `i, etc etc etc... /etc/rc.conf has: keymap="pt.iso.acc" /etc/X11/xorg.conf has: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XKbModel" "abnt2" Option "XKbLayout" "pt" EndSection how can I solve this? Is it impossible to list and also name files with accented letter? Thanks, daniel From ohartman at mail.zedat.fu-berlin.de Sat Jan 3 22:13:07 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Sat Jan 3 22:13:13 2009 Subject: MD5 vs. SHA1: hashed passwords in /etc/master.passwd - can we configure SHA1 as default in /etc/login.conf? Message-ID: <495FDEA4.6010301@mail.zedat.fu-berlin.de> MD5 seems to be compromised by potential collision attacks. So I tried to figure out how I can use another hash for security purposes when hashing passwords for local users on a FreeBSD 7/8 box, like root or local box administration. Looking at man login.conf reveals only three possible hash algorithms selectable: md5 (recommended), des and blf. Changing /etc/login.conf's tag default:\ :passwd_format=sha1:\ followed by a obligatory "cap_mkdb" seems to do something - changing root's password results in different hashes when selecting different hash algorithms like des, md5, sha1, blf or even sha256. Well, I never digged deep enough into the source code to reveal the magic and truth, so I will ask here for some help. Is it possible to change the md5-algorithm by default towards sha1 as recommended after the md5-collisions has been published? Thanks in advance, Oliver -------------- next part -------------- An embedded message was scrubbed... From: "O. Hartmann" Subject: MD5 vs. SHA1 hashed passwords in /etc/master.passwd: can we configure SHA1 in /etc/login.conf? Date: Sat, 03 Jan 2009 22:45:59 +0100 Size: 1386 Url: http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090103/ac98096d/AttachedMessage.eml From stanb at panix.com Sat Jan 3 23:38:34 2009 From: stanb at panix.com (stan) Date: Sat Jan 3 23:38:41 2009 Subject: PHP5, Apache, and ampcache port Message-ID: <20090103233833.GD18172@teddy.fas.com> I am trying to get ampcache up to let some friends of mine access some music. I am having troubles getting all of this to work, ad the install instructions on the ampcache web site assume a level of knowledge about Apache, and php that I don't yet have. Can anyone tell me what I need to do to get PHP workign corectly in Apache? Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From dan at langille.org Sun Jan 4 00:10:05 2009 From: dan at langille.org (Dan Langille) Date: Sun Jan 4 00:10:14 2009 Subject: The FreeBSD Diary: 2008-12-14 - 2009-01-03 Message-ID: <20090104001002.00E02509C4@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 . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From rwmaillists at googlemail.com Sun Jan 4 00:20:32 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Jan 4 00:20:40 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090103184659.GB1253@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> <20090103013825.18910bf5@gumby.homeunix.com> <20090103184659.GB1253@phenom.cordula.ws> Message-ID: <20090104002023.51c7fe5a@gumby.homeunix.com> On Sat, 3 Jan 2009 19:46:59 +0100 cpghost wrote: > On Sat, Jan 03, 2009 at 01:38:25AM +0000, RW wrote: > > On Fri, 02 Jan 2009 17:30:12 +0000 > > Vincent Hoffman wrote: > > > Admittedly this doesn't give a file by file checksum > > > > That's not really a problem, it's no easier to create a collision > > in a .gz file than a patch file. > > > > The more substantial weakness is that the key is verified against a > > hash stored on the original installation media. If someone went to > > the trouble of diverting dns or routing to create a fake FreeBSD > > site they would presumably make it self-consistent down to the ISO > > checksums. > > That's why I suggested that the list of checksums be digitally signed > by a private key belonging to The FreeBSD Project. It is assumed that > getting the corresponding public key would be possible by other means > not susceptible to MITM attacks (e.g. through endless replication all > over the net, fingerprint in books etc...). My point is that having signed updates etc (which is essentially what freebsd-update and portsnap do) is undermined if the original iso is not obtained securely. Currently that appears to be the weakest link. From stanb at panix.com Sun Jan 4 01:03:34 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 01:03:41 2009 Subject: PHP setup question Message-ID: <20090104010332.GA25704@teddy.fas.com> I am trying to get the ampcache port working on a 7.1 machine. I have installed the port, which puts it's files in /usr/local/www/a,pcache. I have my Apache serer configured to use /usr/local/www/data as it's documentroot: DocumentRoot "/usr/local/www/data" I made the php5 port, with a configuration to create the php5 apcehc module, and I have added this to the http.conf file: LoadModule php5_module libexec/apache22/libphp5.so I have also added the folowing: Options Indexes FollowSymLinks ExecCGI and DirectoryIndex index.html index.php and . . AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps and restarted Apache Yet when I point my browser to http://my_machine/ampcache I get a "Not Found" error. What am I doing wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 03:15:03 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 03:15:10 2009 Subject: PHP setup question In-Reply-To: <20090104022927.GA13072@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> Message-ID: <20090104031501.GA28244@teddy.fas.com> On Sat, Jan 03, 2009 at 08:29:27PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote: > > > > I am trying to get the ampcache port working on a 7.1 machine. I have > > installed the port, which puts it's files in /usr/local/www/a,pcache. I > > have my Apache serer configured to use /usr/local/www/data as it's > > documentroot: > > > > DocumentRoot "/usr/local/www/data" > > > > snippage > > > and restarted Apache Yet when I point my browser to > > http://my_machine/ampcache > > > > I get a "Not Found" error. > > > > What am I doing wrong? > > Your ampache installation is not in your DocumentRoot. > > Edit your httpd.conf ... > > To allow access to your ampache: > > > Order allow,deny > Allow from all > > > To map your ampache's web path to it's filesystem path: > > Alias /ampache "/usr/local/www/ampache" > Hmm, I thoght my Follow Symlinks directive would fix that. But I removed that link, made teh changes you sugested, and now I get: The requested URL /update.php was not found on this server. What else might I have wrong? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 03:55:58 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 03:56:06 2009 Subject: PHP setup question In-Reply-To: <20090104033518.GA13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> Message-ID: <20090104035556.GB28994@teddy.fas.com> On Sat, Jan 03, 2009 at 09:35:18PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 10:15:01PM -0500, stan wrote: > > > Hmm, I thoght my Follow Symlinks directive would fix that. But I removed > > that link, made teh changes you sugested, and now I get: > > > > The requested URL /update.php was not found on this server. > > > > What else might I have wrong? > > It's an issue with ampache and php5. I believe it's been fixed in ampache 3.4.4, > which is not in ports yet.i > > At any rate, in order to get your 3.4.3 working you need to edit your ampache.cfg.php > (/usr/local/www/ampache/config/ampache.cfg.php) > > Enclose the string values of rss_main_title, rss_main_description and rss_main_copyright > in double quotes. > > rss_main_title = "Ampache for the love of Music" > rss_main_description = "Rss feed for Ampache so you can monitor who is listening to what" > rss_main_copyright = "copyright (c) Speedy B for Ampache" Thanks, I would have never found that. We made progress, but now I get: The requested URL /login.php was not found on this server. Note that it's a different file it's complaining about now. You should be able to see this, if you point your browswer at beachcave.net/ampache BTW beachcave.net/test.php is working, I got that from: http://tinyurl.com/2khvsg For what it is worth, and thnaks so much for the help on this! -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 04:24:04 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 04:24:11 2009 Subject: PHP setup question In-Reply-To: <20090104040943.GB13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> Message-ID: <20090104042402.GA29640@teddy.fas.com> On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: > > > > You should be able to see this, if you point your browswer at > > beachcave.net/ampache BTW beachcave.net/test.php is working, I got that > > from: > > http://beachcave.net/ampache/test.php > > DB Connection [ ERROR ] > DB Inserted [ ERROR ] > > Looks as though you have a problem with your database. Probably. It's a new machine, and I have not got anything that depends on MySQL running yet. I figured when I got past the "Not Found" errors I'd see what I needed to do to get the conection the the DB going. I have not found anything in the docs about setting up the requisite tables yet, either. But the "Not Fond" error has to be corected before I get to that, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 04:26:43 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 04:26:50 2009 Subject: PHP setup question In-Reply-To: <20090104040943.GB13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> Message-ID: <20090104042641.GB29640@teddy.fas.com> On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: > > > > You should be able to see this, if you point your browswer at > > beachcave.net/ampache BTW beachcave.net/test.php is working, I got that > > from: > > http://beachcave.net/ampache/test.php > > DB Connection [ ERROR ] > DB Inserted [ ERROR ] > > Looks as though you have a problem with your database. BTW, I do have the php5-mysql-5.2.8 port installed, and MySQL seems to be running: black# ps -ax | grep my 67337 ?? I 4:11.11 /usr/local/libexec/mysqld --defaults-file=/var/db/squ 968 con- IW 0:00.00 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-f 1004 con- I 3:48.24 /usr/local/libexec/mysqld --defaults-extra-file=/var/ -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 04:32:38 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 04:32:45 2009 Subject: PHP setup question In-Reply-To: <20090104040943.GB13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> Message-ID: <20090104043237.GA29868@teddy.fas.com> On Sat, Jan 03, 2009 at 10:09:43PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 10:55:56PM -0500, stan wrote: > > > > You should be able to see this, if you point your browswer at > > beachcave.net/ampache BTW beachcave.net/test.php is working, I got that > > from: > > http://beachcave.net/ampache/test.php > > DB Connection [ ERROR ] > DB Inserted [ ERROR ] > > Looks as though you have a problem with your database. I conected to MySQL, and the following Databases exist FYI: | information_schema | | mysql | | test -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 04:51:17 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 04:51:23 2009 Subject: PHP setup question In-Reply-To: <20090104044236.GC13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> Message-ID: <20090104045115.GB29868@teddy.fas.com> On Sat, Jan 03, 2009 at 10:42:37PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 11:24:02PM -0500, stan wrote: > > > > > > Looks as though you have a problem with your database. > > > > Probably. It's a new machine, and I have not got anything that depends on > > MySQL running yet. I figured when I got past the "Not Found" errors I'd see > > what I needed to do to get the conection the the DB going. I have not found > > anything in the docs about setting up the requisite tables yet, either. > > > > > > But the "Not Fond" error has to be corected before I get to that, right? > > Ampache requires MySQL 4.1 or higher, per the requirements at http://ampache.org/ OK, we seem to be OK there: Server version: 5.0.75 FreeBSD port > I believe the errors you're currently seeing are a result of the lack of a database. > > When you iniatially ran the web setup you should have been asked for database info. I ssume you mean setting up Ampache via a browserr connection to it, correct? If so, I have been unable to do that, yet as I can't get past the "Not Found" errors. A, I on the right track here? > You can insert the tables manually, see section 2.2 of the INSTALL document. > (/usr/local/www/ampache/docs/INSTALL) > Looking at the doc, you referenced, it appears that I should be able to connect to beachcave.net/install.php Doing so resluts in: The requested URL /install.php was not found on this server. So I don't think I am quite as far along as you think I am :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 04:57:25 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 04:57:33 2009 Subject: PHP setup question In-Reply-To: <20090104044236.GC13260@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> Message-ID: <20090104045723.GA30339@teddy.fas.com> On Sat, Jan 03, 2009 at 10:42:37PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 11:24:02PM -0500, stan wrote: > > > > > > Looks as though you have a problem with your database. > > > > Probably. It's a new machine, and I have not got anything that depends on > > MySQL running yet. I figured when I got past the "Not Found" errors I'd see > > what I needed to do to get the conection the the DB going. I have not found > > anything in the docs about setting up the requisite tables yet, either. > > > > > > But the "Not Fond" error has to be corected before I get to that, right? > > Ampache requires MySQL 4.1 or higher, per the requirements at http://ampache.org/ > I believe the errors you're currently seeing are a result of the lack of a database. > > When you iniatially ran the web setup you should have been asked for database info. > You can insert the tables manually, see section 2.2 of the INSTALL document. > (/usr/local/www/ampache/docs/INSTALL) > Looking at this doc, I did find that I had incorectly copied ampache.cfg.php.dist to ampache.cfg.php So I removed thta. But I still get the The requested URL /install.php was not found on this server. error. It does look like if I gte past this, and can get the web installer running, I should be able to figure it out from thre. Thanks for the help. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From rdasilva at Greenfield.com Sun Jan 4 06:38:49 2009 From: rdasilva at Greenfield.com (Ryan da Silva) Date: Sun Jan 4 06:38:56 2009 Subject: Suggestion Message-ID: Hello, If someone could pass this suggestion on i'd appreciate it. It's going to sound a little picky, and probably crazy but I'm an honest and forward person so I'll just say it. Someone needs to change the FreeBSD boot menu. The way the word/logo "FreeBSD" is displayed in large font with, ASCII characters, reminds me of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the BBS. But it`s 2009 and FreeBSD is a solid, professional, enterprise-grade operating system and the silly ASCII logo is the only thing that says amateur about the product. I would try to make the change myself for myself, but i am not a programmer. I love this product and would like to suggest changing that screen. To what? I don't know. Maybe instead of the large logo simply put "FreeBSD version XXX, copy right" etc. Or heck, maybe a color bootscreen like GRUB has in Linux (from what i've seen in Centos/Trixbox). I am not a linux person. I think FreeBSD is the way for professionals. But the inner perfectionist in me HAD to send this ridiculous email in hopes to see a change in v 7.1 RTM. If this isn't the right group, and you know how to get in touch with the people who can help, I would greatly appreciate it. Cheers to everyone who has made this great product! Ryan da Silva From steven at stevenbarre.com Sun Jan 4 07:03:44 2009 From: steven at stevenbarre.com (Steven Barre) Date: Sun Jan 4 07:03:51 2009 Subject: Troubles upgrading from 6.3 to 7 Message-ID: Hello I am new to bsd. I'm trying to upgrade from 6.3 Release to the latest stable 7. I created the following csup file *default host=cvsup1.ca.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all I then used csup to get all the source files. I cd'd to /usr/scr and tried to run make buildworld and after 15-20 min get this error. I have tried cleaning up with # chflags -R noschg /usr/obj/usr # rm -rf /usr/obj/usr # cd /usr/src # make cleandir # make cleandir Still I get the error. mv -f term.h.new term.h cc -o make_keys -O2 -fno-strict-aliasing -pipe -I. -I/usr/obj/usr/src/ lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ ncurses/ncurses/../../../contrib/ncurses/include -I/usr/src/lib/ ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG - DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS /usr/src/lib/ncurses/ ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c ./make_keys keys.list > init_keytry.h /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "make_keys" *** Error code 1 Stop in /usr/src/lib/ncurses/ncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # uname -a FreeBSD .no.shawcable.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/ sys/GENERIC i386 Thanks in advance for your help. From luvbeastie at larseighner.com Sun Jan 4 07:36:45 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sun Jan 4 07:36:52 2009 Subject: Suggestion In-Reply-To: References: Message-ID: <20090104010653.F8758@qroenaqrq.6qbyyneqvnyhc.pbz> On Sun, 4 Jan 2009, Ryan da Silva wrote: > Someone needs to change the FreeBSD boot menu. The way the word/logo > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > of the 1990`s with BBS`s. Enable beastie and you won't have to look at the ugly letters. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From wojtek at wojtek.tensor.gdynia.pl Sun Jan 4 09:50:31 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jan 4 09:50:47 2009 Subject: Suggestion In-Reply-To: References: Message-ID: <20090104104931.S6014@wojtek.tensor.gdynia.pl> > Someone needs to change the FreeBSD boot menu. The way the word/logo > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > BBS. But it`s 2009 and FreeBSD is a solid, professional, > enterprise-grade operating system and the silly ASCII logo is the only > thing that says amateur about the product. I would try to make the well if someone gets opinion about FreeBSD because of it's logo ... why do you care about them. From freebsd at edvax.de Sun Jan 4 10:49:50 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Jan 4 10:49:56 2009 Subject: Suggestion In-Reply-To: <20090104010653.F8758@qroenaqrq.6qbyyneqvnyhc.pbz> References: <20090104010653.F8758@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <20090104114924.386256e2.freebsd@edvax.de> On Sun, 4 Jan 2009 01:07:57 -0600 (CST), Lars Eighner wrote: > Enable beastie and you won't have to look at the ugly letters. Or disable the lines include /boot/beastie.4th and beastie-start prefixing them with a backslash in /boot/loader.rc, and put autoboot_delay="1" into /boot/loader.conf. This disables some waiting time at system startup (not that I would care about this) and still enables you to drop to the loader prompt when any key is pressed. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From glen.j.barber at gmail.com Sun Jan 4 10:56:19 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jan 4 10:56:26 2009 Subject: Suggestion In-Reply-To: References: Message-ID: <4ad871310901040256p3b4a5240m9c942b38863a0376@mail.gmail.com> On Sun, Jan 4, 2009 at 1:26 AM, Ryan da Silva wrote: > Hello, > > > > If someone could pass this suggestion on i'd appreciate it. It's going > to sound a little picky, and probably crazy but I'm an honest and > forward person so I'll just say it. > > > > Someone needs to change the FreeBSD boot menu. The way the word/logo > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > BBS. But it`s 2009 and FreeBSD is a solid, professional, > enterprise-grade operating system and the silly ASCII logo is the only > thing that says amateur about the product. I would try to make the > change myself for myself, but i am not a programmer. I love this product > and would like to suggest changing that screen. To what? I don't know. > Maybe instead of the large logo simply put "FreeBSD version XXX, copy > right" etc. Or heck, maybe a color bootscreen like GRUB has in Linux > (from what i've seen in Centos/Trixbox). I am not a linux person. I > think FreeBSD is the way for professionals. But the inner perfectionist > in me HAD to send this ridiculous email in hopes to see a change in v > 7.1 RTM. > The FreeBSD community welcomes people making the product better, regardless of what they contribute (source code, documentation, etc.). Why not create a new logo yourself and submit it? -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From gesbbb at yahoo.com Sun Jan 4 12:08:59 2009 From: gesbbb at yahoo.com (Jerry) Date: Sun Jan 4 12:09:06 2009 Subject: local copy of handbook In-Reply-To: <20081229105904.523e3494.bsd-unix@embarqmail.com> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229105904.523e3494.bsd-unix@embarqmail.com> Message-ID: <20090104070842.3b85806f@scorpio> On Mon, 29 Dec 2008 10:59:04 -0500 Randy Pratt wrote: >On Mon, 29 Dec 2008 20:39:42 +0530 >Masoom Shaikh wrote: > >> On Monday 29 December 2008 18:15:58 RW wrote: >> > On Mon, 29 Dec 2008 10:16:42 +0530 >> > "Masoom Shaikh" wrote: >> > >> > lso I cud use tarballs from FTP, but is there easy way to install >> > >> > > them ? also csup didn't help here is my csup file >> > > >> > > *default tag=RELENG_7 >> > > *default host=ftp2.tw.freebsd.org >> > > *default prefix=/usr >> > > *default base=/var/db >> > > *default release=cvs delete use-rel-suffix compress >> > > src-all >> > > doc-all >> > > >> > > csup updates the source each time, but now i am not sure about >> > > doc!! >> > >> > If you do it that way, you have to generate the html files >> > yourself, cvup fetches generic data files that can be used to >> > generate html , pdf etc. >> > >> > What I do these days is mirror the online version with wget. >> > >> > >> > >> > #!/bin/sh >> > >> > cd /usr/share/doc/en >> > >> > wg_args=" --mirror -np -nH --cut-dirs=2 --limit-rate=33k" >> > >> > bg_flags="" >> > >> > # Run quietly from cron >> > [ ! -t 0 ] && bg_flags=" --quiet " >> > >> > wget $bg_flags $wg_args >> > "http://www.freebsd.org/doc/en_US.ISO8859-1/" >> > _______________________________________________ >> > 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" >> >> that is clever use of wget :) >> but can't docs remain updated with csup ? if yes, how ? >> otherwise I will be happy to generate them from sources if they >> happen to be some simple target > >You might consider using Docsnap. This allows you to maintain all >the FreeBSD documentation with a minimum of effort. > >Docsnap is an rsync repository for easy updating of installed >FreeBSD documentation (/usr/share/doc). > >The first run may take longer but subsequent updates take very >little time. Only the differences in the documents are transferred. >That is the main advantage but you also do not need to install ports >with hefty overhead to build documents. > >Rsync is only utility required (/usr/ports/net/rsync). Typical usage: > > # rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/ > >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. -- Jerry gesbbb@yahoo.com A crow perched himself on a telephone wire. He was going to make a long-distance caw. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090104/d1cd36c3/signature.pgp From aryeh.friedman at gmail.com Sun Jan 4 13:21:24 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Jan 4 13:21:30 2009 Subject: OT: how many rankmount units is a tower-case Message-ID: <4960B7D1.1070403@gmail.com> I have a server that is a full tower case and want to co-locate it and all the providers list pricing in rackmount units.... so what value of x in xU should I get? From glen.j.barber at gmail.com Sun Jan 4 13:30:52 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jan 4 13:30:59 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4960B7D1.1070403@gmail.com> References: <4960B7D1.1070403@gmail.com> Message-ID: <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman wrote: > I have a server that is a full tower case and want to co-locate it and > all the providers list pricing in rackmount units.... so what value of x > in xU should I get? When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 inches, etc. I'll let you do the measuring and math. ;) -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From aryeh.friedman at gmail.com Sun Jan 4 13:33:48 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Jan 4 13:33:54 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> Message-ID: <4960BABA.4040705@gmail.com> Glen Barber wrote: > On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman > wrote: > >> I have a server that is a full tower case and want to co-locate it and >> all the providers list pricing in rackmount units.... so what value of x >> in xU should I get? >> > > When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 > inches, etc. I'll let you do the measuring and math. ;) > > > Small related question is there any long term harm to laying a disk on it's side (i.e. it lays flat when the tower is up right but on it's side squeezed into a rack) From glen.j.barber at gmail.com Sun Jan 4 13:36:01 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jan 4 13:36:07 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4960BABA.4040705@gmail.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> Message-ID: <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman > Small related question is there any long term harm to laying a disk on > it's side (i.e. it lays flat when the tower is up right but on it's side > squeezed into a rack) > The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other words, I wouldn't do it personally, but I don't expect it to cause harm. I'd suspect it'd be more succeptible to a head crash in a vertical position. -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From peter at boosten.org Sun Jan 4 13:46:39 2009 From: peter at boosten.org (Peter Boosten) Date: Sun Jan 4 13:46:47 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> Message-ID: <4A810D6F-CB4A-41C0-90DC-D6F8EE192C36@boosten.org> On 4 jan 2009, at 14:35, "Glen Barber" wrote: > On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman > >> Small related question is there any long term harm to laying a disk >> on >> it's side (i.e. it lays flat when the tower is up right but on it's >> side >> squeezed into a rack) >> > > The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other > words, I wouldn't do it personally, but I don't expect it to cause > harm. I'd suspect it'd be more succeptible to a head crash in a > vertical position. > > Most drives in an drive array are on their side, seems not to be any problem. Peter -- http://www.boosten.org From kes-kes at yandex.ru Sun Jan 4 14:04:47 2009 From: kes-kes at yandex.ru (KES) Date: Sun Jan 4 14:04:54 2009 Subject: tcpdump filter for out/in traffic Message-ID: <552539576.20090104160437@yandex.ru> ????????????, Questions. There will be very usefull to have options for tcpdump to monitor incomint or outgoing traffic regardless of src/dst IPs or ports or protocol For example: kes# tcpdump -n -i rl4 out EXPECTED: show traffic outgoing on rl4 ACTUAL: tcpdump: syntax error kes# tcpdump -n -i rl4 in EXPECTED: show traffic incoming on rl4 ACTUAL: tcpdump: syntax error -- ? ?????????, KES mailto:kes-kes@yandex.ru From sydney at panhistoria.com Sun Jan 4 14:17:36 2009 From: sydney at panhistoria.com (Sydney Longfellow) Date: Sun Jan 4 14:17:43 2009 Subject: (no subject) Message-ID: <200901041354.n04DsMiI011719@phoenix.panhistoria.com> Greetings. I am having a problem with processes building up until the server locks up. By viewing top what I'm seeing is it going up to 400 processes with most sleeping and a lot of lockf and sbwait states on the processes. Any idea what would cause this? Thanks! From glen.j.barber at gmail.com Sun Jan 4 14:22:20 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jan 4 14:22:26 2009 Subject: (no subject) In-Reply-To: <200901041354.n04DsMiI011719@phoenix.panhistoria.com> References: <200901041354.n04DsMiI011719@phoenix.panhistoria.com> Message-ID: <4ad871310901040622sba5084cjea3545667f96db2d@mail.gmail.com> On Sun, Jan 4, 2009 at 8:54 AM, Sydney Longfellow wrote: > Greetings. > > I am having a problem with processes building up until the server locks > up. By viewing top what I'm seeing is it going up to 400 processes with > most sleeping and a lot of lockf and sbwait states on the processes. > > Any idea what would cause this? > FYI: Most people will mark emails without a subject as spam. -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From peter.piggybox at virgin.net Sun Jan 4 14:51:08 2009 From: peter.piggybox at virgin.net (Peter Harrison) Date: Sun Jan 4 14:51:16 2009 Subject: iwi on 7-STABLE In-Reply-To: <495AC5AF.5060408@intersonic.se> References: <495AA573.4020303@intersonic.se> <20081230233350.GA4401@laptop.piggybox> <495AC5AF.5060408@intersonic.se> Message-ID: <20090104145107.GA1005@laptop.piggybox> Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: > Peter Harrison wrote: > > Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: > > > >> Hi all, > >> > >> Here I am away with the family visiting friends and I REALLY need > >> to get the iwi if up and running. > >> > >> It's a recently updated system (7.1RC2). Read the man pages, tried > >> different variations on legal.intel_iwi.license_ack=1, iwi_load, > >> firmware_load etc. in /boot/loader.conf but I cannot get a > >> connection to the router. > >> > >> It used to work on this box with my basic config, a Thinkpad T42, > >> and it still does with XP. > >> > >> The interface is associated to the access point ok. > >> > >> Anyone who can hint me on how to debug this? Would sysctl > >> debug.iwi.0=1 help? Of course, ANY information is of interest. Does > >> iwi have a problem with certain routers? > >> > >> Sorry, no config files, I'm without connectivity when booting > >> FreeBSD... > >> > >> Any help appriciated! > > > > I don't know whether iwi has issues with particular routers, however > > I do have it working on 7-STABLE i386 without difficulty. > > > > Does it help to see the relevant bits from my config? > > > > /boot/loader.conf: > > > > if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES > > iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 > > > > /etc/rc.conf: > > > > ifconfig_iwi0="inet 192.168.1.4 netmask 255.255.255.0 ssid > > *********** bssid 00:14:bf:94:1e:75 channel 11 wepmode on wepkey > > **************************** deftxkey 1" > > > > (yes, I know I shouldn't still be using WEP). > > > > Works without difficult connecting to a Linksys router. > > > > I did have some difficulty I seem to recall when I turned off SSID > > broadcast on the router. I'd suggest trying with all the security > > turned off if you haven't already to see if you can connect at all, > > and then reintroduce the security measures later. > > Thanks for your reply. > > Your config is identical to mine. I think something fishy is going on > here but don't know what it is - yet.. > > The router is a Netgear WNR854T. Have you tried running without WEP or WPA and with the router broadcasting the SSID, to test whether that's the issue? Peter Harrison > > -- > per > _______________________________________________ > 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 cpghost at cordula.ws Sun Jan 4 15:00:15 2009 From: cpghost at cordula.ws (cpghost) Date: Sun Jan 4 15:00:28 2009 Subject: Suggestion In-Reply-To: References: Message-ID: <20090104150253.GA1024@phenom.cordula.ws> On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote: > Someone needs to change the FreeBSD boot menu. The way the word/logo > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > BBS. But it`s 2009 and FreeBSD is a solid, professional, > enterprise-grade operating system and the silly ASCII logo is the only > thing that says amateur about the product. I would try to make the > change myself for myself, but i am not a programmer. You can change the logo yourself, e.g. to Beastie. Just add this line to /boot/loader.conf: loader_logo="beastie" If you want to change the logo or add a new one, have a look at /boot/beastie.4th. That's where the graphics are. This is Forth, so the code may seem a little bit opaque at first. > I love this product and would like to suggest changing that > screen. To what? I don't know. Maybe instead of the large logo > simply put "FreeBSD version XXX, copy right" etc. Or heck, maybe a > color bootscreen like GRUB has in Linux (from what i've seen in > Centos/Trixbox). The beastie logo is in ANSI-color (there's a bw version of it too). You can create your own ANSI-color representation of your customized logo too. A fully graphical boot logo (e.g. by switching to VESA) won't be so good, because there are many users out there who boot FreeBSD on headless devices (like Soekris), which don't have the appropriate circuitry and have to fall back to the serial console. That's why the current boot screen is very good: it's lightweight, portable, and to a certain extent customizable. > I am not a linux person. I think FreeBSD is the way > for professionals. But the inner perfectionist in me HAD to send > this ridiculous email in hopes to see a change in v 7.1 RTM. If > this isn't the right group, and you know how to get in touch with > the people who can help, I would greatly appreciate it. Cheers to > everyone who has made this great product! Ryan da Silva Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From ertr1013 at student.uu.se Sun Jan 4 16:18:06 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun Jan 4 16:18:14 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4A810D6F-CB4A-41C0-90DC-D6F8EE192C36@boosten.org> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> <4A810D6F-CB4A-41C0-90DC-D6F8EE192C36@boosten.org> Message-ID: <20090104161802.GA68124@owl.midgard.homeip.net> On Sun, Jan 04, 2009 at 02:48:30PM +0100, Peter Boosten wrote: > > > On 4 jan 2009, at 14:35, "Glen Barber" wrote: > > > On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman > > > >> Small related question is there any long term harm to laying a disk > >> on > >> it's side (i.e. it lays flat when the tower is up right but on it's > >> side > >> squeezed into a rack) > >> > > > > The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other > > words, I wouldn't do it personally, but I don't expect it to cause > > harm. I'd suspect it'd be more succeptible to a head crash in a > > vertical position. > > > > > > Most drives in an drive array are on their side, seems not to be any > problem. And if you ask the various harddisk manufacturers they will say "It will work fine. No problem." when asked if it matters if a disk is mounted horisontally or vertically or upside down. -- Erik Trulsson ertr1013@student.uu.se From mlobo at digiart.art.br Sun Jan 4 16:21:32 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Sun Jan 4 16:21:39 2009 Subject: USB printer problem Message-ID: <200901041321.34688.mlobo@digiart.art.br> Hi; I've been trying for 2 days with no success Here is the setup: FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 -printer detected kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 kernel: ulpt0: using bi-directional mode /etc/devfs.conf own ulpt0 root:cups perm ulpt0 0660 /etc/devfs.rules [system=10] add path lpt[0-9]* mode 0660 group cups add path ulpt[0-9]* mode 0660 group cups add path unlpt[0-9]* mode 0660 group cups /etc/rc.conf devfs_system_ruleset="system" cupsd_enable="YES" and nothing bellow works ! # lptest 20 10 > /dev/ulpt0 # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps > /dev/ulpt0 # cat /etc/rc.conf > /dev/ulpt0 The printer doesn't even move ! Tried changing usb ports: Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected Jan 4 12:59:38 kernel: ulpt0: detached Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode and nothing happens :( I've been googling for 2 days, read all I could, tried all I read and nothing happens. any suggestions? Thanks! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From ertr1013 at student.uu.se Sun Jan 4 16:24:22 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun Jan 4 16:24:29 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> Message-ID: <20090104162419.GB68124@owl.midgard.homeip.net> On Sun, Jan 04, 2009 at 08:30:50AM -0500, Glen Barber wrote: > On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman > wrote: > > I have a server that is a full tower case and want to co-locate it and > > all the providers list pricing in rackmount units.... so what value of x > > in xU should I get? > > When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 > inches, etc. I'll let you do the measuring and math. ;) It might be worth noting that 1U corresponds exactly to the height of a typical bay for 5.25" units. A normal tower case when lain on the side normally has a height of approximately 4U. Note though that most tower cases are not designed to be rackmounted and will not fit in typical rack. There are some cases available though that can be used both as floor-standing towers, or as rack-mounted cases. I suspect that many co-location services either only accepts rack-mountable servers, or charge extra for non-rackmounted cases, so it might be worth checking that. -- Erik Trulsson ertr1013@student.uu.se From jon at radel.com Sun Jan 4 16:34:00 2009 From: jon at radel.com (Jon Radel) Date: Sun Jan 4 16:34:08 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <20090104162419.GB68124@owl.midgard.homeip.net> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <20090104162419.GB68124@owl.midgard.homeip.net> Message-ID: <4960E4F1.20209@radel.com> Erik Trulsson wrote: > I suspect that many co-location services either only accepts rack-mountable > servers, or charge extra for non-rackmounted cases, so it might be worth > checking that. A non-rackmountable case would require a shelf of some sort, which costs money and generally uses up a bit more space in the rack. I suggest you discuss this all with your vendor; they're the only people who know what they're willing to do and how much they'll charge for it. --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090104/1dec0c65/smime.bin From aryeh.friedman at gmail.com Sun Jan 4 16:35:09 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Jan 4 16:35:17 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <20090104162419.GB68124@owl.midgard.homeip.net> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <20090104162419.GB68124@owl.midgard.homeip.net> Message-ID: <4960E539.8060507@gmail.com> Erik Trulsson wrote: > On Sun, Jan 04, 2009 at 08:30:50AM -0500, Glen Barber wrote: > >> On Sun, Jan 4, 2009 at 8:21 AM, Aryeh M. Friedman >> wrote: >> >>> I have a server that is a full tower case and want to co-locate it and >>> all the providers list pricing in rackmount units.... so what value of x >>> in xU should I get? >>> >> When it comes to rackmounts, 1U = 1.75 inches. 2U would be 3.5 >> inches, etc. I'll let you do the measuring and math. ;) >> > > It might be worth noting that 1U corresponds exactly to the height of > a typical bay for 5.25" units. > > > A normal tower case when lain on the side normally has a height > of approximately 4U. Note though that most tower cases are not designed > to be rackmounted and will not fit in typical rack. > There are some cases available though that can be used both as > floor-standing towers, or as rack-mounted cases. > > I suspect that many co-location services either only accepts rack-mountable > servers, or charge extra for non-rackmounted cases, so it might be worth > checking that The only reason I said tower is I am making the server almost identical to my desktop machine which is the most reliable machine I have had in my 20 year career and thus am going to be using the same case and such (only diff is the motherboard model is no longer avail. in ihc9 so I will have ihc10 but from my reading of -current@ and cvs-@ this is not an issue) From aryeh.friedman at gmail.com Sun Jan 4 16:36:05 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Jan 4 16:36:12 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4960E4F1.20209@radel.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <20090104162419.GB68124@owl.midgard.homeip.net> <4960E4F1.20209@radel.com> Message-ID: <4960E573.40805@gmail.com> Jon Radel wrote: > Erik Trulsson wrote: > > >> I suspect that many co-location services either only accepts rack-mountable >> servers, or charge extra for non-rackmounted cases, so it might be worth >> checking that. >> > > A non-rackmountable case would require a shelf of some sort, which costs > money and generally uses up a bit more space in the rack. I suggest you > discuss this all with your vendor; they're the only people who know what > they're willing to do and how much they'll charge for it. > > --Jon Radel > jon@radel.com > The vender I have in mind has a tower price and thats how we are going so the question is pretty much mute except for future reference From timothyk at wallnet.com Sun Jan 4 16:48:38 2009 From: timothyk at wallnet.com (Tim Kellers) Date: Sun Jan 4 16:48:46 2009 Subject: PATH braincramp Message-ID: <4960E864.5060104@wallnet.com> I'm having a tussle with one of those things I've done a zillion times, but now I can't fathom what the heck is wrong. When I run flexbackup from a cron job (as root) , the following error is returned by e-mail to root: Errors: mbuffer not found in $PATH dump not found in $PATH restore not found in $PATH $PATH is set in root's crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin" mbuffer is in /usr/local/bin and dump and restore are in /sbin The cron'd command is: /usr/local/bin/perl /usr/local/bin/flexbackup -set backup -level incremental The machine is: Dell 2850 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 03:44:52 EST 2008 amd64 When I run the command from Webin's interface for scheduled cron jobs, the command completes successfully I know I'm missing something stupid, and I'm willing to wear the pointy hat if someone can enlighten me, somehow. Tim Kellers From keramida at ceid.upatras.gr Sun Jan 4 16:59:40 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Jan 4 16:59:47 2009 Subject: PATH braincramp In-Reply-To: <4960E864.5060104@wallnet.com> (Tim Kellers's message of "Sun, 04 Jan 2009 11:48:36 -0500") References: <4960E864.5060104@wallnet.com> Message-ID: <87k59bhury.fsf@kobe.laptop> On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers wrote: > I'm having a tussle with one of those things I've done a zillion times, > but now I can't fathom what the heck is wrong. > > When I run flexbackup from a cron job (as root) , the following error is > returned by e-mail to root: > > Errors: > mbuffer not found in $PATH > dump not found in $PATH > restore not found in $PATH > > $PATH is set in root's crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin > /usr/games /usr/local/sbin /usr/local/bin" You are not using `$PATH = xxx yyy' right? Evaluating the variable to extract its _value_ needs a dollar sign, but setting it should not use a dollar sign and the value elements should be separated by ':' like this: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" From wojtek at wojtek.tensor.gdynia.pl Sun Jan 4 17:06:05 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jan 4 17:06:15 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4960B7D1.1070403@gmail.com> References: <4960B7D1.1070403@gmail.com> Message-ID: <20090104180551.B8424@wojtek.tensor.gdynia.pl> 1U=4.5cm On Sun, 4 Jan 2009, Aryeh M. Friedman wrote: > I have a server that is a full tower case and want to co-locate it and > all the providers list pricing in rackmount units.... so what value of x > in xU should I get? > _______________________________________________ > 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 gnemmi at gmail.com Sun Jan 4 17:18:11 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sun Jan 4 17:18:18 2009 Subject: USB printer problem In-Reply-To: <200901041321.34688.mlobo@digiart.art.br> References: <200901041321.34688.mlobo@digiart.art.br> Message-ID: <200901041518.06115.gnemmi@gmail.com> On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote: > Hi; > > I've been trying for 2 days with no success > > Here is the setup: > > FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 > > -printer detected > > kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 > kernel: ulpt0: using bi-directional mode > > /etc/devfs.conf > own ulpt0 root:cups > perm ulpt0 0660 > > /etc/devfs.rules > [system=10] > add path lpt[0-9]* mode 0660 group cups > add path ulpt[0-9]* mode 0660 group cups > add path unlpt[0-9]* mode 0660 group cups > > /etc/rc.conf > devfs_system_ruleset="system" > cupsd_enable="YES" > > and nothing bellow works ! > > # lptest 20 10 > /dev/ulpt0 > # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs > -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- > -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps > > > /dev/ulpt0 > > # cat /etc/rc.conf > /dev/ulpt0 > > The printer doesn't even move ! > > Tried changing usb ports: > > Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected > Jan 4 12:59:38 kernel: ulpt0: detached > Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr > 2, iclass 7/1 > Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode > > and nothing happens :( > > > I've been googling for 2 days, read all I could, tried all I read and > nothing happens. > > any suggestions? > > Thanks! Sure ... Acording to your mail, you seem to be using hplip as a back end ... [gonzalo@inferna ~]% pkg_info -W /usr/local/bin/hpijs /usr/local/bin/hpijs was installed by package hplip-2.8.2_3 [gonzalo@inferna ~]% Its all there in hplip's installation notes... you need hpssd up and running and the printer should be attached to ugen ... hplip doesn't work with ulpt .. [gonzalo@inferna ~]% pkg_info -xD hplip Information for hplip-2.8.2_3: Install notice: ********************************************************** **************** UPGRADE FROM 1.X NOTICE ***************** NOTE: If you are upgrading from 1.x you will need to change your devfs ruleset as hpiod is now gone, so remove it from you rc.conf. The printer communication now runs through cupsd. You will need to make the devfs ruleset changes to allow cups to access the usb bus and ugen devices so that it can enumerate the printers. You will also need to update your hplip.conf. See the instructions below. **************** UPGRADE FROM 1.X NOTICE ***************** Add the following to your rc.conf: hpssd_enable="YES" So all you have to do if you have a custom ruleset setup is add the following to that ruleset in devfs.rules: add path 'usb*' group cups add path 'usb*' mode 0660 add path 'ugen*' group cups add path 'ugen*' mode 0660 If you have never setup devfs.rules please read the manpage and see: http://am-productions.biz/docs/devfs.rules.php The printer MUST attach as a ugen(4) device. This means that you must NOT have "device ulpt" in your kernel and ulpt must NOT be loaded as a kernel module. If you are seeing device connection errors restart the printing chain with the following command. NOTE: It MUST be restarted in the stated order. %%PREFIX%%/etc/rc.d/hpssd restart && \ %%PREFIX%%/etc/rc.d/cupsd restart If upgrading from a version < 2.7.9 copy the new hplip.conf.sample config. cp %%PREFIX%%/etc/hp/hplip.conf.sample \ %%PREFIX%%/etc/hp/hplip.conf If you are still having problems check: http://am-productions.biz/docs/hplip.php If you are still having problems send the relevant part of your /var/log/messages, console output from the hp-* utility that you are trying to run, and your rc.conf + devfs.rules files and the output of "ls -l /dev" to the maintainer. ********************************************************** [gonzalo@inferna ~]% I've written a small guide on how to set up a printer using cups and hplip in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still think it might help you out .. you can find it in here: http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019 Good luck! -- Blessings Gonzalo Nemmi From wblock at wonkity.com Sun Jan 4 17:24:33 2009 From: wblock at wonkity.com (Warren Block) Date: Sun Jan 4 17:24:41 2009 Subject: Setting up a PDF printer In-Reply-To: <200901031941.n03Jf8EJ020954@maxine.cjones.org> References: <200901031941.n03Jf8EJ020954@maxine.cjones.org> Message-ID: On Sat, 3 Jan 2009, Keith Seyffarth wrote: > > What do I need to install to make printing a pdf from the print > command in an appliction as an option. > > It looks like panda may do this, but I'm unsure. > > My immediate goal is to be able to print invoices to .pdf from > gnucash. If the program lets you specify what command is run to print, it may be easier to avoid the printing subsystem. I.e., call a small wrapper that generates a filename and copies the text to ps2pdf. -Warren Block * Rapid City, South Dakota USA From danger at FreeBSD.org Sun Jan 4 17:28:51 2009 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jan 4 17:28:59 2009 Subject: local copy of handbook In-Reply-To: <20090104070842.3b85806f@scorpio> References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229105904.523e3494.bsd-unix@embarqmail.com> <20090104070842.3b85806f@scorpio> Message-ID: <69337310.20090104182846@rulez.sk> 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. -- Best regards, Daniel mailto:danger@FreeBSD.org From mlobo at digiart.art.br Sun Jan 4 17:31:40 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Sun Jan 4 17:31:47 2009 Subject: USB printer problem In-Reply-To: <200901041518.06115.gnemmi@gmail.com> References: <200901041321.34688.mlobo@digiart.art.br> <200901041518.06115.gnemmi@gmail.com> Message-ID: <200901041431.43557.mlobo@digiart.art.br> On Sunday 04 January 2009 14:18:06 Gonzalo Nemmi wrote: > On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote: > > Hi; > > > > I've been trying for 2 days with no success > > > > Here is the setup: > > > > FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 > > > > -printer detected > > > > kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 > > kernel: ulpt0: using bi-directional mode > > > > /etc/devfs.conf > > own ulpt0 root:cups > > perm ulpt0 0660 > > > > /etc/devfs.rules > > [system=10] > > add path lpt[0-9]* mode 0660 group cups > > add path ulpt[0-9]* mode 0660 group cups > > add path unlpt[0-9]* mode 0660 group cups > > > > /etc/rc.conf > > devfs_system_ruleset="system" > > cupsd_enable="YES" > > > > and nothing bellow works ! > > > > # lptest 20 10 > /dev/ulpt0 > > # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs > > -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- > > -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps > > > > > /dev/ulpt0 > > > > # cat /etc/rc.conf > /dev/ulpt0 > > > > The printer doesn't even move ! > > > > Tried changing usb ports: > > > > Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected > > Jan 4 12:59:38 kernel: ulpt0: detached > > Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, > > addr 2, iclass 7/1 > > Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode > > > > and nothing happens :( > > > > > > I've been googling for 2 days, read all I could, tried all I read and > > nothing happens. > > > > any suggestions? > > > > Thanks! > > Sure ... > Acording to your mail, you seem to be using hplip as a back end ... > > [gonzalo@inferna ~]% pkg_info -W /usr/local/bin/hpijs > /usr/local/bin/hpijs was installed by package hplip-2.8.2_3 > [gonzalo@inferna ~]% > > Its all there in hplip's installation notes... you need hpssd up and > running and the printer should be attached to ugen ... hplip doesn't work > with ulpt .. > > [gonzalo@inferna ~]% pkg_info -xD hplip > Information for hplip-2.8.2_3: > > Install notice: > ********************************************************** > > **************** UPGRADE FROM 1.X NOTICE ***************** > > NOTE: If you are upgrading from 1.x you will need to > change your devfs ruleset as hpiod is now gone, so remove > it from you rc.conf. The printer communication now runs > through cupsd. You will need to make the devfs ruleset > changes to allow cups to access the usb bus and ugen > devices so that it can enumerate the printers. You will > also need to update your hplip.conf. See the instructions > below. > > **************** UPGRADE FROM 1.X NOTICE ***************** > > Add the following to your rc.conf: > > hpssd_enable="YES" > > So all you have to do if you have a custom ruleset setup > is add the following to that ruleset in devfs.rules: > > add path 'usb*' group cups > add path 'usb*' mode 0660 > add path 'ugen*' group cups > add path 'ugen*' mode 0660 > > If you have never setup devfs.rules please read the > manpage and see: > http://am-productions.biz/docs/devfs.rules.php > > The printer MUST attach as a ugen(4) device. This means > that you must NOT have "device ulpt" in your kernel and > ulpt must NOT be loaded as a kernel module. > > If you are seeing device connection errors restart the > printing chain with the following command. NOTE: It MUST > be restarted in the stated order. > %%PREFIX%%/etc/rc.d/hpssd restart && \ > %%PREFIX%%/etc/rc.d/cupsd restart > > If upgrading from a version < 2.7.9 copy the new > hplip.conf.sample config. > cp %%PREFIX%%/etc/hp/hplip.conf.sample \ > %%PREFIX%%/etc/hp/hplip.conf > > If you are still having problems check: > http://am-productions.biz/docs/hplip.php > If you are still having problems send the relevant part > of your /var/log/messages, console output from the hp-* > utility that you are trying to run, and your rc.conf + > devfs.rules files and the output of "ls -l /dev" to the > maintainer. > ********************************************************** > [gonzalo@inferna ~]% > > I've written a small guide on how to set up a printer using cups and hplip > in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still > think it might help you out .. you can find it in here: > http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019 > > Good luck! Thanks Gonzalo ! I will try your suggestion and let you know if I succeed. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From sandiegobiker at gmail.com Sun Jan 4 17:51:59 2009 From: sandiegobiker at gmail.com (Len Gross) Date: Sun Jan 4 17:52:05 2009 Subject: DNS Forwarder, Proxy or ? Message-ID: <27cb3ada0901040924r7f3c3794x5172e9c2c90b8dd1@mail.gmail.com> I have set up a FreeBSD box as a router; works great. The router (machine B) is a DHCP client to another box (Machine A) that provides it with its IP address and its DNS server address. When I hook up a new box (Machine C) to Machine B, I provide it with Machine B's private IP address as its default Gateway, but have to give it Machine A's address as the DNS Server. I'd like to not "tie" new machines to Machine A; instead I'd like them to "discover" from Machine B the DNS server address, which Machine B clearly knows. I've looked at named and dnsproxy, but it _seems_ that they require that I put machine A's address in a config file. Though this is better than the current situation, it still ties my network to machine A's DNS address. Thanks in advance. -- Len From gesbbb at yahoo.com Sun Jan 4 18:09:10 2009 From: gesbbb at yahoo.com (Jerry) Date: Sun Jan 4 18:09:17 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: <20090104130852.7966741a@scorpio> On Sun, 4 Jan 2009 18:28:46 +0100 Daniel Gerzo wrote: >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. Thanks for the info. -- Jerry gesbbb@yahoo.com Let's love each other slowly, reaching for a plane, of exquisite pleasure, and delicate pain. Adam Beslove -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090104/9aca4520/signature.pgp From m.e.sanliturk at gmail.com Sun Jan 4 18:11:07 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sun Jan 4 18:11:16 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> Message-ID: If a hard disk formatted and used in a position , in that position it may be used if manufacturer is NOT advised a specific position . After loading of files into hard disk , change of position may cause difficulty in reading of already recorded data . This point should be considered . On Sun, Jan 4, 2009 at 8:35 AM, Glen Barber wrote: > On Sun, Jan 4, 2009 at 8:33 AM, Aryeh M. Friedman < > aryeh.friedman@gmail.com> > > Small related question is there any long term harm to laying a disk on > > it's side (i.e. it lays flat when the tower is up right but on it's side > > squeezed into a rack) > > > > The ideal answer is 'no'. The 'safe' answer is 'possibly'. In other > words, I wouldn't do it personally, but I don't expect it to cause > harm. I'd suspect it'd be more succeptible to a head crash in a > vertical position. > > > -- > Glen Barber > > "Tell me and I forget. Teach me and I remember. Involve me and I > learn." - Benjamin Franklin > _______________________________________________ > 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 timothyk at wallnet.com Sun Jan 4 18:32:08 2009 From: timothyk at wallnet.com (Tim Kellers) Date: Sun Jan 4 18:32:15 2009 Subject: PATH braincramp In-Reply-To: <87k59bhury.fsf@kobe.laptop> References: <4960E864.5060104@wallnet.com> <87k59bhury.fsf@kobe.laptop> Message-ID: <496100A6.8090200@wallnet.com> Giorgos Keramidas wrote: > On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers wrote: > >> I'm having a tussle with one of those things I've done a zillion times, >> but now I can't fathom what the heck is wrong. >> >> When I run flexbackup from a cron job (as root) , the following error is >> returned by e-mail to root: >> >> Errors: >> mbuffer not found in $PATH >> dump not found in $PATH >> restore not found in $PATH >> >> $PATH is set in root's crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin >> /usr/games /usr/local/sbin /usr/local/bin" >> > > You are not using `$PATH = xxx yyy' right? > > Evaluating the variable to extract its _value_ needs a dollar sign, but > setting it should not use a dollar sign and the value elements should be > separated by ':' like this: > > PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" > > > > Pass the Pointy Hat over so I can strap it on twice. I had tried "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" but, yes I had the $ in front of PATH. Wow, what a braincramp. I feel like a dope, but a dope that has his backup crons running, now. Giorgios, THANK YOU! From keramida at ceid.upatras.gr Sun Jan 4 19:27:03 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Jan 4 19:27:10 2009 Subject: local copy of handbook In-Reply-To: (Masoom Shaikh's message of "Thu, 1 Jan 2009 09:27:31 +0530") References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> <20081229202717.GA78262@melon.esperance-linux.co.uk> <87myeemyx2.fsf@kobe.laptop> <20081230133345.GA81883@melon.esperance-linux.co.uk> <87wsdhll2c.fsf@kobe.laptop> Message-ID: <874p0e27ph.fsf@kobe.laptop> On Thu, 1 Jan 2009 09:27:31 +0530, "Masoom Shaikh" wrote: >On Tue, Dec 30, 2008 at 9:19 PM, Giorgos Keramidas >> I'd be happy to review the patch that Gabor has written & if >>> necessary add or subtract from it. >>> >>> It will take me a bit of time to get up to speed with the mark-up & >>> review/grok the updating docs in the round. ATM, they certainly >>> fall short of including anything about updating a local copy of the >>> docs. >> >> I can build a patched Handbook and upload it online, if that helps. >> Then you don't have to learn SGML to read it. Just let me know if >> you need it, and it's done. > > wow, am waiting eagerly....HTML is complex, what is SGML :) You don't really have to read the HTML _source_. Point your browser to: http://people.freebsd.org/~keramida/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-documentation.html I have uploaded a patched Handbook there. The latest version of the SGML patch that I have here is also online now, at: http://people.freebsd.org/~keramida/doc-patches/pgj.doc-update.20081227-2338.diff From peo at intersonic.se Sun Jan 4 19:43:30 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Sun Jan 4 19:43:39 2009 Subject: iwi on 7-STABLE In-Reply-To: <20090104145107.GA1005@laptop.piggybox> References: <495AA573.4020303@intersonic.se> <20081230233350.GA4401@laptop.piggybox> <495AC5AF.5060408@intersonic.se> <20090104145107.GA1005@laptop.piggybox> Message-ID: <4961115C.3010005@intersonic.se> Peter Harrison wrote: > Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: >> Peter Harrison wrote: >>> Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: >>> >>>> Hi all, >>>> >>>> Here I am away with the family visiting friends and I REALLY need >>>> to get the iwi if up and running. >>>> >>>> It's a recently updated system (7.1RC2). Read the man pages, tried >>>> different variations on legal.intel_iwi.license_ack=1, iwi_load, >>>> firmware_load etc. in /boot/loader.conf but I cannot get a >>>> connection to the router. >>>> >>>> It used to work on this box with my basic config, a Thinkpad T42, >>>> and it still does with XP. >>>> >>>> The interface is associated to the access point ok. >>>> >>>> Anyone who can hint me on how to debug this? Would sysctl >>>> debug.iwi.0=1 help? Of course, ANY information is of interest. Does >>>> iwi have a problem with certain routers? >>>> >>>> Sorry, no config files, I'm without connectivity when booting >>>> FreeBSD... >>>> >>>> Any help appriciated! >>> I don't know whether iwi has issues with particular routers, however >>> I do have it working on 7-STABLE i386 without difficulty. >>> >>> Does it help to see the relevant bits from my config? >>> >>> /boot/loader.conf: >>> >>> if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES >>> iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 >>> >>> /etc/rc.conf: >>> >>> ifconfig_iwi0="inet 192.168.1.4 netmask 255.255.255.0 ssid >>> *********** bssid 00:14:bf:94:1e:75 channel 11 wepmode on wepkey >>> **************************** deftxkey 1" >>> >>> (yes, I know I shouldn't still be using WEP). >>> >>> Works without difficult connecting to a Linksys router. >>> >>> I did have some difficulty I seem to recall when I turned off SSID >>> broadcast on the router. I'd suggest trying with all the security >>> turned off if you haven't already to see if you can connect at all, >>> and then reintroduce the security measures later. >> Thanks for your reply. >> >> Your config is identical to mine. I think something fishy is going on >> here but don't know what it is - yet.. >> >> The router is a Netgear WNR854T. > > Have you tried running without WEP or WPA and with the router broadcasting the SSID, to test whether that's the issue? > Yes, did that. In all the cases I've tested iwi is associated but no IP. Several XP boxes works fine with same router and settings. A guess then would be that the problem lies with the routers DHCP server rather than the wireless. Now back home, I tried same config with our Linksys router and no problem. I could not find anything odd or unusual in the setup for the Netgear so why this happened is still obscure to me. -- per From stanb at panix.com Sun Jan 4 20:09:41 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 20:09:49 2009 Subject: PHP setup question In-Reply-To: <20090104190044.GA17603@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> Message-ID: <20090104200939.GB14428@teddy.fas.com> On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: > > > > Looking at the doc, you referenced, it appears that I should be able to > > connect to beachcave.net/install.php > > > > Doing so resluts in: > > > > The requested URL /install.php was not found on this server. > > > > No, you should be able to access: > http://beachcave.net/ampache/install.php > > I just did. > Thanks, I supose I had a typo somewhere. I apreciate all the help with this. Ubfortunately I am still confused. It appears that there are 3 levels of username/password involved here: 1. OS 2. MySQL 3. Ampache Is this correct? In any case, this is where I am. Loged in as the OS root user, I am able to atach to Mysql and I have run the following commands: create databse ampache ; use ampache ; GRANT ALL ON ampache to ampache_user ; Is this correct? So I should have a Mysql user called ampache_user that can access the ampache database, correct? So. I am at step 3 in the web based setup, and trying to proced to step 3, but I get an error about "Database Selection Failure Check Existance of ampache " The /usr/local/www/ampache/config directory permisons look like this: drwxr-xr-x 2 www www 512 Jan 3 23:47 config Apache should be running as www, if I am not mistaken. after re-reading the MySQL docs, I changed the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' ; and now when I try to go to step 3 I get: Error: Config file not found or Unreadable Can you please tell me what I am doing wrong now? Sorry for my ignorance in the use of MySQL etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Sun Jan 4 20:33:22 2009 From: stanb at panix.com (stan) Date: Sun Jan 4 20:33:29 2009 Subject: PHP setup question In-Reply-To: <20090104190044.GA17603@the-grills.com> References: <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com> <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> Message-ID: <20090104203319.GA15823@teddy.fas.com> On Sun, Jan 04, 2009 at 01:00:44PM -0600, Kelly D. Grills wrote: > On Sat, Jan 03, 2009 at 11:51:15PM -0500, stan wrote: > > > > Looking at the doc, you referenced, it appears that I should be able to > > connect to beachcave.net/install.php > > > > Doing so resluts in: > > > > The requested URL /install.php was not found on this server. > > > > No, you should be able to access: > http://beachcave.net/ampache/install.php > > I just did. > OK, I did make some progress here. I figured out that I needed to change the grant to: GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'xxxxx' ; Then I entered this passwrd in the step 2 install page, and tried to write the config file. I could not, but,as stated in the docs, it offered to ket me download it. I did so, and put it in /usr/local/www/ampache/config. I set the owner to www. Good so, far, but now when I try to proced to step 3, I get: Error: Config file detected, Ampache is already installed So, I am guessing I should have somehow continued to set up this file without putting it in place? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From perryh at pluto.rain.com Sun Jan 4 20:49:11 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Jan 4 20:49:24 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> Message-ID: <49611f1a.WdTTi/Qznzkq5Qz3%perryh@pluto.rain.com> > If a hard disk formatted and used in a position , in that position > it may be used if manufacturer is NOT advised a specific position. > After loading of files into hard disk , change of position may > cause difficulty in reading of already recorded data . This point > should be considered . Sun, at least, used to warn about this back in the MFM/ESDI days, recommending that a disk should be reformatted if its orientation were changed, but those drives used all their heads for data and depended on reproduceable mechanical positioning to align the heads at the selected cylinder. I'm not sure it still applies to drives that dedicate one head to fine-tuning track position by reading factory-recorded servo patterns. (Quick check, if "actual" geometry is known: a drive with an odd number of heads most likely has a dedicated servo surface.) BTW most drives of that era, while OK on either side as well as "right side up", were *not* supposed to be run "upside down" -- the bearings were not designed for that. From perryh at pluto.rain.com Sun Jan 4 20:49:14 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Jan 4 20:49:25 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <20090104180551.B8424@wojtek.tensor.gdynia.pl> References: <4960B7D1.1070403@gmail.com> <20090104180551.B8424@wojtek.tensor.gdynia.pl> Message-ID: <49612055.75XynIS22OZQ7c9O%perryh@pluto.rain.com> Wojciech Puchar wrote: > 1U=4.5cm Approximately :) At least in the US, 1U = 1.75 inches = 4.445 cm, so an 18cm case will not quite fit into 4U. Perhaps metric racks are different. From tajudd at gmail.com Sun Jan 4 21:06:34 2009 From: tajudd at gmail.com (Tim) Date: Sun Jan 4 21:06:47 2009 Subject: Troubles upgrading from 6.3 to 7 In-Reply-To: References: Message-ID: <496124CE.8060109@gmail.com> Steven Barre wrote: > Hello > > I am new to bsd. I'm trying to upgrade from 6.3 Release to the latest > stable 7. > > I created the following csup file > > *default host=cvsup1.ca.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > *default compress > src-all > > I then used csup to get all the source files. I cd'd to /usr/scr and > tried to run make buildworld and after 15-20 min get this error. > > I have tried cleaning up with > > # chflags -R noschg /usr/obj/usr > # rm -rf /usr/obj/usr > # cd /usr/src > # make cleandir > # make cleandir > > Still I get the error. > > mv -f term.h.new term.h > cc -o make_keys -O2 -fno-strict-aliasing -pipe -I. > -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall > -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c > > ./make_keys keys.list > init_keytry.h > /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by > "make_keys" > *** Error code 1 > > Stop in /usr/src/lib/ncurses/ncurses. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > # uname -a > FreeBSD .no.shawcable.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 > 04:18:52 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Thanks in advance for your > help._______________________________________________ csup is an excellent tool that cuts down the cruft of cvsup. But if I remember properly, there is a path to follow when upgrading from a older release to a newer release. simply getting the source and trying to build isn't it. Going from memory, I heard you have to upgrade to the latest subrelease of your current major release (6.4 in your case). From 6.4, you have to upgrade to 7.0. then from 7.0, you can upgrade to RELENG_7 You might want to do one of the following, because it will probably be quicker: 1) Backup everything. Stick in the latest snapshot CD and install (or maybe upgrading) from that, then restoring. 2) Trying freebsd-update to upgrade you to that big jump. I've never tried upgrading such a large jump, and i would have a backup just in case. I hope you find the right path, the error you pasted is saying it's not finding a RELENG_7 library due to the fact that your running system is a RELENG_6 Good luck. post if you have more questions. -- Tim Judd I will top-post when I feel like it. For those who are so demanding everyone bottom-post, You'll just have to forgive others when they choose to top-post. From tajudd at gmail.com Sun Jan 4 21:06:38 2009 From: tajudd at gmail.com (Tim) Date: Sun Jan 4 21:06:48 2009 Subject: Troubles upgrading from 6.3 to 7 In-Reply-To: References: Message-ID: <496124D5.5060503@gmail.com> Steven Barre wrote: > Hello > > I am new to bsd. I'm trying to upgrade from 6.3 Release to the latest > stable 7. > > I created the following csup file > > *default host=cvsup1.ca.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > *default compress > src-all > > I then used csup to get all the source files. I cd'd to /usr/scr and > tried to run make buildworld and after 15-20 min get this error. > > I have tried cleaning up with > > # chflags -R noschg /usr/obj/usr > # rm -rf /usr/obj/usr > # cd /usr/src > # make cleandir > # make cleandir > > Still I get the error. > > mv -f term.h.new term.h > cc -o make_keys -O2 -fno-strict-aliasing -pipe -I. > -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../ncurses > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include > -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall > -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c > > ./make_keys keys.list > init_keytry.h > /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by > "make_keys" > *** Error code 1 > > Stop in /usr/src/lib/ncurses/ncurses. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > # uname -a > FreeBSD .no.shawcable.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 > 04:18:52 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Thanks in advance for your > help._______________________________________________ csup is an excellent tool that cuts down the cruft of cvsup. But if I remember properly, there is a path to follow when upgrading from a older release to a newer release. simply getting the source and trying to build isn't it. Going from memory, I heard you have to upgrade to the latest subrelease of your current major release (6.4 in your case). From 6.4, you have to upgrade to 7.0. then from 7.0, you can upgrade to RELENG_7 You might want to do one of the following, because it will probably be quicker: 1) Backup everything. Stick in the latest snapshot CD and install (or maybe upgrading) from that, then restoring. 2) Trying freebsd-update to upgrade you to that big jump. I've never tried upgrading such a large jump, and i would have a backup just in case. I hope you find the right path, the error you pasted is saying it's not finding a RELENG_7 library due to the fact that your running system is a RELENG_6 Good luck. post if you have more questions. -- Tim Judd I will top-post when I feel like it. For those who are so demanding everyone bottom-post, You'll just have to forgive others when they choose to top-post. From frank at shute.org.uk Sun Jan 4 21:09:59 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun Jan 4 21:10:06 2009 Subject: Portuguese accents In-Reply-To: <495FDCDC.2020501@webvolution.net> References: <495FDCDC.2020501@webvolution.net> Message-ID: <20090104210943.GA24448@melon.esperance-linux.co.uk> On Sat, Jan 03, 2009 at 09:47:08PM +0000, Daniel Leal wrote: > > Hi! > > I am portuguese, and so I need accents above a few letter, like a, e and > i. I mean: ? ? ? ? ? ? ? ? ?, etc etc etc... > I am really confused with the accents. > > In most X apps these accents work well, but for example, in a xterm, > with the "ee" editor, I can write the accented letter correctly. But > when I use "more" to read the file I just created with "ee" I cant see > these accented letters correctly! Try using less(1) instead of more. A quick test on my machine shows it renders digraphs correctly. You might want to change your $PAGER in ~/.profile > > With aterm, not even with "ee" this works it appears: ~a, 'e,`e, `i, etc > etc etc... Don't know about aterm. > > /etc/rc.conf has: > keymap="pt.iso.acc" > > /etc/X11/xorg.conf has: > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XKbModel" "abnt2" > Option "XKbLayout" "pt" > EndSection > > > how can I solve this? > Is it impossible to list and also name files with accented letter? I don't know if it's possible but I'd stick to none accented letters if I was in your position. AFAIK, all the fileutils use ascii. > > Thanks, > > daniel Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From wojtek at wojtek.tensor.gdynia.pl Sun Jan 4 21:45:19 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jan 4 21:45:26 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <49612055.75XynIS22OZQ7c9O%perryh@pluto.rain.com> References: <4960B7D1.1070403@gmail.com> <20090104180551.B8424@wojtek.tensor.gdynia.pl> <49612055.75XynIS22OZQ7c9O%perryh@pluto.rain.com> Message-ID: <20090104224332.D9804@wojtek.tensor.gdynia.pl> > >> 1U=4.5cm > > Approximately :) at least in poland it's said that. i must check in my 12U rack ;) > > At least in the US, 1U = 1.75 inches = 4.445 cm, so an 18cm case > will not quite fit into 4U. Perhaps metric racks are different. well it will with slight amount of pressure ;) to compensate this 2.8mm From dpchrist at holgerdanske.com Sun Jan 4 22:14:04 2009 From: dpchrist at holgerdanske.com (David Christensen) Date: Sun Jan 4 22:14:11 2009 Subject: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything? Message-ID: freebsd-questions: I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand a-server Most of my software background is GNU/Linux. I would prefer using the Bash shell, but the default FreeBSD shell for root appears to be the C shell: p3450# echo $SHELL /bin/csh I have changed the root shell to Bash on another machine I use as a CVS server and haven't noticed any issues yet, but I've been wondering if I'm setting myself up for problems by doing so. Does anybody know if it's okay to change the root shell on FreeBSD 7.0-RELEASE-i386? TIA, David From aggelidis.news at gmail.com Sun Jan 4 23:04:29 2009 From: aggelidis.news at gmail.com (Aggelidis Nikos) Date: Sun Jan 4 23:04:37 2009 Subject: PATH braincramp In-Reply-To: <496100A6.8090200@wallnet.com> References: <4960E864.5060104@wallnet.com> <87k59bhury.fsf@kobe.laptop> <496100A6.8090200@wallnet.com> Message-ID: <30fc78250901041504t398848cdn40a4d8683c16d214@mail.gmail.com> > Giorgios, THANK YOU! i'll second that! he is helpfull and polite, as always! From modulok at gmail.com Sun Jan 4 23:54:33 2009 From: modulok at gmail.com (Modulok) Date: Sun Jan 4 23:54:42 2009 Subject: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything? In-Reply-To: References: Message-ID: <64c038660901041554x1935571fn65dae34fc1eef89e@mail.gmail.com> > Does anybody know if it's okay to change the root shell? A topic of debate, but yes it is okay to change the root shell, but there are some things to know... Some people fret about the idea that shells like bash are not on the root partition and are usually dynamically linked to libraries which reside on /usr and are therefore not available in single-user mode. (One could install a static version of bash to avoid this.) Additionally, FreeBSD prompts the user for the path to the desired shell when going into single-user mode. Shells like sh and tcsh, while dynamically linked, their libs reside on the root partition. If that isn't enough, statically linked shells exist in /rescue and therefore should always be available. Furthermore, the installation CD can be booted from and can provide an emergency repair shell. So yes, there is no technical reason you cannot change the root shell. Just be aware that a default bash install will not be available in single-user mode. But... best security practices dictate that you should not be using the root shell. If you're using the root shell often enough to find the default shell inconvenient, you should consider using something like sudo and a regular user account instead. You can use the builtin 'su' command with the '-m' flag to preserve the environment of the current user, while elevating your privileges. The shell used will be the login shell of the user issuing the 'su' command. Only members of the group 'wheel' may issue the 'su' command. -Modulok- On 1/4/09, David Christensen wrote: > freebsd-questions: > > I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: > > > http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand > a-server > > > Most of my software background is GNU/Linux. I would prefer using the > Bash shell, but the default FreeBSD shell for root appears to be the C > shell: > > p3450# echo $SHELL > /bin/csh > > > I have changed the root shell to Bash on another machine I use as a CVS > server and haven't noticed any issues yet, but I've been wondering if > I'm setting myself up for problems by doing so. > > > Does anybody know if it's okay to change the root shell on FreeBSD > 7.0-RELEASE-i386? > > > TIA, > > David > > _______________________________________________ > 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 kitchetech at gmail.com Sun Jan 4 23:55:19 2009 From: kitchetech at gmail.com (matt donovan) Date: Sun Jan 4 23:55:26 2009 Subject: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything? In-Reply-To: References: Message-ID: <28283d910901041555oa9115c1vc8c5a45454f3e91e@mail.gmail.com> On Sun, Jan 4, 2009 at 5:09 PM, David Christensen wrote: > freebsd-questions: > > I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: > > > http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand > a-server > > > Most of my software background is GNU/Linux. I would prefer using the > Bash shell, but the default FreeBSD shell for root appears to be the C > shell: > > p3450# echo $SHELL > /bin/csh > > > I have changed the root shell to Bash on another machine I use as a CVS > server and haven't noticed any issues yet, but I've been wondering if > I'm setting myself up for problems by doing so. > > > Does anybody know if it's okay to change the root shell on FreeBSD > 7.0-RELEASE-i386? > > > TIA, > > David > > _______________________________________________ > 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" well you will lock yourself out of the system if you uninstall bash or bash breaks. I would enable toor just in case From frank at shute.org.uk Mon Jan 5 00:04:03 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Jan 5 00:04:12 2009 Subject: Suggestion In-Reply-To: <20090104150253.GA1024@phenom.cordula.ws> References: <20090104150253.GA1024@phenom.cordula.ws> Message-ID: <20090105000352.GA24842@melon.esperance-linux.co.uk> On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote: > > On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote: > > Someone needs to change the FreeBSD boot menu. The way the word/logo > > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > > BBS. But it`s 2009 and FreeBSD is a solid, professional, > > enterprise-grade operating system and the silly ASCII logo is the only > > thing that says amateur about the product. I would try to make the > > change myself for myself, but i am not a programmer. > > You can change the logo yourself, e.g. to Beastie. > Just add this line to /boot/loader.conf: > > loader_logo="beastie" and: loader_color="YES" to get beastie in all his colourful glory ;) > > If you want to change the logo or add a new one, > have a look at /boot/beastie.4th. That's where > the graphics are. This is Forth, so the code may > seem a little bit opaque at first. > > > I love this product and would like to suggest changing that > > screen. To what? I don't know. Maybe instead of the large logo > > simply put "FreeBSD version XXX, copy right" etc. Or heck, maybe a > > color bootscreen like GRUB has in Linux (from what i've seen in > > Centos/Trixbox). > > The beastie logo is in ANSI-color (there's a bw version of it > too). You can create your own ANSI-color representation of your > customized logo too. > > A fully graphical boot logo (e.g. by switching to VESA) won't be so > good, because there are many users out there who boot FreeBSD on > headless devices (like Soekris), which don't have the appropriate > circuitry and have to fall back to the serial console. That's why > the current boot screen is very good: it's lightweight, portable, > and to a certain extent customizable. Oliver Fromme was working on a graphical bootloader: http://wiki.freebsd.org/OliverFromme/BootLoader The page was last updated in July by the looks of it. > > Regards, > -cpghost. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From modulok at gmail.com Mon Jan 5 00:21:59 2009 From: modulok at gmail.com (Modulok) Date: Mon Jan 5 00:22:06 2009 Subject: Suggestion In-Reply-To: <20090105000352.GA24842@melon.esperance-linux.co.uk> References: <20090104150253.GA1024@phenom.cordula.ws> <20090105000352.GA24842@melon.esperance-linux.co.uk> Message-ID: <64c038660901041621v6311caf4ue35868120b7e4355@mail.gmail.com> > > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > > BBS. But it`s 2009 and FreeBSD is a solid, professional, > > enterprise-grade operating system and the silly ASCII logo is the only > > thing that says amateur about the product. Gratuitous misuse of iconic representations, logos and other pointless flair is one of the reasons I moved to beastie. The thing that makes me think of it as a 'professional enterprise-grade operating system' is that I can deploy it and not have to worry about it. The documentation is also excellent. It is these things that make it good, not loading screens, glossy icons, buttons and logos. Besides, I like the little ASCII logo. Ironic for a visual effects artist though :)~ To each his own. -Modulok- On 1/4/09, Frank Shute wrote: > On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote: >> >> On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote: >> > Someone needs to change the FreeBSD boot menu. The way the word/logo >> > "FreeBSD" is displayed in large font with, ASCII characters, reminds me >> > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the >> > BBS. But it`s 2009 and FreeBSD is a solid, professional, >> > enterprise-grade operating system and the silly ASCII logo is the only >> > thing that says amateur about the product. I would try to make the >> > change myself for myself, but i am not a programmer. >> >> You can change the logo yourself, e.g. to Beastie. >> Just add this line to /boot/loader.conf: >> >> loader_logo="beastie" > > and: > > loader_color="YES" > > to get beastie in all his colourful glory ;) > >> >> If you want to change the logo or add a new one, >> have a look at /boot/beastie.4th. That's where >> the graphics are. This is Forth, so the code may >> seem a little bit opaque at first. >> >> > I love this product and would like to suggest changing that >> > screen. To what? I don't know. Maybe instead of the large logo >> > simply put "FreeBSD version XXX, copy right" etc. Or heck, maybe a >> > color bootscreen like GRUB has in Linux (from what i've seen in >> > Centos/Trixbox). >> >> The beastie logo is in ANSI-color (there's a bw version of it >> too). You can create your own ANSI-color representation of your >> customized logo too. >> >> A fully graphical boot logo (e.g. by switching to VESA) won't be so >> good, because there are many users out there who boot FreeBSD on >> headless devices (like Soekris), which don't have the appropriate >> circuitry and have to fall back to the serial console. That's why >> the current boot screen is very good: it's lightweight, portable, >> and to a certain extent customizable. > > Oliver Fromme was working on a graphical bootloader: > > http://wiki.freebsd.org/OliverFromme/BootLoader > > The page was last updated in July by the looks of it. > > >> >> Regards, >> -cpghost. > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > _______________________________________________ > 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 bcook at poughkeepsieschools.org Mon Jan 5 00:35:06 2009 From: bcook at poughkeepsieschools.org (B. Cook) Date: Mon Jan 5 00:35:13 2009 Subject: make pdf from webpage on webserver (no x11) Message-ID: <496155B7.90304@poughkeepsieschools.org> Trying to figure out how to print a webpage on the server, without a gui.. On the local test webserver that we have we are trying to figure out how we can from php (or anything else) print a webpage to a pdf.. Anyone have a clue as to how to do this? Or is this some major php programming to make it happen? From yuri.pankov at gmail.com Mon Jan 5 00:52:04 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Mon Jan 5 00:52:10 2009 Subject: make pdf from webpage on webserver (no x11) In-Reply-To: <496155B7.90304@poughkeepsieschools.org> References: <496155B7.90304@poughkeepsieschools.org> Message-ID: <20090105005157.GB72474@darklight.homeunix.org> On Sun, Jan 04, 2009 at 07:35:03PM -0500, B. Cook wrote: > Trying to figure out how to print a webpage on the server, without a gui.. > > On the local test webserver that we have we are trying to figure out how > we can from php (or anything else) print a webpage to a pdf.. > > Anyone have a clue as to how to do this? > > Or is this some major php programming to make it happen? I'm using textproc/htmldoc to create PDFs from HTML. HTH, Yuri From mlobo at digiart.art.br Mon Jan 5 01:16:24 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Mon Jan 5 01:16:32 2009 Subject: USB printer problem In-Reply-To: <200901041518.06115.gnemmi@gmail.com> References: <200901041321.34688.mlobo@digiart.art.br> <200901041518.06115.gnemmi@gmail.com> Message-ID: <200901042216.26349.mlobo@digiart.art.br> On Sunday 04 January 2009 14:18:06 Gonzalo Nemmi wrote: > On Sunday 04 January 2009 2:21:34 pm Mario Lobo wrote: > > Hi; > > > > I've been trying for 2 days with no success > > > > Here is the setup: > > > > FreeBSD 6.4-STABLE #0: Wed Dec 10 22:25:05 BRT 200 > > > > -printer detected > > > > kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2, iclass 7/1 > > kernel: ulpt0: using bi-directional mode > > > > /etc/devfs.conf > > own ulpt0 root:cups > > perm ulpt0 0660 > > > > /etc/devfs.rules > > [system=10] > > add path lpt[0-9]* mode 0660 group cups > > add path ulpt[0-9]* mode 0660 group cups > > add path unlpt[0-9]* mode 0660 group cups > > > > /etc/rc.conf > > devfs_system_ruleset="system" > > cupsd_enable="YES" > > > > and nothing bellow works ! > > > > # lptest 20 10 > /dev/ulpt0 > > # /usr/local/bin/gs -q -dNOPAUSE -dSAFER -r600x600 -sDEVICE=ijs > > -sIjsServer=/usr/local/bin/hpijs -dIjsUseOutputFD -sOutputFile=- > > -sDeviceManufacturer="HP" -sDeviceModel="DJ3600" /tmp/foomatic-rip.ps > > > > > /dev/ulpt0 > > > > # cat /etc/rc.conf > /dev/ulpt0 > > > > The printer doesn't even move ! > > > > Tried changing usb ports: > > > > Jan 4 12:59:38 kernel: ulpt0: at uhub0 port 1 (addr 2) disconnected > > Jan 4 12:59:38 kernel: ulpt0: detached > > Jan 4 12:59:41 kernel: ulpt0: HP Deskjet D1500 series, rev 2.00/1.00, > > addr 2, iclass 7/1 > > Jan 4 12:59:41 kernel: ulpt0: using bi-directional mode > > > > and nothing happens :( > > > > > > I've been googling for 2 days, read all I could, tried all I read and > > nothing happens. > > > > any suggestions? > > > > Thanks! > > Sure ... > Acording to your mail, you seem to be using hplip as a back end ... > > [gonzalo@inferna ~]% pkg_info -W /usr/local/bin/hpijs > /usr/local/bin/hpijs was installed by package hplip-2.8.2_3 > [gonzalo@inferna ~]% > > Its all there in hplip's installation notes... you need hpssd up and > running and the printer should be attached to ugen ... hplip doesn't work > with ulpt .. > > [gonzalo@inferna ~]% pkg_info -xD hplip > Information for hplip-2.8.2_3: > > Install notice: > ********************************************************** > > **************** UPGRADE FROM 1.X NOTICE ***************** > > NOTE: If you are upgrading from 1.x you will need to > change your devfs ruleset as hpiod is now gone, so remove > it from you rc.conf. The printer communication now runs > through cupsd. You will need to make the devfs ruleset > changes to allow cups to access the usb bus and ugen > devices so that it can enumerate the printers. You will > also need to update your hplip.conf. See the instructions > below. > > **************** UPGRADE FROM 1.X NOTICE ***************** > > Add the following to your rc.conf: > > hpssd_enable="YES" > > So all you have to do if you have a custom ruleset setup > is add the following to that ruleset in devfs.rules: > > add path 'usb*' group cups > add path 'usb*' mode 0660 > add path 'ugen*' group cups > add path 'ugen*' mode 0660 > > If you have never setup devfs.rules please read the > manpage and see: > http://am-productions.biz/docs/devfs.rules.php > > The printer MUST attach as a ugen(4) device. This means > that you must NOT have "device ulpt" in your kernel and > ulpt must NOT be loaded as a kernel module. > > If you are seeing device connection errors restart the > printing chain with the following command. NOTE: It MUST > be restarted in the stated order. > %%PREFIX%%/etc/rc.d/hpssd restart && \ > %%PREFIX%%/etc/rc.d/cupsd restart > > If upgrading from a version < 2.7.9 copy the new > hplip.conf.sample config. > cp %%PREFIX%%/etc/hp/hplip.conf.sample \ > %%PREFIX%%/etc/hp/hplip.conf > > If you are still having problems check: > http://am-productions.biz/docs/hplip.php > If you are still having problems send the relevant part > of your /var/log/messages, console output from the hp-* > utility that you are trying to run, and your rc.conf + > devfs.rules files and the output of "ls -l /dev" to the > maintainer. > ********************************************************** > [gonzalo@inferna ~]% > > I've written a small guide on how to set up a printer using cups and hplip > in f reebsd 7.0 rel, but it is witten in spanish .. anyway ... i still > think it might help you out .. you can find it in here: > http://www.penguinpower.com.ar/foro/viewtopic.php?t=3019 > > Good luck! Hi: No success. I waited hours for hplip to compile/install and nothing :( here are some outputs: ============================================================== [~]>usbdevs addr 1: OHCI root hub, SiS addr 1: OHCI root hub, SiS addr 2: Deskjet D1500 series, HP [~]>dmesg snip.. sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: HP Deskjet D1500 series, rev 2.00/1.00, addr 2 Timecounter "TSC" frequency 946495443 Hz quality 800 Timecounters tick every 1.000 msec snip.. [~]>hp-info HP Linux Imaging and Printing System (ver. 2.8.2) Device Information Utility ver. 3.4 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: No devices found. error: Error occured during interactive mode. Exiting. [~]>hp-check -r HP Linux Imaging and Printing System (ver. 2.8.2) Dependency/Version Check Utility ver. 13.0 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Note: hp-check can be run in three modes: 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP. 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run. 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies). Saving output in log file: hp-check.log Initializing. Please wait... warning: Invalid ppd_dir value: None --------------- | SYSTEM INFO | --------------- Basic system information: FreeBSD lobos.dyndns.biz 6.4-STABLE FreeBSD 6.4-STABLE #1: Sun Jan 4 15:08:43 BRT 2009 root@lobos.dyndns.biz:/usr/src/sys/i386/compile/LOBOS i386 Distribution: unknown 0.0 HPOJ running? No, HPOJ is not running (OK). Checking Python version... OK, version 2.5.2 installed Checking PyQt version... OK, version 3.17 installed. Checking SIP version... OK, Version 4.7.4 installed Checking for CUPS... Status: scheduler is running Version: 1.3.9 ------------------------ | RUNTIME DEPENDENCIES | ------------------------ Checking for dependency: cups - Common Unix Printing System... OK, found. Checking for dependency: cups-ddk - CUPS driver development kit... warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly. Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer... OK, found. Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)... warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly. Checking for dependency: ppdev - Parallel port support kernel module.... error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: PyQt - Qt interface for Python... OK, found. Checking for dependency: Python 2.3 or greater - Required for fax functionality... OK, found. Checking for dependency: Reportlab - PDF library for Python... OK, found. Checking for dependency: SANE - Scanning library... error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency: scanimage - Shell scanning program... OK, found. Checking for dependency: xsane - Graphical scanner frontend for SANE... warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly. ---------------------- | HPLIP INSTALLATION | ---------------------- Currently installed HPLIP version... HPLIP 2.8.2 currently installed in '/usr/local/share/hplip'. Current contents of '/usr/local/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hpssd] # Note: hpssd does not support dynamic ports # Port 2207 is the IANA assigned port for hpssd port=2207 [hplip] version=2.8.2 [dirs] home=/usr/local/share/hplip run=/var/run ppd=/usr/local/share/ppd/HP ppdbase=/usr/local/share/ppd doc=/usr/local/share/doc/hplip-2.8.2 icon=/usr/local/share/applications cupsbackend=/usr/local/libexec/cups/backend cupsfilter=/usr/local/libexec/cups/filter drv=/usr/local/libexec/cups/driver # Following values are determined at configure time and cannot be changed. [configure] network-build=yes pp-build=no gui-build=yes scanner-build=yes fax-build=yes cups11-build=no doc-build=yes shadow-build=no foomatic-drv-install=yes foomatic-ppd-install=yes foomatic-rip-hplip-install=yes internal-tag=2.8.2.10 -------------------------- | DISCOVERED USB DEVICES | -------------------------- No devices found. --------------------------------- | INSTALLED CUPS PRINTER QUEUES | --------------------------------- warning: No queues found. ---------------------- | SANE CONFIGURATION | ---------------------- 'hpaio' in '/usr/local/etc/sane.d/dll.conf'... OK, found. SANE backend 'hpaio' is properly set up. Checking output of 'scanimage -L'... No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). --------------------- | PYTHON EXTENSIONS | --------------------- Checking 'cupsext' CUPS extension... OK, found. Checking 'pcardext' Photocard extension... OK, found. Checking 'hpmudext' I/O extension... OK, found. Checking 'scanext' SANE scanning extension... OK, found. ----------------- | USB I/O SETUP | ----------------- ----------- | SUMMARY | ----------- error: 5 errors and/or warnings. ==================================================================== I followed the directions you provided to the letter and still have problems. Thanks again and if you know anything else I could try please let me know -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From rdasilva at Greenfield.com Mon Jan 5 01:29:08 2009 From: rdasilva at Greenfield.com (Ryan da Silva) Date: Mon Jan 5 01:29:14 2009 Subject: Suggestion Message-ID: Re: Suggestion

Thanks everyone. The serial console is a good point.

Ryan


Sent from my BlackBerry Wireless Handheld

----- Original Message -----
From: Modulok <modulok@gmail.com>
To: Frank Shute <frank@shute.org.uk>; cpghost <cpghost@cordula.ws>; Ryan da Silva; freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Sent: Sun Jan 04 19:21:58 2009
Subject: Re: Suggestion

> > "FreeBSD" is displayed in large font with, ASCII characters, reminds me
> > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the
> > BBS. But it`s 2009 and FreeBSD is a solid, professional,
> > enterprise-grade operating system and the silly ASCII logo is the only
> > thing that says amateur about the product.

Gratuitous misuse of iconic representations, logos and other pointless
flair is one of the reasons I moved to beastie. The thing that makes
me think of it as a 'professional enterprise-grade operating system'
is that I can deploy it and not have to worry about it. The
documentation is also excellent. It is these things that make it good,
not loading screens, glossy icons, buttons and logos. Besides, I like
the little ASCII logo. Ironic for a visual effects artist though :)~

To each his own.
-Modulok-

On 1/4/09, Frank Shute <frank@shute.org.uk> wrote:
> On Sun, Jan 04, 2009 at 04:02:53PM +0100, cpghost wrote:
>>
>> On Sun, Jan 04, 2009 at 01:26:03AM -0500, Ryan da Silva wrote:
>> > Someone needs to change the FreeBSD boot menu. The way the word/logo
>> > "FreeBSD" is displayed in large font with, ASCII characters, reminds me
>> > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the
>> > BBS. But it`s 2009 and FreeBSD is a solid, professional,
>> > enterprise-grade operating system and the silly ASCII logo is the only
>> > thing that says amateur about the product. I would try to make the
>> > change myself for myself, but i am not a programmer.
>>
>> You can change the logo yourself, e.g. to Beastie.
>> Just add this line to /boot/loader.conf:
>>
>> loader_logo="beastie"
>
> and:
>
> loader_color="YES"
>
> to get beastie in all his colourful glory ;)
>
>>
>> If you want to change the logo or add a new one,
>> have a look at /boot/beastie.4th. That's where
>> the graphics are. This is Forth, so the code may
>> seem a little bit opaque at first.
>>
>> > I love this product and would like to suggest changing that
>> > screen. To what? I don't know.  Maybe instead of the large logo
>> > simply put "FreeBSD version XXX, copy right" etc. Or heck, maybe a
>> > color bootscreen like GRUB has in Linux (from what i've seen in
>> > Centos/Trixbox).
>>
>> The beastie logo is in ANSI-color (there's a bw version of it
>> too). You can create your own ANSI-color representation of your
>> customized logo too.
>>
>> A fully graphical boot logo (e.g. by switching to VESA) won't be so
>> good, because there are many users out there who boot FreeBSD on
>> headless devices (like Soekris), which don't have the appropriate
>> circuitry and have to fall back to the serial console. That's why
>> the current boot screen is very good: it's lightweight, portable,
>> and to a certain extent customizable.
>
> Oliver Fromme was working on a graphical bootloader:
>
> http://wiki.freebsd.org/OliverFromme/BootLoader
>
> The page was last updated in July by the looks of it.
>
> <snip>
>>
>> Regards,
>> -cpghost.
>
> Regards,
>
> --
>
>  Frank
>
>
>  Contact info: http://www.shute.org.uk/misc/contact.html
>
> _______________________________________________
> 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 e-mail has been scanned by Spam Manager Email Service, using Skeptic(tm) technology powered by MessageLabs.
______________________________________________________________________

From ertr1013 at student.uu.se Mon Jan 5 03:01:10 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon Jan 5 03:01:22 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <49611f1a.WdTTi/Qznzkq5Qz3%perryh@pluto.rain.com> References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <4960BABA.4040705@gmail.com> <4ad871310901040535s5808ddfblcf356bfcb402cf2@mail.gmail.com> <49611f1a.WdTTi/Qznzkq5Qz3%perryh@pluto.rain.com> Message-ID: <20090105030107.GA72879@owl.midgard.homeip.net> On Sun, Jan 04, 2009 at 12:42:02PM -0800, perryh@pluto.rain.com wrote: > > If a hard disk formatted and used in a position , in that position > > it may be used if manufacturer is NOT advised a specific position. > > After loading of files into hard disk , change of position may > > cause difficulty in reading of already recorded data . This point > > should be considered . > > Sun, at least, used to warn about this back in the MFM/ESDI days, > recommending that a disk should be reformatted if its orientation > were changed, but those drives used all their heads for data and > depended on reproduceable mechanical positioning to align the heads > at the selected cylinder. I'm not sure it still applies to drives > that dedicate one head to fine-tuning track position by reading > factory-recorded servo patterns. (Quick check, if "actual" geometry > is known: a drive with an odd number of heads most likely has a > dedicated servo surface.) BTW most drives of that era, while OK on > either side as well as "right side up", were *not* supposed to be > run "upside down" -- the bearings were not designed for that. That may well have been true back in those days, but reasonably modern drives[*] do not have those limitations. Todays drives can be mounted in any orientation, and should have no problems being remounted in a new orientation. >From Western Digital's FAQ: Physical mounting of the drive: WD drives will function normally whether they are mounted sideways or upside down (any X, Y, Z orientation). Of course, the physical design of your system may limit the positions in which the drive can be mounted. However, in all cases, you should mount the drive with all four screws for good grounding. Also ensure that there is enough air space around the drive for adequate air flow, and avoid mounting the drive near sources of excessive heat (such as some CPUs). >From Seagate's FAQ: All Seagate & Maxtor's internal hard drives can be fitted sideways or upside down. As long as they can not be moved during use and get enough cooling it is irrelevant in which direction they are mounted. >From Hitachi's installation guide: There are many variations of system cases. Hitachi Deskstar drive can be mounted with any side or end vertical or hori- zontal. Do not mount the drive in a tilted position. [*] "resonably modern drives" includes just about all drives any sane person would even consider using for a new computer build. -- Erik Trulsson ertr1013@student.uu.se From gilles.ganault at free.fr Mon Jan 5 03:20:21 2009 From: gilles.ganault at free.fr (Gilles) Date: Mon Jan 5 03:20:34 2009 Subject: [6.3] Assigning "shutdown" to eg. Syst? In-Reply-To: <20081223163910.I29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> <20081223155700.O29108@sola.nimnet.asn.au> <18768.30870.452544.128722@jerusalem.litteratus.org> <20081223163910.I29108@sola.nimnet.asn.au> Message-ID: <7.0.1.0.2.20090105034832.062efa78@free.fr> At 07:08 23/12/2008, Ian Smith wrote: >On Tue, 23 Dec 2008, Robert Huff wrote: > > Ian Smith writes: > > > > > Or let your dad login with his own account and password. Just > > > add him to the operator group so that he can run /sbin/shutdown. > > > > If that's the only priveledged command he needs ... is there a > > reason "sudo" isn't a better answer? > >Well, it's certainly another answer :) > >The only other thing being in group operator lets you run, apart from >what you've added into /etc/devfs.{conf,rules} is /sbin/mksnap_ffs .. Thanks everyone for the tips. I got sidetracked, and forgot to reply. From on at cs.ait.ac.th Mon Jan 5 04:02:31 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Jan 5 04:02:38 2009 Subject: OT: how many rankmount units is a tower-case In-Reply-To: <4960E539.8060507@gmail.com> (aryeh.friedman@gmail.com) References: <4960B7D1.1070403@gmail.com> <4ad871310901040530r2a4c280ds188a679c815db657@mail.gmail.com> <20090104162419.GB68124@owl.midgard.homeip.net> <4960E539.8060507@gmail.com> Message-ID: <200901050402.n0542L1f015538@banyan.cs.ait.ac.th> Hi, > The only reason I said tower is I am making the server almost identical > to my desktop machine which is the most reliable machine I have had in > my 20 year career and thus am going to be using the same case and such I'd be afraid that the "almost" would be enough to break the reliability. That said, on the idea of mounting your mother board in a rack mount case, I did that a few time, the major problem is that the CPU fan is quite high, and need some space above it for proper air-flow; so you often end-up with a 2U or 3U rack case while 1U would be enough to fit the motherboard and the disks if the vetilation for the CPU was designed for rack mount. Bests, Olivier From perryh at pluto.rain.com Mon Jan 5 04:14:25 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Jan 5 04:14:32 2009 Subject: FIXED: vpnc connects, but does not work In-Reply-To: <49589883.lhmPNVeBMeI7aDqo%perryh@pluto.rain.com> References: <49589883.lhmPNVeBMeI7aDqo%perryh@pluto.rain.com> Message-ID: <49618959.ytDnPW+y0ehAb8CV%perryh@pluto.rain.com> > I have installed vpnc to connect to an employer's Cisco VPN > system, and it seems to make the connection, but after connecting > I can't ping the gateway nor anything beyond it ... It turned out the only problem was the absence of NAT Traversal Mode cisco-udp in vpnc.conf. (Presumably not all configurations of the Cisco 3000 will need that, else it would be the default, but it seems to be correct for the one involved here.) I never did figure out why that kept the interface from responding to a ping of its own address :( From richardsc at gmail.com Mon Jan 5 04:39:55 2009 From: richardsc at gmail.com (Charles Richards) Date: Mon Jan 5 04:40:02 2009 Subject: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives? In-Reply-To: <495F57E5.7040905@isafeelin.org> References: <495E17AD.30707@isafeelin.org> <20090102160727.A38841@wojtek.tensor.gdynia.pl> <495F2919.6040103@isafeelin.org> <495F57E5.7040905@isafeelin.org> Message-ID: <39EE5CBD-5640-47E3-88FA-EEC77A8002CA@gmail.com> Just FWIW, the "proper" way to do "online expansion" with ZFS is quite different than that of a RAID controller, as doing a regular OCE process is quite difficult in ZFS (due to the variable-size stripes that ZFS uses, which makes the simple expansion of regular RAID-5 or RAID-6 not workable - or so I've read on the ZFS mailing lists) The way that I believe you can add capacity to an existing RAIDZ / RAIDZ2 is as follows: (this is based directly off of their documentation: http://docs.sun.com/app/docs/doc/819-5461/gcvjg?a=view) Your ZFS "pool" is made up of "vdevs", which are in turn made up of raw disks / partitions / unicorns, other block devices. To increase the capacity of your existing pool, you simply add another "vdev" to it, and ZFS will intelligently start distributing the data between the two vdevs. The example, straight from their documentation (with some commentary from me) is an existing ZFS pool named "rpool", which as 3 disks and is in a RAIDZ configuration # zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 errors: No known data errors Now, we want to add three *new* disks to the storage pool - to do this, we simply add a new RAIDZ device comprised of our three new disks into the existing pool: # zpool add rpool raidz c2t2d0 c2t3d0 c2t4d0 # zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c1t2d0 ONLINE 0 0 0 c1t3d0 ONLINE 0 0 0 c1t4d0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c2t2d0 ONLINE 0 0 0 c2t3d0 ONLINE 0 0 0 c2t4d0 ONLINE 0 0 0 errors: No known data errors If you're looking for more info on ZFS, I suggest looking at the Sun ZFS administration guide: http://docs.sun.com/app/docs/doc/819-5461/gavwn?a=browse Particularly, the section #5, on ZFS Storage Pools: http://docs.sun.com/app/docs/doc/819-5461/gavwn?a=view Charles Richards richardsc@gmail.com charlesrichards.net On Jan 3, 2009, at 5:19 AM, Frederique Rijsdijk wrote: > After some reading, I come back from my original idea. Main reason > is I'd like to be able to grow the fs as the need develops in time. > > One could create a raidz zpool with a couple of disks, but when > adding a disk later on, it will not become part of the raidz (I > tested this). > > It seems vdevs can not be nested (create raidz sets and join them as > a whole), so I came up with the following: > > Start out with 4*1TB, and use geom_raid5 to create an independent > redundant pool of storage: > > 'graid5 label -v graid5a da0 da1 da2 da3' (this is all tested in > vmware, one of these 'da' drives is 8GB) > > Then I 'zpool create bigvol /dev/raid5/graid5a', and I have a / > bigvol of 24G - sounds about right to me for a raid5 volume. > > Now lets say later in time I need more storage, I buy another 4 of > these drives, and > > 'graid5 label -v graid5b da4 da5 da6 da7' > and > 'zpool add bigvol /dev/raid5/graid5b' > > Now my bigvol is 48G. Very cool! Now I have redundant storage that > can grow and it's pretty easy too. > > Is this OK (besides from the fact that graid5 is not in production > yet, nor is ZFS ;) or are there easier (or better) ways to do this? > > - So I want redundancy (I don't want one failing drive to cause me > to loose all my data) > - I want to be able to grow the filesystem if I need to, by adding a > (set of) drive(s) later on. > > > > -- FR > _______________________________________________ > 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 kline at thought.org Mon Jan 5 06:48:27 2009 From: kline at thought.org (Gary Kline) Date: Mon Jan 5 06:48:34 2009 Subject: zip files... Message-ID: <20090105064817.GA88105@thought.org> guys, i have three huge zip files, .zip, and z02, z01. how do i unzip these into the original? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From prad at towardsfreedom.com Mon Jan 5 07:36:30 2009 From: prad at towardsfreedom.com (prad) Date: Mon Jan 5 07:36:36 2009 Subject: zip files... In-Reply-To: <20090105064817.GA88105@thought.org> References: <20090105064817.GA88105@thought.org> Message-ID: <20090104233627.08f686d0@gom.home> On Sun, 4 Jan 2009 22:48:21 -0800 Gary Kline wrote: > how do i unzip these into the original? > hello gary, use unzip filename. if you don't have (un)zip installed you can get them with pkg_add -r zip unzip (assuming you can become 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 zhangsc at neusoft.com Mon Jan 5 07:39:11 2009 From: zhangsc at neusoft.com (Edward King) Date: Mon Jan 5 07:39:20 2009 Subject: why printf() don't work? Message-ID: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf("execute main()") will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include "sys/ioctl.h" #include "unp.h" static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf("execute main()"); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(&servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)&servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)&cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf("called dg_echo"); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;i=QSIZE) iget=0; sigprocmask(SIG_BLOCK,&newmask,&oldmask); nqueue--; } } static void sig_io(int signo){ printf("sig_io called"); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue>=QSIZE) err_quit("receive overflow"); ptr=&dg[iput]; ptr->dg_salen=clilen; len=recvfrom(sockfd,ptr->dg_data,MAXDG,0,ptr->dg_sa,&ptr->dg_salen); if(len<0){ if(errno==EWOULDBLOCK) break; else err_sys("recvfrom error"); } ptr->dg_len=len; nread++; nqueue++; if(++iput>=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf("sig_hup called"); int i; for(i=0;i<=QSIZE;i++) printf("cntread[%d]=%ld\n",i,cntread[i]); } --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --------------------------------------------------------------------------------------------------- From kline at thought.org Mon Jan 5 07:58:23 2009 From: kline at thought.org (Gary Kline) Date: Mon Jan 5 07:58:30 2009 Subject: zip files... In-Reply-To: <20090104233627.08f686d0@gom.home> References: <20090105064817.GA88105@thought.org> <20090104233627.08f686d0@gom.home> Message-ID: <20090105075812.GB89299@thought.org> On Sun, Jan 04, 2009 at 11:36:27PM -0800, prad wrote: > On Sun, 4 Jan 2009 22:48:21 -0800 > Gary Kline wrote: > > > how do i unzip these into the original? > > > hello gary, > > use unzip filename. > > if you don't have (un)zip installed you can get them with > > pkg_add -r zip unzip > (assuming you can become root) > thanks much:-) > > -- > 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 > _______________________________________________ > 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.17a release of Jottings: http://jottings.thought.org/index.php From marinus at northbridgepc.nl Mon Jan 5 11:19:20 2009 From: marinus at northbridgepc.nl (marinus@northbridgepc.nl) Date: Mon Jan 5 11:19:30 2009 Subject: pathsetting for OpenSSL-0.9.8i Message-ID: <383097e0c65660e72768c7c9e3c0be8f.squirrel@webmail.pcextreme.nl> Hello all, I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of Openssl. I know that the base opensslversion is 0.9.8e during the install of a freshinstall of FreeBSD. For so far everything went fine during the installation of Apache22, PHP5, MySQLserver 5.x.x and OpenSSL 0.9.8i. in the file rc.conf i wrote the line --------- named_enable="YES" linux_enable="YES" sshd_enable="YES" mysql_enable="YES" apache22_enable="YES" apache22_http_accept_enable="YES" make.conf -------- PERL_VER=5.8.8 PERL_VERSION=5.8.8 MAKE_IDEA=YES WITH_OPENSSL_PORT=YES NO_BIND=YES All the installed applicaties are working fine , just OpenSSL is not working like the newest version 0.9.8i. I still see that that the base openssl is the default after the giffen command openssl version 0.9.8e is see that the old version 0.9.8e is working, but i want to use the newer version. for so far i know is that the newer version of OpenSSL-0.9.8i is installed in /usr/local/bin/openssl and the old version is installed as default in /usr/bin/openssl When i look to my phpinfo.php, (i use the apachewebserver 2.2.9.x) i can see that OpenSSL-0.9.8i is installed and working. =========================================================================== My question to you all is 'how do i configure the newest version on the right way and wich file do i have to edit to give the right $PATH setting =========================================================================== for example i have edited the file make.conf and wrote WITH_OPENSSL_PORT= /usr/local/bin/openssl but , it didn't helped what is the right way to configure the latest OpenSSL-0.9.8i version because i want to use the SSL application for Apache22 SSL, POP3s, IMAPs, Smtp (postfix with SASL and SSL encryption) for a save connection combined with Squirrelmail I'm looking forward to the answers greetings, Marinus p.s. my excuse for the bad English From mike.jeays at rogers.com Mon Jan 5 13:45:53 2009 From: mike.jeays at rogers.com (Mike Jeays) Date: Mon Jan 5 13:46:06 2009 Subject: why printf() don't work? In-Reply-To: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> References: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> Message-ID: <200901050845.50747.mike.jeays@rogers.com> On January 5, 2009 02:29:23 am Edward King wrote: > I use FreeBSD7.0,and use signal,like follows: > signal(SIGHUP,sig_hup); > signal(SIGIO,sig_io); > > when I run call following code,it can run,but I find a puzzled question,it > should print some information,such as printf("execute main()") will print > execute main(),but in fact,printf fuction print none!!! Why printf function > do not go work? > > my code is follows: > > #include "sys/ioctl.h" > #include "unp.h" > static int sockfd; > #define QSIZE 8 > #define MAXDG 4096 > typedef struct{ > void *dg_data; > size_t dg_len; > struct sockaddr *dg_sa; > socklen_t dg_salen; > }DG; > static DG dg[QSIZE]; > static long cntread[QSIZE+1]; > static int iget; > static int iput; > static int nqueue; > static socklen_t clilen; > static void sig_io(int); > static void sig_hup(int); > > int main(int argc,char **argv){ > printf("execute main()"); > int sockfd; > struct sockaddr_in servaddr,cliaddr; > sockfd=socket(AF_INET,SOCK_DGRAM,0); > bzero(&servaddr,sizeof(servaddr)); > servaddr.sin_family=AF_INET; > servaddr.sin_addr.s_addr=htonl(INADDR_ANY); > servaddr.sin_port=htons(SERV_PORT); > bind(sockfd,(SA *)&servaddr,sizeof(servaddr)); > dg_echo(sockfd,(SA *)&cliaddr,sizeof(cliaddr)); > } > void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ > printf("called dg_echo"); > int i; > const int on=1; > sigset_t zeromask,newmask,oldmask; > sockfd=sockfd_arg; > clilen=clilen_arg; > for(i=0;i dg[i].dg_data=malloc(MAXDG); > dg[i].dg_sa=malloc(clilen); > dg[i].dg_salen=clilen; > } > iget=iput=nqueue=0; > signal(SIGHUP,sig_hup); > signal(SIGIO,sig_io); > fcntl(sockfd,F_SETOWN,getpid()); > ioctl(sockfd,FIOASYNC,&on); > ioctl(sockfd,FIONBIO,&on); > sigemptyset(&zeromask); > sigemptyset(&oldmask); > sigemptyset(&newmask); > sigaddset(&newmask,SIGIO); > sigprocmask(SIG_BLOCK,&newmask,&oldmask); > for(;;){ > while(nqueue==0) > sigsuspend(&zeromask); > sigprocmask(SIG_SETMASK,&oldmask,NULL); > > sendto(sockfd,dg[iget].dg_data,dg[iget].dg_len,0,dg[iget].dg_sa,dg[iget].dg >_salen); if(++iget>=QSIZE) > iget=0; > sigprocmask(SIG_BLOCK,&newmask,&oldmask); > nqueue--; > } > } > static void sig_io(int signo){ > printf("sig_io called"); > ssize_t len; > int nread; > DG *ptr; > for(nread=0;;){ > if(nqueue>=QSIZE) > err_quit("receive overflow"); > ptr=&dg[iput]; > ptr->dg_salen=clilen; > len=recvfrom(sockfd,ptr->dg_data,MAXDG,0,ptr->dg_sa,&ptr->dg_salen); > if(len<0){ > if(errno==EWOULDBLOCK) > break; > else > err_sys("recvfrom error"); > } > ptr->dg_len=len; > nread++; > nqueue++; > if(++iput>=QSIZE) > iput=0; > } > cntread[nread]++; > } > static void sig_hup(int signo){ > printf("sig_hup called"); > int i; > for(i=0;i<=QSIZE;i++) > printf("cntread[%d]=%ld\n",i,cntread[i]); > } > --------------------------------------------------------------------------- >------------------------ Confidentiality Notice: The information contained > in this e-mail and any accompanying attachment(s) is intended only for the > use of the intended recipient and may be confidential and/or privileged of > Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader > of this communication is not the intended recipient, unauthorized use, > forwarding, printing, storing, disclosure or copying is strictly > prohibited, and may be unlawful.If you have received this communication in > error,please immediately notify the sender by return e-mail, and delete the > original message and all copies from your system. Thank you. > --------------------------------------------------------------------------- >------------------------ I think you need #include -- Mike Jeays http://www.jeays.ca From talon at lpthe.jussieu.fr Mon Jan 5 14:42:27 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Mon Jan 5 14:42:34 2009 Subject: zip files... Message-ID: <20090105144223.GA41163@lpthe.jussieu.fr> Gary Kline wrote: > guys, i have three huge zip files, .zip, and z02, z01. > how do i unzip these into the original? Note that FreeBSD tar now extracts zips (tarr xvfz ) -- Michel TALON From aryeh.friedman at gmail.com Mon Jan 5 14:54:08 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Jan 5 14:54:15 2009 Subject: wireless on a hp pavillion dv5000 Message-ID: <49621F05.60406@gmail.com> I have installed the ndis stuff and it sees the mac address but when i push the "power" button on the wireless (build into the laptop) it does not power on the wireless card any ideas? From m0rchand at comcast.net Mon Jan 5 15:12:12 2009 From: m0rchand at comcast.net (Tom Marchand) Date: Mon Jan 5 15:12:20 2009 Subject: why printf() don't work? In-Reply-To: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> Message-ID: <104871889.2409471231168332182.JavaMail.root@sz0104a.westchester.pa.mail.comcast.net> trying putting newlines in the strings like this: ? ?"receive overflow\n" ----- Original Message ----- From: "Edward King" To: freebsd-questions@freebsd.org Sent: Monday, January 5, 2009 2:29:23 AM GMT -05:00 US/Canada Eastern Subject: why printf() don't work? I use FreeBSD7.0,and use signal,like follows: signal(SIGHUP,sig_hup); signal(SIGIO,sig_io); when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf("execute main()") will print execute main(),but in fact,printf fuction print none!!! Why printf function do not go work? my code is follows: #include "sys/ioctl.h" #include "unp.h" static int sockfd; #define QSIZE 8 #define MAXDG 4096 typedef struct{ void *dg_data; size_t dg_len; struct sockaddr *dg_sa; socklen_t dg_salen; }DG; static DG dg[QSIZE]; static long cntread[QSIZE+1]; static int iget; static int iput; static int nqueue; static socklen_t clilen; static void sig_io(int); static void sig_hup(int); int main(int argc,char **argv){ printf("execute main()"); int sockfd; struct sockaddr_in servaddr,cliaddr; sockfd=socket(AF_INET,SOCK_DGRAM,0); bzero(&servaddr,sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=htonl(INADDR_ANY); servaddr.sin_port=htons(SERV_PORT); bind(sockfd,(SA *)&servaddr,sizeof(servaddr)); dg_echo(sockfd,(SA *)&cliaddr,sizeof(cliaddr)); } void dg_echo(int sockfd_arg,SA *pcliaddr,socklen_t clilen_arg){ printf("called dg_echo"); int i; const int on=1; sigset_t zeromask,newmask,oldmask; sockfd=sockfd_arg; clilen=clilen_arg; for(i=0;i =QSIZE) iget=0; sigprocmask(SIG_BLOCK,&newmask,&oldmask); nqueue--; } } static void sig_io(int signo){ printf("sig_io called"); ssize_t len; int nread; DG *ptr; for(nread=0;;){ if(nqueue>=QSIZE) err_quit("receive overflow"); ptr=&dg[iput]; ptr->dg_salen=clilen; len=recvfrom(sockfd,ptr->dg_data,MAXDG,0,ptr->dg_sa,&ptr->dg_salen); if(len<0){ if(errno==EWOULDBLOCK) break; else err_sys("recvfrom error"); } ptr->dg_len=len; nread++; nqueue++; if(++iput>=QSIZE) iput=0; } cntread[nread]++; } static void sig_hup(int signo){ printf("sig_hup called"); int i; for(i=0;i<=QSIZE;i++) printf("cntread[%d]=%ld\n",i,cntread[i]); } --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --------------------------------------------------------------------------------------------------- _______________________________________________ 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 mexas at bristol.ac.uk Mon Jan 5 15:18:23 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jan 5 15:18:39 2009 Subject: Xlib: Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <20090105151808.GA56892@mech-cluster238.men.bris.ac.uk> I've two boxes on which I run X servers, one box is 7.1-prelelease, the other is 8.0-current, both i386. Both boxes run xorg-server-1.4.2,1. Both boxes have identical $HOME/.Xauthority. However, when I connect to another computer with ssh -X and try to run a client, say xclock, one xserver displays the result fine, while the other gives: % xclock Xlib: connection to "localhost:22.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: localhost:22.0 % I spent quite a lot of time looking at what are the differences between my 2 X servers, but can't see any. This should be a simple problem, just find what the differences are between the working and the broken configurations, and implement them. But I can't find any differences. What should I look at to resolve the problem? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From sydney at panhistoria.com Mon Jan 5 15:24:20 2009 From: sydney at panhistoria.com (Sydney Longfellow) Date: Mon Jan 5 15:24:26 2009 Subject: Processes Piling up with the lockf state Message-ID: <200901051529.n05FTXOr044399@phoenix.panhistoria.com> Hi! I asked this a couple days ago but I forgot to put a subject line in. I'm getting problems with my server locking up after accumulating far too many processes until I have to reboot. The states of the processes are reading either sbwait or lockf when this spiral out of control starts to happen. Any ideas what might cause this? Thanks in advance, Syd From des at des.no Mon Jan 5 15:50:07 2009 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Mon Jan 5 15:50:14 2009 Subject: FreeBSD kernel Debugging tools for Virtual Memory Module In-Reply-To: <20090102082117.GA78125@svzserv.kemerovo.su> (Eugene Grosbein's message of "Fri, 2 Jan 2009 15:21:17 +0700") References: <387210.21917.qm@web45407.mail.sp1.yahoo.com> <20090102082117.GA78125@svzserv.kemerovo.su> Message-ID: <86fxjxkbst.fsf@ds4.des.no> Eugene Grosbein writes: > First, you need to recompile source you change for sure :-) > But you have not rebuild all other files all the time. > You need to add to your /etc/src.conf (or /etc/make.conf for 6.x and earlier): > > MODULES_WITH_WORLD=yes > > This will skip rebuilding of all modules during 'make buildkernel' > but you MUST to copy all modules from /boot/kernel to /boot/modules > (all files other than /boot/kernel/kernel*) if you do this. What is the point, if you use NO_KERNELCLEAN as recommended below? The modules won't be rebuilt either unless something that affects them has changed. Running a new kernel with old modules is a great way to shoot yourself in the foot. If you absolutely want to skip modules, build your kernel with -DNO_MODULES, but install it normally, or use reinstallkernel instead of installkernel. The latter will overwrite your running kernel - but you should keep an unmodified kernel around anyway. You can boot entirely without modules if you include everything you need (including acpi) in your kernel config. > Then, if you do not change kernel config file, > recompile your changes with command (only second time and then): > > cd /usr/src; make NO_KERNELDEPEND=yes NO_KERNELCLEAN=yes buildkernel You should not use -DNO_KERNELDEPEND unless you know for sure that no #include directives have been added or removed and no kernel options have changed. It is safe to use -DNO_KERNELCLEAN, but not -DNO_KERNELDEPEND, even if your config file changed. > Second, you should use some kind of virtual machine (like qemu from > ports) to speedup your development cycle even more: install the system > into virtual machine and you'll need not another box to debug the > kernel and need not rebuild your development box. Test your changes > with the system installed into VM and reboot it only. Use ddb or kgdb > already noted here. The best solution by far is to use actual hardware and netboot from your development machine. It's easy to set up, and you don't lose context every time you reboot the test system. DES -- Dag-Erling Sm?rgrav - des@des.no From kes-kes at yandex.ru Mon Jan 5 16:22:38 2009 From: kes-kes at yandex.ru (KES) Date: Mon Jan 5 16:23:08 2009 Subject: How to do ping really quiet? Message-ID: <182410038.20090105182234@yandex.ru> Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? KES mailto:kes-kes@yandex.ru From glen.j.barber at gmail.com Mon Jan 5 16:28:22 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jan 5 16:28:29 2009 Subject: wireless on a hp pavillion dv5000 In-Reply-To: <49621F05.60406@gmail.com> References: <49621F05.60406@gmail.com> Message-ID: <49623508.2050602@gmail.com> Aryeh M. Friedman wrote: > I have installed the ndis stuff and it sees the mac address but when i > push the "power" button on the wireless (build into the laptop) it does > not power on the wireless card any ideas? Do you have 'ifconfig_ndis="your settings here"' in rc.conf? Are you sure by pressing that button you haven't turned the wireless card off? (In my experience with ndis0 and hotkeys, it doesn't work well.) You're not giving is much to work with here. -- Glen Barber From freebsd at edvax.de Mon Jan 5 16:48:23 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Jan 5 16:48:31 2009 Subject: why printf() don't work? In-Reply-To: <104871889.2409471231168332182.JavaMail.root@sz0104a.westchester.pa.mail.comcast.net> References: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> <104871889.2409471231168332182.JavaMail.root@sz0104a.westchester.pa.mail.comcast.net> Message-ID: <20090105174800.1010434e.freebsd@edvax.de> On Mon, 5 Jan 2009 15:12:12 +0000 (UTC), Tom Marchand wrote: > trying putting newlines in the strings like this: > > ? ?"receive overflow\n" You can add fflush(stdout); to force the output, even if no \n is appended. But as it has been mentioned before, don't forget to #include :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Jan 5 16:50:09 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Jan 5 16:50:24 2009 Subject: How to do ping really quiet? In-Reply-To: <182410038.20090105182234@yandex.ru> References: <182410038.20090105182234@yandex.ru> Message-ID: <20090105175007.e829b692.freebsd@edvax.de> On Mon, 5 Jan 2009 18:22:34 +0200, KES wrote: > Hello, Questions. > > When I use > ping -q ya.ru > I get > ping: sendto: No route to host > > How to make ping really quiet? It depends on your shell. For default scripting shell (Bourne Shell) you can ping -q ya.ru > /dev/null 2>&1 which "suppresses" standard output and error messages. Within the standard dialog shell (C Shell), I think &> has the same purpose (refer to "man csh" to be sure). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From michael.copeland at gmail.com Mon Jan 5 16:51:37 2009 From: michael.copeland at gmail.com (michael) Date: Mon Jan 5 16:51:44 2009 Subject: wireless on a hp pavillion dv5000 In-Reply-To: <49623508.2050602@gmail.com> References: <49621F05.60406@gmail.com> <49623508.2050602@gmail.com> Message-ID: <49623A92.90203@gmail.com> Glen Barber wrote: > Aryeh M. Friedman wrote: >> I have installed the ndis stuff and it sees the mac address but when i >> push the "power" button on the wireless (build into the laptop) it does >> not power on the wireless card any ideas? > > Do you have 'ifconfig_ndis="your settings here"' in rc.conf? Are you > sure by pressing that button you haven't turned the wireless card off? > (In my experience with ndis0 and hotkeys, it doesn't work well.) > > You're not giving is much to work with here. When i was using the ndis interface on my dv2000 with broadcom4311 the wifi light never came on and the switch had no function. you could be experiencing the same situation. my wifi did however, work. From free at isafeelin.org Mon Jan 5 16:53:26 2009 From: free at isafeelin.org (Frederique Rijsdijk) Date: Mon Jan 5 16:53:33 2009 Subject: How to do ping really quiet? In-Reply-To: <182410038.20090105182234@yandex.ru> References: <182410038.20090105182234@yandex.ru> Message-ID: <496236C8.6080407@isafeelin.org> KES wrote: > Hello, Questions. > > When I use > ping -q ya.ru > I get > ping: sendto: No route to host > > How to make ping really quiet? > Try: sh -c 'ping -q ya.ru > /dev/null 2>&1' -- FR From finn_19 at rambler.ru Mon Jan 5 16:54:58 2009 From: finn_19 at rambler.ru (Igor) Date: Mon Jan 5 16:55:07 2009 Subject: Problem with linking kernel Message-ID: <1231173499.23453.6.camel@freeBsd_machine> Sorry for my English...))) FreeBSD 7.0 data from Terminal(after using make buildkernel KERNCONF=MYKERNEL) part with errors: ***************** linking kernel uipc_syscalls.o(.text+0x39f): In function `sctp_generic_recvmsg': : undefined reference to `sctp_sorecvmsg' uipc_syscalls.o(.text+0x21c6): In function `sctp_generic_sendmsg_iov': : undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x2462): In function `sctp_generic_sendmsg': : undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x2611): In function `sctp_peeloff': : undefined reference to `sctp_can_peel_off' uipc_syscalls.o(.text+0x27b6): In function `sctp_peeloff': : undefined reference to `sctp_do_peeloff' rtsock.o(.text+0xb0d): In function `rt_newaddrmsg': : undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' if_vr.o(.text+0x1366): In function `vr_init_locked': : undefined reference to `mii_mediachg' if_vr.o(.text+0x172b): In function `vr_tick': : undefined reference to `mii_tick' if_vr.o(.text+0x1f7f): In function `vr_ifmedia_sts': : undefined reference to `mii_pollstat' if_vr.o(.text+0x2da7): In function `vr_attach': : undefined reference to `mii_phy_probe' if_vr.o(.data+0x118): undefined reference to `miibus_driver' if_vr.o(.data+0x11c): undefined reference to `miibus_devclass' if_vr.o(.data+0x190): undefined reference to `miibus_readreg_desc' if_vr.o(.data+0x198): undefined reference to `miibus_writereg_desc' if_vr.o(.data+0x1a0): undefined reference to `miibus_statchg_desc' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ***************** Why? file MYKERNEL is in attachment -------------- next part -------------- # machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident MYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. device eisa device pci #device agp # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives #device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers # device ahb # EISA AHA1742 family # device ahc # AHA2940 and onboard AIC7xxx devices # options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # # output. Adds ~128k to driver. # device ahd # AHA39320/29320 and onboard AIC79xx devices # options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # # output. Adds ~215k to driver. # device amd # AMD 53C974 (Tekram DC-390(T)) # device hptiop # Highpoint RocketRaid 3xxx series # device isp # Qlogic family # device ispfw # Firmware for QLogic HBAs- normally a module # device mpt # LSI-Logic MPT-Fusion # device ncr # NCR/Symbios Logic # device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') # device trm # Tekram DC395U/UW/F DC315U adapters # # device adv # Advansys SCSI adapters # device adw # Advansys wide SCSI adapters # device aha # Adaptec 154x SCSI adapters # device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. # device bt # Buslogic/Mylex MultiMaster SCSI adapters # device ncv # NCR 53C500 # device nsp # Workbit Ninja SCSI-3 # device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') device vr # VIA Rhine, Rhine II # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! #device miibus # MII bus support #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') #device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer #device umass # Disks/Mass storage - Requires scbus and da #device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device rum # Ralink Technology RT2501USB wireless NICs #device urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #device fwip # IP over FireWire (RFC 2734,3146) #device dcons # Dumb console driver #device dcons_crom # Configuration ROM for dcons From kes-kes at yandex.ru Mon Jan 5 17:01:54 2009 From: kes-kes at yandex.ru (KES) Date: Mon Jan 5 17:02:00 2009 Subject: How to do ping really quiet? In-Reply-To: <496236C8.6080407@isafeelin.org> References: <182410038.20090105182234@yandex.ru> <496236C8.6080407@isafeelin.org> Message-ID: <1335068292.20090105190147@yandex.ru> Hello, Frederique. FR> KES wrote: >> Hello, Questions. >> >> When I use >> ping -q ya.ru >> I get >> ping: sendto: No route to host >> >> How to make ping really quiet? >> FR> Try: FR> sh -c 'ping -q ya.ru > /dev/null 2>&1' man ping -q Quiet output. Nothing is displayed except the summary lines at startup time and when finished. That is mistake in Doc or in ping. Thx. This help, but seems ugly. Because of I can miss other maybe usefull errors (( ping -q ya.ru 2>/dev/null Any other suggestions? -- ? ?????????, KES mailto:kes-kes@yandex.ru From yuri.pankov at gmail.com Mon Jan 5 17:02:10 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Mon Jan 5 17:02:17 2009 Subject: Problem with linking kernel In-Reply-To: <1231173499.23453.6.camel@freeBsd_machine> References: <1231173499.23453.6.camel@freeBsd_machine> Message-ID: <20090105170203.GA1836@darklight.homeunix.org> On Mon, Jan 05, 2009 at 06:38:19PM +0200, Igor wrote: > #options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission Protocol excerpt from /sys/conf/NOTES: # Note YOU MUST have both INET and INET6 defined. # you don't have to enable V6, but SCTP is # dual stacked and so far we have not teased apart # the V6 and V4.. HTH, Yuri From apseudoutopia at gmail.com Mon Jan 5 17:02:43 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Jan 5 17:02:50 2009 Subject: Portsnap "Not Found" Issues Message-ID: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> Running FreeBSD 7.0-RELEASE-p5. ---------------------------------------------------------------- [root@host][/tmp] # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... fetch: http://portsnap2.FreeBSD.org/t/c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30: Not Found sha256: c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30: No such file or directory [: !=: unexpected operator mv: rename c503dc715eebbd771a82ca25cdda8e7977af043b914af2726a3bcea67360db30 to tINDEX.new: No such file or directory done. grep: tINDEX.new: No such file or directory look: tINDEX.new: No such file or directory Portsnap metadata appears bogus. Cowardly refusing to proceed any further. [root@host][/tmp] # ---------------------------------------------------------------- Any solutions? I didn't touch any portsnap.conf file or anything. It was working fine last I checked. A week later I run the command, and this happens. Thanks. From cyb. at gmx.net Mon Jan 5 17:10:47 2009 From: cyb. at gmx.net (Andreas Rudisch) Date: Mon Jan 5 17:10:56 2009 Subject: Portsnap "Not Found" Issues In-Reply-To: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> References: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> Message-ID: <20090105181040.84f0e888.cyb.@gmx.net> On Mon, 5 Jan 2009 12:02:40 -0500 APseudoUtopia wrote: > Running FreeBSD 7.0-RELEASE-p5. > > ---------------------------------------------------------------- > [root@host][/tmp] # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap2.FreeBSD.org... done. Re-run the command and with any luck it should switch to portsnap1.FreeBSD.org which will work correctly. Probably a minor problem with the portsnap2 server. Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- 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/20090105/681ff3f2/attachment.pgp From mail at ozzmosis.com Mon Jan 5 17:24:32 2009 From: mail at ozzmosis.com (andrew clarke) Date: Mon Jan 5 17:24:40 2009 Subject: How to do ping really quiet? In-Reply-To: <182410038.20090105182234@yandex.ru> References: <182410038.20090105182234@yandex.ru> Message-ID: <20090105165753.GA71550@ozzmosis.com> On Mon 2009-01-05 18:22:34 UTC+0200, KES (kes-kes@yandex.ru) wrote: > When I use > ping -q ya.ru > I get > ping: sendto: No route to host > > How to make ping really quiet? You can redirect all output to /dev/null: For /bin/sh: ping -c 1 host > /dev/null 2>&1 For /bin/csh: ping -c 1 host >& /dev/null From aryeh.friedman at gmail.com Mon Jan 5 20:46:26 2009 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon Jan 5 20:46:33 2009 Subject: wireless on a hp pavillion dv5000 In-Reply-To: <49623A92.90203@gmail.com> References: <49621F05.60406@gmail.com> <49623508.2050602@gmail.com> <49623A92.90203@gmail.com> Message-ID: Same card but no carrier... what did you do to see the carrier? On 1/5/09, michael wrote: > > > Glen Barber wrote: >> Aryeh M. Friedman wrote: >>> I have installed the ndis stuff and it sees the mac address but when i >>> push the "power" button on the wireless (build into the laptop) it does >>> not power on the wireless card any ideas? >> >> Do you have 'ifconfig_ndis="your settings here"' in rc.conf? Are you >> sure by pressing that button you haven't turned the wireless card off? >> (In my experience with ndis0 and hotkeys, it doesn't work well.) >> >> You're not giving is much to work with here. > When i was using the ndis interface on my dv2000 with broadcom4311 the > wifi light never came on and the switch had no function. you could be > experiencing the same situation. my wifi did however, work. > From patfbsd at davenulle.org Mon Jan 5 20:47:04 2009 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Mon Jan 5 20:47:20 2009 Subject: why printf() don't work? In-Reply-To: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> References: <022201c96f07$553b65a0$3f83a8c0@user863c0bf569> Message-ID: <20090105214659.125f55a2@baby-jane-lamaiziere-net.local> Le Mon, 05 Jan 2009 15:29:23 +0800, Edward King a ?crit : > I use FreeBSD7.0,and use signal,like follows: > signal(SIGHUP,sig_hup); > signal(SIGIO,sig_io); > > when I run call following code,it can run,but I find a puzzled > question,it should print some information,such as printf("execute > main()") will print execute main(),but in fact,printf fuction print > none!!! Why printf function do not go work? Just to be sure : You should not use printf() in a signal handler, it is not considered 'signal safe'. (See man sigaction) Regards. From matt at conundrum.com Mon Jan 5 20:54:22 2009 From: matt at conundrum.com (Matthew Pounsett) Date: Mon Jan 5 20:54:29 2009 Subject: Portsnap "Not Found" Issues In-Reply-To: <20090105181040.84f0e888.cyb.@gmx.net> References: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> <20090105181040.84f0e888.cyb.@gmx.net> Message-ID: On 05-Jan-2009, at 12:10 , Andreas Rudisch wrote: > On Mon, 5 Jan 2009 12:02:40 -0500 > APseudoUtopia wrote: > >> Running FreeBSD 7.0-RELEASE-p5. >> >> ---------------------------------------------------------------- >> [root@host][/tmp] # portsnap fetch update >> Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. >> Fetching snapshot tag from portsnap2.FreeBSD.org... done. > > Re-run the command and with any luck it should switch to > portsnap1.FreeBSD.org which will work correctly. > > Probably a minor problem with the portsnap2 server. I'm seeing a similar error on a different metadata file from portsnap1. portsnap3 seems to be working for me at the moment. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090105/fa397ea1/PGP.pgp From mcraft at peak15.org Mon Jan 5 21:03:52 2009 From: mcraft at peak15.org (Michael Craft) Date: Mon Jan 5 21:04:04 2009 Subject: No disks found on ASUS P5N-D, nForce 750i. In-Reply-To: <453a08ae0901021148i77576cacr2862566f0db30b44@mail.gmail.com> References: <453a08ae0901021148i77576cacr2862566f0db30b44@mail.gmail.com> Message-ID: <453a08ae0901051303g19bcd630uef7ecb1e47aa7d0b@mail.gmail.com> Does anyone have any ideas? On Fri, Jan 2, 2009 at 2:48 PM, Michael Craft wrote: > I have an ASUS P5N-D motherboard with an Nvidia nForce 750i chipset, > and a Seagate 500GB SATA 3.0Gb/s hard drive. When I try to install > FreeBSD 7.0 i386 from the bootonly CD, I get a "No disks found!" error > when it gets to the partitioning section. > > Also strangely but probably just a coincidence, after I boot from the > FreeBSD CD, my Windows XP installation freezes at mup.sys and I need > to do a cold boot to fix it. Weird. Can anyone help? > From redtick at sbcglobal.net Mon Jan 5 21:14:35 2009 From: redtick at sbcglobal.net (Mark Busby) Date: Mon Jan 5 21:14:42 2009 Subject: kernel panic Message-ID: <85912.38170.qm@web81206.mail.mud.yahoo.com> Update of kernel panic. Rebuilt kernel without 80211node, seems to have cured the panics. Removed all wireless support for now. Thanks to Toni Schmidbauer --- On Thu, 1/1/09, Mark Busby wrote: > From: Mark Busby > Subject: kernel panic > To: "help help" > Date: Thursday, January 1, 2009, 2:05 PM > I've had a few panics. Attached are the output from > vmsat -m then -z. > > uname -a > FreeBSD mars.sbcglobal.net 7.0-RELEASE-p5 FreeBSD > 7.0-RELEASE-p5 #0: Mon Nov 24 23:03:01 CST 2008 > boxend@mars.sbcglobal.net:/usr/src/sys/i386/compile/MARS > i386 > > > Jan 1 08:56:39 mars savecore: reboot after panic: > kmem_malloc(12288): kmem_map too small: 128778240 total > allocated > Jan 1 08:56:39 mars savecore: writing core to vmcore.2 From freebsd at southportcomputers.co.uk Mon Jan 5 21:26:56 2009 From: freebsd at southportcomputers.co.uk (Colin) Date: Mon Jan 5 21:27:04 2009 Subject: 7.0-RELEASE and megaraid (mpt0) Message-ID: <49627B1B.5060801@southportcomputers.co.uk> *Tim Kellers wrote:* >Colin wrote: >>/ Hi folks, />/> I'm running a new server with FreeBSD 7.0-RELEASE and am seeing />>/ timeouts and other messages with mpt0 />> //>>/ These include: />>/ mpt_cam_event: 0x16, 0x12 & 0x60 />>/ />/> More importantly these: />/> Dec 28 16:33:30 ted kernel: mpt0: request 0xc68db554:44729 timed out />/> for ccb 0xc691f000 (req->ccb 0xc691f000) />/> Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8bc4:44730 timed out />/> for ccb 0xc6ac1c00 (req->ccb 0xc6ac1c00) />/> Dec 28 16:33:30 ted kernel: mpt0: attempting to abort req />/> 0xc68db554:44729 function 0 />/> Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d8328:44731 timed out />/> for ccb 0xc68df800 (req->ccb 0xc68df800) />/> Dec 28 16:33:30 ted kernel: mpt0: mpt_recover_commands: IOC Status />/> 0x4a. Resetting controller. />/> Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req />/> 0xc68db554:44729 />/> Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req />/> 0xc68d8bc4:44730 />/> Dec 28 16:33:30 ted kernel: mpt0: completing timedout/aborted req />/> 0xc68d8328:44731 />/> Dec 28 16:33:30 ted kernel: mpt0: request 0xc68d5ac8:0 timed out for />/> ccb 0xc6af4000 (req->ccb 0) />>/ />/> I have raised this with my provider and they have said "it is working />/> fine without any problem you can simply ignore this message". />>/ />/> Now I'm no expert on the megaraid controller but I'm fairly certain />/> that frequent timeouts are not something that I want to be seeing. I />/> looked around and saw other people asking the same but no answers />/> posted publicly. I was also wondering as to whether linux emulation />/> could be used to run the LSI Megaraid storage manager or whether />/> attempting to do so is a very bad idea.. />>/ />/> Thanks, />/> Colin />>/ Southport Computers. />/> _______________________________________________ />/> freebsd-questions at freebsd.org mailing list />/> http://lists.freebsd.org/mailman/listinfo/freebsd-questions />/> To unsubscribe, send any mail to />/> "freebsd-questions-unsubscribe at freebsd.org " />>/ />>/ />I'm running 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 >03:44:52 EST 2008 AMD on a Dell 2850 Poweredge with the defaut LSI/PERC >4 and AMR kernel devices and I'm not seeing any timeouts at all. Maybe >someone knows if something significant in those device files changed >from 7.0 to 7.1? I don't think the Linux drivers are a viable option. >But using 7.1 PRE seems to work just fine, here. > > >mpt0: port 0xec00-0xecff mem >0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 >mpt0: [ITHREAD] >mpt0: MPI Version=1.2.12.0 > > >amr0: mem 0xd90f0000-0xd90fffff irq 106 at >device 4.0 on pci9 >amr0: Using 64-bit DMA >amr0: [ITHREAD] >amr0: delete logical drives supported by controller >amr0: Firmware 351S, BIOS 1.10, 128MB RAM Looks like we're on different hardware. Mine is SAS and yours is SCSI mpt0: port 0xec00-0xecff mem 0xdffec000-0xdffeffff,0xdfff0000-0xdfffffff irq 16 at device 0.0 on pci2 mpt0: [ITHREAD] mpt0: MPI Version=1.5.16.0 da0 at mpt0 bus 0 target 8 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 300.000MB/s transfers da0: Command Queueing Enabled da0: 476837MB (976562176 512 byte sectors: 255H 63S/T 60788C) I have however noticed that the events only occur at specific times. So far I have noticed them only at boot time just after dmesg identifies the adapter and also whenever I try to install/upgrade a port. It doesn't matter what port it is but here is an example (seen as I'm having trouble with the mysql port not compiling but that's for a different thread) # make ===> Extracting for mysql-client-5.0.75 => MD5 Checksum OK for mysql-5.0.75.tar.gz. => SHA256 Checksum OK for mysql-5.0.75.tar.gz. #######Long pause here of >30 seconds with the mpt0 errors being logged ===> Patching for mysql-client-5.0.75 From jeffrey at goldmark.org Mon Jan 5 21:31:57 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon Jan 5 21:32:03 2009 Subject: Portsnap "Not Found" Issues In-Reply-To: References: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> <20090105181040.84f0e888.cyb.@gmx.net> Message-ID: On Jan 5, 2009, at 2:40 PM, Matthew Pounsett wrote: > I'm seeing a similar error on a different metadata file from > portsnap1. portsnap3 seems to be working for me at the moment. I'm having problems on 2 and 3 (haven't tried 1). But I did get much further when portsnap3. $ sudo portsnap -s portsnap3.freebsd.org fetch update Looking up portsnap3.freebsd.org mirrors... none found. Fetching snapshot tag from portsnap3.freebsd.org... done. Fetching snapshot metadata... done. Updating from Sun Jan 4 11:29:12 CST 2009 to Mon Jan 5 13:49:44 CST 2009. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 530 patches..... 10 .... 20 .... 30 .... 40 .... 50 .... 60 .... 70 .... 80 .... 90 .... 100 .... 110 .... 120 .... 130 .... 140 .... 150 .... 160 .... 170 .... 180 .... 190 .... 200 .... 210 .... 220 .... 230 .... 240 .... 250 .... 260 .... 270 .... 280 .... 290 .... 300 .... 310 .... 320 .... 330 .... 340 .... 350 .... 360 .... 370 .... 380 .... 390 .... 400 .... 410 .... 420 .... 430 ....440....450....460....470....480....490....500....510....520....530 done. Applying patches... done. Fetching 90 new ports or files... /usr/sbin/portsnap: cannot open e12e83e8518a445d192fa06546e06cfd4eee82824a1a5d36e508ac7cb78968f8.gz: No such file or directory snapshot is corrupt. Anyway, I'll wait a day or two before trying again. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From stanb at panix.com Mon Jan 5 21:51:10 2009 From: stanb at panix.com (stan) Date: Mon Jan 5 21:51:17 2009 Subject: PHP setup question In-Reply-To: <20090104224540.GA18390@the-grills.com> References: <20090104031501.GA28244@teddy.fas.com> <20090104033518.GA13260@the-grills.com> <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> Message-ID: <20090105215108.GA17430@teddy.fas.com> On Sun, Jan 04, 2009 at 04:45:41PM -0600, Kelly D. Grills wrote: > On Sun, Jan 04, 2009 at 03:33:19PM -0500, stan wrote: > > > > OK, I did make some progress here. I figured out that I needed to change > > the grant to: > > > > GRANT ALL ON ampache to 'ampache_user'@'localhost' IDENTIFIED BY 'xxxxx' ; > > > > Then I entered this passwrd in the step 2 install page, and tried to write > > the config file. I could not, but,as stated in the docs, it offered to ket > > me download it. I did so, and put it in /usr/local/www/ampache/config. I > > set the owner to www. Good so, far, but now when I try to proced to step 3, > > I get: > > > > Error: Config file detected, Ampache is already installed > > > > So, I am guessing I should have somehow continued to set up this file > > without putting it in place? > > Well, I don't know every step you've taken, but this seems to have become > much more difficult than it needs to be. All I've ever done is to install > the ampache port and run through the web setup, no manually futzing with > the database, etc. > > At this point I would: > > 1: deinstall the ampache port, manually rm /usr/local/www/ampache if required > 2: drop the ampache database you've manually created > 3: reinstall the ampache port > 4: edit the default config file to quote those rss string values > (/usr/local/www/ampache/config/ampache.cfg.php.dist) > 5: run through the web setup Clearly I am still confused. :-( I just duid as you sugested, and all went well untill I pushed the "Write Config" button at Step 2. At this point I was offered teh option fo downlaoding to the machine that I was running the web browser on this config file. Since this is where I got hung up last. I stoped to ask what I am doing wrong. If I download this file, and put it in the config directory, based upon previous behavior the setup process will refuse to run, because the config file exists. What basic misunderstanding do I ahve here? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From abalour at gmail.com Mon Jan 5 23:21:54 2009 From: abalour at gmail.com (Ross Cameron) Date: Mon Jan 5 23:22:02 2009 Subject: Suggestion In-Reply-To: References: Message-ID: <35f70db10901051456r305321fcr478dd4a0b91ff03f@mail.gmail.com> Why not just install GRUB and use any boot splash you see fit? Hell you could even spin you're own fBSD release with this as a default if u wanted. On Sun, Jan 4, 2009 at 8:26 AM, Ryan da Silva wrote: > Hello, > > > > If someone could pass this suggestion on i'd appreciate it. It's going > to sound a little picky, and probably crazy but I'm an honest and > forward person so I'll just say it. > > > > Someone needs to change the FreeBSD boot menu. The way the word/logo > "FreeBSD" is displayed in large font with, ASCII characters, reminds me > of the 1990`s with BBS`s. Don`t get me wrong, I loved the days of the > BBS. But it`s 2009 and FreeBSD is a solid, professional, > enterprise-grade operating system and the silly ASCII logo is the only > thing that says amateur about the product. I would try to make the > change myself for myself, but i am not a programmer. I love this product > and would like to suggest changing that screen. To what? I don't know. > Maybe instead of the large logo simply put "FreeBSD version XXX, copy > right" etc. Or heck, maybe a color bootscreen like GRUB has in Linux > (from what i've seen in Centos/Trixbox). I am not a linux person. I > think FreeBSD is the way for professionals. But the inner perfectionist > in me HAD to send this ridiculous email in hopes to see a change in v > 7.1 RTM. > > > > If this isn't the right group, and you know how to get in touch with the > people who can help, I would greatly appreciate it. > > > > Cheers to everyone who has made this great product! > > > > Ryan da Silva > > _______________________________________________ > 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 michael.copeland at gmail.com Mon Jan 5 23:22:28 2009 From: michael.copeland at gmail.com (michael) Date: Mon Jan 5 23:22:35 2009 Subject: wireless on a hp pavillion dv5000 In-Reply-To: References: <49621F05.60406@gmail.com> <49623508.2050602@gmail.com> <49623A92.90203@gmail.com> Message-ID: <4962962E.7090804@gmail.com> Aryeh Friedman wrote: > Same card but no carrier... what did you do to see the carrier? > > On 1/5/09, michael wrote: > normally i issued all the config options with ifconfig at one time, ie the ssid so on. ifconfig ndis0 up ssid "ssid". something like that. i put the card back in and do it again to make sure. right now i'm using an intel card. From cperciva at freebsd.org Mon Jan 5 23:39:24 2009 From: cperciva at freebsd.org (Colin Percival) Date: Mon Jan 5 23:39:36 2009 Subject: FYI, portsnap problems Message-ID: <49629A2B.9020004@freebsd.org> Hi all, For the benefit of those of you who are noticing problems with portsnap right now: The release of FreeBSD 7.1 has resulted in a very large amount of traffic to update1.freebsd.org, which is hosted by the same box as portsnap-master... so the portsnap mirrors are having some trouble syncing right now. If you find that portsnap doesn't work, please be patient -- once the flood of people upgrading systems to 7.1-RELEASE has subsided things should get back to normal. (Before people ask: update2.freebsd.org is going to exist soon. No, I'm not looking for more mirrors right now.) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From fquest at ccstores.com Tue Jan 6 01:11:47 2009 From: fquest at ccstores.com (Jim Pazarena) Date: Tue Jan 6 01:11:54 2009 Subject: 7.1 release / apache22 / php5 Message-ID: <4962AB3A.9030108@ccstores.com> for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed libphp5.so anywhere. I am not even sure who/what causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so it's present on my 7.0 system, and missing on my 7.1 system. advice would be much appreciated. -- Jim Pazarena fquest@ccstores.com From josh.carroll at gmail.com Tue Jan 6 01:30:46 2009 From: josh.carroll at gmail.com (Josh Carroll) Date: Tue Jan 6 01:30:53 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <4962AB3A.9030108@ccstores.com> References: <4962AB3A.9030108@ccstores.com> Message-ID: <8cb6106e0901051730jb03affayc1b179d20e676d9e@mail.gmail.com> On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena wrote: > for some odd reason, with this latest install (7.1), apache22 complains that > it cannot find libphp5.so > I usually compile php5 from ports > and apache22 from ports > after I think about it, I have never actually placed libphp5.so anywhere. I > am not even sure who/what > causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so > it's present on my 7.0 system, and missing on my 7.1 system. > advice would be much appreciated. Do you have something like: LoadModule php5_module libexec/apache22/libphp5.so in /usr/local/etc/apache22/httpd.conf ? If not, that's the likely culprit. You'd also need the ... block in there as well (or in an included file). Regards, Josh From fquest at ccstores.com Tue Jan 6 01:40:38 2009 From: fquest at ccstores.com (Jim Pazarena) Date: Tue Jan 6 01:40:46 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <8cb6106e0901051730jb03affayc1b179d20e676d9e@mail.gmail.com> References: <4962AB3A.9030108@ccstores.com> <8cb6106e0901051730jb03affayc1b179d20e676d9e@mail.gmail.com> Message-ID: <4962B693.1070703@ccstores.com> Josh Carroll wrote: > On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena wrote: >> for some odd reason, with this latest install (7.1), apache22 complains that >> it cannot find libphp5.so >> I usually compile php5 from ports >> and apache22 from ports >> after I think about it, I have never actually placed libphp5.so anywhere. I >> am not even sure who/what >> causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so >> it's present on my 7.0 system, and missing on my 7.1 system. >> advice would be much appreciated. > > Do you have something like: > > LoadModule php5_module libexec/apache22/libphp5.so > > in /usr/local/etc/apache22/httpd.conf ? If not, that's the likely culprit. > > You'd also need the ... block in > there as well (or in an included file). > > Regards, > Josh the httpd config file isn't the issue. it hasn't changed in a few years. yes, I do have the correct entries. what I do NOT have is the actual libphp5.so library file! it doesn't exist on my system, so apache complains that it can't open it. -- Jim Pazarena fquest@ccstores.com From glen.j.barber at gmail.com Tue Jan 6 01:43:37 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Jan 6 01:43:45 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <4962AB3A.9030108@ccstores.com> References: <4962AB3A.9030108@ccstores.com> Message-ID: <4ad871310901051743p43d09997tf6e994126e133457@mail.gmail.com> On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena wrote: > for some odd reason, with this latest install (7.1), apache22 complains that > it cannot find libphp5.so > I usually compile php5 from ports > and apache22 from ports > after I think about it, I have never actually placed libphp5.so anywhere. I > am not even sure who/what > causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so > it's present on my 7.0 system, and missing on my 7.1 system. > advice would be much appreciated. Did you remember to build the apache module when compiling php5? -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From josh.carroll at gmail.com Tue Jan 6 01:44:38 2009 From: josh.carroll at gmail.com (Josh Carroll) Date: Tue Jan 6 01:44:45 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <4962B693.1070703@ccstores.com> References: <4962AB3A.9030108@ccstores.com> <8cb6106e0901051730jb03affayc1b179d20e676d9e@mail.gmail.com> <4962B693.1070703@ccstores.com> Message-ID: <8cb6106e0901051744oba54a2ep8619649b7dabab87@mail.gmail.com> > the httpd config file isn't the issue. it hasn't changed in a few years. > yes, > I do have the correct entries. > > what I do NOT have is the actual libphp5.so library file! it doesn't exist > on my system, > so apache complains that it can't open it. Did you build the lang/php5 port with the "Build Apache module" option checked via make config? make -C /usr/ports/lang/php5 showconfig | grep APACHE Should return: APACHE=on "Build Apache module" If not, make config in there, check that option, then rebuild and reinstall the port. Josh From stanb at panix.com Tue Jan 6 02:31:06 2009 From: stanb at panix.com (stan) Date: Tue Jan 6 02:31:12 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <4962AB3A.9030108@ccstores.com> References: <4962AB3A.9030108@ccstores.com> Message-ID: <20090106023104.GA24401@teddy.fas.com> On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: > for some odd reason, with this latest install (7.1), apache22 complains > that it cannot find libphp5.so > I usually compile php5 from ports > and apache22 from ports > after I think about it, I have never actually placed libphp5.so anywhere. I > am not even sure who/what > causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so > it's present on my 7.0 system, and missing on my 7.1 system. > advice would be much appreciated. I don't know if it's a change, but on the 7.1 machine I just built. the lang/php5 port was not configured by default to build the Apache module. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From glen.j.barber at gmail.com Tue Jan 6 02:33:51 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Jan 6 02:34:22 2009 Subject: 7.1 release / apache22 / php5 In-Reply-To: <20090106023104.GA24401@teddy.fas.com> References: <4962AB3A.9030108@ccstores.com> <20090106023104.GA24401@teddy.fas.com> Message-ID: <4962C2FE.8070006@gmail.com> stan wrote: > On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote: > >> for some odd reason, with this latest install (7.1), apache22 complains >> that it cannot find libphp5.so >> I usually compile php5 from ports >> and apache22 from ports >> after I think about it, I have never actually placed libphp5.so anywhere. I >> am not even sure who/what >> causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so >> it's present on my 7.0 system, and missing on my 7.1 system. >> advice would be much appreciated. >> > > I don't know if it's a change, but on the 7.1 machine I just built. the > lang/php5 port was not configured by default to build the Apache module. > It's been that way as far as I can remember (at least since 6.2-RELEASE). -- Glen Barber From glen.j.barber at gmail.com Tue Jan 6 04:47:31 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Jan 6 04:47:37 2009 Subject: PHP setup question In-Reply-To: <20090104010332.GA25704@teddy.fas.com> References: <20090104010332.GA25704@teddy.fas.com> Message-ID: <4962E255.7060803@gmail.com> stan wrote: > I am trying to get the ampcache port working on a 7.1 machine. I have > installed the port, which puts it's files in /usr/local/www/a,pcache. I > Considering seeing a few of your questions on this list, and the excessive typos in this post alone, I'd double check your configs for typos and look at the error log. > [[ snip ]] -- Glen Barber From freebsd-questions at pp.dyndns.biz Tue Jan 6 05:46:42 2009 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Tue Jan 6 05:46:50 2009 Subject: PHP Apache module no longer loads /usr/local/etc/php.ini Message-ID: <4962EB85.7000700@pp.dyndns.biz> Hi. I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP module on one of those servers no longer loads /usr/local/etc/php.ini and I can't for my world figure out what's preventing it. My workaround right now is to move php.ini to / where it is loaded properly. phpinfo on non-working server: http://pp.dyndns.biz/phpinfo.php phpinfo on working server: http://prefectftp.no-ip.com/phpinfo.php According to php.net the default location for php.ini is /usr/local/lib and to change that you have to compile PHP with --with-config-file-path=/some/path but I can't see that this is done on FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File (php.ini) Path". What mechanism does FreeBSD use to alter the default location of the ini file? Can I somehow have interfered with that mechanism? The following things DO work though: - Setting PHPRC to /usr/local/etc (as described in php.ini) and restarting Apache loads /usr/local/etc/php.ini correctly. - CLI version works correctly regardless of PHPRC: # php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/etc Loaded Configuration File => /usr/local/etc/php.ini No errors are listed in any log-file and I've been banging my head against the wall for four days now trying to solve this... Any help would be appreciated to figure out what stupid mistake I've made. :-) Regards Morgan From perrin at apotheon.com Tue Jan 6 06:54:25 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jan 6 06:54:31 2009 Subject: Portuguese accents In-Reply-To: <495FDCDC.2020501@webvolution.net> References: <495FDCDC.2020501@webvolution.net> Message-ID: <20090106065329.GA28244@kokopelli.hydra> On Sat, Jan 03, 2009 at 09:47:08PM +0000, Daniel Leal wrote: > > In most X apps these accents work well, but for example, in a xterm, > with the "ee" editor, I can write the accented letter correctly. But > when I use "more" to read the file I just created with "ee" I cant see > these accented letters correctly! As already suggested, you might want to try using less(1) instead of more(1). > > With aterm, not even with "ee" this works it appears: ~a, 'e,`e, `i, etc > etc etc... That's because aterm doesn't support unicode characters. Try a terminal emulator that does, such as rxvt-unicode instead. > > how can I solve this? > Is it impossible to list and also name files with accented letter? I believe it is possible to name files with unicode characters, but in general I'd advise against it. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Robert Martin: "Would you rather Test-First, or Debug-Later?" -------------- 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/20090106/0c0942ab/attachment.pgp From fbsd.questions at rachie.is-a-geek.net Tue Jan 6 07:31:20 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 07:31:37 2009 Subject: pathsetting for OpenSSL-0.9.8i In-Reply-To: <383097e0c65660e72768c7c9e3c0be8f.squirrel@webmail.pcextreme.nl> References: <383097e0c65660e72768c7c9e3c0be8f.squirrel@webmail.pcextreme.nl> Message-ID: <200901052231.18491.fbsd.questions@rachie.is-a-geek.net> On Monday 05 January 2009 02:00:57 marinus@northbridgepc.nl wrote: > Hello all, > > I'm new in FreeBSD. I just installed FreeBSD 7.0 RELEASE and installed > also Apache22, PHP5, MySQLserver and OpenSSL-0.9.8i, the latest version of > Openssl. I know that the base opensslversion is 0.9.8e during the install > of a freshinstall of FreeBSD. > > For so far everything went fine during the installation of Apache22, PHP5, > MySQLserver 5.x.x and OpenSSL 0.9.8i. > > in the file rc.conf i wrote the line > > --------- > named_enable="YES" > linux_enable="YES" > sshd_enable="YES" > mysql_enable="YES" > apache22_enable="YES" > apache22_http_accept_enable="YES" > > make.conf > -------- > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > MAKE_IDEA=YES > WITH_OPENSSL_PORT=YES > NO_BIND=YES > > All the installed applicaties are working fine , just OpenSSL is not > working like the newest version 0.9.8i. I still see that that the base > openssl is the default after the giffen command This isn't a port issue. It's a path issue. If php reports 0.9.8i, then openssl is correctly linked and as far as php is concerned, it will use 0.9.8i. In your PATH variable however, /usr/bin comes before /usr/local/bin. There's a few ways to fix this, rated from bad to best: 1) swap /usr/local/bin and /usr/bin in $PATH environment variable 2) Rebuild world without openssl (echo WITHOUT_OPENSSL=yes >>/etc/src.conf) and be sure to run make delete-old 3) make an alias: alias openssl=/usr/local/bin/openssl Even though 2) seems the best choice at first glance, all apps and libraries that use OPENSSL in the base system will have to be built from ports as well, most notably sshd. I don't see an easy way to build the base system with the port's libssl, but I could be missing something. -- 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 Jan 6 07:31:20 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 07:31:39 2009 Subject: Processes Piling up with the lockf state In-Reply-To: <200901051529.n05FTXOr044399@phoenix.panhistoria.com> References: <200901051529.n05FTXOr044399@phoenix.panhistoria.com> Message-ID: <200901052205.06298.fbsd.questions@rachie.is-a-geek.net> On Monday 05 January 2009 06:29:33 Sydney Longfellow wrote: > I'm getting problems with my server locking up after accumulating far > too many processes until I have to reboot. > > The states of the processes are reading either sbwait or lockf when this > spiral out of control starts to happen. > > Any ideas what might cause this? sbwait indicates a process is waiting for data on a socket. lockf indicates that a process is trying to lock portions of a file. If you put the two together, a cause could be network congestion (disk to network) or harddrive problems (network to disk). A server running out of memory and into swap can also be a cause, as processes are blocked (sockets don't get data and locks are not acquired) until the swap operation is completed. When processes keep getting spawned, this effect snowballs. -- 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 Jan 6 07:58:41 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 07:58:48 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <495F5DD7.2070302@infracaninophile.co.uk> References: <20090102164412.GA1258@phenom.cordula.ws> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> Message-ID: <200901052258.39785.fbsd.questions@rachie.is-a-geek.net> On Saturday 03 January 2009 03:45:11 Matthew Seaman wrote: > [*] Buying a high security cert from the likes of Verisign or OpenSRS would > set you back about ?800 p.a. and it would probably be necessary to use > someone like the FreeBSD Foundation as an appropriate body to own the cert. I would actually trust a self-signed cert by the FreeBSD security officer, more then one by Verisign. Power hungry companies like Verisign are more succeptable to corruption then the entity I want to have or already a relationship with in the first place. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From kalpin at muliahost.com Tue Jan 6 08:31:56 2009 From: kalpin at muliahost.com (Kalpin Erlangga Silaen) Date: Tue Jan 6 08:32:17 2009 Subject: FreeBSD 7.0-Stable Crashed with Cacti Message-ID: Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1054 root 1 76 0 118M 94916K pfault 1 0:07 0.00% php 1382 root 1 76 0 110M 87224K pfault 1 0:07 0.00% php 1740 root 1 76 0 103M 75576K pfault 0 0:06 0.00% php 2120 root 1 76 0 97160K 74056K pfault 1 0:06 0.00% php 2451 root 1 76 0 91016K 79316K pfault 1 0:05 0.00% php 2818 root 1 76 0 83848K 72324K pfault 1 0:05 0.00% php 3147 root 1 76 0 76680K 64856K pfault 1 0:04 0.00% php 3511 root 1 76 0 69512K 57836K pfault 1 0:04 0.00% php 3823 root 1 76 0 62344K 50880K pfault 1 0:03 0.00% php 4170 root 1 76 0 55176K 43568K pfault 0 0:03 0.00% php 4513 root 1 76 0 48008K 36480K pfault 1 0:02 0.00% php 4847 root 1 76 0 40840K 29452K pfault 1 0:02 0.00% php 5180 root 1 76 0 33672K 22664K pfault 0 0:01 0.00% php 5810 root 1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root 1 76 0 26504K 15612K pfault 0 0:01 0.00% php 5811 root 1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root 1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root 1 44 0 8400K 2440K select 1 0:01 0.00% sshd 839 root 1 44 0 21536K 9152K select 0 0:00 0.00% httpd 747 root 1 44 0 7372K 4996K select 0 0:00 0.00% perl 658 root 1 44 0 8808K 4096K select 1 0:00 0.00% snmpd 5814 root 1 76 0 10588K 4016K pfault 1 0:00 0.00% php 1655 root 1 8 0 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 4 0 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root 1 44 0 5864K 2152K select 1 0:00 0.00% sendmail 5835 root 1 44 0 3504K 1520K CPU0 0 0:00 0.00% top 652 root 1 44 0 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root 1 8 0 3472K 1008K wait 0 0:00 0.00% sh 5808 root 1 8 0 3472K 1008K wait 1 0:00 0.00% sh 870 root 1 -16 0 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root 1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root 1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root 1 -8 0 3200K 1108K piperd 0 0:00 0.00% cron 5820 root 1 8 0 3472K 1004K wait 0 0:00 0.00% sh 577 root 1 44 0 3172K 1008K select 1 0:00 0.00% syslogd 5823 root 1 76 0 10588K 4112K pfault 1 0:00 0.00% php 5829 root 1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen From freebsd at t41t.com Tue Jan 6 09:04:30 2009 From: freebsd at t41t.com (Tait) Date: Tue Jan 6 09:04:38 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090103190254.GC1253@phenom.cordula.ws> References: <20090102164412.GA1258@phenom.cordula.ws> <495E4F24.80209@unsane.co.uk> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> <20090103190254.GC1253@phenom.cordula.ws> Message-ID: <20090106090426.GS14242@ece.pdx.edu> > > Unless designed carefully, there will be substantial logistical > > problems to maintaining such lists of signatures. > ... > > You can then verify the correctness of what's on your disk ... > > The idea is that one needs to get this public key only once > ... > IMHO, this could or should take place at the subversion server itself. This problem has already been solved in the form of Git*. Now whether FreeBSD can/will migrate to Git or an equivalent for version control is another question. The security benefits would result even if a trusted person (the FreeBSD security team, maybe?) maintained a git mirror of the CVS/Subversion/Whatever repository. Git avoids the issue of versioned lists of signatures by simply making the version history of the repository an unbroken chain. If any link in history is changed, the sha1 checksums no longer compute. By simply verifying a sha1 hash, you can be assured (at least, as assured as [that implementation of] sha1 can make you feel) that the files at that point in time and all their prior history are exactly the same on your computer as what's on the distribution server. No lengthy lists or checksum tuples are required. The checksums are "built in" to the version control itself. Git also provides a mechanism for cryptographic sign-off of tags, which would provide the public/private keyed infrastructure you're trying to (awkwardly) replicate with SSL and PKI. The combination of sha1-strength history integrity verification and cryptographic tags mean all the information necessary to validate your on-disk source tree (and its history) is widely available and easily verified even if obtained from an untrusted source. You will need a secure means of obtaining either a (single) sha1 hash or a public key, but everything else can e verified once you have that small bit of very public (and therefore difficult to forge) information. Even if Git isn't the answer, it's at least worth stealing some of their ideas. * http://git.or.cz From kalpin at muliahost.com Tue Jan 6 09:19:06 2009 From: kalpin at muliahost.com (kalpin@muliahost.com) Date: Tue Jan 6 09:19:13 2009 Subject: FreeBSD 7.0-Stable Crashed by Cacti Message-ID: <2650.203.153.106.5.1231230366.squirrel@www.muliahost.com> Dear all, we faced problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1054 root 1 76 0 118M 94916K pfault 1 0:07 0.00% php 1382 root 1 76 0 110M 87224K pfault 1 0:07 0.00% php 1740 root 1 76 0 103M 75576K pfault 0 0:06 0.00% php 2120 root 1 76 0 97160K 74056K pfault 1 0:06 0.00% php 2451 root 1 76 0 91016K 79316K pfault 1 0:05 0.00% php 2818 root 1 76 0 83848K 72324K pfault 1 0:05 0.00% php 3147 root 1 76 0 76680K 64856K pfault 1 0:04 0.00% php 3511 root 1 76 0 69512K 57836K pfault 1 0:04 0.00% php 3823 root 1 76 0 62344K 50880K pfault 1 0:03 0.00% php 4170 root 1 76 0 55176K 43568K pfault 0 0:03 0.00% php 4513 root 1 76 0 48008K 36480K pfault 1 0:02 0.00% php 4847 root 1 76 0 40840K 29452K pfault 1 0:02 0.00% php 5180 root 1 76 0 33672K 22664K pfault 0 0:01 0.00% php 5810 root 1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root 1 76 0 26504K 15612K pfault 0 0:01 0.00% php 5811 root 1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root 1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root 1 44 0 8400K 2440K select 1 0:01 0.00% sshd 839 root 1 44 0 21536K 9152K select 0 0:00 0.00% httpd 747 root 1 44 0 7372K 4996K select 0 0:00 0.00% perl 658 root 1 44 0 8808K 4096K select 1 0:00 0.00% snmpd 5814 root 1 76 0 10588K 4016K pfault 1 0:00 0.00% php 1655 root 1 8 0 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 4 0 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root 1 44 0 5864K 2152K select 1 0:00 0.00% sendmail 5835 root 1 44 0 3504K 1520K CPU0 0 0:00 0.00% top 652 root 1 44 0 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root 1 8 0 3472K 1008K wait 0 0:00 0.00% sh 5808 root 1 8 0 3472K 1008K wait 1 0:00 0.00% sh 870 root 1 -16 0 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root 1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root 1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root 1 -8 0 3200K 1108K piperd 0 0:00 0.00% cron 5820 root 1 8 0 3472K 1004K wait 0 0:00 0.00% sh 577 root 1 44 0 3172K 1008K select 1 0:00 0.00% syslogd 5823 root 1 76 0 10588K 4112K pfault 1 0:00 0.00% php 5829 root 1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup all cacti process just eat my memory and cpu, after that my server crashed and should be reboot. How to fix this problem? Thank you Kalpin Erlangga Silaen From wojtek at wojtek.tensor.gdynia.pl Tue Jan 6 09:22:44 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jan 6 09:22:50 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <200901052258.39785.fbsd.questions@rachie.is-a-geek.net> References: <20090102164412.GA1258@phenom.cordula.ws> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> <200901052258.39785.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090106102124.O34151@wojtek.tensor.gdynia.pl> >> someone like the FreeBSD Foundation as an appropriate body to own the cert. > > > I would actually trust a self-signed cert by the FreeBSD security officer, > more then one by Verisign. of course. there is no need to have an "authority" to make key pairs, everybody do it alone. actually i would fear using such keys because i'm sure such companies do have a copy of both keys. From stanb at panix.com Tue Jan 6 10:42:14 2009 From: stanb at panix.com (stan) Date: Tue Jan 6 10:42:22 2009 Subject: PHP setup question In-Reply-To: <20090106034523.GA25207@the-grills.com> References: <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> Message-ID: <20090106104212.GB2566@teddy.fas.com> On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you suggested, and all went well until I pushed the "Write > > Config" button at Step 2. At this point I was offered the option fo > > downlaoding to the machine that I was running the web browser on this config > > file. Since this is where I got hung up last. I stoped to ask what I am doing > > wrong. If I download this file, and put it in the config directory, based > > upon previous behavior the setup process will refuse to run, because the > > config file exists. > > > > What basic misunderstanding do I ahve here? > > I'm out of advice. I'd strongly advise that you seek help from the Ampache > developers / community (http://ampache.org/). You'll be on topic there, and > surely get more advice. OK, Can you please explain how the step 2 to 3 transition is supposed to work in the web based installer? Is the step 2 process supposed to write the config.php file to ampache/config? If so, why, when I do that manually does it refuse to go to step 3? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From fredscali at yahoo.fr Tue Jan 6 11:26:24 2009 From: fredscali at yahoo.fr (fsw) Date: Tue Jan 6 11:26:31 2009 Subject: Portsnap "Not Found" Issues In-Reply-To: References: <27ade5280901050902r4422b740r9fb7fc473c7fbb70@mail.gmail.com> <20090105181040.84f0e888.cyb.@gmx.net> Message-ID: <21308723.post@talk.nabble.com> Hi, thank for the tip! portsnap3 just worked good right now for me, it surely has to do with the release of FreeBSD 7.1 as said in this post: http://www.nabble.com/FYI%2C-portsnap-problems-td21301895.html Jeffrey Goldberg wrote: > > On Jan 5, 2009, at 2:40 PM, Matthew Pounsett wrote: > >> I'm seeing a similar error on a different metadata file from >> portsnap1. portsnap3 seems to be working for me at the moment. > > I'm having problems on 2 and 3 (haven't tried 1). But I did get much > further when portsnap3. > > $ sudo portsnap -s portsnap3.freebsd.org fetch update > Looking up portsnap3.freebsd.org mirrors... none found. > Fetching snapshot tag from portsnap3.freebsd.org... done. > Fetching snapshot metadata... done. > Updating from Sun Jan 4 11:29:12 CST 2009 to Mon Jan 5 13:49:44 CST > 2009. > Fetching 3 metadata patches.. done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 530 patches..... > 10 > .... > 20 > .... > 30 > .... > 40 > .... > 50 > .... > 60 > .... > 70 > .... > 80 > .... > 90 > .... > 100 > .... > 110 > .... > 120 > .... > 130 > .... > 140 > .... > 150 > .... > 160 > .... > 170 > .... > 180 > .... > 190 > .... > 200 > .... > 210 > .... > 220 > .... > 230 > .... > 240 > .... > 250 > .... > 260 > .... > 270 > .... > 280 > .... > 290 > .... > 300 > .... > 310 > .... > 320 > .... > 330 > .... > 340 > .... > 350 > .... > 360 > .... > 370 > .... > 380 > .... > 390 > .... > 400 > .... > 410 > .... > 420 > .... > 430 > ....440....450....460....470....480....490....500....510....520....530 > done. > Applying patches... done. > Fetching 90 new ports or files... /usr/sbin/portsnap: cannot open > e12e83e8518a445d192fa06546e06cfd4eee82824a1a5d36e508ac7cb78968f8.gz: > No such file or directory > snapshot is corrupt. > > Anyway, I'll wait a day or two before trying again. > > Cheers, > > -j > > > -- > Jeffrey Goldberg http://www.goldmark.org/jeff/ > > _______________________________________________ > 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" > > -- View this message in context: http://www.nabble.com/Portsnap-%22Not-Found%22-Issues-tp21294899p21308723.html Sent from the freebsd-questions mailing list archive at Nabble.com. From shinjii at maydias.com Tue Jan 6 11:46:47 2009 From: shinjii at maydias.com (Warren Liddell) Date: Tue Jan 6 11:46:54 2009 Subject: re0 losing connection when idle Message-ID: <496344A9.2030407@maydias.com> Since i updated my ports/source/world on a FREEBSD 7.1-PRERELEASE AMD64 a few days ago and had to do a reboot, all of a sudden my network connection is dropping out if no consistent traffic is being done, more then simply an IRC chats. i've had to have a few torrents seeding to maintain the connection without it dropping out an my having to disconnect the net cable wait a lil while an re-connect. I checked a few things i knew of locally an there seems to be nothing on the modem//router. Any thoughts//ideas? From miklosovic.freebsd at gmail.com Tue Jan 6 13:16:52 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Tue Jan 6 13:16:59 2009 Subject: compilation vs binary files Message-ID: hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in binary form (eg. pkg_add -r soft) without a significant change of performance to my machine. If I lost some percents of perfromance, I would rather install it in that way like to compile it and lose a lot of time ... Yes, there is also a matter of patches and updates, because software is constantly improving. Have even a packages in binary form a sense? thank you From apseudoutopia at gmail.com Tue Jan 6 14:09:30 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Jan 6 14:09:38 2009 Subject: PHP Apache module no longer loads /usr/local/etc/php.ini In-Reply-To: <4962EB85.7000700@pp.dyndns.biz> References: <4962EB85.7000700@pp.dyndns.biz> Message-ID: <27ade5280901060609t2e768f14p32639b7ed2ac7a9c@mail.gmail.com> On Tue, Jan 6, 2009 at 12:26 AM, Morgan Wesstr?m wrote: > Hi. > > I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache > 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP > module on one of those servers no longer loads /usr/local/etc/php.ini > and I can't for my world figure out what's preventing it. My workaround > right now is to move php.ini to / where it is loaded properly. > > phpinfo on non-working server: > http://pp.dyndns.biz/phpinfo.php > > phpinfo on working server: > http://prefectftp.no-ip.com/phpinfo.php > > According to php.net the default location for php.ini is /usr/local/lib > and to change that you have to compile PHP with > --with-config-file-path=/some/path but I can't see that this is done on > FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File > (php.ini) Path". What mechanism does FreeBSD use to alter the default > location of the ini file? Can I somehow have interfered with that mechanism? > > The following things DO work though: > - Setting PHPRC to /usr/local/etc (as described in php.ini) and > restarting Apache loads /usr/local/etc/php.ini correctly. > - CLI version works correctly regardless of PHPRC: > # php -i | grep php.ini > Configuration File (php.ini) Path => /usr/local/etc > Loaded Configuration File => /usr/local/etc/php.ini > > No errors are listed in any log-file and I've been banging my head > against the wall for four days now trying to solve this... Any help > would be appreciated to figure out what stupid mistake I've made. :-) > > Regards > Morgan > Notice: Configuration File (php.ini) Path /usr/local/etc Loaded Configuration File /php.ini So it _IS_ looking in /usr/local/etc/ for a php.ini file, it just can't find it. Move the file back to /usr/local/etc/, then make sure the permissions are correct (so the www-data user can read) on both the php.ini file and the directories above it. From apseudoutopia at gmail.com Tue Jan 6 14:12:50 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Tue Jan 6 14:12:58 2009 Subject: FreeBSD 7.0-Stable Crashed with Cacti In-Reply-To: References: Message-ID: <27ade5280901060612v3e8eeed7m428adaed9ff127f8@mail.gmail.com> On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen wrote: > Dear All, > > we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: > ----- snip ----- > We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. > Is there any way how to fix it? > > Thank you > > Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be. From freebsd at edvax.de Tue Jan 6 14:33:37 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Jan 6 14:33:44 2009 Subject: compilation vs binary files In-Reply-To: References: Message-ID: <20090106153318.891488f9.freebsd@edvax.de> On Tue, 6 Jan 2009 14:16:51 +0100, "Stefan Miklosovic" wrote: > hi, > > i would like to know, if it has a sense to compile software provided > in form of ports in /usr/ports. I mean, I know there is a bunch of > options you can choose from and make certain application more > suitable for your hardware / software needs. I just want to know, if > I can install software in binary form (eg. pkg_add -r soft) without > a significant change of performance to my machine. If I lost some > percents of perfromance, I would rather install it in that way like > to compile it and lose a lot of time ... For most software provided as precompiled binary packages, there is no loss in speed, especially not if today's hardware is considered. As you mentioned correctly, there are applications where building from source is the better way in many regards (e. g. mplayer: codecs, CPU optimization). You usually do this on older hardware for some speed gain, but on modern hardware... > Yes, there is also a matter of patches and updates, because software > is constantly improving. Have even a packages in binary form a sense? Yes, they have, especially if you don't have the hardware for a long compilation process - just consider KDE or OpenOffice - I wouldn't even compile them on today's hardware. :-) Binary packages often make the life easier. Personally, I do prefer them. But as you know, you can't always use them (you mentioned the reasons above). You can, for example, put a collection of already compiled software on a CD or DVD in the common tbz form and then install them on another system (that may have no Internet access). The advantage is that you have your software running right after install, no time is needed to build from sources. Binary packages aren't always "up to date" (they're not compiled with every change in the port's source code), so if you're requiring "bleeding edge" software, using the ports and building from source is the better way to go. But if you intend to once install a system and then let it run, there's no problem using software from binary packages. Especially on servers, you usually do the neccessary updates (such as security patches) and keep the rest as it is. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From naylor.b.david at gmail.com Tue Jan 6 15:01:50 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Tue Jan 6 15:01:57 2009 Subject: Transparent SOCKS proxy (server side)? Message-ID: <200901061649.25762.naylor.b.david@gmail.com> Hi, My ISP's NAT, unfortunately, does not work more than it does. This is a problem as I need to provide 'direct' internet access for the computers inside my network. I would like to set up a transparent SOCKS proxy (similar to transparent HTTP proxy, aka squid) on the server. Does anyone know how to do this (and which ports to use)? This needs to be a server side solution since I am unable to implement this on the clients... I know there is a Linux specific program that does this, called KSB [http://ksb.sourceforge.net] that looks like what I would like, except the wrong OS :-( Regards David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090106/fdba4f27/attachment.pgp From gpeel at thenetnow.com Tue Jan 6 15:47:42 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Tue Jan 6 15:47:51 2009 Subject: pkg_info & php Message-ID: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> Hi all, I am getting 'segmentation faults' when using php (apache module) on a server that recently had php 4 instlalled when php 5 was already there. /var/log/httpd-error.log: [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exit signal Segmentation fault (11) Is there a way to completely remove all hints of php 5? Do you think this would stop the segmentation faults? Uname -a: FreeBSD servername 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 02:59:38 EST 2007 ... i386 Output of pkg_info: apache-2.2.3 Version 2.2 of Apache web server with prefork MPM. apachetop-0.12.6 Apache RealTime log stats autoconf-2.59_2 Automatically configure source code on many Un*x platforms bind95-base-9.5.0.2 The BIND DNS suite with updated DNSSEC and threads bsdpan-Archive-Tar-1.30 Archive::Tar - module for manipulations of tar archives bsdpan-Authen-PAM-0.16 Authen::PAM - Perl interface to PAM library bsdpan-CGI-SpeedyCGI-2.22 SpeedyCGI - Speed up perl scripts by running them persisten bsdpan-Compress-Raw-Zlib-2.004 Compress::Raw::Zlib - Low-Level Interface to zlib compressi bsdpan-Compress-Zlib-2.004 Compress::Zlib - Interface to zlib compression library bsdpan-Crypt-CBC-2.14 Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode bsdpan-Crypt-CBC-2.22 Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode bsdpan-Crypt-DES-2.05 Crypt::DES - Perl DES encryption module bsdpan-Crypt-SSLeay-0.53 Crypt::SSLeay - OpenSSL glue that provides LWP https suppor bsdpan-Date-Calc-5.4 Unknown perl module bsdpan-Date-Manip-5.44 Unknown perl module bsdpan-Digest-1.15 Digest - Modules that calculate message digests bsdpan-Digest-HMAC-1.01 Digest::HMAC - Keyed-Hashing for Message Authentication bsdpan-Digest-MD5-2.36 Digest::MD5 - Perl interface to the MD5 Algorithm bsdpan-Digest-Nilsimsa-0.06 Digest::Nilsimsa - Perl version of Nilsimsa code bsdpan-Digest-SHA1-2.11 Digest::SHA1 - Perl interface to the SHA-1 algorithm bsdpan-ExtUtils-CBuilder-0.18 ExtUtils::CBuilder - Compile and link C code for Perl modul bsdpan-ExtUtils-ParseXS-2.18 ExtUtils::ParseXS - converts Perl XS code into C code bsdpan-HTML-Parser-3.56 HTML::Parser - HTML parser class bsdpan-HTML-Tagset-3.10 HTML::Tagset - data tables useful in parsing HTML bsdpan-HTML-Template-2.9 HTML::Template - Perl module to use HTML Templates from CGI bsdpan-IO-Compress-Base-2.004 IO::Compress::Base - Base Class for IO::Compress modules bsdpan-IO-Compress-Zlib-2.004 IO::Compress::Gzip - Write RFC 1952 files/buffers bsdpan-IO-Socket-INET6-2.51 IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 d bsdpan-IO-Socket-SSL-1.02 IO::Socket::SSL -- Nearly transparent SSL encapsulation for bsdpan-IO-Tty-1.07 IO::Tty - Low-level allocate a pseudo-Tty, import constants bsdpan-IO-Zlib-1.05 IO::Zlib - IO:: style interface to L bsdpan-IO-stringy-2.110 IO-stringy - I/O on in-core objects like strings and arrays bsdpan-Locale-gettext-1.01 gettext - message handling functions bsdpan-MD5-2.03 MD5 - Perl interface to the MD5 Message-Digest Algorithm bsdpan-MIME-Base64-3.07 MIME::Base64 - Encoding and decoding of base64 strings bsdpan-MIME-tools-5.420 MIME-tools - modules for parsing (and creating!) MIME entit bsdpan-Mail-SpamAssassin-3.001008 Mail::SpamAssassin - Spam detector and markup engine bsdpan-MailTools-1.74 Mail::Cap - Parse mailcap files bsdpan-Net-CIDR-Lite-0.20 Net::CIDR::Lite - Perl extension for merging IPv4 or IPv6 C bsdpan-Net-DNS-0.59 Net::DNS - Perl interface to the DNS resolver bsdpan-Net-IP-1.25 Net::IP - Perl extension for manipulating IPv4/IPv6 address bsdpan-Net-Ident-1.20 Net::Ident - lookup the username on the remote end of a TCP bsdpan-Net_SSLeay.pm-1.30 Net::SSLeay - Perl extension for using OpenSSL bsdpan-Number-Format-1.52 Number::Format - Perl extension for formatting numbers bsdpan-Parse-Syslog-1.09 Parse::Syslog - Parse Unix syslog files bsdpan-Socket6-0.19 Socket6 - IPv6 related part of the C socket.h defines and s bsdpan-Text-Iconv-1.4 Text::Iconv - Perl interface to iconv() codeset conversion bsdpan-Unicode-String-2.09 Unicode::String - String of Unicode characters (UTF-16BE) bsdpan-XML-Parser-2.34 XML::Parser - A perl module for parsing XML documents bsdpan-libnet-1.20 Net::FTP - FTP Client class bsdpan-libwww-perl-5.805 LWP - The World-Wide Web library for Perl curl-7.15.5 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) db41-4.1.25_3 The Berkeley DB package, revision 4.1 exim-4.63 High performance MTA for Unix systems on the Internet expat-2.0.0_1 XML 1.0 parser written in C ezm3-1.2_1 Easier, more portable Modula-3 distribution for building CV fontconfig-2.3.2_6,1 An XML-based font configuration API for X Windows freetype2-2.2.1_1 A free and portable TrueType font rendering engine fribidi-0.10.7 A Free Implementation of the Unicode Bidirectional Algorith fuser-1142334561 POSIX fuser utility for FreeBSD gd-2.0.33_4,1 A graphics library for fast creation of images gettext-0.14.5_2 GNU gettext package gmake-3.81_1 GNU version of 'make' utility help2man-1.36.4_1 Automatically generating simple manual pages from program o imake-6.9.0 Imake and other utilities from X.Org ipa_ipfw-1.0.1 IPA accounting module for FreeBSD IP Firewall ispell-3.2.06_15 An interactive spelling checker for multiple languages jpeg-6b_4 IJG's jpeg compression utilities libart_lgpl-2.3.17_1 Library for high-performance 2D graphics libdrm-2.0.2 Userspace interface to kernel Direct Rendering Module servi libiconv-1.9.2_2 A character set conversion library libidn-0.6.7 Internationalized Domain Names command line tool libltdl-1.5.22 System independent dlopen wrapper libmcrypt-2.5.7_2 Multi-cipher cryptographic library (used in PHP) libspf2-1.2.5_1 Sender Rewriting Scheme 2 C Implementation libtool-1.5.22_2 Generic shared library support script libxml2-2.6.26 XML parser library for GNOME libxslt-1.1.17 The XSLT C library for GNOME linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) logrotate-3.7_4 Daemon to rotate, compress, remove and mail system log file m4-1.4.4 GNU m4 mailman-2.1.9 A mailing list manager (MLM) with a user-friendly web front mhash-0.9.7.1 An easy-to-use library for strong hashes such as MD5 and SH mod_python-3.2.10 Apache module that embeds the Python interpreter within the mpack-1.6_1 External MIME packer/unpacker mysql-client-4.1.21 Multithreaded SQL database (client) mysql-scripts-4.1.21 Multithreaded SQL database (scripts) mysql-server-4.1.21 Multithreaded SQL database (server) mytop-1.4_1 A top clone for MySQL net-snmp-5.2.3_3 An extendable SNMP implementation p5-Archive-Zip-1.16 Perl module to create, manipulate, read, and write Zip arch p5-Array-Compare-1.13 Perl extension for comparing arrays p5-Authen-SASL-2.10_1 Perl5 module for SASL authentication p5-BerkeleyDB-0.30 Perl5 interface to the Berkeley DB package p5-CGI-SpeedyCGI-2.22_3 Speed up perl CGI scripts by running them persistently p5-CGI.pm-3.25,1 Simple Common Gateway Interface Class for Perl p5-Compress-Zlib-1.42 Perl5 interface to zlib compression library p5-Convert-ASN1-0.20 Perl5 module to encode and decode ASN.1 data structures p5-Crypt-CipherSaber-1.00 Perl module providing an OO interface to CipherSaber encryp p5-DBD-mysql41-3.0007 MySQL 4.1 driver for the Perl5 Database Interface (DBI) p5-DBI-1.52 The perl5 Database Interface. Required for DBD::* modules p5-Digest-1.15 Modules that calculate message digests p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms p5-Digest-MD5-2.36 Perl5 interface to the MD5 algorithm p5-Event-1.06 A Generic Perl Event Loop p5-File-Temp-0.17_1 Perl5 module to generate temporary files or directories saf p5-Filter-1.32 A number of source filters for perl5 programs p5-GSSAPI-0.23 Perl extension providing access to the GSSAPIv2 library p5-Locale-libintl-1.16 Internationalization library for Perl p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings p5-Msgcat-1.03 Perl module for systems to support the XPG4 message catalog p5-Net-LibIDN-0.09 This module provides access to the libidn library p5-POE-0.3800 Multitasking and networking framework for perl p5-POE-Component-RRDTool-0.18 POE interface to Round Robin Database Tools p5-PathTools-3.21 A Perl module for portably manipulating file specifications p5-Scalar-List-Utils-1.18,1 Perl subroutines that would be nice to have in the perl cor p5-Storable-2.15 Persistency for perl data structures p5-Sub-Uplevel-0.13 Sub::Uplevel - apparently run a function in a higher stack p5-Term-ANSIColor-1.11 Color screen output using ANSI escape sequences p5-Term-ReadKey-2.30 A perl5 module for simple terminal control p5-Test-Exception-0.22 Test::Exception - test functions for exception based code p5-Test-Harness-2.64 Run perl standard test scripts with statistics p5-Test-Simple-0.64 Basic utilities for writing tests in perl p5-Test-Warn-0.08_1 Perl extension to test methods for warnings p5-Time-HiRes-1.91,1 A perl5 module implementing High resolution time, sleep, an p5-Tree-DAG_Node-1.05 Super class for representing nodes in a tree p5-URI-1.35 Perl5 interface to Uniform Resource Identifier (URI) refere p5-XML-NamespaceSupport-1.09_1 A simple generic namespace support class p5-XML-SAX-0.14 Simple API for XML p5-gettext-1.05_1 Message handling functions p5-perl-ldap-0.33 A Client interface to LDAP servers pcre-6.7 Perl Compatible Regular Expressions library pear-1.4.11 PEAR framework for PHP pear-HTML_Common-1.2.2 PEAR::HTML_Common is a base class for other HTML classes pear-HTML_QuickForm-3.2.6 Provide methods for creating, validating and processing HTM pecl-PDO-1.0.3 PHP Data Objects Interface pecl-fileinfo-1.0.3 A PECL extension to retrieve info about files pecl-fribidi-1.0 A PECL extension for the unicode Bidi algorithm perl-5.8.8 Practical Extraction and Report Language php4-4.4.4_1 PHP Scripting Language (Apache Module and CLI) php4-4.4.7_1 PHP Scripting Language (Apache Module and CLI) php4-bz2-4.4.4_1 The bz2 shared extension for php php4-ctype-4.4.4_1 The ctype shared extension for php php4-curl-4.4.4_1 The curl shared extension for php php4-domxml-4.4.4_1 The domxml shared extension for php php4-extensions-1.0 A "meta-port" to install PHP extensions php4-ftp-4.4.4_1 The ftp shared extension for php php4-gd-4.4.4_1 The gd shared extension for php php4-gettext-4.4.4_1 The gettext shared extension for php php4-iconv-4.4.4_1 The iconv shared extension for php php4-mcrypt-4.4.4_1 The mcrypt shared extension for php php4-mysql-4.4.4_1 The mysql shared extension for php php4-openssl-4.4.4_1 The openssl shared extension for php php4-overload-4.4.4_1 The overload shared extension for php php4-pcre-4.4.4_1 The pcre shared extension for php php4-session-4.4.4_1 The session shared extension for php php4-snmp-4.4.4_1 The snmp shared extension for php php4-sockets-4.4.4_1 The sockets shared extension for php php4-tokenizer-4.4.4_1 The tokenizer shared extension for php php4-xml-4.4.4_1 The xml shared extension for php php4-zlib-4.4.4_1 The zlib shared extension for php php5-bz2-5.1.6_3 The bz2 shared extension for php php5-calendar-5.1.6_3 The calendar shared extension for php php5-ctype-5.1.6_3 The ctype shared extension for php php5-curl-5.1.6_3 The curl shared extension for php php5-dom-5.1.6_3 The dom shared extension for php php5-extensions-1.0 A "meta-port" to install PHP extensions php5-filepro-5.1.6_3 The filepro shared extension for php php5-ftp-5.1.6_3 The ftp shared extension for php php5-gd-5.1.6_3 The gd shared extension for php php5-gettext-5.1.6_3 The gettext shared extension for php php5-iconv-5.1.6_3 The iconv shared extension for php php5-mbstring-5.1.6_3 The mbstring shared extension for php php5-mcrypt-5.1.6_3 The mcrypt shared extension for php php5-mhash-5.1.6_3 The mhash shared extension for php php5-mysql-5.1.6_3 The mysql shared extension for php php5-openssl-5.1.6_3 The openssl shared extension for php php5-pcre-5.1.6_3 The pcre shared extension for php php5-posix-5.1.6_3 The posix shared extension for php php5-session-5.1.6_3 The session shared extension for php php5-simplexml-5.1.6_3 The simplexml shared extension for php php5-sqlite-5.1.6_3 The sqlite shared extension for php php5-tokenizer-5.1.6_3 The tokenizer shared extension for php php5-xml-5.1.6_3 The xml shared extension for php php5-xmlreader-5.1.6_3 The xmlreader shared extension for php php5-xmlwriter-5.1.6_3 The xmlwriter shared extension for php php5-zlib-5.1.6_3 The zlib shared extension for php pico-4.64 PIne's message COmposition editor pkg-config-0.21 A utility to retrieve information about installed libraries png-1.2.12_1 Library for manipulating PNG images popt-1.7_1 A getopt(3) like library with a number of enhancements, fro proftpd-1.3.0_2 Highly configurable ftp daemon python24-2.4.3_3 An interpreted object-oriented programming language python25-2.5_1 An interpreted object-oriented programming language razor-agents-2.82 A distributed, collaborative, spam detection and filtering rrdtool-1.2.15 Round Robin Database Tools suphp-0.5.2_2 Securely execute PHP scripts sympa-4.1.2_3 Sympa is an electronic mailing list manager t1lib-5.1.0_1,1 A Type 1 Rasterizer Library for UNIX/X11 trafshow-5.2.3,1 Full screen visualization of network traffic unzip-5.52_2 List, test and extract compressed files in a ZIP archive vm-pop3d-1.1.6_1 A virtual POP3 server webalizer-2.1.10_7 A web server log file analysis program xorg-libraries-6.9.0 X11 libraries and headers from X.Org Thanks, -Grant From hostmaster at quinn.com Tue Jan 6 16:20:50 2009 From: hostmaster at quinn.com (Fred Condo) Date: Tue Jan 6 16:20:57 2009 Subject: pkg_info & php In-Reply-To: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> References: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> Message-ID: On Tue, Jan 6, 2009 at 7:47 AM, Grant Peel wrote: > Hi all, > > I am getting 'segmentation faults' when using php (apache module) on a server that recently had php 4 instlalled when php 5 was already there. > > /var/log/httpd-error.log: > > [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exit signal Segmentation fault (11) > > Is there a way to completely remove all hints of php 5? Do you think this would stop the segmentation faults? > > Uname -a: > > FreeBSD servername 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 02:59:38 EST 2007 ... i386 > > Output of pkg_info: > [snip list of pkg_info output] > > > Thanks, > > -Grant It sounds like you need fixphpextorder.sh: http://www.pingle.org/2006/10 From kdk at daleco.biz Tue Jan 6 16:51:26 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Tue Jan 6 16:51:34 2009 Subject: pkg_info & php In-Reply-To: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> References: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> Message-ID: <49638BDF.6030106@daleco.biz> Grant Peel wrote: > Hi all, > > I am getting 'segmentation faults' when using php (apache module) on a server > that recently had php 4 instlalled when php 5 was already there. > > /var/log/httpd-error.log: > > [Tue Jan 06 09:44:39 2009] [notice] child pid 8209 exit signal Segmentation fault (11) > > Is there a way to completely remove all hints of php 5? Do you think this would stop the segmentation faults? IANAE, but (and I don't intend a personal offense) this is a very convoluted configuration. Having PHP4 and PHP5 side by side isn't something I'd try on one box; too much chance of the extensions overlapping one another, and this would be a prime cause of a segfault --- that is, PHP5, just as an example, might be attempting to use an "extension.so" that was compiled against PHP4, or vice-versa, and such a problem is the usual cause of such errors. My $0.02. There is a good possibility that doing the following would help: *Pick one version or the other, probably v 5, as v4 is EOL'ed. *Uninstall both versions and Apache, and all php-extension ports. *Reinstall the PHP$n port with Apache module enabled via OPTIONS. *Reinstall the correct php-extension ports. HTH, Kevin Kinsey PS > once again, a fitting .sig. Is our randomizer not random enough? Or something more sinister? > Uname -a: > > FreeBSD servername 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 02:59:38 EST 2007 ... i386 > > Output of pkg_info: > > apache-2.2.3 Version 2.2 of Apache web server with prefork MPM. > apachetop-0.12.6 Apache RealTime log stats > autoconf-2.59_2 Automatically configure source code on many Un*x platforms > bind95-base-9.5.0.2 The BIND DNS suite with updated DNSSEC and threads > bsdpan-Archive-Tar-1.30 Archive::Tar - module for manipulations of tar archives > bsdpan-Authen-PAM-0.16 Authen::PAM - Perl interface to PAM library > bsdpan-CGI-SpeedyCGI-2.22 SpeedyCGI - Speed up perl scripts by running them persisten > bsdpan-Compress-Raw-Zlib-2.004 Compress::Raw::Zlib - Low-Level Interface to zlib compressi > bsdpan-Compress-Zlib-2.004 Compress::Zlib - Interface to zlib compression library > bsdpan-Crypt-CBC-2.14 Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode > bsdpan-Crypt-CBC-2.22 Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode > bsdpan-Crypt-DES-2.05 Crypt::DES - Perl DES encryption module > bsdpan-Crypt-SSLeay-0.53 Crypt::SSLeay - OpenSSL glue that provides LWP https suppor > bsdpan-Date-Calc-5.4 Unknown perl module > bsdpan-Date-Manip-5.44 Unknown perl module > bsdpan-Digest-1.15 Digest - Modules that calculate message digests > bsdpan-Digest-HMAC-1.01 Digest::HMAC - Keyed-Hashing for Message Authentication > bsdpan-Digest-MD5-2.36 Digest::MD5 - Perl interface to the MD5 Algorithm > bsdpan-Digest-Nilsimsa-0.06 Digest::Nilsimsa - Perl version of Nilsimsa code > bsdpan-Digest-SHA1-2.11 Digest::SHA1 - Perl interface to the SHA-1 algorithm > bsdpan-ExtUtils-CBuilder-0.18 ExtUtils::CBuilder - Compile and link C code for Perl modul > bsdpan-ExtUtils-ParseXS-2.18 ExtUtils::ParseXS - converts Perl XS code into C code > bsdpan-HTML-Parser-3.56 HTML::Parser - HTML parser class > bsdpan-HTML-Tagset-3.10 HTML::Tagset - data tables useful in parsing HTML > bsdpan-HTML-Template-2.9 HTML::Template - Perl module to use HTML Templates from CGI > bsdpan-IO-Compress-Base-2.004 IO::Compress::Base - Base Class for IO::Compress modules > bsdpan-IO-Compress-Zlib-2.004 IO::Compress::Gzip - Write RFC 1952 files/buffers > bsdpan-IO-Socket-INET6-2.51 IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 d > bsdpan-IO-Socket-SSL-1.02 IO::Socket::SSL -- Nearly transparent SSL encapsulation for > bsdpan-IO-Tty-1.07 IO::Tty - Low-level allocate a pseudo-Tty, import constants > bsdpan-IO-Zlib-1.05 IO::Zlib - IO:: style interface to L > bsdpan-IO-stringy-2.110 IO-stringy - I/O on in-core objects like strings and arrays > bsdpan-Locale-gettext-1.01 gettext - message handling functions > bsdpan-MD5-2.03 MD5 - Perl interface to the MD5 Message-Digest Algorithm > bsdpan-MIME-Base64-3.07 MIME::Base64 - Encoding and decoding of base64 strings > bsdpan-MIME-tools-5.420 MIME-tools - modules for parsing (and creating!) MIME entit > bsdpan-Mail-SpamAssassin-3.001008 Mail::SpamAssassin - Spam detector and markup engine > bsdpan-MailTools-1.74 Mail::Cap - Parse mailcap files > bsdpan-Net-CIDR-Lite-0.20 Net::CIDR::Lite - Perl extension for merging IPv4 or IPv6 C > bsdpan-Net-DNS-0.59 Net::DNS - Perl interface to the DNS resolver > bsdpan-Net-IP-1.25 Net::IP - Perl extension for manipulating IPv4/IPv6 address > bsdpan-Net-Ident-1.20 Net::Ident - lookup the username on the remote end of a TCP > bsdpan-Net_SSLeay.pm-1.30 Net::SSLeay - Perl extension for using OpenSSL > bsdpan-Number-Format-1.52 Number::Format - Perl extension for formatting numbers > bsdpan-Parse-Syslog-1.09 Parse::Syslog - Parse Unix syslog files > bsdpan-Socket6-0.19 Socket6 - IPv6 related part of the C socket.h defines and s > bsdpan-Text-Iconv-1.4 Text::Iconv - Perl interface to iconv() codeset conversion > bsdpan-Unicode-String-2.09 Unicode::String - String of Unicode characters (UTF-16BE) > bsdpan-XML-Parser-2.34 XML::Parser - A perl module for parsing XML documents > bsdpan-libnet-1.20 Net::FTP - FTP Client class > bsdpan-libwww-perl-5.805 LWP - The World-Wide Web library for Perl > curl-7.15.5 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) > db41-4.1.25_3 The Berkeley DB package, revision 4.1 > exim-4.63 High performance MTA for Unix systems on the Internet > expat-2.0.0_1 XML 1.0 parser written in C > ezm3-1.2_1 Easier, more portable Modula-3 distribution for building CV > fontconfig-2.3.2_6,1 An XML-based font configuration API for X Windows > freetype2-2.2.1_1 A free and portable TrueType font rendering engine > fribidi-0.10.7 A Free Implementation of the Unicode Bidirectional Algorith > fuser-1142334561 POSIX fuser utility for FreeBSD > gd-2.0.33_4,1 A graphics library for fast creation of images > gettext-0.14.5_2 GNU gettext package > gmake-3.81_1 GNU version of 'make' utility > help2man-1.36.4_1 Automatically generating simple manual pages from program o > imake-6.9.0 Imake and other utilities from X.Org > ipa_ipfw-1.0.1 IPA accounting module for FreeBSD IP Firewall > ispell-3.2.06_15 An interactive spelling checker for multiple languages > jpeg-6b_4 IJG's jpeg compression utilities > libart_lgpl-2.3.17_1 Library for high-performance 2D graphics > libdrm-2.0.2 Userspace interface to kernel Direct Rendering Module servi > libiconv-1.9.2_2 A character set conversion library > libidn-0.6.7 Internationalized Domain Names command line tool > libltdl-1.5.22 System independent dlopen wrapper > libmcrypt-2.5.7_2 Multi-cipher cryptographic library (used in PHP) > libspf2-1.2.5_1 Sender Rewriting Scheme 2 C Implementation > libtool-1.5.22_2 Generic shared library support script > libxml2-2.6.26 XML parser library for GNOME > libxslt-1.1.17 The XSLT C library for GNOME > linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) > logrotate-3.7_4 Daemon to rotate, compress, remove and mail system log file > m4-1.4.4 GNU m4 > mailman-2.1.9 A mailing list manager (MLM) with a user-friendly web front > mhash-0.9.7.1 An easy-to-use library for strong hashes such as MD5 and SH > mod_python-3.2.10 Apache module that embeds the Python interpreter within the > mpack-1.6_1 External MIME packer/unpacker > mysql-client-4.1.21 Multithreaded SQL database (client) > mysql-scripts-4.1.21 Multithreaded SQL database (scripts) > mysql-server-4.1.21 Multithreaded SQL database (server) > mytop-1.4_1 A top clone for MySQL > net-snmp-5.2.3_3 An extendable SNMP implementation > p5-Archive-Zip-1.16 Perl module to create, manipulate, read, and write Zip arch > p5-Array-Compare-1.13 Perl extension for comparing arrays > p5-Authen-SASL-2.10_1 Perl5 module for SASL authentication > p5-BerkeleyDB-0.30 Perl5 interface to the Berkeley DB package > p5-CGI-SpeedyCGI-2.22_3 Speed up perl CGI scripts by running them persistently > p5-CGI.pm-3.25,1 Simple Common Gateway Interface Class for Perl > p5-Compress-Zlib-1.42 Perl5 interface to zlib compression library > p5-Convert-ASN1-0.20 Perl5 module to encode and decode ASN.1 data structures > p5-Crypt-CipherSaber-1.00 Perl module providing an OO interface to CipherSaber encryp > p5-DBD-mysql41-3.0007 MySQL 4.1 driver for the Perl5 Database Interface (DBI) > p5-DBI-1.52 The perl5 Database Interface. Required for DBD::* modules > p5-Digest-1.15 Modules that calculate message digests > p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms > p5-Digest-MD5-2.36 Perl5 interface to the MD5 algorithm > p5-Event-1.06 A Generic Perl Event Loop > p5-File-Temp-0.17_1 Perl5 module to generate temporary files or directories saf > p5-Filter-1.32 A number of source filters for perl5 programs > p5-GSSAPI-0.23 Perl extension providing access to the GSSAPIv2 library > p5-Locale-libintl-1.16 Internationalization library for Perl > p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings > p5-Msgcat-1.03 Perl module for systems to support the XPG4 message catalog > p5-Net-LibIDN-0.09 This module provides access to the libidn library > p5-POE-0.3800 Multitasking and networking framework for perl > p5-POE-Component-RRDTool-0.18 POE interface to Round Robin Database Tools > p5-PathTools-3.21 A Perl module for portably manipulating file specifications > p5-Scalar-List-Utils-1.18,1 Perl subroutines that would be nice to have in the perl cor > p5-Storable-2.15 Persistency for perl data structures > p5-Sub-Uplevel-0.13 Sub::Uplevel - apparently run a function in a higher stack > p5-Term-ANSIColor-1.11 Color screen output using ANSI escape sequences > p5-Term-ReadKey-2.30 A perl5 module for simple terminal control > p5-Test-Exception-0.22 Test::Exception - test functions for exception based code > p5-Test-Harness-2.64 Run perl standard test scripts with statistics > p5-Test-Simple-0.64 Basic utilities for writing tests in perl > p5-Test-Warn-0.08_1 Perl extension to test methods for warnings > p5-Time-HiRes-1.91,1 A perl5 module implementing High resolution time, sleep, an > p5-Tree-DAG_Node-1.05 Super class for representing nodes in a tree > p5-URI-1.35 Perl5 interface to Uniform Resource Identifier (URI) refere > p5-XML-NamespaceSupport-1.09_1 A simple generic namespace support class > p5-XML-SAX-0.14 Simple API for XML > p5-gettext-1.05_1 Message handling functions > p5-perl-ldap-0.33 A Client interface to LDAP servers > pcre-6.7 Perl Compatible Regular Expressions library > pear-1.4.11 PEAR framework for PHP > pear-HTML_Common-1.2.2 PEAR::HTML_Common is a base class for other HTML classes > pear-HTML_QuickForm-3.2.6 Provide methods for creating, validating and processing HTM > pecl-PDO-1.0.3 PHP Data Objects Interface > pecl-fileinfo-1.0.3 A PECL extension to retrieve info about files > pecl-fribidi-1.0 A PECL extension for the unicode Bidi algorithm > perl-5.8.8 Practical Extraction and Report Language > php4-4.4.4_1 PHP Scripting Language (Apache Module and CLI) > php4-4.4.7_1 PHP Scripting Language (Apache Module and CLI) > php4-bz2-4.4.4_1 The bz2 shared extension for php > php4-ctype-4.4.4_1 The ctype shared extension for php > php4-curl-4.4.4_1 The curl shared extension for php > php4-domxml-4.4.4_1 The domxml shared extension for php > php4-extensions-1.0 A "meta-port" to install PHP extensions > php4-ftp-4.4.4_1 The ftp shared extension for php > php4-gd-4.4.4_1 The gd shared extension for php > php4-gettext-4.4.4_1 The gettext shared extension for php > php4-iconv-4.4.4_1 The iconv shared extension for php > php4-mcrypt-4.4.4_1 The mcrypt shared extension for php > php4-mysql-4.4.4_1 The mysql shared extension for php > php4-openssl-4.4.4_1 The openssl shared extension for php > php4-overload-4.4.4_1 The overload shared extension for php > php4-pcre-4.4.4_1 The pcre shared extension for php > php4-session-4.4.4_1 The session shared extension for php > php4-snmp-4.4.4_1 The snmp shared extension for php > php4-sockets-4.4.4_1 The sockets shared extension for php > php4-tokenizer-4.4.4_1 The tokenizer shared extension for php > php4-xml-4.4.4_1 The xml shared extension for php > php4-zlib-4.4.4_1 The zlib shared extension for php > php5-bz2-5.1.6_3 The bz2 shared extension for php > php5-calendar-5.1.6_3 The calendar shared extension for php > php5-ctype-5.1.6_3 The ctype shared extension for php > php5-curl-5.1.6_3 The curl shared extension for php > php5-dom-5.1.6_3 The dom shared extension for php > php5-extensions-1.0 A "meta-port" to install PHP extensions > php5-filepro-5.1.6_3 The filepro shared extension for php > php5-ftp-5.1.6_3 The ftp shared extension for php > php5-gd-5.1.6_3 The gd shared extension for php > php5-gettext-5.1.6_3 The gettext shared extension for php > php5-iconv-5.1.6_3 The iconv shared extension for php > php5-mbstring-5.1.6_3 The mbstring shared extension for php > php5-mcrypt-5.1.6_3 The mcrypt shared extension for php > php5-mhash-5.1.6_3 The mhash shared extension for php > php5-mysql-5.1.6_3 The mysql shared extension for php > php5-openssl-5.1.6_3 The openssl shared extension for php > php5-pcre-5.1.6_3 The pcre shared extension for php > php5-posix-5.1.6_3 The posix shared extension for php > php5-session-5.1.6_3 The session shared extension for php > php5-simplexml-5.1.6_3 The simplexml shared extension for php > php5-sqlite-5.1.6_3 The sqlite shared extension for php > php5-tokenizer-5.1.6_3 The tokenizer shared extension for php > php5-xml-5.1.6_3 The xml shared extension for php > php5-xmlreader-5.1.6_3 The xmlreader shared extension for php > php5-xmlwriter-5.1.6_3 The xmlwriter shared extension for php > php5-zlib-5.1.6_3 The zlib shared extension for php > pico-4.64 PIne's message COmposition editor > pkg-config-0.21 A utility to retrieve information about installed libraries > png-1.2.12_1 Library for manipulating PNG images > popt-1.7_1 A getopt(3) like library with a number of enhancements, fro > proftpd-1.3.0_2 Highly configurable ftp daemon > python24-2.4.3_3 An interpreted object-oriented programming language > python25-2.5_1 An interpreted object-oriented programming language > razor-agents-2.82 A distributed, collaborative, spam detection and filtering > rrdtool-1.2.15 Round Robin Database Tools > suphp-0.5.2_2 Securely execute PHP scripts > sympa-4.1.2_3 Sympa is an electronic mailing list manager > t1lib-5.1.0_1,1 A Type 1 Rasterizer Library for UNIX/X11 > trafshow-5.2.3,1 Full screen visualization of network traffic > unzip-5.52_2 List, test and extract compressed files in a ZIP archive > vm-pop3d-1.1.6_1 A virtual POP3 server > webalizer-2.1.10_7 A web server log file analysis program > xorg-libraries-6.9.0 X11 libraries and headers from X.Org > > > Thanks, > > -Grant -- Most of your faults are not your fault. From psteele at maxiscale.com Tue Jan 6 17:01:51 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Jan 6 17:02:02 2009 Subject: Do UDP broadcasts work in FreeBSD? Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing under FreeBSD? From fbsd.questions at rachie.is-a-geek.net Tue Jan 6 17:01:56 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 17:02:03 2009 Subject: Transparent SOCKS proxy (server side)? In-Reply-To: <200901061649.25762.naylor.b.david@gmail.com> References: <200901061649.25762.naylor.b.david@gmail.com> Message-ID: <200901060801.54425.fbsd.questions@rachie.is-a-geek.net> On Tuesday 06 January 2009 05:49:22 David Naylor wrote: > Hi, > > My ISP's NAT, unfortunately, does not work more than it does. This is a > problem as I need to provide 'direct' internet access for the computers > inside my network. > > I would like to set up a transparent SOCKS proxy (similar to transparent > HTTP proxy, aka squid) on the server. Does anyone know how to do this (and > which ports to use)? This needs to be a server side solution since I am > unable to implement this on the clients... http://www.freshports.org/net/dante/ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From wojtek at wojtek.tensor.gdynia.pl Tue Jan 6 17:31:19 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jan 6 17:31:26 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> Message-ID: <20090106183054.S35209@wojtek.tensor.gdynia.pl> why 255.255.255.255 not your net broadcast address? On Tue, 6 Jan 2009, Peter Steele wrote: > Our efforts so far indicate the answer is no, which baffles us. We want > to send a limited broadcast to 255.255.255.255 but the message never > arrives. The same code works fine under Linux. Is there a trick for > doing this kind of thing under 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" > > From mail at ozzmosis.com Tue Jan 6 18:16:36 2009 From: mail at ozzmosis.com (andrew clarke) Date: Tue Jan 6 18:16:45 2009 Subject: pkg_info & php In-Reply-To: <49638BDF.6030106@daleco.biz> References: <0F74711494B84F919580F5CAC333A2D1@GRANTPC> <49638BDF.6030106@daleco.biz> Message-ID: <20090106181634.GA18409@ozzmosis.com> On Tue 2009-01-06 10:50:39 UTC-0600, Kevin Kinsey (kdk@daleco.biz) wrote: > IANAE, but (and I don't intend a personal offense) this is a very > convoluted configuration. Having PHP4 and PHP5 side by side isn't > something I'd try on one box Presumably one could make use of FreeBSD's jails then run different versions of PHP within separate jails on the one box. I have no personal experience with that sort of setup but it May be an option for the OP. From naylor.b.david at gmail.com Tue Jan 6 19:07:20 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Tue Jan 6 19:07:27 2009 Subject: Transparent SOCKS proxy (server side)? In-Reply-To: <200901060801.54425.fbsd.questions@rachie.is-a-geek.net> References: <200901061649.25762.naylor.b.david@gmail.com> <200901060801.54425.fbsd.questions@rachie.is-a-geek.net> Message-ID: 2009/1/6 Mel : > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: >> Hi, >> >> My ISP's NAT, unfortunately, does not work more than it does. This is a >> problem as I need to provide 'direct' internet access for the computers >> inside my network. >> >> I would like to set up a transparent SOCKS proxy (similar to transparent >> HTTP proxy, aka squid) on the server. Does anyone know how to do this (and >> which ports to use)? This needs to be a server side solution since I am >> unable to implement this on the clients... > > http://www.freshports.org/net/dante/ As far as I know dante can only be made "transparent" with the use of client side software (such as the libsocks.so libraries under *nix) and not from the server side (i.e. tunneling the traffic through a SOCKS proxy). The way I think of it is similar to NAT (in the capturing of traffic)? Or am I missing something? David From perrin at apotheon.com Tue Jan 6 19:32:24 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jan 6 19:32:30 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090106102124.O34151@wojtek.tensor.gdynia.pl> References: <20090102164412.GA1258@phenom.cordula.ws> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> <200901052258.39785.fbsd.questions@rachie.is-a-geek.net> <20090106102124.O34151@wojtek.tensor.gdynia.pl> Message-ID: <20090106193126.GA82164@kokopelli.hydra> On Tue, Jan 06, 2009 at 10:22:29AM +0100, Wojciech Puchar wrote: > >>someone like the FreeBSD Foundation as an appropriate body to own the > >>cert. > > > > > >I would actually trust a self-signed cert by the FreeBSD security officer, > >more then one by Verisign. > of course. > > there is no need to have an "authority" to make key pairs, everybody do it > alone. > > actually i would fear using such keys because i'm sure such companies do > have a copy of both keys. Out-of-band corroboration of a certificate's authenticity is kind of necessary to the security model of SSL/TLS. A self-signed certificate, in and of itself, is not really sufficient to ensure the absence of a man in the middle attack or other compromise of the system. On the other hand, I don't trust Verisign, either. I believe some steps are being made by the Perpsectives [1] project that lead in the right direction [2]. Unfortunately, it's not available at present for FreeBSD, because the Firefox plugin depends on a binary executable compiled from C, and my (brief) discussion with one of the people involved in the project about the potential of porting it to FreeBSD didn't really bear fruit. NOTES: [1] http://www.cs.cmu.edu/~perspectives/index.html [2] http://blogs.techrepublic.com.com/security/?p#571 -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Anonymous: "Why do we never have time to do it right, but always have time to do it over?" -------------- 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/20090106/1971d5c9/attachment.pgp From fbsd.questions at rachie.is-a-geek.net Tue Jan 6 19:40:20 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 19:40:27 2009 Subject: Transparent SOCKS proxy (server side)? In-Reply-To: References: <200901061649.25762.naylor.b.david@gmail.com> <200901060801.54425.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200901061040.18483.fbsd.questions@rachie.is-a-geek.net> On Tuesday 06 January 2009 10:07:17 David Naylor wrote: > 2009/1/6 Mel : > > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: > >> Hi, > >> > >> My ISP's NAT, unfortunately, does not work more than it does. This is a > >> problem as I need to provide 'direct' internet access for the computers > >> inside my network. > >> > >> I would like to set up a transparent SOCKS proxy (similar to transparent > >> HTTP proxy, aka squid) on the server. Does anyone know how to do this > >> (and which ports to use)? This needs to be a server side solution since > >> I am unable to implement this on the clients... > > > > http://www.freshports.org/net/dante/ > > As far as I know dante can only be made "transparent" with the use of > client side software (such as the libsocks.so libraries under *nix) and not > from the server side (i.e. tunneling the traffic through a SOCKS proxy). > The way I think of > it is similar to NAT (in the capturing of traffic)? > > Or am I missing something? In pf terms: rdr traffic, or use something like this: http://bayxao.wordpress.com/2007/03/18/transparent-socks-proxy-client/ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From OttK at zzz.ee Tue Jan 6 19:49:44 2009 From: OttK at zzz.ee (=?ISO-8859-1?Q?Ott_K=F6stner?=) Date: Tue Jan 6 19:49:53 2009 Subject: GEOM: da0: corrupt or invalid GPT detected. Message-ID: <4963B5D0.6080906@zzz.ee> Dear List! I have such a problem (or is it a problem?): # dmesg | grep da0 da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 1430481MB (2929625088 512 byte sectors: 255H 63S/T 182360C) GEOM: da0: corrupt or invalid GPT detected. GEOM: da0: GPT rejected -- may not be recoverable. Trying to mount root from ufs:/dev/da0s1a System is 7.0 amd64. Just a fresh install. The problem appeared with sysinstall. The message appeared: "WARNING: A geometry of 182360/255/63 for da0 is incorrect. Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now." Never seen something like this before, when installing FreeBSD. Do not see eny 'Documentation submenu' in sysinstall. How can I fix it? Everything seems to work OK, exept these messages. I am just about to build world and new kernel... regards, O.K. From fbsd.questions at rachie.is-a-geek.net Tue Jan 6 20:11:55 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jan 6 20:12:02 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090106193126.GA82164@kokopelli.hydra> References: <20090102164412.GA1258@phenom.cordula.ws> <20090106102124.O34151@wojtek.tensor.gdynia.pl> <20090106193126.GA82164@kokopelli.hydra> Message-ID: <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> On Tuesday 06 January 2009 10:31:26 Chad Perrin wrote: > On Tue, Jan 06, 2009 at 10:22:29AM +0100, Wojciech Puchar wrote: > > >>someone like the FreeBSD Foundation as an appropriate body to own the > > >>cert. > > > > > > > > >I would actually trust a self-signed cert by the FreeBSD security > > > officer, more then one by Verisign. > > > > of course. > > > > there is no need to have an "authority" to make key pairs, everybody do > > it alone. > > > > actually i would fear using such keys because i'm sure such companies do > > have a copy of both keys. > > Out-of-band corroboration of a certificate's authenticity is kind of > necessary to the security model of SSL/TLS. A self-signed certificate, > in and of itself, is not really sufficient to ensure the absence of a man > in the middle attack or other compromise of the system. > > On the other hand, I don't trust Verisign, either. In the less virtual world, we only trust governments to provide identity papers (manufactured by companies, but still the records are kept and verified by a government entity). Instead of trying to regulate the internet and provide a penal system, governments would do much better taking their responsibility on these issues. It shouldn't be so hard to give every citizen the option to "get an online certificate corresponding with their passport" and similarly for Chambers of Commerce to provide certificates for businesses. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From peter.piggybox at virgin.net Tue Jan 6 20:15:30 2009 From: peter.piggybox at virgin.net (Peter Harrison) Date: Tue Jan 6 20:15:37 2009 Subject: iwi on 7-STABLE In-Reply-To: <4961115C.3010005@intersonic.se> References: <495AA573.4020303@intersonic.se> <20081230233350.GA4401@laptop.piggybox> <495AC5AF.5060408@intersonic.se> <20090104145107.GA1005@laptop.piggybox> <4961115C.3010005@intersonic.se> Message-ID: <20090106201529.GA1004@laptop.piggybox> Sunday, 4 January 2009 at 20:43:24 +0100, Per olof Ljungmark said: > Peter Harrison wrote: > >Wednesday, 31 December 2008 at 2:06:55 +0100, Per olof Ljungmark said: > >>Peter Harrison wrote: > >>>Tuesday, 30 December 2008 at 23:49:23 +0100, Per olof Ljungmark said: > >>> > >>>>Hi all, > >>>> > >>>>Here I am away with the family visiting friends and I REALLY need > >>>>to get the iwi if up and running. > >>>> > >>>>It's a recently updated system (7.1RC2). Read the man pages, tried > >>>>different variations on legal.intel_iwi.license_ack=1, iwi_load, > >>>>firmware_load etc. in /boot/loader.conf but I cannot get a > >>>>connection to the router. > >>>> > >>>>It used to work on this box with my basic config, a Thinkpad T42, > >>>>and it still does with XP. > >>>> > >>>>The interface is associated to the access point ok. > >>>> > >>>>Anyone who can hint me on how to debug this? Would sysctl > >>>>debug.iwi.0=1 help? Of course, ANY information is of interest. Does > >>>>iwi have a problem with certain routers? > >>>> > >>>>Sorry, no config files, I'm without connectivity when booting > >>>>FreeBSD... > >>>> > >>>>Any help appriciated! > >>>I don't know whether iwi has issues with particular routers, however > >>>I do have it working on 7-STABLE i386 without difficulty. > >>> > >>>Does it help to see the relevant bits from my config? > >>> > >>>/boot/loader.conf: > >>> > >>>if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES > >>>iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 > >>> > >>>/etc/rc.conf: > >>> > >>>ifconfig_iwi0="inet 192.168.1.4 netmask 255.255.255.0 ssid > >>>*********** bssid 00:14:bf:94:1e:75 channel 11 wepmode on wepkey > >>>**************************** deftxkey 1" > >>> > >>>(yes, I know I shouldn't still be using WEP). > >>> > >>>Works without difficult connecting to a Linksys router. > >>> > >>>I did have some difficulty I seem to recall when I turned off SSID > >>>broadcast on the router. I'd suggest trying with all the security > >>>turned off if you haven't already to see if you can connect at all, > >>>and then reintroduce the security measures later. > >>Thanks for your reply. > >> > >>Your config is identical to mine. I think something fishy is going on > >>here but don't know what it is - yet.. > >> > >>The router is a Netgear WNR854T. > > > >Have you tried running without WEP or WPA and with the router broadcasting > >the SSID, to test whether that's the issue? > > > > Yes, did that. In all the cases I've tested iwi is associated but no IP. > Several XP boxes works fine with same router and settings. A guess then > would be that the problem lies with the routers DHCP server rather than > the wireless. > > Now back home, I tried same config with our Linksys router and no problem. > > I could not find anything odd or unusual in the setup for the Netgear so > why this happened is still obscure to me. > Well that leaves me a bit stumped too I'm afraid. It could just be a compatibility issue with the router - possibly worth noting that I'm also successfully using a Linksys here. Have you tried assigning a static IP address? Peter Harrison. > -- > per > _______________________________________________ > 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 kirqui at yahoo.com.br Tue Jan 6 20:38:43 2009 From: kirqui at yahoo.com.br (Gustavo Millani) Date: Tue Jan 6 20:38:50 2009 Subject: schedule the test Message-ID: <460916.94585.qm@web30107.mail.mud.yahoo.com> Hi, Where can I schedule the test for certification? I found the site of Prometric and Vue. Gustavo Millani Brazil, Porto Alegre Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com From cswiger at mac.com Tue Jan 6 20:50:55 2009 From: cswiger at mac.com (Chuck Swiger) Date: Tue Jan 6 20:51:03 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> Message-ID: <69A0F543-74D4-4D38-A0A5-A0EDE87A3DBB@mac.com> On Jan 6, 2009, at 8:49 AM, Peter Steele wrote: > Our efforts so far indicate the answer is no, which baffles us. We > want > to send a limited broadcast to 255.255.255.255 but the message never > arrives. The same code works fine under Linux. Is there a trick for > doing this kind of thing under FreeBSD? What you're trying to do with sending to the all-ones broadcast address is known as sending a "link-local" packet. On some systems, sending a UDP packet to 255.255.255.255 will actually cause a packet with that destination to be generated from all network interfaces which are "UP". That seems to be the behavior you are expecting. On FreeBSD, IIRC, the behavior you get is that it will send to the local network broadcast address for each interface [1] using the network broadcast address (ie, if an interface is configured for 10.1.1.1 with /16 netmask, the packet will have destination 10.1.255.255). If an interface is UP but not configured with an IP +netmask, I don't believe a packet will be sent. (In fact, it might depend upon whether the BROADCAST flag is enabled, which gets set when an inet-enabled interface is setup with a netmask...) Arguably, this is a bug in FreeBSD, but you can work around it by using the BPF interface to send the traffic directly rather than using the network stack via socket()+send()/write(). I believe the ISC DHCP server software provides examples of how to do this, as dhclient is commonly used to send DHCP requests to the all-ones broadcast addr, without needing an interface being configured with an IP.... -- -Chuck [1]: And I could be mis-remembering that part; it might do a routing table lookup and use only the interface which matches the destination IP, which is probably the default route. From naylor.b.david at gmail.com Tue Jan 6 20:53:10 2009 From: naylor.b.david at gmail.com (David Naylor) Date: Tue Jan 6 20:53:16 2009 Subject: Transparent SOCKS proxy (server side)? In-Reply-To: <200901061040.18483.fbsd.questions@rachie.is-a-geek.net> References: <200901061649.25762.naylor.b.david@gmail.com> <200901060801.54425.fbsd.questions@rachie.is-a-geek.net> <200901061040.18483.fbsd.questions@rachie.is-a-geek.net> Message-ID: 2009/1/6 Mel : > On Tuesday 06 January 2009 10:07:17 David Naylor wrote: >> 2009/1/6 Mel : >> > On Tuesday 06 January 2009 05:49:22 David Naylor wrote: >> >> Hi, >> >> >> >> My ISP's NAT, unfortunately, does not work more than it does. This is a >> >> problem as I need to provide 'direct' internet access for the computers >> >> inside my network. >> >> >> >> I would like to set up a transparent SOCKS proxy (similar to transparent >> >> HTTP proxy, aka squid) on the server. Does anyone know how to do this >> >> (and which ports to use)? This needs to be a server side solution since >> >> I am unable to implement this on the clients... >> > >> > http://www.freshports.org/net/dante/ >> >> As far as I know dante can only be made "transparent" with the use of >> client side software (such as the libsocks.so libraries under *nix) and not >> from the server side (i.e. tunneling the traffic through a SOCKS proxy). >> The way I think of >> it is similar to NAT (in the capturing of traffic)? >> >> Or am I missing something? > > In pf terms: rdr traffic, or use something like this: > http://bayxao.wordpress.com/2007/03/18/transparent-socks-proxy-client/ The above link only talks about client side solutions. I could see how rdr (which I understand to be the same as NAT?) could work, except it needs to be redirected to a program that then routes the traffic through the socks server? I have not been able to find such a program (and the above socks clients only act as a wrapper for other programs?). Perhaps a simple program that gets the redirected incoming traffic [like squid does] but then just connects to the destination server (with a socks wrapper doing the routing through the socks server)??? Or just a socks based solution? David From psteele at maxiscale.com Tue Jan 6 21:29:08 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Jan 6 21:29:15 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <69A0F543-74D4-4D38-A0A5-A0EDE87A3DBB@mac.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> <69A0F543-74D4-4D38-A0A5-A0EDE87A3DBB@mac.com> Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F2479E3F@polaris.maxiscale.com> > What you're trying to do with sending to the all-ones broadcast > address is known as sending a "link-local" packet. On some systems, > sending a UDP packet to 255.255.255.255 will actually cause a packet > with that destination to be generated from all network interfaces > which are "UP". That seems to be the behavior you are expecting. Yes it is. This is the behavior I've seen on every system I've used for 20+ years, except for FreeBSD. > On FreeBSD, IIRC, the behavior you get is that it will send to the > local network broadcast address for each interface [1] using the > network broadcast address (ie, if an interface is configured for > 10.1.1.1 with /16 netmask, the packet will have destination > 10.1.255.255). If an interface is UP but not configured with an IP > +netmask, I don't believe a packet will be sent. (In fact, it might > depend upon whether the BROADCAST flag is enabled, which gets set when > an inet-enabled interface is setup with a netmask...) In our case our systems have no IP identity of any kind, and we don't want to have to rely on whether or not our customers have a DHCP server available. So we've come up with our own "light" DHCP. It works fine for Linux and Windows. Not FreeBSD though. > Arguably, this is a bug in FreeBSD I don't think there is any doubt about that. And from what I understand it even used to work under FreeBSD a few years ago. > but you can work around it by > using the BPF interface to send the traffic directly rather than using > the network stack via socket()+send()/write(). I believe the ISC DHCP > server software provides examples of how to do this, as dhclient is > commonly used to send DHCP requests to the all-ones broadcast addr, > without needing an interface being configured with an IP.... I've already looked at the ISC DHCP source code. They use raw sockets to send their broadcasts, which seems to us to be a convoluted way of sending a simple broadcast. I've seen examples of DHCP client/server code written in Java using standard UDP. Unfortunately, our own system is already largely implemented in Java/Python, so we'll need to provide a JNI interface to support raw sockets. Alternatively we may patch the kernel to fix the bug at its source. From jhass88 at gmail.com Tue Jan 6 21:42:29 2009 From: jhass88 at gmail.com (Johann Hasselbach) Date: Tue Jan 6 21:42:37 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 Message-ID: I was doing a src upgrade from 7.0 to 7.1 After installkernel, i rebooted, and accidently ran "mergemaster" instead of "mergemaster -p" before installworld. I ctrl-c'd once I realized what I had done, but the damage was done. It seems to have overwritten my password and group files. I successfully copied groups, passwd, master.passwd, pwd.db, and spwd.db from a recent backup and everything looks okay now. Did I damage anything else? From gpagnoni at gmail.com Tue Jan 6 22:03:51 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Tue Jan 6 22:03:59 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT Message-ID: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> Dear all, I have just installed FreeBSD 7.1 Release on a machine with a GeForce 8500 GT (I think this is the card, but more about that later...) and an LCD screen with a native resolution of 1680 x 1050. Xorg works fine with the standard "nv" driver. However, if I try to install the x11/nvidia-driver (which should bring better graphic performance, right?) I get a total system freeze when I start the X server. Here are the details of what I have done: 1) install x11/nvidia-driver 2) add nvidia_load="YES" to /boot/loader.conf 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the Driver line. At this point (after rebooting), if I start the X server with startx, I get a black screen and the system *completely* hangs (neither ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to get back the system is to power it off and on (which corrupts the filesystem because it has not been properly dismounted). I also looked at the xorg log file in: /var/log/Xorg.0.log Interestingly it seems to detect the card as a GeForce 9500 GT rather than a 8500 GT (which makes me wonder whether I got the right info from the vendor receipt): (--) Assigning device section with no busID to primary device (--) Chipset GeForce 9500 GT found But this should not be an issue because in the same log file it says that both GeForce 8500 GT and GeForce 9500 GT are supported by the "nv" driver. As for the monitor, the xorg log file says: II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0 (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, PixClock max 150 MHz(II) NV(0): Monitor name: L226WA (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end 1840 h_border: 0 (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1080 v_border: 0 Then the log file says: (II) NV(0): Output VGA1 disconnected (II) NV(0): Output DVI0 disconnected (II) NV(0): Output VGA2 disconnected (II) NV(0): Output DVI1 connected (II) NV(0): Output DVI1 using initial mode 1680x1050 (--) NV(0): Virtual size is 1680x1680 (pitch 1792) (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), 65.3 kHz, 60.0 Hz (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), 64.7 kHz, 59.9 Hz (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), 80.0 kHz, 75.0 Hz (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), 63.7 kHz, 59.9 Hz (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), 70.6 kHz, 75.0 Hz (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync (70.6 kHz) (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), 55.9 kHz, 59.9 Hz (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz) (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), 59.7 kHz, 59.9 Hz (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync (59.7 kHz) (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 67.5 kHz, 75.0 Hz (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), 67.7 kHz, 74.8 Hz (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync (67.7 kHz) (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), 60.1 kHz, 75.1 Hz (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.1 kHz) (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), 49.7 kHz, 74.6 Hz (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), 46.9 kHz, 75.0 Hz (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.5 kHz, 75.0 Hz (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), 31.5 kHz, 70.1 Hz (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (==) NV(0): DPI set to (96, 96) After this rather long post (I apologize), I have two simple questions: 1) is there a way to use the "nvidia" driver on this system? 2) is it worthwhile or does "nv" work just as well? Thanks in advance for any help or suggestion. best giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From mlobo at digiart.art.br Tue Jan 6 22:07:09 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Tue Jan 6 22:07:27 2009 Subject: USB printer problem [SOLVED] Message-ID: <200901061907.12439.mlobo@digiart.art.br> On Tuesday 06 January 2009 10:57:27 you wrote: > Your PPD is probably wrong ... > > Accorfing to: > http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.ht >ml > > Your printer is fully supported. But the right PPD seem to be: DJ3320 > > Get into the cups web interface, remove your printer and set a new one with > the right values. > > Use this as your uri: hp:/usb/Deskjet_D1500_series?serial=BR8AEFN0N0058V > Use this as your PPD: DJ3320 > > Let's how that goes ;) > > Please Mario, don't leave alone ! I just _want_ to see you got your printer > up and runnig :) > So do not hesitate in getting bac to me if you run into a wen problem. > We _will_ sort it out :) > > Worst case scenario, your gonna have to wait until FreeBSD port catches up > with the lates hplip release.... > > Best regards mario wrote: > > I replaced the ppd and still no go: > > Description: HP Deskjet D1500 series > Location: Local Printer > Printer Driver: HP DeskJet 3320 Foomatic/hpijs (recommended) > Printer State: idle, accepting jobs, published. > Device URI: hp:/usb/Deskjet_D1500_series?serial=BR8AEFN0N0058V > > > All I get is: > > "/usr/local/libexec/cups/filter/foomatic-rip failed" > > and again nothing gets printed. IT WORKED !! I finalinally found what was wrong !. the error i was getting was: Ghostscript 8.63: Can't start ijs server "hpijs" then I found this bug report for ghostscript: ------------------------------------------ From-To: freebsd-ports-bugs->doceng By: pav When: Wed Nov 12 16:19:39 UTC 2008 Why: Assign to maintainer Reply via E-mail From: Peter Orlowski Date: Tue, 18 Nov 2008 16:41:30 +0100 This seems to be related to the pthread lib. Setting STDLIBS=-lm SYNC=nosync in work/ghostscript8.63/src/Makefile.in fixes the error. ------------------------------------------ That did it. The printer now works perfectly ! Thanks Gonzalo for your ever-lasting good will, patience and support ! God bless you ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From pprocacci at datapipe.com Tue Jan 6 22:21:38 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Tue Jan 6 22:21:47 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> Message-ID: <4963D96E.7090700@datapipe.com> Giuseppe Pagnoni wrote: > Dear all, > > I have just installed FreeBSD 7.1 Release on a machine with a GeForce > 8500 GT (I think this is the card, but more about that later...) and > an LCD screen with a native resolution of 1680 x 1050. > > Xorg works fine with the standard "nv" driver. However, if I try to > install the x11/nvidia-driver (which should bring better graphic > performance, right?) I get a total system freeze when I start the X > server. > > Here are the details of what I have done: > > 1) install x11/nvidia-driver > 2) add nvidia_load="YES" to /boot/loader.conf > 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the > Driver line. > > At this point (after rebooting), if I start the X server with startx, > I get a black screen and the system *completely* hangs (neither > ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to > get back the system is to power it off and on (which corrupts the > filesystem because it has not been properly dismounted). > > I also looked at the xorg log file in: > > /var/log/Xorg.0.log > > Interestingly it seems to detect the card as a GeForce 9500 GT rather > than a 8500 GT (which makes me wonder whether I got the right info > from the vendor receipt): > > (--) Assigning device section with no busID to primary device > (--) Chipset GeForce 9500 GT found > > But this should not be an issue because in the same log file it says > that both GeForce 8500 GT and GeForce 9500 GT are supported by the > "nv" driver. > > As for the monitor, the xorg log file says: > > II) NV(0): Supported additional Video Mode: > (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm > (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end > 2240 h_border: 0 > (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: > 1089 v_border: 0 > (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, > PixClock max 150 MHz(II) > > NV(0): Monitor name: L226WA > (II) NV(0): Supported additional Video Mode: > (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm > (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end > 1840 h_border: 0 > (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: > 1080 v_border: 0 > > Then the log file says: > > (II) NV(0): Output VGA1 disconnected > (II) NV(0): Output DVI0 disconnected > (II) NV(0): Output VGA2 disconnected > (II) NV(0): Output DVI1 connected > (II) NV(0): Output DVI1 using initial mode 1680x1050 > (--) NV(0): Virtual size is 1680x1680 (pitch 1792) > (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), > 65.3 kHz, 60.0 Hz > (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 > 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) > (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), > 64.7 kHz, 59.9 Hz > (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 > 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) > (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), > 80.0 kHz, 75.0 Hz > (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 > 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) > (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), > 63.7 kHz, 59.9 Hz > (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 > 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) > (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), > 70.6 kHz, 75.0 Hz > (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 > 903 909 942 -hsync +vsync (70.6 kHz) > (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), > 55.9 kHz, 59.9 Hz > (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 > 903 909 934 -hsync +vsync (55.9 kHz) > (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), > 59.7 kHz, 59.9 Hz > (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 > 963 967 996 -hsync +vsync (59.7 kHz) > (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), > 67.5 kHz, 75.0 Hz > (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 > 865 868 900 +hsync +vsync (67.5 kHz) > (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), > 67.7 kHz, 74.8 Hz > (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 > 867 871 905 -hsync +vsync (67.7 kHz) > (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), > 60.1 kHz, 75.1 Hz > (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 > 769 772 800 +hsync +vsync (60.1 kHz) > (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), > 48.4 kHz, 60.0 Hz > (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 > 771 777 806 -hsync -vsync (48.4 kHz) > (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), > 49.7 kHz, 74.6 Hz > (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 > 628 667 -hsync -vsync (49.7 kHz) > (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), > 46.9 kHz, 75.0 Hz > (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 > 604 625 +hsync +vsync (46.9 kHz) > (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), > 37.9 kHz, 60.3 Hz > (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 > 605 628 +hsync +vsync (37.9 kHz) > (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), > 35.2 kHz, 56.2 Hz > (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 > 603 625 +hsync +vsync (35.2 kHz) > (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), > 37.5 kHz, 75.0 Hz > (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 > 484 500 -hsync -vsync (37.5 kHz) > (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), > 31.5 kHz, 60.0 Hz > (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 > 492 525 -hsync -vsync (31.5 kHz) > (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), > 31.5 kHz, 70.1 Hz > (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 > 414 449 -hsync +vsync (31.5 kHz) > (==) NV(0): DPI set to (96, 96) > > > After this rather long post (I apologize), I have two simple questions: > 1) is there a way to use the "nvidia" driver on this system? > 2) is it worthwhile or does "nv" work just as well? > > Thanks in advance for any help or suggestion. > > best > > giuseppe > > > How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of memory OR PAE enabled kernels. Nvidia's forums have lots more information regarding this. From psteele at maxiscale.com Tue Jan 6 22:38:28 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Jan 6 22:38:36 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F2479E3F@polaris.maxiscale.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com><69A0F543-74D4-4D38-A0A5-A0EDE87A3DBB@mac.com> <2ACA3DE8F9758A48B8BE2C7A847F91F2479E3F@polaris.maxiscale.com> Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F2479E56@polaris.maxiscale.com> > I've already looked at the ISC DHCP source code. They use raw sockets to > send their broadcasts, which seems to us to be a convoluted way of > sending a simple broadcast. I've seen examples of DHCP client/server > code written in Java using standard UDP. Unfortunately, our own system > is already largely implemented in Java/Python, so we'll need to provide > a JNI interface to support raw sockets. Alternatively we may patch the > kernel to fix the bug at its source. Another option we're considering is to use the firewall to detect broadcasts and rewrite the MAC addresses in the outgoing packets. In looking at tcpdump output of broadcasts, the IP address is set to 255.255.255.255 and the MAC address is set to the MAC address of the gateway. On Linux boxes the MAC address is ff:ff:ff:ff:ff:ff, and that's the only significant difference in the packet. We thought we might be able to come up with a firewall rule to detect broadcasts and change the MAC address to the same as what Linux uses. I'm still in the process of researching this, but if someone can tell me this is impossible, I'll move on. From gpagnoni at gmail.com Tue Jan 6 22:55:27 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Tue Jan 6 22:55:33 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <4963D96E.7090700@datapipe.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963D96E.7090700@datapipe.com> Message-ID: <92056ebc0901061455r10bc4c53wee01d10e2fb96a7f@mail.gmail.com> Hello, well that is interesting. I do have 4 Gigs of RAM but I thought that the nvidia driver would not work only if the 64 bit version of FreeBSD was installed. I installed the i386 version, so I assumed that I was just wasting some memory. In case I would want to use the nvidia driver, would you suggest to remove 1GB stick of RAM? thank you very much On Tue, Jan 6, 2009 at 11:21 PM, Paul Procacci wrote: > Giuseppe Pagnoni wrote: >> >> Dear all, >> >> I have just installed FreeBSD 7.1 Release on a machine with a GeForce >> 8500 GT (I think this is the card, but more about that later...) and >> an LCD screen with a native resolution of 1680 x 1050. >> >> Xorg works fine with the standard "nv" driver. However, if I try to >> install the x11/nvidia-driver (which should bring better graphic >> performance, right?) I get a total system freeze when I start the X >> server. >> >> Here are the details of what I have done: >> >> 1) install x11/nvidia-driver >> 2) add nvidia_load="YES" to /boot/loader.conf >> 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the >> Driver line. >> >> At this point (after rebooting), if I start the X server with startx, >> I get a black screen and the system *completely* hangs (neither >> ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to >> get back the system is to power it off and on (which corrupts the >> filesystem because it has not been properly dismounted). >> >> I also looked at the xorg log file in: >> >> /var/log/Xorg.0.log >> >> Interestingly it seems to detect the card as a GeForce 9500 GT rather >> than a 8500 GT (which makes me wonder whether I got the right info >> from the vendor receipt): >> >> (--) Assigning device section with no busID to primary device >> (--) Chipset GeForce 9500 GT found >> >> But this should not be an issue because in the same log file it says >> that both GeForce 8500 GT and GeForce 9500 GT are supported by the >> "nv" driver. >> >> As for the monitor, the xorg log file says: >> >> II) NV(0): Supported additional Video Mode: >> (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm >> (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end >> 2240 h_border: 0 >> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >> 1089 v_border: 0 >> (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, >> PixClock max 150 MHz(II) >> >> NV(0): Monitor name: L226WA >> (II) NV(0): Supported additional Video Mode: >> (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm >> (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end >> 1840 h_border: 0 >> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >> 1080 v_border: 0 >> >> Then the log file says: >> >> (II) NV(0): Output VGA1 disconnected >> (II) NV(0): Output DVI0 disconnected >> (II) NV(0): Output VGA2 disconnected >> (II) NV(0): Output DVI1 connected >> (II) NV(0): Output DVI1 using initial mode 1680x1050 >> (--) NV(0): Virtual size is 1680x1680 (pitch 1792) >> (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), >> 65.3 kHz, 60.0 Hz >> (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 >> 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) >> (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), >> 64.7 kHz, 59.9 Hz >> (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 >> 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) >> (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), >> 80.0 kHz, 75.0 Hz >> (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 >> 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) >> (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), >> 63.7 kHz, 59.9 Hz >> (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 >> 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) >> (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), >> 70.6 kHz, 75.0 Hz >> (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 >> 903 909 942 -hsync +vsync (70.6 kHz) >> (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), >> 55.9 kHz, 59.9 Hz >> (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 >> 903 909 934 -hsync +vsync (55.9 kHz) >> (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), >> 59.7 kHz, 59.9 Hz >> (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 >> 963 967 996 -hsync +vsync (59.7 kHz) >> (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), >> 67.5 kHz, 75.0 Hz >> (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 >> 865 868 900 +hsync +vsync (67.5 kHz) >> (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), >> 67.7 kHz, 74.8 Hz >> (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 >> 867 871 905 -hsync +vsync (67.7 kHz) >> (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), >> 60.1 kHz, 75.1 Hz >> (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 >> 769 772 800 +hsync +vsync (60.1 kHz) >> (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), >> 48.4 kHz, 60.0 Hz >> (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 >> 771 777 806 -hsync -vsync (48.4 kHz) >> (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), >> 49.7 kHz, 74.6 Hz >> (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 >> 628 667 -hsync -vsync (49.7 kHz) >> (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), >> 46.9 kHz, 75.0 Hz >> (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 >> 604 625 +hsync +vsync (46.9 kHz) >> (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), >> 37.9 kHz, 60.3 Hz >> (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 >> 605 628 +hsync +vsync (37.9 kHz) >> (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), >> 35.2 kHz, 56.2 Hz >> (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 >> 603 625 +hsync +vsync (35.2 kHz) >> (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), >> 37.5 kHz, 75.0 Hz >> (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 >> 484 500 -hsync -vsync (37.5 kHz) >> (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), >> 31.5 kHz, 60.0 Hz >> (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 >> 492 525 -hsync -vsync (31.5 kHz) >> (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), >> 31.5 kHz, 70.1 Hz >> (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 >> 414 449 -hsync +vsync (31.5 kHz) >> (==) NV(0): DPI set to (96, 96) >> >> >> After this rather long post (I apologize), I have two simple questions: >> 1) is there a way to use the "nvidia" driver on this system? >> 2) is it worthwhile or does "nv" work just as well? >> >> Thanks in advance for any help or suggestion. >> >> best >> >> giuseppe >> >> >> > > How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of > memory OR PAE enabled kernels. Nvidia's forums have lots more information > regarding this. > -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From stanb at panix.com Tue Jan 6 22:57:00 2009 From: stanb at panix.com (stan) Date: Tue Jan 6 22:57:07 2009 Subject: PHP setup question In-Reply-To: <20090106034523.GA25207@the-grills.com> References: <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> Message-ID: <20090106225658.GA26755@teddy.fas.com> On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you sugested, and all went well untill I pushed the "Write > > Config" button at Step 2. At this point I was offered teh option fo > > downlaoding to the machine that I was running the web browser on this config > > file. Since this is where I got hung up last. I stoped to ask what I am doing > > wrong. If I download this file, and put it in the config directory, based > > upon previous behavior the setup process will refuse to run, because the > > config file exists. > > > > What basic misunderstanding do I ahve here? > > I'm out of advice. I'd strongly advise that you seek help from the Ampache > developers / community (http://ampache.org/). You'll be on topic there, and > surely get more advice. I have posted the following to the Install forum over there. Perhaps someone can explain how the step 2 to step 3 transition in the web based installer is "supposed" to work. I must admit, I have no clue how it's supposed to work -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From pprocacci at datapipe.com Tue Jan 6 23:46:51 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Tue Jan 6 23:47:09 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <92056ebc0901061455r10bc4c53wee01d10e2fb96a7f@mail.gmail.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963D96E.7090700@datapipe.com> <92056ebc0901061455r10bc4c53wee01d10e2fb96a7f@mail.gmail.com> Message-ID: <4963ED66.4050309@datapipe.com> Giuseppe Pagnoni wrote: > Hello, > > well that is interesting. I do have 4 Gigs of RAM but I thought that > the nvidia driver would not work only if the 64 bit version of FreeBSD > was installed. I installed the i386 version, so I assumed that I was > just wasting some memory. In case I would want to use the nvidia > driver, would you suggest to remove 1GB stick of RAM? > > thank you very much > > > > On Tue, Jan 6, 2009 at 11:21 PM, Paul Procacci wrote: > >> Giuseppe Pagnoni wrote: >> >>> Dear all, >>> >>> I have just installed FreeBSD 7.1 Release on a machine with a GeForce >>> 8500 GT (I think this is the card, but more about that later...) and >>> an LCD screen with a native resolution of 1680 x 1050. >>> >>> Xorg works fine with the standard "nv" driver. However, if I try to >>> install the x11/nvidia-driver (which should bring better graphic >>> performance, right?) I get a total system freeze when I start the X >>> server. >>> >>> Here are the details of what I have done: >>> >>> 1) install x11/nvidia-driver >>> 2) add nvidia_load="YES" to /boot/loader.conf >>> 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the >>> Driver line. >>> >>> At this point (after rebooting), if I start the X server with startx, >>> I get a black screen and the system *completely* hangs (neither >>> ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to >>> get back the system is to power it off and on (which corrupts the >>> filesystem because it has not been properly dismounted). >>> >>> I also looked at the xorg log file in: >>> >>> /var/log/Xorg.0.log >>> >>> Interestingly it seems to detect the card as a GeForce 9500 GT rather >>> than a 8500 GT (which makes me wonder whether I got the right info >>> from the vendor receipt): >>> >>> (--) Assigning device section with no busID to primary device >>> (--) Chipset GeForce 9500 GT found >>> >>> But this should not be an issue because in the same log file it says >>> that both GeForce 8500 GT and GeForce 9500 GT are supported by the >>> "nv" driver. >>> >>> As for the monitor, the xorg log file says: >>> >>> II) NV(0): Supported additional Video Mode: >>> (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm >>> (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end >>> 2240 h_border: 0 >>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>> 1089 v_border: 0 >>> (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, >>> PixClock max 150 MHz(II) >>> >>> NV(0): Monitor name: L226WA >>> (II) NV(0): Supported additional Video Mode: >>> (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm >>> (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end >>> 1840 h_border: 0 >>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>> 1080 v_border: 0 >>> >>> Then the log file says: >>> >>> (II) NV(0): Output VGA1 disconnected >>> (II) NV(0): Output DVI0 disconnected >>> (II) NV(0): Output VGA2 disconnected >>> (II) NV(0): Output DVI1 connected >>> (II) NV(0): Output DVI1 using initial mode 1680x1050 >>> (--) NV(0): Virtual size is 1680x1680 (pitch 1792) >>> (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), >>> 65.3 kHz, 60.0 Hz >>> (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 >>> 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) >>> (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), >>> 64.7 kHz, 59.9 Hz >>> (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 >>> 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) >>> (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), >>> 80.0 kHz, 75.0 Hz >>> (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 >>> 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) >>> (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), >>> 63.7 kHz, 59.9 Hz >>> (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 >>> 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) >>> (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), >>> 70.6 kHz, 75.0 Hz >>> (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 >>> 903 909 942 -hsync +vsync (70.6 kHz) >>> (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), >>> 55.9 kHz, 59.9 Hz >>> (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 >>> 903 909 934 -hsync +vsync (55.9 kHz) >>> (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), >>> 59.7 kHz, 59.9 Hz >>> (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 >>> 963 967 996 -hsync +vsync (59.7 kHz) >>> (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), >>> 67.5 kHz, 75.0 Hz >>> (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 >>> 865 868 900 +hsync +vsync (67.5 kHz) >>> (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), >>> 67.7 kHz, 74.8 Hz >>> (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 >>> 867 871 905 -hsync +vsync (67.7 kHz) >>> (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), >>> 60.1 kHz, 75.1 Hz >>> (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 >>> 769 772 800 +hsync +vsync (60.1 kHz) >>> (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), >>> 48.4 kHz, 60.0 Hz >>> (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 >>> 771 777 806 -hsync -vsync (48.4 kHz) >>> (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), >>> 49.7 kHz, 74.6 Hz >>> (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 >>> 628 667 -hsync -vsync (49.7 kHz) >>> (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), >>> 46.9 kHz, 75.0 Hz >>> (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 >>> 604 625 +hsync +vsync (46.9 kHz) >>> (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), >>> 37.9 kHz, 60.3 Hz >>> (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 >>> 605 628 +hsync +vsync (37.9 kHz) >>> (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), >>> 35.2 kHz, 56.2 Hz >>> (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 >>> 603 625 +hsync +vsync (35.2 kHz) >>> (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), >>> 37.5 kHz, 75.0 Hz >>> (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 >>> 484 500 -hsync -vsync (37.5 kHz) >>> (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), >>> 31.5 kHz, 60.0 Hz >>> (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 >>> 492 525 -hsync -vsync (31.5 kHz) >>> (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), >>> 31.5 kHz, 70.1 Hz >>> (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 >>> 414 449 -hsync +vsync (31.5 kHz) >>> (==) NV(0): DPI set to (96, 96) >>> >>> >>> After this rather long post (I apologize), I have two simple questions: >>> 1) is there a way to use the "nvidia" driver on this system? >>> 2) is it worthwhile or does "nv" work just as well? >>> >>> Thanks in advance for any help or suggestion. >>> >>> best >>> >>> giuseppe >>> >>> >>> >>> >> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of >> memory OR PAE enabled kernels. Nvidia's forums have lots more information >> regarding this. >> >> > > > > I'm not sure of the internals exactly, but the amount of onboard memory plus the memory that comes with the card can't exceed 4G. (I could be wrong, but I think this is accurate). In this case, assuming you have a 512M card or similar then 3 Gigs of memory should work. I have seen reports of 2Gigs of memory working (i386) and am sure that works without problems. amd64 doesn't work at all, as you have already stated. If you have a requirement to use the nvidia based graphics driver, then you really don't have an alternative at this time, then to remove system memory from your main board. ~Paul From pprocacci at datapipe.com Tue Jan 6 23:51:23 2009 From: pprocacci at datapipe.com (Paul Procacci) Date: Tue Jan 6 23:51:31 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <4963ED66.4050309@datapipe.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963D96E.7090700@datapipe.com> <92056ebc0901061455r10bc4c53wee01d10e2fb96a7f@mail.gmail.com> <4963ED66.4050309@datapipe.com> Message-ID: <4963EE76.1050808@datapipe.com> Paul Procacci wrote: > Giuseppe Pagnoni wrote: >> Hello, >> >> well that is interesting. I do have 4 Gigs of RAM but I thought that >> the nvidia driver would not work only if the 64 bit version of FreeBSD >> was installed. I installed the i386 version, so I assumed that I was >> just wasting some memory. In case I would want to use the nvidia >> driver, would you suggest to remove 1GB stick of RAM? >> >> thank you very much >> >> >> >> On Tue, Jan 6, 2009 at 11:21 PM, Paul Procacci >> wrote: >> >>> Giuseppe Pagnoni wrote: >>> >>>> Dear all, >>>> >>>> I have just installed FreeBSD 7.1 Release on a machine with a GeForce >>>> 8500 GT (I think this is the card, but more about that later...) and >>>> an LCD screen with a native resolution of 1680 x 1050. >>>> >>>> Xorg works fine with the standard "nv" driver. However, if I try to >>>> install the x11/nvidia-driver (which should bring better graphic >>>> performance, right?) I get a total system freeze when I start the X >>>> server. >>>> >>>> Here are the details of what I have done: >>>> >>>> 1) install x11/nvidia-driver >>>> 2) add nvidia_load="YES" to /boot/loader.conf >>>> 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the >>>> Driver line. >>>> >>>> At this point (after rebooting), if I start the X server with startx, >>>> I get a black screen and the system *completely* hangs (neither >>>> ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to >>>> get back the system is to power it off and on (which corrupts the >>>> filesystem because it has not been properly dismounted). >>>> >>>> I also looked at the xorg log file in: >>>> >>>> /var/log/Xorg.0.log >>>> >>>> Interestingly it seems to detect the card as a GeForce 9500 GT rather >>>> than a 8500 GT (which makes me wonder whether I got the right info >>>> from the vendor receipt): >>>> >>>> (--) Assigning device section with no busID to primary device >>>> (--) Chipset GeForce 9500 GT found >>>> >>>> But this should not be an issue because in the same log file it says >>>> that both GeForce 8500 GT and GeForce 9500 GT are supported by the >>>> "nv" driver. >>>> >>>> As for the monitor, the xorg log file says: >>>> >>>> II) NV(0): Supported additional Video Mode: >>>> (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm >>>> (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end >>>> 2240 h_border: 0 >>>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>>> 1089 v_border: 0 >>>> (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, >>>> PixClock max 150 MHz(II) >>>> >>>> NV(0): Monitor name: L226WA >>>> (II) NV(0): Supported additional Video Mode: >>>> (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm >>>> (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end >>>> 1840 h_border: 0 >>>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>>> 1080 v_border: 0 >>>> >>>> Then the log file says: >>>> >>>> (II) NV(0): Output VGA1 disconnected >>>> (II) NV(0): Output DVI0 disconnected >>>> (II) NV(0): Output VGA2 disconnected >>>> (II) NV(0): Output DVI1 connected >>>> (II) NV(0): Output DVI1 using initial mode 1680x1050 >>>> (--) NV(0): Virtual size is 1680x1680 (pitch 1792) >>>> (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), >>>> 65.3 kHz, 60.0 Hz >>>> (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 >>>> 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) >>>> (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), >>>> 64.7 kHz, 59.9 Hz >>>> (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 >>>> 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) >>>> (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), >>>> 80.0 kHz, 75.0 Hz >>>> (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 >>>> 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) >>>> (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), >>>> 63.7 kHz, 59.9 Hz >>>> (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 >>>> 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) >>>> (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), >>>> 70.6 kHz, 75.0 Hz >>>> (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 >>>> 903 909 942 -hsync +vsync (70.6 kHz) >>>> (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), >>>> 55.9 kHz, 59.9 Hz >>>> (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 >>>> 903 909 934 -hsync +vsync (55.9 kHz) >>>> (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), >>>> 59.7 kHz, 59.9 Hz >>>> (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 >>>> 963 967 996 -hsync +vsync (59.7 kHz) >>>> (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), >>>> 67.5 kHz, 75.0 Hz >>>> (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 >>>> 865 868 900 +hsync +vsync (67.5 kHz) >>>> (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), >>>> 67.7 kHz, 74.8 Hz >>>> (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 >>>> 867 871 905 -hsync +vsync (67.7 kHz) >>>> (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), >>>> 60.1 kHz, 75.1 Hz >>>> (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 >>>> 769 772 800 +hsync +vsync (60.1 kHz) >>>> (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), >>>> 48.4 kHz, 60.0 Hz >>>> (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 >>>> 771 777 806 -hsync -vsync (48.4 kHz) >>>> (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), >>>> 49.7 kHz, 74.6 Hz >>>> (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 >>>> 628 667 -hsync -vsync (49.7 kHz) >>>> (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), >>>> 46.9 kHz, 75.0 Hz >>>> (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 >>>> 604 625 +hsync +vsync (46.9 kHz) >>>> (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), >>>> 37.9 kHz, 60.3 Hz >>>> (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 >>>> 605 628 +hsync +vsync (37.9 kHz) >>>> (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), >>>> 35.2 kHz, 56.2 Hz >>>> (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 >>>> 603 625 +hsync +vsync (35.2 kHz) >>>> (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), >>>> 37.5 kHz, 75.0 Hz >>>> (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 >>>> 484 500 -hsync -vsync (37.5 kHz) >>>> (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), >>>> 31.5 kHz, 60.0 Hz >>>> (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 >>>> 492 525 -hsync -vsync (31.5 kHz) >>>> (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), >>>> 31.5 kHz, 70.1 Hz >>>> (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 >>>> 414 449 -hsync +vsync (31.5 kHz) >>>> (==) NV(0): DPI set to (96, 96) >>>> >>>> >>>> After this rather long post (I apologize), I have two simple >>>> questions: >>>> 1) is there a way to use the "nvidia" driver on this system? >>>> 2) is it worthwhile or does "nv" work just as well? >>>> >>>> Thanks in advance for any help or suggestion. >>>> >>>> best >>>> >>>> giuseppe >>>> >>>> >>>> >>>> >>> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of >>> memory OR PAE enabled kernels. Nvidia's forums have lots more >>> information >>> regarding this. >>> >>> >> >> >> >> > I'm not sure of the internals exactly, but the amount of onboard > memory plus the memory that comes with the card can't exceed 4G. (I > could be wrong, but I think this is accurate). In this case, assuming > you have a 512M card or similar then 3 Gigs of memory should work. I > have seen reports of 2Gigs of memory working (i386) and am sure that > works without problems. amd64 doesn't work at all, as you have > already stated. > > If you have a requirement to use the nvidia based graphics driver, > then you really don't have an alternative at this time, then to remove > system memory from your main board. > > ~Paul > _______________________________________________ > 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" Posting a follow-up to myself: http://www.nvnews.net/vbulletin/showthread.php?p=1700234 From eric at fly.com.sg Wed Jan 7 00:30:26 2009 From: eric at fly.com.sg (Eric) Date: Wed Jan 7 00:30:33 2009 Subject: Eric Yeo is no longer in FLY Entertainment Message-ID: <200901070019.n070JMZZ031691@fly.com.sg> Dear all, Please note that Eric Yeo is no longer an employee of FLY Entertainment with immediate effect. He no longer represent FLY or any of FLY's clients/entity for any matter. For further enquiries, please contact the following person in charge: Cindy Teo: cindy@fly.com.sg Keifer Ang: keifer@fly.com.sg Your mail concerning "Harddrill her today! FNUON" will be read by Cindy Teo. Thank you. FLY Entertainment Management From kalpin at muliahost.com Wed Jan 7 01:19:13 2009 From: kalpin at muliahost.com (kalpin@muliahost.com) Date: Wed Jan 7 01:19:39 2009 Subject: FreeBSD 7.0-Stable Crashed with Cacti In-Reply-To: <27ade5280901060612v3e8eeed7m428adaed9ff127f8@mail.gmail.com> References: <27ade5280901060612v3e8eeed7m428adaed9ff127f8@mail.gmail.com> Message-ID: <1231.203.153.106.5.1231291071.squirrel@www.muliahost.com> > On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen > wrote: >> Dear All, >> >> we face problem with running cacti on FreeBSD 7.0-Stable. From top >> command output: >> > > ----- > snip > ----- > >> We realized that all cacti process just eat my cpu and memory (STATE: >> pfault) and my server should be reboot. >> Is there any way how to fix it? >> >> Thank you >> >> Kalpin Erlangga Silaen > > Cacti runs the poller script using php. It looks like the poller > script is taking too long to finish, and it ends up having several > instances running at the same time. > I'd recommend that you look into the 'Spine' poller (formally known as > Cactid). It's a threading C program, which is _MUCH_ faster than php > will ever be. > _______________________________________________ Thank you for reply. I've change to spine poller. I'll try to update if we face same problem. thank's Kalpin Erlangga Silaen From realtracker at spamarrest.com Wed Jan 7 01:53:32 2009 From: realtracker at spamarrest.com (RealTracker) Date: Wed Jan 7 01:53:38 2009 Subject: Hold all the aces in love 73T5N (verification) In-Reply-To: <424581064.72546246517387@freebsd.org> Message-ID: <24873678.1231291946010.JavaMail.root@blk3slave> Message from RealTracker / Bericht van RealTracker

I'm protecting myself from receiving junk mail and spam.

Ik probeer mijzelf te beschermen tegen spam en ongewenste email. Klik op onderstaande link om het verzenden van je email te bevestigen (je dient dit ??nmaal uit te voeren, toekomstige emails worden automatisch doorgestuurd naar mijn emailadres). Alvast bedankt. Please click the link below to complete the verification process. You have to do this only once. http://www.spamarrest.com/a2?AQNlZwR4BQckqJImqTyioaANMaWyMJWmMP5ipzpj Spam Arrest - Take control of your inbox! http://www.spamarrest.com/affl?4022188 ------------------------------------------------------------ You are receiving this message in response to your email to RealTracker, a Spam Arrest customer. Spam Arrest requests that senders verify themselves before their email is delivered. When you click the above link, you will be taken to a page with a graphic on it. Simply read the word in the graphic, type it into the form, and you're verified. You have to do this only once per Spam Arrest customer. ------------------------------------------------------------ Below are the complete headers of the message that this email was generated in response to. Received: from mediahighway.net (unknown [82.161.231.2]) by mx1.spamarrest.com (Postfix) with ESMTP id E9B3CE2C7D2 for ; Tue, 6 Jan 2009 19:32:24 -0600 (CST) X-Deliver-To: business@realtracker.com Received: from buffalo.setup ([122.249.190.193]:4697) by mediahighway.net with [XMail 1.25 ESMTP Server] id for from ; Wed, 7 Jan 2009 02:30:00 +0100 Received: from [122.249.190.193] by mx1.freebsd.org; Wed, 7 Jan 2009 10:32:21 +0900 Date: Wed, 7 Jan 2009 10:32:21 +0900 From: "Maria H., Boston" X-Mailer: The Bat! (v3.62.03) Home Reply-To: questions@freebsd.org X-Priority: 3 (Normal) Message-ID: <424581064.72546246517387@freebsd.org> To: blair@realtracker.com Subject: Hold all the aces in love 73T5N MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 7bit Received-SPF: unknown(freebsd.org: domain of freebsd.org uses a mechanism not recognized by this client) ------------------------------------------------------------ Webmasters help stop spam and make 50%. http://www.spamarrest.com/affl?4022188/affiliates/index.jsp ------------------------------------------------------------ From steve at ibctech.ca Wed Jan 7 02:05:24 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 02:05:38 2009 Subject: Upgrade a USB-stick contained system Message-ID: <49640DE5.7090308@ibctech.ca> Hi everyone, I run numerous systems (mostly networking gear) from 2GB USB thumb sticks. These systems do not have hard disks. To update one of these systems, I'd generally copy the thumb drive filesystem to a hard disk in another PC, upgrade it, and then transfer the necessary data back to the USB drive. I'd like to change this approach. What I'd like to do, is boot the USB drive in another machine that has a hard drive, and mount any necessary directories for the duration of the upgrade into the USB drive (such as /usr/src, /usr/ports etc) from the hard drive. When I'm done, the cruft stays on the physical hard disk, while the upgraded system on the USB drive is physically replaced back into the original system. This is purely a disk-space issue on the USB disk. What I want to know, is *exactly* what _working_ directories/filesystems are required to build a new system... working directories that can be dissolved with no repercussions by using umount. Steve From stanb at panix.com Wed Jan 7 02:22:53 2009 From: stanb at panix.com (stan) Date: Wed Jan 7 02:23:01 2009 Subject: PHP setup question In-Reply-To: <20090106034523.GA25207@the-grills.com> References: <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> Message-ID: <20090107022251.GA31012@teddy.fas.com> On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > > > > Clearly I am still confused. :-( > > > > I just duid as you sugested, and all went well untill I pushed the "Write > > Config" button at Step 2. At this point I was offered teh option fo > > downlaoding to the machine that I was running the web browser on this config > > file. Since this is where I got hung up last. I stoped to ask what I am doing > > wrong. If I download this file, and put it in the config directory, based > > upon previous behavior the setup process will refuse to run, because the > > config file exists. > > > > What basic misunderstanding do I ahve here? > This thread represents an exmaple of exactly the problem I am facing. It appears as though this behavior can be triggered by running the wrong version of ampache. Can anyone confirm that the version in ports actually works? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From on at cs.ait.ac.th Wed Jan 7 02:56:56 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Jan 7 02:57:03 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> (message from Mel on Tue, 6 Jan 2009 11:11:52 -0900) References: <20090102164412.GA1258@phenom.cordula.ws> <20090106102124.O34151@wojtek.tensor.gdynia.pl> <20090106193126.GA82164@kokopelli.hydra> <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200901070256.n072uhqW043681@banyan.cs.ait.ac.th> Hi, > It shouldn't be so hard to give every citizen the option to "get an online > certificate corresponding with their passport" and similarly for Chambers of > Commerce to provide certificates for businesses. Only that would mean that 200 countries become Certificate Authorities and tens of thousand of Chamber of Commerce become too. Would you be ready to trust some very remote Chamber of Commerce of some thrid world country to be a a thrustworthy CA? Not to mention that to manage these so many CA, you need an infrastructure that is yet to be deployed. Best, Olivier From steve at ibctech.ca Wed Jan 7 03:01:56 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 03:02:04 2009 Subject: PHP setup question In-Reply-To: <20090107022251.GA31012@teddy.fas.com> References: <20090104035556.GB28994@teddy.fas.com> <20090104040943.GB13260@the-grills.com> <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> Message-ID: <49641B26.3070905@ibctech.ca> stan wrote: > On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: >> On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: >>> Clearly I am still confused. :-( >>> >>> I just duid as you sugested, and all went well untill I pushed the "Write >>> Config" button at Step 2. At this point I was offered teh option fo >>> downlaoding to the machine that I was running the web browser on this config >>> file. Since this is where I got hung up last. I stoped to ask what I am doing >>> wrong. If I download this file, and put it in the config directory, based >>> upon previous behavior the setup process will refuse to run, because the >>> config file exists. >>> >>> What basic misunderstanding do I ahve here? > This thread represents an exmaple of exactly the problem I am facing. It > appears as though this behavior can be triggered by running the wrong > version of ampache. > > Can anyone confirm that the version in ports actually works? Stan, It appears as though you are bouncing off the walls to find a solution. Did you contact the appropriate list as prescribed by Kelly? Can you document a well-defined approach in regards to the installation methods you need to follow to reach the goal you are after? If so, email it to the list, starting with your base OS version. I'll help you out with a test platform if you can get things organized. Steve From fbsd.questions at rachie.is-a-geek.net Wed Jan 7 04:20:49 2009 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed Jan 7 04:20:56 2009 Subject: OT: The future of CA's (Was: Re: Foiling MITM attacks on source and ports trees) In-Reply-To: <200901070256.n072uhqW043681@banyan.cs.ait.ac.th> References: <20090102164412.GA1258@phenom.cordula.ws> <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> <200901070256.n072uhqW043681@banyan.cs.ait.ac.th> Message-ID: <200901061920.34312.fbsd.questions@rachie.is-a-geek.net> On Tuesday 06 January 2009 17:56:43 Olivier Nicole wrote: > Hi, > > > It shouldn't be so hard to give every citizen the option to "get an > > online certificate corresponding with their passport" and similarly for > > Chambers of Commerce to provide certificates for businesses. > > Only that would mean that 200 countries become Certificate Authorities > and tens of thousand of Chamber of Commerce become too. > > Would you be ready to trust some very remote Chamber of Commerce of > some thrid world country to be a a thrustworthy CA? About the same ammount as I trust their Chamber of Commerce registration. Remember that certs are used establish a trust relationship ultimately leading to a legally binding sale/purchase agreement. If I don't trust the Chamber of Commerce of the country in question, I certainly don't have a reason to do business with that company. In fact, having a 3rd party obscure the origin of the company is misleading, as in case of conflict, what exactly are your rights and how would they be resolved? Is this company even allowed to do business under this name/with these products, etc etc. > Not to mention that to manage these so many CA, you need an > infrastructure that is yet to be deployed. Actually, the infrastructure is already there. District governments already have an infrastructure to verify the identity of a person. Companies like Verisign had to implement this seperately. The thing that's missing is that governments do not see their responsibility. Yes, I do realize that the newly created CA's would have to be added to the list of trusted CA's for SSL clients. In a transitional period, this could be done backwards compatible by temporarily chaining to a root CA that's already "known". Perhaps this technology even needs to be revisited as the potential list can outgrow the intent of the current scheme. However, I don't consider this a bad thing(tm). If there's one thing the internet has shown is that adoption of new technology can be near instantanious (Bittorrent, iTunes, email, IM to name a few). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From stanb at panix.com Wed Jan 7 05:20:12 2009 From: stanb at panix.com (stan) Date: Wed Jan 7 05:20:19 2009 Subject: PHP setup question In-Reply-To: <49641B26.3070905@ibctech.ca> References: <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> Message-ID: <20090107052009.GA3995@teddy.fas.com> On Tue, Jan 06, 2009 at 10:01:58PM -0500, Steve Bertrand wrote: > stan wrote: > > On Mon, Jan 05, 2009 at 09:45:23PM -0600, Kelly D. Grills wrote: > >> On Mon, Jan 05, 2009 at 04:51:08PM -0500, stan wrote: > >>> Clearly I am still confused. :-( > >>> > >>> I just duid as you sugested, and all went well untill I pushed the "Write > >>> Config" button at Step 2. At this point I was offered teh option fo > >>> downlaoding to the machine that I was running the web browser on this config > >>> file. Since this is where I got hung up last. I stoped to ask what I am doing > >>> wrong. If I download this file, and put it in the config directory, based > >>> upon previous behavior the setup process will refuse to run, because the > >>> config file exists. > >>> > >>> What basic misunderstanding do I ahve here? > > This thread represents an exmaple of exactly the problem I am facing. It > > appears as though this behavior can be triggered by running the wrong > > version of ampache. > > > > Can anyone confirm that the version in ports actually works? > > Stan, > > It appears as though you are bouncing off the walls to find a solution. Well. lets's see, I have been trying to gte it working since Saturday :-( > > Did you contact the appropriate list as prescribed by Kelly? It's unfortunately not a list, whcih I find intuitive, and useful, but one of those web base wiki sort of things. As you can see from another messahe, I posted teh problem there this mornimg. Zero replies since then. > > Can you document a well-defined approach in regards to the installation > methods you need to follow to reach the goal you are after? I am confused by this. Is this a request to be able to reproduce the probkem? If so, absolutely. > > If so, email it to the list, starting with your base OS version. I'll > help you out with a test platform if you can get things organized. OK, here goes: black# uname -a FreeBSD black.fas.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 19:11:47 EST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 ports of interest: ampache-3.4.3 mysql-client-5.0.75 mysql-server-5.0.75 apache-2.2.11 Once you have these installed add the folloowing lines to /usr/local/etc/apache22httpd.conf Order allow,deny Allow from all Alias /ampache "/usr/local/www/ampache" Edit /usr/local/www/ampache/config/ampache.cfg.php.dist and put doubel quotes around the names of the rss* bairables (to work around a known bug" Point your browser to the ampacge/install.php file the webserver for this machine. Complete step 1 of the install process Go to step 2, when you press "write config file" you will be prompted to download this fle instead (not cerrtain wh the directory it goes in is writbale by the www user). Donwload this file and install it as: /usr/local/www/ampache/config/ampache.cfg Try to proced to step 3. You should get an error message saying that Ampache is already configured (but it's not0. I beleive this is a repeatvle bug. Thanks for the help here. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From peter at boosten.org Wed Jan 7 06:06:58 2009 From: peter at boosten.org (Peter Boosten) Date: Wed Jan 7 06:07:06 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: References: Message-ID: <4964467D.9020606@boosten.org> Johann Hasselbach wrote: > I was doing a src upgrade from 7.0 to 7.1 > > After installkernel, i rebooted, and accidently ran "mergemaster" > instead of "mergemaster -p" before installworld. I ctrl-c'd once I > realized what I had done, but the damage was done. > > It seems to have overwritten my password and group files. > I've stated this before: In my opinion this entire 'I want to overwrite your passwd file' attitude from mergemaster is nonsense: at installation time you're required to add an additional user, and mergemaster wants to undo that again. There are other ways to create new accounts or groups than simply overwriting passwd/group files. Also: most scripts updated by mergemaster during 7.0->7.1 are only version numbering diffs. Is there no smarter way to do this, apart from typing 'i' every time? Having to go through mergemaster is the most tedious job I've ever done (it would probably be bearable if only one machine was involved). > > Did I damage anything else? You might wanna look at hosts, login.conf, ssh config, pam, audit, sendmail, syslog.conf, basically everything in /etc. Peter -- http://www.boosten.org From yuri.pankov at gmail.com Wed Jan 7 06:13:46 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Wed Jan 7 06:13:53 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <4964467D.9020606@boosten.org> References: <4964467D.9020606@boosten.org> Message-ID: <20090107061339.GB12584@darklight.homeunix.org> On Wed, Jan 07, 2009 at 07:06:53AM +0100, Peter Boosten wrote: > Johann Hasselbach wrote: > > I was doing a src upgrade from 7.0 to 7.1 > > > > After installkernel, i rebooted, and accidently ran "mergemaster" > > instead of "mergemaster -p" before installworld. I ctrl-c'd once I > > realized what I had done, but the damage was done. > > > > It seems to have overwritten my password and group files. > > > > I've stated this before: In my opinion this entire 'I want to overwrite > your passwd file' attitude from mergemaster is nonsense: at installation > time you're required to add an additional user, and mergemaster wants to > undo that again. > > There are other ways to create new accounts or groups than simply > overwriting passwd/group files. > > Also: most scripts updated by mergemaster during 7.0->7.1 are only > version numbering diffs. Is there no smarter way to do this, apart from > typing 'i' every time? I think you want -U option (auto upgrade files that have not been modified by user) along with -i (install missing files). > > Having to go through mergemaster is the most tedious job I've ever done > (it would probably be bearable if only one machine was involved). > > > > > Did I damage anything else? > > You might wanna look at hosts, login.conf, ssh config, pam, audit, > sendmail, syslog.conf, basically everything in /etc. > > Peter > > -- > http://www.boosten.org Yuri From walt at wump.org Wed Jan 7 06:21:46 2009 From: walt at wump.org (Walt Pawley) Date: Wed Jan 7 06:21:54 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090106193126.GA82164@kokopelli.hydra> References: <20090102164412.GA1258@phenom.cordula.ws> <20090103013825.18910bf5@gumby.homeunix.com> <495F5DD7.2070302@infracaninophile.co.uk> <200901052258.39785.fbsd.questions@rachie.is-a-geek.net> <20090106102124.O34151@wojtek.tensor.gdynia.pl> <20090106193126.GA82164@kokopelli.hydra> Message-ID: At 12:31 PM -0700 1/6/09, Chad Perrin wrote: >On the other hand, I don't trust Verisign, either. What's to trust? If you pay them, you "in." -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 From roberthuff at rcn.com Wed Jan 7 06:24:52 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jan 7 06:25:00 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <20090107061339.GB12584@darklight.homeunix.org> References: <4964467D.9020606@boosten.org> <20090107061339.GB12584@darklight.homeunix.org> Message-ID: <18788.19074.638345.767831@jerusalem.litteratus.org> Yuri Pankov writes: > > Also: most scripts updated by mergemaster during 7.0->7.1 are only > > version numbering diffs. Is there no smarter way to do this, apart from > > typing 'i' every time? > > I think you want -U option (auto upgrade files that have not been > modified by user) along with -i (install missing files). How does it deteremine what's been user-modified? I've got a few things that have local edits that, for reasons of laziness, still have the same version tag. Robert Huff From peter at boosten.org Wed Jan 7 06:35:57 2009 From: peter at boosten.org (Peter Boosten) Date: Wed Jan 7 06:36:05 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <20090107061339.GB12584@darklight.homeunix.org> References: <4964467D.9020606@boosten.org> <20090107061339.GB12584@darklight.homeunix.org> Message-ID: <49644D35.5020103@boosten.org> Yuri Pankov wrote: > On Wed, Jan 07, 2009 at 07:06:53AM +0100, Peter Boosten wrote: >> >> Also: most scripts updated by mergemaster during 7.0->7.1 are only >> version numbering diffs. Is there no smarter way to do this, apart from >> typing 'i' every time? > > I think you want -U option (auto upgrade files that have not been > modified by user) along with -i (install missing files). After reading the man page the -s option seems to be more appropriate (unless I misread that bit, of course :-) ). Peter -- http://www.boosten.org From dimitar.vassilev at gmail.com Wed Jan 7 06:37:26 2009 From: dimitar.vassilev at gmail.com (Dimitar Vasilev) Date: Wed Jan 7 06:37:34 2009 Subject: setfib+pf Message-ID: <59adc1a0901062205l2bdaaa4enf6f08c0b6cd7f539@mail.gmail.com> Hello, I'd like to ask on the best options for using setfib and pf in a non-BGP environment. I will run 2 uplinks, with VLANs for internal networks and want to fail over external links if one of them fails. Currently pf supports to the best of my knowledge: a) rtable - this means i can create the routing tables with setfib and then use pass from .... rtable N( N >1 <16) or give out directly network ranges b) route-to - pass in/out on X from ... route-to c) packet tagging - i can tag networks and use standalone or through routing tags. Anyone aware if is it ok to use /etc/gateways without running routed or how can i label routes alternatively? d) pass in from route N(192.168.1.1 from example) to... - saw this on http://www.mail-archive.com/pf@benzedrine.cx/msg07220.html and requires BGP to make tags speak anything but network numbers. e) use the vlan id's I'd much appreciate if someone thinks with me for the best options of using the setfib features along with pf. Thanks! Best regards, Dimitar Vassilev From frank at shute.org.uk Wed Jan 7 07:08:50 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Jan 7 07:08:57 2009 Subject: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything? In-Reply-To: References: Message-ID: <20090107070842.GB36732@melon.esperance-linux.co.uk> On Sun, Jan 04, 2009 at 02:09:03PM -0800, David Christensen wrote: > > freebsd-questions: > > I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: > > > http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand > a-server > > > Most of my software background is GNU/Linux. I would prefer using the > Bash shell, but the default FreeBSD shell for root appears to be the C > shell: > > p3450# echo $SHELL > /bin/csh > > > I have changed the root shell to Bash on another machine I use as a CVS > server and haven't noticed any issues yet, but I've been wondering if > I'm setting myself up for problems by doing so. > > > Does anybody know if it's okay to change the root shell on FreeBSD > 7.0-RELEASE-i386? I change my root shell to pdksh. It's statically linked and I copy it from /usr/local/bin to /bin. In single user mode you're prompted for a shell (/bin/sh is the default) so I usually use that. I've never had any problems (famous last words ;) Just have to remember to copy the executable to the root filesystem if your shell gets upgraded. What you don't want to do is overwrite /bin/sh with /bin/bash or anything like that. The boot up scripts depend on /bin/sh and although bash is meant to be Bourne compatible, I wouldn't trust it myself to bring up the system without problems. > > > TIA, > > David Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From gpagnoni at gmail.com Wed Jan 7 07:17:50 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Wed Jan 7 07:17:58 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <4963EE76.1050808@datapipe.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963D96E.7090700@datapipe.com> <92056ebc0901061455r10bc4c53wee01d10e2fb96a7f@mail.gmail.com> <4963ED66.4050309@datapipe.com> <4963EE76.1050808@datapipe.com> Message-ID: <92056ebc0901062317n2022daf2s8990dc78255f87e4@mail.gmail.com> Dear Paul, thank you very much for your help, that surely clarifies things. best giuseppe On Wed, Jan 7, 2009 at 12:51 AM, Paul Procacci wrote: > Paul Procacci wrote: >> >> Giuseppe Pagnoni wrote: >>> >>> Hello, >>> >>> well that is interesting. I do have 4 Gigs of RAM but I thought that >>> the nvidia driver would not work only if the 64 bit version of FreeBSD >>> was installed. I installed the i386 version, so I assumed that I was >>> just wasting some memory. In case I would want to use the nvidia >>> driver, would you suggest to remove 1GB stick of RAM? >>> >>> thank you very much >>> >>> >>> >>> On Tue, Jan 6, 2009 at 11:21 PM, Paul Procacci >>> wrote: >>> >>>> >>>> Giuseppe Pagnoni wrote: >>>> >>>>> >>>>> Dear all, >>>>> >>>>> I have just installed FreeBSD 7.1 Release on a machine with a GeForce >>>>> 8500 GT (I think this is the card, but more about that later...) and >>>>> an LCD screen with a native resolution of 1680 x 1050. >>>>> >>>>> Xorg works fine with the standard "nv" driver. However, if I try to >>>>> install the x11/nvidia-driver (which should bring better graphic >>>>> performance, right?) I get a total system freeze when I start the X >>>>> server. >>>>> >>>>> Here are the details of what I have done: >>>>> >>>>> 1) install x11/nvidia-driver >>>>> 2) add nvidia_load="YES" to /boot/loader.conf >>>>> 3) modify /etc/X11/xorg.conf by substituting "nvidia" to "nv" in the >>>>> Driver line. >>>>> >>>>> At this point (after rebooting), if I start the X server with startx, >>>>> I get a black screen and the system *completely* hangs (neither >>>>> ctrl-alt-backspace, nor even ctrl-alt-delete work). The only way to >>>>> get back the system is to power it off and on (which corrupts the >>>>> filesystem because it has not been properly dismounted). >>>>> >>>>> I also looked at the xorg log file in: >>>>> >>>>> /var/log/Xorg.0.log >>>>> >>>>> Interestingly it seems to detect the card as a GeForce 9500 GT rather >>>>> than a 8500 GT (which makes me wonder whether I got the right info >>>>> from the vendor receipt): >>>>> >>>>> (--) Assigning device section with no busID to primary device >>>>> (--) Chipset GeForce 9500 GT found >>>>> >>>>> But this should not be an issue because in the same log file it says >>>>> that both GeForce 8500 GT and GeForce 9500 GT are supported by the >>>>> "nv" driver. >>>>> >>>>> As for the monitor, the xorg log file says: >>>>> >>>>> II) NV(0): Supported additional Video Mode: >>>>> (II) NV(0): clock: 146.2 MHz Image Size: 473 x 296 mm >>>>> (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end >>>>> 2240 h_border: 0 >>>>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>>>> 1089 v_border: 0 >>>>> (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz, >>>>> PixClock max 150 MHz(II) >>>>> >>>>> NV(0): Monitor name: L226WA >>>>> (II) NV(0): Supported additional Video Mode: >>>>> (II) NV(0): clock: 119.0 MHz Image Size: 473 x 296 mm >>>>> (II) NV(0): h_active: 1680 h_sync: 1728 h_sync_end 1760 h_blank_end >>>>> 1840 h_border: 0 >>>>> (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: >>>>> 1080 v_border: 0 >>>>> >>>>> Then the log file says: >>>>> >>>>> (II) NV(0): Output VGA1 disconnected >>>>> (II) NV(0): Output DVI0 disconnected >>>>> (II) NV(0): Output VGA2 disconnected >>>>> (II) NV(0): Output DVI1 connected >>>>> (II) NV(0): Output DVI1 using initial mode 1680x1050 >>>>> (--) NV(0): Virtual size is 1680x1680 (pitch 1792) >>>>> (**) NV(0): Driver mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), >>>>> 65.3 kHz, 60.0 Hz >>>>> (II) NV(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 >>>>> 1050 1053 1059 1089 -hsync +vsync (65.3 kHz) >>>>> (**) NV(0): Driver mode "1680x1050": 119.0 MHz (scaled from 0.0 MHz), >>>>> 64.7 kHz, 59.9 Hz >>>>> (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 >>>>> 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) >>>>> (**) NV(0): Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), >>>>> 80.0 kHz, 75.0 Hz >>>>> (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 >>>>> 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) >>>>> (**) NV(0): Driver mode "1280x1024": 109.0 MHz (scaled from 0.0 MHz), >>>>> 63.7 kHz, 59.9 Hz >>>>> (II) NV(0): Modeline "1280x1024"x59.9 109.00 1280 1368 1496 1712 >>>>> 1024 1027 1034 1063 -hsync +vsync (63.7 kHz) >>>>> (**) NV(0): Driver mode "1440x900": 136.8 MHz (scaled from 0.0 MHz), >>>>> 70.6 kHz, 75.0 Hz >>>>> (II) NV(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 >>>>> 903 909 942 -hsync +vsync (70.6 kHz) >>>>> (**) NV(0): Driver mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), >>>>> 55.9 kHz, 59.9 Hz >>>>> (II) NV(0): Modeline "1440x900"x59.9 106.50 1440 1528 1672 1904 900 >>>>> 903 909 934 -hsync +vsync (55.9 kHz) >>>>> (**) NV(0): Driver mode "1280x960": 101.2 MHz (scaled from 0.0 MHz), >>>>> 59.7 kHz, 59.9 Hz >>>>> (II) NV(0): Modeline "1280x960"x59.9 101.25 1280 1360 1488 1696 960 >>>>> 963 967 996 -hsync +vsync (59.7 kHz) >>>>> (**) NV(0): Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), >>>>> 67.5 kHz, 75.0 Hz >>>>> (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 >>>>> 865 868 900 +hsync +vsync (67.5 kHz) >>>>> (**) NV(0): Driver mode "1152x864": 104.0 MHz (scaled from 0.0 MHz), >>>>> 67.7 kHz, 74.8 Hz >>>>> (II) NV(0): Modeline "1152x864"x74.8 104.00 1152 1224 1344 1536 864 >>>>> 867 871 905 -hsync +vsync (67.7 kHz) >>>>> (**) NV(0): Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), >>>>> 60.1 kHz, 75.1 Hz >>>>> (II) NV(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136 1312 768 >>>>> 769 772 800 +hsync +vsync (60.1 kHz) >>>>> (**) NV(0): Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), >>>>> 48.4 kHz, 60.0 Hz >>>>> (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 >>>>> 771 777 806 -hsync -vsync (48.4 kHz) >>>>> (**) NV(0): Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), >>>>> 49.7 kHz, 74.6 Hz >>>>> (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 >>>>> 628 667 -hsync -vsync (49.7 kHz) >>>>> (**) NV(0): Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), >>>>> 46.9 kHz, 75.0 Hz >>>>> (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 >>>>> 604 625 +hsync +vsync (46.9 kHz) >>>>> (**) NV(0): Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), >>>>> 37.9 kHz, 60.3 Hz >>>>> (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 >>>>> 605 628 +hsync +vsync (37.9 kHz) >>>>> (**) NV(0): Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), >>>>> 35.2 kHz, 56.2 Hz >>>>> (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 >>>>> 603 625 +hsync +vsync (35.2 kHz) >>>>> (**) NV(0): Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), >>>>> 37.5 kHz, 75.0 Hz >>>>> (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 >>>>> 484 500 -hsync -vsync (37.5 kHz) >>>>> (**) NV(0): Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), >>>>> 31.5 kHz, 60.0 Hz >>>>> (II) NV(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 >>>>> 492 525 -hsync -vsync (31.5 kHz) >>>>> (**) NV(0): Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), >>>>> 31.5 kHz, 70.1 Hz >>>>> (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 >>>>> 414 449 -hsync +vsync (31.5 kHz) >>>>> (==) NV(0): DPI set to (96, 96) >>>>> >>>>> >>>>> After this rather long post (I apologize), I have two simple questions: >>>>> 1) is there a way to use the "nvidia" driver on this system? >>>>> 2) is it worthwhile or does "nv" work just as well? >>>>> >>>>> Thanks in advance for any help or suggestion. >>>>> >>>>> best >>>>> >>>>> giuseppe >>>>> >>>>> >>>>> >>>>> >>>> >>>> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs of >>>> memory OR PAE enabled kernels. Nvidia's forums have lots more >>>> information >>>> regarding this. >>>> >>>> >>> >>> >>> >>> >> >> I'm not sure of the internals exactly, but the amount of onboard memory >> plus the memory that comes with the card can't exceed 4G. (I could be >> wrong, but I think this is accurate). In this case, assuming you have a >> 512M card or similar then 3 Gigs of memory should work. I have seen reports >> of 2Gigs of memory working (i386) and am sure that works without problems. >> amd64 doesn't work at all, as you have already stated. >> >> If you have a requirement to use the nvidia based graphics driver, then >> you really don't have an alternative at this time, then to remove system >> memory from your main board. >> >> ~Paul >> _______________________________________________ >> 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" > > Posting a follow-up to myself: > > http://www.nvnews.net/vbulletin/showthread.php?p=1700234 > -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From perrin at apotheon.com Wed Jan 7 07:23:27 2009 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jan 7 07:23:34 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> References: <20090102164412.GA1258@phenom.cordula.ws> <20090106102124.O34151@wojtek.tensor.gdynia.pl> <20090106193126.GA82164@kokopelli.hydra> <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20090107072227.GA84869@kokopelli.hydra> On Tue, Jan 06, 2009 at 11:11:52AM -0900, Mel wrote: > On Tuesday 06 January 2009 10:31:26 Chad Perrin wrote: > > > > Out-of-band corroboration of a certificate's authenticity is kind of > > necessary to the security model of SSL/TLS. A self-signed certificate, > > in and of itself, is not really sufficient to ensure the absence of a man > > in the middle attack or other compromise of the system. > > > > On the other hand, I don't trust Verisign, either. > > In the less virtual world, we only trust governments to provide identity > papers (manufactured by companies, but still the records are kept and > verified by a government entity). > Instead of trying to regulate the internet and provide a penal system, > governments would do much better taking their responsibility on these issues. > It shouldn't be so hard to give every citizen the option to "get an online > certificate corresponding with their passport" and similarly for Chambers of > Commerce to provide certificates for businesses. My distrust of of the certifying authority is not mitigated by replacing Verisign with FedCorp. Institutional incompetence is typically a result of bureaucracy -- and even major corporations don't get as mired in bureaucracy as government. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Bill McKibben: "The laws of Congress and the laws of physics have grown increasingly divergent, and the laws of physics are not likely to yield." -------------- 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/20090107/41b62725/attachment.pgp From yuri at rawbw.com Wed Jan 7 07:53:37 2009 From: yuri at rawbw.com (Yuri) Date: Wed Jan 7 07:53:45 2009 Subject: How process CPU percentage is calculated? Message-ID: <49645F7F.80508@rawbw.com> I have a process that is CPU intense. 'top -C' shows CPU usage for this process no higher than 20%, more like 15-18%. But TIME field grows 10 sec for every 15-17 secs or real time. top(1) says: Each time -C flag is passed it toggles between "raw cpu" mode and "weighted cpu" mode So I am looking at "raw cpu". With 15-18% CPU every second of process TIME should correspond to ~6secs of real time, and in my case it's only ~1.6sec of real time. Why CPU field is so low? Yuri From freebsd-questions at pp.dyndns.biz Wed Jan 7 08:27:41 2009 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Wed Jan 7 08:27:49 2009 Subject: PHP Apache module no longer loads /usr/local/etc/php.ini In-Reply-To: <27ade5280901060609t2e768f14p32639b7ed2ac7a9c@mail.gmail.com> References: <4962EB85.7000700@pp.dyndns.biz> <27ade5280901060609t2e768f14p32639b7ed2ac7a9c@mail.gmail.com> Message-ID: <49646779.5000005@pp.dyndns.biz> APseudoUtopia wrote: > On Tue, Jan 6, 2009 at 12:26 AM, Morgan Wesstr?m > wrote: >> Hi. >> >> I have two almost identical FreeBSD servers with FreeBSD 7.0, Apache >> 2.2.11 and PHP 5.2.8. After a restart of Apache four days ago, the PHP >> module on one of those servers no longer loads /usr/local/etc/php.ini >> and I can't for my world figure out what's preventing it. My workaround >> right now is to move php.ini to / where it is loaded properly. >> >> phpinfo on non-working server: >> http://pp.dyndns.biz/phpinfo.php >> >> phpinfo on working server: >> http://prefectftp.no-ip.com/phpinfo.php >> >> According to php.net the default location for php.ini is /usr/local/lib >> and to change that you have to compile PHP with >> --with-config-file-path=/some/path but I can't see that this is done on >> FreeBSD. Still /usr/local/etc is listed in phpinfo's "Configuration File >> (php.ini) Path". What mechanism does FreeBSD use to alter the default >> location of the ini file? Can I somehow have interfered with that mechanism? >> >> The following things DO work though: >> - Setting PHPRC to /usr/local/etc (as described in php.ini) and >> restarting Apache loads /usr/local/etc/php.ini correctly. >> - CLI version works correctly regardless of PHPRC: >> # php -i | grep php.ini >> Configuration File (php.ini) Path => /usr/local/etc >> Loaded Configuration File => /usr/local/etc/php.ini >> >> No errors are listed in any log-file and I've been banging my head >> against the wall for four days now trying to solve this... Any help >> would be appreciated to figure out what stupid mistake I've made. :-) >> >> Regards >> Morgan >> > > Notice: > Configuration File (php.ini) Path /usr/local/etc > Loaded Configuration File /php.ini > > So it _IS_ looking in /usr/local/etc/ for a php.ini file, it just can't find it. > Move the file back to /usr/local/etc/, then make sure the permissions > are correct (so the www-data user can read) on both the php.ini file > and the directories above it. > I forgot to respond to the list on this. php.ini was present all the time in /usr/local/etc and with the right permissions. There seemed however to be some weird inconsistencies in my filesystem after one of the disks in my gmirror RAID1 failed earlier that day and I had to rebuild it. Creating a new copy of php.ini in /usr/local/etc once again made the php module able to pick it up. I have now fsck:ed all filesystems and I hope they're alright again. Just out of curiosity: how does the FreeBSD port of lang/php5 find /usr/local/etc/php.ini without being compiled with --with-config-file-path ? /Morgan From m.seaman at infracaninophile.co.uk Wed Jan 7 08:37:50 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jan 7 08:38:00 2009 Subject: Foiling MITM attacks on source and ports trees In-Reply-To: <20090107072227.GA84869@kokopelli.hydra> References: <20090102164412.GA1258@phenom.cordula.ws> <20090106102124.O34151@wojtek.tensor.gdynia.pl> <20090106193126.GA82164@kokopelli.hydra> <200901061111.52155.fbsd.questions@rachie.is-a-geek.net> <20090107072227.GA84869@kokopelli.hydra> Message-ID: <496469D1.4060600@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Chad Perrin wrote: | On Tue, Jan 06, 2009 at 11:11:52AM -0900, Mel wrote: |> On Tuesday 06 January 2009 10:31:26 Chad Perrin wrote: |>> Out-of-band corroboration of a certificate's authenticity is kind of |>> necessary to the security model of SSL/TLS. A self-signed certificate, |>> in and of itself, is not really sufficient to ensure the absence of a man |>> in the middle attack or other compromise of the system. |>> |>> On the other hand, I don't trust Verisign, either. |> In the less virtual world, we only trust governments to provide identity |> papers (manufactured by companies, but still the records are kept and |> verified by a government entity). |> Instead of trying to regulate the internet and provide a penal system, |> governments would do much better taking their responsibility on these issues. |> It shouldn't be so hard to give every citizen the option to "get an online |> certificate corresponding with their passport" and similarly for Chambers of |> Commerce to provide certificates for businesses. | | My distrust of of the certifying authority is not mitigated by replacing | Verisign with FedCorp. Institutional incompetence is typically a result | of bureaucracy -- and even major corporations don't get as mired in | bureaucracy as government. | You're kind of stuck then aren't you -- at least in respect TLS/SSL and x509 certificates? If you don't trust any of the bodies who have the capability to authenticate the owners of a particular cryptographic key/certificate on your behalf, then you're going to have to do that authentication yourself. Which is cool if you happen to know the movers and shakers in the FreeBSD world personally and you can sit down with them and compare key fingerprints. Or even if you can get an introduction to them through a mutual acquaintance. Oh, wait -- I seem to have reinvented the PGP web-of-trust thing. Shame there's nothing quite like it for x509 certificates. The free Thawte service for signing S/MIME certs for individual e-mail users is about the closest, but Thawte is just a wholly owned subsidiary of Verisign, and they going to be stongly motivated not to internally compete with their profitable business of selling expensive web server certificates. Even so, while PGP signatures work well between a normal circle of correspondents, I can't see how they could work practically to authenticate a service designed to be open to the general public. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAklkadAACgkQ8Mjk52CukIzhfQCfVGxx8HBGH/bvWG4VOowDVcTe /78AnR1gDCiA+1kb2agWKC99H54ImW4T =YVhl -----END PGP SIGNATURE----- From frederique at isafeelin.org Wed Jan 7 11:41:18 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Wed Jan 7 11:41:25 2009 Subject: Drop-box application in the FreeBSD ports? Message-ID: <49649144.2030900@isafeelin.org> Hello, I've been looking for drop-box functionality for a while, but I can't find any in the ports. Perhaps it's there but I'm not looking for the right keywords. Preferably something that's completely web-based (PHP) (no FTP or SCP) and maintenance-free. For example: a user uploads a (set of) file(s), and the application returns a hashed URL that can be passed on to the person that can then download the file(s). After downloading (or after a certain period of time) the file will be removed automaticaly. Is there any such thing in the ports for FreeBSD, or perhaps something not in the ports? Thanks, -- FR From eitans at mellanox.co.il Wed Jan 7 11:57:39 2009 From: eitans at mellanox.co.il (Eitan Shefi) Date: Wed Jan 7 11:57:47 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" Message-ID: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> I am testing a NIC driver. I found it's logs and "/var/log/messages" logs in the output of "sysctl -a": I run "sysctl -a | less", and there I find: kern.devstat.version: 6 kern.devstat.generation: 137 kern.devstat.numdevs: 1 kern.kobj_methodcount: 143 kern.log_wakeups_per_second: 5 kern.msgbuf_clear: 0 kern.msgbuf: ound file system checks in 60 seconds. <118> mtnic0: FW version:2.6.0 mtnic0: Board ID: mtnic0: Using 1 tx rings for port:1 [4096] mtnic0: Using 4 rx rings for port:1 [1024] mtnic0: Using 1 tx rings for port:2 [4096] mtnic0: Using 4 rx rings for port:2 [1024] mtnic0: Initializing MSIX mtnic0: Enabling MSI-X (11 vectors) mtnic0: Board ID:MT_0BD0110004 mtnic0: [ITHREAD] mtnic0: Activating port:1 mtnic0: Ethernet address: 00:02:c9:03:35:20 mtnic0: Activating port:2 mtnic1: Ethernet address: 00:02:c9:03:35:21 mtnic0: [ITHREAD] mtnic0: [ITHREAD] mtnic0: mtnic0: mtnic0: mtnic0: Port 1 - link up mtnic0: [ITHREAD] mtnic0: [ITHREAD] mtnic0: [ITHREAD] Limiting icmp ping response from 300 to 200 packets/sec Limiting icmp ping response from 300 to 200 packets/sec Limiting icmp ping response from 1497 to 200 packets/sec Limiting icmp ping response from 1500 to 200 packets/sec Limiting icmp ping response from 1498 to 200 packets/sec Limiting icmp ping response from 1500 to 200 packets/sec Any idea how can such logs apear in "sysctl -a" ? Thanks, Eitan From ottk at zzz.ee Wed Jan 7 11:58:40 2009 From: ottk at zzz.ee (Ott =?iso-8859-1?q?K=F6stner?=) Date: Wed Jan 7 11:58:48 2009 Subject: Please help! (Re: GEOM: da0: corrupt or invalid GPT detected.) In-Reply-To: <4963B5D0.6080906@zzz.ee> References: <4963B5D0.6080906@zzz.ee> Message-ID: <200901071358.31861.ottk@zzz.ee> On Tuesday 06 January 2009 9:49:36 pm Ott K?stner wrote: > Dear List! > > I have such a problem (or is it a problem?): > > # dmesg | grep da0 > da0 at twa0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-5 device > da0: 100.000MB/s transfers > da0: 1430481MB (2929625088 512 byte sectors: 255H 63S/T 182360C) > GEOM: da0: corrupt or invalid GPT detected. > GEOM: da0: GPT rejected -- may not be recoverable. > Trying to mount root from ufs:/dev/da0s1a Please help! The problem persists. Built new world and kernel. The system is now 7.1-STABLE amd64. When booting up, the system gives messages da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 1430481MB (2929625088 512 byte sectors: 255H 63S/T 182360C) GEOM: da0: corrupt or invalid GPT detected. GEOM: da0: GPT rejected -- may not be recoverable. also # dmesg |grep da1 da1 at twa0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-5 device da1: 100.000MB/s transfers da1: 1430481MB (2929625088 512 byte sectors: 255H 63S/T 182360C) GEOM: da1: corrupt or invalid GPT detected. GEOM: da1: GPT rejected -- may not be recoverable. The question is why does sysinstall say? "WARNING: A geometry of 182360/255/63 for da1 is incorrect. Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now." 182360/255/63 is exactly the number what driver gives at boot time. Still 182360 * 63 * 255 = 2929613400 2929613400 does not match with 2929625088 ( -11688 sectors) How can I fix this? With best regards, O.K. > > System is 7.0 amd64. Just a fresh install. The problem appeared with > sysinstall. The message appeared: > > "WARNING: A geometry of 182360/255/63 for da0 is incorrect. Using a > more likely geometry. If this geometry is incorrect or you are unsure > as to whether or not it's correct, please consult the Hardware Guide in > the Documentation submenu or use the (G)eometry command to change it now." > > Never seen something like this before, when installing FreeBSD. Do not > see eny 'Documentation submenu' in sysinstall. > > How can I fix it? Everything seems to work OK, exept these messages. I > am just about to build world and new kernel... > > regards, > O.K. > > > _______________________________________________ > 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" > -- M??da oma inteneti kiirust / Test Your Internet speed http://tallinn.speedtest.net/ From gary.jennejohn at freenet.de Wed Jan 7 12:14:23 2009 From: gary.jennejohn at freenet.de (Gary Jennejohn) Date: Wed Jan 7 12:14:37 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> Message-ID: <20090107131417.609c602d@ernst.jennejohn.org> On Wed, 7 Jan 2009 13:30:20 +0200 "Eitan Shefi" wrote: > I am testing a NIC driver. > I found it's logs and "/var/log/messages" logs in the output of "sysctl > -a": > I run "sysctl -a | less", and there I find: > > kern.devstat.version: 6 > kern.devstat.generation: 137 > kern.devstat.numdevs: 1 > kern.kobj_methodcount: 143 > kern.log_wakeups_per_second: 5 > kern.msgbuf_clear: 0 > kern.msgbuf: ound file system checks in 60 seconds. > <118> > mtnic0: FW version:2.6.0 > mtnic0: Board ID: > mtnic0: Using 1 tx rings for port:1 [4096] > mtnic0: Using 4 rx rings for port:1 [1024] > mtnic0: Using 1 tx rings for port:2 [4096] > mtnic0: Using 4 rx rings for port:2 [1024] > mtnic0: Initializing MSIX > mtnic0: Enabling MSI-X (11 vectors) > mtnic0: Board ID:MT_0BD0110004 > mtnic0: [ITHREAD] > mtnic0: Activating port:1 > mtnic0: Ethernet address: 00:02:c9:03:35:20 > mtnic0: Activating port:2 > mtnic1: Ethernet address: 00:02:c9:03:35:21 > mtnic0: [ITHREAD] > mtnic0: [ITHREAD] > mtnic0: > mtnic0: > mtnic0: > mtnic0: Port 1 - link up > mtnic0: [ITHREAD] > mtnic0: [ITHREAD] > mtnic0: [ITHREAD] > Limiting icmp ping response from 300 to 200 packets/sec > Limiting icmp ping response from 300 to 200 packets/sec > Limiting icmp ping response from 1497 to 200 packets/sec > Limiting icmp ping response from 1500 to 200 packets/sec > Limiting icmp ping response from 1498 to 200 packets/sec > Limiting icmp ping response from 1500 to 200 packets/sec > > > Any idea how can such logs apear in "sysctl -a" ? > If you were viewing this as root on the console then you were simply seeing kernel output interleaved with the output from sysctl. --- Gary Jennejohn From maxim at macomnet.ru Wed Jan 7 12:21:31 2009 From: maxim at macomnet.ru (Maxim Konovalov) Date: Wed Jan 7 12:21:38 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" In-Reply-To: <20090107131417.609c602d@ernst.jennejohn.org> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> <20090107131417.609c602d@ernst.jennejohn.org> Message-ID: <20090107152107.F7116@mp2.macomnet.net> On Wed, 7 Jan 2009, 13:14+0100, Gary Jennejohn wrote: > On Wed, 7 Jan 2009 13:30:20 +0200 > "Eitan Shefi" wrote: > > > I am testing a NIC driver. > > I found it's logs and "/var/log/messages" logs in the output of "sysctl > > -a": > > I run "sysctl -a | less", and there I find: > > > > kern.devstat.version: 6 > > kern.devstat.generation: 137 > > kern.devstat.numdevs: 1 > > kern.kobj_methodcount: 143 > > kern.log_wakeups_per_second: 5 > > kern.msgbuf_clear: 0 > > kern.msgbuf: ound file system checks in 60 seconds. > > <118> > > mtnic0: FW version:2.6.0 > > mtnic0: Board ID: > > mtnic0: Using 1 tx rings for port:1 [4096] > > mtnic0: Using 4 rx rings for port:1 [1024] > > mtnic0: Using 1 tx rings for port:2 [4096] > > mtnic0: Using 4 rx rings for port:2 [1024] > > mtnic0: Initializing MSIX > > mtnic0: Enabling MSI-X (11 vectors) > > mtnic0: Board ID:MT_0BD0110004 > > mtnic0: [ITHREAD] > > mtnic0: Activating port:1 > > mtnic0: Ethernet address: 00:02:c9:03:35:20 > > mtnic0: Activating port:2 > > mtnic1: Ethernet address: 00:02:c9:03:35:21 > > mtnic0: [ITHREAD] > > mtnic0: [ITHREAD] > > mtnic0: > > mtnic0: > > mtnic0: > > mtnic0: Port 1 - link up > > mtnic0: [ITHREAD] > > mtnic0: [ITHREAD] > > mtnic0: [ITHREAD] > > Limiting icmp ping response from 300 to 200 packets/sec > > Limiting icmp ping response from 300 to 200 packets/sec > > Limiting icmp ping response from 1497 to 200 packets/sec > > Limiting icmp ping response from 1500 to 200 packets/sec > > Limiting icmp ping response from 1498 to 200 packets/sec > > Limiting icmp ping response from 1500 to 200 packets/sec > > > > > > Any idea how can such logs apear in "sysctl -a" ? > > > > If you were viewing this as root on the console then you were simply > seeing kernel output interleaved with the output from sysctl. > This is just an output from sysctl kern.msgbuf. -- Maxim Konovalov From remko at elvandar.org Wed Jan 7 12:30:03 2009 From: remko at elvandar.org (Remko Lodder) Date: Wed Jan 7 12:30:16 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> Message-ID: <013A849A-9F3C-4414-B022-61A87AADB478@elvandar.org> You are looking at the kernel message buffer with 'sysctl -a'. (kern.msgbuf). Nothing wrong with that. //Remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From gpagnoni at gmail.com Wed Jan 7 12:31:09 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Wed Jan 7 12:31:17 2009 Subject: PATA DVD on Asus P5Q Pro Message-ID: <92056ebc0901070431s227deea9l5c1da62a2dd2c5f2@mail.gmail.com> Dear all, although I posted a previous email to the list about this issue some months ago, I thought I would check again to see whether anything has changed with the 7.1 release. I have an LG cd/dvd combo (model GH22LP20) that attaches to the PATA(/IDE) connector of an Asus P5Q Pro motherboard. The specs for the motherboard are the following: N? sockets (max memory): 4xDDR2 (max 8GB) Chipset: Intel P45 (LGA775 platform)+ ICH10R Sound Card: Realtek ALC1200 7.1 Channel High Definition Audio SATA support, N? connectors: 8x SATA2, 1x PATA LAN: Atheros AR8121 10/100/1000 Mb/s RAID: 0,1,0+1,5 Connectors: * 2 slots for PCI Express 16x 2.0 * 3 slots PCI Express x1 * 2 slots PCI 2.2 * 12 x USB * 2 x Firewire The PATA-133/IDE interface is implemented via an additional Marvell 88SE6111controller (SATA is driven via ICH10R). My problem is that the DVD drive is not seen by FreeBSD, although it is seen by the BIOS in the boot up phase. In the previous post Jeremy Chadwick pointed out that the Marvell 88SE6111controller may not be supported by FreeBSD. I was wondering if this is still the case with the 7.1 Release and whether somebody could suggest a workaround that does not involve replacing the drive (e.g., is it possible to use some sort of converter cable from SATA to PATA? I apologize if this is complete nonsense, but I know close to nothing about buses and connector types). By the way, the Atheros onboard NIC appears to work fine with the driver "ale" (disabled by default in the GENERIC kernel), and sound works too with the kernel module snd_hda. thanks in advance for any suggestion very best giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From max at love2party.net Wed Jan 7 12:37:32 2009 From: max at love2party.net (Max Laier) Date: Wed Jan 7 12:37:40 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> Message-ID: <200901071324.54338.max@love2party.net> On Wednesday 07 January 2009 12:30:20 Eitan Shefi wrote: > I am testing a NIC driver. > I found it's logs and "/var/log/messages" logs in the output of "sysctl > -a": > I run "sysctl -a | less", and there I find: > > kern.devstat.version: 6 > kern.devstat.generation: 137 > kern.devstat.numdevs: 1 > kern.kobj_methodcount: 143 > kern.log_wakeups_per_second: 5 > kern.msgbuf_clear: 0 > kern.msgbuf: ound file system checks in 60 seconds. ^^^^^^^^^^^^^ <...> > Any idea how can such logs apear in "sysctl -a" ? The kernel message buffer is exported via a sysctl (kern.msgbuf) and as you asked to see all sysctl - this one is included, too. This is not a message for freebsd-hackers@ btw! -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From fernando.apesteguia at gmail.com Wed Jan 7 12:43:26 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Jan 7 12:43:33 2009 Subject: DHCP Request in the background Message-ID: <1bd550a00901070443g715ab989y7da3bad4b6a741b9@mail.gmail.com> Hi all, Although the boot speed of my FreeBSD 7.0-RELEASE and 7.1-BETA2 (didn't have time to update yet) are quite reasonable, I noticed the slower stage is always requesting an IP address to my router. I would like to know if there is a way (something in rc.conf?) to tell dhcp to run in the background, so while the crappy router is answering my request, hal, dbus and the whole thing can be loaded whitout delay. Thanks in advance. From mjguzik at gmail.com Wed Jan 7 12:54:54 2009 From: mjguzik at gmail.com (Mateusz Guzik) Date: Wed Jan 7 12:55:05 2009 Subject: "/var/log/messages" logs appear in the output of "sysctl -a" In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> Message-ID: <20090107122503.GA12470@skucha> On Wed, Jan 07, 2009 at 01:30:20PM +0200, Eitan Shefi wrote: > I am testing a NIC driver. > I found it's logs and "/var/log/messages" logs in the output of "sysctl > -a": > I run "sysctl -a | less", and there I find: > [..] > kern.msgbuf: ound file system checks in 60 seconds. > <118> > mtnic0: FW version:2.6.0 > mtnic0: Board ID: > mtnic0: Using 1 tx rings for port:1 [4096] > mtnic0: Using 4 rx rings for port:1 [1024] > mtnic0: Using 1 tx rings for port:2 [4096] > mtnic0: Using 4 rx rings for port:2 [1024] [..] > > Any idea how can such logs apear in "sysctl -a" ? > kern.msgbuf dumps so called 'message buf' containing messages printed by the kernel (for example by a NIC driver). It's accessible also via /dev/klog and syslogd uses it as a source for /var/log/messages. -- Mateusz Guzik From zszalbot at gmail.com Wed Jan 7 12:56:12 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Wed Jan 7 12:56:20 2009 Subject: 7.0 > 7.1 update problem Message-ID: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> Hello, Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: 1. freebsd-update -r 7.1-RELEASE upgrade I get: The following components of FreeBSD seem to be installed: kernel/generic src/base src/sys world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/tools src/ubin src/usbin world/catpages Does this look reasonable (y/n)? Y Fetching metadata signature for 7.1-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 17792 patches. Then it asks me about files in /etc/ which were modified. I install newer versions and change some entries if needed. Save and exit vi when it is all finished. 2/ cd /usr/src/ 3/ make kernel KERNCONF=GENERIC 4/ shutdown -r now The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 (GENERIC) #2. I repeated the whole procedure (didn't have to download the 17792 patches though) and restarted once again - but got the same effect. A slight hint. I am sure I modified and saved /etc/ssh/sshd_config file but its modify date is from 2008. So I am probably doing something wrong there... I put the entries (for example a non-standard ssh port number), press Esc, then : and finally wq. Can you help by suggesting where to go from here? Many thanks! -- Zbigniew Szalbot www.fairtrade.net.pl www.slowo.pl From sonic2000gr at gmail.com Wed Jan 7 13:04:41 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Wed Jan 7 13:04:48 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> Message-ID: <4964A864.7070006@gmail.com> Zbigniew Szalbot wrote: > Hello, > > Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 > (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: > > 1. freebsd-update -r 7.1-RELEASE upgrade > > I get: > > The following components of FreeBSD seem to be installed: > kernel/generic src/base src/sys world/base world/dict world/doc > world/games world/info world/manpages world/proflibs > > The following components of FreeBSD do not seem to be installed: > src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games > src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue > src/sbin src/secure src/share src/tools src/ubin src/usbin > world/catpages > > Does this look reasonable (y/n)? > > Y > > Fetching metadata signature for 7.1-RELEASE from update1.FreeBSD.org... done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > Inspecting system... done. > Fetching files from 7.0-RELEASE for merging... done. > Preparing to download files... done. > Fetching 17792 patches. > > Then it asks me about files in /etc/ which were modified. I install > newer versions and change some entries if needed. Save and exit vi > when it is all finished. > > 2/ cd /usr/src/ > 3/ make kernel KERNCONF=GENERIC > 4/ shutdown -r now > > The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 > (GENERIC) #2. > > I repeated the whole procedure (didn't have to download the 17792 > patches though) and restarted once again - but got the same effect. A > slight hint. I am sure I modified and saved /etc/ssh/sshd_config file > but its modify date is from 2008. So I am probably doing something > wrong there... > > I put the entries (for example a non-standard ssh port number), press > Esc, then : and finally wq. > > Can you help by suggesting where to go from here? Many thanks! > > Hi Zbigniew During the first run of freebsd-update, the sources for the kernel are not yet installed. Please follow the exact procedure described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html (Section 24.2.3 onwards) This was recently updated to cater for people with custom kernel. On the other hand, if you intend to use GENERIC as shown above, you don't need to recompile anything. From freebsd at edvax.de Wed Jan 7 13:11:15 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Jan 7 13:11:22 2009 Subject: DHCP Request in the background In-Reply-To: <1bd550a00901070443g715ab989y7da3bad4b6a741b9@mail.gmail.com> References: <1bd550a00901070443g715ab989y7da3bad4b6a741b9@mail.gmail.com> Message-ID: <20090107141107.dc82bb00.freebsd@edvax.de> On Wed, 7 Jan 2009 13:43:24 +0100, "Fernando Apestegu?a" wrote: > I would like to know if there is a way (something in rc.conf?) to tell > dhcp to run in the background, so while the crappy router is answering > my request, hal, dbus and the whole thing can be loaded whitout delay. According to /etc/defaults/rc.conf, there is the following setting: background_dhclient="NO" # Start dhcp client in the background. So if you put background_dhclient="YES" into your /etc/rc.conf, it should work as expected. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From info at bert-jan.com Wed Jan 7 13:14:25 2009 From: info at bert-jan.com (Bert-Jan) Date: Wed Jan 7 13:14:39 2009 Subject: Login accounts don't work after update to 7.1 Message-ID: <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> Hi Folks, I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE. During the first freebsd-update install, before rebooting, I was surprised to find that it was going to change my /etc/passwd (deleting all my accounts, keeping only the built-in accounts) and /etc/pwd.db and /etc/spwd.db. I was quite suspicious so I made copies of them. After rebooting the machine came back online perfectly. I checked /etc/passwd but there were no changes yet. Then, as the docs says, I ran freebsd-update install again and it took quite a while. *Then* my /etc/passwd was changed, so I replaced it with the spare copy I made. Of course I had to test it now so I exitted from root back to my own account, and you guessed it: I can't su anymore: $ su - su: who are you? I started up a second session and found my own account doesn't work anymore either. So all I have now is an open session with my own account. I should probably also have copied the two db files back and of course I should have left my running root session open and started another one. Not a very bright moment.. Is there a way I can recover the server from this ? Of course I can put in a cd and change some passwords, but the server is in a datacenter and I don't really have the time to go there and fix it. I'm looking for a remote solution. It's probably not much help but there's one jail running on it that's still working fine. I can login and su on that one, but I don't know if I can use it to repair the main system. Please, help ! Thanks, Bert-Jan From odhiambo at gmail.com Wed Jan 7 13:23:06 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed Jan 7 13:23:15 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <4964A864.7070006@gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> Message-ID: <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> On Wed, Jan 7, 2009 at 4:04 PM, Manolis Kiagias wrote: > Zbigniew Szalbot wrote: > > Hello, > > > > Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 > > (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: > > > > 1. freebsd-update -r 7.1-RELEASE upgrade > > > > I get: > > > > The following components of FreeBSD seem to be installed: > > kernel/generic src/base src/sys world/base world/dict world/doc > > world/games world/info world/manpages world/proflibs > > > > The following components of FreeBSD do not seem to be installed: > > src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games > > src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue > > src/sbin src/secure src/share src/tools src/ubin src/usbin > > world/catpages > > > > Does this look reasonable (y/n)? > > > > Y > > > > Fetching metadata signature for 7.1-RELEASE from update1.FreeBSD.org... > done. > > Fetching metadata index... done. > > Fetching 1 metadata patches. done. > > Applying metadata patches... done. > > Fetching 1 metadata files... done. > > Inspecting system... done. > > Fetching files from 7.0-RELEASE for merging... done. > > Preparing to download files... done. > > Fetching 17792 patches. > > > > Then it asks me about files in /etc/ which were modified. I install > > newer versions and change some entries if needed. Save and exit vi > > when it is all finished. > > > > 2/ cd /usr/src/ > > 3/ make kernel KERNCONF=GENERIC > > 4/ shutdown -r now > > > > The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 > > (GENERIC) #2. > > > > I repeated the whole procedure (didn't have to download the 17792 > > patches though) and restarted once again - but got the same effect. A > > slight hint. I am sure I modified and saved /etc/ssh/sshd_config file > > but its modify date is from 2008. So I am probably doing something > > wrong there... > > > > I put the entries (for example a non-standard ssh port number), press > > Esc, then : and finally wq. > > > > Can you help by suggesting where to go from here? Many thanks! > > > > > Hi Zbigniew > > During the first run of freebsd-update, the sources for the kernel are > not yet installed. > Please follow the exact procedure described here: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > (Section 24.2.3 onwards) > > This was recently updated to cater for people with custom kernel. > On the other hand, if you intend to use GENERIC as shown above, you > don't need to recompile anything. Hello Manolis, I don't use freebsd-update myself. I still use csup and the long procedure, but I have a question on the GENERIC kernel. You say he does not need to recompile anything? Does that mean freebsd-update pulls in a new GENERIC kernel based on the latest source tree? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Failure is the opportunity to begin again more intelligently." --Henry Ford From zszalbot at gmail.com Wed Jan 7 13:30:13 2009 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Wed Jan 7 13:30:19 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> Message-ID: <94136a2c0901070530q7f4be8d4t8324a7b412a67d6b@mail.gmail.com> First of all - thank you Manolis! On Wed, Jan 7, 2009 at 14:23, Odhiambo Washington wrote: > I don't use freebsd-update myself. I still use csup and the long procedure, > but I have a question on the GENERIC kernel. You say he does not need to > recompile anything? Does that mean freebsd-update pulls in a new GENERIC > kernel based on the latest source tree? Based on what I have NOW read :) (but should have studied ealier), I do not think I need to compile a generic kernel. "If the system was running with a custom kernel, use the nextboot(8) command to set the kernel for the next boot to /boot/GENERIC (which was updated):" I hope I am not wrong again... Thanks! -- Zbigniew Szalbot www.fairtrade.net.pl www.slowo.pl From sonic2000gr at gmail.com Wed Jan 7 13:39:17 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Wed Jan 7 13:39:24 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> Message-ID: <4964B080.2050104@gmail.com> Odhiambo Washington wrote: > > > On Wed, Jan 7, 2009 at 4:04 PM, Manolis Kiagias > wrote: > > Zbigniew Szalbot wrote: > > Hello, > > > > Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 > > (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: > > > > 1. freebsd-update -r 7.1-RELEASE upgrade > > > > I get: > > > > The following components of FreeBSD seem to be installed: > > kernel/generic src/base src/sys world/base world/dict world/doc > > world/games world/info world/manpages world/proflibs > > > > The following components of FreeBSD do not seem to be installed: > > src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games > > src/gnu src/include src/krb5 src/lib src/libexec src/release > src/rescue > > src/sbin src/secure src/share src/tools src/ubin src/usbin > > world/catpages > > > > Does this look reasonable (y/n)? > > > > Y > > > > Fetching metadata signature for 7.1-RELEASE from > update1.FreeBSD.org... done. > > Fetching metadata index... done. > > Fetching 1 metadata patches. done. > > Applying metadata patches... done. > > Fetching 1 metadata files... done. > > Inspecting system... done. > > Fetching files from 7.0-RELEASE for merging... done. > > Preparing to download files... done. > > Fetching 17792 patches. > > > > Then it asks me about files in /etc/ which were modified. I install > > newer versions and change some entries if needed. Save and exit vi > > when it is all finished. > > > > 2/ cd /usr/src/ > > 3/ make kernel KERNCONF=GENERIC > > 4/ shutdown -r now > > > > The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 > > (GENERIC) #2. > > > > I repeated the whole procedure (didn't have to download the 17792 > > patches though) and restarted once again - but got the same > effect. A > > slight hint. I am sure I modified and saved /etc/ssh/sshd_config > file > > but its modify date is from 2008. So I am probably doing something > > wrong there... > > > > I put the entries (for example a non-standard ssh port number), > press > > Esc, then : and finally wq. > > > > Can you help by suggesting where to go from here? Many thanks! > > > > > Hi Zbigniew > > During the first run of freebsd-update, the sources for the kernel are > not yet installed. > Please follow the exact procedure described here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > (Section 24.2.3 onwards) > > This was recently updated to cater for people with custom kernel. > On the other hand, if you intend to use GENERIC as shown above, you > don't need to recompile anything. > > > Hello Manolis, > > I don't use freebsd-update myself. I still use csup and the long > procedure, but I have a question on the GENERIC kernel. You say he > does not need to recompile anything? Does that mean freebsd-update > pulls in a new GENERIC kernel based on the latest source tree? > Yes, freebsd-update will automatically update a GENERIC kernel if it is installed in /boot/kernel or /boot/GENERIC. It will simply download a new precompiled GENERIC kernel for the version you are upgrading. From odhiambo at gmail.com Wed Jan 7 13:42:27 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed Jan 7 13:42:35 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <4964B080.2050104@gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> <4964B080.2050104@gmail.com> Message-ID: <991123400901070542q7e57d5f3vf5fcf182d10ce66a@mail.gmail.com> On Wed, Jan 7, 2009 at 4:39 PM, Manolis Kiagias wrote: > Odhiambo Washington wrote: > > > > > > On Wed, Jan 7, 2009 at 4:04 PM, Manolis Kiagias > > wrote: > > > > Zbigniew Szalbot wrote: > > > Hello, > > > > > > Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 > > > (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: > > > > > > 1. freebsd-update -r 7.1-RELEASE upgrade > > > > > > I get: > > > > > > The following components of FreeBSD seem to be installed: > > > kernel/generic src/base src/sys world/base world/dict world/doc > > > world/games world/info world/manpages world/proflibs > > > > > > The following components of FreeBSD do not seem to be installed: > > > src/bin src/cddl src/compat src/contrib src/crypto src/etc > src/games > > > src/gnu src/include src/krb5 src/lib src/libexec src/release > > src/rescue > > > src/sbin src/secure src/share src/tools src/ubin src/usbin > > > world/catpages > > > > > > Does this look reasonable (y/n)? > > > > > > Y > > > > > > Fetching metadata signature for 7.1-RELEASE from > > update1.FreeBSD.org... done. > > > Fetching metadata index... done. > > > Fetching 1 metadata patches. done. > > > Applying metadata patches... done. > > > Fetching 1 metadata files... done. > > > Inspecting system... done. > > > Fetching files from 7.0-RELEASE for merging... done. > > > Preparing to download files... done. > > > Fetching 17792 patches. > > > > > > Then it asks me about files in /etc/ which were modified. I install > > > newer versions and change some entries if needed. Save and exit vi > > > when it is all finished. > > > > > > 2/ cd /usr/src/ > > > 3/ make kernel KERNCONF=GENERIC > > > 4/ shutdown -r now > > > > > > The system is up and geuss what - it is still FreeBSD > 7.0-RELEASE-p7 > > > (GENERIC) #2. > > > > > > I repeated the whole procedure (didn't have to download the 17792 > > > patches though) and restarted once again - but got the same > > effect. A > > > slight hint. I am sure I modified and saved /etc/ssh/sshd_config > > file > > > but its modify date is from 2008. So I am probably doing something > > > wrong there... > > > > > > I put the entries (for example a non-standard ssh port number), > > press > > > Esc, then : and finally wq. > > > > > > Can you help by suggesting where to go from here? Many thanks! > > > > > > > > Hi Zbigniew > > > > During the first run of freebsd-update, the sources for the kernel > are > > not yet installed. > > Please follow the exact procedure described here: > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > > > (Section 24.2.3 onwards) > > > > This was recently updated to cater for people with custom kernel. > > On the other hand, if you intend to use GENERIC as shown above, you > > don't need to recompile anything. > > > > > > Hello Manolis, > > > > I don't use freebsd-update myself. I still use csup and the long > > procedure, but I have a question on the GENERIC kernel. You say he > > does not need to recompile anything? Does that mean freebsd-update > > pulls in a new GENERIC kernel based on the latest source tree? > > > Yes, freebsd-update will automatically update a GENERIC kernel if it is > installed in /boot/kernel or /boot/GENERIC. It will simply download a > new precompiled GENERIC kernel for the version you are upgrading. > Amen! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Failure is the opportunity to begin again more intelligently." --Henry Ford From bjmccann at gmail.com Wed Jan 7 13:46:38 2009 From: bjmccann at gmail.com (Brian McCann) Date: Wed Jan 7 13:46:44 2009 Subject: FreeBSD USB Install Message-ID: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb drive, but every time I try it fails. sysinstall says "Unable to make new root filesystem on /dev/da0s1a1. Command returned status 38". When I switch to the debug console, I get "cg 0: bad magic number". This thumb drive was being used on my Windows machine previously, then I re-formatted it as UFS to use it on a FreeBSD machine...so I know the thumb drive itself works. Can someone shed some light on this problem? Thanks! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From sonic2000gr at gmail.com Wed Jan 7 13:54:38 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Wed Jan 7 13:54:46 2009 Subject: 7.0 > 7.1 update problem In-Reply-To: <94136a2c0901070530q7f4be8d4t8324a7b412a67d6b@mail.gmail.com> References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> <94136a2c0901070530q7f4be8d4t8324a7b412a67d6b@mail.gmail.com> Message-ID: <4964B40B.8090409@gmail.com> Zbigniew Szalbot wrote: > First of all - thank you Manolis! > > On Wed, Jan 7, 2009 at 14:23, Odhiambo Washington wrote: > > >> I don't use freebsd-update myself. I still use csup and the long procedure, >> but I have a question on the GENERIC kernel. You say he does not need to >> recompile anything? Does that mean freebsd-update pulls in a new GENERIC >> kernel based on the latest source tree? >> > > Based on what I have NOW read :) (but should have studied ealier), I > do not think I need to compile a generic kernel. > > "If the system was running with a custom kernel, use the nextboot(8) > command to set the kernel for the next boot to /boot/GENERIC (which > was updated):" > > I hope I am not wrong again... > > Thanks! > > If you had a /boot/GENERIC directory, then it was upgraded. If not, and you already compiled a kernel yourself before the second freebsd-update install you still have a 7.0 kernel. But after you run freebsd-update install for the second time the sources are updated anyway, so you can build the kernel of your choice From freebsd at edvax.de Wed Jan 7 14:17:22 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Jan 7 14:17:29 2009 Subject: FreeBSD USB Install In-Reply-To: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> Message-ID: <20090107151702.48136fb1.freebsd@edvax.de> On Wed, 7 Jan 2009 08:25:45 -0500, "Brian McCann" wrote: > Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb > drive, but every time I try it fails. sysinstall says "Unable to make > new root filesystem on /dev/da0s1a1. Command returned status 38". > When I switch to the debug console, I get "cg 0: bad magic number". > This thumb drive was being used on my Windows machine previously, then > I re-formatted it as UFS to use it on a FreeBSD machine...so I know > the thumb drive itself works. Can someone shed some light on this > problem? I could only suggest to eliminate all slices and partitions on the thumb drive (such as it was a new "disk" right from the factory) and let sysinstall put slice and partitions onto it. Furthermore, I think /dev/da0s1a1 looks a bit strange. Shouldn't it be /dev/da0s1a (without the 1) for the root partition? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From steve at ibctech.ca Wed Jan 7 14:33:43 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 14:33:50 2009 Subject: PHP setup question In-Reply-To: <20090107052009.GA3995@teddy.fas.com> References: <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> Message-ID: <4964BD4A.4060300@ibctech.ca> stan wrote: I'll describe the test setup that I used within a VM to configure things inline. The software does not necessarily match the version number exactly to yours. > OK, here goes: > > black# uname -a > FreeBSD black.fas.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Dec 27 > 19:11:47 EST 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD testweb.eagle.ca 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > ports of interest: My ports tree is the one from the FBSD 7.1 install as noted above. I literally just downloaded the .iso yesterday. > ampache-3.4.3 > mysql-client-5.0.75 MySQL was installed with: # pkg_add -r mysql51 testweb# mysql -V mysql Ver 14.14 Distrib 5.1.28-rc, for portbld-freebsd7.1 (i386) using 5.2 > mysql-server-5.0.75 Server version: 5.1.28-rc FreeBSD port: mysql-server-5.1.28_1 > apache-2.2.11 Apache installed via: # pkg_add -r apache2 testweb# apachectl -v Server version: Apache/2.2.9 (FreeBSD) Server built: Sep 8 2008 13:27:11 PHP was installed from ports (lang/php5). The only changes I made were enabling the Apache module and enabling sessions (which BTW is required for Ampache, as is mysql pcre iconv). php-extensions was also installed via ports. Other than GD, the only other option that I enabled was MySQL. > Once you have these installed add the folloowing lines to > /usr/local/etc/apache22httpd.conf > > > Order allow,deny > Allow from all > > > Alias /ampache "/usr/local/www/ampache" Normally I set up websites in a different fashion than above, but to keep things consistent, I followed the documentation as above. > Edit /usr/local/www/ampache/config/ampache.cfg.php.dist and put doubel > quotes around the names of the rss* bairables (to work around a known bug" > Complete step 1 of the install process > Go to step 2, when you press "write config file" you will be prompted to > download this fle instead (not cerrtain wh the directory it goes in is > writbale by the www user). Donwload this file and install it as: > > /usr/local/www/ampache/config/ampache.cfg Done. I scp'd the file from my Windows workstation to the box, and put it into the ampache/config directory. I then chown'ed the file to my web servers UID. > Try to proced to step 3. You should get an error message saying that > Ampache is already configured (but it's not0. At this point, (Step 3), I am presented with a 'Create Admin Account' screen...I receive no errors or warnings. Clicking on 'Check config' claims everything is ok... ...and now I am presented with: http://208.70.104.27/ampache/login.php ...in which I use the admin account I just created, and it directs me into the application. > I beleive this is a repeatvle bug. I'm willing to bet that you have a permissions error within the filesystem, but that is just a guess. Provide the output to: # ls -l /usr/local/www # ls -l /usr/local/www/ampache/config Steve From steve at ibctech.ca Wed Jan 7 14:40:52 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 14:41:01 2009 Subject: PHP setup question In-Reply-To: <20090107052009.GA3995@teddy.fas.com> References: <20090104042402.GA29640@teddy.fas.com> <20090104044236.GC13260@the-grills.com> <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> Message-ID: <4964BEF8.9030702@ibctech.ca> stan wrote: > Complete step 1 of the install process > Go to step 2, when you press "write config file" you will be prompted to > download this fle instead (not cerrtain wh the directory it goes in is > writbale by the www user). Donwload this file and install it as: > > /usr/local/www/ampache/config/ampache.cfg Oh, I missed this my first pass through... If what you claim above is not a typo, then the system surely can not find a configuration, as it should be named: ampache.cfg.php ...not ampache.cfg Small point, but could be a critical one. Steve From guru at unixarea.de Wed Jan 7 14:46:56 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed Jan 7 14:47:04 2009 Subject: FreeBSD USB Install In-Reply-To: <20090107151702.48136fb1.freebsd@edvax.de> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> Message-ID: <20090107143450.GA12360@rebelion.Sisis.de> El d?a Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribi?: > On Wed, 7 Jan 2009 08:25:45 -0500, "Brian McCann" wrote: > > Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb > > drive, but every time I try it fails. sysinstall says "Unable to make > > new root filesystem on /dev/da0s1a1. Command returned status 38". > > When I switch to the debug console, I get "cg 0: bad magic number". > > This thumb drive was being used on my Windows machine previously, then > > I re-formatted it as UFS to use it on a FreeBSD machine...so I know > > the thumb drive itself works. Can someone shed some light on this > > problem? > > I could only suggest to eliminate all slices and partitions on the > thumb drive (such as it was a new "disk" right from the factory) > and let sysinstall put slice and partitions onto it. The problem is that 'from the factory' sometimnes they come already Windows-like formated; I've wiped out all with: # dd if=/dev/zero of=/dev/da0 bs=1m (double check that /dev/da0 is really the device you want to clean) 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/ SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion From fernando.apesteguia at gmail.com Wed Jan 7 15:01:02 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Jan 7 15:01:09 2009 Subject: DHCP Request in the background In-Reply-To: <20090107141107.dc82bb00.freebsd@edvax.de> References: <1bd550a00901070443g715ab989y7da3bad4b6a741b9@mail.gmail.com> <20090107141107.dc82bb00.freebsd@edvax.de> Message-ID: <1bd550a00901070701i6d56da7ar35c3594860c69d7c@mail.gmail.com> On Wed, Jan 7, 2009 at 2:11 PM, Polytropon wrote: > On Wed, 7 Jan 2009 13:43:24 +0100, "Fernando Apestegu?a" wrote: >> I would like to know if there is a way (something in rc.conf?) to tell >> dhcp to run in the background, so while the crappy router is answering >> my request, hal, dbus and the whole thing can be loaded whitout delay. > > According to /etc/defaults/rc.conf, there is the following setting: > > background_dhclient="NO" # Start dhcp client in the background. > > So if you put > > background_dhclient="YES" > > into your /etc/rc.conf, it should work as expected. My bad, I should have looked at that file. It works fine, Thanks! > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From steve at ibctech.ca Wed Jan 7 15:01:32 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 15:01:39 2009 Subject: FreeBSD USB Install In-Reply-To: <20090107143450.GA12360@rebelion.Sisis.de> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> <20090107143450.GA12360@rebelion.Sisis.de> Message-ID: <4964C3CF.7000804@ibctech.ca> Matthias Apitz wrote: > El d?a Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribi?: > >> On Wed, 7 Jan 2009 08:25:45 -0500, "Brian McCann" wrote: >>> Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb >>> drive, but every time I try it fails. sysinstall says "Unable to make >>> new root filesystem on /dev/da0s1a1. Command returned status 38". >>> When I switch to the debug console, I get "cg 0: bad magic number". >>> This thumb drive was being used on my Windows machine previously, then >>> I re-formatted it as UFS to use it on a FreeBSD machine...so I know >>> the thumb drive itself works. Can someone shed some light on this >>> problem? >> I could only suggest to eliminate all slices and partitions on the >> thumb drive (such as it was a new "disk" right from the factory) >> and let sysinstall put slice and partitions onto it. > > The problem is that 'from the factory' sometimnes they come already Windows-like > formated; I've wiped out all with: > > # dd if=/dev/zero of=/dev/da0 bs=1m > > (double check that /dev/da0 is really the device you want to clean) sysinstall will provide you an option to erase any existing 'partitions' that exist on the drive during install, so the 'dd' is redundant. I've never installed directly to a thumbdrive before. Normally I'd install to a hard disk, pear it down, and then effectively copy the system to the thumb drive manually. I end up with a system as such (so I don't need a hard disk): router# df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0a 939M 410M 454M 47% / devfs 1.0K 1.0K 0B 100% /dev /dev/md0 31M 20K 28M 0% /tmp /dev/md1 15M 36K 14M 0% /var/run /dev/md2 31M 318K 28M 1% /var/log /tmp 31M 20K 28M 0% /var/tmp That said, installing to a USB disk through sysinstall should technically (AFAIK) be no different than installing to a standard SCSI hard disk (da0). What options are you supplying when you reach the 'FDISK Partition Editor' screen? Also, if you are installing the system via sysinstall that is running on an already installed FreeBSD, you must use the 'w' option before 'q'. Quit within the disk editor while running under FreeBSD does not imply 'write'. (This being opposed to booting from a CD to install). Steve From david at ideogon.com Wed Jan 7 15:35:13 2009 From: david at ideogon.com (ideogon) Date: Wed Jan 7 15:35:29 2009 Subject: During install: device Probe freezes after detecting Ethernet address Message-ID: <21333686.post@talk.nabble.com> I'm trying to install FreeBSD 7.0 from CDs I made a few months ago on a brand new system with parts I just got in from NewEgg. I select the default option from the Boot Loader and it goes into the device probe. Several devices are recognized, but then it freezes at: mskc0: port 0xe800-0xe8ff mem 0xf7ffc00 0-0xf7ffffff irq 18 at device 0.0 on pci2 msk0: on mskc0 msk0: Ethernet address: 00:22:15:86:02:47 I don't see any errors on the screen, and I can't seem to scroll up to see if I'm missing one, but I don't think there is. I am using a CD, but the disk appears undamaged and is clean. All components appear to be recognized by the BIOS. -- View this message in context: http://www.nabble.com/During-install%3A-device-Probe-freezes-after-detecting-Ethernet-address-tp21333686p21333686.html Sent from the freebsd-questions mailing list archive at Nabble.com. From krad at snaffler.net Wed Jan 7 16:21:50 2009 From: krad at snaffler.net (chris.scott) Date: Wed Jan 7 16:21:58 2009 Subject: Kernel messages redirection Message-ID: <4964CFA3.9020404@snaffler.net> hi Does anyone know howto redirect/stop kernel messages from displaying on ttyv0? eg when you plug in a usb disk you get a load of messages to the 1st screen console I am writing a custom installer and its a pain as every time I label and geom provider it spams a load of stuff and messes up my nice display. This is nothing to do with syslog as I have already turned off logging to /dev/console, ive tried a few curious looking sysctl varibles but not found anything that works yet. k From ricardo.meb.jesus at gmail.com Wed Jan 7 16:44:24 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Wed Jan 7 16:44:31 2009 Subject: FreeBSD USB Install In-Reply-To: <4964C3CF.7000804@ibctech.ca> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> <20090107143450.GA12360@rebelion.Sisis.de> <4964C3CF.7000804@ibctech.ca> Message-ID: <4964DBE5.2000807@gmail.com> Steve Bertrand wrote: > Matthias Apitz wrote: >> El d?a Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribi?: >> >>> On Wed, 7 Jan 2009 08:25:45 -0500, "Brian McCann" wrote: >>>> Hi all. I'm trying to install FreeBSD 7.1 off the CD to a USB thumb >>>> drive, but every time I try it fails. sysinstall says "Unable to make >>>> new root filesystem on /dev/da0s1a1. Command returned status 38". >>>> When I switch to the debug console, I get "cg 0: bad magic number". >>>> This thumb drive was being used on my Windows machine previously, then >>>> I re-formatted it as UFS to use it on a FreeBSD machine...so I know >>>> the thumb drive itself works. Can someone shed some light on this >>>> problem? >>> I could only suggest to eliminate all slices and partitions on the >>> thumb drive (such as it was a new "disk" right from the factory) >>> and let sysinstall put slice and partitions onto it. >> The problem is that 'from the factory' sometimnes they come already Windows-like >> formated; I've wiped out all with: >> >> # dd if=/dev/zero of=/dev/da0 bs=1m >> >> (double check that /dev/da0 is really the device you want to clean) > > sysinstall will provide you an option to erase any existing 'partitions' > that exist on the drive during install, so the 'dd' is redundant. > > I've never installed directly to a thumbdrive before. Normally I'd > install to a hard disk, pear it down, and then effectively copy the > system to the thumb drive manually. I end up with a system as such (so I > don't need a hard disk): > > router# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0a 939M 410M 454M 47% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/md0 31M 20K 28M 0% /tmp > /dev/md1 15M 36K 14M 0% /var/run > /dev/md2 31M 318K 28M 1% /var/log > /tmp 31M 20K 28M 0% /var/tmp > > That said, installing to a USB disk through sysinstall should > technically (AFAIK) be no different than installing to a standard SCSI > hard disk (da0). > > What options are you supplying when you reach the 'FDISK Partition > Editor' screen? > > Also, if you are installing the system via sysinstall that is running on > an already installed FreeBSD, you must use the 'w' option before 'q'. > Quit within the disk editor while running under FreeBSD does not imply > 'write'. (This being opposed to booting from a CD to install). > > 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" > I've installed 7.0 on an USB IDE drive last week. At the time the USB drive had a Linux distro on it which I destroyed, place the install CD on the CD drive, selected boot from USB, the drive showed up on sysinstall, and performed a pretty standard FreeBSD install. Regards. From chris.scott at uk.tiscali.com Wed Jan 7 16:48:32 2009 From: chris.scott at uk.tiscali.com (Chris Scott) Date: Wed Jan 7 16:48:40 2009 Subject: FreeBSD USB Install Message-ID: Hi, Ditch sysinstall and follow this http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb- stick-episode-2 glabel (the -L one newfs) is your friend, as it will help you avoid the situation when you get boot failures when you try to boot off ur usb disk on a machine that has scsi drives (da0 wont be the usb drive) From david at ideogon.com Wed Jan 7 16:57:56 2009 From: david at ideogon.com (ideogon) Date: Wed Jan 7 16:58:04 2009 Subject: During install: device Probe freezes after detecting Ethernet address In-Reply-To: <21333686.post@talk.nabble.com> References: <21333686.post@talk.nabble.com> Message-ID: <21335636.post@talk.nabble.com> I've actually been able to get past this part once. It continued into the installation menu. I was able to configure the system and then when I set it to boot from the CD/DVD, it said that the CD/DVD drive isn't supported. Did some Googling and apparently that even though the BIOS recognizes my DVD (and thus loaded the installation menu from it) doesn't mean that the FreeBSD installation recognizes my DVD drive. According to FreeBSD's site, it should recognize any ATAPI CD/DVD drive, which it is according to the BIOS. I went back into the BIOS and realized that the drive was being recognized, however, as slave and not master, so I reconnected it as slave (confirmed this in the BIOS) and rebooted, speculating that this is the underlying issue of FreeBSD not supporting my CD/DVD drive. However, now I cannot get past this point (after probing the Ethernet address) in the device probe in order to continue on to the FreeBSD installation menu. Any ideas...? -- View this message in context: http://www.nabble.com/During-install%3A-device-Probe-freezes-after-detecting-Ethernet-address-tp21333686p21335636.html Sent from the freebsd-questions mailing list archive at Nabble.com. From david at ideogon.com Wed Jan 7 17:01:18 2009 From: david at ideogon.com (ideogon) Date: Wed Jan 7 17:01:25 2009 Subject: During install: device Probe freezes after detecting Ethernet address In-Reply-To: <21335636.post@talk.nabble.com> References: <21333686.post@talk.nabble.com> <21335636.post@talk.nabble.com> Message-ID: <21335726.post@talk.nabble.com> Just got one line further! Haha. After detecting the Ethernet address, now: miibus0: on msk0 Reply With Quote -- View this message in context: http://www.nabble.com/During-install%3A-device-Probe-freezes-after-detecting-Ethernet-address-tp21333686p21335726.html Sent from the freebsd-questions mailing list archive at Nabble.com. From phocking at fsklaw.com Wed Jan 7 17:07:23 2009 From: phocking at fsklaw.com (Phillip Hocking) Date: Wed Jan 7 17:07:31 2009 Subject: Mergemaster failing before 7.1 installworld Message-ID: <4964DB9F.5020201@fsklaw.com> Greetings. I have updated to 7.1 from a 6.2 box. Kernel built and installed successfully, world built successfully, however mergemaster is failing: $ mergemaster *** Unable to find mtree database. Skipping auto-upgrade. *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. Use 'd' to delete the old /var/tmp/temproot and continue Use 't' to select a new temporary root directory Use 'e' to exit mergemaster Default is to use /var/tmp/temproot as is How should I deal with this? [Use the existing /var/tmp/temproot] *** Leaving /var/tmp/temproot intact *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot "/usr/src/etc/Makefile", line 6: Malformed conditional (${MK_SENDMAIL} != "no") "/usr/src/etc/Makefile", line 8: if-less endif "/usr/src/etc/Makefile", line 35: Malformed conditional (${MK_LPR} != "no") "/usr/src/etc/Makefile", line 37: if-less endif "/usr/src/etc/Makefile", line 39: Malformed conditional (${MK_NS_CACHING} != "no") "/usr/src/etc/Makefile", line 41: if-less endif "/usr/src/etc/Makefile", line 43: Malformed conditional (${MK_OPENSSH} != "no") "/usr/src/etc/Makefile", line 47: if-less endif "/usr/src/etc/Makefile", line 48: Malformed conditional (${MK_OPENSSL} != "no") "/usr/src/etc/Makefile", line 50: if-less endif "/usr/src/etc/Makefile", line 57: Malformed conditional (${MK_SENDMAIL} != "no") "/usr/src/etc/Makefile", line 59: if-less endif "/usr/src/etc/Makefile", line 60: Malformed conditional (${MK_BIND} != "no") "/usr/src/etc/Makefile", line 62: Malformed conditional (${MK_BIND_LIBS} != "no") "/usr/src/etc/Makefile", line 64: if-less endif "/usr/src/etc/Makefile", line 65: if-less endif "/usr/src/etc/Makefile", line 69: Malformed conditional (${MK_SENDMAIL} == "no") "/usr/src/etc/Makefile", line 71: if-less else "/usr/src/etc/Makefile", line 74: if-less endif "/usr/src/etc/Makefile", line 80: Malformed conditional (${MK_MAN} != "no") "/usr/src/etc/Makefile", line 82: if-less endif "/usr/src/etc/Makefile", line 130: Malformed conditional (${MK_I4B} != "no") "/usr/src/etc/Makefile", line 132: if-less endif "/usr/src/etc/Makefile", line 133: Malformed conditional (${MK_BIND_MTREE} != "no") "/usr/src/etc/Makefile", line 138: if-less endif "/usr/src/etc/Makefile", line 139: Malformed conditional (${MK_BIND_ETC} != "no") "/usr/src/etc/Makefile", line 141: if-less endif "/usr/src/etc/Makefile", line 142: Malformed conditional (${MK_SENDMAIL} != "no") "/usr/src/etc/Makefile", line 144: if-less endif "/usr/src/etc/Makefile", line 145: Malformed conditional (${MK_OPENSSH} != "no") "/usr/src/etc/Makefile", line 148: if-less endif "/usr/src/etc/Makefile", line 149: Malformed conditional (${MK_OPENSSL} != "no") "/usr/src/etc/Makefile", line 152: if-less endif "/usr/src/etc/Makefile", line 153: Malformed conditional (${MK_KERBEROS} != "no") "/usr/src/etc/Makefile", line 157: if-less endif "/usr/src/etc/Makefile", line 199: Malformed conditional (${MK_BIND_LIBS} != "no") "/usr/src/etc/Makefile", line 202: if-less endif "/usr/src/etc/Makefile", line 203: Malformed conditional (${MK_BIND_MTREE} != "no") "/usr/src/etc/Makefile", line 206: if-less endif "/usr/src/etc/Makefile", line 207: Malformed conditional (${MK_SENDMAIL} != "no") "/usr/src/etc/Makefile", line 209: if-less endif make: fatal errors encountered -- cannot continue *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment Any suggestions? Thanks for checking a look at this. -- Floyd Skeren & Kelly LLP *Phillip Andrew Hocking* * Network Engineer* Address 23801 Calabasas Road, Suite 2025 Calabasas, CA 91302 Phone (559) 474-3511 Fax (818) 206-9223 Website http://www.fsklaw.com Email phocking@fsklaw.com * Please Note*: This message is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or use of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by reply email and also delete the original and any attached documentation. Thank you. From dhorn2000 at gmail.com Wed Jan 7 17:10:14 2009 From: dhorn2000 at gmail.com (David Horn) Date: Wed Jan 7 17:10:21 2009 Subject: Kernel messages redirection In-Reply-To: <4964CFA3.9020404@snaffler.net> References: <4964CFA3.9020404@snaffler.net> Message-ID: <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> On Wed, Jan 7, 2009 at 10:52 AM, chris.scott wrote: > > hi > > Does anyone know howto redirect/stop kernel messages from displaying on > ttyv0? Look at conscontrol(8) as one option. ( There may be other ways that work better for your case, but I have used conscontrol on my 7.0-RELEASE machine before with success ) You can use conscontrol(8) to either mute, or redirect kernel messages to another virtual console. Good Luck. ---Dave Horn > > eg when you plug in a usb disk you get a load of messages to the 1st screen > console > > I am writing a custom installer and its a pain as every time I label and > geom provider it spams a load of stuff and messes up my nice display. This > is nothing to do with syslog as I have already turned off logging to > /dev/console, ive tried a few curious looking sysctl varibles but not found > anything that works yet. > > > k > > > _______________________________________________ > 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 krad at snaffler.net Wed Jan 7 17:16:07 2009 From: krad at snaffler.net (chris.scott) Date: Wed Jan 7 17:16:14 2009 Subject: Kernel messages redirection In-Reply-To: <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> References: <4964CFA3.9020404@snaffler.net> <25ff90d60901070910m1aec9bd6u17c903430cc6aed0@mail.gmail.com> Message-ID: <4964E335.1070702@snaffler.net> typical, after hunting around for a few days and not no luck, i get luck just after giving in and posting to this list 8/ $ sysctl -a| grep mute kern.consmute: 0 does the job setting it in boot/loader.conf makes the kernel silently boot but im setting in in /etc/sysctl.conf so it set at userland. This way i can see the kernel boot normally rather than looking like its hung, no anoying geom messages now hmm, now to tidy up stuff that looked like it was working nicely before i ran it in the root console David Horn wrote: > On Wed, Jan 7, 2009 at 10:52 AM, chris.scott wrote: > >> hi >> >> Does anyone know howto redirect/stop kernel messages from displaying on >> ttyv0? >> > > Look at conscontrol(8) as one option. ( There may be other ways that > work better for your case, but I have used conscontrol on my > 7.0-RELEASE machine before with success ) > > You can use conscontrol(8) to either mute, or redirect kernel messages > to another virtual console. > > Good Luck. > > ---Dave Horn > > >> eg when you plug in a usb disk you get a load of messages to the 1st screen >> console >> >> I am writing a custom installer and its a pain as every time I label and >> geom provider it spams a load of stuff and messes up my nice display. This >> is nothing to do with syslog as I have already turned off logging to >> /dev/console, ive tried a few curious looking sysctl varibles but not found >> anything that works yet. >> >> >> k >> >> >> _______________________________________________ >> 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 nospam at ofloo.org Wed Jan 7 17:18:29 2009 From: nospam at ofloo.org (Wouter Snels) Date: Wed Jan 7 17:18:36 2009 Subject: some doubts.. Message-ID: <4964E3DE.5050807@ofloo.org> http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html i think there is a problem on that page, i've noticed that you are supposed to add following in rc.conf, however i remember that it was supposed to be in make.conf.. SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 could be wrong am no expert, .. Regards, .. WS -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090107/0d73ed97/signature.pgp From freebsd-questions-local at be-well.ilk.org Wed Jan 7 18:12:45 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jan 7 18:12:52 2009 Subject: some doubts.. In-Reply-To: <4964E3DE.5050807@ofloo.org> (Wouter Snels's message of "Wed\, 07 Jan 2009 18\:18\:22 +0100") References: <4964E3DE.5050807@ofloo.org> Message-ID: <44ljtnm1d5.fsf@lowell-desk.lan> Wouter Snels writes: > http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html > > i think there is a problem on that page, i've noticed that you are > supposed to add following in rc.conf, however i remember that it was > supposed to be in make.conf.. > > SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl2 > > could be wrong am no expert, .. Not only are you right, but the English version does say make.conf. I suggest you check with the Dutch translation team... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions-local at be-well.ilk.org Wed Jan 7 18:26:45 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jan 7 18:26:52 2009 Subject: Upgrade a USB-stick contained system In-Reply-To: <49640DE5.7090308@ibctech.ca> (Steve Bertrand's message of "Tue\, 06 Jan 2009 21\:05\:25 -0500") References: <49640DE5.7090308@ibctech.ca> Message-ID: <44eizfm0pr.fsf@lowell-desk.lan> Steve Bertrand writes: > I run numerous systems (mostly networking gear) from 2GB USB thumb > sticks. These systems do not have hard disks. > > To update one of these systems, I'd generally copy the thumb drive > filesystem to a hard disk in another PC, upgrade it, and then transfer > the necessary data back to the USB drive. I'd like to change this approach. > > What I'd like to do, is boot the USB drive in another machine that has a > hard drive, and mount any necessary directories for the duration of the > upgrade into the USB drive (such as /usr/src, /usr/ports etc) from the > hard drive. When I'm done, the cruft stays on the physical hard disk, > while the upgraded system on the USB drive is physically replaced back > into the original system. > > This is purely a disk-space issue on the USB disk. What I want to know, > is *exactly* what _working_ directories/filesystems are required to > build a new system... working directories that can be dissolved with no > repercussions by using umount. For the base system, /usr/src and /usr/obj. For ports, /usr/ports. They can be mounted in other places and pointed at with variables, but there's no reason not to use the standard places for this application. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From gpeel at thenetnow.com Wed Jan 7 18:31:33 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jan 7 18:31:41 2009 Subject: Replace SCSI Drive Message-ID: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> Hi all, I currently have a SCSI drive that *may* be going bad on one of my production servers. I have lots of backups :-) Scenario: The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K spin drive. It is at the network center about 120 miles away. This drive is not using anywhere near 76 GB, and the server will never need 76 GB. I estimate its using about 20 GB now. I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, currently hooked up to my home (Windows XP BOX) via an Initio SCSI adaptor. What I would like to do is: Using my windows box, FDISK and set up the disk slices at home, using some kind of FreeBSD boot disk. I will of course, make sure there is enough room on each file system to accomodate the data from the other (going bad) disk. Take the pristine disk to the Network Center, Shut down all software on the machine that has the bad disk, and make full dumps of all filesystems on that machine (/, /var, /home, /usr) and move the over to the new formatted drive. Since I have never done this before, I have some questions: !. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO image, to boot my PC and make the filesystems on the 36GB drive, without actually installing FreeBSD? (Please feel free to tell me exactly how :-)). 2. Once I get that drive to the network center, and restore the dumps to it, how do I ensure the drive is bootable? (I assume I actually do that in the previous step). 3. Is it possible to skip step one altogether and use the instructions in the man pages regarding "Restoring a filesystem" and makeing the 'Pristine' filesystem? If so, again, how do I ensure the disk is bootable? Thanks a billion in advance, -Grant. P.S. I AM reading all the manuals and handbooks, I just can't afford to mess this up :-) From roberthuff at rcn.com Wed Jan 7 19:20:42 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Jan 7 19:21:12 2009 Subject: semi OT: 64-bit-clean code Message-ID: <18788.63932.623165.925634@jerusalem.litteratus.org> Is there a good guide anywhere to writing 64-bit-clean code? Something that's thorough but understandable, possibly with examples of the trickier bits. Robert Huff From freebsd-questions-local at be-well.ilk.org Wed Jan 7 20:02:13 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jan 7 20:02:20 2009 Subject: some doubts.. In-Reply-To: <4964FEAB.7020805@ofloo.org> (Wouter Snels's message of "Wed\, 07 Jan 2009 20\:12\:43 +0100") References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> Message-ID: <44aba2navj.fsf@lowell-desk.lan> Wouter Snels writes: > Lowell Gilbert schreef: >> Wouter Snels writes: >> >>> http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >>> >>> i think there is a problem on that page, i've noticed that you are >>> supposed to add following in rc.conf, however i remember that it was >>> supposed to be in make.conf.. >>> >>> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL >>> SENDMAIL_LDFLAGS=-L/usr/local/lib >>> SENDMAIL_LDADD=-lsasl2 >>> >>> could be wrong am no expert, .. >> >> Not only are you right, but the English version does say make.conf. >> I suggest you check with the Dutch translation team... >> > How do I contact them? A quick look at the documentation project's documentation about itself showed me: http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch but a docs problem report is probably the best way to go. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From rsmith at xs4all.nl Wed Jan 7 20:16:20 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Jan 7 20:16:28 2009 Subject: semi OT: 64-bit-clean code In-Reply-To: <18788.63932.623165.925634@jerusalem.litteratus.org> References: <18788.63932.623165.925634@jerusalem.litteratus.org> Message-ID: <20090107201617.GA37969@slackbox.xs4all.nl> On Wed, Jan 07, 2009 at 01:51:40PM -0500, Robert Huff wrote: > > Is there a good guide anywhere to writing 64-bit-clean code? > Something that's thorough but understandable, possibly with examples > of the trickier bits. Do not assume that the size of a void* equals the size of an integer and you're probably halfway there. For the rest, searching for '64-bit-clean' will give you thousands of links. Test your code on both a 64-bit and 32-bit machine. One of them can be a virtual machine, of course. 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090107/9170514f/attachment.pgp From Albert.Shih at obspm.fr Wed Jan 7 20:22:23 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Wed Jan 7 20:22:30 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <4964467D.9020606@boosten.org> References: <4964467D.9020606@boosten.org> Message-ID: <20090107202206.GK99261@obspm.fr> Le 07/01/2009 ? 07:06:53+0100, Peter Boosten a ?crit > Johann Hasselbach wrote: > > I was doing a src upgrade from 7.0 to 7.1 > > > > After installkernel, i rebooted, and accidently ran "mergemaster" > > instead of "mergemaster -p" before installworld. I ctrl-c'd once I > > realized what I had done, but the damage was done. > > > > It seems to have overwritten my password and group files. > > > > I've stated this before: In my opinion this entire 'I want to overwrite > your passwd file' attitude from mergemaster is nonsense: at installation > time you're required to add an additional user, and mergemaster wants to > undo that again. > Well...i'm not developper but long time ago, when I update from FreeBSD x.y to Freebsd x+1,(0-1) I loose many time to find something don't work because the Freebsd x+1 need some new system account. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26 Heure local/Local time: Mer 7 jan 2009 21:20:36 CET From peter at boosten.org Wed Jan 7 20:35:14 2009 From: peter at boosten.org (Peter Boosten) Date: Wed Jan 7 20:35:20 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <20090107202206.GK99261@obspm.fr> References: <4964467D.9020606@boosten.org> <20090107202206.GK99261@obspm.fr> Message-ID: <496511DE.2040001@boosten.org> Albert Shih wrote: > Le 07/01/2009 ? 07:06:53+0100, Peter Boosten a ?crit >> Johann Hasselbach wrote: >>> I was doing a src upgrade from 7.0 to 7.1 >>> >>> After installkernel, i rebooted, and accidently ran "mergemaster" >>> instead of "mergemaster -p" before installworld. I ctrl-c'd once I >>> realized what I had done, but the damage was done. >>> >>> It seems to have overwritten my password and group files. >>> >> I've stated this before: In my opinion this entire 'I want to overwrite >> your passwd file' attitude from mergemaster is nonsense: at installation >> time you're required to add an additional user, and mergemaster wants to >> undo that again. >> > Well...i'm not developper but long time ago, when I update from FreeBSD x.y > to Freebsd x+1,(0-1) I loose many time to find something don't work because > the Freebsd x+1 need some new system account. > Well, my point is that mergemaster shouldn't have to delete ALL accounts, just to add one. User and group accounts can be added to the passwd/group file *without* deleting the others. Peter -- http://www.boosten.org From phocking at fsklaw.com Wed Jan 7 20:47:09 2009 From: phocking at fsklaw.com (Phillip Hocking) Date: Wed Jan 7 20:47:16 2009 Subject: Mergemaster failing before 7.1 installworld In-Reply-To: References: <4964DB9F.5020201@fsklaw.com> Message-ID: <496514CC.9010205@fsklaw.com> I did mergemaster -p previously, my issue was resolved with this svn commit fixing the build prefix in mergemaster: http://svn.freebsd.org/viewvc/base/head/usr.sbin/mergemaster/mergemaster.sh?view=markup&pathrev=186678 Thanks for the suggestion though. Floyd Skeren & Kelly LLP *Phillip Andrew Hocking* * Network Engineer* Address 23801 Calabasas Road, Suite 2025 Calabasas, CA 91302 Phone (559) 474-3511 Fax (818) 206-9223 Website http://www.fsklaw.com Email phocking@fsklaw.com * Please Note*: This message is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or use of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by reply email and also delete the original and any attached documentation. Thank you. brad davison wrote: > > > > > Greetings. I have updated to 7.1 from a 6.2 box. Kernel built and > > installed successfully, world built successfully, however > mergemaster is > > failing: > > > > $ mergemaster > > *** Unable to find mtree database. Skipping auto-upgrade. > > I may be stating the obvious, but being before the /installworld/ > shouldn't that be a '/mergemaster -p/' and not just /mergemaster/? > > From the FreeBSD Handbook: > > After installkernel finishes successfully, you should boot in single > user mode (i.e. using boot -s from the loader prompt). Then run: > # mount -a -t ufs > # mergemaster -p > # cd /usr/src > # make installworld > # mergemaster > # reboot > > > > > ------------------------------------------------------------------------ > Windows LiveTM: Keep your life in sync. See how it works. > From demonichandextensions at hotmail.com Wed Jan 7 20:49:24 2009 From: demonichandextensions at hotmail.com (brad davison) Date: Wed Jan 7 20:49:31 2009 Subject: Mergemaster failing before 7.1 installworld In-Reply-To: <4964DB9F.5020201@fsklaw.com> References: <4964DB9F.5020201@fsklaw.com> Message-ID: > > Greetings. I have updated to 7.1 from a 6.2 box. Kernel built and > installed successfully, world built successfully, however mergemaster is > failing:> > $ mergemaster> *** Unable to find mtree database. Skipping auto-upgrade. I may be stating the obvious, but being before the installworld shouldn't that be a 'mergemaster -p' and not just mergemaster? >From the FreeBSD Handbook: After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run:# mount -a -t ufs # mergemaster -p # cd /usr/src # make installworld # mergemaster # reboot _________________________________________________________________ Windows LiveTM: Keep your life in sync. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009 From keramida at freebsd.org Wed Jan 7 20:55:43 2009 From: keramida at freebsd.org (Giorgos Keramidas) Date: Wed Jan 7 20:55:50 2009 Subject: some doubts.. In-Reply-To: <44aba2navj.fsf@lowell-desk.lan> (Lowell Gilbert's message of "Wed, 07 Jan 2009 15:01:52 -0500") References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> <44aba2navj.fsf@lowell-desk.lan> Message-ID: <87vdsqlujd.fsf@kobe.laptop> On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert wrote: > Wouter Snels writes: >> Lowell Gilbert schreef: >>> Wouter Snels writes: >>> >>>> http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >>>> >>>> i think there is a problem on that page, i've noticed that you are >>>> supposed to add following in rc.conf, however i remember that it was >>>> supposed to be in make.conf.. >>>> >>>> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL >>>> SENDMAIL_LDFLAGS=-L/usr/local/lib >>>> SENDMAIL_LDADD=-lsasl2 >>>> >>>> could be wrong am no expert, .. >>> >>> Not only are you right, but the English version does say make.conf. >>> I suggest you check with the Dutch translation team... >>> >> How do I contact them? > > A quick look at the documentation project's documentation about itself > showed me: > http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch > > but a docs problem report is probably the best way to go. IIRC Remko knows how to fix this. I've copied him in this message... From ccowart at rescomp.berkeley.edu Wed Jan 7 20:56:26 2009 From: ccowart at rescomp.berkeley.edu (Chris Cowart) Date: Wed Jan 7 20:56:33 2009 Subject: How to do ping really quiet? In-Reply-To: <1335068292.20090105190147@yandex.ru> References: <182410038.20090105182234@yandex.ru> <496236C8.6080407@isafeelin.org> <1335068292.20090105190147@yandex.ru> Message-ID: <20090107205625.GE35674@hal.rescomp.berkeley.edu> KES wrote: > Thx. This help, but seems ugly. Because of I can miss other maybe > usefull errors (( > ping -q ya.ru 2>/dev/null > > Any other suggestions? ping -q ya.ru 2>&1 1>/dev/null | grep -v 'ping: sendto: No route to host' >&2 Send ping stderr to stdout, throw away ping stdout, use grep to suppress the error you don't care about, and optionally, write any other error messages to stderr (mostly useful if this is wrapped up in some kind of function that may or may not have its stdout redirected). -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090107/373d36ac/attachment.pgp From jerrymc at msu.edu Wed Jan 7 20:58:37 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Jan 7 20:58:44 2009 Subject: Replace SCSI Drive In-Reply-To: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> References: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> Message-ID: <20090107205826.GA93439@gizmo.acns.msu.edu> On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote: > Hi all, > > I currently have a SCSI drive that *may* be going bad on one of my production servers. I have lots of backups :-) > > Scenario: > > The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K spin drive. It is at the network center about 120 miles away. This drive is not using anywhere near 76 GB, and the server will never need 76 GB. I estimate its using about 20 GB now. > > I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, currently hooked up to my home (Windows XP BOX) via an Initio SCSI adaptor. > > What I would like to do is: > > Using my windows box, FDISK and set up the disk slices at home, using some kind of FreeBSD boot disk. I will of course, make sure there is enough room on each file system to accomodate the data from the other (going bad) disk. > > Take the pristine disk to the Network Center, > > Shut down all software on the machine that has the bad disk, and make full dumps of all filesystems on that machine (/, /var, /home, /usr) and move the over to the new formatted drive. > > Since I have never done this before, I have some questions: > > !. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO image, to boot my PC and make the filesystems on the 36GB drive, without actually installing FreeBSD? (Please feel free to tell me exactly how :-)). > > 2. Once I get that drive to the network center, and restore the dumps to it, how do I ensure the drive is bootable? (I assume I actually do that in the previous step). > > 3. Is it possible to skip step one altogether and use the instructions in the man pages regarding "Restoring a filesystem" and makeing the 'Pristine' filesystem? If so, again, how do I ensure the disk is bootable? > > Thanks a billion in advance, I have a few questions. First, it sounds like this is the boot disk and is the only disk on the machine. Is this true? If it is not the boot disk, then it is very easy. If it is the boot disk, then it is still easy, but just a little more work. Second, since you have to take the replacement disk to the Network Center and do the dumps and restores there anyway, why bother doing the fdisk, bsdlabel and newfs remotely? That is the easy and quickest part anyway. So, just do it there. Oh, can you get a console on the machine? I presume so if you were going to do the dump/restore there. So, presuming some things: 1. It is the only disk and is the boot disk. 2. FreeBSD is the only thing you want on the disk - no dual boot. 3. You can get a console on the machine at the Network Center. 4. You can successfully burn and test a boot CD with the fixit image. It used to be that the fixit was included on disc 1, but in case it has moved, check out its location. Might still be there. Just find a spare machine - even one running MS and boot the CD and select the fixit image. If it comes up, then just pull it and reboot. You don't have to bring it all the way up just to test if it is there. Make sure the fixit comes from the same version as the one you are restoring to the system or you could have a problem, though probably not if they are all 6.x or 7.x. Some of them talk about a holographic image. I never understood what that was supposed to mean. I sort of expected to see a full 3D image of BSDie to materialize in my office and, possibly in Kirk McKusick's voice, tell me how to do whatever it is. But, that's never happened. Not enough drugs, I suppose. Anyway, take your CD with fixit and the one you can run sysinstall from, just in case and trundle on over to where that machine resides. Shut down the machine. Pull out the old disk and slide it in to the #2 SCSI slot (or leave it out until the dump/restore phase if you get nervous). Put the replacement disk in to the #1 (boot) SCSI slot. Plug in the monitor and keyboard. Pop in the CD with the fixit and boot up. Fixit runs from an image in memory, not from a hard disk, but, unless you look at devices, it looks like it is running just like you are used to. Maybe that's what they mean by holographic??? The important thing about this is that the devices are different and any file you create in the mounted root will disappear when you reboot. You may need to think out just where you are doing something. If it is a SCSI disk, the replacement disk should not be /dev/da0 If you do a df(1) you should see the memory device for / Do the following: (You may need to stick in a dd before the fdisk and bsdlabel if it already has an incompatible label on the disk or maybe none at all, but probably not) # (dd if=/dev/zero of=/dev/da0 bs=512 count=4096) only if needed # fdisk -BI da0 # (dd if=/dev/zero of=/dev/da0s1 bs=512 count=4096) only if needed # bsdlabel -w -B da0s1 # bsdlabel -e da0s1 The fdisk makes it an all FreeBSD bootable single slice with default MBR. The first bsdlabel writes an initial label in that slice and puts in the boot block. The second bsdlabel brings up an edit session with the information for partitioning that single FreeBSD slice. It will show one c partition which identifies the whole size of the slice. Leave that c partition alone. But, you can copy it to make the others and just muck with the numbers onb them. Looks like you want partitions for / /var /home /usr. You should also make one for swap and /tmp. So, a=/, b=swap, d=/tmp, e=/usr, f=/var and g=/home. Actually, make the letter names for the partitions match what you have now. You will first see something that looks something like: (The exact number will reflect the actual disk slice size) Remember, it is stated in 512 byte blocks (or sectors, same thing) 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 75497472 0 unused 0 0 # "raw" part, don't edit To make the disk partitions be: (I am just guessing on sizes /=256MB, based on a machine I have swap=1024MB, with a similar sized disk, /tmp=512MB, but if they are like this, /usr=4096MB (eg 4 GB), then /var=4096MB (eg 4 GB) and /home gets all the rest You might want to become root and then run: bsdlabel -e da0 before shutting the machine down just to see what is there, though the numbers will be different since you are putting in a different sized disk. Make sure you q! to get out of the bsdlabel and do not do a write or you could cause yourself some nasty trouble - though it shouldn't let you actually do the write, I wouldn't want to test it out accidently. You want to edit it to make it look something like: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 2048 16384 32776 b: 2097152 * swap c: 75497472 0 unused 0 0 # "raw" part, don't edit d: 1048576 * 4.2BSD 2048 16384 8 e: 8388608 * 4.2BSD 2048 16384 28552 f: 8388608 * 4.2BSD 2048 16384 28552 g: * * 4.2BSD 2048 16384 28552 By using the '*' for offset, bsdlabel will calculate it correctly. By using '*' for size on the last partition (g in this case), bsdlabel will put all the rest of the usable space in that partition. But, the first offset needs to be specified as '0' and c must be left alone. When you write and exit the edit session, bsdlabel will write the partition table to the slice and it is now completely labeled. Finally you want to newfs each partition. Taking the defaults should be just fine, but remember, you have to use the full device name on the newfs command, not shortened as in fdisk and bsdlabel. (Note, do not newfs the swap partition or the 'c' partition) newfs /dev/da0s1a newfs /dev/da0s1d newfs /dev/da0s1e newfs /dev/da0s1f newfs /dev/da0s1g Now the disk is ready to write. You must make mount points and mount the partitions. mkdir /oldroot mkdir /newroot mkdir /oldusr mkdir /newusr mkdir /oldvar mkdir /newvar mkdir /oldhome mkdir /newhome (unless you have been doint something foolish, you don't have to dump/restore anything from /tmp) Presuming you put that old disk in the second SCSI slot, which would make it /dev/da1 (and presuming my speculative partition assignments are what you used - use what you really have) mount /dev/da0s1a /newroot mount /dev/da1s1a /oldroot mount /dev/da0s1e /newusr mount /dev/da1s1e /oldusr mount /dev/da0s1f /newvar mount /dev/da1s1f /oldvar mount /dev/da0s1g /newhome mount /dev/da1s1g /oldhome Then do the dump/restores from the old disk to the new. cd /newroot dump 0af - /oldroot | restore -rf - cd /newusr dump 0af - /oldusr | restore -rf - cd /newvar dump 0af - /oldvar | restore -rf - cd /newhome dump 0af - /oldhome | restore -rf - At this point, remove the CD and reboot and it should work just fine. Your old disk will still be there if you want to look at it for anything, but everything should be on the new one. Note: remember those mount points you created for the dumps will be gone after the reboot, because they are created in that memory file system of the fixit. So, if you want to mount something from the old disk, you will need to make the mount points again. It looks like a lot of stuff, but it actually goes pretty quickly until you get to the dump/restores. The big ones can take a while. Have fun, ////jerry Jerry McAllister jerrymc@msu.edu > -Grant. > > P.S. I AM reading all the manuals and handbooks, I just can't afford to mess this up :-) > > _______________________________________________ > 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 remko at elvandar.org Wed Jan 7 21:14:26 2009 From: remko at elvandar.org (Remko Lodder) Date: Wed Jan 7 21:14:33 2009 Subject: some doubts.. In-Reply-To: <87vdsqlujd.fsf@kobe.laptop> References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> <44aba2navj.fsf@lowell-desk.lan> <87vdsqlujd.fsf@kobe.laptop> Message-ID: <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: > On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert > wrote: >> Wouter Snels writes: >>> Lowell Gilbert schreef: >>>> Wouter Snels writes: >>>> >>>>> http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >>>>> >>>>> i think there is a problem on that page, i've noticed that you are >>>>> supposed to add following in rc.conf, however i remember that it >>>>> was >>>>> supposed to be in make.conf.. >>>>> >>>>> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL >>>>> SENDMAIL_LDFLAGS=-L/usr/local/lib >>>>> SENDMAIL_LDADD=-lsasl2 >>>>> >>>>> could be wrong am no expert, .. >>>> >>>> Not only are you right, but the English version does say make.conf. >>>> I suggest you check with the Dutch translation team... >>>> >>> How do I contact them? >> >> A quick look at the documentation project's documentation about >> itself >> showed me: >> http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch >> >> but a docs problem report is probably the best way to go. > > IIRC Remko knows how to fix this. I've copied him in this message... > I'll have a look at this and fix this immediatly.. thanks for the notice!! -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From gpeel at thenetnow.com Wed Jan 7 21:18:55 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jan 7 21:19:03 2009 Subject: Replace SCSI Drive References: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> <20090107205826.GA93439@gizmo.acns.msu.edu> Message-ID: <800CBDC693BE4791BC3A2DBC8A044660@GRANTPC> Jerry, Thanks a Tera for the concise reply. Please see the answers below. ----- Original Message ----- From: "Jerry McAllister" To: "Grant Peel" Cc: "FreeBSD Questions List" Sent: Wednesday, January 07, 2009 3:58 PM Subject: Re: Replace SCSI Drive > On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote: > >> Hi all, >> >> I currently have a SCSI drive that *may* be going bad on one of my >> production servers. I have lots of backups :-) >> >> Scenario: >> >> The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K >> spin drive. It is at the network center about 120 miles away. This drive >> is not using anywhere near 76 GB, and the server will never need 76 GB. I >> estimate its using about 20 GB now. >> >> I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, >> currently hooked up to my home (Windows XP BOX) via an Initio SCSI >> adaptor. >> >> What I would like to do is: >> >> Using my windows box, FDISK and set up the disk slices at home, using >> some kind of FreeBSD boot disk. I will of course, make sure there is >> enough room on each file system to accomodate the data from the other >> (going bad) disk. >> >> Take the pristine disk to the Network Center, >> >> Shut down all software on the machine that has the bad disk, and make >> full dumps of all filesystems on that machine (/, /var, /home, /usr) and >> move the over to the new formatted drive. >> >> Since I have never done this before, I have some questions: >> >> !. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO >> image, to boot my PC and make the filesystems on the 36GB drive, without >> actually installing FreeBSD? (Please feel free to tell me exactly how >> :-)). >> >> 2. Once I get that drive to the network center, and restore the dumps to >> it, how do I ensure the drive is bootable? (I assume I actually do that >> in the previous step). >> >> 3. Is it possible to skip step one altogether and use the instructions in >> the man pages regarding "Restoring a filesystem" and makeing the >> 'Pristine' filesystem? If so, again, how do I ensure the disk is >> bootable? >> >> Thanks a billion in advance, > > > > I have a few questions. > > First, it sounds like this is the boot disk and is the only disk on > the machine. Is this true? If it is not the boot disk, then it > is very easy. If it is the boot disk, then it is still easy, but > just a little more work. This is the only drive on the machine, and it is (obviously) the boot disk. > > Second, since you have to take the replacement disk to the Network Center > and do the dumps and restores there anyway, why bother doing the fdisk, > bsdlabel and newfs remotely? I can do either (do it at home, or at the network center). I should mention now, the servers are Dell servers and have a DRAC card, so I can access remotely. > That is the easy and quickest part anyway. > So, just do it there. Oh, can you get a console on the machine? I > presume > so if you were going to do the dump/restore there. Yes as mentioned, I have a DRAC card for remote access, and I have SSH (Putty) access as root. Also, I should mention I have an NFS mount to keep the dumps on (on another machine). > > So, presuming some things: > 1. It is the only disk and is the boot disk. FreeBSD is the only thing > you want on the disk no > dual boot. Correct, > 3. You can get a console on the machine at the Network Center. Correct, > 4. You can successfully burn and test a boot CD with the fixit image. > It used to be that the fixit was included on disc 1, but in case it > has moved, check out its location. Might still be there. Just find > a spare machine - even one running MS and boot the CD and select > the fixit image. If it comes up, then just pull it and reboot. You > don't have to bring it all the way up just to test if it is there. Although I have heard of the Fixit console, I have never used it. I have several CDs I have burned using the distribution ISO image, Including the version I am running on the hurting machine. Can you elaborate further on how to bring up the Fixit console with the CD? > > Make sure the fixit comes from the same version as the one you are > restoring to the system or you could have a problem, though probably > not if they are all 6.x or 7.x. > > Some of them talk about a holographic image. I never understood > what that was supposed to mean. I sort of expected to see a full > 3D image of BSDie to materialize in my office and, possibly in > Kirk McKusick's voice, tell me how to do whatever it is. But, that's > never happened. Not enough drugs, I suppose. > > Anyway, take your CD with fixit and the one you can run sysinstall from, > just > in case and trundle on over to where that machine resides. > > Shut down the machine. > > Pull out the old disk and slide it in to the #2 SCSI slot (or leave it out > until the dump/restore phase if you get nervous). > Put the replacement disk in to the #1 (boot) SCSI slot. > > Plug in the monitor and keyboard. > > Pop in the CD with the fixit and boot up. > > Fixit runs from an image in memory, not from a hard disk, but, unless > you look at devices, it looks like it is running just like you are > used to. Maybe that's what they mean by holographic??? The important > thing about this is that the devices are different and any file you > create in the mounted root will disappear when you reboot. You may > need to think out just where you are doing something. > > If it is a SCSI disk, the replacement disk should not be /dev/da0 > If you do a df(1) you should see the memory device for / > > Do the following: (You may need to stick in a dd before the fdisk and > bsdlabel if it already has an incompatible label on > the disk or maybe none at all, but probably not) > > # (dd if=/dev/zero of=/dev/da0 bs=512 count=4096) only if needed > # fdisk -BI da0 > # (dd if=/dev/zero of=/dev/da0s1 bs=512 count=4096) only if needed > # bsdlabel -w -B da0s1 > # bsdlabel -e da0s1 You may have lost me here. I have used dd to clone disks before, but only identical size disks. Are you suggesting I dd and 73 GB disk to a 36 GB disk? Will that work? > > The fdisk makes it an all FreeBSD bootable single slice with default MBR. > The first bsdlabel writes an initial label in that slice and puts > in the boot block. > The second bsdlabel brings up an edit session with the information for > partitioning that single FreeBSD slice. It will show one c partition > which identifies the whole size of the slice. Leave that c partition > alone. But, you can copy it to make the others and just muck with > the numbers onb them. Looks like you want partitions for / /var /home > /usr. > You should also make one for swap and /tmp. So, a=/, b=swap, d=/tmp, > e=/usr, f=/var and g=/home. Actually, make the letter names for the > partitions match what you have now. > > You will first see something that looks something like: > (The exact number will reflect the actual disk slice size) > Remember, it is stated in 512 byte blocks (or sectors, same thing) > > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 75497472 0 unused 0 0 # "raw" part, don't > edit > > > To make the disk partitions be: > (I am just guessing on sizes /=256MB, > based on a machine I have swap=1024MB, > with a similar sized disk, /tmp=512MB, > but if they are like this, /usr=4096MB (eg 4 GB), > then /var=4096MB (eg 4 GB) and > /home gets all the rest > > You might want to become root and then run: bsdlabel -e da0 > before shutting the machine down just to see what is there, though > the numbers will be different since you are putting in a different > sized disk. Make sure you q! to get out of the bsdlabel and do > not do a write or you could cause yourself some nasty trouble - though > it shouldn't let you actually do the write, I wouldn't want to > test it out accidently. > > You want to edit it to make it look something like: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 524288 0 4.2BSD 2048 16384 32776 > b: 2097152 * swap > c: 75497472 0 unused 0 0 # "raw" part, don't > edit > d: 1048576 * 4.2BSD 2048 16384 8 > e: 8388608 * 4.2BSD 2048 16384 28552 > f: 8388608 * 4.2BSD 2048 16384 28552 > g: * * 4.2BSD 2048 16384 28552 > > By using the '*' for offset, bsdlabel will calculate it correctly. > By using '*' for size on the last partition (g in this case), bsdlabel > will put all the rest of the usable space in that partition. But, the > first offset needs to be specified as '0' and c must be left alone. > > When you write and exit the edit session, bsdlabel will write the > partition table to the slice and it is now completely labeled. > > Finally you want to newfs each partition. Taking the defaults > should be just fine, but remember, you have to use the full device > name on the newfs command, not shortened as in fdisk and bsdlabel. > (Note, do not newfs the swap partition or the 'c' partition) > > newfs /dev/da0s1a > newfs /dev/da0s1d > newfs /dev/da0s1e > newfs /dev/da0s1f > newfs /dev/da0s1g > > Now the disk is ready to write. You must make mount points and mount > the partitions. > > mkdir /oldroot > mkdir /newroot > mkdir /oldusr > mkdir /newusr > mkdir /oldvar > mkdir /newvar > mkdir /oldhome > mkdir /newhome > > (unless you have been doint something foolish, you don't have to > dump/restore anything from /tmp) > > Presuming you put that old disk in the second SCSI slot, which > would make it /dev/da1 (and presuming my speculative partition > assignments are what you used - use what you really have) > > mount /dev/da0s1a /newroot > mount /dev/da1s1a /oldroot > mount /dev/da0s1e /newusr > mount /dev/da1s1e /oldusr > mount /dev/da0s1f /newvar > mount /dev/da1s1f /oldvar > mount /dev/da0s1g /newhome > mount /dev/da1s1g /oldhome > > Then do the dump/restores from the old disk to the new. > > cd /newroot > dump 0af - /oldroot | restore -rf - > cd /newusr > dump 0af - /oldusr | restore -rf - > cd /newvar > dump 0af - /oldvar | restore -rf - > cd /newhome > dump 0af - /oldhome | restore -rf - > > At this point, remove the CD and reboot and it should work just fine. > Your old disk will still be there if you want to look at it for anything, > but everything should be on the new one. Note: remember those mount > points you created for the dumps will be gone after the reboot, because > they are created in that memory file system of the fixit. So, if you > want to mount something from the old disk, you will need to make the > mount points again. > > It looks like a lot of stuff, but it actually goes pretty quickly > until you get to the dump/restores. The big ones can take a while. > > Have fun, > > ////jerry Jerry McAllister jerrymc@msu.edu > > >> -Grant. >> >> P.S. I AM reading all the manuals and handbooks, I just can't afford to >> mess this up :-) >> >> _______________________________________________ >> 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 stanb at panix.com Wed Jan 7 21:30:08 2009 From: stanb at panix.com (stan) Date: Wed Jan 7 21:30:15 2009 Subject: PHP setup question In-Reply-To: <4964BD4A.4060300@ibctech.ca> References: <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> <4964BD4A.4060300@ibctech.ca> Message-ID: <20090107213007.GA31144@teddy.fas.com> On Wed, Jan 07, 2009 at 09:33:46AM -0500, Steve Bertrand wrote: > stan wrote: > > I'll describe the test setup that I used within a VM to configure things > inline. The software does not necessarily match the version number > exactly to yours. > Thanks for puting in all this effort!! > > I'm willing to bet that you have a permissions error within the > filesystem, but that is just a guess. > > Provide the output to: > > # ls -l /usr/local/www > # ls -l /usr/local/www/ampache/config $ ls -l /usr/local/www total 12 drwxr-xr-x 15 www www 1024 Jan 5 16:33 ampache drwxr-xr-x 6 root wheel 512 Dec 28 17:38 apache22 drwxr-xr-x 18 root wheel 512 Jan 3 22:06 data drwxr-xr-x 21 root wheel 2560 Jan 1 14:34 gallery drwxr-xr-x 9 root wheel 512 Dec 29 12:24 nagios $ ls -l /usr/local/www/ampache/config total 24 -r--r--r-- 1 www www 19352 Jan 5 16:38 ampache.cfg.php.dist -r--r--r-- 1 www www 141 Aug 31 02:20 motd.php.dist -r--r--r-- 1 www www 96 Aug 31 02:20 registration_agreement.php.dist $ Does this look corect? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From stanb at panix.com Wed Jan 7 21:32:20 2009 From: stanb at panix.com (stan) Date: Wed Jan 7 21:33:39 2009 Subject: PHP setup question In-Reply-To: <4964BEF8.9030702@ibctech.ca> References: <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> <4964BEF8.9030702@ibctech.ca> Message-ID: <20090107213213.GB31144@teddy.fas.com> On Wed, Jan 07, 2009 at 09:40:56AM -0500, Steve Bertrand wrote: > stan wrote: > > > Complete step 1 of the install process > > Go to step 2, when you press "write config file" you will be prompted to > > download this fle instead (not cerrtain wh the directory it goes in is > > writbale by the www user). Donwload this file and install it as: > > > > /usr/local/www/ampache/config/ampache.cfg > > Oh, I missed this my first pass through... > > If what you claim above is not a typo, then the system surely can not > find a configuration, as it should be named: > > ampache.cfg.php > > ...not ampache.cfg > > Small point, but could be a critical one. Could be. I will have to wait till I am home to actually check this, as the machine I downloaded it to is not remotely acesible, and at th moment I don't have it on the web server machine. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From glen.j.barber at gmail.com Wed Jan 7 21:41:11 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Jan 7 21:41:18 2009 Subject: schedule the test In-Reply-To: <460916.94585.qm@web30107.mail.mud.yahoo.com> References: <460916.94585.qm@web30107.mail.mud.yahoo.com> Message-ID: <49652167.1000407@gmail.com> Gustavo Millani wrote: > Hi, > > Where can I schedule the test for certification? > I found the site of Prometric and Vue. > > Have a look here: http://www.bsdcertification.org/ -- Glen Barber From keramida at freebsd.org Wed Jan 7 21:52:56 2009 From: keramida at freebsd.org (Giorgos Keramidas) Date: Wed Jan 7 21:53:07 2009 Subject: some doubts.. In-Reply-To: <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> (Remko Lodder's message of "Wed, 7 Jan 2009 22:14:18 +0100") References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> <44aba2navj.fsf@lowell-desk.lan> <87vdsqlujd.fsf@kobe.laptop> <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> Message-ID: <87fxjug4wn.fsf@kobe.laptop> On Wed, 7 Jan 2009 22:14:18 +0100, Remko Lodder wrote: >On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: >> Re: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >> and rc.conf -> make.conf for SENDMAIL_XXX build options: >> >> IIRC Remko knows how to fix this. I've copied him in this message... > > I'll have a look at this and fix this immediatly.. thanks for the > notice!! You are welcome, Remko. I'm sure you would do the same for el_GR :-) From remko at elvandar.org Wed Jan 7 21:55:59 2009 From: remko at elvandar.org (Remko Lodder) Date: Wed Jan 7 21:56:06 2009 Subject: some doubts.. In-Reply-To: <87fxjug4wn.fsf@kobe.laptop> References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> <44aba2navj.fsf@lowell-desk.lan> <87vdsqlujd.fsf@kobe.laptop> <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> <87fxjug4wn.fsf@kobe.laptop> Message-ID: <6EAFEC4D-7E1C-4E43-8626-A934FC9AF536@elvandar.org> On Jan 7, 2009, at 10:52 PM, Giorgos Keramidas wrote: > On Wed, 7 Jan 2009 22:14:18 +0100, Remko Lodder > wrote: >> On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: >>> Re: http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >>> and rc.conf -> make.conf for SENDMAIL_XXX build options: >>> >>> IIRC Remko knows how to fix this. I've copied him in this >>> message... >> >> I'll have a look at this and fix this immediatly.. thanks for the >> notice!! > > You are welcome, Remko. I'm sure you would do the same for el_GR :-) > Yes ofcourse, we are a team after all! -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From steve at ibctech.ca Wed Jan 7 21:57:45 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jan 7 21:57:53 2009 Subject: PHP setup question In-Reply-To: <20090107213007.GA31144@teddy.fas.com> References: <20090104045115.GB29868@teddy.fas.com> <20090104190044.GA17603@the-grills.com> <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> <4964BD4A.4060300@ibctech.ca> <20090107213007.GA31144@teddy.fas.com> Message-ID: <49652559.3060804@ibctech.ca> stan wrote: > On Wed, Jan 07, 2009 at 09:33:46AM -0500, Steve Bertrand wrote: >> stan wrote: >> >> I'll describe the test setup that I used within a VM to configure things >> inline. The software does not necessarily match the version number >> exactly to yours. >> > Thanks for puting in all this effort!! No problem. > $ ls -l /usr/local/www/ampache/config > total 24 > -r--r--r-- 1 www www 19352 Jan 5 16:38 ampache.cfg.php.dist > -r--r--r-- 1 www www 141 Aug 31 02:20 motd.php.dist > -r--r--r-- 1 www www 96 Aug 31 02:20 registration_agreement.php.dist > $ > > Does this look corect? No. You did not put the downloaded ampache.cfg.php file in the ampache/config directory. Your /usr/local/www/ampache/config should look like this: testweb# ll /usr/local/www/ampache/config/ total 46 -r--r--r-- 2 www www 14 Aug 31 02:20 .htaccess -rw-r--r-- 1 www www 19366 Jan 7 09:23 ampache.cfg.php -r--r--r-- 2 www www 19352 Jan 7 09:19 ampache.cfg.php.dist -r--r--r-- 2 www www 141 Aug 31 02:20 motd.php.dist -r--r--r-- 2 www www 96 Aug 31 02:20 registration_agreement.php Note the ampache.cfg.php file. It is the one that I downloaded during install to my local workstation. I then uploaded it back to the server, and put it in the config directory per the documentation. Cheers, Steve From telenordestevoip at gmail.com Wed Jan 7 22:00:53 2009 From: telenordestevoip at gmail.com (telenordeste sist. tel voip) Date: Wed Jan 7 22:01:00 2009 Subject: BILLING Message-ID: <53dcee0d0901071330k3d974deejeeb5fdffc0820625@mail.gmail.com> *TELENORDESTE SISTEMA DE TELEFONIA VOIP RUA MAJOR FACUNDO 1235 SALA 01/02 CENTRO FORTALEZA/ CEARA TEL:(85)32544744 /(11)40636615 * GOOD half, THE REASON FOR YOUR COMPANY AND WRITE TO YOU, WE HAVE A COMPANY IN BRAZIL Operator Business, And we 're BASTENTE ENTERESSADOS IN WORKING WITH THIS SYSTEM Softswitch: ATE AND WHY OUR Asterisk. And We already see as a system UTRAPASSADO, SO THAT THIS BILLING SYSTEM TO OPERATE IT is quite optional or SAJA RESOURCES We have a number of CAO COMOP ~ POE EX: WE HAVE A MASTER TRADER HER generated Opera, resale, REPRESENTATIVE AND CUSTOMERS, WE HAVE TBM NELE OS No S DID'S, CALLIN CARD, No. S VOIP, fear the CODEC FOR T38 FAX:, ETC ... AS THE POEM SRS OPTIONAL WELL AND SEE IT,. IN mention what we would like the possibility of putting these resources Softswitch NO:, we FONE A: To contact. PRESCIZAMOS GUIDANCE PRA ASK HOW TO SET IT AND DO to run a test. OUR CONTACTS: Phone: 55 85 32544744 MSN: telenordeste_voip@hotmail.com E-MAIL: telenordestevoip@gmail.com deal with Mr.> JOSE AVELINA DUDA. ONLY FOR THE TIME BEING, we wait for your return NO. FORTALEZA, 07 January 2009 JOSE AVELINO DUDA Commercial Director From remko at elvandar.org Wed Jan 7 22:05:50 2009 From: remko at elvandar.org (Remko Lodder) Date: Wed Jan 7 22:05:56 2009 Subject: some doubts.. In-Reply-To: <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> References: <4964E3DE.5050807@ofloo.org> <44ljtnm1d5.fsf@lowell-desk.lan> <4964FEAB.7020805@ofloo.org> <44aba2navj.fsf@lowell-desk.lan> <87vdsqlujd.fsf@kobe.laptop> <8280499B-597A-4E6C-B9B1-B3551D81E933@elvandar.org> Message-ID: <31102040-8599-42FA-B1FB-B562593BC1A3@elvandar.org> On Jan 7, 2009, at 10:14 PM, Remko Lodder wrote: > > On Jan 7, 2009, at 9:40 PM, Giorgos Keramidas wrote: > >> On Wed, 07 Jan 2009 15:01:52 -0500, Lowell Gilbert > > wrote: >>> Wouter Snels writes: >>>> Lowell Gilbert schreef: >>>>> Wouter Snels writes: >>>>> >>>>>> http://www.freebsd.org/doc/nl/books/handbook/smtp-auth.html >>>>>> >>>>>> i think there is a problem on that page, i've noticed that you >>>>>> are >>>>>> supposed to add following in rc.conf, however i remember that >>>>>> it was >>>>>> supposed to be in make.conf.. >>>>>> >>>>>> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL >>>>>> SENDMAIL_LDFLAGS=-L/usr/local/lib >>>>>> SENDMAIL_LDADD=-lsasl2 >>>>>> >>>>>> could be wrong am no expert, .. >>>>> >>>>> Not only are you right, but the English version does say >>>>> make.conf. >>>>> I suggest you check with the Dutch translation team... >>>>> >>>> How do I contact them? >>> >>> A quick look at the documentation project's documentation about >>> itself >>> showed me: >>> http://be-well.ilk.org/FreeBSD/docproj/translations.html#dutch >>> >>> but a docs problem report is probably the best way to go. >> >> IIRC Remko knows how to fix this. I've copied him in this message... >> > > > I'll have a look at this and fix this immediatly.. thanks for the > notice!! > > -- > /"\ Best regards, | remko@FreeBSD.org > \ / Remko Lodder | remko@EFnet > X http://www.evilcoder.org/ | > / \ ASCII Ribbon Campaign | Against HTML Mail and News > It had been done. Thanks Wouter! -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From m.seaman at infracaninophile.co.uk Wed Jan 7 22:10:46 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jan 7 22:10:55 2009 Subject: Replace SCSI Drive In-Reply-To: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> References: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> Message-ID: <49652849.7030400@infracaninophile.co.uk> Grant Peel wrote: > !. Can I use a FreeBSD bootable installation disk (6.4) made from an > ISO image, to boot my PC and make the filesystems on the 36GB drive, > without actually installing FreeBSD? (Please feel free to tell me > exactly how :-)). http://www.freesbie.org/ Except that site seems to be down at the moment. Yes, you can use disk1 from the Installation set as a live filesystem, and from there you can manipulate other hard drives attached to the machine. However, expect to do everything from the command line and take care to familiarise yourself with the necessary procedures before starting. > 2. Once I get that drive to the network center, and restore the dumps > to it, how do I ensure the drive is bootable? (I assume I actually do > that in the previous step). Well, if you install a minimal FreeBSD system on your 36GB drive using the installation media, you could test booting from it while it is still in your PC. Then you can duplicate the data from the remote server onto the drive (using dump and restore or how you will) which won't touch the boot blocks on the disk. It should 'just work' but watch out that you keep disk devices in /etc/fstab in synch with where the OS finds the drive. You can fix an incorrect fstab from the system console in single user mode: it would be a good idea to write yourself a little cheat sheet on how to do that before you start. > 3. Is it possible to skip step one altogether and use the > instructions in the man pages regarding "Restoring a filesystem" and > makeing the 'Pristine' filesystem? If so, again, how do I ensure the > disk is bootable? Of course. You can take a blank disk to your datacenter and initialise it entirely from your existing server. A neat trick would be to set up geom mirroring between the old and new disks but you really need a disk of the same size as the original (or larger) to do that properly. Failing that to replace an existing disk with a duplicate: 0) You've backed everything up already, haven't you? i) install new drive into server. Note: you may need to use /boot/loader.conf settings to hard-wire your original disk to appear as da0 if your new disk probes before the old one. Or make sure the SCSI ID of the new drive is larger than the ID of the old one -- the boot drive is typically installed at SCSI ID 0 so that should happen by default. ii) reboot from the old disk. iii) identify the device node for the new disk from the messages in /var/run/dmesg.boot I'm going to assume /dev/da1 (with the original system on /dev/da0) but make the appropriate substitutions in the following if that is not the case. iv) Two choices here. You can either do this the hardcore way (branch a) or the way of least resistance (branch b) v-a) Slice the disk allocating all the space for FreeBSD, making it bootable at the same time: # fdisk -B -I /dev/da1 vi-a) Write a BSD partition table into the slice, then set up your required FreeBSD partitions: # bsdlabel -w da1s1 auto # bsdlabel -e da1s1 'bsdlabel -e' will pop you into an editor (vi by default) with a copy of the partition table. Edit this to suit -- feel free to add any extra lines to create additional partitions: you've got partitions a (traditionally the root) b (swap) and d, e, f, g, h (data partitions) to play with. Save the edited partition table and bsdlabel will write it to the disk when you exit the editor. Don't futz with the 'c' partition (traditionally the whole disk) -- 'bsdlabel -w' will already have put in the correct values for you. Note that bsdlabel understands the 'size' parameter either as sectors or, when given the appropriate suffix as kilobytes (k), megabytes (M), gigabytes (G), %age of available space (%) or you can just say '*' meaning 'everything else' You can also just put in '*' in the 'offset' column and bsdlabel will calculate the value for you, ordering the partitions on the drive in the order given in the label. vii-a) Create file systems on your new partitions -- repeat for each of the 4.2BSD type partitions set up in the previous stage: # newfs /dev/da1s1a # newfs -U /dev/da1s1d ... etc. ... Traditionally softupdates is not enabled on the root partition, although it does no harm to enable it nowadays. (At one time it caused problems updating the system when the root partition was reasonably full, but that bug was squashed long ago.) alternatively: v-b -- vii-b) Make a backup copy of /etc/fstab. Fire up sysinstall and use the menu items under the 'Custom Install' to achieve the desired result. Note: you aren't going to go on to install any of the base system so be sure to chose the options to *W*rite out the settings at each stage. Do the 'Partition' and 'Label' actions (to your *new* disk, obviously), then quit from sysinstall. If necessary copy back the saved version of /etc/fstab The two branches join again: viii) reboot to single user mode. (ie. 'shutdown -r now' then catch the system as it is coming back up, and hit '4' in the boot menu for single user.) Once you get a single user shell, remount the root filesystem read-write: # mount -u / Then mount your newly created partitions under /mnt -- note: you have to give all of the relevant parts in the mount commands as there's nothing in /etc/fstab to give the system any hints: # mount -t ufs -o rw /dev/da1s1a /mnt # mkdir -p /mnt/var # mount -t ufs -o rw /dev/da1s1d /mnt/var # mkdir -p /mnt/usr # mount -t ufs -o rw /dev/da1s1e /mnt/usr ... etc ... The above is an illustration and will need to be modified to accord with the way your system is laid out. Refer to /etc/fstab for how the partitions (a, d, e, f etc) map onto the various mount points (/, /usr, /var, /home etc.) -- you want to create the same layout but using the partitions from the new disk (da1) all transposed to the equivalent locations under /mnt ix) Now, dump and restore each of the filesystems from the old drive onto the equivalent partitions on the new drive. You can dump the old partitions while they are unmounted -- and in fact this is advantageous as it ensures you will get definitely not get bitten by files changing on you during the course of the dump. Stuff on the root partition rarely changes much at all, so dumping that while it's mounted isn't a problem in practice[*]: # dump -0 -a -C 32 -f - /dev/da0s1a | ( cd /mnt ; restore -rf - ) # dump -0 -a -C 32 -f - /dev/da0s1d | ( cd /mnt/var ; restore -rf - ) # dump -0 -a -C 32 -f - /dev/da0s1e | ( cd /mnt/usr ; restore -rf - ) ... etc ... mutatis mutandem as for the mount commands in (viii). There will be some extraneous '.restoresymtable' files left lying around the duplicated partitions. These can eventually be deleted as described in restore(1). x) shut the system down. Extract the old system disk and keep in a safe place in case of emergencies. Rejumper the new disk to the SCSI ID formerly used by the old disk. Reassemble the machine. Reboot. xi) ... and you should have a perfectly working system duplicated onto the new hard drive. You're done. This is by no means a trivial operation, and there are plenty of ways to fat-finger your server to death when using these low-level commands. It will help if you can scare up some spare kit to practice on before working on your live server. If it all goes a bit pear-shaped then the backout path is to replace the original system disk, remove the new disk and then reboot. If you've managed to scribble all over your live system disk, then you're going to need the full backups mentioned in (0). Do you know how to restore your server from scratch? Cheers, Matthew [*] See also the -L flag for dump(1). -- 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: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090107/14678fe3/signature-0001.pgp From gpeel at thenetnow.com Wed Jan 7 22:26:37 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jan 7 22:26:49 2009 Subject: Replace SCSI Drive References: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> <20090107205826.GA93439@gizmo.acns.msu.edu> Message-ID: Jerry, I gave my head a shake (literally), and re-read you response. Please forgive the silly question about dd. I understand that you are getting me to wipe the disk first. I now understand pretty much everything you have written and the procedure involved. Since I do have the 'newer' drive currently installed at home, I would like to do to 'new' disk setup here first, that way, I can take to machine down for as short a time as is possible. I am quite nervous using the disklabel command(s) as I know nothing about the 'geometry' numbers and how to calculate them. Considering your method, and Matthews method, let me run this by you... At home: 1. Boot a machine (this one at home) with freebsd 6.4 installable disk (made from an ISO image), 2. Run sysinstall, 3. Use fdisk and disklabel to setup the slice/partitions, paying special attention in disklabel to make the disk bootable, At the network center: 4. Move the current *suspect* drive to da1, and install the new drive as da0, 5. Boot the machine using the fixit shell, and mount the new partitions and the old partitions as Jerry explained below, 6. Do the dump/restore as Jerry mentions below. 7. Remove the da1, reboot and hopefully, rejoyce. Comments please. -Grant ----- Original Message ----- From: "Jerry McAllister" To: "Grant Peel" Cc: "FreeBSD Questions List" Sent: Wednesday, January 07, 2009 3:58 PM Subject: Re: Replace SCSI Drive > On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote: > >> Hi all, >> >> I currently have a SCSI drive that *may* be going bad on one of my >> production servers. I have lots of backups :-) >> >> Scenario: >> >> The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K >> spin drive. It is at the network center about 120 miles away. This drive >> is not using anywhere near 76 GB, and the server will never need 76 GB. I >> estimate its using about 20 GB now. >> >> I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, >> currently hooked up to my home (Windows XP BOX) via an Initio SCSI >> adaptor. >> >> What I would like to do is: >> >> Using my windows box, FDISK and set up the disk slices at home, using >> some kind of FreeBSD boot disk. I will of course, make sure there is >> enough room on each file system to accomodate the data from the other >> (going bad) disk. >> >> Take the pristine disk to the Network Center, >> >> Shut down all software on the machine that has the bad disk, and make >> full dumps of all filesystems on that machine (/, /var, /home, /usr) and >> move the over to the new formatted drive. >> >> Since I have never done this before, I have some questions: >> >> !. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO >> image, to boot my PC and make the filesystems on the 36GB drive, without >> actually installing FreeBSD? (Please feel free to tell me exactly how >> :-)). >> >> 2. Once I get that drive to the network center, and restore the dumps to >> it, how do I ensure the drive is bootable? (I assume I actually do that >> in the previous step). >> >> 3. Is it possible to skip step one altogether and use the instructions in >> the man pages regarding "Restoring a filesystem" and makeing the >> 'Pristine' filesystem? If so, again, how do I ensure the disk is >> bootable? >> >> Thanks a billion in advance, > > > > I have a few questions. > > First, it sounds like this is the boot disk and is the only disk on > the machine. Is this true? If it is not the boot disk, then it > is very easy. If it is the boot disk, then it is still easy, but > just a little more work. > > Second, since you have to take the replacement disk to the Network Center > and do the dumps and restores there anyway, why bother doing the fdisk, > bsdlabel and newfs remotely? That is the easy and quickest part anyway. > So, just do it there. Oh, can you get a console on the machine? I > presume > so if you were going to do the dump/restore there. > > So, presuming some things: > 1. It is the only disk and is the boot disk. > 2. FreeBSD is the only thing you want on the disk - no dual boot. > 3. You can get a console on the machine at the Network Center. > 4. You can successfully burn and test a boot CD with the fixit image. > It used to be that the fixit was included on disc 1, but in case it > has moved, check out its location. Might still be there. Just find > a spare machine - even one running MS and boot the CD and select > the fixit image. If it comes up, then just pull it and reboot. You > don't have to bring it all the way up just to test if it is there. > > Make sure the fixit comes from the same version as the one you are > restoring to the system or you could have a problem, though probably > not if they are all 6.x or 7.x. > > Some of them talk about a holographic image. I never understood > what that was supposed to mean. I sort of expected to see a full > 3D image of BSDie to materialize in my office and, possibly in > Kirk McKusick's voice, tell me how to do whatever it is. But, that's > never happened. Not enough drugs, I suppose. > > Anyway, take your CD with fixit and the one you can run sysinstall from, > just > in case and trundle on over to where that machine resides. > > Shut down the machine. > > Pull out the old disk and slide it in to the #2 SCSI slot (or leave it out > until the dump/restore phase if you get nervous). > Put the replacement disk in to the #1 (boot) SCSI slot. > > Plug in the monitor and keyboard. > > Pop in the CD with the fixit and boot up. > > Fixit runs from an image in memory, not from a hard disk, but, unless > you look at devices, it looks like it is running just like you are > used to. Maybe that's what they mean by holographic??? The important > thing about this is that the devices are different and any file you > create in the mounted root will disappear when you reboot. You may > need to think out just where you are doing something. > > If it is a SCSI disk, the replacement disk should not be /dev/da0 > If you do a df(1) you should see the memory device for / > > Do the following: (You may need to stick in a dd before the fdisk and > bsdlabel if it already has an incompatible label on > the disk or maybe none at all, but probably not) > > # (dd if=/dev/zero of=/dev/da0 bs=512 count=4096) only if needed > # fdisk -BI da0 > # (dd if=/dev/zero of=/dev/da0s1 bs=512 count=4096) only if needed > # bsdlabel -w -B da0s1 > # bsdlabel -e da0s1 > > The fdisk makes it an all FreeBSD bootable single slice with default MBR. > The first bsdlabel writes an initial label in that slice and puts > in the boot block. > The second bsdlabel brings up an edit session with the information for > partitioning that single FreeBSD slice. It will show one c partition > which identifies the whole size of the slice. Leave that c partition > alone. But, you can copy it to make the others and just muck with > the numbers onb them. Looks like you want partitions for / /var /home > /usr. > You should also make one for swap and /tmp. So, a=/, b=swap, d=/tmp, > e=/usr, f=/var and g=/home. Actually, make the letter names for the > partitions match what you have now. > > You will first see something that looks something like: > (The exact number will reflect the actual disk slice size) > Remember, it is stated in 512 byte blocks (or sectors, same thing) > > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 75497472 0 unused 0 0 # "raw" part, don't > edit > > > To make the disk partitions be: > (I am just guessing on sizes /=256MB, > based on a machine I have swap=1024MB, > with a similar sized disk, /tmp=512MB, > but if they are like this, /usr=4096MB (eg 4 GB), > then /var=4096MB (eg 4 GB) and > /home gets all the rest > > You might want to become root and then run: bsdlabel -e da0 > before shutting the machine down just to see what is there, though > the numbers will be different since you are putting in a different > sized disk. Make sure you q! to get out of the bsdlabel and do > not do a write or you could cause yourself some nasty trouble - though > it shouldn't let you actually do the write, I wouldn't want to > test it out accidently. > > You want to edit it to make it look something like: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 524288 0 4.2BSD 2048 16384 32776 > b: 2097152 * swap > c: 75497472 0 unused 0 0 # "raw" part, don't > edit > d: 1048576 * 4.2BSD 2048 16384 8 > e: 8388608 * 4.2BSD 2048 16384 28552 > f: 8388608 * 4.2BSD 2048 16384 28552 > g: * * 4.2BSD 2048 16384 28552 > > By using the '*' for offset, bsdlabel will calculate it correctly. > By using '*' for size on the last partition (g in this case), bsdlabel > will put all the rest of the usable space in that partition. But, the > first offset needs to be specified as '0' and c must be left alone. > > When you write and exit the edit session, bsdlabel will write the > partition table to the slice and it is now completely labeled. > > Finally you want to newfs each partition. Taking the defaults > should be just fine, but remember, you have to use the full device > name on the newfs command, not shortened as in fdisk and bsdlabel. > (Note, do not newfs the swap partition or the 'c' partition) > > newfs /dev/da0s1a > newfs /dev/da0s1d > newfs /dev/da0s1e > newfs /dev/da0s1f > newfs /dev/da0s1g > > Now the disk is ready to write. You must make mount points and mount > the partitions. > > mkdir /oldroot > mkdir /newroot > mkdir /oldusr > mkdir /newusr > mkdir /oldvar > mkdir /newvar > mkdir /oldhome > mkdir /newhome > > (unless you have been doint something foolish, you don't have to > dump/restore anything from /tmp) > > Presuming you put that old disk in the second SCSI slot, which > would make it /dev/da1 (and presuming my speculative partition > assignments are what you used - use what you really have) > > mount /dev/da0s1a /newroot > mount /dev/da1s1a /oldroot > mount /dev/da0s1e /newusr > mount /dev/da1s1e /oldusr > mount /dev/da0s1f /newvar > mount /dev/da1s1f /oldvar > mount /dev/da0s1g /newhome > mount /dev/da1s1g /oldhome > > Then do the dump/restores from the old disk to the new. > > cd /newroot > dump 0af - /oldroot | restore -rf - > cd /newusr > dump 0af - /oldusr | restore -rf - > cd /newvar > dump 0af - /oldvar | restore -rf - > cd /newhome > dump 0af - /oldhome | restore -rf - > > At this point, remove the CD and reboot and it should work just fine. > Your old disk will still be there if you want to look at it for anything, > but everything should be on the new one. Note: remember those mount > points you created for the dumps will be gone after the reboot, because > they are created in that memory file system of the fixit. So, if you > want to mount something from the old disk, you will need to make the > mount points again. > > It looks like a lot of stuff, but it actually goes pretty quickly > until you get to the dump/restores. The big ones can take a while. > > Have fun, > > ////jerry Jerry McAllister jerrymc@msu.edu > > >> -Grant. >> >> P.S. I AM reading all the manuals and handbooks, I just can't afford to >> mess this up :-) >> >> _______________________________________________ >> 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.karapetyan at gmail.com Wed Jan 7 22:35:21 2009 From: david.karapetyan at gmail.com (David Karapetyan) Date: Wed Jan 7 22:35:35 2009 Subject: mutt question In-Reply-To: <49652559.3060804@ibctech.ca> References: <20090104203319.GA15823@teddy.fas.com> <20090104224540.GA18390@the-grills.com> <20090105215108.GA17430@teddy.fas.com> <20090106034523.GA25207@the-grills.com> <20090107022251.GA31012@teddy.fas.com> <49641B26.3070905@ibctech.ca> <20090107052009.GA3995@teddy.fas.com> <4964BD4A.4060300@ibctech.ca> <20090107213007.GA31144@teddy.fas.com> <49652559.3060804@ibctech.ca> Message-ID: <20090107220713.GA50104@vagrant.nomad.nd.edu> Hello. When I open my mutt email client, the cursor (highlighting mail) is always located in the middle of the screen. What option do I need to include in my muttrc so that when I open mutt, the cursor highlights the topmost email? -- -- Best, David Karapetyan http://davidkarapetyan.homeunix.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 gpeel at thenetnow.com Wed Jan 7 22:50:55 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jan 7 22:51:03 2009 Subject: Sysinstall Message-ID: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> Hi all, I keep reading in the man pages and elsewhere that 'sysinstall' is greatly in need of 'Death'. How would one do a fresh install of FBSD without it? Is there a replacement in the works? -Grant From dmw at coder.cl Wed Jan 7 23:10:34 2009 From: dmw at coder.cl (Daniel Molina Wegener [Coder.CL]) Date: Wed Jan 7 23:10:42 2009 Subject: mutt question In-Reply-To: <20090107220713.GA50104@vagrant.nomad.nd.edu> References: <20090104203319.GA15823@teddy.fas.com> <49652559.3060804@ibctech.ca> <20090107220713.GA50104@vagrant.nomad.nd.edu> Message-ID: <200901071947.34966.dmw@coder.cl> On Wednesday 07 January 2009 19:07:13 David Karapetyan wrote: > Hello. When I open my mutt email client, the cursor > (highlighting mail) is always located in the middle of the > screen. What option do I need to include in my muttrc so that > when I open mutt, the cursor highlights the topmost email? Hi, try using colors if your terminal emulator support them, I have these colors in my muttrc file: -----8<----------8<----------8<----------8<----- SNIP # Default colour definitions color hdrdefault white black color quoted cyan black color signature brightwhite black color indicator brightwhite red color attachment black white color error red white color message white black color search brightwhite magenta color status brightblue white color tree white black color normal white black color tilde red black color bold brightwhite black color markers brightcyan black # Colour definitions when on a mono screen mono bold bold mono underline underline mono indicator reverse # Colours for items in the reader color header brightyellow black "^(From|Subject|Date):" mono header bold "^(From|Subject|X-Junked-Because\ |X-Virus-hagbard):" -----8<----------8<----------8<----------8<----- SNIP > > -- -- > Best, > David Karapetyan > http://davidkarapetyan.homeunix.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 > > _______________________________________________ > 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" Regards, -- .O. | Daniel Molina Wegener | FreeBSD & Linux ..O | dmw [at] coder [dot] cl | Open Standards OOO | http://coder.cl/ | FOSS Developer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090107/5a1bc89c/attachment.pgp From david.karapetyan at gmail.com Wed Jan 7 23:12:05 2009 From: david.karapetyan at gmail.com (David Karapetyan) Date: Wed Jan 7 23:12:17 2009 Subject: mutt question In-Reply-To: <200901071947.34966.dmw@coder.cl> References: <20090104203319.GA15823@teddy.fas.com> <49652559.3060804@ibctech.ca> <20090107220713.GA50104@vagrant.nomad.nd.edu> <200901071947.34966.dmw@coder.cl> Message-ID: <20090107231156.GB50104@vagrant.nomad.nd.edu> Yes, I already am using colors. However, when I open mutt, the email located in the middle of my terminal screen is the one that is highlighted, rather than the topmost one. This strikes me as odd; I'd like for the topmost email (email #1) to be highlighted. On Wed, Jan 07, 2009 at 07:47:30PM -0300, Daniel Molina Wegener [Coder.CL] wrote: > On Wednesday 07 January 2009 19:07:13 David Karapetyan wrote: > > Hello. When I open my mutt email client, the cursor > > (highlighting mail) is always located in the middle of the > > screen. What option do I need to include in my muttrc so that > > when I open mutt, the cursor highlights the topmost email? > > Hi, try using colors if your terminal emulator support them, > I have these colors in my muttrc file: > > -----8<----------8<----------8<----------8<----- SNIP > # Default colour definitions > color hdrdefault white black > color quoted cyan black > color signature brightwhite black > color indicator brightwhite red > color attachment black white > color error red white > color message white black > color search brightwhite magenta > color status brightblue white > color tree white black > color normal white black > color tilde red black > color bold brightwhite black > color markers brightcyan black > > # Colour definitions when on a mono screen > mono bold bold > mono underline underline > mono indicator reverse > > # Colours for items in the reader > color header brightyellow black "^(From|Subject|Date):" > mono header bold "^(From|Subject|X-Junked-Because\ > |X-Virus-hagbard):" > -----8<----------8<----------8<----------8<----- SNIP > > > > > -- -- > > Best, > > David Karapetyan > > http://davidkarapetyan.homeunix.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 > > > > _______________________________________________ > > 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" > > > Regards, > -- > .O. | Daniel Molina Wegener | FreeBSD & Linux > ..O | dmw [at] coder [dot] cl | Open Standards > OOO | http://coder.cl/ | FOSS Developer -- -- Best, David Karapetyan http://davidkarapetyan.homeunix.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 gnemmi at gmail.com Wed Jan 7 23:14:22 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Wed Jan 7 23:14:29 2009 Subject: Sysinstall In-Reply-To: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> Message-ID: <200901072114.18255.gnemmi@gmail.com> On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: > Hi all, > > I keep reading in the man pages and elsewhere that 'sysinstall' is greatly > in need of 'Death'. > > How would one do a fresh install of FBSD without it? > > Is there a replacement in the works? > > -Grant Actually, the more use it, the more I like it .. The only con that I find is that I don't whether it's possible to install Postfix instead of Sendmail by default, thus getting completely rid of Sendmail on my FreeBSD installs. But that probably something that I'm missing. Regards -- Blessings Gonzalo Nemmi From dnelson at allantgroup.com Wed Jan 7 23:39:05 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Jan 7 23:39:12 2009 Subject: mutt question In-Reply-To: <20090107231156.GB50104@vagrant.nomad.nd.edu> References: <20090104203319.GA15823@teddy.fas.com> <49652559.3060804@ibctech.ca> <20090107220713.GA50104@vagrant.nomad.nd.edu> <200901071947.34966.dmw@coder.cl> <20090107231156.GB50104@vagrant.nomad.nd.edu> Message-ID: <20090107233858.GC5464@dan.emsphone.com> In the last episode (Jan 07), David Karapetyan said: > On Wed, Jan 07, 2009 at 07:47:30PM -0300, Daniel Molina Wegener [Coder.CL] wrote: > > On Wednesday 07 January 2009 19:07:13 David Karapetyan wrote: > > > Hello. When I open my mutt email client, the cursor (highlighting > > > mail) is always located in the middle of the screen. What option > > > do I need to include in my muttrc so that when I open mutt, the > > > cursor highlights the topmost email? > > > > Hi, try using colors if your terminal emulator support them, I have > > these colors in my muttrc file: > > Yes, I already am using colors. However, when I open mutt, the email > located in the middle of my terminal screen is the one that is > highlighted, rather than the topmost one. This strikes me as odd; I'd > like for the topmost email (email #1) to be highlighted. By default, mutt will put the cursor on the first New message, and if there are none, the first Old message, and if there are none, the first message. I bet you've got an unread message in the middle of your mailbox :) If you want mutt to go to the first message in any folder, add this to your ~/.muttrc file: folder-hook . push That will tell mutt to jump to the first message on any folder name matching the regex "." (which will match anything). -- Dan Nelson dnelson@allantgroup.com From keramida at ceid.upatras.gr Wed Jan 7 23:43:33 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jan 7 23:43:40 2009 Subject: mutt question In-Reply-To: <20090107231156.GB50104@vagrant.nomad.nd.edu> (David Karapetyan's message of "Wed, 7 Jan 2009 18:11:56 -0500") References: <20090104203319.GA15823@teddy.fas.com> <49652559.3060804@ibctech.ca> <20090107220713.GA50104@vagrant.nomad.nd.edu> <200901071947.34966.dmw@coder.cl> <20090107231156.GB50104@vagrant.nomad.nd.edu> Message-ID: <87y6xmadia.fsf@kobe.laptop> On Wed, 7 Jan 2009 18:11:56 -0500, David Karapetyan wrote: > Yes, I already am using colors. However, when I open mutt, the email > located in the middle of my terminal screen is the one that is > highlighted, rather than the topmost one. This strikes me as odd; I'd > like for the topmost email (email #1) to be highlighted. I can't find an option that may tune this sort of behavior in the `.muttrc' startup file, but you can use a hook that is executed every time a folder is opened: folder-hook '1' .* This will simulate an event of `1' every time you open a folder whose name matches the regular-expression `.*'. Matching all folder names, the command will be executed every time you open any folder, and mutt will move the current message pointer to the first message in the folder. From ulf.lilleengen at gmail.com Wed Jan 7 23:47:48 2009 From: ulf.lilleengen at gmail.com (Ulf Lilleengen) Date: Wed Jan 7 23:47:54 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: References: Message-ID: <20090108004745.GA44117@carrot> On ons, jan 07, 2009 at 03:04:24pm -0800, joe mcguckin wrote: > There's quite a number of implementation in the ports collection. Does > anyone have any options regarding which are the 'best'? > This doesn't really belong to this list. Cc'ing freebsd-questions@ for further discussion. I have found myself to like rtorrent, which is a very powerful console torrent client. -- Ulf Lilleengen From kurt.buff at gmail.com Wed Jan 7 23:51:12 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Wed Jan 7 23:51:19 2009 Subject: Sysinstall In-Reply-To: <200901072114.18255.gnemmi@gmail.com> References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> <200901072114.18255.gnemmi@gmail.com> Message-ID: On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi wrote: > On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: >> Hi all, >> >> I keep reading in the man pages and elsewhere that 'sysinstall' is greatly >> in need of 'Death'. >> >> How would one do a fresh install of FBSD without it? >> >> Is there a replacement in the works? >> >> -Grant > > Actually, the more use it, the more I like it .. > > The only con that I find is that I don't whether it's possible to install > Postfix instead of Sendmail by default, thus getting completely rid of > Sendmail on my FreeBSD installs. But that probably something that I'm > missing. > > Regards > -- > Blessings > Gonzalo Nemmi In the curses-based sysinstall of later versions of FBSD (7+, I think - haven't done 6 in a while) I do indeed select postfix to install, or no MTA at all, then add postfix later. Depends on my mood... Kurt From david at ideogon.com Wed Jan 7 23:53:47 2009 From: david at ideogon.com (ideogon) Date: Wed Jan 7 23:53:54 2009 Subject: During install: device Probe freezes after detecting Ethernet address In-Reply-To: <21335726.post@talk.nabble.com> References: <21333686.post@talk.nabble.com> <21335636.post@talk.nabble.com> <21335726.post@talk.nabble.com> Message-ID: <21343129.post@talk.nabble.com> Can I get some help? -- View this message in context: http://www.nabble.com/During-install%3A-device-Probe-freezes-after-detecting-Ethernet-address-tp21333686p21343129.html Sent from the freebsd-questions mailing list archive at Nabble.com. From david.karapetyan at gmail.com Thu Jan 8 00:01:56 2009 From: david.karapetyan at gmail.com (David Karapetyan) Date: Thu Jan 8 00:02:19 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <20090108004745.GA44117@carrot> References: <20090108004745.GA44117@carrot> Message-ID: <20090108000152.GA51311@vagrant.nomad.nd.edu> I second using rtorrent. It is by far the best torrent manager out there. On Thu, Jan 08, 2009 at 01:47:46AM +0100, Ulf Lilleengen wrote: > On ons, jan 07, 2009 at 03:04:24pm -0800, joe mcguckin wrote: > > There's quite a number of implementation in the ports collection. Does > > anyone have any options regarding which are the 'best'? > > > This doesn't really belong to this list. Cc'ing freebsd-questions@ for > further discussion. > > I have found myself to like rtorrent, which is a very powerful console > torrent client. > > -- > Ulf Lilleengen > _______________________________________________ > 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.homeunix.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 nlandys at gmail.com Thu Jan 8 00:09:26 2009 From: nlandys at gmail.com (Nerius Landys) Date: Thu Jan 8 00:09:35 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <20090108000152.GA51311@vagrant.nomad.nd.edu> References: <20090108004745.GA44117@carrot> <20090108000152.GA51311@vagrant.nomad.nd.edu> Message-ID: <560f92640901071609u37d9eba5y468af11efd58fd65@mail.gmail.com> rtorrent is very good, have been using it on my server for many months. From miklosovic.freebsd at gmail.com Thu Jan 8 00:19:06 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Thu Jan 8 00:19:26 2009 Subject: logout and login after compilation Message-ID: hi If I something install from ports, I cant use that command directly. It says to me that "command not found". Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx From gpeel at thenetnow.com Thu Jan 8 00:22:10 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Thu Jan 8 00:22:16 2009 Subject: Fixit vrs Live filesystem. Message-ID: <2228A28C03F94B70ACBD0D88A2C63A4F@GRANTPC> Hi all, I am in the process of downloading the ISO Disk 1 and 2 for FreeBSD 6.4. Dare I ask how one gets to the Fixit Holographic Shell, or a live file system? Are they on Disk 1 or 2? Are they the same thing? (Does the fixit console still exist)? TIA, -Grant From gpeel at thenetnow.com Thu Jan 8 00:23:29 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Thu Jan 8 00:23:36 2009 Subject: Sysinstall References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC><200901072114.18255.gnemmi@gmail.com> Message-ID: Cool to see the thread take this twist, but the original question still remains: How doe one install FreeBSD without the sysinstal utility? -Grant ----- Original Message ----- From: "Kurt Buff" To: "Gonzalo Nemmi" Cc: Sent: Wednesday, January 07, 2009 6:51 PM Subject: Re: Sysinstall > On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi wrote: >> On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: >>> Hi all, >>> >>> I keep reading in the man pages and elsewhere that 'sysinstall' is >>> greatly >>> in need of 'Death'. >>> >>> How would one do a fresh install of FBSD without it? >>> >>> Is there a replacement in the works? >>> >>> -Grant >> >> Actually, the more use it, the more I like it .. >> >> The only con that I find is that I don't whether it's possible to install >> Postfix instead of Sendmail by default, thus getting completely rid of >> Sendmail on my FreeBSD installs. But that probably something that I'm >> missing. >> >> Regards >> -- >> Blessings >> Gonzalo Nemmi > > In the curses-based sysinstall of later versions of FBSD (7+, I think > - haven't done 6 in a while) I do indeed select postfix to install, or > no MTA at all, then add postfix later. Depends on my mood... > > Kurt > _______________________________________________ > 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 jonc at chen.org.nz Thu Jan 8 00:26:07 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Thu Jan 8 00:26:13 2009 Subject: logout and login after compilation In-Reply-To: References: Message-ID: <20090108002605.GA16184@osiris.chen.org.nz> On Thu, Jan 08, 2009 at 01:19:05AM +0100, Stefan Miklosovic wrote: > hi > > If I something install from ports, I cant use that command > directly. It says to me that "command not found". > > Do I have to always log in and log out before use of > command? Is there some other way? > > my shell is csh, 7.1-RELEASE Use the command 'rehash'. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. From roberthuff at rcn.com Thu Jan 8 00:42:48 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Jan 8 00:42:55 2009 Subject: semi OT: 64-bit-clean code In-Reply-To: <20090107201617.GA37969@slackbox.xs4all.nl> References: <18788.63932.623165.925634@jerusalem.litteratus.org> <20090107201617.GA37969@slackbox.xs4all.nl> Message-ID: <18789.19449.736298.175404@jerusalem.litteratus.org> Roland Smith writes: > > Is there a good guide anywhere to writing 64-bit-clean code? > > Something that's thorough but understandable, possibly with examples > > of the trickier bits. > > For the rest, searching for '64-bit-clean' will give you > thousands of links. That's the problem. :-) And why I'm asking for suggestions. Robert Huff From pstreem at gmail.com Thu Jan 8 00:50:10 2009 From: pstreem at gmail.com (=?utf-8?B?UHN0cmVlTS1HbWFpbA==?=) Date: Thu Jan 8 00:50:17 2009 Subject: logout and login after compilation References: Message-ID: <200901080850035312080@gmail.com> run the command #rehash , that's a command refresh the env ! 2009-01-08 PstreeM-Gmail ???? Stefan Miklosovic ????? 2009-01-08 08:20:01 ???? freebsd-questions ??? ??? logout and login after compilation hi If I something install from ports, I cant use that command directly. It says to me that "command not found". Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx _______________________________________________ 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 Jan 8 00:57:20 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jan 8 00:57:27 2009 Subject: semi OT: 64-bit-clean code In-Reply-To: <18788.63932.623165.925634@jerusalem.litteratus.org> References: <18788.63932.623165.925634@jerusalem.litteratus.org> Message-ID: <20090108015547.H51468@wojtek.tensor.gdynia.pl> > Is there a good guide anywhere to writing 64-bit-clean code? simply use sizeof() not assumptions nothing else. too - don't assume big/little endian system. actually it's VERY simple. From kitchetech at gmail.com Thu Jan 8 01:07:20 2009 From: kitchetech at gmail.com (matt donovan) Date: Thu Jan 8 01:07:28 2009 Subject: Sysinstall In-Reply-To: References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> <200901072114.18255.gnemmi@gmail.com> Message-ID: <28283d910901071707v3280c5eeybc4ecc37b681426a@mail.gmail.com> On Wed, Jan 7, 2009 at 7:23 PM, Grant Peel wrote: > Cool to see the thread take this twist, but the original question still > remains: > > How doe one install FreeBSD without the sysinstal utility? > > -Grant > > ----- Original Message ----- From: "Kurt Buff" > To: "Gonzalo Nemmi" > Cc: > Sent: Wednesday, January 07, 2009 6:51 PM > Subject: Re: Sysinstall > > > > On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi wrote: >> >>> On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: >>> >>>> Hi all, >>>> >>>> I keep reading in the man pages and elsewhere that 'sysinstall' is >>>> greatly >>>> in need of 'Death'. >>>> >>>> How would one do a fresh install of FBSD without it? >>>> >>>> Is there a replacement in the works? >>>> >>>> -Grant >>>> >>> >>> Actually, the more use it, the more I like it .. >>> >>> The only con that I find is that I don't whether it's possible to install >>> Postfix instead of Sendmail by default, thus getting completely rid of >>> Sendmail on my FreeBSD installs. But that probably something that I'm >>> missing. >>> >>> Regards >>> -- >>> Blessings >>> Gonzalo Nemmi >>> >> >> In the curses-based sysinstall of later versions of FBSD (7+, I think >> - haven't done 6 in a while) I do indeed select postfix to install, or >> no MTA at all, then add postfix later. Depends on my mood... >> >> Kurt >> _______________________________________________ >> 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" > you can't unless you do a freebsd from scratch which you can find here http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/index.html there are other ways to do it but I just don't know them. there is finstall in the works From kitchetech at gmail.com Thu Jan 8 01:18:08 2009 From: kitchetech at gmail.com (matt donovan) Date: Thu Jan 8 01:18:15 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <496511DE.2040001@boosten.org> References: <4964467D.9020606@boosten.org> <20090107202206.GK99261@obspm.fr> <496511DE.2040001@boosten.org> Message-ID: <28283d910901071718m1b71eb41r22f9787d968802b@mail.gmail.com> On Wed, Jan 7, 2009 at 3:34 PM, Peter Boosten wrote: > Albert Shih wrote: > >> Le 07/01/2009 ? 07:06:53+0100, Peter Boosten a ?crit >> >>> Johann Hasselbach wrote: >>> >>>> I was doing a src upgrade from 7.0 to 7.1 >>>> >>>> After installkernel, i rebooted, and accidently ran "mergemaster" >>>> instead of "mergemaster -p" before installworld. I ctrl-c'd once I >>>> realized what I had done, but the damage was done. >>>> >>>> It seems to have overwritten my password and group files. >>>> >>>> I've stated this before: In my opinion this entire 'I want to overwrite >>> your passwd file' attitude from mergemaster is nonsense: at installation >>> time you're required to add an additional user, and mergemaster wants to >>> undo that again. >>> >>> Well...i'm not developper but long time ago, when I update from FreeBSD >> x.y >> to Freebsd x+1,(0-1) I loose many time to find something don't work >> because >> the Freebsd x+1 need some new system account. >> > > Well, my point is that mergemaster shouldn't have to delete ALL accounts, > just to add one. User and group accounts can be added to the passwd/group > file *without* deleting the others. > > Peter > -- > http://www.boosten.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" > mergemaster doesn't delete ALL accounts if you do it correctly. I usually leave the files for later and then manually do it. From gnemmi at gmail.com Thu Jan 8 01:23:09 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Thu Jan 8 01:23:16 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <560f92640901071609u37d9eba5y468af11efd58fd65@mail.gmail.com> References: <20090108000152.GA51311@vagrant.nomad.nd.edu> <560f92640901071609u37d9eba5y468af11efd58fd65@mail.gmail.com> Message-ID: <200901072323.05512.gnemmi@gmail.com> On Wednesday 07 January 2009 10:09:23 pm Nerius Landys wrote: > rtorrent is very good, have been using it on my server for many months. > _______________________________________________ > 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" rtorrent in here too ... I tried it once, I never left it or felt the need to move to other client. -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Thu Jan 8 01:23:59 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Thu Jan 8 01:24:05 2009 Subject: Sysinstall In-Reply-To: References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> <200901072114.18255.gnemmi@gmail.com> Message-ID: <200901072323.54775.gnemmi@gmail.com> On Wednesday 07 January 2009 9:51:11 pm Kurt Buff wrote: > On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi wrote: > > On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: > >> Hi all, > >> > >> I keep reading in the man pages and elsewhere that 'sysinstall' is > >> greatly in need of 'Death'. > >> > >> How would one do a fresh install of FBSD without it? > >> > >> Is there a replacement in the works? > >> > >> -Grant > > > > Actually, the more use it, the more I like it .. > > > > The only con that I find is that I don't whether it's possible to install > > Postfix instead of Sendmail by default, thus getting completely rid of > > Sendmail on my FreeBSD installs. But that probably something that I'm > > missing. > > > > Regards > > -- > > Blessings > > Gonzalo Nemmi > > In the curses-based sysinstall of later versions of FBSD (7+, I think > - haven't done 6 in a while) I do indeed select postfix to install, or > no MTA at all, then add postfix later. Depends on my mood... > > Kurt Thanks a lot Kurt. Will take that route. Thanks you, really :) Regards -- Blessings Gonzalo Nemmi From freebsd-questions-local at be-well.ilk.org Thu Jan 8 02:00:08 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Jan 8 02:00:14 2009 Subject: During install: device Probe freezes after detecting Ethernet address In-Reply-To: <21335636.post@talk.nabble.com> (ideogon's message of "Wed\, 7 Jan 2009 08\:57\:54 -0800 \(PST\)") References: <21333686.post@talk.nabble.com> <21335636.post@talk.nabble.com> Message-ID: <443afuo8v0.fsf@lowell-desk.lan> ideogon writes: > I've actually been able to get past this part once. It continued into the > installation menu. I was able to configure the system and then when I set > it to boot from the CD/DVD, it said that the CD/DVD drive isn't supported. > > Did some Googling and apparently that even though the BIOS recognizes my DVD > (and thus loaded the installation menu from it) doesn't mean that the > FreeBSD installation recognizes my DVD drive. According to FreeBSD's site, > it should recognize any ATAPI CD/DVD drive, which it is according to the > BIOS. I went back into the BIOS and realized that the drive was being > recognized, however, as slave and not master, so I reconnected it as slave > (confirmed this in the BIOS) and rebooted, speculating that this is the > underlying issue of FreeBSD not supporting my CD/DVD drive. You can't have an ATA bus with a slave and not a master. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From numardbsd at gmail.com Thu Jan 8 03:45:17 2009 From: numardbsd at gmail.com (Norberto Meijome) Date: Thu Jan 8 03:45:24 2009 Subject: Measuring Interactive performance Message-ID: Hi everyone, This question started as something I'm working on @ day job (which is a Linux / OSX shop)...but as I was thinking about it, it started to move into FBSD somewhat more... I heard several times either - 'FreeBSD is more responsive at high loads',or - 'ULE scheduler provides better interactivity under heavy loads' and I took them to mean that, under x load, FreeBSD/ULE would seem more 'reactive' to user's commands than OtherSytem/4BSD under load x. Is that a correct assumption? Assuming the answer to the above is "correct", to the second part of the email - I am interested in measuring 'interactive performance' in a more scientific fashion than having Bob sitting in front of a series of setups and tell me how they "feel". Are there any OSS tools (or commercial, other than mercury) that would allow me to automate desktop interactions (launch app, open file, perform operation, timestamp, repeat, rinse) ? Even if there's a tool that would allow for *part* of that... ? Desktop environment = KDE, Gnome, OSX TIA!!!! B _________________________ {Beto|Norberto|Numard} Meijome "The only people that never change are the stupid and the dead" Jorge Luis Borges. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From peter at boosten.org Thu Jan 8 03:55:51 2009 From: peter at boosten.org (Peter Boosten) Date: Thu Jan 8 03:55:58 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <28283d910901071718m1b71eb41r22f9787d968802b@mail.gmail.com> References: <4964467D.9020606@boosten.org> <20090107202206.GK99261@obspm.fr> <496511DE.2040001@boosten.org> <28283d910901071718m1b71eb41r22f9787d968802b@mail.gmail.com> Message-ID: <4965793F.3060202@boosten.org> matt donovan wrote: > On Wed, Jan 7, 2009 at 3:34 PM, Peter Boosten wrote: >>> >> Well, my point is that mergemaster shouldn't have to delete ALL accounts, >> just to add one. User and group accounts can be added to the passwd/group >> file *without* deleting the others. >> > > mergemaster doesn't delete ALL accounts if you do it correctly. I usually > leave the files for later and then manually do it. > Your 'do it correctly' refers to 'leave it for later', however I've read at least twice yesterday, that someone *accidentally* 'installed' the file from /var/tmp/temproot. *That* should not be possible in the first place. Thank heaven it never happened to me (knock on wood), but a mistake is easily made, especially when you just went through a whole bunch of updated rc scripts. Peter -- http://www.boosten.org From justinjereza at gmail.com Thu Jan 8 04:18:02 2009 From: justinjereza at gmail.com (Justin Jereza) Date: Thu Jan 8 04:18:10 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <20090108004745.GA44117@carrot> References: <20090108004745.GA44117@carrot> Message-ID: <53f591170901071954q820c298qe78a0d75cb4dc77c@mail.gmail.com> > I have found myself to like rtorrent, which is a very powerful console > torrent client. I've been using transmission-daemon recently and I'm getting comfortable with it. I like the fact that it can be controlled via a web browser. Can be controlled from the CLI with transmission-remote too. -- Justin Jereza LPIC-1 From dhorn2000 at gmail.com Thu Jan 8 05:32:16 2009 From: dhorn2000 at gmail.com (David Horn) Date: Thu Jan 8 05:32:24 2009 Subject: FYI, portsnap problems In-Reply-To: <49629A2B.9020004@freebsd.org> References: <49629A2B.9020004@freebsd.org> Message-ID: <25ff90d60901072132taedad51i7bb4df9c540e414e@mail.gmail.com> On Mon, Jan 5, 2009 at 6:39 PM, Colin Percival wrote: > Hi all, > > For the benefit of those of you who are noticing problems with portsnap > right > now: The release of FreeBSD 7.1 has resulted in a very large amount of > traffic > to update1.freebsd.org, which is hosted by the same box as > portsnap-master... > so the portsnap mirrors are having some trouble syncing right now. If you > find > that portsnap doesn't work, please be patient -- once the flood of people > upgrading systems to 7.1-RELEASE has subsided things should get back to > normal. > > (Before people ask: update2.freebsd.org is going to exist soon. No, I'm not > looking for more mirrors right now.) Both freebsd-update and portsnap seem to be very fast for me at the moment. It looks like we have update2 in the dns rotation (at least when I queried): ;; QUESTION SECTION: ;_http._tcp.update.freebsd.org. IN SRV ;; ANSWER SECTION: _http._tcp.update.freebsd.org. 1707 IN SRV 1 25 80 update2.FreeBSD.org. _http._tcp.update.freebsd.org. 1707 IN SRV 1 30 80 update4.FreeBSD.org. _http._tcp.update.freebsd.org. 1707 IN SRV 1 10 80 update1.FreeBSD.org. _http._tcp.update.freebsd.org. 1707 IN SRV 1 10 80 update3.FreeBSD.org. Keep up the good work. Non quia difficilia sunt non audemus, sed quia non audemus, difficilia sunt. > > -- > Colin Percival > Security Officer, FreeBSD | freebsd.org | The power to serve > Founder / author, Tarsnap | tarsnap.com | Online backups for the truly > paranoid > _______________________________________________ > 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 richard at hinditron.com Thu Jan 8 05:51:35 2009 From: richard at hinditron.com (Richard) Date: Thu Jan 8 05:51:42 2009 Subject: MD5sum mismatch Message-ID: <49658E20.80104@hinditron.com> Hi to all the members of the List. I am new to this list. But not new to FreeBSD. Twice I have tried to download 7.1 i386 dvd1 iso from 2 different ftp servers. But I am getting a totally different md5sum from the one listed in the website or ftp sites. Am I getting the right one?. The downloaded file for sure is not corrupt. Because I can unzip it,mount it and view the contents in it. Did anyone see the difference. The md5sum that I am getting is: 7d56d43359d7b7e05c0d450bafb4c8fa 7.1-RELEASE-i386-dvd1.iso.gz (md5sum) 64e8fe534e2e185d1f897bb742e06a1aae830f2978cb6b8c339977460fd6dfd6 7.1-RELEASE-i386-dvd1.iso.gz (sha256sum) The md5sum that is listed in the website is : MD5 (7.1-RELEASE-i386-dvd1.iso) = bbb47ab60bda55270ddd9ff4f73b9dc8 SHA256 (7.1-RELEASE-i386-dvd1.iso) = 303be4ce844f0cb18aa38a41988dc5fba960427dbc c69263410308176cb5875f Can anyone please confirm whether I am getting the right one. Thanks, Richard From sonic2000gr at gmail.com Thu Jan 8 06:12:23 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Thu Jan 8 06:12:34 2009 Subject: MD5sum mismatch In-Reply-To: <49658E20.80104@hinditron.com> References: <49658E20.80104@hinditron.com> Message-ID: <49659943.30006@gmail.com> Richard wrote: > Hi to all the members of the List. > I am new to this list. But not new to FreeBSD. Twice I have tried to > download 7.1 i386 dvd1 iso from 2 different ftp servers. But I am > getting a totally different md5sum from the one listed in the website > or ftp sites. > Am I getting the right one?. The downloaded file for sure is not > corrupt. Because I can unzip it,mount it and view the contents in it. > Did anyone see the difference. > The md5sum that I am getting is: > 7d56d43359d7b7e05c0d450bafb4c8fa 7.1-RELEASE-i386-dvd1.iso.gz > (md5sum) > You've taken the md5 of the compressed gz file > 64e8fe534e2e185d1f897bb742e06a1aae830f2978cb6b8c339977460fd6dfd6 > 7.1-RELEASE-i386-dvd1.iso.gz (sha256sum) > The md5sum that is listed in the website is : > MD5 (7.1-RELEASE-i386-dvd1.iso) = bbb47ab60bda55270ddd9ff4f73b9dc8 > This refers to the md5 of the uncompressed file > SHA256 (7.1-RELEASE-i386-dvd1.iso) = 303be4ce844f0cb18aa38a41988dc5fba960427dbc > c69263410308176cb5875f > > Can anyone please confirm whether I am getting the right one. > > > You are getting the right one, simply decompress before checking, i.e. gunzip 7.1-RELEASE-i386-dvd1.iso.gz md5 7.1-RELEASE-i386.dvd1.iso From richard at hinditron.com Thu Jan 8 06:21:19 2009 From: richard at hinditron.com (Richard) Date: Thu Jan 8 06:21:25 2009 Subject: MD5sum mismatch In-Reply-To: <49659943.30006@gmail.com> References: <49658E20.80104@hinditron.com> <49659943.30006@gmail.com> Message-ID: <49659B57.8080205@hinditron.com> Thanks, I just missed it. I wasted my bandwidth by downloading it twice. Manolis Kiagias wrote: Richard wrote: Hi to all the members of the List. I am new to this list. But not new to FreeBSD. Twice I have tried to download 7.1 i386 dvd1 iso from 2 different ftp servers. But I am getting a totally different md5sum from the one listed in the website or ftp sites. Am I getting the right one?. The downloaded file for sure is not corrupt. Because I can unzip it,mount it and view the contents in it. Did anyone see the difference. The md5sum that I am getting is: 7d56d43359d7b7e05c0d450bafb4c8fa 7.1-RELEASE-i386-dvd1.iso.gz (md5sum) You've taken the md5 of the compressed gz file 64e8fe534e2e185d1f897bb742e06a1aae830f2978cb6b8c339977460fd6dfd6 7.1-RELEASE-i386-dvd1.iso.gz (sha256sum) The md5sum that is listed in the website is : MD5 (7.1-RELEASE-i386-dvd1.iso) = bbb47ab60bda55270ddd9ff4f73b9dc8 This refers to the md5 of the uncompressed file SHA256 (7.1-RELEASE-i386-dvd1.iso) = 303be4ce844f0cb18aa38a41988dc5fba960427dbc c69263410308176cb5875f Can anyone please confirm whether I am getting the right one. You are getting the right one, simply decompress before checking, i.e. gunzip 7.1-RELEASE-i386-dvd1.iso.gz md5 7.1-RELEASE-i386.dvd1.iso From guru at unixarea.de Thu Jan 8 06:35:38 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Jan 8 06:35:49 2009 Subject: Sysinstall In-Reply-To: References: Message-ID: <20090108063113.GA2030@rebelion.Sisis.de> El d?a Wednesday, January 07, 2009 a las 07:23:20PM -0500, Grant Peel escribi?: > Cool to see the thread take this twist, but the original question still > remains: > > How doe one install FreeBSD without the sysinstal utility? > > -Grant Here you go: http://www.unixarea.de/installEeePC.txt Adopt the procedure to your needs. HIH 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/ SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion From rg.freebsd at gmail.com Thu Jan 8 07:02:20 2009 From: rg.freebsd at gmail.com (rg) Date: Thu Jan 8 07:02:27 2009 Subject: DHCP and Bridge mode Message-ID: <71B5E737-ED4F-482D-84D2-79757A6D9BD7@gmail.com> Hello, I am trying to get two machines on the LAN share the same IP address assigned by DHCP server by using the bridge interface in rc.conf. But I have encountered two problems here. First, the B machine (the one that gets the same IP address as the main A machine) has no problem accessing the Internet. The A machine, however, seems to have DNS problems as it cannot resolve any addresses. And the second problem I've faced is that I cannot figure out how to use SSH to connect to the A machine from the B machine if they both share the same IP address. Or is there a better way to have that kind of remote access? Warm thank you for all the hints. From remegius at comcast.net Thu Jan 8 08:04:46 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 08:04:53 2009 Subject: Help with dmesg Message-ID: <4965AFDD.9000002@comcast.net> I just finished installing clamav with clamav-milter and everything seems to be loading fine via rc.conf. But I get this message at bootup and I have no idea what gives: >554 5.0.0 /etc/mail/sendmail.cf: line 48: unknown configuration line " >" >Jan 7 23:32:32 bsd sm-mta[1307]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: >line 48: unknown configuration line "\n" As stated earlier clamav is loading fine, and freshclam is updating the database at startup. I would appreciate some enlightenment as to the meaning of the dmesg. TIA, Rem From peter at boosten.org Thu Jan 8 08:11:58 2009 From: peter at boosten.org (Peter Boosten) Date: Thu Jan 8 08:12:06 2009 Subject: Help with dmesg In-Reply-To: <4965AFDD.9000002@comcast.net> References: <4965AFDD.9000002@comcast.net> Message-ID: <4965B542.6060303@boosten.org> Rem P Roberti wrote: > I just finished installing clamav with clamav-milter and everything > seems to be loading fine via rc.conf. But I get this message at bootup > and I have no idea what gives: > >>554 5.0.0 /etc/mail/sendmail.cf: line 48: unknown configuration line " >>" >>Jan 7 23:32:32 bsd sm-mta[1307]: NOQUEUE: SYSERR(root): > /etc/mail/sendmail.cf: >>line 48: unknown configuration line "\n" > I suppose you modified your sendmail config through the .mc-file. Can you show us that one? Peter -- http://www.boosten.org From remegius at comcast.net Thu Jan 8 08:19:52 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 08:20:02 2009 Subject: Help with dmesg In-Reply-To: <4965B542.6060303@boosten.org> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> Message-ID: <4965B726.6020004@comcast.net> Peter Boosten wrote: > Rem P Roberti wrote: > >> I just finished installing clamav with clamav-milter and everything >> seems to be loading fine via rc.conf. But I get this message at bootup >> and I have no idea what gives: >> >> >>> 554 5.0.0 /etc/mail/sendmail.cf: line 48: unknown configuration line " >>> " >>> Jan 7 23:32:32 bsd sm-mta[1307]: NOQUEUE: SYSERR(root): >>> >> /etc/mail/sendmail.cf: >> >>> line 48: unknown configuration line "\n" >>> > > I suppose you modified your sendmail config through the .mc-file. > > Can you show us that one? > > Peter > Here is the complete contents of the file I modified, which is a copy of freebsd.mc: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.3 2008/08/31 18:26:27 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m') FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl -------------------------------- dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', ``"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}'') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) The only line I modified was the 5th line down beginning "INPUT_MAIL_FILTER..." Rem From remegius at comcast.net Thu Jan 8 08:27:16 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 08:27:24 2009 Subject: Help with dmesg In-Reply-To: <4965B726.6020004@comcast.net> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> Message-ID: <4965B8E2.5050608@comcast.net> Rem P Roberti wrote: > Peter Boosten wrote: >> Rem P Roberti wrote: >> >>> I just finished installing clamav with clamav-milter and everything >>> seems to be loading fine via rc.conf. But I get this message at bootup >>> and I have no idea what gives: >>> >>> >>>> 554 5.0.0 /etc/mail/sendmail.cf: line 48: unknown configuration line " >>>> " >>>> Jan 7 23:32:32 bsd sm-mta[1307]: NOQUEUE: SYSERR(root): >>>> >>> /etc/mail/sendmail.cf: >>> >>>> line 48: unknown configuration line "\n" >>>> >> >> I suppose you modified your sendmail config through the .mc-file. >> >> Can you show us that one? >> >> Peter >> > Here is the complete contents of the file I modified, which is a copy > of freebsd.mc: > > divert(0) > VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.3 2008/08/31 > 18:26:27 gshapiro Exp $') > OSTYPE(freebsd6) > > DOMAIN(generic) > > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, > F=, T=S:4m;R:4m') FEATURE(access_db, `hash -o -T > /etc/mail/access') > FEATURE(blacklist_recipients) > > FEATURE(local_lmtp) > > FEATURE(mailertable, `hash -o > /etc/mail/mailertable') > FEATURE(virtusertable, `hash -o > /etc/mail/virtusertable') > dnl Uncomment to allow relaying based on your MX records. > dnl NOTE: This can allow sites to use your server as a backup MX without > dnl your permission. > dnl FEATURE(relay_based_on_MX) > > dnl DNS based black hole lists > dnl -------------------------------- > dnl DNS based black hole lists come and go on a regular basis > dnl so this file will not serve as a database of the available servers. > dnl For that, visit > dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/ > > dnl Uncomment to activate Realtime Blackhole List > dnl information available at http://www.mail-abuse.com/ > dnl NOTE: This is a subscription service as of July 31, 2001 > dnl FEATURE(dnsbl) > dnl Alternatively, you can provide your own server and rejection message: > dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', ``"550 Mail from " > $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" > $&{client_addr}'') > > dnl Dialup users should uncomment and define this appropriately > dnl define(`SMART_HOST', `your.isp.mail.server') > > dnl Uncomment the first line to change the location of the default > dnl /etc/mail/local-host-names and comment out the second line. > dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') > define(`confCW_FILE', `-o /etc/mail/local-host-names') > > dnl Enable for both IPv4 and IPv6 (optional) > DAEMON_OPTIONS(`Name=IPv4, Family=inet') > DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') > > define(`confBIND_OPTS', `WorkAroundBrokenAAAA') > define(`confNO_RCPT_ACTION', `add-to-undisclosed') > define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') > MAILER(local) > MAILER(smtp) > > The only line I modified was the 5th line down beginning > "INPUT_MAIL_FILTER..." > > Rem > _______________________________________________ > 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" > Well, that didn't come out right. All of the lines having the word FEATURE in them are separate lines. Rem From peter at boosten.org Thu Jan 8 08:36:31 2009 From: peter at boosten.org (Peter Boosten) Date: Thu Jan 8 08:36:38 2009 Subject: Help with dmesg In-Reply-To: <4965B8E2.5050608@comcast.net> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> Message-ID: <4965BB00.7040302@boosten.org> Rem P Roberti wrote: >> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >> F=, T=S:4m;R:4m') I don't think the F= parameter can be empty (IIRC): it describes what your sendmail is supposed to do once clam isn't active (either 'F=R' for reject or 'F=T' for temporary unavailable). Peter -- http://www.boosten.org From remegius at comcast.net Thu Jan 8 08:46:20 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 08:46:28 2009 Subject: Help with dmesg In-Reply-To: <4965BB00.7040302@boosten.org> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> Message-ID: <4965BD5B.40608@comcast.net> Peter Boosten wrote: > Rem P Roberti wrote: > >>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >>> F=, T=S:4m;R:4m') >>> > > I don't think the F= parameter can be empty (IIRC): it describes what > your sendmail is supposed to do once clam isn't active (either 'F=R' for > reject or 'F=T' for temporary unavailable). > > Peter > > I actually copied that line directly from instructions at this site : http://www.technoids.org/clamav-milter.html The same setup is working on an old laptop of mine. I checked to make sure that the lines in /etc/mail/ were the same in both cases, and they are. Rem From remegius at comcast.net Thu Jan 8 08:49:07 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 08:49:13 2009 Subject: Help with dmesg In-Reply-To: <4965BB00.7040302@boosten.org> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> Message-ID: <4965BE01.8050709@comcast.net> Peter Boosten wrote: > Rem P Roberti wrote: > >>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >>> F=, T=S:4m;R:4m') >>> > > I don't think the F= parameter can be empty (IIRC): it describes what > your sendmail is supposed to do once clam isn't active (either 'F=R' for > reject or 'F=T' for temporary unavailable). > > Peter > > BTW, I noticed that when I try to do a "newaliases" command the same error message comes up: /etc/mail/sendmail.cf: line 48: unknown configuration line " " Rem From peter at boosten.org Thu Jan 8 09:17:10 2009 From: peter at boosten.org (Peter Boosten) Date: Thu Jan 8 09:17:17 2009 Subject: Help with dmesg In-Reply-To: <4965BE01.8050709@comcast.net> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BE01.8050709@comcast.net> Message-ID: <4965C487.3070000@boosten.org> Rem P Roberti wrote: > Peter Boosten wrote: >> Rem P Roberti wrote: >> >>>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >>>> F=, T=S:4m;R:4m') >>>> >> >> I don't think the F= parameter can be empty (IIRC): it describes what >> your sendmail is supposed to do once clam isn't active (either 'F=R' for >> reject or 'F=T' for temporary unavailable). >> >> Peter >> >> > BTW, I noticed that when I try to do a "newaliases" command > the same error message comes up: /etc/mail/sendmail.cf: line 48: unknown > configuration line " > " > What's in your sendmail.cf then? Display lines 40 - 60. Peter -- http://www.boosten.org From pieter at degoeje.nl Thu Jan 8 09:22:53 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Jan 8 09:23:15 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> Message-ID: <200901081010.45049.pieter@degoeje.nl> On Tuesday 06 January 2009 17:49:49 Peter Steele wrote: > Our efforts so far indicate the answer is no, which baffles us. We want > to send a limited broadcast to 255.255.255.255 but the message never > arrives. The same code works fine under Linux. Is there a trick for > doing this kind of thing under FreeBSD? Did you enable SO_BROADCAST and IP_ONESBCAST on the socket? I remember needing this on FreeBSD but not on Linux. I know UDP broadcasting works fine, but is somewhat more involved: addr.sin_family = AF_INET; addr.sin_addr.s_addr = inet_addr("130.89.191.255"); addr.sin_port = htons(UDP_PORT_ET); optval = 1; if(setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &optval, sizeof optval) == -1) err(1, "setsockopt"); optval = 1; if(setsockopt(sock, IPPROTO_IP, IP_ONESBCAST, &optval, sizeof optval) == -1) err(1, "setsockopt"); const char data[] = "report"; if(sendto(sock, data, sizeof data, 0, (struct sockaddr*)&addr, addrlen) == -1) warn("sendto"); This code will send a packet with destination address 255.255.255.255, on the interface with broadcast address 130.89.191.255. netintro(4) talks about how to discover these addresses. SO_ONESBCAST is documented in ip(4), SO_BROADCAST in getsockopt(4). -- Pieter de Goeje From on at cs.ait.ac.th Thu Jan 8 09:41:32 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Jan 8 09:41:42 2009 Subject: DHCP and Bridge mode In-Reply-To: <71B5E737-ED4F-482D-84D2-79757A6D9BD7@gmail.com> (message from rg on Thu, 8 Jan 2009 08:30:35 +0200) References: <71B5E737-ED4F-482D-84D2-79757A6D9BD7@gmail.com> Message-ID: <200901080941.n089fTIj058040@banyan.cs.ait.ac.th> Hi, > I am trying to get two machines on the LAN share the same IP address > assigned by DHCP server by using the bridge interface in rc.conf. But > I have encountered two problems here. I am not sure I understand what you are trying to do, but in general: you cannot have two machine us ethe same IP address, it just does not work; whether you use bridge or not. > The A machine, however, seems to have DNS problems as it cannot > resolve any addresses. Try to work out your problems using IP address first and something simple like ping. Use tcpdump, you will most certainly see all packets going to machine B instead of machine A. Olivier From ricardo.meb.jesus at gmail.com Thu Jan 8 09:50:25 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Thu Jan 8 09:50:52 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <200901072323.05512.gnemmi@gmail.com> References: <20090108000152.GA51311@vagrant.nomad.nd.edu> <560f92640901071609u37d9eba5y468af11efd58fd65@mail.gmail.com> <200901072323.05512.gnemmi@gmail.com> Message-ID: <4965CC5E.7060903@gmail.com> Gonzalo Nemmi wrote: > On Wednesday 07 January 2009 10:09:23 pm Nerius Landys wrote: >> rtorrent is very good, have been using it on my server for many months. >> _______________________________________________ >> 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" > > rtorrent in here too ... > I tried it once, I never left it or felt the need to move to other client. > For torrents only I'd suggest rtorrent. Very nice with a screen sessions. Recently I've moved to MLDonkey as it supports torrents and ed2k. Plus the webserver own me over. You'll find an How-To setup MLDonkey on the forums. Regards. From krad at snaffler.net Thu Jan 8 10:13:15 2009 From: krad at snaffler.net (chris.scott) Date: Thu Jan 8 10:13:23 2009 Subject: DHCP and Bridge mode In-Reply-To: <71B5E737-ED4F-482D-84D2-79757A6D9BD7@gmail.com> References: <71B5E737-ED4F-482D-84D2-79757A6D9BD7@gmail.com> Message-ID: <4965D1A3.7040204@snaffler.net> What you are doing wont work as every machine has to have an individual ip address unless your talking multicast If you are trying to provide some fault tolerance eg two routers you should look at using carp. This will aloow you to have a floating ip between two or more machines. Only one machine has it at any one time though. rg wrote: > Hello, > > I am trying to get two machines on the LAN share the same IP address > assigned by DHCP server by using the bridge interface in rc.conf. But > I have encountered two problems here. > > First, the B machine (the one that gets the same IP address as the > main A machine) has no problem accessing the Internet. The A machine, > however, seems to have DNS problems as it cannot resolve any addresses. > > And the second problem I've faced is that I cannot figure out how to > use SSH to connect to the A machine from the B machine if they both > share the same IP address. Or is there a better way to have that kind > of remote access? > > Warm thank you for all the hints. > _______________________________________________ > 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 krad at snaffler.net Thu Jan 8 10:15:33 2009 From: krad at snaffler.net (chris.scott) Date: Thu Jan 8 10:15:39 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <4965CC5E.7060903@gmail.com> References: <20090108000152.GA51311@vagrant.nomad.nd.edu> <560f92640901071609u37d9eba5y468af11efd58fd65@mail.gmail.com> <200901072323.05512.gnemmi@gmail.com> <4965CC5E.7060903@gmail.com> Message-ID: <4965D230.8050005@snaffler.net> torrentflux is good php web based one, the inbuilt searches dont work any more but there is a nice plugin for firefox that enables you to just right click on the torrent file and push it to the server. From mexas at bristol.ac.uk Thu Jan 8 12:33:19 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Jan 8 12:33:27 2009 Subject: ports tree build ignores /etc/make.conf Message-ID: <20090108123259.GA69018@mech-cluster238.men.bris.ac.uk> I have: # uname -srm FreeBSD 6.4-STABLE alpha # In /etc/make.conf I have .if ${.CURDIR:M*/lang/gcc*} NOT_FOR_ARCHS= .endif However, I get: # cd /usr/ports/lang/gcc43 # make ===> gcc-4.3.3_20090101 does not run on alpha ia64, while you are running alpha. *** Error code 1 Stop in /usr/ports/lang/gcc43. # So it seems make ignores NOT_FOR_ARCHS= setting. When I add this to the gcc43/Makefile directly, build goes ahead. What's the problem? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From pieter at degoeje.nl Thu Jan 8 12:44:26 2009 From: pieter at degoeje.nl (Pieter de Goeje) Date: Thu Jan 8 12:44:33 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <92056ebc0901062317n2022daf2s8990dc78255f87e4@mail.gmail.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963EE76.1050808@datapipe.com> <92056ebc0901062317n2022daf2s8990dc78255f87e4@mail.gmail.com> Message-ID: <200901081344.23105.pieter@degoeje.nl> > >>>> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs > >>>> of memory OR PAE enabled kernels. Nvidia's forums have lots more > >>>> information > >>>> regarding this. > >> > >> I'm not sure of the internals exactly, but the amount of onboard memory > >> plus the memory that comes with the card can't exceed 4G. (I could be > >> wrong, but I think this is accurate). In this case, assuming you have a > >> 512M card or similar then 3 Gigs of memory should work. I have seen > >> reports of 2Gigs of memory working (i386) and am sure that works without > >> problems. amd64 doesn't work at all, as you have already stated. > >> > >> If you have a requirement to use the nvidia based graphics driver, then > >> you really don't have an alternative at this time, then to remove system > >> memory from your main board. > >> > >> ~Paul Putting hw.physmem="3G" in /boot/loader.conf might also work. -- Pieter de Goeje From modulok at gmail.com Thu Jan 8 13:04:38 2009 From: modulok at gmail.com (Modulok) Date: Thu Jan 8 13:04:45 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... Message-ID: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> List, Does anyone know of a laptop, preferably an older model so it's inexpensive, (It doesn't have to be very fast.), that is: 1) FreeBSD friendly. 2) Isn't a portable skillet? 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. Every laptop I've used in the past has had terrible overheating problems. If one places a 'laptop' in their lap, it overheats, possibly burning the legs of the operator with prolonged use. I want a laptop, not a laptop attached to a desk or a board with fans in it, or the need to hunt down a desk so I can set my laptop on the desktop, effectively creating a desktop. I want to be able to set the laptop on top of my lap. (Hard to imagine.) The last laptop I had was a gateway, which when held by the corner would creak and sag and overheated constantly. The Toshiba was sturdier, but had equally atrocious ventilation and overheating problems. I was originally thinking about a thinkpad, like a T20 or T30, but word on the street is that thinkpads overheat too? Does such a thing exist? -Modulok- From reaper at reaper.yaroslavl.ru Thu Jan 8 13:31:31 2009 From: reaper at reaper.yaroslavl.ru (Michael Lednev) Date: Thu Jan 8 13:31:45 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: <49660024.2030009@reaper.yaroslavl.ru> Modulok ?????: > List, > > Does anyone know of a laptop, preferably an older model so it's > inexpensive, (It doesn't have to be very fast.), that is: > > 1) FreeBSD friendly. > 2) Isn't a portable skillet? > 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. I'd go for IBM T4x one. Mine is T42, no problems with onboard devices or overheating. These ones sold on ebay for about 400 USD, I don't know whether its too expensive or not. From demonichandextensions at hotmail.com Thu Jan 8 13:45:47 2009 From: demonichandextensions at hotmail.com (brad davison) Date: Thu Jan 8 13:45:54 2009 Subject: question regarding security patch 1/6/09 openssl Message-ID: After patching our systems, do we need to remake our keys/certs? Or are we just patching the mechanism to check the keys? _________________________________________________________________ Windows Live? Hotmail?: Chat. Store. Share. Do more with mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009 From uwe at laverenz.de Thu Jan 8 13:59:39 2009 From: uwe at laverenz.de (Uwe Laverenz) Date: Thu Jan 8 13:59:46 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: <20090108135726.GB16512@laverenz.de> On Thu, Jan 08, 2009 at 06:04:37AM -0700, Modulok wrote: > Does anyone know of a laptop, preferably an older model so it's > inexpensive, (It doesn't have to be very fast.), that is: > > 1) FreeBSD friendly. > 2) Isn't a portable skillet? > 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. I would also recommend the IBM Thinkpad T41 or T42 (not T43p). bye, Uwe From freebsd at edvax.de Thu Jan 8 14:07:49 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jan 8 14:07:57 2009 Subject: Sysinstall In-Reply-To: References: <4C17D6F9D67D4A79814EB2EBA8004034@GRANTPC> <200901072114.18255.gnemmi@gmail.com> Message-ID: <20090108150731.13127f61.freebsd@edvax.de> On Wed, 7 Jan 2009 19:23:20 -0500, "Grant Peel" wrote: > Cool to see the thread take this twist, but the original question still > remains: > > How doe one install FreeBSD without the sysinstal utility? In principle, you just start a kind of minimal live file system, use its commands (like fdisk, bsdlabel, newfs, then tar etc.) to install the system from the CD or DVD (or the Internet). Neccessary changes to files (like /etc/rc.conf) would have to be done manually (read: you would have to write it by yourself). Not that it wasn't impossible. If I remember correctly, the last time I tried OpenBSD it had a "guided installer" similar to this. No ncurses based dialog driven installer. I don't know how fast the sysinstall utility will disappear, but I would miss it. Personally, a "next, next, next, next, next, next" GUI based installer wouldn't be applealing to me, requiring me to be present during the installation, hah! :-) After a while, you can be really fast with sysinstall, and especially in the early stage of installation its very helpful. I don't use it to install software afterwards. In any case, it would be great to have the choice to still use sysinstall if the new installer is worse. But hey, this is FreeBSD, and up to this point, I haven't seen anything that would be crap from the OS team. (Crap only in ports.) :-) So I would definitely give any new sysinstaller a chance. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cfinlay at gmail.com Thu Jan 8 14:50:44 2009 From: cfinlay at gmail.com (Conner Finlay) Date: Thu Jan 8 14:50:52 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <20090108135726.GB16512@laverenz.de> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> <20090108135726.GB16512@laverenz.de> Message-ID: <9d000acd0901080625h67dad946pd6263e772a4083ca@mail.gmail.com> For something more portable, check out the ThinkPad X40 series. I love my little X40. On Thu, Jan 8, 2009 at 8:57 AM, Uwe Laverenz wrote: > On Thu, Jan 08, 2009 at 06:04:37AM -0700, Modulok wrote: > >> Does anyone know of a laptop, preferably an older model so it's >> inexpensive, (It doesn't have to be very fast.), that is: >> >> 1) FreeBSD friendly. >> 2) Isn't a portable skillet? >> 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. > > I would also recommend the IBM Thinkpad T41 or T42 (not T43p). > > bye, > Uwe > > _______________________________________________ > 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" > -- Conner Finlay From wojtek at wojtek.tensor.gdynia.pl Thu Jan 8 15:05:45 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jan 8 15:05:52 2009 Subject: Best torrent client/server available for FreeBSD? In-Reply-To: <20090108000152.GA51311@vagrant.nomad.nd.edu> References: <20090108004745.GA44117@carrot> <20090108000152.GA51311@vagrant.nomad.nd.edu> Message-ID: <20090108160521.P57524@wojtek.tensor.gdynia.pl> i too use rtorrent. From skreuzer at exit2shell.com Thu Jan 8 15:25:17 2009 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Thu Jan 8 15:25:24 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: On Jan 8, 2009, at 8:04 AM, Modulok wrote: > List, > > Does anyone know of a laptop, preferably an older model so it's > inexpensive, (It doesn't have to be very fast.), that is: > > 1) FreeBSD friendly. > 2) Isn't a portable skillet? > 3) Is physically sturdy. Not bulletproof, but not creaking, sagging > plastic. It hasn't been released yet, but iX systems is working on a BSD laptop called the INVINCIBOOK that seems to meet all your requirements. http://www.ixsystems.com/virtuemart/5.html -- Steven Kreuzer http://www.exit2shell.com/~skreuzer From freebsd at edvax.de Thu Jan 8 15:36:44 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jan 8 15:36:51 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: <20090108163636.7246ffdc.freebsd@edvax.de> On Thu, 8 Jan 2009 09:54:49 -0500, Steven Kreuzer wrote: > It hasn't been released yet, but iX systems is working on a BSD laptop > called the INVINCIBOOK that seems to meet all your requirements. > > http://www.ixsystems.com/virtuemart/5.html Hey, looks nice, but at a first glance I miss a trackpoint (which I personally prefer over a glidepad) and a third mouse button (which is essential). Furthermore, the keyboard seems to have those unfriendly MICROS~1 advertising keys. :-) Specifications look very well, so it may be well to say that such a device can be in use for several years. It's intended to run PC-BSD 1.x / FreeBSD 6.x, so there's a good chance that it will work with a 7.x FreeBSD, too. But too expensive (in my opinion)... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jerrymc at msu.edu Thu Jan 8 15:55:08 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jan 8 15:55:15 2009 Subject: Sysinstall In-Reply-To: References: Message-ID: <20090108155455.GA97139@gizmo.acns.msu.edu> On Wed, Jan 07, 2009 at 07:23:20PM -0500, Grant Peel wrote: > Cool to see the thread take this twist, but the original question still > remains: > > How doe one install FreeBSD without the sysinstal utility? You can do it manually, piece by piece. But, otherwise, you don't and you don't want to. Sysinstall works just fine. Mostly it doesn't have the pretty graphics of some fancier systems, but who cares. There are a couple of response sequences that can be confusing - that appear to make you do something more than once unless you skip them the second time you see it and just quit. But you get used to that. Beyond that, it is just the pretty pictures that are missing. ////jerry > > -Grant > > ----- Original Message ----- > From: "Kurt Buff" > To: "Gonzalo Nemmi" > Cc: > Sent: Wednesday, January 07, 2009 6:51 PM > Subject: Re: Sysinstall > > > >On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi wrote: > >>On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote: > >>>Hi all, > >>> > >>>I keep reading in the man pages and elsewhere that 'sysinstall' is > >>>greatly > >>>in need of 'Death'. > >>> > >>>How would one do a fresh install of FBSD without it? > >>> > >>>Is there a replacement in the works? > >>> > >>>-Grant > >> > >>Actually, the more use it, the more I like it .. > >> > >>The only con that I find is that I don't whether it's possible to install > >>Postfix instead of Sendmail by default, thus getting completely rid of > >>Sendmail on my FreeBSD installs. But that probably something that I'm > >>missing. > >> > >>Regards > >>-- > >>Blessings > >>Gonzalo Nemmi > > > >In the curses-based sysinstall of later versions of FBSD (7+, I think > >- haven't done 6 in a while) I do indeed select postfix to install, or > >no MTA at all, then add postfix later. Depends on my mood... > > > >Kurt > >_______________________________________________ > >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 remegius at comcast.net Thu Jan 8 16:08:44 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 16:08:51 2009 Subject: Help with dmesg In-Reply-To: <4965C487.3070000@boosten.org> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BE01.8050709@comcast.net> <4965C487.3070000@boosten.org> Message-ID: <49662509.2060206@comcast.net> Peter Boosten wrote: > Rem P Roberti wrote: > >> Peter Boosten wrote: >> >>> Rem P Roberti wrote: >>> >>> >>>>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >>>>> F=, T=S:4m;R:4m') >>>>> >>>>> >>> I don't think the F= parameter can be empty (IIRC): it describes what >>> your sendmail is supposed to do once clam isn't active (either 'F=R' for >>> reject or 'F=T' for temporary unavailable). >>> >>> Peter >>> >>> >>> >> BTW, I noticed that when I try to do a "newaliases" command >> the same error message comes up: /etc/mail/sendmail.cf: line 48: unknown >> configuration line " >> " >> >> > > What's in your sendmail.cf then? Display lines 40 - 60. > > Peter > > Here are the actual sendmail.cf lines 41-59: 41 ##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $ ##### 42 43 ##### $Id: use_cw_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $ ##### 44 45 46 47 48 49 50 ##### $Id: access_db.m4,v 8.27 2006/07/06 21:10:10 ca Exp $ ##### 51 52 53 ##### $Id: blacklist_recipients.m4,v 8.13 1999/04/02 02:25:13 gshapiro Exp $ ##### 54 55 56 ##### $Id: local_lmtp.m4,v 8.17 2002/11/17 04:41:04 ca Exp $ ##### 57 58 59 ##### $Id: mailertable.m4,v 8.25 2002/06/27 Not very interesting, is it. I have the feeling that this problem belongs on another list. Thanks for the help, Peter. I will continue to watch here. Rem From psteele at maxiscale.com Thu Jan 8 16:23:26 2009 From: psteele at maxiscale.com (Peter Steele) Date: Thu Jan 8 16:23:33 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <200901081010.45049.pieter@degoeje.nl> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> <200901081010.45049.pieter@degoeje.nl> Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F2479F8A@polaris.maxiscale.com> >Did you enable SO_BROADCAST and IP_ONESBCAST on the socket? I remember needing >this on FreeBSD but not on Linux. Yes we did, but... >I know UDP broadcasting works fine, but is >somewhat more involved: > >addr.sin_family = AF_INET; >addr.sin_addr.s_addr = inet_addr("130.89.191.255"); >addr.sin_port = htons(UDP_PORT_ET); You are using a subnet broadcast here. We are dealing with systems that do not have IPs assigned, and as a result we have to send our broadcasts to 255.255.255.255. This works fine on other operating systems but for some reason the implementation is different on FreeBSD. It appears that the only way this kind of broadcast can be sent on FreeBSD is using raw sockets. This is how the FreeBSD DHCP client/server is written, so we're taking that approach as well... From jerrymc at msu.edu Thu Jan 8 16:28:15 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jan 8 16:28:22 2009 Subject: Replace SCSI Drive In-Reply-To: References: <9F57CF00DDE541E69F500E26B652DDED@GRANTPC> <20090107205826.GA93439@gizmo.acns.msu.edu> Message-ID: <20090108162802.GA97347@gizmo.acns.msu.edu> On Wed, Jan 07, 2009 at 05:26:24PM -0500, Grant Peel wrote: > Jerry, > > I gave my head a shake (literally), and re-read you response. Please > forgive the silly question about dd. I understand that you are getting me > to wipe the disk first. I now understand pretty much everything you have > written and the procedure involved. That would be a new high point for me then. I have often been told the opposite. > Since I do have the 'newer' drive currently installed at home, I would like > to do to 'new' disk setup here first, that way, I can take to machine down > for as short a time as is possible. You can do that, though building the drive is the least of the time consumers and hardly noticable compared to dumping/restore 20GB. > I am quite nervous using the disklabel command(s) as I know nothing about > the 'geometry' numbers and how to calculate them. You don't have to know anything about geometry except maybe the small item that blocks are 512 bytes in size. You should also remember that inside of the computer 1K = 1024 BYTEs, 1M = (1024 X 1924) BYTES and 1GB = (1024 X 1924 X 1924) Bytes which is different from how manufacturers account them. (They use 1,000 BYTEs for 1K, 1,000,000 BYTEs for 1M, etc) Otherwise, it is just total number of blocks per partition up to the total size of the slice. Knowing about geomtry implies knowing about block, track and cylinder sizes, placement of MBRs, boot sectors and even about reserves for remapping, etc. You don't care about any of this except block size. > > Considering your method, and Matthews method, let me run this by you... > I think Matthew posted his method just as an alternative because you had questions, not because he means it as a preferred method. I think mine, in total, is more straightforward. > At home: > > 1. Boot a machine (this one at home) with freebsd 6.4 installable disk > (made from an ISO image), > > 2. Run sysinstall, Skip using sysinstall here. Just use the fdisk, bsdlabel and newfs the same as I posted. If it is the same FreeBSD version as the one your are replacing, then you can hook the disk up in the second SCSI slot and just become root and run things the same way as from the fixit, (but do it to device da1 instead of da0). If the versions are dissimilar, or, if you can't put the drive in the second SCSI slot, then use the fixit system, just like I already posted. > > 3. Use fdisk and disklabel to setup the slice/partitions, paying special > attention in disklabel to make the disk bootable, If you use the commands I gave for fixit, this will all take place just as you want it, including making it FreeBSD bootable. > > At the network center: > > 4. Move the current *suspect* drive to da1, and install the new drive as > da0, > > 5. Boot the machine using the fixit shell, and mount the new partitions and > the old partitions as Jerry explained below, > > 6. Do the dump/restore as Jerry mentions below. > > 7. Remove the da1, reboot and hopefully, rejoyce. This part is the same. You don't need to remove da1 at this time, but you can, as you wish. > > Comments please. See above. ////jerry > > -Grant > > ----- Original Message ----- > From: "Jerry McAllister" > To: "Grant Peel" > Cc: "FreeBSD Questions List" > Sent: Wednesday, January 07, 2009 3:58 PM > Subject: Re: Replace SCSI Drive > > > >On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote: > > > >>Hi all, > >> > >>I currently have a SCSI drive that *may* be going bad on one of my > >>production servers. I have lots of backups :-) > >> > >>Scenario: > >> > >>The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K > >>spin drive. It is at the network center about 120 miles away. This drive > >>is not using anywhere near 76 GB, and the server will never need 76 GB. I > >>estimate its using about 20 GB now. > >> > >>I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, > >>currently hooked up to my home (Windows XP BOX) via an Initio SCSI > >>adaptor. > >> > >>What I would like to do is: > >> > >>Using my windows box, FDISK and set up the disk slices at home, using > >>some kind of FreeBSD boot disk. I will of course, make sure there is > >>enough room on each file system to accomodate the data from the other > >>(going bad) disk. > >> > >>Take the pristine disk to the Network Center, > >> > >>Shut down all software on the machine that has the bad disk, and make > >>full dumps of all filesystems on that machine (/, /var, /home, /usr) and > >>move the over to the new formatted drive. > >> > >>Since I have never done this before, I have some questions: > >> > >>!. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO > >>image, to boot my PC and make the filesystems on the 36GB drive, without > >>actually installing FreeBSD? (Please feel free to tell me exactly how > >>:-)). > >> > >>2. Once I get that drive to the network center, and restore the dumps to > >>it, how do I ensure the drive is bootable? (I assume I actually do that > >>in the previous step). > >> > >>3. Is it possible to skip step one altogether and use the instructions in > >>the man pages regarding "Restoring a filesystem" and makeing the > >>'Pristine' filesystem? If so, again, how do I ensure the disk is > >>bootable? > >> > >>Thanks a billion in advance, > > > > > > > >I have a few questions. > > > >First, it sounds like this is the boot disk and is the only disk on > >the machine. Is this true? If it is not the boot disk, then it > >is very easy. If it is the boot disk, then it is still easy, but > >just a little more work. > > > >Second, since you have to take the replacement disk to the Network Center > >and do the dumps and restores there anyway, why bother doing the fdisk, > >bsdlabel and newfs remotely? That is the easy and quickest part anyway. > >So, just do it there. Oh, can you get a console on the machine? I > >presume > >so if you were going to do the dump/restore there. > > > >So, presuming some things: > >1. It is the only disk and is the boot disk. > >2. FreeBSD is the only thing you want on the disk - no dual boot. > >3. You can get a console on the machine at the Network Center. > >4. You can successfully burn and test a boot CD with the fixit image. > > It used to be that the fixit was included on disc 1, but in case it > > has moved, check out its location. Might still be there. Just find > > a spare machine - even one running MS and boot the CD and select > > the fixit image. If it comes up, then just pull it and reboot. You > > don't have to bring it all the way up just to test if it is there. > > > > Make sure the fixit comes from the same version as the one you are > > restoring to the system or you could have a problem, though probably > > not if they are all 6.x or 7.x. > > > > Some of them talk about a holographic image. I never understood > > what that was supposed to mean. I sort of expected to see a full > > 3D image of BSDie to materialize in my office and, possibly in > > Kirk McKusick's voice, tell me how to do whatever it is. But, that's > > never happened. Not enough drugs, I suppose. > > > >Anyway, take your CD with fixit and the one you can run sysinstall from, > >just > >in case and trundle on over to where that machine resides. > > > >Shut down the machine. > > > >Pull out the old disk and slide it in to the #2 SCSI slot (or leave it out > >until the dump/restore phase if you get nervous). > >Put the replacement disk in to the #1 (boot) SCSI slot. > > > >Plug in the monitor and keyboard. > > > >Pop in the CD with the fixit and boot up. > > > >Fixit runs from an image in memory, not from a hard disk, but, unless > >you look at devices, it looks like it is running just like you are > >used to. Maybe that's what they mean by holographic??? The important > >thing about this is that the devices are different and any file you > >create in the mounted root will disappear when you reboot. You may > >need to think out just where you are doing something. > > > >If it is a SCSI disk, the replacement disk should not be /dev/da0 > >If you do a df(1) you should see the memory device for / > > > >Do the following: (You may need to stick in a dd before the fdisk and > > bsdlabel if it already has an incompatible label on > > the disk or maybe none at all, but probably not) > > > ># (dd if=/dev/zero of=/dev/da0 bs=512 count=4096) only if needed > ># fdisk -BI da0 > ># (dd if=/dev/zero of=/dev/da0s1 bs=512 count=4096) only if needed > ># bsdlabel -w -B da0s1 > ># bsdlabel -e da0s1 > > > >The fdisk makes it an all FreeBSD bootable single slice with default MBR. > >The first bsdlabel writes an initial label in that slice and puts > >in the boot block. > >The second bsdlabel brings up an edit session with the information for > >partitioning that single FreeBSD slice. It will show one c partition > >which identifies the whole size of the slice. Leave that c partition > >alone. But, you can copy it to make the others and just muck with > >the numbers onb them. Looks like you want partitions for / /var /home > >/usr. > >You should also make one for swap and /tmp. So, a=/, b=swap, d=/tmp, > >e=/usr, f=/var and g=/home. Actually, make the letter names for the > >partitions match what you have now. > > > >You will first see something that looks something like: > >(The exact number will reflect the actual disk slice size) > >Remember, it is stated in 512 byte blocks (or sectors, same thing) > > > > > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > c: 75497472 0 unused 0 0 # "raw" part, don't > >edit > > > > > >To make the disk partitions be: > >(I am just guessing on sizes /=256MB, > >based on a machine I have swap=1024MB, > >with a similar sized disk, /tmp=512MB, > >but if they are like this, /usr=4096MB (eg 4 GB), > >then /var=4096MB (eg 4 GB) and > > /home gets all the rest > > > >You might want to become root and then run: bsdlabel -e da0 > >before shutting the machine down just to see what is there, though > >the numbers will be different since you are putting in a different > >sized disk. Make sure you q! to get out of the bsdlabel and do > >not do a write or you could cause yourself some nasty trouble - though > >it shouldn't let you actually do the write, I wouldn't want to > >test it out accidently. > > > >You want to edit it to make it look something like: > > > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > a: 524288 0 4.2BSD 2048 16384 32776 > > b: 2097152 * swap > > c: 75497472 0 unused 0 0 # "raw" part, don't > >edit > > d: 1048576 * 4.2BSD 2048 16384 8 > > e: 8388608 * 4.2BSD 2048 16384 28552 > > f: 8388608 * 4.2BSD 2048 16384 28552 > > g: * * 4.2BSD 2048 16384 28552 > > > >By using the '*' for offset, bsdlabel will calculate it correctly. > >By using '*' for size on the last partition (g in this case), bsdlabel > >will put all the rest of the usable space in that partition. But, the > >first offset needs to be specified as '0' and c must be left alone. > > > >When you write and exit the edit session, bsdlabel will write the > >partition table to the slice and it is now completely labeled. > > > >Finally you want to newfs each partition. Taking the defaults > >should be just fine, but remember, you have to use the full device > >name on the newfs command, not shortened as in fdisk and bsdlabel. > >(Note, do not newfs the swap partition or the 'c' partition) > > > > newfs /dev/da0s1a > > newfs /dev/da0s1d > > newfs /dev/da0s1e > > newfs /dev/da0s1f > > newfs /dev/da0s1g > > > >Now the disk is ready to write. You must make mount points and mount > >the partitions. > > > > mkdir /oldroot > > mkdir /newroot > > mkdir /oldusr > > mkdir /newusr > > mkdir /oldvar > > mkdir /newvar > > mkdir /oldhome > > mkdir /newhome > > > >(unless you have been doint something foolish, you don't have to > >dump/restore anything from /tmp) > > > >Presuming you put that old disk in the second SCSI slot, which > >would make it /dev/da1 (and presuming my speculative partition > >assignments are what you used - use what you really have) > > > > mount /dev/da0s1a /newroot > > mount /dev/da1s1a /oldroot > > mount /dev/da0s1e /newusr > > mount /dev/da1s1e /oldusr > > mount /dev/da0s1f /newvar > > mount /dev/da1s1f /oldvar > > mount /dev/da0s1g /newhome > > mount /dev/da1s1g /oldhome > > > >Then do the dump/restores from the old disk to the new. > > > > cd /newroot > > dump 0af - /oldroot | restore -rf - > > cd /newusr > > dump 0af - /oldusr | restore -rf - > > cd /newvar > > dump 0af - /oldvar | restore -rf - > > cd /newhome > > dump 0af - /oldhome | restore -rf - > > > >At this point, remove the CD and reboot and it should work just fine. > >Your old disk will still be there if you want to look at it for anything, > >but everything should be on the new one. Note: remember those mount > >points you created for the dumps will be gone after the reboot, because > >they are created in that memory file system of the fixit. So, if you > >want to mount something from the old disk, you will need to make the > >mount points again. > > > >It looks like a lot of stuff, but it actually goes pretty quickly > >until you get to the dump/restores. The big ones can take a while. > > > >Have fun, > > > >////jerry Jerry McAllister jerrymc@msu.edu > > > > > >>-Grant. > >> > >>P.S. I AM reading all the manuals and handbooks, I just can't afford to > >>mess this up :-) > >> > >>_______________________________________________ > >>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 demonichandextensions at hotmail.com Thu Jan 8 17:02:24 2009 From: demonichandextensions at hotmail.com (brad davison) Date: Thu Jan 8 17:02:51 2009 Subject: Help with dmesg In-Reply-To: <4965BD5B.40608@comcast.net> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BD5B.40608@comcast.net> Message-ID: > >>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,> >>> F=, T=S:4m;R:4m')> >>> > >> > > I actually copied that line directly from instructions at this site : > http://www.technoids.org/clamav-milter.html> The same setup is working on an old laptop of mine. I checked to make > sure that the lines in /etc/mail/ were the same in both > cases, and they are.> I actually just had this today as well. I was mimicing our company's mail server so that I'd have a 'backup'... now when you said you 'copied' the line directly, did you copy/paste? That was my problem, something got put in there that wasn't supposed to be. After I deleted that line, then typed it in properly by hand everything worked. Here is my line for sanity's sake: INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl Like I said, everything looked exactly the same, but after I typed it in manually, it worked. _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009 From nealhogan at gmail.com Thu Jan 8 17:08:06 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Jan 8 17:08:15 2009 Subject: ndis panic HP pavilion ze4400 won't boot Message-ID: I'm father new to fBSD. I hope this is the appropriate list to send this question to. I just installed 7.1-RELEASE on my HP pavilion and attempted to configure my Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my /boot/loader.conf. Now the machine will not boot. It crashes when it reaches the ndis0 line. I've tried booting in all the modes but they all fail to boot. I can escape to prompt, but am unsure what, if anything, I can do in that mode to deal with the situation. With other releases (6.4 and 7.0) the machine would panick when I attempted to ifconfig ndis0. However, I was able to boot in single user mode and temporarily move the rc.conf file so that I cound boot in the default mode. With 7.1, I don't appear to have that option. Is there anything I can do, short of a fresh install, to eliminate this problem? I'm not too worried about getting the wifi up (although, I won't turn down any advice). I just want the machine to boot. Thanks. -- www.nealhogan.net From demonichandextensions at hotmail.com Thu Jan 8 17:11:12 2009 From: demonichandextensions at hotmail.com (brad davison) Date: Thu Jan 8 17:11:30 2009 Subject: Help with dmesg In-Reply-To: References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BD5B.40608@comcast.net> Message-ID: > From: demonichandextensions@hotmail.com> To: remegius@comcast.net; peter@boosten.org> Date: Thu, 8 Jan 2009 17:02:22 +0000> CC: freebsd-questions@freebsd.org> Subject: RE: Help with dmesg> > > > >>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,> >>> F=, T=S:4m;R:4m')> >>> > >> > > I actually copied that line directly from instructions at this site : > http://www.technoids.org/clamav-milter.html> The same setup is working on an old laptop of mine. I checked to make > sure that the lines in /etc/mail/ were the same in both > cases, and they are.> > I actually just had this today as well. I was mimicing our company's mail server so that I'd have a 'backup'... now when you said you 'copied' the line directly, did you copy/paste?> > That was my problem, something got put in there that wasn't supposed to be. After I deleted that line, then typed it in properly by hand everything worked. Here is my line for sanity's sake:> > > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl> > Like I said, everything looked exactly the same, but after I typed it in manually, it worked.> _________________________________________________________________sorry to double-post, but I also have this line directly below the INPUT_*** line: define(confINPUT_MAIL_FILTERS',`clmilter') _________________________________________________________________ Windows Live? Hotmail?: Chat. Store. Share. Do more with mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009 From remegius at comcast.net Thu Jan 8 17:30:06 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 17:30:16 2009 Subject: Help with dmesg In-Reply-To: References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BD5B.40608@comcast.net> Message-ID: <49663817.4010106@comcast.net> > > > >>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, > > >>> F=, T=S:4m;R:4m') > > >>> > > > > > > > > I actually copied that line directly from instructions at this site : > > http://www.technoids.org/clamav-milter.html > > The same setup is working on an old laptop of mine. I checked to make > > sure that the lines in /etc/mail/ were the same in both > > cases, and they are. > > > > I actually just had this today as well. I was mimicing our company's > mail server so that I'd have a 'backup'... now when you said you > 'copied' the line directly, did you copy/paste? > > That was my problem, something got put in there that wasn't supposed > to be. After I deleted that line, then typed it in properly by hand > everything worked. Here is my line for sanity's sake: > > > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl > > Like I said, everything looked exactly the same, but after I typed it > in manually, it worked. > Well, I re-typed the entry and still no dice. Here is the message I get when I try to do a make after making the change: root@ /etc/mail: make /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 bsd.remdog.net.mc > bsd.remdog.net.cf /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases /etc/mail/sendmail.cf: line 48: unknown configuration line " " *** Error code 70 And "newaliases" continues to give me the same error message as before. Rem From hartzell at alerce.com Thu Jan 8 17:32:13 2009 From: hartzell at alerce.com (George Hartzell) Date: Thu Jan 8 17:32:24 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <20090108135726.GB16512@laverenz.de> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> <20090108135726.GB16512@laverenz.de> Message-ID: <18790.14488.6655.260589@almost.alerce.com> Uwe Laverenz writes: > On Thu, Jan 08, 2009 at 06:04:37AM -0700, Modulok wrote: > > > Does anyone know of a laptop, preferably an older model so it's > > inexpensive, (It doesn't have to be very fast.), that is: > > > > 1) FreeBSD friendly. > > 2) Isn't a portable skillet? > > 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. > > I would also recommend the IBM Thinkpad T41 or T42 (not T43p). I'll chime in to say that my T42p works well. g. From eculp at casasponti.net Thu Jan 8 17:59:36 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Thu Jan 8 17:59:43 2009 Subject: Anybody using Lenovo S110? Message-ID: <20090108115932.17qwm4xcuvpc0wowc@intranet.casasponti.net> I bought a Lenova S10 for my wife. It comes with WindowsXP and while configuring it for her I found it to be a nice, new generation laptop. I liked it well enough to consider buying another for me and installing FreeBSD but I would like to see what works and doesn't work. Any comments or suggestions appreciated. ed "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From gautham at lisphacker.org Thu Jan 8 18:18:55 2009 From: gautham at lisphacker.org (Gautham Ganapathy) Date: Thu Jan 8 18:19:04 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: On Thu, Jan 8, 2009 at 6:34 PM, Modulok wrote: > List, > > Does anyone know of a laptop, preferably an older model so it's > inexpensive, (It doesn't have to be very fast.), that is: > > 1) FreeBSD friendly. > 2) Isn't a portable skillet? > 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. > My dell inspiron 9400 works quite well, except for 1. Card reader 2. Suspend/resume It does get a bit warm, but not more than when I am running windows. Battery time was also pretty much the same It's no longer in production, but i believe the replacements are the inspiron 1720 and the xps 1730 I am not sure if the newer 4965 802.11n wifi chipset that are currently available would be supported, but you could opt for the 3945 -- Gautham Ganapathy http://lisphacker.org From eculp at casasponti.net Thu Jan 8 18:21:42 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Thu Jan 8 18:21:49 2009 Subject: Anybody using Lenovo S10? [ Model Correction ] In-Reply-To: <20090108115932.17qwm4xcuvpc0wowc@intranet.casasponti.net> References: <20090108115932.17qwm4xcuvpc0wowc@intranet.casasponti.net> Message-ID: <20090108122138.17qwm4xcuvpc04sg4@intranet.casasponti.net> Quoting eculp@casasponti.net: > I bought a Lenova S10 for my wife. It comes with WindowsXP and > while configuring it for her I found it to be a nice, new > generation laptop. I liked it well enough to consider buying > another for me and installing FreeBSD but I would like to see what > works and doesn't work. Link because of the original subject error [Lenovo S110 rather than the correct S10. Sorry. http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087¤t-category-id=D4B2E83FADD74C9F8BBA5B276072AD8C > > Any comments or suggestions appreciated. > > ed > > > "Failure is the opportunity to begin again more intelligently." > "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford > _______________________________________________ > 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" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From eculp at casasponti.net Thu Jan 8 18:30:00 2009 From: eculp at casasponti.net (eculp@casasponti.net) Date: Thu Jan 8 18:30:08 2009 Subject: FreeBSD-friendly laptop suggestions, but wait there's more... In-Reply-To: References: <64c038660901080504s3f2b01c7r7a047adabaff155b@mail.gmail.com> Message-ID: <20090108122957.17qwm4xcuvpc04sgw@intranet.casasponti.net> Quoting Gautham Ganapathy : > On Thu, Jan 8, 2009 at 6:34 PM, Modulok wrote: >> List, >> >> Does anyone know of a laptop, preferably an older model so it's >> inexpensive, (It doesn't have to be very fast.), that is: >> As I mentioned in another thread, I just bought a Lenovo S10 with Atom processor 512k cache and 1G memory, 10+ screen, feels very solid, best scratch pad I've ever used and cost 399 dls. I haven't put unix on it. I'm probably going to buy another. I gave this one to my wife for her iTunes and iPhone (cheaper than MAC :( ) and while setting it up I was very pleasantly surprised at how solid it was and with great performance under XP that comes with it. ed >> 1) FreeBSD friendly. >> 2) Isn't a portable skillet? >> 3) Is physically sturdy. Not bulletproof, but not creaking, sagging plastic. >> > > My dell inspiron 9400 works quite well, except for > 1. Card reader > 2. Suspend/resume > > It does get a bit warm, but not more than when I am running windows. > Battery time was also pretty much the same > > It's no longer in production, but i believe the replacements are the > inspiron 1720 and the xps 1730 > > I am not sure if the newer 4965 802.11n wifi chipset that are > currently available would be supported, but you could opt for the 3945 > -- > Gautham Ganapathy > http://lisphacker.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" > "Failure is the opportunity to begin again more intelligently." "Fracaso es la oportunidad de reiniciar con mas inteligencia" Henry Ford From sonic2000gr at gmail.com Thu Jan 8 18:42:45 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Thu Jan 8 18:42:52 2009 Subject: Anybody using Lenovo S10? [ Model Correction ] In-Reply-To: <20090108122138.17qwm4xcuvpc04sg4@intranet.casasponti.net> References: <20090108115932.17qwm4xcuvpc0wowc@intranet.casasponti.net> <20090108122138.17qwm4xcuvpc04sg4@intranet.casasponti.net> Message-ID: <49664920.3020907@gmail.com> eculp@casasponti.net wrote: > Quoting eculp@casasponti.net: > >> I bought a Lenova S10 for my wife. It comes with WindowsXP and while >> configuring it for her I found it to be a nice, new generation >> laptop. I liked it well enough to consider buying another for me and >> installing FreeBSD but I would like to see what works and doesn't work. > Link because of the original subject error [Lenovo S110 rather than > the correct S10. Sorry. > > http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087¤t-category-id=D4B2E83FADD74C9F8BBA5B276072AD8C > >> >> Any comments or suggestions appreciated. >> >> ed According to the link, it has a broadcom wireless, which I believe will be a problem. From bjmccann at gmail.com Thu Jan 8 19:34:40 2009 From: bjmccann at gmail.com (Brian McCann) Date: Thu Jan 8 19:34:47 2009 Subject: FreeBSD USB Install In-Reply-To: <20090107143450.GA12360@rebelion.Sisis.de> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> <20090107143450.GA12360@rebelion.Sisis.de> Message-ID: <2b5f066d0901081134x37f0dfv9f501cfe2e987302@mail.gmail.com> On Wed, Jan 7, 2009 at 9:34 AM, Matthias Apitz wrote: > El d?a Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribi?: >> >> I could only suggest to eliminate all slices and partitions on the >> thumb drive (such as it was a new "disk" right from the factory) >> and let sysinstall put slice and partitions onto it. > > The problem is that 'from the factory' sometimnes they come already Windows-like > formated; I've wiped out all with: > > # dd if=/dev/zero of=/dev/da0 bs=1m > > (double check that /dev/da0 is really the device you want to clean) > > matthias > Ok...so I zero'd out two different thumb drives (one 1gb stick, another a 4gb stick...not that it matters)...and both of them failed in the same way. I boot the machine with nothing but the CD-Rom drive and the USB stick. No fancy options or anything in the install process...just create one slice that takes up the whole drive, then one parition (da0s1a) mounted as "/"...about as basic as you can get. Any other thoughts? I don't understand why this wouldn't work...it's just another drive... Thanks for all the input! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From bjmccann at gmail.com Thu Jan 8 19:36:03 2009 From: bjmccann at gmail.com (Brian McCann) Date: Thu Jan 8 19:36:11 2009 Subject: FreeBSD USB Install In-Reply-To: References: Message-ID: <2b5f066d0901081136n257f114akb9ebd628fd6f93a2@mail.gmail.com> On Wed, Jan 7, 2009 at 11:18 AM, Chris Scott wrote: > Hi, > > > > Ditch sysinstall and follow this > > > > http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb- > stick-episode-2 > > > > glabel (the -L one newfs) is your friend, as it will help you avoid the > situation when you get boot failures when you try to boot off ur usb > disk on a machine that has scsi drives (da0 wont be the usb drive) > > Firing that up now...I'll post the results. I tried this some time ago and it wouldn't work...but that could have been me doing something wrong or the PC didn't support booting from USB. Thanks, I'll let ya know! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From cperciva at freebsd.org Thu Jan 8 20:20:37 2009 From: cperciva at freebsd.org (Colin Percival) Date: Thu Jan 8 20:20:50 2009 Subject: FreeBSD Update should be back to normal Message-ID: <49665FEF.6030808@freebsd.org> Hi all, There are now more freebsd-update mirrors and it looks like they're handling the load quite well. It's possible that the load balancing between mirrors will need to be tweaked a bit. If you have problems accessing a mirror (e.g., if freebsd-update exits with an error of "downloading files... failed" or complains that a file does not exist) please: 1. Try again using the -s option to make sure that you're accessing the same mirror (to make sure that this wasn't a temporary network glitch). 2. Assuming the first mirror still fails, use the -s option to pick a different mirror. 3. Assuming that the second mirror works, send me an email telling me which mirror failed and which one worked so that I can have the load balancing adjusted. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From onemda at gmail.com Thu Jan 8 21:10:51 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jan 8 21:10:58 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: References: Message-ID: <3a142e750901081310n31c83dd0p3b5793e8ad0f618b@mail.gmail.com> On 1/8/09, Neal Hogan wrote: > I'm father new to fBSD. I hope this is the appropriate list to send this > question to. > > I just installed 7.1-RELEASE on my HP pavilion and attempted to configure my > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my > /boot/loader.conf. Now the machine will not boot. It crashes when it reaches > the ndis0 line. I've tried booting in all the modes but they all fail to > boot. I can escape to prompt, but am unsure what, if anything, I can do in > that mode to deal with the situation. > > With other releases (6.4 and 7.0) the machine would panick when I attempted > to ifconfig ndis0. However, I was able to boot in single user mode and > temporarily move the rc.conf file so that I cound boot in the default mode. > With 7.1, I don't appear to have that option. > > Is there anything I can do, short of a fresh install, to eliminate this > problem? I'm not too worried about getting the wifi up (although, I won't > turn down any advice). I just want the machine to boot. You can enter loader and from there unload bcmwl5_sys, type: unload bcmwl5_sys. loader is started one step before kernel. Before ever changing loader.conf you really should test it via kldload(1) and report any ndis issues via PR. >From where you fetched drivers and for what windows version? -- Paul From psteele at maxiscale.com Thu Jan 8 21:14:00 2009 From: psteele at maxiscale.com (Peter Steele) Date: Thu Jan 8 21:14:07 2009 Subject: Do UDP broadcasts work in FreeBSD? In-Reply-To: <20090106183054.S35209@wojtek.tensor.gdynia.pl> References: <2ACA3DE8F9758A48B8BE2C7A847F91F2479DF3@polaris.maxiscale.com> <20090106183054.S35209@wojtek.tensor.gdynia.pl> Message-ID: <2ACA3DE8F9758A48B8BE2C7A847F91F2479FCC@polaris.maxiscale.com> > why 255.255.255.255 not your net broadcast address? Because the systems we are using do not have IPs assigned and you to know your subnet before you can use subnet broadcasting. We're developing our own DHCP-like service to distribute IPs to all of the systems, and we need limited broadcast to 255.255.255.255 to do this. From freebsd-questions-local at be-well.ilk.org Thu Jan 8 21:14:54 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Jan 8 21:15:01 2009 Subject: Login accounts don't work after update to 7.1 In-Reply-To: <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> (Bert-Jan's message of "Wed\, 7 Jan 2009 13\:47\:43 +0100 \(CET\)") References: <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> Message-ID: <44k595qz3o.fsf@be-well.ilk.org> "Bert-Jan" writes: > Hi Folks, > > I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE. > > During the first freebsd-update install, before rebooting, I was surprised > to find that it was going to change my /etc/passwd (deleting all my > accounts, keeping only the built-in accounts) and /etc/pwd.db and > /etc/spwd.db. I was quite suspicious so I made copies of them. freebsd-update should merge master.passwd, and re-generate all of those files from there. What did you do with master.passwd? Note that backup copies of master.passwd are kept in /var/backup. None of the other files, because they're generated from there. > After rebooting the machine came back online perfectly. I checked > /etc/passwd but there were no changes yet. Then, as the docs says, I ran > freebsd-update install again and it took quite a while. *Then* my > /etc/passwd was changed, so I replaced it with the spare copy I made. Of That spare copy doesn't help at all; /etc/passwd is only there as a convenience to users, and isn't consulted by the system for anything. > course I had to test it now so I exitted from root back to my own account, > and you guessed it: I can't su anymore: > > $ su - > su: who are you? > > I started up a second session and found my own account doesn't work > anymore either. So all I have now is an open session with my own account. > I should probably also have copied the two db files back and of course I > should have left my running root session open and started another one. Not > a very bright moment.. Does the root account itself have a password? If you installed a generic password file, it may be unprotected, and you could log in (but not su, as that requires you first be logged in as a wheel user, of which you may have none left) as root without a password if you have a local terminal (a serial console, for example), and fix things from there. > Is there a way I can recover the server from this ? > Of course I can put in a cd and change some passwords, but the server is > in a datacenter and I don't really have the time to go there and fix it. > I'm looking for a remote solution. I guess you don't have any out-of-band access to the machine, then. You may be stuck with having to go to it physically, then. > It's probably not much help but there's one jail running on it that's > still working fine. I can login and su on that one, but I don't know if I > can use it to repair the main system. I sure hope that won't help. That would defeat the point of jails, wouldn't it? ;-) -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From nealhogan at gmail.com Thu Jan 8 21:31:53 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Jan 8 21:32:00 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: <3a142e750901081310n31c83dd0p3b5793e8ad0f618b@mail.gmail.com> References: <3a142e750901081310n31c83dd0p3b5793e8ad0f618b@mail.gmail.com> Message-ID: On Thu, Jan 8, 2009 at 3:10 PM, Paul B. Mahol wrote: > On 1/8/09, Neal Hogan wrote: > > I'm father new to fBSD. I hope this is the appropriate list to send this > > question to. > > > > I just installed 7.1-RELEASE on my HP pavilion and attempted to configure > my > > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the > > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my > > /boot/loader.conf. Now the machine will not boot. It crashes when it > reaches > > the ndis0 line. I've tried booting in all the modes but they all fail to > > boot. I can escape to prompt, but am unsure what, if anything, I can do > in > > that mode to deal with the situation. > > > > With other releases (6.4 and 7.0) the machine would panick when I > attempted > > to ifconfig ndis0. However, I was able to boot in single user mode and > > temporarily move the rc.conf file so that I cound boot in the default > mode. > > With 7.1, I don't appear to have that option. > > > > Is there anything I can do, short of a fresh install, to eliminate this > > problem? I'm not too worried about getting the wifi up (although, I won't > > turn down any advice). I just want the machine to boot. > > You can enter loader and from there unload bcmwl5_sys, type: unload > bcmwl5_sys. > loader is started one step before kernel. > > Before ever changing loader.conf you really should test it via kldload(1) > and report any ndis issues via PR. > From where you fetched drivers and for what windows version? Paul > Paul, Thanks for the suggestion! However, it's not working. I've tried *unload /boot/kernel/bcmwl5_sys.ko* *unload bcmwl5_sys* *unload bcmwl5_sis.ko* *unload* and they all simply return to the OK prompt (should it tell me something?). When I boot/reboot it fails the same as before. As far as *kldload*ing goes, I tried that and it did find the bcmwl5_sys.ko (it said that the file didn't exist). So, I manually copied it. I don't remember where I got the driver. I'm pretty sure it was from HP. The version of Windows is XP Home Edition. -- www.nealhogan.net From glen.j.barber at gmail.com Thu Jan 8 21:37:58 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jan 8 21:38:05 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: References: Message-ID: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan wrote: > I'm father new to fBSD. I hope this is the appropriate list to send this > question to. > > I just installed 7.1-RELEASE on my HP pavilion and attempted to configure my > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my > /boot/loader.conf. Now the machine will not boot. It crashes when it reaches > the ndis0 line. I've tried booting in all the modes but they all fail to > boot. I can escape to prompt, but am unsure what, if anything, I can do in > that mode to deal with the situation. > > With other releases (6.4 and 7.0) the machine would panick when I attempted > to ifconfig ndis0. However, I was able to boot in single user mode and > temporarily move the rc.conf file so that I cound boot in the default mode. > With 7.1, I don't appear to have that option. > > Is there anything I can do, short of a fresh install, to eliminate this > problem? I'm not too worried about getting the wifi up (although, I won't > turn down any advice). I just want the machine to boot. > I discovered a wierd hack to resolve this. Remove the line(s) from loader.conf, and create an /etc/rc.local file containing the following: /sbin/kldload /boot/modules/bcmwl5_sys.ko That should survive a reboot. -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From MatthewDa at datacom.co.nz Thu Jan 8 21:38:10 2009 From: MatthewDa at datacom.co.nz (Matthew Davidson [DATACOM]) Date: Thu Jan 8 21:38:18 2009 Subject: issue with extra top level domain appened to mail Message-ID: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> Greetings I have a problem with a vanlia 6.3/6.4 install that any mail generated gets an extra top level domain appended to the domain. This is causing mail delivery failures and much frustration. Here is my box.... MATDAV# uname -a FreeBSD MATDAV.datacom.net.nz 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Say for example I used the mail shell script... MATDAV# mail -s TESTING someone@datacom.co.nz this is a test EOT The resulting email is "from" Charlie Root [root@MATDAV.datacom.net.nz.net.nz] Here are the headers.... Microsoft Mail Internet Headers Version 2.0 Received: from mx6.datacom.co.nz ([202.175.142.6]) by dnzwgex1.datacom.co.nz with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 10:14:21 +1300 Received: from MATDAV.datacom.net.nz (Not Verified[202.175.143.252]) by mx6.datacom.co.nz with MailMarshal (v6,4,1,5038) (using TLS: SSLv23) id ; Fri, 09 Jan 2009 10:14:21 +1300 Received: from MATDAV.datacom.net.nz (localhost.datacom.net.nz [127.0.0.1]) by MATDAV.datacom.net.nz (8.14.2/8.14.2) with ESMTP id n08LELbj002945 for >; Fri, 9 Jan 2009 10:14:21 +1300 (NZDT) (envelope-from root@MATDAV.datacom.net.nz.net.nz ) Received: (from root@localhost ) by MATDAV.datacom.net.nz (8.14.2/8.14.2/Submit) id n08LEL2D002944 for someone@datacom.co.nz ; Fri, 9 Jan 2009 10:14:21 +1300 (NZDT) (envelope-from root) Date: Fri, 9 Jan 2009 10:14:21 +1300 (NZDT) From: Charlie Root > Message-Id: <200901082114.n08LEL2D002944@MATDAV.datacom.net.nz > To: someone@datacom.co.nz Subject: TESTING Return-Path: root@MATDAV.datacom.net.nz.net.nz X-OriginalArrivalTime: 08 Jan 2009 21:14:21.0546 (UTC) FILETIME=[132D84A0:01C971D6] Is seems that something (sendmail?) is appended an extra TLD '.net.nz' on the EVELOPE-FROM field. If I rebuild the box using 6.1 it works no problem at all. Anyone know of and previous post regarding this? Any advice would be much appreciated. Matt From onemda at gmail.com Thu Jan 8 21:39:57 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jan 8 21:40:04 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: References: <3a142e750901081310n31c83dd0p3b5793e8ad0f618b@mail.gmail.com> Message-ID: <3a142e750901081339l75b0d671j7da7a8e09ea2d464@mail.gmail.com> On 1/8/09, Neal Hogan wrote: > On Thu, Jan 8, 2009 at 3:10 PM, Paul B. Mahol wrote: > >> On 1/8/09, Neal Hogan wrote: >> > I'm father new to fBSD. I hope this is the appropriate list to send this >> > question to. >> > >> > I just installed 7.1-RELEASE on my HP pavilion and attempted to >> > configure >> my >> > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd >> > the >> > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my >> > /boot/loader.conf. Now the machine will not boot. It crashes when it >> reaches >> > the ndis0 line. I've tried booting in all the modes but they all fail to >> > boot. I can escape to prompt, but am unsure what, if anything, I can do >> in >> > that mode to deal with the situation. >> > >> > With other releases (6.4 and 7.0) the machine would panick when I >> attempted >> > to ifconfig ndis0. However, I was able to boot in single user mode and >> > temporarily move the rc.conf file so that I cound boot in the default >> mode. >> > With 7.1, I don't appear to have that option. >> > >> > Is there anything I can do, short of a fresh install, to eliminate this >> > problem? I'm not too worried about getting the wifi up (although, I >> > won't >> > turn down any advice). I just want the machine to boot. >> >> You can enter loader and from there unload bcmwl5_sys, type: unload >> bcmwl5_sys. >> loader is started one step before kernel. >> >> Before ever changing loader.conf you really should test it via kldload(1) >> and report any ndis issues via PR. >> From where you fetched drivers and for what windows version? > > Paul >> > > Paul, > > Thanks for the suggestion! However, it's not working. I've tried *unload > /boot/kernel/bcmwl5_sys.ko* *unload bcmwl5_sys* *unload bcmwl5_sis.ko* > *unload* and they all simply return to the OK prompt (should it tell me > something?). Ah, sorry, "unload" removes all modules. You need after unloading all modules to load kernel and any other modules you want one by one: OK unload bcmwl5_sys OK load kernel OK boot should work. -- Paul From MatthewDa at datacom.co.nz Thu Jan 8 21:48:17 2009 From: MatthewDa at datacom.co.nz (Matthew Davidson [DATACOM]) Date: Thu Jan 8 21:48:24 2009 Subject: issue with extra top level domain appened to mail In-Reply-To: <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> References: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> Message-ID: <46562C5EECFA8C47AADDF029EE11D73D0804F923@dnzwgex1.datacom.co.nz> Hi Chuck - Output below, all looks aok to me... MATDAV# /usr/libexec/sendmail/sendmail -bt -d 0.1 Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG getla: 0 setoption SevenBitInput (7)=False setoption AliasWait (a)=10 setoption AliasFile (A)=/etc/mail/aliases setoption MinFreeBlocks (b)=100 setoption BlankSub (B)=. setoption HoldExpensive (c)=False setoption DeliveryMode (d)=background setoption TempFileMode (F)=0600 setoption HelpFile (H)=/etc/mail/helpfile setoption ResolverOptions (I)=WorkAroundBrokenAAAA setoption SendMimeErrors (j)=True setoption ForwardPath (J)= 0x81 z/.forward. 0x81 w+ 0x81 h: 0x81 z/.forward+ 0x81 h: 0x81 z/.forward. 0x81 w: 0x81 z/.forward setoption ConnectionCacheSize (k)=2 setoption ConnectionCacheTimeout (K)=5m setoption UseErrorsTo (l)=False setoption LogLevel (L)=9 setoption CheckAliases (n)=False setoption OldStyleHeaders (o)=True setoption DaemonPortOptions (O)=Name=IPv4, Family=inet Daemon IPv4 flags: setoption DaemonPortOptions (O)=Name=IPv6, Family=inet6, Modifiers=O Daemon IPv6 flags: setoption DaemonPortOptions (O)=Port=587, Name=MSA, M=E Daemon MSA flags: setoption PrivacyOptions (p)=authwarnings,noexpn,novrfy setoption QueueDirectory (Q)=/var/spool/mqueue setoption Timeout (r).queuereturn=5d setoption Timeout (r).queuewarn=4h setoption SuperSafe (s)=True setoption StatusFile (S)=/var/log/sendmail.st setoption NoRecipientAction (0x88)=add-to-undisclosed setoption SmtpGreetingMessage (0x90)= 0x81 j Sendmail 0x81 v/ 0x81 Z; 0x81 b setoption UnixFromLine (0x91)=From 0x81 g 0x81 d setoption OperatorChars (0x92)=.:%@!^/[]+ setoption MaxHeadersLength (0xaa)=32768 drop_privileges(1): Real[UG]id=0:0, get[ug]id=0:0, gete[ug]id=0:25, RunAs[UG]id=0:0 getauthinfo: root@localhost ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = MATDAV (canonical domain name) $j = MATDAV.datacom.net.nz (subdomain name) $m = datacom.net.nz (node name) $k = MATDAV.datacom.net.nz ======================================================== setoption HoldExpensive (c)=F setoption DeliveryMode (d)= assign_queueid: assigned id n08Lkj4d003012, e=0x80e41e0 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
> /quit ====finis: stat 0 e_id=NOQUEUE e_flags=4001 MATDAV# From nealhogan at gmail.com Thu Jan 8 21:59:08 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Jan 8 21:59:15 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> References: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> Message-ID: On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber wrote: > On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan wrote: > > I'm father new to fBSD. I hope this is the appropriate list to send this > > question to. > > > > I just installed 7.1-RELEASE on my HP pavilion and attempted to configure > my > > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd the > > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my > > /boot/loader.conf. Now the machine will not boot. It crashes when it > reaches > > the ndis0 line. I've tried booting in all the modes but they all fail to > > boot. I can escape to prompt, but am unsure what, if anything, I can do > in > > that mode to deal with the situation. > > > > With other releases (6.4 and 7.0) the machine would panick when I > attempted > > to ifconfig ndis0. However, I was able to boot in single user mode and > > temporarily move the rc.conf file so that I cound boot in the default > mode. > > With 7.1, I don't appear to have that option. > > > > Is there anything I can do, short of a fresh install, to eliminate this > > problem? I'm not too worried about getting the wifi up (although, I won't > > turn down any advice). I just want the machine to boot. > > > > I discovered a wierd hack to resolve this. Remove the line(s) from > loader.conf, and create an /etc/rc.local file containing the > following: > > /sbin/kldload /boot/modules/bcmwl5_sys.ko > > That should survive a reboot. > > > -- > Glen Barber > > "Tell me and I forget. Teach me and I remember. Involve me and I > learn." - Benjamin Franklin > Glen, I tried your suggestion (which I appreciate) and it did survive rebooting. However, bcmwl5_sys.ko was not loaded because there was no ndis interface. So, I change the rc.local to /sbin/kldload /boot/kernel/bcmwl5_sys.ko Upon reboot, the system panicked when it loaded the rc.local file. I don't know . . . -- www.nealhogan.net From ansarm at gmail.com Thu Jan 8 22:10:14 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Thu Jan 8 22:10:21 2009 Subject: Sun sucks Message-ID: <036001c971dd$e025e220$a071a660$@com> So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download the Timezone Java patch. After registering Sun complains that they don't like my ID and I need to provide more information. I create another account. Same problem. After 3 months I finally get an email saying they want clarification on the acronym for my company. (no access yet to download Java patch.) This sucks man. Is there one central repository where we can get all the components required to build Java on FreeBSD? From skreuzer at exit2shell.com Thu Jan 8 22:14:32 2009 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Thu Jan 8 22:14:38 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <668FAF46-5725-42AF-A1BA-4DFC2B01CE3F@exit2shell.com> On Jan 8, 2009, at 5:10 PM, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to > download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I > need to > provide more information. I create another account. Same problem. > After 3 > months I finally get an email saying they want clarification on the > acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all > the > components required to build Java on FreeBSD? > I wonder what happens if you google tzupdater-1_3_11-2008i.zip? -- Steven Kreuzer http://www.exit2shell.com/~skreuzer From andrewlylegould at gmail.com Thu Jan 8 22:16:43 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu Jan 8 22:16:50 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> References: <036001c971dd$e025e220$a071a660$@com> Message-ID: On Thu, Jan 8, 2009 at 4:10 PM, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I need to > provide more information. I create another account. Same problem. After 3 > months I finally get an email saying they want clarification on the acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all the > components required to build Java on FreeBSD? > > >From the FreeBSD Foundation: http://www.freebsdfoundation.org/downloads/java.shtml From ansarm at gmail.com Thu Jan 8 22:17:45 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Thu Jan 8 22:17:52 2009 Subject: Sun sucks In-Reply-To: <668FAF46-5725-42AF-A1BA-4DFC2B01CE3F@exit2shell.com> References: <036001c971dd$e025e220$a071a660$@com> <668FAF46-5725-42AF-A1BA-4DFC2B01CE3F@exit2shell.com> Message-ID: <038301c971de$eca84960$c5f8dc20$@com> It brings me back to the Sun website. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Steven Kreuzer Sent: Thursday, January 08, 2009 5:14 PM To: freebsd-questions@freebsd.org Subject: Re: Sun sucks On Jan 8, 2009, at 5:10 PM, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to > download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I > need to > provide more information. I create another account. Same problem. > After 3 > months I finally get an email saying they want clarification on the > acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all > the > components required to build Java on FreeBSD? > I wonder what happens if you google tzupdater-1_3_11-2008i.zip? -- Steven Kreuzer http://www.exit2shell.com/~skreuzer _______________________________________________ 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 aryeh.friedman at gmail.com Thu Jan 8 22:19:01 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Thu Jan 8 22:19:08 2009 Subject: Sun sucks In-Reply-To: References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <49667BC4.2080301@gmail.com> Andrew Gould wrote: > On Thu, Jan 8, 2009 at 4:10 PM, Ansar Mohammed wrote: > > >> So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download >> the Timezone Java patch. >> >> After registering Sun complains that they don't like my ID and I need to >> provide more information. I create another account. Same problem. After 3 >> months I finally get an email saying they want clarification on the acronym >> for my company. (no access yet to download Java patch.) >> >> >> >> This sucks man. Is there one central repository where we can get all the >> components required to build Java on FreeBSD? >> >> >> > >From the FreeBSD Foundation: > > http://www.freebsdfoundation.org/downloads/java.shtml > _______________________________________________ > 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" > > Small problem diablo needs the TZUPDATTER From ansarm at gmail.com Thu Jan 8 22:19:44 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Thu Jan 8 22:19:52 2009 Subject: Sun sucks In-Reply-To: References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <038401c971df$32f6a380$98e3ea80$@com> Thanks Andrew, but foundation website is NOT a central repository. You need to go to 3 places, To sun for the DST update, to the foundation for the source and here http://www.eyesbeyond.com/freebsddom/java/jdk16.html for the patchset. From: Andrew Gould [mailto:andrewlylegould@gmail.com] Sent: Thursday, January 08, 2009 5:17 PM To: Ansar Mohammed Cc: freebsd-questions@freebsd.org Subject: Re: Sun sucks On Thu, Jan 8, 2009 at 4:10 PM, Ansar Mohammed wrote: So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download the Timezone Java patch. After registering Sun complains that they don't like my ID and I need to provide more information. I create another account. Same problem. After 3 months I finally get an email saying they want clarification on the acronym for my company. (no access yet to download Java patch.) This sucks man. Is there one central repository where we can get all the components required to build Java on FreeBSD? >From the FreeBSD Foundation: http://www.freebsdfoundation.org/downloads/java.shtml From glen.j.barber at gmail.com Thu Jan 8 22:20:39 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jan 8 22:20:46 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: References: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> Message-ID: <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan wrote: > > > On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber wrote: >> >> On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan wrote: >> > I'm father new to fBSD. I hope this is the appropriate list to send this >> > question to. >> > >> > I just installed 7.1-RELEASE on my HP pavilion and attempted to >> > configure my >> > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd >> > the >> > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my >> > /boot/loader.conf. Now the machine will not boot. It crashes when it >> > reaches >> > the ndis0 line. I've tried booting in all the modes but they all fail to >> > boot. I can escape to prompt, but am unsure what, if anything, I can do >> > in >> > that mode to deal with the situation. >> > >> > With other releases (6.4 and 7.0) the machine would panick when I >> > attempted >> > to ifconfig ndis0. However, I was able to boot in single user mode and >> > temporarily move the rc.conf file so that I cound boot in the default >> > mode. >> > With 7.1, I don't appear to have that option. >> > >> > Is there anything I can do, short of a fresh install, to eliminate this >> > problem? I'm not too worried about getting the wifi up (although, I >> > won't >> > turn down any advice). I just want the machine to boot. >> > >> >> I discovered a wierd hack to resolve this. Remove the line(s) from >> loader.conf, and create an /etc/rc.local file containing the >> following: >> >> /sbin/kldload /boot/modules/bcmwl5_sys.ko >> >> That should survive a reboot. >> >> >> -- >> Glen Barber >> >> "Tell me and I forget. Teach me and I remember. Involve me and I >> learn." - Benjamin Franklin > > Glen, > > I tried your suggestion (which I appreciate) and it did survive rebooting. > However, bcmwl5_sys.ko was not loaded because there was no ndis interface. > So, I change the rc.local to > > /sbin/kldload /boot/kernel/bcmwl5_sys.ko > > Upon reboot, the system panicked when it loaded the rc.local file. > > I don't know . . . > Any additional modules should be placed in /boot/modules, not /boot/kernel. What happens if you manually load the module after the system is running? -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin From yuri.pankov at gmail.com Thu Jan 8 22:29:37 2009 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Thu Jan 8 22:29:44 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <20090108222930.GA8449@darklight.homeunix.org> On Thu, Jan 08, 2009 at 05:10:10PM -0500, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I need to > provide more information. I create another account. Same problem. After 3 > months I finally get an email saying they want clarification on the acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all the > components required to build Java on FreeBSD? Try downloading it from URL provided by filesearch.ru search results: http://www.filesearch.ru/cgi-bin/s?q=tzupdater-1_3_11-2008i.zip&t=f&w=a HTH, Yuri From ansarm at gmail.com Thu Jan 8 22:32:10 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Thu Jan 8 22:32:16 2009 Subject: Sun sucks In-Reply-To: <20090108222930.GA8449@darklight.homeunix.org> References: <036001c971dd$e025e220$a071a660$@com> <20090108222930.GA8449@darklight.homeunix.org> Message-ID: <039301c971e0$efd3fbf0$cf7bf3d0$@com> Yrui, thanks for the assist man. But I refuse to believe that this is what it has come to. Thanks for the help all, someone gave me creds I can use, the openJDK seems like a promising option. -----Original Message----- From: Yuri Pankov [mailto:yuri.pankov@gmail.com] Sent: Thursday, January 08, 2009 5:30 PM To: Ansar Mohammed Cc: freebsd-questions@freebsd.org Subject: Re: Sun sucks On Thu, Jan 08, 2009 at 05:10:10PM -0500, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I need to > provide more information. I create another account. Same problem. After 3 > months I finally get an email saying they want clarification on the acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all the > components required to build Java on FreeBSD? Try downloading it from URL provided by filesearch.ru search results: http://www.filesearch.ru/cgi-bin/s?q=tzupdater-1_3_11-2008i.zip&t=f&w=a HTH, Yuri From cswiger at mac.com Thu Jan 8 21:44:52 2009 From: cswiger at mac.com (Chuck Swiger) Date: Thu Jan 8 22:37:08 2009 Subject: issue with extra top level domain appened to mail In-Reply-To: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> References: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> Message-ID: <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> On Jan 8, 2009, at 1:23 PM, Matthew Davidson [DATACOM] wrote: > I have a problem with a vanlia 6.3/6.4 install that any mail generated > gets an extra top level domain appended to the domain. > > This is causing mail delivery failures and much frustration. Run "/usr/libexec/sendmail/sendmail -bt -d 0.1" and it should show a section called "SYSTEM IDENTITY" which should indicate what it is seeing for your "short domain name", "subdomain name", etc. That should indicate what you need to change, but if nothing else works, adjust this in /etc/mail/sendmail.cf: # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM Regards, -- -Chuck From ibb_orac at mbox.contact.bg Thu Jan 8 22:37:20 2009 From: ibb_orac at mbox.contact.bg (Ivailo Bonev) Date: Thu Jan 8 22:37:31 2009 Subject: freebsd-update and latest security patches Message-ID: I've tried to install latest security patches with # freebsd-update fetch # freebsd-update install # reboot but after reboot # uname -r tells me that I have 7.1-RELEASE If I understand corectly from handbook, it should tells me -p1? Is there somthing that I am missing? ... and sorry for my bad English :) From redchin at gmail.com Thu Jan 8 22:39:34 2009 From: redchin at gmail.com (Kevin Downey) Date: Thu Jan 8 22:39:41 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <1d3ed48c0901081413p5aa61c73wd6c23261eee4ed6a@mail.gmail.com> you could use bugmenot to get by the registration. openjdk also builds on freebsd, but no port yet On Thu, Jan 8, 2009 at 2:10 PM, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I need to > provide more information. I create another account. Same problem. After 3 > months I finally get an email saying they want clarification on the acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all the > components required to build Java on 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" > -- And what is good, Phaedrus, And what is not good? Need we ask anyone to tell us these things? From dfeustel at mindspring.com Thu Jan 8 22:44:23 2009 From: dfeustel at mindspring.com (Dave Feustel) Date: Thu Jan 8 22:44:29 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> Message-ID: <20090108224422.B77608FC13@mx1.freebsd.org> On Thu, Jan 08, 2009 at 05:10:10PM -0500, Ansar Mohammed wrote: > So I am trying to build Java on FreeBSD 7.0. I need to REGSITER to download > the Timezone Java patch. > > After registering Sun complains that they don't like my ID and I need to > provide more information. I create another account. Same problem. After 3 > months I finally get an email saying they want clarification on the acronym > for my company. (no access yet to download Java patch.) > > > > This sucks man. Is there one central repository where we can get all the > components required to build Java on FreeBSD? I was running 64-bit FreeBSD 7.0, but had to remove it to run Suse 11. 32-bit Fedora 9 and 64-bit Suse 11 ship with fully functional Java environments. If your primary goal is to use Java, I can recommend either of these platforms. I got a complex 3rd party Java project (Geometric Algebra graphics) installed and running with absolutely no problems on these platforms. (BTW, I had no prior experience worth mentioning with Java :-) ), From glavoie at gmail.com Thu Jan 8 22:50:26 2009 From: glavoie at gmail.com (Gabriel Lavoie) Date: Thu Jan 8 22:50:35 2009 Subject: freebsd-update and latest security patches In-Reply-To: References: Message-ID: It depends. This update was related to the flaw found in OpenSSL recently. Since this update didn't touch the kernel, it's normal that your're still on the 7.1-RELEASE kernel. The kernel version changes only when an update touches it directly. Gabriel 2009/1/8 Ivailo Bonev : > I've tried to install latest security patches with > # freebsd-update fetch > # freebsd-update install > # reboot > but after reboot > # uname -r tells me that I have > 7.1-RELEASE > If I understand corectly from handbook, it should tells me -p1? > Is there somthing that I am missing? > ... and sorry for my bad English :) > > _______________________________________________ > 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" > -- Gabriel Lavoie glavoie@gmail.com From glen.j.barber at gmail.com Thu Jan 8 22:54:05 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jan 8 22:54:12 2009 Subject: ndis panic HP pavilion ze4400 won't boot In-Reply-To: <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> References: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> Message-ID: <4ad871310901081454u72c2f5f3y79c7aaff568d7689@mail.gmail.com> On Thu, Jan 8, 2009 at 5:20 PM, Glen Barber wrote: > On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan wrote: >> >> >> On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber wrote: >>> >>> On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan wrote: >>> > I'm father new to fBSD. I hope this is the appropriate list to send this >>> > question to. >>> > >>> > I just installed 7.1-RELEASE on my HP pavilion and attempted to >>> > configure my >>> > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd >>> > the >>> > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my >>> > /boot/loader.conf. Now the machine will not boot. It crashes when it >>> > reaches >>> > the ndis0 line. I've tried booting in all the modes but they all fail to >>> > boot. I can escape to prompt, but am unsure what, if anything, I can do >>> > in >>> > that mode to deal with the situation. >>> > >>> > With other releases (6.4 and 7.0) the machine would panick when I >>> > attempted >>> > to ifconfig ndis0. However, I was able to boot in single user mode and >>> > temporarily move the rc.conf file so that I cound boot in the default >>> > mode. >>> > With 7.1, I don't appear to have that option. >>> > >>> > Is there anything I can do, short of a fresh install, to eliminate this >>> > problem? I'm not too worried about getting the wifi up (although, I >>> > won't >>> > turn down any advice). I just want the machine to boot. >>> > >>> >>> I discovered a wierd hack to resolve this. Remove the line(s) from >>> loader.conf, and create an /etc/rc.local file containing the >>> following: >>> >>> /sbin/kldload /boot/modules/bcmwl5_sys.ko >>> >>> That should survive a reboot. >>> >>> >> Glen, >> >> I tried your suggestion (which I appreciate) and it did survive rebooting. >> However, bcmwl5_sys.ko was not loaded because there was no ndis interface. >> So, I change the rc.local to >> >> /sbin/kldload /boot/kernel/bcmwl5_sys.ko >> >> Upon reboot, the system panicked when it loaded the rc.local file. >> >> I don't know . . . >> > > Any additional modules should be placed in /boot/modules, not > /boot/kernel. What happens if you manually load the module after the > system is running? > > After rethinking my last statement, with the module in /boot/kernel *and* an entry in loader.conf you are loading the module twice. Move the module to /boot/modules where it should be. -- Glen Barber From david.karapetyan at gmail.com Thu Jan 8 22:56:35 2009 From: david.karapetyan at gmail.com (David Karapetyan) Date: Thu Jan 8 22:56:43 2009 Subject: Updating from 7.0 to 7.1 In-Reply-To: References: Message-ID: <20090108225630.GE56928@vagrant.hsd1.in.comcast.net> Hello, I was wondering if it was worth the time or effort to update from fbsd 7.0 to 7.1. From what I see, the only major change is the inclusion of dtrace. I am leaning towards not switching, but it seems a lot of people are. On Thu, Jan 08, 2009 at 05:50:24PM -0500, Gabriel Lavoie wrote: > It depends. This update was related to the flaw found in OpenSSL > recently. Since this update didn't touch the kernel, it's normal that > your're still on the 7.1-RELEASE kernel. The kernel version changes > only when an update touches it directly. > > Gabriel > > 2009/1/8 Ivailo Bonev : > > I've tried to install latest security patches with > > # freebsd-update fetch > > # freebsd-update install > > # reboot > > but after reboot > > # uname -r tells me that I have > > 7.1-RELEASE > > If I understand corectly from handbook, it should tells me -p1? > > Is there somthing that I am missing? > > ... and sorry for my bad English :) > > > > _______________________________________________ > > 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" > > > > > > -- > Gabriel Lavoie > glavoie@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" -- -- Best, David Karapetyan http://davidkarapetyan.homeunix.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 kitchetech at gmail.com Thu Jan 8 23:08:28 2009 From: kitchetech at gmail.com (matt donovan) Date: Thu Jan 8 23:08:34 2009 Subject: mergemaster goof when src upgrading 7.0 -> 7.1 In-Reply-To: <4965793F.3060202@boosten.org> References: <4964467D.9020606@boosten.org> <20090107202206.GK99261@obspm.fr> <496511DE.2040001@boosten.org> <28283d910901071718m1b71eb41r22f9787d968802b@mail.gmail.com> <4965793F.3060202@boosten.org> Message-ID: <28283d910901081508q3647fe7frde85ec609518bcfe@mail.gmail.com> On Wed, Jan 7, 2009 at 10:55 PM, Peter Boosten wrote: > matt donovan wrote: > > On Wed, Jan 7, 2009 at 3:34 PM, Peter Boosten wrote: > >>> > >> Well, my point is that mergemaster shouldn't have to delete ALL > accounts, > >> just to add one. User and group accounts can be added to the > passwd/group > >> file *without* deleting the others. > >> > > > > mergemaster doesn't delete ALL accounts if you do it correctly. I usually > > leave the files for later and then manually do it. > > > > Your 'do it correctly' refers to 'leave it for later', however I've read > at least twice yesterday, that someone *accidentally* 'installed' the > file from /var/tmp/temproot. *That* should not be possible in the first > place. > > Thank heaven it never happened to me (knock on wood), but a mistake is > easily made, especially when you just went through a whole bunch of > updated rc scripts. > > Peter > > -- > http://www.boosten.org > myself I just watch the file name line since I don't touch files outside of /usr. unless it's for example ppp.conf From ibb_orac at mbox.contact.bg Thu Jan 8 23:14:41 2009 From: ibb_orac at mbox.contact.bg (Ivailo Bonev) Date: Thu Jan 8 23:14:48 2009 Subject: freebsd-update and latest security patches References: Message-ID: <2C26CBE7C5564B768E66F164F56FE87A@chameleon> ----- Original Message ----- From: "Gabriel Lavoie" To: "Ivailo Bonev" Cc: Sent: Friday, January 09, 2009 12:50 AM Subject: Re: freebsd-update and latest security patches > It depends. This update was related to the flaw found in OpenSSL > recently. Since this update didn't touch the kernel, it's normal that > your're still on the 7.1-RELEASE kernel. The kernel version changes > only when an update touches it directly. > > Gabriel > > 2009/1/8 Ivailo Bonev : >> I've tried to install latest security patches with >> # freebsd-update fetch >> # freebsd-update install >> # reboot >> but after reboot >> # uname -r tells me that I have >> 7.1-RELEASE >> If I understand corectly from handbook, it should tells me -p1? >> Is there somthing that I am missing? >> ... and sorry for my bad English :) >> >> _______________________________________________ >> 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" >> > > > > -- > Gabriel Lavoie > glavoie@gmail.com Thanks for explanation. It was helpful. From freminlins at gmail.com Thu Jan 8 23:18:15 2009 From: freminlins at gmail.com (Freminlins) Date: Thu Jan 8 23:18:22 2009 Subject: Sysinstall In-Reply-To: <20090108155455.GA97139@gizmo.acns.msu.edu> References: <20090108155455.GA97139@gizmo.acns.msu.edu> Message-ID: 2009/1/8 Jerry McAllister > > Beyond that, it is just the pretty pictures > that are missing. sysinstall also works over serial console. No use for pretty pictures there... > ////jerry MF. From panosx13 at gmail.com Thu Jan 8 23:25:39 2009 From: panosx13 at gmail.com (Panos) Date: Thu Jan 8 23:25:46 2009 Subject: Help with dmesg In-Reply-To: <49662509.2060206@comcast.net> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BE01.8050709@comcast.net> <4965C487.3070000@boosten.org> <49662509.2060206@comcast.net> Message-ID: <49668513.1080808@gmail.com> O/H Rem P Roberti ??????: > Peter Boosten wrote: >> Rem P Roberti wrote: >>> Peter Boosten wrote: >>>> Rem P Roberti wrote: >>>> >>>>>> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, >>>>>> F=, T=S:4m;R:4m') >>>> I don't think the F= parameter can be empty (IIRC): it describes what >>>> your sendmail is supposed to do once clam isn't active (either >>>> 'F=R' for >>>> reject or 'F=T' for temporary unavailable). >>>> >>>> Peter >>>> >>> BTW, I noticed that when I try to do a "newaliases" command >>> the same error message comes up: /etc/mail/sendmail.cf: line 48: >>> unknown >>> configuration line " >>> " >>> >> >> What's in your sendmail.cf then? Display lines 40 - 60. >> >> Peter >> > Here are the actual sendmail.cf lines 41-59: > > 41 ##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $ ##### > 42 > 43 ##### $Id: use_cw_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $ > ##### > 44 > 45 > 46 > 47 > 48 > 49 > 50 ##### $Id: access_db.m4,v 8.27 2006/07/06 21:10:10 ca Exp $ ##### > 51 > 52 > 53 ##### $Id: blacklist_recipients.m4,v 8.13 1999/04/02 02:25:13 > gshapiro Exp $ ##### > 54 > 55 > 56 ##### $Id: local_lmtp.m4,v 8.17 2002/11/17 04:41:04 ca Exp $ ##### > 57 > 58 > 59 ##### $Id: mailertable.m4,v 8.25 2002/06/27 > > Not very interesting, is it. I have the feeling that this problem > belongs on another list. Thanks > for the help, Peter. I will continue to watch here. > > Rem > > > _______________________________________________ > 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" if I remember rigth I had the same problem months ago, but I'm not really sure how I solved it. First try to delete the lines 44 - 49 of yourr's .cf file. then try to restart sendmail. if that doesn't work try dnl after every line in the .mc file. e.x INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m') dnl I think something like that I did and it works. But I'm not so sure. From remegius at comcast.net Thu Jan 8 23:26:02 2009 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jan 8 23:26:09 2009 Subject: Help with dmesg In-Reply-To: <49668513.1080808@gmail.com> References: <4965AFDD.9000002@comcast.net> <4965B542.6060303@boosten.org> <4965B726.6020004@comcast.net> <4965B8E2.5050608@comcast.net> <4965BB00.7040302@boosten.org> <4965BE01.8050709@comcast.net> <4965C487.3070000@boosten.org> <49662509.2060206@comcast.net> <49668513.1080808@gmail.com> Message-ID: <49668B88.6080704@comcast.net> > if I remember rigth I had the same problem months ago, but I'm not > really sure how I solved it. > First try to delete the lines 44 - 49 of yourr's .cf file. then try to > restart sendmail. > if that doesn't work try dnl after every line in the .mc file. e.x > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, > T=S:4m;R:4m') dnl > I think something like that I did and it works. But I'm not so sure. > > I decided to start from scratch, and got rid of all the files generated by the "make" command. So now my /etc/mail directory looks just as it did when I started. Instead of creating a whole new batch of files I decided to just start by running the "newaliases" command and here's what I got: root@ /etc/mail: newaliases /etc/mail/sendmail.cf: line 48: unknown configuration line " " clearly (I think) the problem has nothing to do with the files generated by "make". Something appears to be messed up with sendmail.cf (at least according to the error message), but I don't see how that is possible. Line 48 in /etc/mail/sendmail.cf is blank! Rem From freebsd at edvax.de Thu Jan 8 23:28:55 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jan 8 23:29:03 2009 Subject: Restore deleted files Message-ID: <20090109002846.c67d962f.freebsd@edvax.de> Hi, I'd like to ask a two-stage question: 1. Is it possible to recover files that have been deleted? 2. Which tools or procedures are suggested for recovery? While sorting out some files and transfering them to another hard disk, I accidentally deleted too much: the directory with my videos taken by a digital camera. They were located in a directory within a subtree, and I deleted the whole subtree without first copying these files. I used the Midnight Commander to do this. As I read from its source code, it seems to use the unlink() call to delete the subtree recursively. Pressing PF8 can really ruin your day... Just after I noticed what I had done I unmounted the file system, powered off the machine and put the disk on the shelf (it's still there), no further write accesses. I would be glad if someone could enlighten me if there is any chance to get the files back, even with the loss of the file names (doesn't matter), and which tools seem to serve best in this difficult task. And if it's impossible, please tell me. I can newfs the disk then and free it, along with my mind. PS. I'm posting this question to -fs, too. Answers from this list please keep me in CC because I'm not subscribed to -fs. Thank you! -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From julian at elischer.org Fri Jan 9 00:35:43 2009 From: julian at elischer.org (Julian Elischer) Date: Fri Jan 9 00:35:50 2009 Subject: Restore deleted files In-Reply-To: <20090109002846.c67d962f.freebsd@edvax.de> References: <20090109002846.c67d962f.freebsd@edvax.de> Message-ID: <49669529.4010501@elischer.org> Polytropon wrote: > Hi, > > I'd like to ask a two-stage question: > > 1. Is it possible to recover files that have been deleted? > > 2. Which tools or procedures are suggested for recovery? > > While sorting out some files and transfering them to another > hard disk, I accidentally deleted too much: the directory with > my videos taken by a digital camera. They were located in a > directory within a subtree, and I deleted the whole subtree > without first copying these files. > > I used the Midnight Commander to do this. As I read from its > source code, it seems to use the unlink() call to delete the > subtree recursively. Pressing PF8 can really ruin your day... > > Just after I noticed what I had done I unmounted the file system, > powered off the machine and put the disk on the shelf (it's still > there), no further write accesses. unmounting could have made things worse :-/ it then actually cleaned up and wrote the changes.... the best would have been to ahve hit and dropped into the debugger and then unplugged the drive.. still you MIGHT be lucky if the files are contiguous on disk (which images are likely to be. I don't know hte tools bu there are some... they are usually more useful for recovering from crashes etc. the trouble with accidental deletes is that they often leave no information as to what went where. hopefully someone else can give you more info as to tools. > > I would be glad if someone could enlighten me if there is any > chance to get the files back, even with the loss of the file > names (doesn't matter), and which tools seem to serve best in > this difficult task. > > And if it's impossible, please tell me. I can newfs the disk > then and free it, along with my mind. > > > > > PS. > I'm posting this question to -fs, too. Answers from this list > please keep me in CC because I'm not subscribed to -fs. Thank you! > From cswiger at mac.com Fri Jan 9 00:36:03 2009 From: cswiger at mac.com (Chuck Swiger) Date: Fri Jan 9 00:36:10 2009 Subject: Restore deleted files In-Reply-To: <20090109002846.c67d962f.freebsd@edvax.de> References: <20090109002846.c67d962f.freebsd@edvax.de> Message-ID: On Jan 8, 2009, at 3:28 PM, Polytropon wrote: > I'd like to ask a two-stage question: > > 1. Is it possible to recover files that have been deleted? > > 2. Which tools or procedures are suggested for recovery? The preferred method is to recover files from backup. If you don't take backups, you've decided that you don't really care about the data. This being said, you might take a look at something like: > % cat /usr/ports/sysutils/sleuthkit/pkg-descr > The Sleuth Kit (previously known as TASK) is a collection of UNIX- > based > command line file system and media management forensic analysis > tools. The > file system tools allow you to examine file systems of a suspect > computer in > a non-intrusive fashion. > > The media management tools allow you to examine the layout of disks > and > other media. The Sleuth Kit supports DOS partitions, BSD partitions > (disk > labels), Mac partitions, Sun slices (Volume Table of Contents), and > GPT > disks. With these tools, you can identify where partitions are > located and > extract them so that they can be analyzed with file system analysis > tools. > > WWW: http://www.sleuthkit.org/sleuthkit/ This can be used to attempt to "undelete" files from a UFS filesystem.... Regards, -- -Chuck From NO_REPLAY at NO_REPLAY.COM Fri Jan 9 00:42:27 2009 From: NO_REPLAY at NO_REPLAY.COM (NO_REPLAY@NO_REPLAY.COM) Date: Fri Jan 9 00:42:34 2009 Subject: Get competitive price for Product Iphone 3G, RIM blackberry, HTC, Nikon Message-ID: [1]Indoshop27 Electronic Supplier [2]My Account [3] Cart Contents [4] Checkout [5]Top » [6]Catalog [7]My Account | [8]Cart Contents | [9]Checkout Categories [10]Camcorder,Handycame (10) [11]camera digital (16) [12]CD Games (6) [13]Cellphone (19) [14]Computer IT,Notebook (42) [15]Flesdisk,Memory [16]Games consoles (6) [17]HDTV, LCD, Monitor, Proje ctor (20) [18]MP3,MP4,Ipod,Player (7) [19]Printer digital (8) [20]Shoes (15) [21]Smartphone,PDA,PC pocket (29) [22]T-shirt (3) [23]Tuxedo (3) Manufacturers [Please Select....] What's New? [24]more [25]HTC Touch HD GPS [26]HTC Touch HD GPS $327.00 Quick Find __________ Quick Find Use keywords to find the product you are looking for. [27]Advanced Search Information [28]Shipping & Returns [29]Privacy Notice [30]Conditions of Use [31]Contact Us What's New Here? What's New Here? Welcome Guest! Would you like to [32]log yourself in? Or would you prefer to [33]create an account? [logo.jpg] New Products For January [34]RIM BlackBerry Storm 9530 Smartphone [35]RIM BlackBerry Storm 9530 Smartphone $712.00 [36]RIM¢î BlackBerry Storm 9500 [37]RIM¢î BlackBerry Storm 9500 $659.00 [38]HTC Touch Pro GPS [39]HTC Touch Pro GPS $239.00 [40]HTC Touch HD GPS [41]HTC Touch HD GPS $327.00 [42]Sony Ericsson XPERIA X1 + 16GB microSD Memory Card (solid black) [43]Sony Ericsson XPERIA X1 + 16GB microSD Memory Card (solid black) $365.00 [44]RIM¢î BlackBerry Bold 9000 Smartphone [45]RIM¢î BlackBerry Bold 9000 Smartphone $345.00 [46]RIM¢î BlackBerry Bold 9000 Smartphone + Piel Frama Bold Case [47]RIM¢î BlackBerry Bold 9000 Smartphone + Piel Frama Bold Case $475.00 [48]Panasonic CF-19 A rugged convertible tablet PC [49]Panasonic CF-19 A rugged convertible tablet PC $1,566.00 [50]Panasonic Toughbook 74 - Core 2 Duo T7300 / 2 GHz - Centrino Duo [51]Panasonic Toughbook 74 - Core 2 Duo T7300 / 2 GHz - Centrino Duo $1,870.00 Shopping Cart [52]more 0 items Bestsellers 01. [53]Adidas Adicolor High R2 (col red / whit e/ col red) 02. [54]Calvin Klein Two-Button Black Tuxedo 03. [55]Limited Tuxedo~new Napoli Italian 2 Button Men Tuxedo Suits Supe 04. [56]Men's Super 140s Black Stretch Wool Tuxedo Suit 05. [57]Pepsi 100% Recycled Tee Shirt 06. [58]Pepsi-Cola Men's 1940's Vintage T-Shirt 07. [59]Pepsi-Cola Men's 1971 Vintage T-Shirt 08. [60]RIM¢î BlackBerry Bold 9000 Smartphone 09. [61]Apple iPhone 16GB Smartphone (GSM, Bluetooth, 2MP, 16GB - MPN: M 10. [62]Nokia N96 16GB Black Reviews [63]more [64]Apple MacBook MB404LL/A 13.3-inch Laptop (2.4 GHz Intel Core 2 D [65]Hallo Indoshop27 aku sudah terima orderku Nikon D700 aku da .. 5 of 5 Stars! Languages [66]English Currencies [US Dollar] Friday 09 January, 2009 27097 requests since Thursday 18 September, 2008 Copyright © 2003 - 2009 [67]Indoshop27 [68][verotel_3.gif] References 1. http://indoshop27.com/index.php?osCsid=33219b7db62016a88aab4b244b90d570 2. http://indoshop27.com/account.php?osCsid=33219b7db62016a88aab4b244b90d570 3. http://indoshop27.com/shopping_cart.php?osCsid=33219b7db62016a88aab4b244b90d570 4. http://indoshop27.com/checkout_shipping.php?osCsid=33219b7db62016a88aab4b244b90d570 5. http://indoshop27.com/ 6. http://indoshop27.com/index.php?osCsid=33219b7db62016a88aab4b244b90d570 7. http://indoshop27.com/account.php?osCsid=33219b7db62016a88aab4b244b90d570 8. http://indoshop27.com/shopping_cart.php?osCsid=33219b7db62016a88aab4b244b90d570 9. http://indoshop27.com/checkout_shipping.php?osCsid=33219b7db62016a88aab4b244b90d570 10. http://indoshop27.com/index.php?cPath=26&osCsid=33219b7db62016a88aab4b244b90d570 11. http://indoshop27.com/index.php?cPath=27&osCsid=33219b7db62016a88aab4b244b90d570 12. http://indoshop27.com/index.php?cPath=35&osCsid=33219b7db62016a88aab4b244b90d570 13. http://indoshop27.com/index.php?cPath=31&osCsid=33219b7db62016a88aab4b244b90d570 14. http://indoshop27.com/index.php?cPath=21&osCsid=33219b7db62016a88aab4b244b90d570 15. http://indoshop27.com/index.php?cPath=32&osCsid=33219b7db62016a88aab4b244b90d570 16. http://indoshop27.com/index.php?cPath=34&osCsid=33219b7db62016a88aab4b244b90d570 17. http://indoshop27.com/index.php?cPath=28&osCsid=33219b7db62016a88aab4b244b90d570 18. http://indoshop27.com/index.php?cPath=29&osCsid=33219b7db62016a88aab4b244b90d570 19. http://indoshop27.com/index.php?cPath=30&osCsid=33219b7db62016a88aab4b244b90d570 20. http://indoshop27.com/index.php?cPath=25&osCsid=33219b7db62016a88aab4b244b90d570 21. http://indoshop27.com/index.php?cPath=22&osCsid=33219b7db62016a88aab4b244b90d570 22. http://indoshop27.com/index.php?cPath=24&osCsid=33219b7db62016a88aab4b244b90d570 23. http://indoshop27.com/index.php?cPath=33&osCsid=33219b7db62016a88aab4b244b90d570 24. http://indoshop27.com/products_new.php?osCsid=33219b7db62016a88aab4b244b90d570 25. http://indoshop27.com/product_info.php?products_id=213&osCsid=33219b7db62016a88aab4b244b90d570 26. http://indoshop27.com/product_info.php?products_id=213&osCsid=33219b7db62016a88aab4b244b90d570 27. http://indoshop27.com/advanced_search.php?osCsid=33219b7db62016a88aab4b244b90d570 28. http://indoshop27.com/shipping.php?osCsid=33219b7db62016a88aab4b244b90d570 29. http://indoshop27.com/privacy.php?osCsid=33219b7db62016a88aab4b244b90d570 30. http://indoshop27.com/conditions.php?osCsid=33219b7db62016a88aab4b244b90d570 31. http://indoshop27.com/contact_us.php?osCsid=33219b7db62016a88aab4b244b90d570 32. http://indoshop27.com/login.php?osCsid=33219b7db62016a88aab4b244b90d570 33. http://indoshop27.com/create_account.php?osCsid=33219b7db62016a88aab4b244b90d570 34. http://indoshop27.com/product_info.php?products_id=216&osCsid=33219b7db62016a88aab4b244b90d570 35. http://indoshop27.com/product_info.php?products_id=216&osCsid=33219b7db62016a88aab4b244b90d570 36. http://indoshop27.com/product_info.php?products_id=215&osCsid=33219b7db62016a88aab4b244b90d570 37. http://indoshop27.com/product_info.php?products_id=215&osCsid=33219b7db62016a88aab4b244b90d570 38. http://indoshop27.com/product_info.php?products_id=214&osCsid=33219b7db62016a88aab4b244b90d570 39. http://indoshop27.com/product_info.php?products_id=214&osCsid=33219b7db62016a88aab4b244b90d570 40. http://indoshop27.com/product_info.php?products_id=213&osCsid=33219b7db62016a88aab4b244b90d570 41. http://indoshop27.com/product_info.php?products_id=213&osCsid=33219b7db62016a88aab4b244b90d570 42. http://indoshop27.com/product_info.php?products_id=212&osCsid=33219b7db62016a88aab4b244b90d570 43. http://indoshop27.com/product_info.php?products_id=212&osCsid=33219b7db62016a88aab4b244b90d570 44. http://indoshop27.com/product_info.php?products_id=211&osCsid=33219b7db62016a88aab4b244b90d570 45. http://indoshop27.com/product_info.php?products_id=211&osCsid=33219b7db62016a88aab4b244b90d570 46. http://indoshop27.com/product_info.php?products_id=210&osCsid=33219b7db62016a88aab4b244b90d570 47. http://indoshop27.com/product_info.php?products_id=210&osCsid=33219b7db62016a88aab4b244b90d570 48. http://indoshop27.com/product_info.php?products_id=209&osCsid=33219b7db62016a88aab4b244b90d570 49. http://indoshop27.com/product_info.php?products_id=209&osCsid=33219b7db62016a88aab4b244b90d570 50. http://indoshop27.com/product_info.php?products_id=208&osCsid=33219b7db62016a88aab4b244b90d570 51. http://indoshop27.com/product_info.php?products_id=208&osCsid=33219b7db62016a88aab4b244b90d570 52. http://indoshop27.com/shopping_cart.php?osCsid=33219b7db62016a88aab4b244b90d570 53. http://indoshop27.com/product_info.php?products_id=62&osCsid=33219b7db62016a88aab4b244b90d570 54. http://indoshop27.com/product_info.php?products_id=102&osCsid=33219b7db62016a88aab4b244b90d570 55. http://indoshop27.com/product_info.php?products_id=100&osCsid=33219b7db62016a88aab4b244b90d570 56. http://indoshop27.com/product_info.php?products_id=101&osCsid=33219b7db62016a88aab4b244b90d570 57. http://indoshop27.com/product_info.php?products_id=99&osCsid=33219b7db62016a88aab4b244b90d570 58. http://indoshop27.com/product_info.php?products_id=98&osCsid=33219b7db62016a88aab4b244b90d570 59. http://indoshop27.com/product_info.php?products_id=97&osCsid=33219b7db62016a88aab4b244b90d570 60. http://indoshop27.com/product_info.php?products_id=211&osCsid=33219b7db62016a88aab4b244b90d570 61. http://indoshop27.com/product_info.php?products_id=73&osCsid=33219b7db62016a88aab4b244b90d570 62. http://indoshop27.com/product_info.php?products_id=74&osCsid=33219b7db62016a88aab4b244b90d570 63. http://indoshop27.com/reviews.php?osCsid=33219b7db62016a88aab4b244b90d570 64. http://indoshop27.com/product_reviews_info.php?products_id=163&reviews_id=6&osCsid=33219b7db62016a88aab4b244b90d570 65. http://indoshop27.com/product_reviews_info.php?products_id=163&reviews_id=6&osCsid=33219b7db62016a88aab4b244b90d570 66. http://indoshop27.com/index.php?language=en&osCsid=33219b7db62016a88aab4b244b90d570 67. http://indoshop27.com/index.php?osCsid=33219b7db62016a88aab4b244b90d570 68. http://links.verotel.com/cgi-bin/make_link.verotel?verotel_id=9804000000959176 From cswiger at mac.com Fri Jan 9 00:39:55 2009 From: cswiger at mac.com (Chuck Swiger) Date: Fri Jan 9 00:45:19 2009 Subject: issue with extra top level domain appened to mail In-Reply-To: <46562C5EECFA8C47AADDF029EE11D73D0804F923@dnzwgex1.datacom.co.nz> References: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> <46562C5EECFA8C47AADDF029EE11D73D0804F923@dnzwgex1.datacom.co.nz> Message-ID: <16BD78F6-FF90-4D44-BECE-DD0F8FAB965F@mac.com> On Jan 8, 2009, at 1:48 PM, Matthew Davidson [DATACOM] wrote: [ ... ] > ============ SYSTEM IDENTITY (after readcf) ============ > (short domain name) $w = MATDAV > (canonical domain name) $j = MATDAV.datacom.net.nz > (subdomain name) $m = datacom.net.nz > (node name) $k = MATDAV.datacom.net.nz > ======================================================== Agreed-- that looks fine. Do you have unusual options like FEATURE(always_add_domain ...) set up? -- -Chuck From rsmith at xs4all.nl Fri Jan 9 00:49:20 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Jan 9 00:49:28 2009 Subject: Restore deleted files In-Reply-To: <20090109002846.c67d962f.freebsd@edvax.de> References: <20090109002846.c67d962f.freebsd@edvax.de> Message-ID: <20090109004914.GC2177@slackbox.xs4all.nl> On Fri, Jan 09, 2009 at 12:28:46AM +0100, Polytropon wrote: > Hi, > > I'd like to ask a two-stage question: > > 1. Is it possible to recover files that have been deleted? Sure. You just restore them from backups. (Sorry, couldn't resist. :-) If you don't have backups it might be possible, if the data has not been overwritten. > 2. Which tools or procedures are suggested for recovery? Try sysutils/sleuthkit [http://www.sleuthkit.org/]. > Just after I noticed what I had done I unmounted the file system, > powered off the machine and put the disk on the shelf (it's still > there), no further write accesses. You did the right thing here. Your information is probably still there. It should probably be possible to restore the files, but it could take a lot of effort. Use dd to make an image of the harddisk, and work on that. 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: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090109/10f2fee7/attachment.pgp From MatthewDa at datacom.co.nz Fri Jan 9 00:56:39 2009 From: MatthewDa at datacom.co.nz (Matthew Davidson [DATACOM]) Date: Fri Jan 9 00:56:47 2009 Subject: issue with extra top level domain appened to mail In-Reply-To: <16BD78F6-FF90-4D44-BECE-DD0F8FAB965F@mac.com> References: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> <46562C5EECFA8C47AADDF029EE11D73D0804F923@dnzwgex1.datacom.co.nz> <16BD78F6-FF90-4D44-BECE-DD0F8FAB965F@mac.com> Message-ID: <46562C5EECFA8C47AADDF029EE11D73D0804F926@dnzwgex1.datacom.co.nz> >Do you have unusual options like FEATURE(always_add_domain ...) set up? I haven't made any changes to the sendmail configuration. It's straight out of the CD vanila 6.3 "Standard" install. I'm completetly stumped. If I build with 6.1, I don't have any issue. If I build with 6.4, same problem. I might try rebuilding as 'matdav.datacom.com'. Perhaps it's some bug specific to the '.nz' TLD, but that seems unlikely. Matt From gpeel at thenetnow.com Fri Jan 9 01:17:31 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Jan 9 01:17:39 2009 Subject: FreeBSD Boot Manager Message-ID: Hi all, I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. In that machine, there is one SATA drive. On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. During the install, I opted to use the Free BSD boot manage. The install went flawlessly. The problem is, when I boot up I get: F1 ?? F2 FreeBSD F5 Disk1 F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. F5 is a spare SCSI disk connected to an Initio controller. F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. Like this: F1 ?? F2 FreeBSD F5 Disk1 _ Any idea what I might need to do to make windows work again? It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. All suggestions welcome, -Grant From kurt.buff at gmail.com Fri Jan 9 01:23:03 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri Jan 9 01:23:12 2009 Subject: FreeBSD Boot Manager In-Reply-To: References: Message-ID: On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel wrote: > Hi all, > > I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on my Windows XP SP3 box. > > In that machine, there is one SATA drive. > > On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. > > During the install, I opted to use the Free BSD boot manage. The install went flawlessly. > > The problem is, when I boot up I get: > > F1 ?? > F2 FreeBSD > F5 Disk1 > > F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly. > F5 is a spare SCSI disk connected to an Initio controller. > > F1 is the probelem. Windose no longer boots. When I select F2, I simply get the cursor on a new line, and nothing happens. > > Like this: > > F1 ?? > F2 FreeBSD > F5 Disk1 > _ > > Any idea what I might need to do to make windows work again? > > It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. > > All suggestions welcome, > > -Grant www.bootdisk.com Find a bootable floppy image there that includes a DOS fdisk, and write it out to a floppy disk. Boot your machine with that floppy, and at the DOS prompt, type 'fdisk /mbr' - it will write a standard boot sector, and Windows should boot again. Of course, this will not allow you to boot to your new FreeBSD installation, but with other folks' help, you can probably overcome that - probably with GRUB, or another boot manager. Kurt From dannyman at toldme.com Fri Jan 9 01:27:14 2009 From: dannyman at toldme.com (Daniel Howard) Date: Fri Jan 9 01:27:21 2009 Subject: Sysinstall In-Reply-To: References: <20090108155455.GA97139@gizmo.acns.msu.edu> Message-ID: <2a5241e00901081659n5d35a058oe1c96d72da9de9c2@mail.gmail.com> On Thu, Jan 8, 2009 at 2:55 PM, Freminlins wrote: > 2009/1/8 Jerry McAllister > > > > Beyond that, it is just the pretty pictures > > that are missing. > > sysinstall also works over serial console. No use for pretty pictures > there... Oh My God! If ever you weren't a fan of sysinstall, try YaST over a serial console. http://dannyman.toldme.com/2006/09/06/serial-console-woes/ I still have nightmares. -danny -- http://dannyman.toldme.com From dikshie at gmail.com Fri Jan 9 01:32:03 2009 From: dikshie at gmail.com (dikshie) Date: Fri Jan 9 01:32:14 2009 Subject: tstat Message-ID: <910e60e80901081702o222e6e7k9f8681ba2852214@mail.gmail.com> hi anyone successfully build tstat-2.0 on freebsd-7.1? http://tstat.tlc.polito.it/software.php mine failed: ---------------------------------------------------- In file included from ../tstat/naivebayes.c:22: /usr/include/math.h:91:1: warning: this is the location of the previous definition ../tstat/naivebayes.c: In function 'bayes_sample': ../tstat/naivebayes.c:1025: warning: implicit declaration of function '__finitef' ../tstat/naivebayes.c:1025: warning: implicit declaration of function '__finite' ../tstat/naivebayes.c:1025: warning: implicit declaration of function '__finitel' mv -f .deps/naivebayes.Tpo .deps/naivebayes.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT msn.o -MD -MP -MF .deps/msn.Tpo -c -o msn.o `test -f '../tstat/msn.c' || echo './'`../tstat/ms n.c mv -f .deps/msn.Tpo .deps/msn.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../tstat/misc.c' || echo './'`../tsta t/misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT jabber.o -MD -MP -MF .deps/jabber.Tpo -c -o jabber.o `test -f '../tstat/jabber.c' || echo './' `../tstat/jabber.c mv -f .deps/jabber.Tpo .deps/jabber.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT ymsg.o -MD -MP -MF .deps/ymsg.Tpo -c -o ymsg.o `test -f '../tstat/ymsg.c' || echo './'`../tsta t/ymsg.c mv -f .deps/ymsg.Tpo .deps/ymsg.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT ipp2p_tstat.o -MD -MP -MF .deps/ipp2p_tstat.Tpo -c -o ipp2p_tstat.o `test -f '../tstat/ipp2p_t stat.c' || echo './'`../tstat/ipp2p_tstat.c mv -f .deps/ipp2p_tstat.Tpo .deps/ipp2p_tstat.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT p2p.o -MD -MP -MF .deps/p2p.Tpo -c -o p2p.o `test -f '../tstat/p2p.c' || echo './'`../tstat/p2 p.c mv -f .deps/p2p.Tpo .deps/p2p.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT tcpL7.o -MD -MP -MF .deps/tcpL7.Tpo -c -o tcpL7.o `test -f '../tstat/tcpL7.c' || echo './'`../ tstat/tcpL7.c mv -f .deps/tcpL7.Tpo .deps/tcpL7.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o `test -f '../tstat/dump.c' || echo './'`../tsta t/dump.c mv -f .deps/dump.Tpo .deps/dump.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIF IER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NET M -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -MT inireader.o -MD -MP -MF .deps/inireader.Tpo -c -o inireader.o `test -f '../tstat/inireader.c' || echo './'`../tstat/inireader.c mv -f .deps/inireader.Tpo .deps/inireader.Po /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DBUILT_USER="\"`whoami`\"" -DBUILT_HOST="\"`hostname`\"" -DBUILT_DATE="\"`date`\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIFIER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP="\"gunzip\"" -DZ7Z="\"Z7z\"" -DGROK_SNOOP -DGROK_TCPD UMP -DGROK_NETM -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -o tstat compress.o etherpeek.o mfiles.o names.o netm.o output.o print.o rexmit .o snoop.o nlanr.o tcpdump.o addresses.o ipv6.o tcp.o udp.o rtp.o plugin.o ns.o erf.o erf_live.o netscout.o version.o histo.o freelists.o rrd.o dag.o DPMI.o tstat.o skype.o naivebayes.o msn. o misc.o jabber.o ymsg.o ipp2p_tstat.o p2p.o tcpL7.o dump.o inireader.o -lpcap -lpthread -lm -lpcap -lpthread -lm mkdir .libs gcc -Wall -DBUILT_USER=\"dikshie\" -DBUILT_HOST=\"totoro.sfc.wide.ad.jp\" "-DBUILT_DATE=\"Fri Jan 9 10:01:16 JST 2009\"" -DMSN_CLASSIFIER -DYMSG_CLASSIFIER -DXMPP_CLASSIFIER -DRTSP_CLASSIFI ER -DRTP_CLASSIFIER -DP2P_CLASSIFIER -DSKYPE_CLASSIFIER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLOG_ALL_UDP -DGUNZIP=\"gunzip\" -DZ7Z=\"Z7z\" -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NETM -DG ROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ERF -DGROK_LIVE_TCPDUMP -g -ggdb -g -O2 -o tstat compress.o etherpeek.o mfiles.o names.o netm.o output.o print.o rexmit.o snoop.o nlanr.o tcpdu mp.o addresses.o ipv6.o tcp.o udp.o rtp.o plugin.o ns.o erf.o erf_live.o netscout.o version.o histo.o freelists.o rrd.o dag.o DPMI.o tstat.o skype.o naivebayes.o msn.o misc.o jabber.o ymsg.o ipp2p_tstat.o p2p.o tcpL7.o dump.o inireader.o -lpcap -lpthread -lm naivebayes.o(.text+0x56f): In function `bayes_sample': ../tstat/naivebayes.c:1025: undefined reference to `__finite' naivebayes.o(.text+0x597):../tstat/naivebayes.c:1026: undefined reference to `__finite' gmake[2]: *** [tstat] Error 1 gmake[2]: Leaving directory `/usr/home/dikshie/Desktop/CAIA/tstat-2.0/tstat' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/dikshie/Desktop/CAIA/tstat-2.0' gmake: *** [all] Error 2 ------------------------------------------------------------------------ -- -dikshie- From steve at ibctech.ca Fri Jan 9 01:33:34 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 9 01:33:41 2009 Subject: FreeBSD Boot Manager In-Reply-To: References: Message-ID: <4966A975.5050202@ibctech.ca> Kurt Buff wrote: > On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel wrote: >> On that drive, there was about 100 GB of free space, so I decided to try putting FreeBSD 6.4 on it. >> >> During the install, I opted to use the Free BSD boot manage. The install went flawlessly. >> Any idea what I might need to do to make windows work again? >> >> It may be worth mentioning, I had Norton GoBack running on the disk before I installed FreeBSD, although I am not aware if it does anything to the booting system. > www.bootdisk.com > > Find a bootable floppy image there that includes a DOS fdisk, and > write it out to a floppy disk. > > Boot your machine with that floppy, and at the DOS prompt, type 'fdisk > /mbr' - it will write a standard boot sector, and Windows should boot > again. > > Of course, this will not allow you to boot to your new FreeBSD > installation, but with other folks' help, you can probably overcome > that - probably with GRUB, or another boot manager. Technically (theoretically) speaking, using a Win32 boot disk to fdisk /mbr, he should be able to re-initialize the FBSD boot loader by going through the steps he did initially. AFAIR, Symantec GoBack, along with many other 'in-disk' restoration programs, overwrite the boot sector with its own code. If the OP can boot back into Windows with the fdisk /mbr, he has likely done both: - broke his GoBack program's ability to recover, and; - made it possible to restore the FBSD boot manager If Windows boots after following Kurt's recommendation of restoring the Windows MBR, back up your Windows system, then try FreeBSD again. You sound courageous, give 'er! Steve From steve at ibctech.ca Fri Jan 9 01:59:51 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 9 01:59:58 2009 Subject: issue with extra top level domain appened to mail In-Reply-To: <46562C5EECFA8C47AADDF029EE11D73D0804F926@dnzwgex1.datacom.co.nz> References: <46562C5EECFA8C47AADDF029EE11D73D0804F921@dnzwgex1.datacom.co.nz> <897A0E62-7897-4360-87ED-53A45ACD83AC@mac.com> <46562C5EECFA8C47AADDF029EE11D73D0804F923@dnzwgex1.datacom.co.nz> <16BD78F6-FF90-4D44-BECE-DD0F8FAB965F@mac.com> <46562C5EECFA8C47AADDF029EE11D73D0804F926@dnzwgex1.datacom.co.nz> Message-ID: <4966AF9E.8030703@ibctech.ca> Matthew Davidson [DATACOM] wrote: >> Do you have unusual options like FEATURE(always_add_domain ...) set up? > > > I haven't made any changes to the sendmail configuration. It's straight > out of the CD vanila 6.3 "Standard" install. I'm completetly stumped. > If I build with 6.1, I don't have any issue. If I build with 6.4, > same problem. > > I might try rebuilding as 'matdav.datacom.com'. Perhaps it's some bug > specific to the '.nz' TLD, but that seems unlikely. Show output for: # ifconfig # dig @localhost matdav.datacom.net Then, get the nameserver IP address out of /etc/resolv.conf, and assuming that $IP is equal to the IP address of the nameserver,: # dig @$IP matdav.datacom.net This problem resembles an issue with a missing '.' trailer somewhere within a naming application... Steve From glavoie at gmail.com Fri Jan 9 02:17:17 2009 From: glavoie at gmail.com (Gabriel Lavoie) Date: Fri Jan 9 02:17:24 2009 Subject: Updating from 7.0 to 7.1 In-Reply-To: <20090108225630.GE56928@vagrant.hsd1.in.comcast.net> References: <20090108225630.GE56928@vagrant.hsd1.in.comcast.net> Message-ID: For me it was worth the effort as 7.1 has the driver for the network interface found on my motherboard (Atheros L1E) and has an updated est (SpeedStep) driver that support my CPU (45nm Pentium Dual Core E5200). The update using freebsd-update was quick and went smoothly. Also, the new scheduler is now enabled but I can't tell yet if it performs better on an SMP system. Gabriel 2009/1/8 David Karapetyan : > Hello, I was wondering if it was worth the time or effort to update from > fbsd 7.0 to 7.1. From what I see, the only major change is the inclusion > of dtrace. I am leaning towards not switching, but it seems a lot of > people are. > > On Thu, Jan 08, 2009 at 05:50:24PM -0500, Gabriel Lavoie wrote: >> It depends. This update was related to the flaw found in OpenSSL >> recently. Since this update didn't touch the kernel, it's normal that >> your're still on the 7.1-RELEASE kernel. The kernel version changes >> only when an update touches it directly. >> >> Gabriel >> >> 2009/1/8 Ivailo Bonev : >> > I've tried to install latest security patches with >> > # freebsd-update fetch >> > # freebsd-update install >> > # reboot >> > but after reboot >> > # uname -r tells me that I have >> > 7.1-RELEASE >> > If I understand corectly from handbook, it should tells me -p1? >> > Is there somthing that I am missing? >> > ... and sorry for my bad English :) >> > >> > _______________________________________________ >> > 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" >> > >> >> >> >> -- >> Gabriel Lavoie >> glavoie@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" > > -- > -- > Best, > David Karapetyan > http://davidkarapetyan.homeunix.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 > > _______________________________________________ > 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" > -- Gabriel Lavoie glavoie@gmail.com From gpeel at thenetnow.com Fri Jan 9 02:33:37 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Jan 9 02:33:44 2009 Subject: FreeBSD Boot Manager In-Reply-To: References: Message-ID: Can I use a windows install cd's "R" option to do the fdisk /mbr ? -Grant ----- Original Message ----- From: "Kurt Buff" To: "Grant Peel" Cc: Sent: Thursday, January 08, 2009 8:23 PM Subject: Re: FreeBSD Boot Manager > On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel wrote: >> Hi all, >> >> I was bored earlier tonight and I decided to tinker a bit with FreeBSD >> 6.4 on my Windows XP SP3 box. >> >> In that machine, there is one SATA drive. >> >> On that drive, there was about 100 GB of free space, so I decided to try >> putting FreeBSD 6.4 on it. >> >> During the install, I opted to use the Free BSD boot manage. The install >> went flawlessly. >> >> The problem is, when I boot up I get: >> >> F1 ?? >> F2 FreeBSD >> F5 Disk1 >> >> F2, is obviously, the new installation of FreeBSD 6.4, which boots >> perfectly. >> F5 is a spare SCSI disk connected to an Initio controller. >> >> F1 is the probelem. Windose no longer boots. When I select F2, I simply >> get the cursor on a new line, and nothing happens. >> >> Like this: >> >> F1 ?? >> F2 FreeBSD >> F5 Disk1 >> _ >> >> Any idea what I might need to do to make windows work again? >> >> It may be worth mentioning, I had Norton GoBack running on the disk >> before I installed FreeBSD, although I am not aware if it does anything >> to the booting system. >> >> All suggestions welcome, >> >> -Grant > > www.bootdisk.com > > Find a bootable floppy image there that includes a DOS fdisk, and > write it out to a floppy disk. > > Boot your machine with that floppy, and at the DOS prompt, type 'fdisk > /mbr' - it will write a standard boot sector, and Windows should boot > again. > > Of course, this will not allow you to boot to your new FreeBSD > installation, but with other folks' help, you can probably overcome > that - probably with GRUB, or another boot manager. > > Kurt > _______________________________________________ > 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 gpeel at thenetnow.com Fri Jan 9 02:37:55 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Fri Jan 9 02:38:02 2009 Subject: FreeBSD Boot Manager In-Reply-To: <4966A975.5050202@ibctech.ca> References: <4966A975.5050202@ibctech.ca> Message-ID: So then, IF we are able to restore the Windows MBR, and boot into windows, should we not be able to boot the machine with a bootable FreeBSD disk, then, use Sysinstall to restore the FreeBSD boot manager? -Grant ----- Original Message ----- From: "Steve Bertrand" To: "Kurt Buff" Cc: "Grant Peel" ; Sent: Thursday, January 08, 2009 8:33 PM Subject: Re: FreeBSD Boot Manager > Kurt Buff wrote: >> On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel wrote: > >>> On that drive, there was about 100 GB of free space, so I decided to try >>> putting FreeBSD 6.4 on it. >>> >>> During the install, I opted to use the Free BSD boot manage. The install >>> went flawlessly. > >>> Any idea what I might need to do to make windows work again? >>> >>> It may be worth mentioning, I had Norton GoBack running on the disk >>> before I installed FreeBSD, although I am not aware if it does anything >>> to the booting system. > >> www.bootdisk.com >> >> Find a bootable floppy image there that includes a DOS fdisk, and >> write it out to a floppy disk. >> >> Boot your machine with that floppy, and at the DOS prompt, type 'fdisk >> /mbr' - it will write a standard boot sector, and Windows should boot >> again. >> >> Of course, this will not allow you to boot to your new FreeBSD >> installation, but with other folks' help, you can probably overcome >> that - probably with GRUB, or another boot manager. > > Technically (theoretically) speaking, using a Win32 boot disk to fdisk > /mbr, he should be able to re-initialize the FBSD boot loader by going > through the steps he did initially. > > AFAIR, Symantec GoBack, along with many other 'in-disk' restoration > programs, overwrite the boot sector with its own code. > > If the OP can boot back into Windows with the fdisk /mbr, he has likely > done both: > > - broke his GoBack program's ability to recover, and; > - made it possible to restore the FBSD boot manager > > If Windows boots after following Kurt's recommendation of restoring the > Windows MBR, back up your Windows system, then try FreeBSD again. > > You sound courageous, give 'er! > > > Steve > From steve at ibctech.ca Fri Jan 9 02:39:29 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 9 02:39:35 2009 Subject: FreeBSD Boot Manager In-Reply-To: References: <4966A975.5050202@ibctech.ca> Message-ID: <4966B8E8.7070001@ibctech.ca> Grant Peel wrote: > So then, > > IF we are able to restore the Windows MBR, and boot into windows, should > we not be able to boot the machine with a bootable FreeBSD disk, then, > use Sysinstall to restore the FreeBSD boot manager? Yes, that is exactly what I was getting at. Steve From steve at ibctech.ca Fri Jan 9 02:44:35 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 9 02:44:42 2009 Subject: FreeBSD Boot Manager In-Reply-To: References: Message-ID: <4966BA1A.3010301@ibctech.ca> Grant Peel wrote: > Can I use a windows install cd's "R" option to do the fdisk /mbr ? I don't know. It's been $years since I've had to use a Windows install CD for such a thing. If it's win32, my experience would have me recommend just booting from a floppy of a win boot disk to restore the MBR. It's just quick that way. If my memory serves right, even a win98 boot disk should work. Why load up all of the unneeded Windows device drivers and other stuff, if you can just 'fix' it? IIRC, just to get to the `Recovery Console' (if you please) takes many, many minutes. Steve From rwmaillists at googlemail.com Fri Jan 9 03:48:06 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Jan 9 03:48:13 2009 Subject: Sun sucks In-Reply-To: <036001c971dd$e025e220$a071a660$@com> References: <036001c971dd$e025e220$a071a660$@com> Message-ID: <20090109034737.5039be14@gumby.homeunix.com> On Thu, 8 Jan 2009 17:10:10 -0500 "Ansar Mohammed" wrote: > After registering Sun complains that they don't like my ID and I need > to provide more information. I create another account. Same problem. > After 3 months I finally get an email saying they want clarification > on the acronym for my company. Well there's your problem. You gave them too much information in the first place. I usually just make-up a name as a matter of principle. Just create a new account for some made-up name, don't specify any company, download your file, and then (if you really care) go through the hoops afterwards. From ansarm at gmail.com Fri Jan 9 03:59:46 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Fri Jan 9 04:00:17 2009 Subject: Sun sucks In-Reply-To: <20090109034737.5039be14@gumby.homeunix.com> References: <036001c971dd$e025e220$a071a660$@com> <20090109034737.5039be14@gumby.homeunix.com> Message-ID: <044d01c9720e$b3f7f450$1be7dcf0$@com> Been there, did that same result :) -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of RW Sent: Thursday, January 08, 2009 10:48 PM To: freebsd-questions@freebsd.org Subject: Re: Sun sucks On Thu, 8 Jan 2009 17:10:10 -0500 "Ansar Mohammed" wrote: > After registering Sun complains that they don't like my ID and I need > to provide more information. I create another account. Same problem. > After 3 months I finally get an email saying they want clarification > on the acronym for my company. Well there's your problem. You gave them too much information in the first place. I usually just make-up a name as a matter of principle. Just create a new account for some made-up name, don't specify any company, download your file, and then (if you really care) go through the hoops afterwards. _______________________________________________ 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 jon at radel.com Fri Jan 9 04:07:49 2009 From: jon at radel.com (Jon Radel) Date: Fri Jan 9 04:08:02 2009 Subject: Sun sucks In-Reply-To: <044d01c9720e$b3f7f450$1be7dcf0$@com> References: <036001c971dd$e025e220$a071a660$@com> <20090109034737.5039be14@gumby.homeunix.com> <044d01c9720e$b3f7f450$1be7dcf0$@com> Message-ID: <4966CD85.4090400@radel.com> Ansar Mohammed wrote: > Been there, did that same result :) And in what country is the IP address you were coming from? It can make a huge difference when dealing with a company which has to comply with export regulations for some of their products. --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090109/185d3c0f/smime.bin From steve at ibctech.ca Fri Jan 9 04:16:18 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jan 9 04:16:26 2009 Subject: Sun sucks In-Reply-To: <20090109034737.5039be14@gumby.homeunix.com> References: <036001c971dd$e025e220$a071a660$@com> <20090109034737.5039be14@gumby.homeunix.com> Message-ID: <4966CF99.4030400@ibctech.ca> RW wrote: > On Thu, 8 Jan 2009 17:10:10 -0500 > "Ansar Mohammed" wrote: > > >> After registering Sun complains that they don't like my ID and I need >> to provide more information. I create another account. Same problem. >> After 3 months I finally get an email saying they want clarification >> on the acronym for my company. > > > Well there's your problem. You gave them too much information in the > first place. I usually just make-up a name as a matter of principle. > > Just create a new account for some made-up name, don't specify any > company, download your file, and then (if you really care) go through > the hoops afterwards. Improper subject, wrong attitude. If one wishes to use a license from another product that is outside of the BSD license scope, then follow it properly. FreeBSD ( && personnel) does a magnificent job of keeping outside-licensed code and objects separate from itself, and I'd rather jump through burning hoops of flame to 'add on' to the system to mend it to my needs, as opposed to having the system, and possibly its users, face legal ramifications later... If you need outside software that requires reading any sort of an 'Agreement', then follow the 'Agreement' until you get rights to use the software. FreeBSD isn't about 'easy'. It's about 'right'. Installation methods print out information about external licenses for a reason. Ask those external places how to get around their sign-ups...don't ask here. For that matter, don't answer such questions here, either. Steve From zhangweiwu at realss.com Fri Jan 9 04:52:48 2009 From: zhangweiwu at realss.com (Zhang Weiwu) Date: Fri Jan 9 04:52:56 2009 Subject: newbie: does irq setting in device.hints work? Message-ID: <4966D81B.8050107@realss.com> Hello. I come across device.hints manual which says I can set irq for each device there. I am using 6.1. The settings I made in devices.hints never worked. e.g. hint.uhci.0.at="pci" hint.uhci.0.irq="12" I can set whatever value for irq and it always rebooted as irq 11. However 'disabled="1"' works. That's strange, I didn't find manual where it say it work in some condition or for some device only. Is there a way to assign uhci to use an irq differently? seems it is the cause of an interrupt storm problem I am having. From pstreem at gmail.com Fri Jan 9 06:53:46 2009 From: pstreem at gmail.com (PstreeM China) Date: Fri Jan 9 06:53:59 2009 Subject: how to use the MFS ? Message-ID: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> hi all: i want to know ,how to compile better speed during the installation of Ports , use the memery filesystem(MFS) .. during make world , mount the md0 to /usr/obj , but what can i do for the port ? thanks !! PstreeM at 2009-01-09 From ansarm at gmail.com Fri Jan 9 06:53:51 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Fri Jan 9 06:54:00 2009 Subject: Sun sucks In-Reply-To: <4966CD85.4090400@radel.com> References: <036001c971dd$e025e220$a071a660$@com> <20090109034737.5039be14@gumby.homeunix.com> <044d01c9720e$b3f7f450$1be7dcf0$@com> <4966CD85.4090400@radel.com> Message-ID: <048a01c97227$05819840$1084c8c0$@com> Canada. Is there an embargo ? -----Original Message----- From: Jon Radel [mailto:jon@radel.com] Sent: Thursday, January 08, 2009 11:08 PM To: Ansar Mohammed Cc: freebsd-questions@freebsd.org Subject: Re: Sun sucks Ansar Mohammed wrote: > Been there, did that same result :) And in what country is the IP address you were coming from? It can make a huge difference when dealing with a company which has to comply with export regulations for some of their products. --Jon Radel jon@radel.com From ansarm at gmail.com Fri Jan 9 06:58:35 2009 From: ansarm at gmail.com (Ansar Mohammed) Date: Fri Jan 9 06:58:41 2009 Subject: Sun sucks In-Reply-To: <4966CF99.4030400@ibctech.ca> References: <036001c971dd$e025e220$a071a660$@com> <20090109034737.5039be14@gumby.homeunix.com> <4966CF99.4030400@ibctech.ca> Message-ID: <048b01c97227$ae2d86c0$0a889440$@com> Steve, we have ports for a reason. So that it's EASY to compile and deploy apps on FreeBSD. If we need to fireup a web browser register on a website wait three months for approval then go to 3 separate sites to MANUALLY download the software and transfer it to FreeBSD, what's the bloody point? Abiding by the software license I agree with, clearly there is no room there. But why is this process so utterly retarded for something as critical and common as Java? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Steve Bertrand Sent: Thursday, January 08, 2009 11:16 PM To: RW Cc: freebsd-questions@freebsd.org Subject: Re: Sun sucks RW wrote: > On Thu, 8 Jan 2009 17:10:10 -0500 > "Ansar Mohammed" wrote: > > >> After registering Sun complains that they don't like my ID and I need >> to provide more information. I create another account. Same problem. >> After 3 months I finally get an email saying they want clarification >> on the acronym for my company. > > > Well there's your problem. You gave them too much information in the > first place. I usually just make-up a name as a matter of principle. > > Just create a new account for some made-up name, don't specify any > company, download your file, and then (if you really care) go through > the hoops afterwards. Improper subject, wrong attitude. If one wishes to use a license from another product that is outside of the BSD license scope, then follow it properly. FreeBSD ( && personnel) does a magnificent job of keeping outside-licensed code and objects separate from itself, and I'd rather jump through burning hoops of flame to 'add on' to the system to mend it to my needs, as opposed to having the system, and possibly its users, face legal ramifications later... If you need outside software that requires reading any sort of an 'Agreement', then follow the 'Agreement' until you get rights to use the software. FreeBSD isn't about 'easy'. It's about 'right'. Installation methods print out information about external licenses for a reason. Ask those external places how to get around their sign-ups...don't ask here. For that matter, don't answer such questions here, either. 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" From kline at thought.org Fri Jan 9 07:03:43 2009 From: kline at thought.org (Gary Kline) Date: Fri Jan 9 07:03:49 2009 Subject: programs... Message-ID: <20090109070324.GA68165@thought.org> Guys, I've going to give away what I think could be at least a multi-thousand dollar idea, something we nearly have already. And a wish-list for a program that does not, AFAIK, exist. First, the wish-for:: given all the kinds of video and audio programs that are now on the web, how difficult would it be to have a GUI [interface] program pop up a screen with date of airing, and/or date of podcast? Not to exceed several hours worth of recorded podcasts... or live recording. I can only give examples of thing I watch, but this will give you some idea. And bear in mind that at least FreeBSD cannot capture some programs. Like "FRONTLINE" on PBS. But for the sake of argument, let's say that firefox or whatever browser or kmplayer or another player did have the proper codecs. This GUI app would find, fetch, and store in /usr/local/tmp FRONTLINE, NOVA, "In Our Time" and "Everyday Ethics" [BBC], and "Marketplace", Weekend, 10jan09. When these programs were safely in /usr/local/tmp/Pods, the program would send mail or otherwise inform the user. How doable is this...? and, yes, i know that many of these audio files can be subscribed to as podcasts. I have several on my Google page. gary PS: oTher, larger idea next, separate post. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org First update of http://transfinite.thought.org/ab/ in seven months. From dnelson at allantgroup.com Fri Jan 9 07:08:01 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Jan 9 07:08:08 2009 Subject: how to use the MFS ? In-Reply-To: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> Message-ID: <20090109070755.GC52729@dan.emsphone.com> In the last episode (Jan 09), PstreeM China said: > hi all: > > i want to know ,how to compile better speed during the installation > of Ports , use the memery filesystem(MFS) .. > > during make world , mount the md0 to /usr/obj , but what can i do for > the port ? Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and all the .../work/ directories will get created there. -- Dan Nelson dnelson@allantgroup.com From gpagnoni at gmail.com Fri Jan 9 07:58:24 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Fri Jan 9 07:58:31 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <92056ebc0901080911g5a144fc3o9f957ad92bb11aa@mail.gmail.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963EE76.1050808@datapipe.com> <92056ebc0901062317n2022daf2s8990dc78255f87e4@mail.gmail.com> <200901081344.23105.pieter@degoeje.nl> <92056ebc0901080911g5a144fc3o9f957ad92bb11aa@mail.gmail.com> Message-ID: <92056ebc0901082358g46579ecdp9ec6b63bc4acdb77@mail.gmail.com> ---------- Forwarded message ---------- From: Giuseppe Pagnoni Date: Thu, Jan 8, 2009 at 6:11 PM Subject: Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT To: Pieter de Goeje Dear Pieter, thanks for the information. Unfortunately, putting the line hw.physmem="3G" in /boot/loader.conf as you suggested does not prevent the system from crashing when starting X (even using "2G"), while taking physically out the 2G memory bank from the motherboard does. That's a pity because this being a dual boot system, I could have left the 4 GB of RAM in when using the other OS.... Is there any other option that you would be aware of? thanks again giuseppe On Thu, Jan 8, 2009 at 1:44 PM, Pieter de Goeje wrote: >> >>>> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs >> >>>> of memory OR PAE enabled kernels. Nvidia's forums have lots more >> >>>> information >> >>>> regarding this. >> >> >> >> I'm not sure of the internals exactly, but the amount of onboard memory >> >> plus the memory that comes with the card can't exceed 4G. (I could be >> >> wrong, but I think this is accurate). In this case, assuming you have a >> >> 512M card or similar then 3 Gigs of memory should work. I have seen >> >> reports of 2Gigs of memory working (i386) and am sure that works without >> >> problems. amd64 doesn't work at all, as you have already stated. >> >> >> >> If you have a requirement to use the nvidia based graphics driver, then >> >> you really don't have an alternative at this time, then to remove system >> >> memory from your main board. >> >> >> >> ~Paul > > Putting hw.physmem="3G" in /boot/loader.conf might also work. > > -- > Pieter de Goeje > > -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From shilp.kamal at yahoo.com Fri Jan 9 08:18:07 2009 From: shilp.kamal at yahoo.com (Kamlesh Patel) Date: Fri Jan 9 08:18:13 2009 Subject: kernel panic Message-ID: <468090.72533.qm@web45413.mail.sp1.yahoo.com> Hi there, I changed the following file of FreeBSD 7.0: sys/boot/forth/beastie.4th variable rebootkey variable mykey (added line) I built and installed kernel, then i reboot the system, it gives me the following error: --------------------------------------------------- " panic: free: guard1 fail @ 0x6e104 from /usr/src/sys/boot/i386/loader/../../common/module.c:959 --> Press a key on the console to reboot <-- " ---------------------------------------------------- How do i recover the system from this error. I can't reload the loader.old Could anyone please help me? Kamlesh MS CS, CSUS From f.bonnet at esiee.fr Fri Jan 9 08:23:18 2009 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Fri Jan 9 08:23:47 2009 Subject: 7.1 : watchdog bge0 timeout ? Message-ID: <49670974.2060202@esiee.fr> Hello I've installed 7.1 onto our mail exchager (MX) then it suddendly stopped to work last night with the following message watchdog bge0 timeout The machine is a HP pc which was doing the same service at 6.3 without that kind of trouble Any info welcome Thanks a lot. From alainfabry at belgacom.net Fri Jan 9 08:25:34 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Fri Jan 9 08:25:41 2009 Subject: 3945ABG wireless problems Message-ID: <20090109075548.GA8216@desmo.3rdrock.kicks-ass.net> Hi, I'm having problems with my 3945ABG Wireless card. I keep on getting "wpi0: Radio Transmitter is switched off" pushing 802.11 button on laptop -> Turning OFF ------------------------------- Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected Jan 9 07:59:08 desmo kernel: ugen0: detached pushing 802.11 button again -> Turning ON ----------------------------------------- Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product 0x171d bus uhub0 Jan 9 07:59:13 desmo kernel: ugen0: on uhub0 ifconfig wpi0 up ---------------- Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded firmware Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 Jan 9 07:58:51 desmo kernel: firmware status=0xffff0000, val=0x40400000, result=0x40400000 Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 alive 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off Jan 9 07:58:51 desmo kernel: state changed to 1 Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off I notice that I didn't have the license at /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz /boot/loader.conf includes the following ---------------------------------------- if_wpi_load="YES" wlan_load="YES" wlan_amrr_load="YES" firmware_load="YES" wpifw_load="YES" legal.intel_wpi.license_ack=1 What am I doing wrong here....?? Many thanks, Alain From info at bert-jan.com Fri Jan 9 08:45:28 2009 From: info at bert-jan.com (Bert-Jan) Date: Fri Jan 9 08:45:36 2009 Subject: Login accounts don't work after update to 7.1 In-Reply-To: <44k595qz3o.fsf@be-well.ilk.org> References: <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> <44k595qz3o.fsf@be-well.ilk.org> Message-ID: <9d5014697dd38400633bdcdd89c9e875.squirrel@admin.bert-jan.com> > "Bert-Jan" writes: > >> Hi Folks, >> >> I just updated one of my servers from 7.0-RC1 to 7.1-RELEASE. >> >> During the first freebsd-update install, before rebooting, I was >> surprised >> to find that it was going to change my /etc/passwd (deleting all my >> accounts, keeping only the built-in accounts) and /etc/pwd.db and >> /etc/spwd.db. I was quite suspicious so I made copies of them. > > freebsd-update should merge master.passwd, and re-generate all of those > files from there. What did you do with master.passwd? I didn't do anything with it. I didn't know about it (linux experience talking here, only been using freebsd for a year or so). Now that I'm looking at it all the accounts are there, so it was successfully merged indeed. > > Note that backup copies of master.passwd are kept in /var/backup. None > of the other files, because they're generated from there. > >> After rebooting the machine came back online perfectly. I checked >> /etc/passwd but there were no changes yet. Then, as the docs says, I ran >> freebsd-update install again and it took quite a while. *Then* my >> /etc/passwd was changed, so I replaced it with the spare copy I made. Of > > That spare copy doesn't help at all; /etc/passwd is only there as a > convenience to users, and isn't consulted by the system for anything. I noticed, but after logging out as root unfortunately. > >> course I had to test it now so I exitted from root back to my own >> account, >> and you guessed it: I can't su anymore: >> >> $ su - >> su: who are you? >> >> I started up a second session and found my own account doesn't work >> anymore either. So all I have now is an open session with my own >> account. >> I should probably also have copied the two db files back and of course I >> should have left my running root session open and started another one. >> Not >> a very bright moment.. > > Does the root account itself have a password? If you installed a > generic password file, it may be unprotected, and you could log in (but > not su, as that requires you first be logged in as a wheel user, of > which you may have none left) as root without a password if you have a > local terminal (a serial console, for example), and fix things from there. Yes, root has a password. The account I was still logged in with is a wheel user but trying a second session showed I couldn't login with that account anymore either. I really made a mess of it :) > >> Is there a way I can recover the server from this ? >> Of course I can put in a cd and change some passwords, but the server is >> in a datacenter and I don't really have the time to go there and fix it. >> I'm looking for a remote solution. > > I guess you don't have any out-of-band access to the machine, then. You > may be stuck with having to go to it physically, then. Yes, I have been there the day before yesterday, the same day I screwed it up. I logged in as root and didn't even get a password prompt. It was obviously reset to the default password database. I fixed the logins by copying the backups I made of /etc/pwd.db and /etc/spwd.db back. Everything returned to normal. It reminded me that freebsd-update had told me it wanted to change things in both those files, but since they're binary it didn't show me a diff. My error thus was that I logged out as root before restoring those. Very nasty, having to drive to the datacenter (about 100km from my home) just to copy two files. But now I know for sure this won't happen to me again :) I do find it strange though, that freebsd-update replaced those files, even though it tells you it's going to change them. What is the proper way to handle this ? Can I run a command after the update finishes that regenerates the account databases from the master.passwd ? I checked the history and *I* never touched it during the update, so it was merged like it should. > >> It's probably not much help but there's one jail running on it that's >> still working fine. I can login and su on that one, but I don't know if >> I >> can use it to repair the main system. > > I sure hope that won't help. That would defeat the point of jails, > wouldn't it? ;-) Yes indeed ;) Thanks for the explanations. I still have a lot to learn of freebsd, having been a Slackware Linux user for about 7 years, I've started my first freebsd server about a year ago. So far I like it very much. Keeping the whole system updated with freebsd-update and the whole ports system is just a breeze. Sometimes like this things get screwed up, but the same has happened to me several times with Linux, so no hard feelings :) > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > From info at selayangsprings.net Fri Jan 9 09:00:58 2009 From: info at selayangsprings.net (Selayang Springs) Date: Fri Jan 9 09:01:04 2009 Subject: Nature is Closer than You Think Message-ID: <200901090534.n095YaR0031386@p3nlh039.shr.prod.phx3.secureserver.net> Nature is Closer than You Think At: [pic.JPG] [MASA.jpg] Another successful project by: MASA Group of Companies Developed by: Barisan Tenaga Perancang (M) Sdn Bhd At this early stage of preparation of the whole marketing campaign, the developer is offering, only to the first 100 interested clients , the possibility of a personalized preview of our show room at Selayang Spring. Visit us at our show unit at Selayang hot spring water pools (air panas) in Jalan Ipoh (see the reverse side for a detailed location map). Show unit is going to be open every day including Sundays and Public Holidays 11 am until 11 pm. Let us surprise you with the absolutely special and unique offer that we have prepared for the first 100 clients. . Phase 1 `Block Damar` consists of a 22 floors residential building in the greenest area of Selayang near to the city but still away from the downtown havoc and crowd. The whole project covers an area of roughly 19 acres right on the side of one of the very few Malaysian Spring Hot Water sites which is mostly surrounded by a National Reserve Park under the control of F.R.I.M. [masasmall.jpg] MASA Group of Companies is going to enhance this area by developing a new and unique quality living concept that, added to the remarkable offer prepared for the first 100 clients, will really make your visit to our show unit a unique and enjoyable experience. Looking forward to welcome you at your future `Gate to the green` Selayang Springs Condominium...... ......the special place you will call HOME Exclusive Marketing Agent: [Exclusive.jpg] Properties Sdn. Bhd. (823167-A) Registered Real Estate Agent E(1) 1213 Financier: [Banks.jpg] For further information or pre-viewing appointment please call: Tel. 03-6131 1223 / 03-6131 1224 / 03-7803 6692 Mobile: 016-626 9222 Email: sales@reigroup.com.my Location Map: [map.jpg] [1]Click here to stop receiving email from us References 1. http://www.selayangsprings.net/deletedbpage.php From krad at snaffler.net Fri Jan 9 09:15:48 2009 From: krad at snaffler.net (chris.scott) Date: Fri Jan 9 09:15:54 2009 Subject: how to use the MFS ? In-Reply-To: <20090109070755.GC52729@dan.emsphone.com> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109070755.GC52729@dan.emsphone.com> Message-ID: <496715AF.8070100@snaffler.net> or you should be able to use unionfs to mount the md1 device over /usr/ports if in not mistaken Dan Nelson wrote: > In the last episode (Jan 09), PstreeM China said: > >> hi all: >> >> i want to know ,how to compile better speed during the installation >> of Ports , use the memery filesystem(MFS) .. >> >> during make world , mount the md0 to /usr/obj , but what can i do for >> the port ? >> > > Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and > all the .../work/ directories will get created there. > > From wojtek at wojtek.tensor.gdynia.pl Fri Jan 9 09:56:01 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 9 09:56:07 2009 Subject: how to use the MFS ? In-Reply-To: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> Message-ID: <20090109105458.I8836@wojtek.tensor.gdynia.pl> > hi all: > > i want to know ,how to compile better speed during the installation of > Ports , use the memery filesystem(MFS) .. > > during make world , mount the md0 to /usr/obj , but what can i do for better use tmpfs > the port ? rm -rf /usr/ports/ mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports portsnap extract now build From wojtek at wojtek.tensor.gdynia.pl Fri Jan 9 09:56:39 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jan 9 09:56:46 2009 Subject: how to use the MFS ? In-Reply-To: <20090109070755.GC52729@dan.emsphone.com> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109070755.GC52729@dan.emsphone.com> Message-ID: <20090109105605.L8836@wojtek.tensor.gdynia.pl> > In the last episode (Jan 09), PstreeM China said: >> hi all: >> >> i want to know ,how to compile better speed during the installation >> of Ports , use the memery filesystem(MFS) .. >> >> during make world , mount the md0 to /usr/obj , but what can i do for >> the port ? > > Set WRKDIRPREFIX to point to a directory in your mfs filesystem, and > all the .../work/ directories will get created there. goot to know - thanks! From krad at snaffler.net Fri Jan 9 10:14:32 2009 From: krad at snaffler.net (chris.scott) Date: Fri Jan 9 10:14:38 2009 Subject: how to use the MFS ? In-Reply-To: <20090109105458.I8836@wojtek.tensor.gdynia.pl> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109105458.I8836@wojtek.tensor.gdynia.pl> Message-ID: <49672373.3020704@snaffler.net> Wojciech Puchar wrote: >> hi all: >> >> i want to know ,how to compile better speed during the >> installation of >> Ports , use the memery filesystem(MFS) .. >> >> during make world , mount the md0 to /usr/obj , but what can i >> do for > > better use tmpfs > >> the port ? > > rm -rf /usr/ports/ > mkdir /usr/ports > mount -t tmpfs tmpfs /usr/ports > portsnap extract > > now build > _______________________________________________ > 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" > quicker to do mv /usr/ports /usr/ports.real mkdir /usr/ports mount -t tmpfs tmpfs /usr/ports mount -t unionfs -o noatime /usr/ports /usr/ports.real of cause tmpfs can actually start using disk space unlike a md device so if you eat up to much ram with the compiles it will slow down From gpagnoni at gmail.com Fri Jan 9 11:09:09 2009 From: gpagnoni at gmail.com (Giuseppe Pagnoni) Date: Fri Jan 9 11:09:17 2009 Subject: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT In-Reply-To: <3a142e750901090017j752744b7lc457903acf70b001@mail.gmail.com> References: <92056ebc0901061334o40f37463y84cdfda54e281126@mail.gmail.com> <4963EE76.1050808@datapipe.com> <92056ebc0901062317n2022daf2s8990dc78255f87e4@mail.gmail.com> <200901081344.23105.pieter@degoeje.nl> <92056ebc0901080911g5a144fc3o9f957ad92bb11aa@mail.gmail.com> <92056ebc0901082358g46579ecdp9ec6b63bc4acdb77@mail.gmail.com> <3a142e750901090017j752744b7lc457903acf70b001@mail.gmail.com> Message-ID: <92056ebc0901090309m65541c20pb04a5718a8a96a1c@mail.gmail.com> Yes, I did. And although the system appears to list the specified amount of RAM (3GB or 2GB), the X server crashes nonetheless... On Fri, Jan 9, 2009 at 9:17 AM, Paul B. Mahol wrote: > On 1/9/09, Giuseppe Pagnoni wrote: >> ---------- Forwarded message ---------- >> From: Giuseppe Pagnoni >> Date: Thu, Jan 8, 2009 at 6:11 PM >> Subject: Re: FreeBSD 7.1, nvidia-driver, GeForce 8500 GT >> To: Pieter de Goeje >> >> >> Dear Pieter, >> >> thanks for the information. Unfortunately, putting the line >> hw.physmem="3G" in /boot/loader.conf as you suggested does not prevent >> the system from crashing when starting X (even using "2G"), while > > You rebooted after that change? > >> taking physically out the 2G memory bank from the motherboard does. >> That's a pity because this being a dual boot system, I could have left >> the 4 GB of RAM in when using the other OS.... Is there any other >> option that you would be aware of? >> >> thanks again >> >> giuseppe >> >> On Thu, Jan 8, 2009 at 1:44 PM, Pieter de Goeje wrote: >>>> >>>> How much memory do you have? Freebsd/Nvidia doesn't work with 4Gigs >>>> >>>> of memory OR PAE enabled kernels. Nvidia's forums have lots more >>>> >>>> information >>>> >>>> regarding this. >>>> >> >>>> >> I'm not sure of the internals exactly, but the amount of onboard >>>> >> memory >>>> >> plus the memory that comes with the card can't exceed 4G. (I could be >>>> >> wrong, but I think this is accurate). In this case, assuming you have >>>> >> a >>>> >> 512M card or similar then 3 Gigs of memory should work. I have seen >>>> >> reports of 2Gigs of memory working (i386) and am sure that works >>>> >> without >>>> >> problems. amd64 doesn't work at all, as you have already stated. >>>> >> >>>> >> If you have a requirement to use the nvidia based graphics driver, >>>> >> then >>>> >> you really don't have an alternative at this time, then to remove >>>> >> system >>>> >> memory from your main board. >>>> >> >>>> >> ~Paul >>> >>> Putting hw.physmem="3G" in /boot/loader.conf might also work. >>> >>> -- >>> Pieter de Goeje >>> >>> >> >> >> >> -- >> Giuseppe Pagnoni >> Dip. Scienze Biomediche >> Sezione Fisiologia >> Univ. di Modena e Reggio Emilia >> Via Campi 287 >> I-41100 Modena, Italy >> Tel: +39-059-205-5742 >> Fax: +39-059-205-5363 >> >> >> >> -- >> Giuseppe Pagnoni >> Dip. Scienze Biomediche >> Sezione Fisiologia >> Univ. di Modena e Reggio Emilia >> Via Campi 287 >> I-41100 Modena, Italy >> Tel: +39-059-205-5742 >> Fax: +39-059-205-5363 >> _______________________________________________ >> 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" >> > > > -- > Paul > -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From pstreem at gmail.com Fri Jan 9 11:40:54 2009 From: pstreem at gmail.com (PstreeM China) Date: Fri Jan 9 11:41:02 2009 Subject: how to use the MFS ? In-Reply-To: <49672373.3020704@snaffler.net> References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109105458.I8836@wojtek.tensor.gdynia.pl> <49672373.3020704@snaffler.net> Message-ID: <2c66535d0901090340y473ce9dcj74ae2a44e5cc0789@mail.gmail.com> i think the option WRKDIRPREFIX is a good idea , and i whill test the methon unionfs. but i want to know , after i mount the unionfs , like this :#mount -t unionfs /usr/ports /usr/ports.real the /usr/ports is memery FS, what can i used to install software ?? go to the dir : /usr/ports/**/** to install , or go to dir dir : /usr/ports.real/*/* to install ?? thank all!! On Fri, Jan 9, 2009 at 6:14 PM, chris.scott wrote: > Wojciech Puchar wrote: > >> hi all: >>> >>> i want to know ,how to compile better speed during the installation >>> of >>> Ports , use the memery filesystem(MFS) .. >>> >>> during make world , mount the md0 to /usr/obj , but what can i do for >>> >> >> better use tmpfs >> >> the port ? >>> >> >> rm -rf /usr/ports/ >> mkdir /usr/ports >> mount -t tmpfs tmpfs /usr/ports >> portsnap extract >> >> now build >> _______________________________________________ >> 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" >> >> quicker to do > > > mv /usr/ports /usr/ports.real > mkdir /usr/ports > mount -t tmpfs tmpfs /usr/ports > mount -t unionfs -o noatime /usr/ports /usr/ports.real > > > of cause tmpfs can actually start using disk space unlike a md device so if > you eat up to much ram with the compiles it will slow down > From pstreem at gmail.com Fri Jan 9 11:55:19 2009 From: pstreem at gmail.com (PstreeM China) Date: Fri Jan 9 11:55:25 2009 Subject: 3945ABG wireless problems In-Reply-To: <20090109075548.GA8216@desmo.3rdrock.kicks-ass.net> References: <20090109075548.GA8216@desmo.3rdrock.kicks-ass.net> Message-ID: <2c66535d0901090355l64d8d1a7q3e18ef870eb813bb@mail.gmail.com> what tha AP you connect ?? maybe , the wlan can not connect a AP, the hardware will turn off ... check your file /etc/wpa_supp**.conf On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry wrote: > > Hi, > > I'm having problems with my 3945ABG Wireless card. > > I keep on getting "wpi0: Radio Transmitter is switched off" > > pushing 802.11 button on laptop -> Turning OFF > ------------------------------- > Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected > Jan 9 07:59:08 desmo kernel: ugen0: detached > > pushing 802.11 button again -> Turning ON > ----------------------------------------- > Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product > 0x171d bus uhub0 > Jan 9 07:59:13 desmo kernel: ugen0: class 224/1, rev 2.00/1.00, addr 2> on uhub0 > > ifconfig wpi0 up > ---------------- > Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT > Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded > firmware > Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 > Jan 9 07:58:51 desmo kernel: firmware status=0xffff0000, val=0x40400000, > result=0x40400000 > Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 > Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 > alive 1 > Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 > alive 1 > Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off > Jan 9 07:58:51 desmo kernel: state changed to 1 > Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off > > I notice that I didn't have the license at > /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz > > /boot/loader.conf includes the following > ---------------------------------------- > if_wpi_load="YES" > wlan_load="YES" > wlan_amrr_load="YES" > firmware_load="YES" > wpifw_load="YES" > legal.intel_wpi.license_ack=1 > > What am I doing wrong here....?? > > Many thanks, > > Alain > _______________________________________________ > 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 Fri Jan 9 11:58:29 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Fri Jan 9 11:58:36 2009 Subject: FreeBSD USB Install In-Reply-To: <2b5f066d0901081134x37f0dfv9f501cfe2e987302@mail.gmail.com> References: <2b5f066d0901070525l3b928eb8j20fe48c67eeacba6@mail.gmail.com> <20090107151702.48136fb1.freebsd@edvax.de> <20090107143450.GA12360@rebelion.Sisis.de> <2b5f066d0901081134x37f0dfv9f501cfe2e987302@mail.gmail.com> Message-ID: <49673BE3.8080101@gmail.com> Brian McCann wrote: > On Wed, Jan 7, 2009 at 9:34 AM, Matthias Apitz wrote: >> El d?a Wednesday, January 07, 2009 a las 03:17:02PM +0100, Polytropon escribi?: >>> I could only suggest to eliminate all slices and partitions on the >>> thumb drive (such as it was a new "disk" right from the factory) >>> and let sysinstall put slice and partitions onto it. >> The problem is that 'from the factory' sometimnes they come already Windows-like >> formated; I've wiped out all with: >> >> # dd if=/dev/zero of=/dev/da0 bs=1m >> >> (double check that /dev/da0 is really the device you want to clean) >> >> matthias >> > > Ok...so I zero'd out two different thumb drives (one 1gb stick, > another a 4gb stick...not that it matters)...and both of them failed > in the same way. I boot the machine with nothing but the CD-Rom drive > and the USB stick. No fancy options or anything in the install > process...just create one slice that takes up the whole drive, then > one parition (da0s1a) mounted as "/"...about as basic as you can get. > > Any other thoughts? I don't understand why this wouldn't work...it's > just another drive... > > Thanks for all the input! > --Brian > You're installing it into a single partition? Just / with everything on it? Maybe try the standard installation procedure with a /, swap, tmp, var and user. Let sysinstall do its job and use auto-defaults. Regards. From alainfabry at belgacom.net Fri Jan 9 12:13:29 2009 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Fri Jan 9 12:13:37 2009 Subject: 3945ABG wireless problems In-Reply-To: <2c66535d0901090355l64d8d1a7q3e18ef870eb813bb@mail.gmail.com> References: <20090109075548.GA8216@desmo.3rdrock.kicks-ass.net> <2c66535d0901090355l64d8d1a7q3e18ef870eb813bb@mail.gmail.com> Message-ID: <20090109121115.GA41534@desmo.3rdrock.kicks-ass.net> Actually, I've just sofar tried to perform a 'ifconfig wpi0 list scan' to verify which AP are available....after I have put the interface up of course. But it just gets stuck on this scan....doesn't do anything. info from /var/log/messages Jan 9 13:05:31 desmo sudo: username : TTY=ttyp2 ; PWD=/data/username ; USER=root ; COMMAND=/sbin/ifconfig wpi0 scan list Jan 9 13:05:32 desmo kernel: HERER On Fri, Jan 09, 2009 at 07:55:11PM +0800, PstreeM China wrote: > what tha AP you connect ?? > maybe , the wlan can not connect a AP, the hardware will turn off ... > check your file /etc/wpa_supp**.conf > > On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry wrote: > > > > > Hi, > > > > I'm having problems with my 3945ABG Wireless card. > > > > I keep on getting "wpi0: Radio Transmitter is switched off" > > > > pushing 802.11 button on laptop -> Turning OFF > > ------------------------------- > > Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) disconnected > > Jan 9 07:59:08 desmo kernel: ugen0: detached > > > > pushing 802.11 button again -> Turning ON > > ----------------------------------------- > > Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product > > 0x171d bus uhub0 > > Jan 9 07:59:13 desmo kernel: ugen0: > class 224/1, rev 2.00/1.00, addr 2> on uhub0 > > > > ifconfig wpi0 up > > ---------------- > > Jan 9 07:58:51 desmo kernel: NEWSTATE:INIT > > Jan 9 07:58:51 desmo kernel: Resetting the card - clearing any uploaded > > firmware > > Jan 9 07:58:51 desmo kernel: Loading microcode size 0x384 > > Jan 9 07:58:51 desmo kernel: firmware status=0xffff0000, val=0x40400000, > > result=0x40400000 > > Jan 9 07:58:51 desmo kernel: Status Match! - ntries = 0 > > Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 > > alive 1 > > Jan 9 07:58:51 desmo kernel: microcode alive notification version 10e02 > > alive 1 > > Jan 9 07:58:51 desmo kernel: wpi0: Radio Transmitter is switched off > > Jan 9 07:58:51 desmo kernel: state changed to 1 > > Jan 9 07:58:51 desmo kernel: wpi0: Radio transmitter is switched off > > > > I notice that I didn't have the license at > > /usr/share/doc/legal/intel_wpi/LICENSE, so I grabbed it from > > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz > > > > /boot/loader.conf includes the following > > ---------------------------------------- > > if_wpi_load="YES" > > wlan_load="YES" > > wlan_amrr_load="YES" > > firmware_load="YES" > > wpifw_load="YES" > > legal.intel_wpi.license_ack=1 > > > > What am I doing wrong here....?? > > > > Many thanks, > > > > Alain > > _______________________________________________ > > 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 frank at shute.org.uk Fri Jan 9 12:27:32 2009 From: frank at shute.org.uk (Frank Shute) Date: Fri Jan 9 12:27:39 2009 Subject: Can't boot machine after upgrade Message-ID: <20090109122720.GA38699@orange.esperance-linux.co.uk> Hi all, I just updated my server from 6.3-RELEASE to 6.4-RELEASE and I now can't boot my machine - a rather crappy HP desktop. The boot seems to go along nicely without any errors that I can see but when it comes to mounting the root filesystem it bails out: Trying to mount root from ufs:/dev/ad0s2 Manual root filesystem specification: : ? List valid disk boot devices mountroot> I've tried entering the root fs (it's the same as above) but it's no go. If I list the valid boot disk devices, it gives me this: list of GEOM managed disk devices: da3 da2 da1 da0 which are all the crappy flash card readers etc. Anybody got any idea on what's going on & how to fix it? TIA. BTW, just reply to the list, I can't receive mail ATM so I'll have to read replies in the archive. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From freebsd at edvax.de Fri Jan 9 12:43:58 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jan 9 12:44:05 2009 Subject: Can't boot machine after upgrade In-Reply-To: <20090109122720.GA38699@orange.esperance-linux.co.uk> References: <20090109122720.GA38699@orange.esperance-linux.co.uk> Message-ID: <20090109134342.5fb692f7.freebsd@edvax.de> On Fri, 9 Jan 2009 12:27:20 +0000, Frank Shute wrote: > Anybody got any idea on what's going on & how to fix it? The messages you presented seem to indicate that ad0 is not found. It's not listed in the available devices, and boot fails. Could you check its presence using a FreeBSD / FreeSBIE boot CD? I'm surprised the hard disk isn't detected at all... are you using the GENERIC kernel? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From pstreem at gmail.com Fri Jan 9 13:05:41 2009 From: pstreem at gmail.com (PstreeM China) Date: Fri Jan 9 13:05:49 2009 Subject: 3945ABG wireless problems In-Reply-To: <20090109121115.GA41534@desmo.3rdrock.kicks-ass.net> References: <20090109075548.GA8216@desmo.3rdrock.kicks-ass.net> <2c66535d0901090355l64d8d1a7q3e18ef870eb813bb@mail.gmail.com> <20090109121115.GA41534@desmo.3rdrock.kicks-ass.net> Message-ID: <2c66535d0901090505m4b8e76afk718c246f7566a2e8@mail.gmail.com> i don't know what happen ... i use the 3945ABG too , i use the three config file ... /boot/loader.conf /etc/rc.conf /etc/wpa_supplicant.conf you may lose the thried file ,give you for a example. ### the loader.conf file legal.intel_wpi.license_ack=1 if_wpi_load="YES" wlan_load="YES" wlan_amrr_load="YES" firmware_load="YES" wpifw_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" #### the rc.conf file ifconfig_wpi0="WPA DHCP" #### the wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="APSSID" # scan_ssid=2 key_mgmt=WPA-PSK psk="APpassword" } On Fri, Jan 9, 2009 at 8:12 PM, Alain G. Fabry wrote: > > Actually, I've just sofar tried to perform a 'ifconfig wpi0 list scan' to > verify which AP are available....after I have put the interface up of > course. But it just gets stuck on this scan....doesn't do anything. > > info from /var/log/messages > > Jan 9 13:05:31 desmo sudo: username : TTY=ttyp2 ; PWD=/data/username ; > USER=root ; COMMAND=/sbin/ifconfig wpi0 scan list > Jan 9 13:05:32 desmo kernel: HERER > > > > On Fri, Jan 09, 2009 at 07:55:11PM +0800, PstreeM China wrote: > > what tha AP you connect ?? > > maybe , the wlan can not connect a AP, the hardware will turn off ... > > check your file /etc/wpa_supp**.conf > > > > On Fri, Jan 9, 2009 at 3:55 PM, Alain G. Fabry >wrote: > > > > > > > > Hi, > > > > > > I'm having problems with my 3945ABG Wireless card. > > > > > > I keep on getting "wpi0: Radio Transmitter is switched off" > > > > > > pushing 802.11 button on laptop -> Turning OFF > > > ------------------------------- > > > Jan 9 07:59:08 desmo kernel: ugen0: at uhub0 port 1 (addr 2) > disconnected > > > Jan 9 07:59:08 desmo kernel: ugen0: detached > > > > > > pushing 802.11 button again -> Turning ON > > > ----------------------------------------- > > > Jan 9 07:59:13 desmo root: Unknown USB device: vendor 0x03f0 product > > > 0x171d b