From invalid.pointer at gmail.com Sat Aug 1 00:11:18 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Sat Aug 1 00:11:24 2009 Subject: AP#1 on Phy#1 : The reason on my system Message-ID: <4A738821.2060304@gmail.com> Hi, A long time back, I had reported getting AP#1 on Phy#1 error messages and boot failure on my amd64 system. After many tests, I am convinced the problem occurs only if a USB mouse is plugged in at boot-time. A few days back, I finally got a USB-to-PS2 converter and hooked my mouse into a PS2 port, with USB mouse support disabled in the BIOS. I've never had this problem since then. So it's pretty certain that the USB mouse was the source of the boot-failures. Since Windows never had any boot problems with the USB mouse, I think this might be an issue for the FreeBSD kernel developers. If this helps anyone or clears any doubts, I can only be glad. (NB : I also have a report from a friend of mine using amd64 with debian-5.02 that debian has pretty much the same problem. He has taken my advice and is now hooking the mouse into the PS/2 port with good results). Thank you& -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From gbell72 at rogers.com Sat Aug 1 00:23:40 2009 From: gbell72 at rogers.com (Gardner Bell) Date: Sat Aug 1 00:23:47 2009 Subject: how to boot or access problem file system In-Reply-To: <4A7357A9.4050505@videotron.ca> Message-ID: <902686.85166.qm@web88005.mail.re2.yahoo.com> Gardner Bell --- On Fri, 7/31/09, PJ wrote: > From: PJ > Subject: Re: how to boot or access problem file system > To: "Roland Smith" > Cc: freebsd-questions@freebsd.org > Received: Friday, July 31, 2009, 8:44 PM > PJ wrote: > > Roland Smith wrote: > >> On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ > wrote: > >> > >>> Basically, the news is not good. > >>> The directories & files are not what I had > to begin with. > >>> ls /dev/ad0s1 or any disk/slice merely gets: > Permission denied. > >>> > >> Now that is certainly weird. :-) I've never come > across something > >> like that. > >> What do 'mount' and 'ls -ld /dev' return? Maybe > /dev is mounted with > >> incorrect permissions. You are logged in as root, > I presume? > Now, how could I be logged in? from livefs? > On bootup, I see ar0 boot error or something like that... > ls /dev ... shows ad0, ad10, ad12, ad4 and ar0 > ad0 only has ad0s1 (I assume this to be ntfs > ad10 also has s1, s1a, s1b, c, d, e, e, suffixes > ad4 has s1, s1a, s1b, no c, but d, e, f suffixes > The stench from Denmark is getting to me... ;-) Insulting much with your remark about Denmark? > _______________________________________________ > 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 perrin at apotheon.com Sat Aug 1 00:55:42 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Aug 1 00:56:14 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090731231007.feec5a75.freebsd@edvax.de> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> Message-ID: <20090801004830.GA45299@kokopelli.hydra> On Fri, Jul 31, 2009 at 11:10:07PM +0200, Polytropon wrote: > On Fri, 31 Jul 2009 14:56:36 -0600, Chad Perrin wrote: > > > > That's easy. Just press + and it'll close Firefox immediately. > > Negative for firefox-2.0.0.12,1 (on my desktop system) - no Ctrl+Q. :-) I don't remember that capability lacking in Firefox 2, but it has been a little while since I've used it, so I don't really know for sure. You should be able to close it at least by pressing + once per open tab. That's a keyboard shortcut that closes the current tab, and if you do that when there's only one tab open, that should close the browser (but only if you have it configured to close the browser when closing the last tab). I think the relevant configuration option in the about:config window is: browser.tabs.closeWindowWithLastTab I'm pretty sure I was able to close Firefox with a keyboard shortcut back when I used Firefox 2, but I don't remember how. I guess you're on your own, unless someone else here uses Firefox 2 and can help you out. Does + work for you? That's probably dependent on your choice of window manager. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Paul Graham: "Real ugliness is not harsh-looking syntax, but having to build programs out of the wrong concepts." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090801/d81ff617/attachment.pgp From perryh at pluto.rain.com Sat Aug 1 07:50:52 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Aug 1 07:50:59 2009 Subject: how to boot or access problem file system In-Reply-To: <902686.85166.qm@web88005.mail.re2.yahoo.com> References: <902686.85166.qm@web88005.mail.re2.yahoo.com> Message-ID: <4a73f14e.Lx2GUnkKP78mT+Gf%perryh@pluto.rain.com> Gardner Bell wrote: > > The stench from Denmark is getting to me... ;-) > Insulting much with your remark about Denmark? Methinks it be an oblique reference to a line from Shakespeare's play about the Dane with no insult intended, then or now. From enidv11 at gmail.com Sat Aug 1 08:04:59 2009 From: enidv11 at gmail.com (enid vx) Date: Sat Aug 1 08:05:06 2009 Subject: Not recognizing raid controller Adaptec AIC7901 In-Reply-To: <20090731173631.GA31081@eggman.experts-exchange.com> References: <77b5ce830907310939k7583e625na9786c6efd6d0de8@mail.gmail.com> <20090731173631.GA31081@eggman.experts-exchange.com> Message-ID: <77b5ce830908010104v6e6fa934h1f3d19ed02695631@mail.gmail.com> Thanks for your reply, I've searched through Adaptec site for drivers but are offered only Linux (Red Hat , Suse, Novell Netware), Windows, SCO Unix, SCO UnixWare and Sun Solaris. Also is available Linux driver source code. I don't know if they offer FreeBSD driver, maybe I should ask them. So, if I find the drivers what is the procedure to compile them and load them to the kernel? Rgds. On Fri, Jul 31, 2009 at 7:36 PM, Jason wrote: > You may want to try using the Adaptec drivers from Adaptec, and not the > native freebsd drivers. > > Edit /boot/loader.conf, and that may be it. > > I've found great success with them. > > -jgh > > On Fri, Jul 31, 2009 at 06:39:56PM +0200, enid vx thus spake: > >> Hi all, >> >> I'm having some problems installing FreeBSD 6.3 on my machine equipped >> with >> : >> >> Single channel Adaptec? AIC-7901 controller for Ultra320 SCSI >> Host RAID 0, 1, 10 support >> >> I have 4 disks which are configured in 2 Raid1, >> >> the problem is when I try to install FreeBSd from the installer cd, it >> shows >> only the separated disks. >> >> I've added also ahd_load="YES" into /boot/loader.conf on the installation >> cd, >> also on the boot prompt >> load ahd >> load ahd.ko >> and then boot >> >> but again with no success . >> It were recognized only the 4 disks as separated. >> >> How can I make it recognize the raid ? >> >> Thanks in advance. >> _______________________________________________ >> 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 af.gourmet at videotron.ca Sat Aug 1 13:21:49 2009 From: af.gourmet at videotron.ca (PJ) Date: Sat Aug 1 13:21:56 2009 Subject: how to boot or access problem file system In-Reply-To: <902686.85166.qm@web88005.mail.re2.yahoo.com> References: <902686.85166.qm@web88005.mail.re2.yahoo.com> Message-ID: <4A74416B.70309@videotron.ca> Gardner Bell wrote: > Gardner Bell > > > --- On Fri, 7/31/09, PJ wrote: > > >> From: PJ >> Subject: Re: how to boot or access problem file system >> To: "Roland Smith" >> Cc: freebsd-questions@freebsd.org >> Received: Friday, July 31, 2009, 8:44 PM >> PJ wrote: >> >>> Roland Smith wrote: >>> >>>> On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ >>>> >> wrote: >> >>>>> Basically, the news is not good. >>>>> The directories & files are not what I had >>>>> >> to begin with. >> >>>>> ls /dev/ad0s1 or any disk/slice merely gets: >>>>> >> Permission denied. >> >>>> Now that is certainly weird. :-) I've never come >>>> >> across something >> >>>> like that. >>>> What do 'mount' and 'ls -ld /dev' return? Maybe >>>> >> /dev is mounted with >> >>>> incorrect permissions. You are logged in as root, >>>> >> I presume? >> Now, how could I be logged in? from livefs? >> On bootup, I see ar0 boot error or something like that... >> ls /dev ... shows ad0, ad10, ad12, ad4 and ar0 >> ad0 only has ad0s1 (I assume this to be ntfs >> ad10 also has s1, s1a, s1b, c, d, e, e, suffixes >> ad4 has s1, s1a, s1b, no c, but d, e, f suffixes >> The stench from Denmark is getting to me... ;-) >> > > Insulting much with your remark about Denmark? > Read Shakespeare ! (Or look up the phrase "Something is rotten in Denmark" on Google. From af.gourmet at videotron.ca Sat Aug 1 13:24:00 2009 From: af.gourmet at videotron.ca (PJ) Date: Sat Aug 1 13:24:07 2009 Subject: how to boot or access problem file system In-Reply-To: <4a73f14e.Lx2GUnkKP78mT+Gf%perryh@pluto.rain.com> References: <902686.85166.qm@web88005.mail.re2.yahoo.com> <4a73f14e.Lx2GUnkKP78mT+Gf%perryh@pluto.rain.com> Message-ID: <4A7441F0.20904@videotron.ca> perryh@pluto.rain.com wrote: > Gardner Bell wrote: > >>> The stench from Denmark is getting to me... ;-) >>> >> Insulting much with your remark about Denmark? >> > > Methinks it be an oblique reference to > a line from Shakespeare's play about the Dane > with no insult intended, then or now. > _______________________________________________ > 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" > > Methinks I've found a literary genius amid this swamp of digital mechanics. ;-) -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From glen.j.barber at gmail.com Sat Aug 1 15:07:12 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Aug 1 15:07:45 2009 Subject: Difficulty in installing ncurses. In-Reply-To: <344117.53663.qm@web25802.mail.ukl.yahoo.com> References: <344117.53663.qm@web25802.mail.ukl.yahoo.com> Message-ID: <20090801150704.GA5350@phoenix.dhcp.drexel.edu> michael green wrote: > 7.2-RELEASE #0. Generic kernel. Full installation from DVD. > > > I'm trying to install ncurses because I want to run FoxPro Unix, which expects a terminfo database. > Perhaps terminfo(5) can help? -- Glen Barber - 215.839.8649 From djuatdelta at gmail.com Sat Aug 1 18:43:21 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sat Aug 1 18:43:28 2009 Subject: Looking for fast graphical web browser In-Reply-To: <200907311230.02216.w.riegler@cbtl.de> References: <200907311230.02216.w.riegler@cbtl.de> Message-ID: Midori seems to have problems displaying Gmail. From grimjow.espada at gmail.com Sat Aug 1 18:56:54 2009 From: grimjow.espada at gmail.com (GrimJow Espada) Date: Sat Aug 1 18:57:01 2009 Subject: FreeBSD 7.2 fresh install Message-ID: <9ef7e7380908011129g43271264yfc76633e9f55bc1@mail.gmail.com> Hi I have installed FBSD 7.2 and when i try to set up xorg using xorgconfig or xorg -configure it doesnt work any more, any changes on the command? thanks Regards, GrimJow From martinrame at yahoo.com Sat Aug 1 19:08:52 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sat Aug 1 19:08:58 2009 Subject: Filezilla doesn't work after libjpeg upgrade Message-ID: <565560.34503.qm@web35606.mail.mud.yahoo.com> A couple of weeks ago I upgraded libjpeg to 10, and had to upgrade a bunch of programs that required this library. Today I needed to use FileZilla client and received this error: /libexec/ld-elf.so.1: Shared object "libjpeg.so.9" not found, required by "libwx_gtk2_aui-2.8.so.0" I tried to recompile FileZilla to avoid the error and it is still showing. How can I avoid this?. Leonardo M. Ram? http://leonardorame.blogspot.com From nightrecon at hotmail.com Sat Aug 1 19:09:57 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Aug 1 19:10:04 2009 Subject: FreeBSD 7.2 fresh install References: <9ef7e7380908011129g43271264yfc76633e9f55bc1@mail.gmail.com> Message-ID: GrimJow Espada wrote: > Hi I have installed FBSD 7.2 and when i try to set up xorg using > xorgconfig or xorg -configure it doesnt work any more, any changes on the > command? thanks > Try Xorg -configure instead. May want to read too: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html -Mike From anti_spam256 at yahoo.ca Sat Aug 1 19:23:05 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sat Aug 1 19:23:12 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090731120022.8E64810656C4@hub.freebsd.org> Message-ID: <88736.64891.qm@web65511.mail.ac4.yahoo.com> "(Firefox) is a redesign of the Mozilla browser component, similar to Galeon, K-Meleon and Camino, but written using the XUL user interface language and designed to be lightweight and cross-platform. " - http://packages.debian.org/stable/web/iceweasel The Original Poster ruled out dillo because it did not have enough features. I fear any "featureful, lightweight" web-browser is destined to be "bloated" like Firefox, or as some people suggest, Opera. The introduction of the Document Object Model (and CSS) with HTML 4.0 means fast Lynx-style single-pass rendering is out. JavaScript means that websites can use an arbitrary amount of CPU time (sometimes deliberately), unless throttled. Regards, James Phillips --- On Fri, 7/31/09, freebsd-questions-request@freebsd.org wrote: > Date: Fri, 31 Jul 2009 12:30:02 +0200 > From: Wolfgang Riegler > Subject: Re: Looking for fast graphical web browser > To: freebsd-questions@freebsd.org > Message-ID: <200907311230.02216.w.riegler@cbtl.de> > Content-Type: text/plain;? charset="iso-8859-1" > > Give Midori a try. Of course it's a young project and maybe > there are not all > of the features of Firefox or Opera, but Midori is > lightweight and really > fast. It's based on WebKit, so there should be no problem > with standard > conform websites. > > Wolfgang > > __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From the.real.david.allen at gmail.com Sat Aug 1 21:46:05 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Sat Aug 1 21:46:12 2009 Subject: Manual Installations on Flash Media Message-ID: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> I need to create a FreeBSD installation on an SSD drive (connected via a USB adaptor), and would like to do so manually so as to avoid the use of an installation CD, PXE or sysinstall. 1. When creating an /etc/fstab file, does the order in which entries appear have any significance? I've noticed that when using sysinstall approach, the entries appear in the following order: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 Would a device alphabetical order (as used by bsdlabel) work? 2. I don't expect the system to swap, so can I dispense with a swap entry and have everything function normally (no error messages, etc.)? 3. Will adding `noatime' to / or any other filesystem have any consequences? From dnelson at allantgroup.com Sat Aug 1 22:28:56 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Sat Aug 1 22:29:03 2009 Subject: Filezilla doesn't work after libjpeg upgrade In-Reply-To: <565560.34503.qm@web35606.mail.mud.yahoo.com> References: <565560.34503.qm@web35606.mail.mud.yahoo.com> Message-ID: <20090801222851.GA82067@dan.emsphone.com> In the last episode (Aug 01), Leonardo M. Ram? said: > > A couple of weeks ago I upgraded libjpeg to 10, and had to upgrade a bunch > of programs that required this library. > > Today I needed to use FileZilla client and received this error: > > /libexec/ld-elf.so.1: Shared object "libjpeg.so.9" not found, required by "libwx_gtk2_aui-2.8.so.0" > > I tried to recompile FileZilla to avoid the error and it is still showing. Sounds like you missed upgrading whatever port installed libwx_gtk2_aui-2.8.so.0, since it still depends on libjpeg.so.9. Run "locate libwx_gtk2_aui-2.8.so.0", then "pkg_info -W (whatever locate finds)", then "portupgrade -f (whatever pkg_info finds)". -- Dan Nelson dnelson@allantgroup.com From dan at langille.org Sat Aug 1 23:10:27 2009 From: dan at langille.org (Dan Langille) Date: Sat Aug 1 23:10:34 2009 Subject: The FreeBSD Diary: 2009-08-01 Message-ID: <20090801231010.50E17509E7@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From herbert.raimund at gmx.net Sun Aug 2 09:17:51 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Sun Aug 2 09:17:58 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? Message-ID: <20090802111651.5b7cca9b@bobcat.edu> Hi Daemons, I bet there are FreeBSD-on-Thinkpad users out there. I need some help.. At the moment I search for a laptop, a used model from auction sites, preferably an IBM Thinkpad. There is a huge number of different models, even a Wiki with all the specs. But all the info doesn't help me to decide what model works best for me with FreeBSD. I also have no idea if the BSD drivers work out of the box. No dual boot required - I'll dump the Windows stuff. The model I search for is a cheap low-end type. Small harddisk is fine too, it even can be slow - I use mostly vim, fluxbox, a few small gtk-ports and even get by with a text browser like lynx. Otherwise I would really reqire the Thinkpad to be slim and have some kind of low power consumption (this depends on the kind of processor I guess - I have no clue what processor is a good choice). And an opportunity to use a PCMCIA-Card for a Wifi connection (and drivers for them!). Do you have any good/bad experiences with certain IBM Thinkpads? Is there any special model (line) I should look for? Are there any options I should look for or avoid (no BSD drivers available i.e)? Thanks for your time! herb langhans From fam.vanderschaft at kpnplanet.nl Sun Aug 2 10:53:57 2009 From: fam.vanderschaft at kpnplanet.nl (Familie van der Schaft) Date: Sun Aug 2 10:54:05 2009 Subject: pgpsendmail instructions Message-ID: <002401ca135e$cf61b0e0$0302a8c0@VANDERSCHAFT.NET> LS, I am trying to get pgpsenmail working but i can't figure out what to do. For example which instance of sendmail can/must be replaced: /usr/libexec/sendmail (which is symbolic link) /usr/sbin/sendmail in both cases, i get the following message: /etc/rc.d >./sendmail restart sendmail not running? (check /var/run/sendmail.pid). Starting sendmail. SENDMAIL refers back to PGPsendmail! Someone didn't read the installation notes... /etc/rc.d >sendmail forcestart SENDMAIL refers back to PGPsendmail! Someone didn't read the installation notes... But where can i find these instructions (notes). The man-page (pgpsendmail(8)) does not give any extra info. Can anybody help me? Danny. From glen.j.barber at gmail.com Sun Aug 2 11:08:06 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Aug 2 11:08:13 2009 Subject: pgpsendmail instructions In-Reply-To: <002401ca135e$cf61b0e0$0302a8c0@VANDERSCHAFT.NET> References: <002401ca135e$cf61b0e0$0302a8c0@VANDERSCHAFT.NET> Message-ID: <4ad871310908020408l4f62a2a3m6922511783591d9b@mail.gmail.com> On Sun, Aug 2, 2009 at 6:48 AM, Familie van der Schaft wrote: > LS, > > I am trying to get pgpsenmail working but i can't ?figure out what to do. > For example which instance of sendmail can/must ?be replaced: > > /usr/libexec/sendmail (which is symbolic link) What do you have this linked to? /usr/libexec/sendmail -> /usr/libexec/sendmail/sendmail ? > /usr/sbin/sendmail > > in both cases, i get the following message: > > /etc/rc.d >./sendmail ?restart > sendmail not running? (check /var/run/sendmail.pid). > Starting sendmail. > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... Sometimes the problem is explained in the errors... Other times, pkg-message would be helpful in a port. %ls -1 /usr/ports/mail/pgpsendmail/ Makefile distinfo files pkg-descr pkg-plist > /etc/rc.d >sendmail forcestart > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... > > But where can i find these instructions (notes). > The man-page (pgpsendmail(8)) does not give any extra info. > Can anybody help me? > Have a look at mailer.conf(5) -- Glen Barber From bsd.schaft.beheer at kpnplanet.nl Sun Aug 2 11:49:08 2009 From: bsd.schaft.beheer at kpnplanet.nl (bsd schaft) Date: Sun Aug 2 11:49:16 2009 Subject: pgpsendmail instructions References: <002401ca135e$cf61b0e0$0302a8c0@VANDERSCHAFT.NET> <4ad871310908020408l4f62a2a3m6922511783591d9b@mail.gmail.com> Message-ID: <005501ca1366$84957620$0302a8c0@VANDERSCHAFT.NET> Glenn, My mailer.conf contains: /etc/mail >cat mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith Exp $ # # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail regarding the symbolic link: /etc/mail >ls -l /usr/sbin/sen* lrwxr-xr-x 1 root wheel 21 May 31 10:28 /usr/sbin/sendmail -> /usr/sbin/mailwrapper It was the /usr/sbin/sendmail, sorry about that! So lets say , we replace the /usr/libexec/sendmail/sendmail with the pgpsendmail object from /usr/local/lib. /etc/mail >cd /usr/libexec/sendmail/ /usr/libexec/sendmail >ls -l total 704 -r-xr-sr-x 1 root smmsp 665512 May 31 10:28 sendmail -r-xr-sr-x 1 root smmsp 30944 Jul 23 19:17 sendmail.pgp /usr/libexec/sendmail >mv sendmail sendmail.real /usr/libexec/sendmail >mv sendmail.pgp sendmail As you can see, exactly the same security and all. Now check my env , for the PGPPATH variable: SHELL=/usr/local/bin/bash TERM=xterm OLDPWD=/etc/mail USER=root PAGER=more FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin :/root/bin MAIL=/var/mail/root BLOCKSIZE=K PWD=/usr/libexec/sendmail PS1=$PWD > SHLVL=1 HOME=/root _=/usr/bin/env Not there, so i can restart the process... /etc/rc.d >./sendmail restart Stopping sendmail. Starting sendmail. SENDMAIL refers back to PGPsendmail! Someone didn't read the installation notes... I checked the pkg-message file: /usr/ports/mail/pgpsendmail >ls -l total 10 -rw-r--r-- 1 root wheel 640 Oct 16 2005 Makefile -rw-r--r-- 1 root wheel 204 Nov 25 2005 distinfo drwxr-xr-x 2 root wheel 512 May 31 17:07 files -rw-r--r-- 1 root wheel 456 Apr 17 1995 pkg-descr -rw-r--r-- 1 root wheel 58 Aug 17 1998 pkg-plist But is is not there... What can i do next, add/replace a line in mailer.conf: sendmail /usr/local/lib/pgpsendmail Again, after a restart, i receive the same error....... ,Danny ----- Original Message ----- From: "Glen Barber" To: "Familie van der Schaft" Cc: Sent: Sunday, August 02, 2009 1:08 PM Subject: Re: pgpsendmail instructions On Sun, Aug 2, 2009 at 6:48 AM, Familie van der Schaft wrote: > LS, > > I am trying to get pgpsenmail working but i can't figure out what to do. > For example which instance of sendmail can/must be replaced: > > /usr/libexec/sendmail (which is symbolic link) What do you have this linked to? /usr/libexec/sendmail -> /usr/libexec/sendmail/sendmail ? > /usr/sbin/sendmail > > in both cases, i get the following message: > > /etc/rc.d >./sendmail restart > sendmail not running? (check /var/run/sendmail.pid). > Starting sendmail. > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... Sometimes the problem is explained in the errors... Other times, pkg-message would be helpful in a port. %ls -1 /usr/ports/mail/pgpsendmail/ Makefile distinfo files pkg-descr pkg-plist > /etc/rc.d >sendmail forcestart > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... > > But where can i find these instructions (notes). > The man-page (pgpsendmail(8)) does not give any extra info. > Can anybody help me? > Have a look at mailer.conf(5) -- Glen Barber ---------------------------------------------------------------------------- ---- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.40/2276 - Release Date: 08/01/09 18:04:00 From andrei.crivoi at gmail.com Sun Aug 2 13:12:43 2009 From: andrei.crivoi at gmail.com (Andrei Crivoi) Date: Sun Aug 2 13:12:50 2009 Subject: Sony PRS-505 Reader and camcontrol load problem Message-ID: <332c55d60908020552h4b89e7d5y97e4c8b29f313cd6@mail.gmail.com> Hi gaise, i'm trying to mount a memory stick card on my Sony Portable Reader PRS-505 device and constantly getting the "Error received from start unit command" message when issuing "camcontrol load" command. Here is the full log: [root@morbo /usr/home/andrei]# camcontrol rescan all Re-scan of bus 0 was successful Re-scan of bus 1 was successful [root@morbo /usr/home/andrei]# camcontrol devlist at scbus1 target 0 lun 0 (pass0,da0) at scbus1 target 0 lun 1 (pass1,da1) at scbus1 target 0 lun 2 (pass2,da2) [root@morbo /usr/home/andrei]# camcontrol load 1:0:1 Error received from start unit command The most interesting fact - 'camcontrol format' somehow saves the situation: [root@morbo /usr/home/andrei]# camcontrol format 1:0:1 You are about to REMOVE ALL DATA from the following device: pass1: Removable Direct Access SCSI-2 device 40.000MB/s transfers Are you SURE you want to do this? (yes/no) yes Current format timeout is 10800 seconds Enter new timeout in seconds or press return to keep the current timeout [10800] camcontrol: Unexpected SCSI error during format (pass1:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (pass1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (pass1:umass-sim0:0:0:1): SCSI Status: Check Condition (pass1:umass-sim0:0:0:1): UNIT ATTENTION asc:28,0 (pass1:umass-sim0:0:0:1): Not ready to ready change, medium may have changed [root@morbo /usr/home/andrei]# camcontrol load 1:0:1 Unit started successfully, Media loaded And now i'm able to mount the device: [root@morbo /usr/home/andrei]# sudo mount -t msdosfs /dev/da1 /media/ mount_msdosfs: /dev/da1: : Invalid argument [root@morbo /usr/home/andrei]# sudo mount -t msdosfs /dev/da1s1 /media/ Somebody please explain what is going on and why can't i load the device without trying to format it first. From martinrame at yahoo.com Sun Aug 2 13:19:24 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sun Aug 2 13:19:31 2009 Subject: Filezilla doesn't work after libjpeg upgrade In-Reply-To: <20090801222851.GA82067@dan.emsphone.com> Message-ID: <876384.72617.qm@web35605.mail.mud.yahoo.com> Thanks Dan, it was WxGTK2 that caused the issue. It was solved by a simple portupgrade wxgtk2. Leonardo M. Ram? http://leonardorame.blogspot.com --- On Sat, 8/1/09, Dan Nelson wrote: > From: Dan Nelson > Subject: Re: Filezilla doesn't work after libjpeg upgrade > To: "Leonardo M. Ram?" > Cc: freebsd-questions@freebsd.org > Date: Saturday, August 1, 2009, 7:28 PM > In the last episode (Aug 01), > Leonardo M. Ram? said: > > > > A couple of weeks ago I upgraded libjpeg to 10, and > had to upgrade a bunch > > of programs that required this library. > > > > Today I needed to use FileZilla client and received > this error: > > > > /libexec/ld-elf.so.1: Shared object "libjpeg.so.9" not > found, required by "libwx_gtk2_aui-2.8.so.0" > > > > I tried to recompile FileZilla to avoid the error and > it is still showing. > > Sounds like you missed upgrading whatever port installed > libwx_gtk2_aui-2.8.so.0, since it still depends on > libjpeg.so.9.? Run > "locate libwx_gtk2_aui-2.8.so.0", then "pkg_info -W > (whatever locate > finds)", then "portupgrade -f (whatever pkg_info finds)". > > -- > ??? Dan Nelson > ??? dnelson@allantgroup.com > From martinrame at yahoo.com Sun Aug 2 13:30:11 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sun Aug 2 13:30:18 2009 Subject: Dell Touchpad and Mouse Message-ID: <255245.43002.qm@web35607.mail.mud.yahoo.com> Hi, my home computer is a Dell Inspiron 1525. When I use it in Windows, the touchpad is automatically disabled when I connect an USB mouse. I noted in FreeBSD the mouse and touchpad are allways enabled. Does anyone knows how can I fix this?. Leonardo M. Ram? http://leonardorame.blogspot.com From freebsd at superhero.nl Sun Aug 2 16:48:07 2009 From: freebsd at superhero.nl (Gelsema, P (Patrick) - FreeBSD) Date: Sun Aug 2 16:48:15 2009 Subject: +ahd0: Transmission error detected Message-ID: <200b2b8e99de41b34148609cc22da3d9.squirrel@webmail.superhero.nl> Hi, I received this erron on my Freebsd 7-Stable (1 or 2 months old). I dont know how to read this error. Is this hardware? Or a software issue? Box is still running, 3 x SCSI and a ZFS pool on 3 SATA disks. Cheers, Patrick Logs____ +ahd0: Transmission error detected +LQISTAT1[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) +SCSISIGI[0x60]:(P_DATAIN_DT) PERRDIAG[0x4]:(CRCERR) +>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< +ahd0: Dumping Card State at program address 0x27 Mode 0x33 +Card was paused +INTSTAT[0x8]:(SCSIINT) SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0] +INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO) +SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE) +SCSISIGI[0x76]:(P_DATAIN_DT|REQI|BSYI|ATNI) SCSIPHASE[0x2]:(DATA_IN_PHASE) +SCSIBUS[0x5] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) +SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) +SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x0] +SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x39] KERNEL_QFREEZE_COUNT[0x39] +MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x0] +SSTAT1[0x19]:(REQINIT|BUSFREE|PHASEMIS) SSTAT2[0x0] +SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) +LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED) +LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0) + +SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0 +qinstart = 59875 qinfifonext = 59875 +QINFIFO: +WAITING_TID_QUEUES: +Pending list: +499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +Total 11 +Kernel Free SCB lists: + Any Device: 481 411 492 488 457 484 496 469 468 461 497 449 502 487 480 416 454 467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421 483 455 507 458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510 477 401 466 473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425 426 475 474 427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445 446 437 438 439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 25! 7 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +Sequencer Complete DMA-inprog list: +Sequencer Complete list: +Sequencer DMA-Up and Complete list: +Sequencer On QFreeze and Complete list: + + +ahd0: FIFO0 Active, LONGJMP == 0x286, SCB 0x1a1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN) DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) +SG_CACHE_SHADOW[0xa3]:(LAST_SEG_DONE|LAST_SEG) SG_STATE[0x0] +DFFSXFRCTL[0x0] SOFFCNT[0xb] MDFFSTAT[0x12]:(DATAINFIFO|LASTSDONE) +SHADDR = 0x07e154000, SHCNT = 0x0 HADDR = 0x07e154000, HCNT = 0x0 +CCSGCTL[0x10]:(SG_CACHE_AVAIL) + +ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) +SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0xb] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 +HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) +LQIN: 0x5 0x0 0x1 0xa1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x2 0x0 +ahd0: LQISTATE = 0x25, LQOSTATE = 0x0, OPTIONMODE = 0x42 +ahd0: OS_SPACE_CNT = 0x1f MAXCMDCNT = 0x1 +ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 + +SIMODE0[0xc]:(ENOVERRUN|ENIOERR) +CCSCBCTL[0x0] +ahd0: REG0 == 0x1f3, SINDEX = 0x133, DINDEX = 0x106 +ahd0: SCBPTR == 0x1e1, SCB_NEXT == 0x1f4, SCB_NEXT2 == 0xff0a +CDB 2a 0 3 80 88 c1 +STACK: 0x23 0x140 0x140 0x286 0x286 0x27f 0x286 0x39 +<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> +LQIRETRY for LQIPHASE_NLQ +>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< +ahd0: Dumping Card State at program address 0xa9 Mode 0x0 +Card was paused +INTSTAT[0x8]:(SCSIINT) SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0] +INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO) +SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE) +SCSISIGI[0xb6]:(P_MESGOUT|REQI|BSYI|ATNI) SCSIPHASE[0x4]:(MSG_OUT_PHASE) +SCSIBUS[0xbf] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) +SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) +SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x80]:(INTVEC1DSL) +SEQ_FLAGS[0x0] SEQ_FLAGS2[0x4]:(SELECTOUT_QFROZEN) +QFREEZE_COUNT[0x3a] KERNEL_QFREEZE_COUNT[0x39] MK_MESSAGE_SCB[0xff00] +MK_MESSAGE_SCSIID[0xff] SSTAT0[0x2]:(SPIORDY) SSTAT1[0x11]:(REQINIT|PHASEMIS) +SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) +LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED) +LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0) + +SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0 +qinstart = 59875 qinfifonext = 59883 +QINFIFO: 0x1e1 0x19b 0x1ec 0x1e8 0x1c9 0x1e4 0x1f0 0x1d5 +WAITING_TID_QUEUES: +Pending list: +469 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +496 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +484 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +457 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +488 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +492 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +411 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +481 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +Total 19 +Kernel Free SCB lists: + Any Device: 468 461 497 449 502 487 480 416 454 467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421 483 455 507 458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510 477 401 466 473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425 426 475 474 427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445 446 437 438 439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 24! 9 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +Sequencer Complete DMA-inprog list: +Sequencer Complete list: +Sequencer DMA-Up and Complete list: +Sequencer On QFreeze and Complete list: + + +ahd0: FIFO0 Active, LONGJMP == 0x2db, SCB 0x1a1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN) DFSTATUS[0x8]:(HDONE) +SG_CACHE_SHADOW[0xa2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x6]:(DATAINFIFO|DLZERO) SHADDR = 0x07e154006, SHCNT = 0xfffffa +HADDR = 0x01568a00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) + +ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) +SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 +HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) +LQIN: 0x5 0x0 0x1 0xa1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x2 0x0 +ahd0: LQISTATE = 0x1f, LQOSTATE = 0x0, OPTIONMODE = 0x42 +ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 +ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 + +SIMODE0[0xc]:(ENOVERRUN|ENIOERR) +CCSCBCTL[0x0] +ahd0: REG0 == 0x9e60, SINDEX = 0x111, DINDEX = 0x106 +ahd0: SCBPTR == 0x1a1, SCB_NEXT == 0x1c2, SCB_NEXT2 == 0xff0a +CDB 2a 0 3 80 a0 41 +STACK: 0x36 0x24 0x140 0x140 0x286 0x286 0x27f 0x2db +<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> +ahd0: Recovery Initiated - Card was not paused +>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< +ahd0: Dumping Card State at program address 0xa9 Mode 0x0 +INTSTAT[0x0] SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0] +INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO) +SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE) +SCSISIGI[0xb6]:(P_MESGOUT|REQI|BSYI|ATNI) SCSIPHASE[0x0] +SCSIBUS[0xbf] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) +SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) +SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x80]:(INTVEC1DSL) +SEQ_FLAGS[0x0] SEQ_FLAGS2[0x4]:(SELECTOUT_QFROZEN) +QFREEZE_COUNT[0x3a] KERNEL_QFREEZE_COUNT[0x39] MK_MESSAGE_SCB[0xff00] +MK_MESSAGE_SCSIID[0xff] SSTAT0[0x2]:(SPIORDY) SSTAT1[0x11]:(REQINIT|PHASEMIS) +SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) +LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED) +LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0) + +SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0 +qinstart = 59875 qinfifonext = 59890 +QINFIFO: 0x1e1 0x19b 0x1ec 0x1e8 0x1c9 0x1e4 0x1f0 0x1d5 0x1d4 0x1cd 0x1f1 0x1c1 0x1f6 0x1e7 0x1e0 +WAITING_TID_QUEUES: +Pending list: +480 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +487 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x17] +502 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +449 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +497 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +461 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +468 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +469 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +496 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +484 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +457 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +488 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +492 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +411 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +481 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +Total 26 +Kernel Free SCB lists: + Any Device: 416 454 467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421 483 455 507 458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510 477 401 466 473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425 426 475 474 427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445 446 437 438 439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 24! 2 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +Sequencer Complete DMA-inprog list: +Sequencer Complete list: +Sequencer DMA-Up and Complete list: +Sequencer On QFreeze and Complete list: + + +ahd0: FIFO0 Active, LONGJMP == 0x2db, SCB 0x1a1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN) DFSTATUS[0x8]:(HDONE) +SG_CACHE_SHADOW[0xa2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x6]:(DATAINFIFO|DLZERO) SHADDR = 0x07e154006, SHCNT = 0xfffffa +HADDR = 0x01568a00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) + +ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) +SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 +HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) +LQIN: 0x5 0x0 0x1 0xa1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x2 0x0 +ahd0: LQISTATE = 0x1f, LQOSTATE = 0x0, OPTIONMODE = 0x42 +ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 +ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 + +SIMODE0[0xc]:(ENOVERRUN|ENIOERR) +CCSCBCTL[0x0] +ahd0: REG0 == 0x9e60, SINDEX = 0x111, DINDEX = 0x106 +ahd0: SCBPTR == 0x1a1, SCB_NEXT == 0x1c2, SCB_NEXT2 == 0xff0a +CDB 2a 0 3 80 a0 41 +STACK: 0x36 0x24 0x140 0x140 0x286 0x286 0x27f 0x2db +<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> +(da1:ahd0:0:2:0): SCB 499 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 508 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 419 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 451 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 414 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 406 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 450 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 417 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 500 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 403 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +(da1:ahd0:0:2:0): SCB 501 - timed out +(da1:ahd0:0:2:0): Other SCB Timeout +ahd0: Recovery Initiated - Card was not paused +>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< +ahd0: Dumping Card State at program address 0x34 Mode 0x0 +INTSTAT[0x0] SELOID[0x2] SELID[0x20] HS_MAILBOX[0x0] +INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO) +SAVED_MODE[0x11] DFFSTAT[0x20]:(CURRFIFO_0|FIFO1FREE) +SCSISIGI[0xb6]:(P_MESGOUT|REQI|BSYI|ATNI) SCSIPHASE[0x0] +SCSIBUS[0xbf] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) +SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) +SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x0] +SEQ_FLAGS2[0x4]:(SELECTOUT_QFROZEN) QFREEZE_COUNT[0x3a] +KERNEL_QFREEZE_COUNT[0x39] MK_MESSAGE_SCB[0xff00] +MK_MESSAGE_SCSIID[0xff] SSTAT0[0x2]:(SPIORDY) SSTAT1[0x11]:(REQINIT|PHASEMIS) +SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) +LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED) +LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81]:(LQOSTOP0) + +SCB Count = 512 CMDS_PENDING = 11 LASTSCB 0x1f3 CURRSCB 0x1f3 NEXTSCB 0xffc0 +qinstart = 59875 qinfifonext = 59890 +QINFIFO: 0x1e1 0x19b 0x1ec 0x1e8 0x1c9 0x1e4 0x1f0 0x1d5 0x1d4 0x1cd 0x1f1 0x1c1 0x1f6 0x1e7 0x1e0 +WAITING_TID_QUEUES: +Pending list: +480 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +487 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x17] +502 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +449 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +497 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +461 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +468 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +469 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +496 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +484 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +457 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +488 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +492 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +411 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +481 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) +SCB_SCSIID[0x27] +499 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +508 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +419 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +451 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +414 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +406 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +450 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +417 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +500 FIFO_USE[0x1] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +403 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +501 FIFO_USE[0x0] SCB_CONTROL[0x60]:(TAG_ENB|DISCENB) SCB_SCSIID[0x27] +Total 26 +Kernel Free SCB lists: + Any Device: 416 454 467 506 478 505 503 494 400 459 412 489 420 498 485 495 464 460 410 421 483 455 507 458 409 404 493 511 448 399 472 408 415 418 413 482 490 452 476 407 510 477 401 466 473 463 479 471 491 405 462 465 456 486 402 504 429 422 423 424 470 425 426 475 474 427 428 430 431 432 433 434 435 436 509 453 447 440 441 442 443 444 445 446 437 438 439 398 397 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 24! 2 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +Sequencer Complete DMA-inprog list: +Sequencer Complete list: +Sequencer DMA-Up and Complete list: +Sequencer On QFreeze and Complete list: + + +ahd0: FIFO0 Active, LONGJMP == 0x2db, SCB 0x1a1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0xc]:(DIRECTION|HDMAEN) DFSTATUS[0x8]:(HDONE) +SG_CACHE_SHADOW[0xa2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x6]:(DATAINFIFO|DLZERO) SHADDR = 0x07e154006, SHCNT = 0xfffffa +HADDR = 0x01568a00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) + +ahd0: FIFO1 Free, LONGJMP == 0x8286, SCB 0x1c1 +SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) +SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) +SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] +SOFFCNT[0x1] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 +HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) +LQIN: 0x5 0x0 0x1 0xa1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x2 0x0 +ahd0: LQISTATE = 0x1f, LQOSTATE = 0x0, OPTIONMODE = 0x42 +ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 +ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 + +SIMODE0[0xc]:(ENOVERRUN|ENIOERR) +CCSCBCTL[0x0] +ahd0: REG0 == 0x9e60, SINDEX = 0x100, DINDEX = 0x106 +ahd0: SCBPTR == 0x1a1, SCB_NEXT == 0x1c2, SCB_NEXT2 == 0xff0a +CDB 2a 0 3 80 a0 41 +STACK: 0x24 0x140 0x140 0x286 0x286 0x27f 0x2db 0x33 +<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> +(da0:ahd0:0:1:0): SCB 488 - timed out +(da0:ahd0:0:1:0): Other SCB Timeout +(da0:ahd0:0:1:0): No other SCB worth waiting for... +ahd0: Issued Channel A Bus Reset. 26 SCBs aborted +(da0:ahd0:0:1:0): WRITE(6). CDB: a 0 1 1f 20 0 +(da0:ahd0:0:1:0): CAM Status: SCSI Status Error +(da0:ahd0:0:1:0): SCSI Status: Check Condition +(da0:ahd0:0:1:0): UNIT ATTENTION asc:29,2 +(da0:ahd0:0:1:0): SCSI bus reset occurred field replaceable unit: 2 +(da0:ahd0:0:1:0): Retrying Command (per Sense Data) +(da1:ahd0:0:2:0): WRITE(6). CDB: a 1c b6 3f 20 0 +(da1:ahd0:0:2:0): CAM Status: SCSI Status Error +(da1:ahd0:0:2:0): SCSI Status: Check Condition +(da1:ahd0:0:2:0): UNIT ATTENTION asc:29,2 +(da1:ahd0:0:2:0): SCSI bus reset occurred field replaceable unit: 2 +(da1:ahd0:0:2:0): Retrying Command (per Sense Data) +(da1:ahd0:0:2:0): WRITE(10). CDB: 2a 0 3 ec a1 7f 0 0 20 0 +(da1:ahd0:0:2:0): CAM Status: SCSI Status Error +(da1:ahd0:0:2:0): SCSI Status: Check Condition +(da1:ahd0:0:2:0): ABORTED COMMAND info:3eca17f asc:47,3 +(da1:ahd0:0:2:0): Information unit iuCRC error detected field replaceable unit: 8 +(da1:ahd0:0:2:0): Retrying Command (per Sense Data) From nlandys at gmail.com Sun Aug 2 18:53:30 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 2 18:53:36 2009 Subject: Advice on secure, simple web forum software Message-ID: <560f92640908021153n1b8e5f88xc5c4be54385b52fb@mail.gmail.com> One of my not-for-profit websites is increasing in popularity and users are requesting forums. I am going to add forums now, but I'm not sure which route to take: 1. Install the forums software so it runs on my webserver. 2. Use some third-party forums website [with their advertising probably]. I much prefer #1 to avoid any advertising (which my website is completely free of). Packages currently installed on my system that may be relevant are: apache-2.2.11_7 php5-5.2.10 I would like to get some recommendations on which route to take. If I'm going to install forums to run directly on my server, the software needs to be secure (as few bugs or loopholes, exploits as possible), the same UNIX user will be running a couple of other small sites. Also simplicity of design is preferred, feature bloat and dependencies are bad. I'm willing to install a database such as MySQL. From tajudd at gmail.com Sun Aug 2 19:53:53 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Aug 2 19:54:00 2009 Subject: FreeBSD Security Advisory FreeBSD-SA-09:12.bind In-Reply-To: <200907290048.n6T0mZ0D001225@freefall.freebsd.org> References: <200907290048.n6T0mZ0D001225@freefall.freebsd.org> Message-ID: Trying to apply this to a 6.4 box with no manpages install. Install fails because the man3 directory doesn't exist. is this expected? Adding the src.conf knob of WITHOUT_MAN=1 still prevents the updated libraries to install. I'm just following the directions on the advisory and doesn't install cleanly. I'm not running named/bind on the box, so there is no immediate pressure, but I'd still like to apply the fix. Thanks! From anton at sng.by Sun Aug 2 20:08:40 2009 From: anton at sng.by (=?KOI8-R?B?4c7Uz84g69XS2NHO?=) Date: Sun Aug 2 20:08:47 2009 Subject: Analyze load of the channel to Internet Message-ID: <8652e7930908021308k2bdd0d3cj13ebc34383c0c32e@mail.gmail.com> Hello everybody... Need to view and get real-time reporting of outgoing channel to Internet? I think, that this is may be realized by means of ipfw (e.g. - get counters of count rules for Internet and divide them to time, which passed between analyzing) But, maybe, there is an utility, to which I can communicate (or which could analyze) my outgoing channel to Internet - and report me (mean some redirection script) when an outgoing channel gets overflowed, and I need to redirect all other outgoing traffic to another channel. I would like to clear: I have to channels for Internet, meaned for gaming club - but I don't have enough finance to afford buying some Cisco device and this 2 channel are 512 kilobits and 768 kilobits of outgoing traffic Please, help From sseekamp at risei.net Sun Aug 2 20:57:04 2009 From: sseekamp at risei.net (Scott Seekamp) Date: Sun Aug 2 20:57:11 2009 Subject: USB Vendor ID's Message-ID: I have 2 servers running what should be identical copies of 7.2 release. I am plugging in an Apple USB Ethernet adapter and on one server I get this: ugen3: on uhub7 and on the other I get this: ugen0: on uhub0 What would cause the device id to be recognized on one server and not the other? They both have identical kernel configs. Thanks Scott From djuatdelta at gmail.com Sun Aug 2 21:05:41 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Aug 2 21:05:48 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? In-Reply-To: <20090802111651.5b7cca9b@bobcat.edu> References: <20090802111651.5b7cca9b@bobcat.edu> Message-ID: I've had great success with my my T43. I strongly recommend it. From rbooth at juniper.net Sun Aug 2 21:24:35 2009 From: rbooth at juniper.net (Randy Booth) Date: Sun Aug 2 21:24:41 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? In-Reply-To: References: <20090802111651.5b7cca9b@bobcat.edu> Message-ID: <4BD66FC255394E49AF2EC47B4E7974173C72E2E52D@EMBX01-HQ.jnpr.net> Avoid T42 (2374-K5U). Everything works fine, but it's an oddball version apparently and there is next to no documentation regarding it on many of the wiki sites. There are many decent models of T42. I'd just avoid this particular model to avoid confusion. Thanks, Randy -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Daniel Underwood Sent: Sunday, August 02, 2009 5:06 PM To: herbert langhans Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD & IBM Thinkpad - What Model to Choose? I've had great success with my my T43. I strongly recommend it. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From alexbestms at math.uni-muenster.de Sun Aug 2 21:51:19 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Sun Aug 2 21:51:26 2009 Subject: strange ee behaviour Message-ID: this issue still exists in BETA-2. imo it really needs to be fixed before the release of 8.0. if i were to test a new OS and discover that it comes with an editor which crashes when opening a new term i'd be very frustrated. alex From frank at shute.org.uk Mon Aug 3 00:52:27 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon Aug 3 00:52:34 2009 Subject: Looking for fast graphical web browser In-Reply-To: References: Message-ID: <20090731112909.GA53554@orange.esperance-linux.co.uk> On Fri, Jul 31, 2009 at 02:32:49AM -0400, Daniel Underwood wrote: > > Can anyone suggest a fast graphical web browser? I use Firefox > (because every page displays well and I can sync bookmarks), and I > also use elinks (when graphics don't matter). I'm looking for some > middle ground, a browser that can display most sites well but is > faster (or more lightweight) than Firefox. (Note: I tried dillo, but > it doesn't display most sites well enough.) You could give galeon a try. Disclaimer: I used it for a bit years ago, so no idea what it's like now. > > TIA, > Daniel Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From Ggatten at waddell.com Mon Aug 3 01:55:24 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Mon Aug 3 01:55:31 2009 Subject: Analyze load of the channel to Internet Message-ID: <70C0964126D66F458E688618E1CD008A0793F2AB@WADPEXV0.waddell.com> almost any NIC / OS will support SNMP MIB-II counters, which includes octets Tx and Rx. MANY tools available for "getting" snmp mib values. If you want util AND details on IP, ports, etc. - check out nTop.org ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Sun Aug 02 15:08:38 2009 Subject: Analyze load of the channel to Internet Hello everybody... Need to view and get real-time reporting of outgoing channel to Internet? I think, that this is may be realized by means of ipfw (e.g. - get counters of count rules for Internet and divide them to time, which passed between analyzing) But, maybe, there is an utility, to which I can communicate (or which could analyze) my outgoing channel to Internet - and report me (mean some redirection script) when an outgoing channel gets overflowed, and I need to redirect all other outgoing traffic to another channel. I would like to clear: I have to channels for Internet, meaned for gaming club - but I don't have enough finance to afford buying some Cisco device and this 2 channel are 512 kilobits and 768 kilobits of outgoing traffic Please, help _______________________________________________ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From fbsd at dannysplace.net Mon Aug 3 02:01:42 2009 From: fbsd at dannysplace.net (Danny Carroll) Date: Mon Aug 3 02:01:49 2009 Subject: Sendmail Masqurading and root mails Message-ID: <4A763BDD.2010308@dannysplace.net> I have a situation that I've come across from time to time that I have never found a good fix for. Sometimes I'll install a freebsd box at a site with private addresses (RFC 1918). Most of the time these sites also have local DNS setups. I'll take my home network as an example. My FreeBSD box (7.2) does: - File serving - PPP/Routing/NATd for the local network - WWW - Local DNS Nothing special. The network is a 192.168 network and the local domain is .lan The problem is when I try to forward periodic output to my real email address. My email box see's the EHLO from beastie.lan and rejects the message based on the fact that root@beastie.lan is an unroutable address. There are a few solutions I've used in the past. - Replace sendmail with exim and configure the SMTP domain. - Put beastie.lan in my email servers hosts file. Neither of these are what I am looking for. I'd like to make sendmail re-write all outgoing emails (envelope as well as message) as *@some.real.domain instead of *@beastie.lan. I have a simple sendmail submit setup. (sendmail=no in rc.conf) I've added the following to the default sendmail mc file: MASQUERADE_AS(`mypublicdomain.com')dnl FEATURE(masquerade_envelope)dnl MASQUERADE_DOMAIN(beasie.lan)dnl Recompiled the cf files and restarted sendmail. Here is the kicker. If I log in as a normal user it masquerades just fine. If I simply "su -" to root, the masquerading works fine and the mail is sent as the original logged in user. But if I log in as root via the console then it does not alter the messages. Apart from ditching sendmail for another MTA, does anyone know how I might coerce sendmail into rewriting root's messages as well? From djuatdelta at gmail.com Mon Aug 3 02:39:21 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Mon Aug 3 02:39:29 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? In-Reply-To: References: <20090802111651.5b7cca9b@bobcat.edu> Message-ID: > I've had great success with my my T43. ?I strongly recommend it. Everything on my T43 works with without any extra configuration. The only drivers you have to mess with are the wireless drivers. But the "iwi" drivers work perfectly, and you can configure them easily a few extra lines in /etc/rc.conf and /boot/loader.conf. Again, excellent laptop! From nealhogan at gmail.com Mon Aug 3 02:41:26 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Mon Aug 3 02:41:33 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090731112909.GA53554@orange.esperance-linux.co.uk> References: <20090731112909.GA53554@orange.esperance-linux.co.uk> Message-ID: > On Fri, Jul 31, 2009 at 02:32:49AM -0400, Daniel Underwood wrote: >> >> Can anyone suggest a fast graphical web browser? ?I use Firefox >> (because every page displays well and I can sync bookmarks), and I >> also use elinks (when graphics don't matter). ?I'm looking for some >> middle ground, a browser that can display most sites well but is >> faster (or more lightweight) than Firefox. ?(Note: I tried dillo, but >> it doesn't display most sites well enough.) http://en.wikipedia.org/wiki/List_of_web_browsers That seems to a logical suggestion given that I'm (we are) not sure what you are looking for. "~Firefox is too slow and dillo doesn't display most websites . . . well enough~" is a bit tough to parse (specifically, to your needs). I find ff to be good enough, as far as your requirements are concerned, as well as IE (ugh!). From lordofhyphens at gmail.com Mon Aug 3 02:41:54 2009 From: lordofhyphens at gmail.com (LoH) Date: Mon Aug 3 02:42:01 2009 Subject: Windows 2008 + AD + PF + bridge = problems? In-Reply-To: <548f3c460907311227i555aa7der39f1f8af435a6b74@mail.gmail.com> References: <548f3c460907311115y5e89341ds91b43cd62c16dbf4@mail.gmail.com> <4CDE5D672E6F40FEAE3138B1AF745B17@rivendell> <548f3c460907311227i555aa7der39f1f8af435a6b74@mail.gmail.com> Message-ID: <4A764D17.1060905@gmail.com> > Another idea could be giving 7.x a shot as it has newer version of PF IIRC. > > > That's on the list of things to try, but upgrading will probably be painful, > so I'm hoping to find something else first. > > Something else you might want to try is to find/install the new PF from source, if you don't want to try a general upgrade. From tmende at optusnet.com.au Mon Aug 3 02:47:42 2009 From: tmende at optusnet.com.au (Tom Mende) Date: Mon Aug 3 02:47:54 2009 Subject: freebsd-update & userland sources Message-ID: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> Is there a way to get freebsd-update to keep userland sources up to date? I had thought that having src, world and kernel as components in the freebsd-update.conf file would do this but it doesn't seem to. Do I just add usr.bin and usr.sbin to the components list in the conf file and run freebsd-update or is it more complex than this? I have read the man pages on this but there must be a gap between my english and how the man pages are written because I'm obviously missing the point somewhere. By way of background, I am trying not to use csup / cvsup and like processes as their past, admittedly incorrect, usage by me, combined with my incompetent salvage operations, has hosed my systems to the point of needing to be reinstalled from scratch. I have been using a combination of portsnap and freebsd-update to keep my 7.2-RELEASE system up to date and commenced this at about 6.3-RELEASE and have managed to not hose the system since that time. It now however appears I need to have userland sources to keep fusefs-kmod up to date. /usr/ports/sysutils/fusefs-kmod>make install clean ===> fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src. *** Error code 1 Stop in /usr/ports/sysutils/fusefs-kmod. .if !exists(${SRC_BASE}/sbin/mount) IGNORE= requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src .endif I have got around this by manually downloading the fusefs- kmod-0.3.9.p1.20080208_6.tbz, pkg_adding it, and then forcing the packages that have this pkg as a dependency to portupgrade with the -f option. Now portupgrade hits this pkg warning message (IGNORE msg) everytime it runs. Cheers, Tom Mende From lordofhyphens at gmail.com Mon Aug 3 03:03:08 2009 From: lordofhyphens at gmail.com (LoH) Date: Mon Aug 3 03:03:14 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? In-Reply-To: <4BD66FC255394E49AF2EC47B4E7974173C72E2E52D@EMBX01-HQ.jnpr.net> References: <20090802111651.5b7cca9b@bobcat.edu> <4BD66FC255394E49AF2EC47B4E7974173C72E2E52D@EMBX01-HQ.jnpr.net> Message-ID: <4A764C0A.9030304@gmail.com> For now, I'd suggest avoiding the T500 series as well. They're good machines, but you're basically stuck (for now) with either the integrated graphics or the radeon driver (which still is spotty on X). Randy Booth wrote: > Avoid T42 (2374-K5U). Everything works fine, but it's an oddball version apparently and there is next to no documentation regarding it on many of the wiki sites. There are many decent models of T42. I'd just avoid this particular model to avoid confusion. > > Thanks, > > Randy > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Daniel Underwood > Sent: Sunday, August 02, 2009 5:06 PM > To: herbert langhans > Cc: freebsd-questions@freebsd.org > Subject: Re: FreeBSD & IBM Thinkpad - What Model to Choose? > > I've had great success with my my T43. I strongly recommend it > > From jeffrey at goldmark.org Mon Aug 3 04:29:24 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon Aug 3 04:29:31 2009 Subject: Sendmail Masqurading and root mails In-Reply-To: <4A763BDD.2010308@dannysplace.net> References: <4A763BDD.2010308@dannysplace.net> Message-ID: On Aug 2, 2009, at 8:22 PM, Danny Carroll wrote: > MASQUERADE_AS(`mypublicdomain.com')dnl > FEATURE(masquerade_envelope)dnl > MASQUERADE_DOMAIN(beasie.lan)dnl > > Recompiled the cf files and restarted sendmail. > > Here is the kicker. If I log in as a normal user it masquerades just > fine. > > If I simply "su -" to root, the masquerading works fine and the > mail is > sent as the original logged in user. > > But if I log in as root via the console then it does not alter the > messages. I found the answer to your problem here: http://www.grok.org.uk/docs/smroot.html The file that is being included which has the EXPOSED_USER(`root') line lives at /usr/share/sendmail/cf/domain/generic.m4 Just make a copy of that file, call it beasie.m4, remove the "EXPOSE_USER" directive from your copy and then change DOMAIN(generic) to DOMAIN(beasie) in your mail .mc file. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From jeffrey at goldmark.org Mon Aug 3 04:34:29 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon Aug 3 04:34:37 2009 Subject: Sendmail Masqurading and root mails In-Reply-To: <4A763BDD.2010308@dannysplace.net> References: <4A763BDD.2010308@dannysplace.net> Message-ID: <30347677-7D24-44D1-9D47-1A48D4CD1154@goldmark.org> On Aug 2, 2009, at 8:22 PM, Danny Carroll wrote: > I've added the following to the default sendmail mc file: > > MASQUERADE_AS(`mypublicdomain.com')dnl > FEATURE(masquerade_envelope)dnl > MASQUERADE_DOMAIN(beasie.lan)dnl > > Recompiled the cf files and restarted sendmail. > > Here is the kicker. If I log in as a normal user it masquerades just > fine. > > If I simply "su -" to root, the masquerading works fine and the > mail is > sent as the original logged in user. > > But if I log in as root via the console then it does not alter the > messages. By default sendmail does not MASQUERADE root (figuring that you get root mail from several of your machines and want to see which machine it is from). In the old days there was a feature "NO_MASQUERADE_ROOT", but looking through cf/README I see that that is one of the many things that have changed since I last seriously worked with sendmail. Now sendmail has a class of "exposed" users. These are usernames for which masquerading shouldn't take place. By default, root is in there. There is an .mc file directive EXPOSED(`username') which, according to the documentation, adds usernames to the list that shouldn't be masqueraded. Unfortunately, I don't see a mechanism for removing members from the E (Exposed) class. You could try EXPOSED() or EXPOSED(`') to see if either will remove things in the E class. The offending line in the generated .cf file is C{E}root if you still end up with that, then root will not get masqueraded. So if the above doesn't work, there probably is a clean way of clearing a class from the .mc file, but I don't know what it is. Hopefully others will be able to answer. In the worst case, you could manually edit the generated .cf file, to remove the C{E}root line, but that is not really a road I would recommend going down. At the risk of suggesting something that you probably know you should do in the long run, but would take a lot of tedious work to set up, you should probably move away from having your private network be .lan. Instead use .private.mypublicdomain.com and set up a local (on your private network) nameserver for that private subdomain. Sorry I couldn't be of more help. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From illoai at gmail.com Mon Aug 3 04:50:05 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Mon Aug 3 04:50:12 2009 Subject: freebsd-update & userland sources In-Reply-To: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> References: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> Message-ID: 2009/8/2 Tom Mende : > Is there a way to get freebsd-update to keep userland sources up to date? > > I had thought that having src, world and kernel as components in the > freebsd-update.conf file would do this but it doesn't seem to. Do I just add > usr.bin and usr.sbin to the components list in the conf file and run > freebsd-update or is it more complex than this? I have read the man pages on > this but there must be a gap between my english and how the man pages are > written because I'm obviously missing the point somewhere. > > By way of background, I am trying not to use csup / cvsup and like processes > as their past, admittedly incorrect, usage by me, combined with my > incompetent salvage operations, has hosed my systems to the point of needing > to be reinstalled from scratch. I have been using a combination of portsnap > and freebsd-update to keep my 7.2-RELEASE system up to date and commenced > this at about 6.3-RELEASE and have managed to not hose the system since that > time. It now however appears I need to have userland sources to keep > fusefs-kmod up to date. > > /usr/ports/sysutils/fusefs-kmod>make install clean > ===> ?fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sources to be > installed. Set SRC_BASE if it is not in /usr/src. > *** Error code 1 > > Stop in /usr/ports/sysutils/fusefs-kmod. > > > .if !exists(${SRC_BASE}/sbin/mount) > IGNORE= ? ? ? ? requires the userland sources to be installed. Set SRC_BASE > if it is not in /usr/src > .endif > > > I have got around this by manually downloading the > fusefs-kmod-0.3.9.p1.20080208_6.tbz, pkg_adding it, and then forcing the > packages that have this pkg as a dependency to portupgrade with the -f > option. Now portupgrade hits this pkg warning message (IGNORE msg) everytime > it runs. > It sounds like you could solve this by merely downloading and untarring the sources. Or untarring the sources from your CD, if you have one. Download everything in http://mirror.pacific.net.au/FreeBSD/releases/i386/7.2-RELEASE/src/ into a directory and issue ./install.sh all This should work fine, even if you are running some other architecture as the sources are the same. -- -- From fbsd at dannysplace.net Mon Aug 3 05:10:06 2009 From: fbsd at dannysplace.net (Danny Carroll) Date: Mon Aug 3 05:10:14 2009 Subject: Sendmail Masqurading and root mails In-Reply-To: References: <4A763BDD.2010308@dannysplace.net> Message-ID: <4A767180.7080108@dannysplace.net> Jeffrey Goldberg wrote: > I found the answer to your problem here: > > http://www.grok.org.uk/docs/smroot.html > > > The file that is being included which has the > > EXPOSED_USER(`root') > > line lives at > > /usr/share/sendmail/cf/domain/generic.m4 > > Just make a copy of that file, call it beasie.m4, remove the > "EXPOSE_USER" directive from your copy and then change > > DOMAIN(generic) > > to > > DOMAIN(beasie) > > in your mail .mc file. > > Cheers, > It seems your google-fu is much better than mine. Thanks so much for your help. -D From lists_freebsd at bluewin.ch Mon Aug 3 05:22:44 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Mon Aug 3 05:22:53 2009 Subject: Cyrus Imapd with SASL, authenticate against AD Windows 2003 with Kerberos5 Message-ID: <20090803050458.GA81711@saturn.pcs.ms> Hello My goal is to authenticate my Cyrus Imapd users against Windos 2003 Active Directory with Kerberos . I have the following setup: Kerberos5 client =========== FreeBSD acsvfbsd06.domain.tld 7.2-RELEASE FreeBSD 7.2-RELEASE /etc/krb.conf: [libdefaults] default_realm = domain.tld default_etypes_des = des-cbc-md5 [realms] ACUTRONIC.CH = { kdc = tcp/acsv3k04.domain.tld:88 } [logging] kdc = SYSLOG:INFO:AUTH admin_server = SYSLOG:INFO:AUTH default = SYSLOG:INFO:AUTH /etc/krb5.keytab (ktutil list output): For the keytab file I followed: http://technet.microsoft.com/en-us/library/bb742433.aspx FILE:/etc/krb5.keytab: Vno Type Principal 1 des-cbc-md5 host/acsvfbsd06.domain.tld@DOMAIN.TLD I get tickets if I use kinit user: acsvfbsd06# kinit user martin@DOMAIN.TLD's Password: kinit: NOTICE: ticket renewable lifetime is 1 week klist: Credentials cache: FILE:/tmp/krb5cc_0 Principal: user@DOMAIN.TLD Issued Expires Principal Jul 31 17:58:09 Aug 1 03:57:44 krbtgt/DOMAIN.TLD@DOMAIN.TLD I an use ldapsearch as follows: acsvfbsd06# ldapsearch -v -LLL -b "OU=Mitgliedsserver,OU=ACH,DC=Domain,DC=tld" -h acsv3k04.domain.tld description ldap_initialize( ldap://acsv3k04.domain.tld) SASL/GSSAPI authentication started SASL username: user@DOMAIN.TLD SASL SSF: 56 SASL data security layer installed. filter: (objectclass=*) requesting: description dn: OU=Mitgliedsserver,OU=ACH,DC=Domain,DC=tld ... [snip] So far all looks well. For the Cyrus Imapd setup I run saslauthd -a kerberos5. /usr/local/etc/imapd.conf: configdirectory: /usr/imap/var/imap partition-default: /usr/imap/var/spool/imap virtdomains: yes admins:root cyrus sasl_option: 1 sasl_pwcheck_method: saslauthd sasl_mech_list: GSSAPI PLAIN LOGIN CRAM-MD5 DIGEST-MD5 sasl_log_level: 7 lmtpsocket: /usr/imap/var/imap/socket/lmtp allowplaintext: yes Each time I start a test by - testsaslauthd -u user -p password or - imtest -m plain -a user localhost I get ervery time saslauthd[42062]: do_auth : auth failure: [user=user] [service=imap] [realm=] [mech=kerberos5] [reason=krb5_verify_user_opt failed] The krb5_verify_user_opt failed is comming from the Kerberos 5 Library (libkrb5, -lkrb5) -> krb5_verify_user_opt and is located in the auth_krb5.c (from SASL). I ckecked the kerberos/DNS communication on both sides with tshark and Netmon (Microsoft's "tcpdump") but the kerberos communications seems to be ok. Additionaly I started also a struss on saslauthd but also without any look. So I have now no more ideas where I can check. Any hints are welcome. Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From ulrich at pukruppa.net Mon Aug 3 06:01:09 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Mon Aug 3 06:01:15 2009 Subject: snd_uaudio.ko (USB audio driver) doesn't work on FreeBSD 8.0-BETA2 amd64 Message-ID: <1249278181.1847.14.camel@pukruppa.net> Hi, since I upgraded to FreeBSD 8.0-BETA2 amd64 my sound device doesn't work anymore. In my /boot/loader.conf I have got snd_uaudio_load="YES" # kldstat shows Id Refs Address Size Name 1 35 0xffffffff80100000 ce46e0 kernel 2 1 0xffffffff80de5000 13dc0 snd_uaudio.ko [...] # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: at ? kld snd_uaudio [MPSAFE] (1p:1v/1r:1v channels duplex default) A device /dev/dsp0.1 exists. What's going on there? Thanks for your replies and hints Uli. From cristclark at comcast.net Mon Aug 3 06:49:24 2009 From: cristclark at comcast.net (Crist J. Clark) Date: Mon Aug 3 06:49:33 2009 Subject: Recovering Trashed Filesystems In-Reply-To: <20090731120046.82c135ca.freebsd@edvax.de> References: <20090731064650.GB93341@goku.i.pumpky.net> <20090731120046.82c135ca.freebsd@edvax.de> Message-ID: <20090803064920.GC93341@goku.i.pumpky.net> On Fri, Jul 31, 2009 at 12:00:46PM +0200, Polytropon wrote: > On Thu, 30 Jul 2009 23:46:50 -0700, "Crist J. Clark" wrote: [snip] > > We see "usr" is messed up. And what I'd like to recover are > > files up in usr/local/etc. > > > > Now I can "mount -r /dev/ad0s1a /mnt" to get the above results, > > but "fsck /dev/ad0s1a" returns, > > > > # fsck /dev/ad0s1a > > ** /dev/ad0s1a > > BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE > > > > LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y > > > > 32 is not a file system superblock > > SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE > > -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE > > SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8). > > You could try do locate superblocks using this command: Err... Hmmm. Seems to be something missing here? > Install the port ffs2recov and use its -s and -p options. Refer > to the excellent manpage. I got ffs2recov(1) and it would seem to be exactly what I need, but it's not working so well for me. I ran it with "-s" and it found some superblocks, superblock: 116113408(byte), 226784(block), cg: 116129792(byte), 226816(block), 10(nth), fs begin: 18446744073706014720(block), primary sb at: 18446744073706014848(block) superblock: 147439616(byte), 287968(block), cg: 147456000(byte), 288000(block), 2(nth), fs begin: 18446744073709086720(block), primary sb at: 18446744073709086848(block) superblock: 308805632(byte), 603136(block), cg: 308822016(byte), 603168(block), 11(nth), fs begin: 18446744073706014720(block), primary sb at: 18446744073706014848(block) superblock: 340131840(byte), 664320(block), cg: 340148224(byte), 664352(block), 3(nth), fs begin: 18446744073709086720(block), primary sb at: 18446744073709086848(block) ... But if I try to access that superblock as specified in the documentation, net5501# ffs2recov -o 226784 -p /dev/ad0s1f get_sblock: Bad magic (0) It doesn't work, but if I try it with bytes rather than blocks, net5501# ffs2recov -o 116113408 -p /dev/ad0s1f magic 19540119 (UFS2) time Fri Jun 27 20:36:13 2008 superblock location 65536 id [ 4865b1ad c24cb822 ] ncg 21 size 1970116 blocks 1907915 ... That makes me nervous. Anyway, I don't seem to be getting very far. ffs2recov(1) would seem to be exactly the thing I need, but it's not finding any files. [snip] > Finally, may I ask if you have any ideas about what caused this problem? Oh, yeah. The file systems reside on flash memory. I've been having issues with it for some time. It was bad enough that I couldn't get good dump(8)s of the file system for quite a while and running stuff like that made it more unstable. I did manual backups periodically of files that were more important, but of course, it failed right before I was due to make backups but after I had made a few changes earlier in the week. Once I recover all I can, I'll go spend another whopping $20 on a few gig of flash at Fry's. Right now, I'm net booting the sick little box in question. -- Crist J. Clark | cjclark@alum.mit.edu From mjs at rakupottery.org.uk Mon Aug 3 08:27:27 2009 From: mjs at rakupottery.org.uk (Martin Smith) Date: Mon Aug 3 08:27:34 2009 Subject: FreeBSD & IBM Thinkpad - What Model to Choose? In-Reply-To: <20090802111651.5b7cca9b@bobcat.edu> References: <20090802111651.5b7cca9b@bobcat.edu> Message-ID: <4A758C72.10405@rakupottery.org.uk> herbert langhans wrote: > Hi Daemons, > I bet there are FreeBSD-on-Thinkpad users out there. I need some help.. > > At the moment I search for a laptop, a used model from auction sites, preferably an IBM Thinkpad. There is a huge number of different models, even a Wiki with all the specs. But all the info doesn't help me to decide what model works best for me with FreeBSD. I also have no idea if the BSD drivers work out of the box. No dual boot required - I'll dump the Windows stuff. > > The model I search for is a cheap low-end type. Small harddisk is fine too, it even can be slow - I use mostly vim, fluxbox, a few small gtk-ports and even get by with a text browser like lynx. > > Otherwise I would really reqire the Thinkpad to be slim and have some kind of low power consumption (this depends on the kind of processor I guess - I have no clue what processor is a good choice). And an opportunity to use a PCMCIA-Card for a Wifi connection (and drivers for them!). > > Do you have any good/bad experiences with certain IBM Thinkpads? > Is there any special model (line) I should look for? > Are there any options I should look for or avoid (no BSD drivers available i.e)? I run stable and current on an X23, which is abt 866Mhz P3 with 640Mb ram, it is remarkably fast for it's spec, it will run gnome but is best with windowmaker. Also very easy to swap the hd over, takes just over one minute. It has one pcmcia slot in which I have a TP-LINK cheapo atheros based wireless card, works very well on stable, not with current, but I still expect it to eventually. Highly recommended. -- Martin From a at jenisch.at Mon Aug 3 09:24:46 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Aug 3 09:24:54 2009 Subject: NFS performance-tuning FreeBSD <-> NetApp Message-ID: <20090803085516.GA1270@aurora.oekb.co.at> Hi, I've got a FreeBSD 7.2 box (HP C-class Blade - AMD dual core Opteron (x64), 4GB RAM, Broadcom NetXtreme II BCM5706) that should be connected to a NetApp 3170 filer via NFS. Out of the box, with nothing tuned (no special parameters for mount_nfs, no kernel tuning), performance is very sluggish: I've got ~250Mbit/sec performance with peaks around 400Mbit/sec. Sure enough, neither CPU (server and NetApp) nor network performance is the problem here - it must be something NFS-related. Any ideas on how to increas my NFS-performance? (Special mount parameters, kernel tuning,...) Thanks in advance for any clue, -ewald From sailer.shen at gmail.com Mon Aug 3 09:36:03 2009 From: sailer.shen at gmail.com (sailer) Date: Mon Aug 3 09:36:11 2009 Subject: "ioctl (SIOCIPFL6): input/output error." when start ipfilter at freebsd 7.2 x64 Message-ID: <24787848.post@talk.nabble.com> This is my freebsd 7.2: [code] FreeBSD fbsd.test.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 3 06:40:56 UTC 2009 root@vfbsd.shstorm.com:/usr/src/sys/amd64/compile/kernel_IPF amd64 [/code] In kenrel_IPF, I add these lines: [code] options IPFILTER options IPFILTER_LOG [/code] Add these lines in /etc/rc.conf: [code] ipfilter_enable="YES" ipfilter_program="/sbin/ipf" ipfilter_rules="/etc/ipf.rules" ipfilter_flags="-D" ipmon_enable="YES" ipmon_flags="-D /var/log/ipfilter.log" [/code] This is /etc/ipf.rules: [code] pass out quick on lo0 all pass in quick on lo0 all block in on re0 all block out on re0 all block in log quick all with short block in log quick all with ipopts block in log quick all with frag block in log quick all with opt lsrr block in log quick all with opt ssrr pass in on re0 proto tcp from any to any port = 80 flags S/SA keep state pass in on re0 proto tcp from any to any port = 22 flags S/SA keep state pass in on re0 proto tcp from any to any port = ftp flags S/SA keep state pass in on re0 proto tcp from any to any port = ftp-data flags S/SA keep state pass in on re0 proto tcp from any to any port 30000 >< 50001 flags S/SA keep state [/code] When start system, it shows some error messages: [code] ...... Enabling ipfilter ioctl (SIOCIPFL6): input/output error. ...... [/code] Who can help me? -- View this message in context: http://www.nabble.com/%22ioctl-%28SIOCIPFL6%29%3A-input-output-error.%22-when-start-ipfilter-at-freebsd-7.2-x64-tp24787848p24787848.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mexas at bristol.ac.uk Mon Aug 3 09:50:44 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Aug 3 09:50:51 2009 Subject: printing to password protected network printer Message-ID: <20090803095039.GA67498@mech-cluster241.men.bris.ac.uk> I've Canon iRC5185i network printer in my department, which is accessed with a username and a password. After reading chapter 9, printing, of the handbook, I still cannot see how passing a username and a password to a network printer can be done. Any advice? many thanks -- 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 w.riegler at cbtl.de Mon Aug 3 09:53:26 2009 From: w.riegler at cbtl.de (Wolfgang Riegler) Date: Mon Aug 3 09:53:34 2009 Subject: Looking for fast graphical web browser In-Reply-To: References: Message-ID: <200908031153.22226.w.riegler@cbtl.de> Has anyone tested Arora? From anton at sng.by Mon Aug 3 10:13:34 2009 From: anton at sng.by (Anton) Date: Mon Aug 3 10:13:41 2009 Subject: Analyze load of the channel to Internet In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2AB@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2AB@WADPEXV0.waddell.com> Message-ID: <1815694960.20090803131340@sng.by> Hello Gary, Due to what I've read about ntop - it is not really what I need. I dont have any Cisco routers, nor switches with port-mirroring - so I c need to k and I need to redi Monday, August 3, 2009, 4:55:00 AM, you wrote: > almost any NIC / OS will support SNMP MIB-II counter includes octets Tx and Rx. MANY tools available for "getting" snmp mib values. If you want util AND details on IP, ports, etc. - ch ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org References: <20090803095039.GA67498@mech-cluster241.men.bris.ac.uk> Message-ID: <20090803111447.GA94755@mech-cluster241.men.bris.ac.uk> On Mon, Aug 03, 2009 at 10:50:39AM +0100, Anton Shterenlikht wrote: > I've Canon iRC5185i network printer in my department, > which is accessed with a username and a password. > After reading chapter 9, printing, of the handbook, > I still cannot see how passing a username and a password > to a network printer can be done. It trurned out this printer is set up to accept direct HTTP connections, so I can print easily via web interface. LPD is disabled on this printer by the printer administrator, but SMB is allowed, so I think printing via apsfilter is also possible. In addition NetWare and AppleTalk can be configured on that printer, but I'm not sure if it helps printing from FreeBSD. -- 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 frederique at isafeelin.org Mon Aug 3 11:29:25 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Mon Aug 3 11:29:32 2009 Subject: ftps ? Message-ID: <4A76C9CF.5050100@isafeelin.org> I'm looking into running ftps for my webhosting server. But the ftpd of BSD seems incapable of doing so. Are there plans to implement this, or am I overlooking something? I'm aware of the fact that I can run a ftp server from ports to do this, but I would like to keep it as simple as possible. -- F From frederique at isafeelin.org Mon Aug 3 11:48:40 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Mon Aug 3 11:48:47 2009 Subject: ftps ? In-Reply-To: <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> Message-ID: <4A76CE91.3000506@isafeelin.org> Odhiambo ????? wrote: > What is ftps? # grep ftps /etc/services ftps-data 989/tcp # ftp protocol, data, over TLS/SSL ftps-data 989/udp ftps 990/tcp # ftp protocol, control, over TLS/SSL ftps 990/udp From odhiambo at gmail.com Mon Aug 3 12:03:41 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Mon Aug 3 12:03:48 2009 Subject: ftps ? In-Reply-To: <4A76CE91.3000506@isafeelin.org> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> Message-ID: <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < frederique@isafeelin.org> wrote: > Odhiambo ????? wrote: > > What is ftps? > > # grep ftps /etc/services > ftps-data 989/tcp # ftp protocol, data, over TLS/SSL > ftps-data 989/udp > ftps 990/tcp # ftp protocol, control, over TLS/SSL > ftps 990/udp > pure-ftpd supports TLS/SSL. I am wondering if it can do this. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From odhiambo at gmail.com Mon Aug 3 12:07:02 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Mon Aug 3 12:07:09 2009 Subject: ftps ? In-Reply-To: <4A76C9CF.5050100@isafeelin.org> References: <4A76C9CF.5050100@isafeelin.org> Message-ID: <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> On Mon, Aug 3, 2009 at 2:28 PM, Frederique Rijsdijk < frederique@isafeelin.org> wrote: > I'm looking into running ftps for my webhosting server. But the ftpd of > BSD seems incapable of doing so. > > Are there plans to implement this, or am I overlooking something? > > I'm aware of the fact that I can run a ftp server from ports to do this, > but I would like to keep it as simple as possible. > What is ftps? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From cristiano.deana at gmail.com Mon Aug 3 12:25:27 2009 From: cristiano.deana at gmail.com (Cristiano Deana) Date: Mon Aug 3 12:25:34 2009 Subject: ftps ? In-Reply-To: <4A76C9CF.5050100@isafeelin.org> References: <4A76C9CF.5050100@isafeelin.org> Message-ID: On Mon, Aug 3, 2009 at 1:28 PM, Frederique Rijsdijk wrote: > I'm looking into running ftps for my webhosting server. But the ftpd of > BSD seems incapable of doing so. you can use sftp (ftp over ssh): sshd_config(5) sftp(1) -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From nealhogan at gmail.com Mon Aug 3 12:26:33 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Mon Aug 3 12:26:40 2009 Subject: ftps ? In-Reply-To: <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> Message-ID: 2009/8/3 Odhiambo ????? : > On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < > frederique@isafeelin.org> wrote: > >> Odhiambo ????? wrote: >> > What is ftps? >> >> # grep ftps /etc/services >> ftps-data 989/tcp # ftp protocol, data, over TLS/SSL >> ftps-data 989/udp >> ftps 990/tcp # ftp protocol, control, over TLS/SSL >> ftps 990/udp >> > > pure-ftpd supports TLS/SSL. > > I am wondering if it can do this. I was curious about the OP's use of 'ftps" too. Perhaps, he could explain what plain-old-ftp doesn't do and what he wants it to do. > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "If you have nothing good to say about someone, just shut up!." > -- Lucky Dube > _______________________________________________ > 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 frederique at isafeelin.org Mon Aug 3 12:31:30 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Mon Aug 3 12:33:31 2009 Subject: ftps ? In-Reply-To: References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> Message-ID: <4A76D89D.6090308@isafeelin.org> Neal Hogan wrote: > I was curious about the OP's use of 'ftps" too. Perhaps, he could > explain what plain-old-ftp doesn't do and what he wants it to do. Encryption! -- Frederique From reko.turja at liukuma.net Mon Aug 3 12:33:59 2009 From: reko.turja at liukuma.net (Reko Turja) Date: Mon Aug 3 12:34:07 2009 Subject: ftps ? In-Reply-To: References: <4A76C9CF.5050100@isafeelin.org><991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com><4A76CE91.3000506@isafeelin.org><991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> Message-ID: >> pure-ftpd supports TLS/SSL. >> >> I am wondering if it can do this. > > I was curious about the OP's use of 'ftps" too. Perhaps, he could > explain what plain-old-ftp doesn't do and what he wants it to do. Plain old FTP transfers username/password pairs in plaintext over the internet, as well as the actual content, which is a security hole. sftp - the file transfer protocol included in SSH suite has been more than adequate replacement for my needs as the traffic is encrypted and there is no need for firewall trickery in order to get the separate data/control connections going. Said that, I'd just use sftp, there are free text based and graphical clients available and for the end user it handles just like regular ftp, with added bonuses like using keys for authentication etc. -Reko From chris at monochrome.org Mon Aug 3 12:40:43 2009 From: chris at monochrome.org (Chris Hill) Date: Mon Aug 3 12:40:51 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090731231007.feec5a75.freebsd@edvax.de> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> Message-ID: On Fri, 31 Jul 2009, Polytropon wrote: > On Fri, 31 Jul 2009 14:56:36 -0600, Chad Perrin wrote: >> On Fri, Jul 31, 2009 at 10:15:32PM +0200, Polytropon wrote: >>> Firefox even seems to lack a key to quit the program. :-) >> >> That's easy. Just press + and it'll close Firefox >> immediately. > > Negative for firefox-2.0.0.12,1 (on my desktop system) - no Ctrl+Q. :-) Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess that's 2.5 keystrokes, but at least it's keystrokes. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From nealhogan at gmail.com Mon Aug 3 12:43:57 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Mon Aug 3 12:44:04 2009 Subject: ftps ? In-Reply-To: <4A76D89D.6090308@isafeelin.org> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <4A76D89D.6090308@isafeelin.org> Message-ID: On Mon, Aug 3, 2009 at 7:31 AM, Frederique Rijsdijk wrote: > Neal Hogan wrote: >> I was curious about the OP's use of 'ftps" too. Perhaps, he could >> explain what plain-old-ftp doesn't do and what he wants it to do. > > > Encryption! OK! (If I just said that I wanted to run something like 'xyzs', would that be clear to you?) www.openssh.org > > > -- Frederique > > _______________________________________________ > 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 vince at unsane.co.uk Mon Aug 3 12:48:44 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon Aug 3 12:48:51 2009 Subject: Analyze load of the channel to Internet In-Reply-To: <1815694960.20090803131340@sng.by> References: <70C0964126D66F458E688618E1CD008A0793F2AB@WADPEXV0.waddell.com> <1815694960.20090803131340@sng.by> Message-ID: <4A76DCA2.6020204@unsane.co.uk> Anton wrote: > Hello Gary, > > Due to what I've read about ntop - it is not really what I need. > > I dont have any Cisco routers, nor switches with port-mirroring - so I > c=uld not collect any traffic. I have only 2 freebsd routers - and > need to k=ow - when the outgoing channel of first gets overflowed > and I need to redi=ect outgoing traffic to second Freebsd comes with bsnmp or if you prefer ports try net-snmp from ports, these will let you query the snmp OID's mentioned. I use a little perl script to query them and graph them myself for my home router. If you dont like snmp for some reason, putting something together using netstat shouldnt be too hard. For example (12:45:12 <~>) 0 # netstat -b -f inet -I fxp1 Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll fxp1 1500 10.0.0.0/25 intgate 806889 - 118190683 1247743 - 1621177480 - (excuse word wrap but it shouldnt be too hard to work out) running this every minute from cron would make it easy to grab the in (Ibytes) or out (Obytes) traffc and perform actions accordingly. very quick and dirty example: -------------cut-------------------- #!/bin/sh IFNAME="fxp0" OLDIN=$(netstat -b -I $IFNAME | awk '/Link/{print $7}') OLDOUT=$(netstat -b -I $IFNAME | awk '/Link/{print $10}') sleep 10 NEWIN=$(netstat -b -I $IFNAME | awk '/Link/{print $7}') NEWOUT=$(netstat -b -I $IFNAME | awk '/Link/{print $10}') INBPS=$(echo "( $NEWIN - $OLDIN ) / 10 " | bc ) OUTBPS=$(echo "( $NEWOUT - $OLDOUT ) / 10 " | bc ) echo "$IFNAME is doing $INBPS bytes a second inbound" echo "$IFNAME is doing $OUTBPS bytes a second outbound" --------------cut---------------------------- sample output: (13:50:09 <~>) 0 # sh foo.sh fxp0 is doing 1247 bytes a second inbound fxp0 is doing 51175 bytes a second outbound Vince > > Monday, August 3, 2009, 4:55:00 AM, you wrote: > > > > > almost any NIC / OS will support SNMP MIB-II counter=, which > includes octets Tx and Rx. MANY tools available for "getting" snmp mib values. > > If you want util AND details on IP, ports, etc. - ch=ck out nTop.org > > ----- Original Message ----- > > From: owner-freebsd-questions@freebsd.org > > To: freebsd-questions@freebsd.org > > Sent: Sun Aug 02 15:08:38 2009 > > Subject: Analyze load of the channel to Internet > > Hello everybody... > > Need to view and get real-time reporting of outgoing=hannel to > Internet? > > I think, that this is may be realized by means of ip=w (e.g. - get > counters > > of count rules for Internet and divide them to time,=hich passed > between > > analyzing) > > But, maybe, there is an utility, to which I can comm=nicate (or > which could > > analyze) my outgoing channel to Internet - and repor= me (mean some > > redirection script) when an outgoing channel gets ov=rflowed, and I > need to > > redirect all other outgoing traffic to another chann=l. > > I would like to clear: I have to channels for Intern=t, meaned for > gaming > > club - but I don't have enough finance to afford buy=ng some Cisco > device > > and this 2 channel are 512 kilobits and 768 kilobits=f outgoing > traffic > > Please, help > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > [1]http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- unsubscribe@freebsd.org" > > "This email is intended to be reviewed by only the i=tended > recipient and may contain information that is privileged and/or con fidential. If you are not the intended recipient, you are hereby > notified t=at any review, use, dissemination, disclosure or copying > of this email and=ts attachments, if any, is strictly prohibited. If > you have received this=mail in error, please immediately notify the > sender by return email and d=lete this email from your system." > > -- > > Best regards, > > Anton &nbs=; [2]mailto:anton@sng.by > > Administrator > > Feel free to contact me > > via ICQ 363780596 > > via Skype dobryak47 > > via phone +375 29 3320987 > > References > > 1. 3D"http://lists.freebsd.org/mailman/listinfo/freeb 2. 3D"mailto:anton@sng.by" > _______________________________________________ > 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 keramida at ceid.upatras.gr Mon Aug 3 12:58:05 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Aug 3 12:58:12 2009 Subject: Sendmail Masqurading and root mails In-Reply-To: <4A763BDD.2010308@dannysplace.net> (Danny Carroll's message of "Mon, 03 Aug 2009 11:22:37 +1000") References: <4A763BDD.2010308@dannysplace.net> Message-ID: <87prbddpgn.fsf@kobe.laptop> On Mon, 03 Aug 2009 11:22:37 +1000, Danny Carroll wrote: > I've added the following to the default sendmail mc file: > > MASQUERADE_AS(`mypublicdomain.com')dnl > FEATURE(masquerade_envelope)dnl > MASQUERADE_DOMAIN(beasie.lan)dnl > > Recompiled the cf files and restarted sendmail. > > Here is the kicker. If I log in as a normal user it masquerades just > fine. > > If I simply "su -" to root, the masquerading works fine and the mail is > sent as the original logged in user. > > But if I log in as root via the console then it does not alter the messages. The `root' user is excluded from masquerading since 8.10. The `generic.m4' domain configuration file includes: keramida@kobe:/usr/share/sendmail/cf/domain$ fgrep EXPOSE generic.m4 EXPOSED_USER(`root') keramida@kobe:/usr/share/sendmail/cf/domain$ You can copy this file and remove the EXPOSED_USER line. Or you can edit `generic.m4' directly. If you go the copy route, make sure to check for updates in `generic.m4' whenever you installworld, and merge the changes to your domain specific configuration file. From Ggatten at waddell.com Mon Aug 3 13:13:50 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Mon Aug 3 13:13:58 2009 Subject: Analyze load of the channel to Internet Message-ID: <70C0964126D66F458E688618E1CD008A0793F2AD@WADPEXV0.waddell.com> If you simply want ingress/egress "load", nTop provides much more detail than I think you need, but in your case you would run it directly on your BSD routers. It will load libpcap and capture/analyze/graph the traffic flowing through your routers. ________________________________ From: Anton To: Gary Gatten Cc: freebsd-questions@freebsd.org Sent: Mon Aug 03 05:13:40 2009 Subject: Re[2]: Analyze load of the channel to Internet Hello Gary, Due to what I've read about ntop - it is not really what I need. I dont have any Cisco routers, nor switches with port-mirroring - so I could not collect any traffic. I have only 2 freebsd routers - and need to know - when the outgoing channel of first gets overflowed and I need to redirect outgoing traffic to second Monday, August 3, 2009, 4:55:00 AM, you wrote: > almost any NIC / OS will support SNMP MIB-II counters, which includes octets Tx and Rx. MANY tools available for "getting" snmp mib values. If you want util AND details on IP, ports, etc. - check out nTop.org ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Sun Aug 02 15:08:38 2009 Subject: Analyze load of the channel to Internet Hello everybody... Need to view and get real-time reporting of outgoing channel to Internet? I think, that this is may be realized by means of ipfw (e.g. - get counters of count rules for Internet and divide them to time, which passed between analyzing) But, maybe, there is an utility, to which I can communicate (or which could analyze) my outgoing channel to Internet - and report me (mean some redirection script) when an outgoing channel gets overflowed, and I need to redirect all other outgoing traffic to another channel. I would like to clear: I have to channels for Internet, meaned for gaming club - but I don't have enough finance to afford buying some Cisco device and this 2 channel are 512 kilobits and 768 kilobits of outgoing traffic Please, help _______________________________________________ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." -- Best regards, Anton mailto:anton@sng.by Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From ofsen at enderunix.org Mon Aug 3 14:20:57 2009 From: ofsen at enderunix.org (Omer Faruk SEN) Date: Mon Aug 3 14:21:58 2009 Subject: NFS performance-tuning FreeBSD <-> NetApp In-Reply-To: <20090803085516.GA1270@aurora.oekb.co.at> References: <20090803085516.GA1270@aurora.oekb.co.at> Message-ID: <354200908.20090803165208@enderunix.org> Merhaba Ewald, You can read http://communities.netapp.com/thread/39 thread. There is special mount options for Linux and also for FreeBSD give it a try. Regards. Monday, August 3, 2009, 11:55:16 AM, you wrote: > Hi, > I've got a FreeBSD 7.2 box (HP C-class Blade - AMD dual core Opteron > (x64), 4GB RAM, Broadcom NetXtreme II BCM5706) that should be > connected to a NetApp 3170 filer via NFS. > Out of the box, with nothing tuned (no special parameters for > mount_nfs, no kernel tuning), performance is very sluggish: I've got > ~250Mbit/sec performance with peaks around 400Mbit/sec. > Sure enough, neither CPU (server and NetApp) nor network performance > is the problem here - it must be something NFS-related. > Any ideas on how to increas my NFS-performance? (Special mount > parameters, kernel tuning,...) > Thanks in advance for any clue, > -ewald > _______________________________________________ > 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 regards, Omer mailto:ofsen@enderunix.org From af.gourmet at videotron.ca Mon Aug 3 14:58:57 2009 From: af.gourmet at videotron.ca (PJ) Date: Mon Aug 3 14:59:06 2009 Subject: upgrade 7.2 overwrites partitions Message-ID: <4A76FB32.9050601@videotron.ca> Could somone explain to me why an upgrade from sysinstall would overwrite partitions; especially when the instructions indicate that files will not be overwritten? -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From tjg at soe.ucsc.edu Mon Aug 3 17:05:52 2009 From: tjg at soe.ucsc.edu (Tim Gustafson) Date: Mon Aug 3 17:05:59 2009 Subject: ZFS Boot Support from Installer Message-ID: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> Hi, I was wondering if there was a plan or time line in place to support ZFS boot partitions in the installer. I Googled around a bit and found some how-to documents for setting it up in a hacky kind of way, but the impression I got is that support for ZFS partitions is coming to the installer in perhaps 7.3 or 8.0, and I wanted to confirm or dispel that myth before I go forward using the hacky method. Thanks! Tim Gustafson Baskin School of Engineering UC Santa Cruz tjg@soe.ucsc.edu 831-459-5354 From anti_spam256 at yahoo.ca Mon Aug 3 17:23:37 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Mon Aug 3 17:23:44 2009 Subject: Sony PRS-505 Reader and camcontrol load problem In-Reply-To: <20090803064935.341861065674@hub.freebsd.org> Message-ID: <836728.90176.qm@web65508.mail.ac4.yahoo.com> I like to blame things like that on DRM. Proving it is the tricky part. http://en.wikipedia.org/wiki/MagicGate The Wikipedia article says the Sony Portable e-Reader PRS-500 did not support MagicGate, but future support is possible through a firmware update. Regards, James > Date: Sun, 2 Aug 2009 16:52:31 +0400 > From: Andrei Crivoi > Subject: Sony PRS-505 Reader and camcontrol load problem > To: freebsd-questions@freebsd.org > Message-ID: > ??? <332c55d60908020552h4b89e7d5y97e4c8b29f313cd6@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi gaise, > i'm trying to mount a memory stick card on my Sony Portable > Reader PRS-505 > device and constantly getting the "Error received from > start unit command" > message when issuing "camcontrol load" command. > Here is the full log: > > [root@morbo /usr/home/andrei]# camcontrol rescan all > Re-scan of bus 0 was successful > Re-scan of bus 1 was successful > > [root@morbo /usr/home/andrei]# camcontrol devlist > ? ? ? ? > ? ???at scbus1 target 0 lun 0 > (pass0,da0) > ? ? ? ? > ? at scbus1 target 0 lun 1 (pass1,da1) > ? ? ? ? > ? at scbus1 target 0 lun 2 (pass2,da2) > > [root@morbo /usr/home/andrei]# camcontrol load 1:0:1 > Error received from start unit command > > The most interesting fact - 'camcontrol format' somehow > saves the situation: > __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ From kurt.buff at gmail.com Mon Aug 3 18:29:27 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Aug 3 18:29:35 2009 Subject: Microvision ROV scanner and FreeBSD In-Reply-To: References: Message-ID: All, I just purchased one of the units mentioned in the subject line (http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to use it under FreeBSD. See this link: http://www.microvision.com/store/ROV-Scanner-p-1.html I've found a couple of packages that might work, but either don't see them in the ports tree, or don't know if they support batch downloading from a scanner: Alexandria http://alexadria.rubyforge.org datacrow http://www.datacrow.net Koha http://koha.org Open-ILS http://open-ils.org Has anyone on this list worked with this scanner, or will this be a rather complete learning experience? Thanks, Kurt From rsmith at xs4all.nl Mon Aug 3 18:54:31 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Aug 3 18:54:39 2009 Subject: Microvision ROV scanner and FreeBSD In-Reply-To: References: Message-ID: <20090803185428.GA84019@slackbox.xs4all.nl> On Mon, Aug 03, 2009 at 11:29:23AM -0700, Kurt Buff wrote: > All, > > I just purchased one of the units mentioned in the subject line > (http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to > use it under FreeBSD. According to https://help.ubuntu.com/community/BarcodeReaders it can work as a virtual USB keyboard. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090803/b553bc26/attachment.pgp From skreuzer at exit2shell.com Mon Aug 3 19:13:14 2009 From: skreuzer at exit2shell.com (Steven Kreuzer) Date: Mon Aug 3 19:13:22 2009 Subject: NFS performance-tuning FreeBSD <-> NetApp In-Reply-To: <20090803085516.GA1270@aurora.oekb.co.at> References: <20090803085516.GA1270@aurora.oekb.co.at> Message-ID: <2CD8BD68-D656-4215-AEE8-A46C6B4983B3@exit2shell.com> On Aug 3, 2009, at 4:55 AM, Ewald Jenisch wrote: > Hi, > > I've got a FreeBSD 7.2 box (HP C-class Blade - AMD dual core Opteron > (x64), 4GB RAM, Broadcom NetXtreme II BCM5706) that should be > connected to a NetApp 3170 filer via NFS. > > Out of the box, with nothing tuned (no special parameters for > mount_nfs, no kernel tuning), performance is very sluggish: I've got > ~250Mbit/sec performance with peaks around 400Mbit/sec. > > Sure enough, neither CPU (server and NetApp) nor network performance > is the problem here - it must be something NFS-related. > > Any ideas on how to increas my NFS-performance? (Special mount > parameters, kernel tuning,...) I would suggest bumping the read and write sizes to 32K and using tcp instead of udp If you have very large directories, you can also see an increase in "responsiveness" by enabling readdirplus as well, but that wont help with raw throughput. Try passing the following parameters to mount and see if performance is any better -r=32768 -w=32768 -l -T -- Steven Kreuzer http://www.exit2shell.com/~skreuzer From vogelke+unix at pobox.com Mon Aug 3 19:16:26 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Mon Aug 3 19:16:35 2009 Subject: A question for developers In-Reply-To: <4A6A72A6.1030009@ibctech.ca> (message from Steve Bertrand on Fri, 24 Jul 2009 22:49:10 -0400) Message-ID: <20090803191228.4F926B7EA@kev.msw.wpafb.af.mil> >> On Fri, 24 Jul 2009 22:49:10 -0400, >> Steve Bertrand said: S> I'm looking for a new editor. [...] In the last few weeks, I've been S> leaning toward vim. If you've read this far, then I very much welcome S> your feedback. If you're a VIM fan, here are a few examples of what you can do with it: http://www.hcst.net/~vogelke/src/editors/vim/vimrc/ -- Karl Vogel I don't speak for the USAF or my company Chemists wash their hands BEFORE they go to the bathroom. --Tim Thompson, System Administrator/Chemist From freebsd at edvax.de Mon Aug 3 19:44:34 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 3 19:44:48 2009 Subject: Manual Installations on Flash Media In-Reply-To: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> References: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> Message-ID: <20090803214425.58580308.freebsd@edvax.de> On Sat, 1 Aug 2009 14:21:02 -0700, David Allen wrote: > I need to create a FreeBSD installation on an SSD drive (connected via a > USB adaptor), and would like to do so manually so as to avoid the use of > an installation CD, PXE or sysinstall. > > 1. Would a device alphabetical order (as used by bsdlabel) work? I think it's no problem. My /etc/fstab looks that way: /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /tmp ufs rw 2 2 /dev/ad0s1e /var ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1g /home ufs rw 2 2 > 2. I don't expect the system to swap, so can I dispense with a swap entry > and have everything function normally (no error messages, etc.)? I don't know how to "expect" swapping. As far as I understood, the system decides by itself if to write data to / read data from the swap file. I'm not sure if you can omit it. > 3. Will adding `noatime' to / or any other filesystem have any > consequences? Yes. The access time for files won't be recorded. Using the noatime option is often advised for the use with SSD media, so is ANY advice that helps to minimize read / write cycles in order to increase the life time of the media. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Aug 3 19:53:27 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 3 19:53:34 2009 Subject: upgrade 7.2 overwrites partitions In-Reply-To: <4A76FB32.9050601@videotron.ca> References: <4A76FB32.9050601@videotron.ca> Message-ID: <20090803215319.8fad2441.freebsd@edvax.de> On Mon, 03 Aug 2009 10:58:58 -0400, PJ wrote: > Could somone explain to me why an upgrade from sysinstall would > overwrite partitions; especially when the instructions indicate that > files will not be overwritten? I'm not sure how to explain. It's possible that sysinstall recreated the slices and paritions, or at least the partitions were marked as to be formatted ("Y" after the file system type in the partition editor). Because I've never used the "Upgrade" functionality of sysinstall, I'm not even sure what it is supposed to do. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From diannesexy89 at gmail.com Mon Aug 3 20:02:08 2009 From: diannesexy89 at gmail.com (diannesexy89@gmail.com) Date: Mon Aug 3 20:02:20 2009 Subject: nappies.co.nz Message-ID: <120196-DB5FTxERklW90000d486@db.markerstudio.com> Discover how thousands of people are getting paid daily, just by reading the ads in the email. We will provide you the list of 1000's of advertising companies. Just you have to register yourself with the companies for free. They are free to join. No need to pay anything to join with them. After your registration, they will send you the emails, just you have to open and click the link provided in the mail. In some case, they will ask you to visit their website. For this little work, they are giving a very good payment for you. See, how it is very easy job. Is it harder to you??. Anyone can do this job with a basic computer & internet knowledge. You are getting paid for visiting their website or clicking their link, for that website owners are providing the money to the advertising websites and they are paying you. YOU can do it starting right this minute!!! JUST VISIT THIS SITE!!! http://wapurl.co.uk/?Z0DRAWW DIANNE to unsubscribe reply REMOVE Thank you for visiting my site! From kurt.buff at gmail.com Mon Aug 3 20:17:15 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Aug 3 20:17:23 2009 Subject: Microvision ROV scanner and FreeBSD In-Reply-To: <20090803185428.GA84019@slackbox.xs4all.nl> References: <20090803185428.GA84019@slackbox.xs4all.nl> Message-ID: On Mon, Aug 3, 2009 at 11:54, Roland Smith wrote: > On Mon, Aug 03, 2009 at 11:29:23AM -0700, Kurt Buff wrote: >> All, >> >> I just purchased one of the units mentioned in the subject line >> (http://www.microvision.com/store/ROV-Scanner-p-1.html), and want to >> use it under FreeBSD. > > According to https://help.ubuntu.com/community/BarcodeReaders it can > work as a virtual USB keyboard. > > 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) Yeah, I'm looking at that, but it doesn't support batch use, just the equivalent of tethered use. Kinda negates the usefulness of the thing, I think. After a bit more searching, I see that there's a BlackBerry interface written in Java mentioned on the Microvision web site, but don't know what its capabilities are. I've also found a pay Java program called Readerware (http://www.readerware.com/rwJava2.html) that might be able to run under FreeBSD, but was hoping for something open source. Kurt From dougb at FreeBSD.org Mon Aug 3 20:34:55 2009 From: dougb at FreeBSD.org (Doug Barton) Date: Mon Aug 3 20:35:03 2009 Subject: Don't know how to make /usr/ports/dns/bind96/work/.build.... In-Reply-To: References: <200907282158.43397.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A6FF497.5010808@FreeBSD.org> <4A709B81.5070905@FreeBSD.org> <4A70BE55.60405@FreeBSD.org> Message-ID: <4A7749E5.5050108@FreeBSD.org> Dan Mahoney, System Admin wrote: > On Wed, 29 Jul 2009, Doug Barton wrote: > >> Dan Mahoney, System Admin wrote: >>> The fact that the error occurs AT ALL is the bug and what is >>> counterintuitive, and many people would not think to try typing "make" >>> again, and instead would just assume the thing's broken. >> >> Ok, I actually misunderstood the problem that you were reporting. I >> thought that the reference to .build_done.bind96._usr_local indicated >> that the port had already been built once, but that is not the case. >> To reproduce the bug, you need to do the following: >> >> 1. Make sure there is nothing in /var/db/ports/bind96 >> 2. cd /usr/ports/dns/bind96 >> 3. make >> 4. Enable the "replace base" option >> 5. Save the config >> >> You will then see the following error: >> >> make: don't know how to make >> /usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local. >> >> Stop >> *** Error code 2 >> >> I think Mel is right that the problem is changing PREFIX, but that's >> the whole purpose of the option. >> >> Could you please open a PR about this with a subject something to the >> effect of "OPTIONS that change PREFIX cause an error after 'make >> config'" and describe how to reproduce this? > > Done, just got the mail from gnats: 137250. Looks good, thanks! Doug -- This .signature sanitized for your protection From joel at vnode.se Mon Aug 3 21:32:04 2009 From: joel at vnode.se (Joel Dahl) Date: Mon Aug 3 21:32:12 2009 Subject: Weird networking issue Message-ID: <4A7753A0.7040006@vnode.se> Yesterday I noticed something weird with one of my mail servers (FreeBSD 7.2), which is located far away from me. At first I thought it was my mail client that was misbehaving since a couple of mails that I retrieved from the server looked...odd. Characters were missing, and the mail headers were sometimes (perhaps 1 out of 100 mails) sort of scrambled. This server isn't doing anything really useful, except handling a few mails every day. No load at all and it has been running for a few months without any problems. Anyway, after some time I realized that Thunderbird probably wasn't the problem. I discovered that ssh connections suddenly dropped (seems random) when I was connected to the server. Often with messages like: Received disconnect from x.x.x.x: 2: Bad packet length 3365265859. I tried to ping it and I constantly got 5-15% packet loss. The same symptoms are there if I connect to it from other places, so my home connection isn't the problem. I get 0 packet loss if I ping the gateway which the server is behind from my home connection. Anyway, while I was connected to the machine (and scratching my head) I did a csup from the server to fetch ports and other stuff, but that failed every time, with different messages: 1st try: Edit ports/Mk/bsd.port.mk Add delta 1.625 2009.08.03.15.36.58 miwi Edit ports/UPDATING Add delta 1.845 2009.08.03.19.08.48 dougb csup: inflate: invalid stored block lengths 2nd try: Edit ports/devel/libvc/Makefile Add delta 1.11 2009.08.02.19.33.28 mezz Edit ports/devel/libytnef/Makefile Add delta 1.6 2009.08.02.19.33.28 mezz Receiver: Protocol error 3rd try: Edit ports/devel/p5-threads-shared/distinfo Add delta 1.4 2009.07.22.17.25.14 pgollucci Edit ports/devel/p5-usb/pkg-plist Add delta 1.3 2009.07.30.23.04.41 pgollucci csup: inflate: invalid distance too far back Ok. So something is messed up. Checked my other server (located at the same place) to see if there were any problems (it is running VMware ESXI with 4 virtual machines, all running FreeBSD 7.2.), but all of the virtual hosts were fine. No packet loss, no ssh problems, no nothing. This server is connected to the same switch and behind the same gateway. So are also a bunch of Windows servers. None of them have any problems. Checked the logs on my mail server to see if there were anything weird...and the logs were filled with this: arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 x.x.x.x is my gateway which all my servers are behind. These messages started yesterday, about the same time that the problems appeared. Any ideas? :-) -- Joel From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Aug 3 22:16:31 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Aug 3 22:16:38 2009 Subject: ftps ? In-Reply-To: References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> Message-ID: <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 03 August 2009 04:26:32 Neal Hogan wrote: > 2009/8/3 Odhiambo $B%o%7%s%H%s(B : > > On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < > > > > frederique@isafeelin.org> wrote: > >> Odhiambo $B%o%7%s%H%s(B wrote: > >> > What is ftps? > >> > >> # grep ftps /etc/services > >> ftps-data 989/tcp # ftp protocol, data, over TLS/SSL > >> ftps-data 989/udp > >> ftps 990/tcp # ftp protocol, control, over TLS/SSL > >> ftps 990/udp > > > > pure-ftpd supports TLS/SSL. > > > > I am wondering if it can do this. > > I was curious about the OP's use of 'ftps" too. Perhaps, he could > explain what plain-old-ftp doesn't do and what he wants it to do. When in doubt, use "she". :) -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Aug 3 22:21:02 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Aug 3 22:21:08 2009 Subject: ftps ? In-Reply-To: <4A76C9CF.5050100@isafeelin.org> References: <4A76C9CF.5050100@isafeelin.org> Message-ID: <200908031421.00074.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 03 August 2009 03:28:15 Frederique Rijsdijk wrote: > I'm looking into running ftps for my webhosting server. But the ftpd of > BSD seems incapable of doing so. > > Are there plans to implement this, or am I overlooking something? > > I'm aware of the fact that I can run a ftp server from ports to do this, > but I would like to keep it as simple as possible. O'Reilly's "Network security with OpenSSL" claims stunnel is capable of doing this. I guess it's similar to installing a port for the ftpd, except that you can just keep your old ftpd config, which is likely to be more elaborate then stunnel's. -- Mel From nealhogan at gmail.com Mon Aug 3 22:21:36 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Mon Aug 3 22:21:43 2009 Subject: ftps ? In-Reply-To: <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: On Mon, Aug 3, 2009 at 5:16 PM, Mel Flynn wrote: > On Monday 03 August 2009 04:26:32 Neal Hogan wrote: >> 2009/8/3 Odhiambo ????? : >> > On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < >> > >> > frederique@isafeelin.org> wrote: >> >> Odhiambo ????? wrote: >> >> > What is ftps? >> >> >> >> # grep ftps /etc/services >> >> ftps-data 989/tcp # ftp protocol, data, over TLS/SSL >> >> ftps-data 989/udp >> >> ftps 990/tcp # ftp protocol, control, over TLS/SSL >> >> ftps 990/udp >> > >> > pure-ftpd supports TLS/SSL. >> > >> > I am wondering if it can do this. >> >> I was curious about the OP's use of 'ftps" too. Perhaps, he could >> explain what plain-old-ftp doesn't do and what he wants it to do. > > When in doubt, use "she". :) I wasn't in doubt, but perhaps my chauvinism reared its head. I apologize if I offended anyone. It's actually quite funny that you bring this up, because I'm involved in a thread on debian-user@ with this topic. I (correctly) referred to someone as Mr. So-n-so and others questioned my choice of masculine reference. > -- > Mel > From mcgovern at beta.com Mon Aug 3 22:26:38 2009 From: mcgovern at beta.com (Brian J. McGovern) Date: Mon Aug 3 22:26:45 2009 Subject: FIONREAD behavior possible on uhid? Message-ID: <1249336653.1043.21.camel@dhcp7.beta.com> All, I recently picked up a Velleman K8055, which is basically a Digital and analog I/O board that connects to a PC via a USB connection. So far, its worked fine w/FreeBSD, the uhid driver picks it up, and a simple cat < /dev/uhid0 will start pulling the 8 bytes that represent the inputs and counters available. However, once the device is open, it polls several times per second, and uhid begins to buffer the board's output in a clist. Since I don't need that level of resolution, I'm looking to have the application back down to once per second, perhaps slower (every 5 seconds). However, in order to do this, I need to either stop the over sampling or flush the buffer, and then pick up the first "new" read. However, performing both a TIOCFLUSH (have ioctl flush the buffers) as well as a FIONREAD (return the number of bytes waiting so the application can read them and throw them away) fail. I also tried to add a FIONREAD to uhid_do_ioctl() and uhidioctl() at different times. My understanding is that with the ioctl calls, the infrastructure should be able to do the copy out, so a simple: case FIONREAD: { *addr = sc->sc_q.c_cc; break; } should have done the trick, and it compiles happily, but it fails with an invalid address error when the ioctl is called. I also tried using copyout directly, but from the little reading I did, addr is already supposed to be in the kernel address space, and it returns EFAULT. Its been about 10 years since I've played seriously in the kernel space, so I hope its something simple I've just forgotten. Can someone point me at a way to get this functionality, short have having to write a device-specific driver (a-la uvisor) ? -B From mel.flynn+fbsd.ports at mailing.thruhere.net Mon Aug 3 22:29:09 2009 From: mel.flynn+fbsd.ports at mailing.thruhere.net (Mel Flynn) Date: Mon Aug 3 22:29:18 2009 Subject: freebsd-update & userland sources In-Reply-To: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> References: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> Message-ID: <200908031409.46060.mel.flynn+fbsd.ports@mailing.thruhere.net> On Sunday 02 August 2009 16:10:37 Tom Mende wrote: > Is there a way to get freebsd-update to keep userland sources up to > date? Since it is for binary upgrades, it doesn't make much sense, but ... > By way of background, I am trying not to use csup / cvsup and like > processes as their past, admittedly incorrect, usage by me, combined > with my incompetent salvage operations, has hosed my systems to the > point of needing to be reinstalled from scratch. I have been using a > combination of portsnap and freebsd-update to keep my 7.2-RELEASE > system up to date and commenced this at about 6.3-RELEASE and have > managed to not hose the system since that time. It now however appears > I need to have userland sources to keep fusefs-kmod up to date. > > /usr/ports/sysutils/fusefs-kmod>make install clean > ===> fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sources to > be installed. Set SRC_BASE if it is not in /usr/src. > *** Error code 1 This is one case where one requires sources. You would still need csup/cvsup and if you're tracking a -RELEASE branch, it does not do very much. Also, because you're not actually going to build world/kernel, the risk of "hosing your system" is limited. What freebsd-update could however do, is maintain a 'standard-supfile' that would have the correct tag at all times. For example: Would you like to install a supfile for this release in /etc? [y/n] y Please choose a mirror [cvsup$random.FreeBSD.org]: -- Mel From cperciva at freebsd.org Mon Aug 3 22:30:44 2009 From: cperciva at freebsd.org (Colin Percival) Date: Mon Aug 3 22:30:59 2009 Subject: freebsd-update & userland sources In-Reply-To: <200908031409.46060.mel.flynn+fbsd.ports@mailing.thruhere.net> References: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> <200908031409.46060.mel.flynn+fbsd.ports@mailing.thruhere.net> Message-ID: <4A776512.9020509@freebsd.org> > On Sunday 02 August 2009 16:10:37 Tom Mende wrote: >> Is there a way to get freebsd-update to keep userland sources up to >> date? Yes. If you have source code installed (for the right version of FreeBSD) in /usr/src, then freebsd-update will keep it updated. (Slight complication: Because freebsd-update builds are normally done before patches are committed to SVN, you won't get the updated SVN revision numbers or the new entries in UPDATING via freebsd-update -- but you will get all of the security/errata fixes.) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From alexbestms at math.uni-muenster.de Mon Aug 3 22:51:38 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Mon Aug 3 22:51:45 2009 Subject: BREAK_TO_DEBUGGER vs. machdep.enable_panic_key=1 Message-ID: just wanted to ask what the difference between the following ways of enabling the panic key is: options BREAK_TO_DEBUGGER (kernelconf) machdep.enable_panic_key=1 (sysctl) i first thought having BREAK_TO_DEBUGGER in the kernelconf would change the default setting of machdep.enable_panic_key from 0 to 1, but both options don't seem to be linked to each other. alex From glen.j.barber at gmail.com Mon Aug 3 22:53:06 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Aug 3 22:53:14 2009 Subject: Weird networking issue In-Reply-To: <4A7753A0.7040006@vnode.se> References: <4A7753A0.7040006@vnode.se> Message-ID: <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: > Yesterday I noticed something weird with one of my mail servers (FreeBSD > 7.2), which is located far away from me. ?At first I thought it was my mail > client that was misbehaving since a couple of mails that I retrieved from > the server looked...odd. ?Characters were missing, and the mail headers were > sometimes (perhaps 1 out of 100 mails) sort of scrambled. > > This server isn't doing anything really useful, except handling a few mails > every day. ?No load at all and it has been running for a few months without > any problems. > > Anyway, after some time I realized that Thunderbird probably wasn't the > problem. ?I discovered that ssh connections suddenly dropped (seems random) > when I was connected to the server. ?Often with messages like: > > Received disconnect from x.x.x.x: 2: Bad packet length 3365265859. > > I tried to ping it and I constantly got 5-15% packet loss. ?The same > symptoms are there if I connect to it from other places, so my home > connection isn't the problem. ?I get 0 packet loss if I ping the gateway > which the server is behind from my home connection. > > Anyway, while I was connected to the machine (and scratching my head) I did > a csup from the server to fetch ports and other stuff, but that failed every > time, with different messages: > > 1st try: > > ?Edit ports/Mk/bsd.port.mk > ?Add delta 1.625 2009.08.03.15.36.58 miwi > ?Edit ports/UPDATING > ?Add delta 1.845 2009.08.03.19.08.48 dougb > csup: inflate: invalid stored block lengths > > 2nd try: > > ?Edit ports/devel/libvc/Makefile > ?Add delta 1.11 2009.08.02.19.33.28 mezz > ?Edit ports/devel/libytnef/Makefile > ?Add delta 1.6 2009.08.02.19.33.28 mezz > Receiver: Protocol error > > 3rd try: > > Edit ports/devel/p5-threads-shared/distinfo > ?Add delta 1.4 2009.07.22.17.25.14 pgollucci > ?Edit ports/devel/p5-usb/pkg-plist > ?Add delta 1.3 2009.07.30.23.04.41 pgollucci > csup: inflate: invalid distance too far back > > Ok. ?So something is messed up. > > Checked my other server (located at the same place) to see if there were any > problems (it is running VMware ESXI with 4 virtual machines, all running > FreeBSD 7.2.), but all of the virtual hosts were fine. ?No packet loss, no > ssh problems, no nothing. ?This server is connected to the same switch and > behind the same gateway. ?So are also a bunch of Windows servers. ?None of > them have any problems. > > Checked the logs on my mail server to see if there were anything weird...and > the logs were filled with this: > > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > > x.x.x.x is my gateway which all my servers are behind. ?These messages > started yesterday, about the same time that the problems appeared. > > Any ideas? :-) > I have 2: 1.) Bad NIC 2.) Bad CPU A while back, I found out I had a bad CPU after replacing everything else on the machine -- I would still receive CRC mismatch errors with portsnap(8). The NIC is more probable IMHO, but both should be suspect here. -- Glen Barber From glen.j.barber at gmail.com Mon Aug 3 23:16:32 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Aug 3 23:16:38 2009 Subject: Weird networking issue In-Reply-To: <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> Message-ID: <4ad871310908031616w15b8a16fw29a52f5b5168f713@mail.gmail.com> On Mon, Aug 3, 2009 at 6:53 PM, Glen Barber wrote: > > I have 2: > 1.) Bad NIC > 2.) Bad CPU > > A while back, I found out I had a bad CPU after replacing everything > else on the machine -- I would still receive CRC mismatch errors with > portsnap(8). > > The NIC is more probable IMHO, but both should be suspect here. > Now that I think about it... Do you do regular builds? Can you try to 'buildworld' (assuming you can get csup to pull the source tree? If CPU is the problem, you may experience random SIGSEGV errors when running the buildworld. If it fails in different areas of the build, this is most likely (from my experience) the problem. -- Glen Barber From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 4 00:04:34 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 4 00:04:43 2009 Subject: gmirror on different disks In-Reply-To: <41b95770907310324j397b5810v6793c9c314f8ce61@mail.gmail.com> References: <41b95770907310324j397b5810v6793c9c314f8ce61@mail.gmail.com> Message-ID: <200908031604.31455.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 31 July 2009 02:24:31 Grzegorz Danecki wrote: > Hello everybody! > > I'm just wondering, I had gmirror with two disks: > > Master: ad0 Serial ATA II > Master: ad2 Serial ATA II > > unfortunately ad0 failed today, leaving me with degraded array and ad0 > offline. > > I did > > # gmirror forget gm0, then shutdown, ad0 was replaced with: > > ad0: 152626MB at ata0-master SATA300 > > with different firmware I think. > > Then gmirror insert gm0 /dev/ad0 > > (...) > Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: rebuilding provider > ad0 finished. > Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: provider ad0 > activated. > > But the disk is a little bit smaller: > > 1. Name: mirror/gm0 > Mediasize: 160040803328 (149G) ^^ > Sectorsize: 512 > Mode: r5w5e6 > Consumers: > 1. Name: ad2 > Mediasize: 160041885696 (149G) ^^ > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: DIRTY > GenID: 1 > SyncID: 1 > ID: 3791030614 > 2. Name: ad0 > Mediasize: 160040803840 (149G) ^^ > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: DIRTY > GenID: 1 > SyncID: 1 > ID: 2477089776 > > # gmirror status > Name Status Components > mirror/gm0 COMPLETE ad2 > ad0 > I mean - should I make the RAID once again with exactly the same drives, or > can I leave it as it is right now? The mirror rescaled to the size of the smallest provider and didn't report any problems during sync, so you should be fine. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 4 00:15:46 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 4 00:16:11 2009 Subject: Windows 2008 + AD + PF + bridge = problems? In-Reply-To: <548f3c460907311115y5e89341ds91b43cd62c16dbf4@mail.gmail.com> References: <548f3c460907311115y5e89341ds91b43cd62c16dbf4@mail.gmail.com> Message-ID: <200908031615.42843.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 31 July 2009 10:15:56 markham roan wrote: > A packet capture revealed a number of anomalies. Once the server starts > trying to join the domain, we get all sorts of TCP transmission errors, > retries, duplicate ACKs etc. In some cases, the public side of the > firewall will send an ICMP host-unreachable message for a host which is > clearly being BINAT. > > I've tinkered with net.inet.ip.intr_queue_maxlen, but it doesn't seem to > help. net.inet.ip.intr_queue_drops isn't increasing at a noticeable rate, > anyway. > > Does anyone have any thoughts and/or advice on where I can go from here? No experience with the case at hand, but I do see that Vista started to use IGMP protocol even when there's no obvious need to do so. Given that "allow all" does in fact only allow a handful of IP protocols, excluding IGMP, you may want to investigate if you're not silently blocking (or not translating) one of the more obscure IP protocols. -- Mel From fbsdlilly at gmail.com Tue Aug 4 00:29:35 2009 From: fbsdlilly at gmail.com (mojo fms) Date: Tue Aug 4 00:29:42 2009 Subject: Windows 2008 + AD + PF + bridge = problems? In-Reply-To: <200908031615.42843.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <548f3c460907311115y5e89341ds91b43cd62c16dbf4@mail.gmail.com> <200908031615.42843.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: On Mon, Aug 3, 2009 at 5:15 PM, Mel Flynn < mel.flynn+fbsd.questions@mailing.thruhere.net > wrote: > On Friday 31 July 2009 10:15:56 markham roan wrote: > > > A packet capture revealed a number of anomalies. Once the server starts > > trying to join the domain, we get all sorts of TCP transmission errors, > > retries, duplicate ACKs etc. In some cases, the public side of the > > firewall will send an ICMP host-unreachable message for a host which is > > clearly being BINAT. > > > > I've tinkered with net.inet.ip.intr_queue_maxlen, but it doesn't seem to > > help. net.inet.ip.intr_queue_drops isn't increasing at a noticeable > rate, > > anyway. > > > > Does anyone have any thoughts and/or advice on where I can go from here? > > No experience with the case at hand, but I do see that Vista started to use > IGMP protocol even when there's no obvious need to do so. Given that "allow > all" does in fact only allow a handful of IP protocols, excluding IGMP, you > may want to investigate if you're not silently blocking (or not > translating) > one of the more obscure IP protocols. > -- > Mel > _______________________________________________ > 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 might be way off base but I had a server that had issues like that and it ended up being the network cable going bad. It would send an ack but if you captured the ack and other packets at the destination server it would be missing bits. I have personally not had an issue with a pf firewall and server 2008 joining a 2003 domain but network card or cable could cause an issue like that. What does tcpdump tell you on the firewall when monitoring PF while it joins, what rule(s) is it using when it joins? -- Who knew From keramida at ceid.upatras.gr Tue Aug 4 01:01:06 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Aug 4 01:01:15 2009 Subject: Sendmail Masqurading and root mails References: <4A763BDD.2010308@dannysplace.net> <4A767180.7080108@dannysplace.net> Message-ID: <87ab2gtmsx.fsf@kobe.laptop> On Mon, 03 Aug 2009 15:11:28 +1000, Danny Carroll wrote: > Jeffrey Goldberg wrote: >> I found the answer to your problem here: >> >> http://www.grok.org.uk/docs/smroot.html >> >> The file that is being included which has the >> >> EXPOSED_USER(`root') >> >> line lives at >> >> /usr/share/sendmail/cf/domain/generic.m4 > > It seems your google-fu is much better than mine. > Thanks so much for your help. There are a *lot* of details like this in your system. It just takes a bit of experience to look for the ``right option name'' and a bit of time to read through the file: /usr/share/sendmail/cf/README The part that hints at the default expose option for the `root' user reads: : Normally only header addresses are masqueraded. If you want to : masquerade the envelope as well, use : : FEATURE(`masquerade_envelope') : : There are always users that need to be "exposed" -- that is, their : internal site name should be displayed instead of the masquerade name. : Root is an example (which has been "exposed" by default prior to 8.10). : You can add users to this list using : : EXPOSED_USER(`usernames') There's a great amount of information in that README file. I often find by re-reading it that there are still details I was missing so far :-) From modulok at gmail.com Tue Aug 4 02:28:54 2009 From: modulok at gmail.com (Modulok) Date: Tue Aug 4 02:29:01 2009 Subject: Secure password generation...blasphemy! Message-ID: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> I need a way to generate a lot of secure passwords. So, I read all about it. Either people are getting way carried away, or I'm missing something... There seems to be a lot of superstition about entropy. People have come up with quite creative ways at generating passwords using everything from dice in a shoebox to radio static recorded with a mic, to dedicated entropy hardware. Most seem to discourage using any computer program to generate passwords. The reasoning is that computers employ "only" pseudo-random number generator (PRNG, henceforth). I wrote a python script which uses /dev/random, and hashes the output with sha256. I then truncate the output to the desired length. Blasphemy! According to the superstitious password crowd my passwords are not very secure ... maybe. However, wouldn't hashing bytes from /dev/random be quite secure? The hash function would cover any readily apparent patterns, if they were found to existed. Both sha256 and yarrow are, to date, believed to be cryptographically secure. (Assuming the implementations are correct.) Therefore, using a cryptographically secure pseudo-random number generator and an equally secure hash function should be damn well good enough, right? I'd think that listening for cosmic background radiation or environmental infrared is drifting a little far from being in the realm of practical. Right? Just looking for any re-assurances. -Modulok- From wmoran at potentialtech.com Tue Aug 4 02:35:09 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Aug 4 02:35:16 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: <20090803223427.511879f2.wmoran@potentialtech.com> Modulok wrote: > > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... You could just use apg ... it's in the ports. -- Bill Moran http://www.potentialtech.com From glen.j.barber at gmail.com Tue Aug 4 02:39:20 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 02:39:27 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: <4ad871310908031939m3cb6fdefo83ee1adee63915cf@mail.gmail.com> On Mon, Aug 3, 2009 at 10:28 PM, Modulok wrote: > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... Have a look at jot(1). -- Glen Barber From kurt.buff at gmail.com Tue Aug 4 03:40:24 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Aug 4 03:40:31 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: On Mon, Aug 3, 2009 at 19:28, Modulok wrote: > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... Gah. Define "secure". What is your use case? Does it involve humans remembering them, or not? What is your threat model? Will the passwords change once a day, once a month, or once a year? What's the value of the data you're protecting? Kurt From andrewberry at sentex.net Tue Aug 4 04:12:17 2009 From: andrewberry at sentex.net (Andrew Berry) Date: Tue Aug 4 04:12:24 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: On 3-Aug-09, at 10:28 PM, Modulok wrote: > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... Take a look at pwgen (it's in ports). If you're really needing *very* secure passwords, it makes more sense to audit existing code then to write your own. The passwords it generates can quite easily be strong enough to prevent most automated attacks. --Andrew From the.real.david.allen at gmail.com Tue Aug 4 06:00:46 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Tue Aug 4 06:00:53 2009 Subject: Manual Installations on Flash Media In-Reply-To: <20090803214425.58580308.freebsd@edvax.de> References: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> <20090803214425.58580308.freebsd@edvax.de> Message-ID: <2daa8b4e0908032300m3ae4be7ft9a42445ddda17197@mail.gmail.com> On 8/3/09, Polytropon wrote: > On Sat, 1 Aug 2009 14:21:02 -0700, David Allen > wrote: > > I need to create a FreeBSD installation on an SSD drive (connected via > > a USB adaptor), and would like to do so manually so as to avoid the > > use of an installation CD, PXE or sysinstall. > > > > 1. Would a device alphabetical order (as used by bsdlabel) work? > > I think it's no problem. My /etc/fstab looks that way: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1d /tmp ufs rw 2 2 > /dev/ad0s1e /var ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1g /home ufs rw 2 2 Knowing that will make things easier when editing the disklabel and adding corresponding entries in fstab. > > 2. I don't expect the system to swap, so can I dispense with a swap > > entry and have everything function normally (no error messages, etc.)? > > I don't know how to "expect" swapping. As far as I understood, the > system decides by itself if to write data to / read data from the swap > file. Something got lost in the translation. "I don't expect" is an idiomatic form of "I estimate a low probability of swapping". > I'm not sure if you can omit it. Haven't done an actual NanoBSD installation on flash, but my reading of the setup is that there is no swap partition whatsoever. Guess I'll have to experiment to find out for myself. > > 3. Will adding `noatime' to / or any other filesystem have any > > consequences? > > Yes. The access time for files won't be recorded. Using the noatime > option is often advised for the use with SSD media, so is ANY advice > that helps to minimize read / write cycles in order to increase the > life time of the media. Just wanted to be sure. I'm still open to using md devices for /var and /tmp (with a cron-ed sync to disk) possibly in conjunction with remote logging, but one of the reasons I opted for SSD over regular flash is to avoid that extra layer of complexity. Thanks for the reply. From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 4 06:20:53 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 4 06:21:00 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: <200908032220.50964.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 03 August 2009 18:28:52 Modulok wrote: > I wrote a python script which uses /dev/random, and hashes the output > with sha256. I then truncate the output to the desired length. > Blasphemy! According to the superstitious password crowd my passwords > are not very secure ... maybe. They aren't, because you reduce the random to a much less random, *because* you are hashing. You're much better off, using ctype to determine if the byte you got is typeable on a keyboard and if not getting the next byte. Or use an array of allowed characters and read the rands as integers modulus the size of the array. But as others have stated, you're reinventing the wheel, and even FreeBSD's adduser(8) can generate random passwords that are suitable for most uses. You should really answer Kurt's questions to determine how secure they should be. As far as Pseudo generators go, they will generate the same sequence for the same seed, so if the seed is guessable by an attacker, you should not use them. -- Mel From perryh at pluto.rain.com Tue Aug 4 07:02:18 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Aug 4 07:02:25 2009 Subject: Weird networking issue In-Reply-To: <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> Message-ID: <4a77db85.YjBDPg0yifmYRuT9%perryh@pluto.rain.com> Glen Barber wrote: > On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: [snip description of network flakiness on one server, out of several on the same switch behind the same gateway] > > Any ideas? :-) > > > I have 2: > 1.) Bad NIC > 2.) Bad CPU 3. Bad cable from NIC to switch 4. Bad switch port These may not be all that likely, but they're easy to test if you have even a marginally-competent tech available at the site. From joel at vnode.se Tue Aug 4 07:10:35 2009 From: joel at vnode.se (Joel Dahl) Date: Tue Aug 4 07:10:42 2009 Subject: Weird networking issue In-Reply-To: <4ad871310908031616w15b8a16fw29a52f5b5168f713@mail.gmail.com> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> <4ad871310908031616w15b8a16fw29a52f5b5168f713@mail.gmail.com> Message-ID: <4A77DEE4.607@vnode.se> Glen Barber skrev: > On Mon, Aug 3, 2009 at 6:53 PM, Glen Barber wrote: >> I have 2: >> 1.) Bad NIC >> 2.) Bad CPU >> >> A while back, I found out I had a bad CPU after replacing everything >> else on the machine -- I would still receive CRC mismatch errors with >> portsnap(8). >> >> The NIC is more probable IMHO, but both should be suspect here. >> > > Now that I think about it... Do you do regular builds? Can you try to > 'buildworld' (assuming you can get csup to pull the source tree? > > If CPU is the problem, you may experience random SIGSEGV errors when > running the buildworld. If it fails in different areas of the build, > this is most likely (from my experience) the problem. I've been doing buildworld -j4 for 8 hours without problems now. I'll see if I can get someone onsite to try another cable and switch port. -- Joel From stark at mapper.nl Tue Aug 4 07:24:01 2009 From: stark at mapper.nl (Mark Stapper) Date: Tue Aug 4 07:24:08 2009 Subject: ZFS Boot Support from Installer In-Reply-To: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> References: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> Message-ID: <4A77DE98.5000707@mapper.nl> Tim Gustafson wrote: > Hi, > > I was wondering if there was a plan or time line in place to support ZFS boot partitions in the installer. I Googled around a bit and found some how-to documents for setting it up in a hacky kind of way, but the impression I got is that support for ZFS partitions is coming to the installer in perhaps 7.3 or 8.0, and I wanted to confirm or dispel that myth before I go forward using the hacky method. > > Thanks! > > Tim Gustafson > Baskin School of Engineering > UC Santa Cruz > tjg@soe.ucsc.edu > 831-459-5354 > > _______________________________________________ > 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" > Hello, I don't know about the "installer" but I believe the bootloader in 8.0 will (allready does) support booting from zfs. See links below for 8.0: http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ for 7.x: http://wiki.freebsd.org/ZFSOnRoot I'd go for 8.0 if you whish to use an all zfs system. You might want to wait for the release version if you are affraid of the "hacking" method. Or you could try it in a Virtual Machine. Greetz, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/062d2b2b/signature.pgp From stark at mapper.nl Tue Aug 4 07:34:03 2009 From: stark at mapper.nl (Mark Stapper) Date: Tue Aug 4 07:34:18 2009 Subject: Manual Installations on Flash Media In-Reply-To: <20090803214425.58580308.freebsd@edvax.de> References: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> <20090803214425.58580308.freebsd@edvax.de> Message-ID: <4A77E44E.8090500@mapper.nl> Polytropon wrote: > On Sat, 1 Aug 2009 14:21:02 -0700, David Allen wrote: > >> I need to create a FreeBSD installation on an SSD drive (connected via a >> USB adaptor), and would like to do so manually so as to avoid the use of >> an installation CD, PXE or sysinstall. >> >> 1. Would a device alphabetical order (as used by bsdlabel) work? >> > > I think it's no problem. My /etc/fstab looks that way: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1d /tmp ufs rw 2 2 > /dev/ad0s1e /var ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1g /home ufs rw 2 2 > > > > >> 2. I don't expect the system to swap, so can I dispense with a swap entry >> and have everything function normally (no error messages, etc.)? >> > > I don't know how to "expect" swapping. As far as I understood, the > system decides by itself if to write data to / read data from the > swap file. I'm not sure if you can omit it. > > > > >> 3. Will adding `noatime' to / or any other filesystem have any >> consequences? >> > > Yes. The access time for files won't be recorded. Using the noatime > option is often advised for the use with SSD media, so is ANY advice > that helps to minimize read / write cycles in order to increase the > life time of the media. > > > > You may want to look at the link below. It describes how to install freebsd on an USB-pendrive. http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2 It notes that /var/log /var/run and /tmp should not be written to flash memory. You can use memory devices for these directories to minimize disk writes. If you want, you can backup/and repopulate these directories on shutdown/startup. Hope it helps! Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/88af1ff9/signature.pgp From stark at mapper.nl Tue Aug 4 07:41:05 2009 From: stark at mapper.nl (Mark Stapper) Date: Tue Aug 4 07:41:12 2009 Subject: upgrade 7.2 overwrites partitions In-Reply-To: <4A76FB32.9050601@videotron.ca> References: <4A76FB32.9050601@videotron.ca> Message-ID: <4A77E607.6060107@mapper.nl> PJ wrote: > Could somone explain to me why an upgrade from sysinstall would > overwrite partitions; especially when the instructions indicate that > files will not be overwritten? > > Dear Phil, Ofcourse if you upgrade, files will be overwritten. Could you please be more specific? Greetz, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/bb4cf9ba/signature.pgp From rsmith at xs4all.nl Tue Aug 4 07:52:34 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Aug 4 07:52:48 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: <20090804075221.GA3909@slackbox.xs4all.nl> On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: > I need a way to generate a lot of secure passwords. So, I read all > about it. Either people are getting way carried away, or I'm missing > something... It is very easy to generate hard-to-guess semi-random passwords: openssl rand -base64 6 some examples: hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h Even though this is semi-random, these are still extremely hard to guess, and neither will a dictionary attack be much use. The _big_ downside is that this kind of passwords are hard to remember. So people _will_ write them down. Which isn't a problem in itself, as long as they keep that piece of paper secure. (so not taped to their monitor, or under their keyboard.) A better solution IMHO is to let people make their own acronyms, mixed with a little l33tsp34k. That way you can have something easy to remember, but still hard to guess. E.g. "Ask not for whom the bell tolls" would become "An4wtbt". Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/6205bc0e/attachment.pgp From stark at mapper.nl Tue Aug 4 08:15:10 2009 From: stark at mapper.nl (Mark Stapper) Date: Tue Aug 4 08:15:18 2009 Subject: ftps ?(off-topic) In-Reply-To: References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4A77EDEF.4020806@mapper.nl> Neal Hogan wrote: > On Mon, Aug 3, 2009 at 5:16 PM, Mel > Flynn wrote: > >> On Monday 03 August 2009 04:26:32 Neal Hogan wrote: >> >>> 2009/8/3 Odhiambo ????? : >>> >>>> On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < >>>> >>>> frederique@isafeelin.org> wrote: >>>> >>>>> Odhiambo ????? wrote: >>>>> >>>>>> What is ftps? >>>>>> >>>>> # grep ftps /etc/services >>>>> ftps-data 989/tcp # ftp protocol, data, over TLS/SSL >>>>> ftps-data 989/udp >>>>> ftps 990/tcp # ftp protocol, control, over TLS/SSL >>>>> ftps 990/udp >>>>> >>>> pure-ftpd supports TLS/SSL. >>>> >>>> I am wondering if it can do this. >>>> >>> I was curious about the OP's use of 'ftps" too. Perhaps, he could >>> explain what plain-old-ftp doesn't do and what he wants it to do. >>> >> When in doubt, use "she". :) >> > > I wasn't in doubt, but perhaps my chauvinism reared its head. I > apologize if I offended anyone. > > It's actually quite funny that you bring this up, because I'm involved > in a thread on debian-user@ with this topic. I (correctly) referred to > someone as Mr. So-n-so and others questioned my choice of masculine > reference. > > >> -- >> Mel >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > It would be nice to hear more "she-calling" on these lists though... So maybe mailing list etiquette should state anyone posting to a mailing list should be referred to as "she" like we do with boats.... and institutions like the court... (well in dutch we do...) However, Frederique should imply the person who started this thread is female. Either that or cette person has cruel parents... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/ea885a92/signature.pgp From mexas at bristol.ac.uk Tue Aug 4 08:18:48 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Aug 4 08:18:56 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <20090804075221.GA3909@slackbox.xs4all.nl> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090804075221.GA3909@slackbox.xs4all.nl> Message-ID: <20090804081841.GC74277@mech-cluster241.men.bris.ac.uk> On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote: > On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: > > I need a way to generate a lot of secure passwords. So, I read all > > about it. Either people are getting way carried away, or I'm missing > > something... > > It is very easy to generate hard-to-guess semi-random passwords: > > openssl rand -base64 6 > > some examples: > > hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h > > Even though this is semi-random, these are still extremely hard to > guess, and neither will a dictionary attack be much use. The _big_ > downside is that this kind of passwords are hard to remember. So people > _will_ write them down. Which isn't a problem in itself, as long as they > keep that piece of paper secure. (so not taped to their monitor, or > under their keyboard.) > > A better solution IMHO is to let people make their own acronyms, mixed > with a little l33tsp34k. That way you can have something easy to > remember, but still hard to guess. E.g. "Ask not for whom the bell > tolls" would become "An4wtbt". I really like the VMS password generation facility: UAF> modify donkey/generate_password tratworman cralopyter bosequism coshindius jaritions Enter PRIMARY password: clumiump wrielene guirtiety scapress primpatly Enter PRIMARY password: odliesting conetred emenstate ammycle rasests ... You are given a choice of 5 passwords to choose from. If you don't like any, keep going until something comes up that's easy to remember for you. The system manager can specify the min required length. I think this is a really nice utility, and VMS systems are very rarely compromised, though perhaps VMS users are better trained in password safe keeping. -- 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 peter at boosten.org Tue Aug 4 08:32:24 2009 From: peter at boosten.org (Peter Boosten) Date: Tue Aug 4 08:32:31 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <20090804081841.GC74277@mech-cluster241.men.bris.ac.uk> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090804075221.GA3909@slackbox.xs4all.nl> <20090804081841.GC74277@mech-cluster241.men.bris.ac.uk> Message-ID: <4A77F20F.5060500@boosten.org> Anton Shterenlikht wrote: > On Tue, Aug 04, 2009 at 09:52:21AM +0200, Roland Smith wrote: >> On Mon, Aug 03, 2009 at 08:28:52PM -0600, Modulok wrote: >>> I need a way to generate a lot of secure passwords. So, I read all >>> about it. Either people are getting way carried away, or I'm missing >>> something... >> It is very easy to generate hard-to-guess semi-random passwords: >> >> openssl rand -base64 6 >> >> some examples: >> >> hJ9WQ0eK oOyHWEd4 W801vDIB mob29k5I RVDXkE/9 7BRHC+8h >> >> Even though this is semi-random, these are still extremely hard to >> guess, and neither will a dictionary attack be much use. The _big_ >> downside is that this kind of passwords are hard to remember. So people >> _will_ write them down. Which isn't a problem in itself, as long as they >> keep that piece of paper secure. (so not taped to their monitor, or >> under their keyboard.) >> >> A better solution IMHO is to let people make their own acronyms, mixed >> with a little l33tsp34k. That way you can have something easy to >> remember, but still hard to guess. E.g. "Ask not for whom the bell >> tolls" would become "An4wtbt". > > I really like the VMS password generation facility: > > UAF> modify donkey/generate_password > > tratworman > cralopyter > bosequism > coshindius > jaritions > > Enter PRIMARY password: > > clumiump > wrielene > guirtiety > scapress > primpatly > > Enter PRIMARY password: > > odliesting > conetred > emenstate > ammycle > rasests > > ... > > You are given a choice of 5 passwords to choose from. > If you don't like any, keep going until something > comes up that's easy to remember for you. > > The system manager can specify the min required length. > > I think this is a really nice utility, and VMS systems are > very rarely compromised, though perhaps VMS users are > better trained in password safe keeping. > Password guessing will crack these in a jiffy. Hardly secure I would say... I use apg, like this: /usr/local/bin/apg -x 8 -m 8 -l -MSNCL -s 8 characters, minimal one capital, number and special sign, and I could use a previous used password (or random) as input. Peter -- http://www.boosten.org From mail25 at bzerk.org Tue Aug 4 09:43:17 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Tue Aug 4 09:43:24 2009 Subject: ftps ?(off-topic) In-Reply-To: <4A77EDEF.4020806@mapper.nl> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A77EDEF.4020806@mapper.nl> Message-ID: <20090804094311.GA11818@ei.bzerk.org> On Tue, Aug 04, 2009 at 10:14:39AM +0200, Mark Stapper typed: > It would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats.... and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. > Either that or cette person has cruel parents... > Bollocks! From lists at bertram-scharpf.de Tue Aug 4 11:26:26 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Tue Aug 4 11:26:34 2009 Subject: Moused crashes with Synaptics Message-ID: <20090804112624.GB19171@marge.bs.l> Hi, an Acer notebook with a Synaptics Touchpad makes some trouble here. My primary problem is: I restart the mouse daemon and then I can move the mouse only for a short distance; suddenly the mouse freezes. To analyze the problem I do the following: # /etc/rc.d/moused restart # dd if=/dev/sysmouse bs=4 | xxd -c 4 0000000: 87fb 05fb .... 0000004: 0687 f709 .... 0000008: 8787 f207 .... 000000c: 87e1 09e1 .... 0000010: 0a87 f600 .... 0000014: f600 87e2 .... 0000018: f8e3 f987 .... 000001c: f7fa f8fb .... 0000020: 87f3 f7f4 .... 0000024: f887 f3f5 .... 0000028: f3f6 87f4 .... 000002c: f3f4 f487 .... 0000030: f7f4 f8f5 .... 0000034: 87fa f5fb .... 0000038: f587 fcf5 .... 000003c: fdf6 87ff .... 0000040: f6ff f787 .... 0000044: 01f6 02f6 .... 0000048: 87 . 18+1 records in 18+1 records out 73 bytes transferred in 21.774484 secs (3 bytes/sec) # You see: dd stops without reporting an error. Obviously the moused doesn't work properly any more. Further I seem to have missed something else. I found the page http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some sysctls: hw.psm.synaptics_support="1" hw.psm.synaptics.vscroll_hor_area=1300 I don't have those ctls here and I cannot find the kernel driver that provides them. Does anybody have some advice for me? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From nealhogan at gmail.com Tue Aug 4 12:06:49 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Tue Aug 4 12:07:00 2009 Subject: ftps ?(off-topic) In-Reply-To: <4A77EDEF.4020806@mapper.nl> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A77EDEF.4020806@mapper.nl> Message-ID: On Tue, Aug 4, 2009 at 3:14 AM, Mark Stapper wrote: > Neal Hogan wrote: >> On Mon, Aug 3, 2009 at 5:16 PM, Mel >> Flynn wrote: >> >>> On Monday 03 August 2009 04:26:32 Neal Hogan wrote: >>> >>>> 2009/8/3 Odhiambo ????? : >>>> >>>>> On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk < >>>>> >>>>> frederique@isafeelin.org> wrote: >>>>> >>>>>> Odhiambo ????? wrote: >>>>>> >>>>>>> What is ftps? >>>>>>> >>>>>> # grep ftps /etc/services >>>>>> ftps-data 989/tcp # ftp protocol, data, over TLS/SSL >>>>>> ftps-data 989/udp >>>>>> ftps 990/tcp # ftp protocol, control, over TLS/SSL >>>>>> ftps 990/udp >>>>>> >>>>> pure-ftpd supports TLS/SSL. >>>>> >>>>> I am wondering if it can do this. >>>>> >>>> I was curious about the OP's use of 'ftps" too. Perhaps, he could >>>> explain what plain-old-ftp doesn't do and what he wants it to do. >>>> >>> When in doubt, use "she". :) >>> >> >> I wasn't in doubt, but perhaps my chauvinism reared its head. I >> apologize if I offended anyone. >> >> It's actually quite funny that you bring this up, because I'm involved >> in a thread on debian-user@ with this topic. I (correctly) referred to >> someone as Mr. So-n-so and others questioned my choice of masculine >> reference. >> >> >>> -- >>> Mel >>> >>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > It would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats.... and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. Perhaps . . . > Either that or cette person has cruel parents... > > New mailing list etiquette: Everyone should include his/her gender when posting. From gesbbb at yahoo.com Tue Aug 4 12:48:07 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Aug 4 12:48:15 2009 Subject: ftps ?(off-topic) In-Reply-To: References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A77EDEF.4020806@mapper.nl> Message-ID: <20090804084805.45a1a008@scorpio.seibercom.net> On Tue, 4 Aug 2009 07:06:47 -0500 Neal Hogan wrote: > New mailing list etiquette: Everyone should include his/her gender > when posting. OK, then lets also include ethnic background, political affiliation, religious affiliation along with a cornucopia of other irrelevant information. -- Jerry gesbbb@yahoo.com What makes us so bitter against people who outwit us is that they think themselves cleverer than we are. From kraduk at googlemail.com Tue Aug 4 13:17:13 2009 From: kraduk at googlemail.com (chris scott) Date: Tue Aug 4 13:17:20 2009 Subject: ZFS Boot Support from Installer In-Reply-To: References: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> <4A77DE98.5000707@mapper.nl> Message-ID: My zfs only system works fine but it based on 8-beta2 built around 16 May( will be rebuilding soon) The main thing to remember to do it make sure your have zfs_loader_support="yes" in your src of make.conf I based my install on this howto http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD If you dont want to go for current in theory if you install the boot blocks and loader from current onto the disk you should be able to boot into 7.2 I havent tested this though On thing I would advise though is don't install the root partition in the root of the zpool I have mine like this system 68.1G 74.6G 21K /system system/home 59.3G 74.6G 59.3G /home system/local-old 952M 74.6G 952M /system/local-old system/root 4G 77.1G 1.53G legacy system/scripts 20K 74.6G 20K /usr/local/scripts system/tmp 31K 4.00G 31K /tmp system/usr-local 396M 74.6G 324M /usr/local system/usr-obj 1.85G 74.6G 1.65G /usr/obj system/usr-ports 193M 74.6G 185M /usr/ports system/usr-ports/distfiles 8.53M 74.6G 8.53M /usr/ports/distfiles system/usr-src 499M 74.6G 303M /usr/src system/var 1014M 74.6G 776M /var system/var/log 192M 74.6G 192M /var/log system/var/mysql 46.4M 74.6G 46.4M /var/db/mysql I did it like this as it is more like an opensolaris setup. If i wanted to say run a new os build I could say install it on a new zfs fs called say root_YYYYMMDD which would be a clone of the original root. I could then flip flop between these installations by resetinng the bootfs option of the pool From roberthuff at rcn.com Tue Aug 4 14:07:45 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Aug 4 14:07:52 2009 Subject: ftps ?(off-topic) In-Reply-To: <20090804084805.45a1a008@scorpio.seibercom.net> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <200908031416.30084.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A77EDEF.4020806@mapper.nl> <20090804084805.45a1a008@scorpio.seibercom.net> Message-ID: <4A7839FA.2020001@rcn.com> Jerry wrote: > On Tue, 4 Aug 2009 07:06:47 -0500 > Neal Hogan wrote: > >> New mailing list etiquette: Everyone should include his/her gender >> when posting. > > OK, then lets also include ethnic background, political affiliation, > religious affiliation along with a cornucopia of other irrelevant > information. Oooh! Oooh! Can we include the date of the most recent recalibration of the sarcasm bit detector? Robert Huff From joey at mingrone.org Tue Aug 4 15:10:55 2009 From: joey at mingrone.org (Joey Mingrone) Date: Tue Aug 4 15:11:03 2009 Subject: kernel panics in 7.2-RELEASE Message-ID: Hi, I have 7.2-RELEASE running on two older laptops and both have had a few kernel panics lately. Unfortunately the one that paniced today doesn't have debugging symbols, so I'm sure how useful any of output below will be. Joey % dmesg . . . Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc05e480b stack pointer = 0x28:0xe7228820 frame pointer = 0x28:0xe7228860 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 50277 (mtree) trap number = 12 panic: page fault . . . % sudo kgdb kernel /var/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. #0 0xc0566ddb in doadump () From modulok at gmail.com Tue Aug 4 16:39:41 2009 From: modulok at gmail.com (Modulok) Date: Tue Aug 4 16:39:57 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908040938m6b195216kb18edc17add0e5ba@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090804075221.GA3909@slackbox.xs4all.nl> <20090804081841.GC74277@mech-cluster241.men.bris.ac.uk> <4A77F20F.5060500@boosten.org> <64c038660908040936m7872c211y2897990508ee8316@mail.gmail.com> <64c038660908040938m6b195216kb18edc17add0e5ba@mail.gmail.com> Message-ID: <64c038660908040939o349b7b16o6659d5f5f2eb65fb@mail.gmail.com> Good call on the hashing, reducing the quality of the passwords, Kurt. The hash generated passwords are for online accounts, as auto-generated initial passwords and such. But I'm also looking for a good way to generate high quality crypto keys. In the later case, the data being protected are disk images of clients...mountains of sensitive data. These will be on USB keys, and thus do not need to be memorized. Assuming my clients are not enemies of a state, /dev/random should be a sufficient source for this purpose, correct? i.e: dd if=/dev/random of=foo.key bs=256 count=1 Thanks guys! -Modulok- From rwmaillists at googlemail.com Tue Aug 4 16:39:43 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Aug 4 16:39:58 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <200908032220.50964.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <200908032220.50964.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090804173939.598a224f@gumby.homeunix.com> On Mon, 3 Aug 2009 22:20:50 -0800 Mel Flynn wrote: > On Monday 03 August 2009 18:28:52 Modulok wrote: > > > I wrote a python script which uses /dev/random, and hashes the > > output with sha256. I then truncate the output to the desired > > length. Blasphemy! According to the superstitious password crowd my > > passwords are not very secure ... maybe. > > They aren't, because you reduce the random to a much less random, > *because* you are hashing. Not in FreeBSD, it's a 256bit PRNG and a 256 bit hash. From modulok at gmail.com Tue Aug 4 16:42:25 2009 From: modulok at gmail.com (Modulok) Date: Tue Aug 4 16:42:31 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <20090804173939.598a224f@gumby.homeunix.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <200908032220.50964.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090804173939.598a224f@gumby.homeunix.com> Message-ID: <64c038660908040942t6f7934detdeb7b138623eb884@mail.gmail.com> As I understand it I would have to double the length of a hashed password for it to be as secure as an un-hashed one, as each pair of characters represent one byte. Aye? -Modulok- On 8/4/09, RW wrote: > On Mon, 3 Aug 2009 22:20:50 -0800 > Mel Flynn wrote: > >> On Monday 03 August 2009 18:28:52 Modulok wrote: >> >> > I wrote a python script which uses /dev/random, and hashes the >> > output with sha256. I then truncate the output to the desired >> > length. Blasphemy! According to the superstitious password crowd my >> > passwords are not very secure ... maybe. >> >> They aren't, because you reduce the random to a much less random, >> *because* you are hashing. > > Not in FreeBSD, it's a 256bit PRNG and a 256 bit hash. > _______________________________________________ > 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 rwmaillists at googlemail.com Tue Aug 4 16:42:56 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Aug 4 16:43:03 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> Message-ID: <20090804173431.52698379@gumby.homeunix.com> On Mon, 3 Aug 2009 20:28:52 -0600 Modulok wrote: > However, wouldn't hashing bytes from /dev/random be quite secure? The > hash function would cover any readily apparent patterns, if they were > found to existed. That's fine, the only issue is that hex digits lead to long passwords for a given stength. Most password generators are OK, provided that they ultimately derive a sufficiently strong seed from /dev/random and don't do anything stupid, this includes things like jot, which uses the arc4random library. The main problem is that there are still a few generators around, IIRC sysutils/pwgen is one, that still seed from the time and the pid, so I wouldn't use a generator unless I'd seen the source. From rwmaillists at googlemail.com Tue Aug 4 17:19:38 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Aug 4 17:19:45 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908040942t6f7934detdeb7b138623eb884@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <200908032220.50964.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090804173939.598a224f@gumby.homeunix.com> <64c038660908040942t6f7934detdeb7b138623eb884@mail.gmail.com> Message-ID: <20090804181932.35562195@gumby.homeunix.com> On Tue, 4 Aug 2009 10:42:22 -0600 Modulok wrote: > As I understand it I would have to double the length of a hashed > password for it to be as secure as an un-hashed one, as each pair of > characters represent one byte. Aye? I wouldn't put it quite like that, it's the hexadecimal representation that puts one bytes into two characters not the hashing. From david at vizion2000.net Tue Aug 4 17:43:54 2009 From: david at vizion2000.net (David Southwell) Date: Tue Aug 4 17:44:02 2009 Subject: cvs tag usage Message-ID: <200908041843.41785.david@vizion2000.net> I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP _7_2_0_RELEASE _7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 Where can I find some explanation on this? Thanks in advance David From nightrecon at hotmail.com Tue Aug 4 18:32:20 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Tue Aug 4 18:32:27 2009 Subject: cvs tag usage References: <200908041843.41785.david@vizion2000.net> Message-ID: David Southwell wrote: > I am confused about the usage of the tag for src. > > I took a look at the web pages and found the following choices: > > _7_BP > _7_2_BP > _7_2_0_RELEASE > _7_2 > > But could not find anything that told me where -p2 fits into this!! > > > # uname -a > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > To synchronize src do I use: > > *default release=cvs tag=RELENG_7_2 > will this automatically track the latest version in 7_2 and therefore > keep track with 7.2-RELEASE-p2 or later?? > Yes. RELENG_7_2 is the security patched update of Release. The -p2 means there have been two security patches applied to the source code. The actual release (RELENG_7_2_0_RELEASE) is static and will never change. The only thing that changes with _7_2 is the addition/inclusion of the patches you see in the security announcements. -Mike From amvandemore at gmail.com Tue Aug 4 18:38:49 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Aug 4 18:38:55 2009 Subject: Weird networking issue In-Reply-To: <4a77db85.YjBDPg0yifmYRuT9%perryh@pluto.rain.com> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> <4a77db85.YjBDPg0yifmYRuT9%perryh@pluto.rain.com> Message-ID: <6201873e0908041138g253b9dctcc0827f91f21c862@mail.gmail.com> On Tue, Aug 4, 2009 at 1:56 AM, wrote: > Glen Barber wrote: > > On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: > > [snip description of network flakiness on one server, out > of several on the same switch behind the same gateway] > > > > Any ideas? :-) > > > > > I have 2: > > 1.) Bad NIC > > 2.) Bad CPU > > 3. Bad cable from NIC to switch > 4. Bad switch port > > These may not be all that likely, but they're easy to test if > you have even a marginally-competent tech available at the site. > > I had similar behavior about a years ago. I also had a not very frequent( < once a week) sporadic reboot issue during it. I replaced the RAM and it's not had the issue anymore. I may have rebuilt world too... -- Adam Vande More From david at vizion2000.net Tue Aug 4 19:01:10 2009 From: david at vizion2000.net (David Southwell) Date: Tue Aug 4 19:01:16 2009 Subject: cvs tag usage In-Reply-To: References: <200908041843.41785.david@vizion2000.net> Message-ID: <200908042001.08970.david@vizion2000.net> > David Southwell wrote: > > I am confused about the usage of the tag for src. > > > > I took a look at the web pages and found the following choices: > > > > _7_BP > > _7_2_BP > > _7_2_0_RELEASE > > _7_2 > > > > But could not find anything that told me where -p2 fits into this!! > > > > > > # uname -a > > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > To synchronize src do I use: > > > > *default release=cvs tag=RELENG_7_2 > > will this automatically track the latest version in 7_2 and therefore > > keep track with 7.2-RELEASE-p2 or later?? > > Yes. RELENG_7_2 is the security patched update of Release. The -p2 means > there have been two security patches applied to the source code. The actual > release (RELENG_7_2_0_RELEASE) is static and will never change. The only > thing that changes with _7_2 is the addition/inclusion of the patches you > see in the security announcements. > > -Mike > > > Thanks for being helpful.. it might be useful if these designations appeared somewhere in the documentation-- but I guess there is enough for people to do!!! From what you are saying using *default release=cvs tag=RELENG_7_2 will work for me Thanks again David From glen.j.barber at gmail.com Tue Aug 4 19:07:22 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 19:07:30 2009 Subject: cvs tag usage In-Reply-To: <200908041843.41785.david@vizion2000.net> References: <200908041843.41785.david@vizion2000.net> Message-ID: <4ad871310908041207u1f57800cu70f4f66afed2b19b@mail.gmail.com> On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > I am confused about the usage of the tag for src. > > I took a look at the web pages and found the following choices: > > _7_BP > _7_2_BP BP ? > _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. > _7_2 > > But could not find anything that told me where -p2 fits into this!! > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > # uname -a > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC ?amd64 > > To synchronize src do I use: > > *default release=cvs tag=RELENG_7_2 > will this automatically track the latest version in 7_2 ?and therefore keep > track with 7.2-RELEASE-p2 or later?? > > or > do I need to use something like: > > *default release=cvs tag=RELENG_7_2-p2 > No. Read the link I posted above. > Where can I find some explanation on this? > > Thanks in advance > -- Glen Barber From lists at bertram-scharpf.de Tue Aug 4 19:28:40 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Tue Aug 4 19:28:46 2009 Subject: Moused crashes with Synaptics In-Reply-To: <20090804112624.GB19171@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> Message-ID: <20090804192837.GA20793@marge.bs.l> Hi, Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > Hi, > > an Acer notebook with a Synaptics Touchpad makes some trouble > here. My primary problem is: I restart the mouse daemon and then I > can move the mouse only for a short distance; suddenly the mouse > freezes. > > To analyze the problem I do the following: > > # /etc/rc.d/moused restart > # dd if=/dev/sysmouse bs=4 | xxd -c 4 > ... > 0000048: 87 . > 18+1 records in > 18+1 records out > 73 bytes transferred in 21.774484 secs (3 bytes/sec) > # > > You see: dd stops without reporting an error. Obviously the moused > doesn't work properly any more. In the meantime I learned that there is /dev/bpsm0 and I wrote a litte Ruby script that reads /dev/psm0. Both devices refuse to supply anything after a very short period of time. What could this be? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From kline at thought.org Tue Aug 4 19:53:24 2009 From: kline at thought.org (Gary Kline) Date: Tue Aug 4 19:53:33 2009 Subject: not dead [yet]. Message-ID: <20090804191653.GA10415@thought.org> Until late Sunday night I was here at keyboard/computer virtually 24/7 working on thesis. So was my advisor, but then that's his *job*. Anyway, now it's wait and see. Meanwhile: how do I get rid of a truckload of old binaries that I rarely/never use? Most show a list of dependencies that's about 70 lines long, and I don't want to break things. --To give a ferinstance, last spring I installed every OCR port we've got. Not came close; all can go. thanks for some lights! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From bf1783 at googlemail.com Tue Aug 4 19:54:57 2009 From: bf1783 at googlemail.com (b. f.) Date: Tue Aug 4 19:55:04 2009 Subject: cvs tag usage Message-ID: Glen Barber wrote: >On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: >> I am confused about the usage of the tag for src. >> >> I took a look at the web pages and found the following choices: >> >> _7_BP >> _7_2_BP > >BP ? > It is the "branchpoint" tag, made when a release branch is first created: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html It is not documented in most places because it is primarily of interest to developers. >> _7_2_0_RELEASE > >Should be RELENG. Don't blindly follow how-tos. > RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you haven't verified them. >> _7_2 >> >> But could not find anything that told me where -p2 fits into this!! >> > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html More to the point is the following page in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html b. From glen.j.barber at gmail.com Tue Aug 4 20:32:56 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 20:33:03 2009 Subject: not dead [yet]. In-Reply-To: <20090804191653.GA10415@thought.org> References: <20090804191653.GA10415@thought.org> Message-ID: <4ad871310908041332y759f15edx62d93ee887d1237b@mail.gmail.com> Hi, Gary On Tue, Aug 4, 2009 at 3:16 PM, Gary Kline wrote: > > ? ? ? ?Until late Sunday night I was here at keyboard/computer virtually > ? ? ? ?24/7 working on thesis. ?So was my advisor, but then that's his > ? ? ? ?*job*. ?Anyway, now it's wait and see. > Such is academia. :-) > ? ? ? ?Meanwhile: how do I get rid of a truckload of old binaries that I > ? ? ? ?rarely/never use? ?Most show a list of dependencies that's about > ? ? ? ?70 lines long, and I don't want to break things. > ports-mgmt/pkg_cutleaves may be what you're looking for. > ? ? ? ?--To give a ferinstance, last spring I installed every OCR port > ? ? ? ?we've got. ?Not came close; all can go. > > ? ? ? ?thanks for some lights! > -- Glen Barber From glen.j.barber at gmail.com Tue Aug 4 20:34:31 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 20:34:38 2009 Subject: cvs tag usage In-Reply-To: References: Message-ID: <4ad871310908041334k43cb70e2t572276edcf0caee7@mail.gmail.com> On Tue, Aug 4, 2009 at 3:54 PM, b. f. wrote: > Glen Barber wrote: >>On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: >>> I am confused about the usage of the tag for src. >>> >>> I took a look at the web pages and found the following choices: >>> >>> _7_BP >>> _7_2_BP >> >>BP ? >> > > It is the "branchpoint" tag, made when a release branch is first created: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html > I see. Noted. > It is not documented in most places because it is primarily of > interest to developers. > >>> _7_2_0_RELEASE >> >>Should be RELENG. ?Don't blindly follow how-tos. >> > > RELENG_7_2_0_RELEASE is a valid tag. ?Don't make pronouncements if you > haven't verified them. > He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. >>> _7_2 >>> >>> But could not find anything that told me where -p2 fits into this!! >>> >> >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > More to the point is the following page in the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > -- Glen Barber From ertr1013 at student.uu.se Tue Aug 4 20:53:17 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Tue Aug 4 20:53:25 2009 Subject: cvs tag usage In-Reply-To: <4ad871310908041207u1f57800cu70f4f66afed2b19b@mail.gmail.com> References: <200908041843.41785.david@vizion2000.net> <4ad871310908041207u1f57800cu70f4f66afed2b19b@mail.gmail.com> Message-ID: <20090804205254.GA89738@owl.midgard.homeip.net> On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: > On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > > I am confused about the usage of the tag for src. > > > > I took a look at the web pages and found the following choices: > > > > _7_BP > > _7_2_BP > > BP ? BP = Branch Point. It is a tag which marks the place where the corresponding branch was created. > > > _7_2_0_RELEASE > > Should be RELENG. Don't blindly follow how-tos. > > > _7_2 > > > > But could not find anything that told me where -p2 fits into this!! > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > > > > # uname -a > > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC ?amd64 > > > > To synchronize src do I use: > > > > *default release=cvs tag=RELENG_7_2 > > will this automatically track the latest version in 7_2 ?and therefore keep > > track with 7.2-RELEASE-p2 or later?? > > > > or > > do I need to use something like: > > > > *default release=cvs tag=RELENG_7_2-p2 > > > > No. Read the link I posted above. > > > Where can I find some explanation on this? > > > > Thanks in advance > > > > > > -- > Glen Barber > _______________________________________________ > 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" -- Erik Trulsson ertr1013@student.uu.se From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 4 21:02:55 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 4 21:03:02 2009 Subject: ftps ?(off-topic) In-Reply-To: <4A77EDEF.4020806@mapper.nl> References: <4A76C9CF.5050100@isafeelin.org> <4A77EDEF.4020806@mapper.nl> Message-ID: <200908041302.50544.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 04 August 2009 00:14:39 Mark Stapper wrote: > It would be nice to hear more "she-calling" on these lists though... > So maybe mailing list etiquette should state anyone posting to a mailing > list should be referred to as "she" like we do with boats.... and > institutions like the court... (well in dutch we do...) > However, Frederique should imply the person who started this thread is > female. OK, that grew out of proportion real quick. The number of knowledgeable actively posting females on this list is very low, which is why I think we should cherish them, like an endangered species (or ladies if you will). No need to go overboard :) -- Mel From kingedgar at gmail.com Tue Aug 4 21:05:53 2009 From: kingedgar at gmail.com (Jason Garrett) Date: Tue Aug 4 21:06:05 2009 Subject: ZFS Boot Support from Installer In-Reply-To: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> References: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> Message-ID: <970380130908041405x3064f4fet84205e078245f67d@mail.gmail.com> On Mon, Aug 3, 2009 at 11:48, Tim Gustafson wrote: > Hi, > > I was wondering if there was a plan or time line in place to support ZFS > boot partitions in the installer. I Googled around a bit and found some > how-to documents for setting it up in a hacky kind of way, but the > impression I got is that support for ZFS partitions is coming to the > installer in perhaps 7.3 or 8.0, and I wanted to confirm or dispel that myth > before I go forward using the hacky method. I wouldn't recommend using zfs at all right now, unless you want random crashes and lots of missing data.. ESPECIALLY in 8.0,1,2 versions. Just my 2 cents... > > > Thanks! > > Tim Gustafson > Baskin School of Engineering > UC Santa Cruz > tjg@soe.ucsc.edu > 831-459-5354 > > _______________________________________________ > 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 mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 4 21:08:38 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 4 21:08:45 2009 Subject: cvs tag usage In-Reply-To: <20090804205254.GA89738@owl.midgard.homeip.net> References: <200908041843.41785.david@vizion2000.net> <4ad871310908041207u1f57800cu70f4f66afed2b19b@mail.gmail.com> <20090804205254.GA89738@owl.midgard.homeip.net> Message-ID: <200908041308.36616.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 04 August 2009 12:52:54 Erik Trulsson wrote: > On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: > > On Tue, Aug 4, 2009 at 1:43 PM, David Southwell wrote: > > > I am confused about the usage of the tag for src. > > > > > > I took a look at the web pages and found the following choices: > > > > > > _7_BP > > > _7_2_BP > > > > BP ? > > BP = Branch Point. It is a tag which marks the place where the > corresponding branch was created. And for developers or interesting parties, one can create cvs diff using -rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during the final release stage. -- Mel From rwmaillists at googlemail.com Tue Aug 4 21:11:28 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Aug 4 21:11:36 2009 Subject: not dead [yet]. In-Reply-To: <4ad871310908041332y759f15edx62d93ee887d1237b@mail.gmail.com> References: <20090804191653.GA10415@thought.org> <4ad871310908041332y759f15edx62d93ee887d1237b@mail.gmail.com> Message-ID: <20090804221124.585f58c4@gumby.homeunix.com> On Tue, 4 Aug 2009 16:32:54 -0400 Glen Barber wrote: > > ? ? ? ?Meanwhile: how do I get rid of a truckload of old binaries > > that I rarely/never use? ?Most show a list of dependencies that's > > about 70 lines long, and I don't want to break things. > > > > ports-mgmt/pkg_cutleaves may be what you're looking for. Or "portmanager -slid" which is a bit easier to use for a one-off cleanup, and also understands build-dependencies. From bf1783 at googlemail.com Tue Aug 4 21:32:09 2009 From: bf1783 at googlemail.com (b. f.) Date: Tue Aug 4 21:32:41 2009 Subject: cvs tag usage In-Reply-To: <4ad871310908041334k43cb70e2t572276edcf0caee7@mail.gmail.com> References: <4ad871310908041334k43cb70e2t572276edcf0caee7@mail.gmail.com> Message-ID: On 8/4/09, Glen Barber wrote: >> >>>> _7_2_0_RELEASE >>> >>>Should be RELENG. Don't blindly follow how-tos. >>> >> >> RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you >> haven't verified them. >> > > He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. ... Mel Flynn wrote: > >And for developers or interesting parties, one can create cvs diff using >-rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during >the final release stage. How many "interesting parties" have you been to, Mel, where such a listing came in handy? ;) From rsmith at xs4all.nl Tue Aug 4 21:37:42 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Aug 4 21:37:49 2009 Subject: not dead [yet]. In-Reply-To: <20090804191653.GA10415@thought.org> References: <20090804191653.GA10415@thought.org> Message-ID: <20090804213739.GA31410@slackbox.xs4all.nl> On Tue, Aug 04, 2009 at 12:16:56PM -0700, Gary Kline wrote: > > Until late Sunday night I was here at keyboard/computer virtually > 24/7 working on thesis. So was my advisor, but then that's his > *job*. Anyway, now it's wait and see. Good luck! > Meanwhile: how do I get rid of a truckload of old binaries that I > rarely/never use? Most show a list of dependencies that's about > 70 lines long, and I don't want to break things. > > --To give a ferinstance, last spring I installed every OCR port > we've got. Not came close; all can go. What you can do is make a list of all installed ports with ports-mgmt/portmaster: portmaster -L >ports.list Looking through this list, you'll see four categories; - Root ports (No dependencies, not depended on) - Trunk ports (No dependencies, are depended on) - Branch ports (Have dependencies, are depended on) - Leaf ports (Have dependencies, not depended on) Basically, you can delete any of the leaf and root ports, because they're not depended on. E.g. if you have the following in your list as a leaf port: ===>>> qemu-0.10.6 you can execute 'pkg_delete -d qemu-0.10.6' as root, and it is gone. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090804/96607c66/attachment.pgp From joel at vnode.se Tue Aug 4 21:52:56 2009 From: joel at vnode.se (Joel Dahl) Date: Tue Aug 4 21:53:03 2009 Subject: [Solved] Re: Weird networking issue In-Reply-To: <6201873e0908041138g253b9dctcc0827f91f21c862@mail.gmail.com> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> <4a77db85.YjBDPg0yifmYRuT9%perryh@pluto.rain.com> <6201873e0908041138g253b9dctcc0827f91f21c862@mail.gmail.com> Message-ID: <4A78ADB4.7@vnode.se> Adam Vande More skrev: > On Tue, Aug 4, 2009 at 1:56 AM, wrote: > >> Glen Barber wrote: >>> On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: >> [snip description of network flakiness on one server, out >> of several on the same switch behind the same gateway] >> >>>> Any ideas? :-) >>>> >>> I have 2: >>> 1.) Bad NIC >>> 2.) Bad CPU >> 3. Bad cable from NIC to switch >> 4. Bad switch port >> >> These may not be all that likely, but they're easy to test if >> you have even a marginally-competent tech available at the site. >> >> I had similar behavior about a years ago. I also had a not very frequent( > < once a week) sporadic reboot issue during it. I replaced the RAM and it's > not had the issue anymore. I may have rebuilt world too... The on-site techs ran the Dell diagnostics tests and the Broadcom test (for the NIC) but was unable to find any hw errors. So, they finally replaced the cable and connected it to another switch port. And now everything seems to be working. I've been doing some tests for a few hours, but I can't get the machine to crap out again. Looking good so far... :-) -- Joel From glen.j.barber at gmail.com Tue Aug 4 21:56:35 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 21:56:59 2009 Subject: cvs tag usage In-Reply-To: References: <4ad871310908041334k43cb70e2t572276edcf0caee7@mail.gmail.com> Message-ID: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> On Tue, Aug 4, 2009 at 5:32 PM, b. f. wrote: >> >> He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. > > Well, neither actually. ?:) ? s/0_2/2_0/ ?. ?But I inferred from the > context ?-- it seemed obvious, particularly from what he wrote later > -- that he meant those choices as suffixes to RELENG, which he omitted > for the sake of brevity. ?I assumed you also made this inference. > Agreed, but IMHO, it's better to be precise and not assume too much. :-) -- Glen Barber From glen.j.barber at gmail.com Tue Aug 4 21:57:43 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Aug 4 21:58:06 2009 Subject: [Solved] Re: Weird networking issue In-Reply-To: <4A78ADB4.7@vnode.se> References: <4A7753A0.7040006@vnode.se> <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> <4a77db85.YjBDPg0yifmYRuT9%perryh@pluto.rain.com> <6201873e0908041138g253b9dctcc0827f91f21c862@mail.gmail.com> <4A78ADB4.7@vnode.se> Message-ID: <4ad871310908041457t284e7977y500ac789740b2190@mail.gmail.com> On Tue, Aug 4, 2009 at 5:52 PM, Joel Dahl wrote: > And now everything seems to be working. ?I've been doing some tests for a > few hours, but I can't get the machine to crap out again. ?Looking good so > far... :-) > Good to hear. :-) -- Glen Barber From rwmaillists at googlemail.com Tue Aug 4 22:00:36 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Aug 4 22:00:43 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <20090803223427.511879f2.wmoran@potentialtech.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090803223427.511879f2.wmoran@potentialtech.com> Message-ID: <20090804230030.5e3aa49c@gumby.homeunix.com> On Mon, 3 Aug 2009 22:34:27 -0400 Bill Moran wrote: > Modulok wrote: > > > > I need a way to generate a lot of secure passwords. So, I read all > > about it. Either people are getting way carried away, or I'm missing > > something... > > You could just use apg ... it's in the ports. By the look of it this was originally DES-based, and was upgraded to use CAST or SHA1. However the seeding from /dev/random seems to have been left at 64 bits (the DES blocksize) plus some extra from gettimeofday(). In practice it's probably good enough, it just seems a bit lame. From bf1783 at googlemail.com Tue Aug 4 22:37:48 2009 From: bf1783 at googlemail.com (b. f.) Date: Tue Aug 4 22:37:55 2009 Subject: not dead [yet]. Message-ID: Roland Smith wrote: >What you can do is make a list of all installed ports with ports-mgmt/portmaster: > portmaster -L >ports.list > >Looking through this list, you'll see four categories; >- Root ports (No dependencies, not depended on) >- Trunk ports (No dependencies, are depended on) >- Branch ports (Have dependencies, are depended on) >- Leaf ports (Have dependencies, not depended on) > >Basically, you can delete any of the leaf and root ports, because >they're not depended on. E.g. if you have the following in your list as >a leaf port: > ===>>> qemu-0.10.6 >you can execute 'pkg_delete -d qemu-0.10.6' as root, and it is gone. If you're only interested in deletion, "-l" should be preferred to "-L". And portmaster with these flags does not always account for build dependencies. so with this method you may occasionally remove a port that is only used to build other ports, but is not a runtime dependency of any other port. Also, occasionally a port Makefile doesn't properly account for some dependencies, and removing them will break the port. So there may be some breakages that you'll have to fix, but this shouldn't happen often. When removing ports, I sometimes use pkg_deinstall -vR, sometimes also with -i. because it can clean out the now-unneeded dependencies of the port I'm removing, which speeds up this process. Provided your pkgdb and portsdb are up-to-date, it's a little better than portmaster -s, which relies on +REQUIRED_BY to detect stale dependencies, and may occasionally fail. b. From tjg at soe.ucsc.edu Wed Aug 5 00:01:08 2009 From: tjg at soe.ucsc.edu (Tim Gustafson) Date: Wed Aug 5 00:01:16 2009 Subject: ZFS Boot Support from Installer In-Reply-To: <970380130908041405x3064f4fet84205e078245f67d@mail.gmail.com> Message-ID: <1673429939.562991249430468086.JavaMail.root@mail-01.cse.ucsc.edu> > I wouldn't recommend using zfs at all right now, unless you want > random crashes and lots of missing data.. ESPECIALLY in 8.0,1,2 > versions. I'm using 7.2 at the moment with a standard UFS2 boot partition and a 500GB ZFS pool. My ZFS pool actually seems pretty stable. I did a "make -j 16 buildworld buildkernel installkernel installworld" using it as my /usr/src and /usr/obj and it performed beautifully. At the time I did that, it was configured as just a RAIDZ. I've since changed that to RAIDZ2, but I haven't beaten it up yet, so I don't know if there's a difference between the stability of RAIDZ and RAIDZ2. Tim Gustafson Baskin School of Engineering UC Santa Cruz tjg@soe.ucsc.edu 831-459-5354 From jhall at socket.net Wed Aug 5 01:06:59 2009 From: jhall at socket.net (Jay Hall) Date: Wed Aug 5 01:07:06 2009 Subject: find question Message-ID: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> I am sure this is something I am doing that is obviously wrong, but I cannot figure it out. I am reading a list of directories from a file, and then listing all of the files in the directory to a file. Here is the code. #!/usr/local/bin/bash cat ${FILELIST} | while read LINE do echo ${LINE} `find ${LINE} -type f >> ${TMPFILE}` done Here is the output. /usr/home/windowsaccess find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: f: No such file or directory Any suggestions would be greatly appreciated. Thanks, Jay From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 01:17:19 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 01:17:27 2009 Subject: find question In-Reply-To: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> Message-ID: <200908041717.17286.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 04 August 2009 17:06:56 Jay Hall wrote: > I am sure this is something I am doing that is obviously wrong, but I > cannot figure it out. > > I am reading a list of directories from a file, and then listing all > of the files in the directory to a file. > > Here is the code. > > #!/usr/local/bin/bash > cat ${FILELIST} | while read LINE > do [ -z "${LINE}" ] && continue > echo ${LINE} > `find ${LINE} -type f >> ${TMPFILE}` > done > > Here is the output. > /usr/home/windowsaccess > ^^^^ empty line -- Mel From Ggatten at waddell.com Wed Aug 5 01:23:17 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Aug 5 01:23:25 2009 Subject: find question Message-ID: <70C0964126D66F458E688618E1CD008A0793F2EE@WADPEXV0.waddell.com> What is "-type" supposed to do? I've never used it before, never needed it. ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Tue Aug 04 20:06:56 2009 Subject: find question I am sure this is something I am doing that is obviously wrong, but I cannot figure it out. I am reading a list of directories from a file, and then listing all of the files in the directory to a file. Here is the code. #!/usr/local/bin/bash cat ${FILELIST} | while read LINE do echo ${LINE} `find ${LINE} -type f >> ${TMPFILE}` done Here is the output. /usr/home/windowsaccess find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: f: No such file or directory Any suggestions would be greatly appreciated. Thanks, Jay _______________________________________________ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From glen.j.barber at gmail.com Wed Aug 5 01:27:03 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 01:27:15 2009 Subject: find question In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2EE@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2EE@WADPEXV0.waddell.com> Message-ID: <4ad871310908041827oa2e97dfl5efde2d54f0a7bde@mail.gmail.com> On Tue, Aug 4, 2009 at 9:19 PM, Gary Gatten wrote: > What is "-type" supposed to do? I've never used it before, never needed it. > Gary, -type allows different types of files to be located -- 'f' - regular file, 'd' - directory, 'l' - link, etc. Have a look at find(1) for more info. Regards, -- Glen Barber From jhall at socket.net Wed Aug 5 01:41:26 2009 From: jhall at socket.net (Jay Hall) Date: Wed Aug 5 01:41:33 2009 Subject: find question In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2EE@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2EE@WADPEXV0.waddell.com> Message-ID: <704F22C8-2EC3-4B7D-AF7B-8418902EF08E@socket.net> > What is "-type" supposed to do? I've never used it before, never > needed it. > > Type is used to specify the type of file to be found. f is a regular file. Jay From Ggatten at waddell.com Wed Aug 5 01:55:11 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Aug 5 01:55:18 2009 Subject: find question Message-ID: <70C0964126D66F458E688618E1CD008A0793F2EF@WADPEXV0.waddell.com> Ah yes, I do remember now. Plus, for once the syntax is almost self explanatory. So, did the OPs question get answered? ________________________________ From: Jay Hall To: Gary Gatten Cc: freebsd-questions@freebsd.org Sent: Tue Aug 04 20:41:22 2009 Subject: Re: find question What is "-type" supposed to do? I've never used it before, never needed it. Type is used to specify the type of file to be found. f is a regular file. Jay
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From lists at bertram-scharpf.de Wed Aug 5 02:15:03 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Wed Aug 5 02:15:10 2009 Subject: Moused crashes with Synaptics In-Reply-To: <20090804192837.GA20793@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> <20090804192837.GA20793@marge.bs.l> Message-ID: <20090805021500.GA27626@marge.bs.l> Hi, Am Dienstag, 04. Aug 2009, 21:28:37 +0200 schrieb Bertram Scharpf: > Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > > Hi, > > > > an Acer notebook with a Synaptics Touchpad makes some trouble > > here. My primary problem is: I restart the mouse daemon and then I > > can move the mouse only for a short distance; suddenly the mouse > > freezes. > > In the meantime I learned that there is /dev/bpsm0 and I wrote a > litte Ruby script that reads /dev/psm0. Both devices refuse to > supply anything after a very short period of time. Hello, anybody there? Could at least someone point me to a documentation how to debug the psm kernel device? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From jhall at socket.net Wed Aug 5 02:38:50 2009 From: jhall at socket.net (Jay Hall) Date: Wed Aug 5 02:38:56 2009 Subject: find question In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2EF@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2EF@WADPEXV0.waddell.com> Message-ID: > Ah yes, I do remember now. Plus, for once the syntax is almost self > explanatory. So, did the OPs question get answered? > I think I just found the problem. I am testing now. There was a blank line at the end of the file. From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 02:50:26 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 02:50:33 2009 Subject: Moused crashes with Synaptics In-Reply-To: <20090804112624.GB19171@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> Message-ID: <200908041850.24597.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 04 August 2009 03:26:24 Bertram Scharpf wrote: > Further I seem to have missed something else. I found the page > http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some > sysctls: > > hw.psm.synaptics_support="1" > hw.psm.synaptics.vscroll_hor_area=1300 > > I don't have those ctls here and I cannot find the kernel driver > that provides them. That's because they're loader tunables. You set them in /boot/loader.conf. The LOADER TUNABLES section of psm(4) details it. Note that I had not a very good experience with the synaptics driver about a year ago and haven't tried since. YMMV. -- Mel From mike at urgle.com Wed Aug 5 02:54:29 2009 From: mike at urgle.com (Mike Bristow) Date: Wed Aug 5 02:54:36 2009 Subject: find question In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2EF@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2EF@WADPEXV0.waddell.com> Message-ID: <20090805023946.GA9852@cheddar.urgle.com> On Tue, Aug 04, 2009 at 08:49:17PM -0500, Gary Gatten wrote: > Ah yes, I do remember now. Plus, for once the syntax is almost self explanatory. So, did the OPs question get answered? Yes. But to be clear, one of the lines in the input file is blank, which means that find is run as find -type f which is incorrect; it will be treated as "run find with the -t, -y, -p, and -e flags in the directory f". (find's syntax is: find [ optional flags ] [ required places to search ] [ optional rules to filter out the things you dont want] By having the places-to-search variable be blank, the shell doesn't pass anythin to find, causing the optional rules to be interpreted as the optional flags - and the syntax isn't correct. -- :wq From kagesenshi.87 at gmail.com Wed Aug 5 07:16:24 2009 From: kagesenshi.87 at gmail.com (Izhar Firdaus) Date: Wed Aug 5 07:16:31 2009 Subject: routing for jails on public IPs, jails on private IPs between 2 servers Message-ID: Hi , I have this question which need some comment/help on: == the setup == I have 2 freebsd servers with several jails running on it. Each server have several jails thats either listening on publicly accessible IP or listening on a loopback/private IP. The two servers are connected together using vpn with routing that allows ServerA to connect to private jails in ServerB and vice versa. ServerA (10.1.0.1_tun0,192.168.1.1_bge0,192.168.1.2_bge0,127.0.1.1_lo1,127.0.1.1_lo1) - JailA(192.168.1.2_bge0) - JailB(127.0.1.1_lo1) - JailC(127.0.1.1_lo1) ServerB (10.1.0.3_tun0,192.168.1.3_bge0,192.168.1.4_bge0,127.0.2.1_lo1,127.0.2.2_lo1) - JailA(192.168.1.4_bge0) - JailB(127.0.2.1_lo1) - JailC(127.0.2.2_lo1) == the issue == under the current config, ServerA can connect to all private jails in ServerB through vpn+routing and vice versa. Private jails in ServerA can connect to public jails in ServerB through NAT and vice versa. However, I cant figure out how to allow public jails in ServerA to connect to private jails in ServerB. Anybody have idea on how to implement it? Thanks -- Mohd Izhar Firdaus Bin Ismail Amano Hikaru ??? ???? ???? http://fedoraproject.org/wiki/MohdIzharFirdaus http://blog.kagesenshi.org 92C2 B295 B40B B3DC 6866 5011 5BD2 584A 8A5D 7331 From m.seaman at infracaninophile.co.uk Wed Aug 5 07:36:52 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Aug 5 07:36:59 2009 Subject: find question In-Reply-To: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> Message-ID: <4A79367F.8000003@infracaninophile.co.uk> Jay Hall wrote: > I am sure this is something I am doing that is obviously wrong, but I > cannot figure it out. > > I am reading a list of directories from a file, and then listing all of > the files in the directory to a file. > > Here is the code. > > #!/usr/local/bin/bash > cat ${FILELIST} | while read LINE > do > echo ${LINE} > `find ${LINE} -type f >> ${TMPFILE}` > done > > Here is the output. > /usr/home/windowsaccess > > find: illegal option -- t > find: illegal option -- y > find: illegal option -- p > find: illegal option -- e > find: f: No such file or directory > > Any suggestions would be greatly appreciated. > Try this as: for line in $( cat $FILELIST ) ; do echo $line find $line -type f >> $TMPFILE done *assuming that none of the directory names in $FILELIST contain spaces* This will split the contents of the file based on the current setting of $IFS (input field separator, which usually matches any whitespace). You can do some interesting tricks by redefining IFS... Not sure what you're trying to achieve by the backticks around your find line -- that actually says "take the output of this command and try and run it as a command line" which is probably not what you want. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/a45edfb8/signature.pgp From unga888 at yahoo.com Wed Aug 5 08:00:20 2009 From: unga888 at yahoo.com (Unga) Date: Wed Aug 5 08:00:31 2009 Subject: How to find real CPU temperature? Message-ID: <543316.4925.qm@web57006.mail.re3.yahoo.com> Hi all I'm running FreeBSD 7.2 on Intel P4 computer. The "lmmon -i" shows 21C and when go to BIOS shows 65C! BIOS reading seems to be correct as the CPU heat pipe is very hot to the extent cannot touch. How do I read the real BIOS temperature readings when FreeBSD is running to check whether the computer is over heating? Unga From lists at bertram-scharpf.de Wed Aug 5 08:10:31 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Wed Aug 5 08:10:38 2009 Subject: Moused crashes with Synaptics In-Reply-To: <200908041850.24597.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090804112624.GB19171@marge.bs.l> <200908041850.24597.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090805081021.GA32513@marge.bs.l> Hi Mel, Am Dienstag, 04. Aug 2009, 18:50:24 -0800 schrieb Mel Flynn: > On Tuesday 04 August 2009 03:26:24 Bertram Scharpf wrote: > > Further I seem to have missed something else. I found the page > > http://wiki.freebsd.org/SynapticsTouchpad where are mentioned some > > sysctls: > > > > hw.psm.synaptics_support="1" > > hw.psm.synaptics.vscroll_hor_area=1300 > > > > I don't have those ctls here and I cannot find the kernel driver > > that provides them. > > That's because they're loader tunables. You set them in > /boot/loader.conf. The LOADER TUNABLES section of psm(4) details > it. Ah, I did not know that there are options that have to be set at boot time. Thank you! Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From david at vizion2000.net Wed Aug 5 09:00:13 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 09:00:21 2009 Subject: cvs tag usage In-Reply-To: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> References: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> Message-ID: <200908051000.09434.david@vizion2000.net> > On Tue, Aug 4, 2009 at 5:32 PM, b. f. wrote: > >> He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. > > > > Well, neither actually. :) s/0_2/2_0/ . But I inferred from the > > context -- it seemed obvious, particularly from what he wrote later > > -- that he meant those choices as suffixes to RELENG, which he omitted > > for the sake of brevity. I assumed you also made this inference. > > Agreed, but IMHO, it's better to be precise and not assume too much. :-) OK guys this has now reached the point where I am again confudes -- here is my original posting amended to ensure there is no ambiguity I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: RELENG_7_BP RELENG_7_2_BP RELENG_7_2_0_RELEASE RELENG_7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src and keep up to date do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 or something else!! Where can I find some explanation on this? Maybe something from this discussion could be added to the handbook/synching.html page so the choice of suffix for configuring cvsup could be made easier for those who are not familiar with the meaning of undocumented suffixing such as -p2 !!. Another could there possibly be some consistency between the output from uname -a and the suffixing used for synching of the src be practicable. Please do not bite my head off if it is not practical -- I acknowledge it is a question born of ignorance and confusion david Thanks in advance David From david at vizion2000.net Wed Aug 5 09:01:37 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 09:01:46 2009 Subject: cvs tag usage In-Reply-To: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> References: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> Message-ID: <200908051001.34997.david@vizion2000.net> > On Tue, Aug 4, 2009 at 5:32 PM, b. f. wrote: > >> He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. > > > > Well, neither actually. :) s/0_2/2_0/ . But I inferred from the > > context -- it seemed obvious, particularly from what he wrote later > > -- that he meant those choices as suffixes to RELENG, which he omitted > > for the sake of brevity. I assumed you also made this inference. > Glen You hit the sweet spot!! David From arctic at alkar.net Wed Aug 5 09:12:42 2009 From: arctic at alkar.net (Andrey O.Sokolov) Date: Wed Aug 5 09:12:50 2009 Subject: Network card Intel and 802.1P tag Message-ID: <1249459959.29995.13.camel@konik.alkar.net> Hi! I have two network interfaces - fxp and em When i send on both interface packet with 802.1P tag, i see this tag on fxp and don't see on em. em: 10:41:14.849139 00:18:ba:8a:c8:c1 (oui Unknown) > 00:15:b7:62:de:ec (oui Unknown), ethertype 802.1Q (0x8100), length 118: vlan 20, p 0 fxp: 10:40:56.259886 00:18:ba:8a:c8:c1 (oui Unknown) > 00:02:b3:61:d5:5a (oui Unknown), ethertype 802.1Q (0x8100), length 118: vlan 20, p 4 FreeBSD 7.2-RELEASE em0: port 0xbfe0-0xbfff mem 0xffae0000-0xffafffff irq 16 at device 0.0 on pci1 fxp0: port 0xa000-0xa03f mem 0xe4020000-0xe4020fff,0xe4000000-0xe401ffff irq 19 at device 1.0 on pci2 miibus0: on fxp0 Any idea how I can see 802.1P tag on em? -- ______________________________________________________________ ***AOS224-RIPE*** tel/fax: +380-56-3728171 From david at vizion2000.net Wed Aug 5 09:54:10 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 09:54:17 2009 Subject: Learning about Control of Optimization -- for dummies please Message-ID: <200908051054.07456.david@vizion2000.net> I have found http://docs.freebsd.org/info/gcc/gcc.ifo.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper into things I have, until now, taken for granted. The above link is very informative in technical terms about how to control optimization but I find it difficult to interpret the info in a way that tells me what might work best on my own system (Intel quad Core) with 8G of ram. Current kernel is GENERIC but as I said I am going to build a new one. # uname-a FreeBSD dns1.vizion2000.net 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64- builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Could anyone please point me in the right direction to achieve greater understanding of what optimizations may be most appropriate for compiling a kernel for my system. The docs are very good on the "how" but are not very helpful when it comes to solving the "what" "why" and "when" questions when the "who" is a dummy . Thanks in advance David From rsmith at xs4all.nl Wed Aug 5 10:19:26 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Aug 5 10:19:33 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <200908051054.07456.david@vizion2000.net> References: <200908051054.07456.david@vizion2000.net> Message-ID: <20090805101923.GA26096@slackbox.xs4all.nl> On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: > I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. > > I am about to build a new kernel am starting to dig a bit deeper into things I > have, until now, taken for granted. > > The above link is very informative in technical terms about how to control > optimization but I find it difficult to interpret the info in a way that tells > me what might work best on my own system (Intel quad Core) with 8G of ram. The build system takes care of that, once you have set the correct CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See make.conf(5), /usr/src/share/mk/bsd.cpu.mk and /usr/src/sys/conf/kern.pre.mk. Additionally, compiler settings for building the kernel can be set with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is not guaranteed to work. If you don't know what you are doing, do not use COPTFLAGS and stick with the defaults that the build system generates. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/0ec723f1/attachment.pgp From brighticb13 at gmail.com Wed Aug 5 10:35:58 2009 From: brighticb13 at gmail.com (Mr. Bright) Date: Wed Aug 5 10:36:04 2009 Subject: Date:Wed 5-08-2009. Message-ID: <20090805101101.7FA0948920@hosting.freeset.ru> Hello, I am Bright presently working with ICB. Please do not be embarrass am seeking your help to in order to receive the sum of 3.5Million dollars as result of surfeit profit we made. If you will be so kind enough to grant me the permission, I will be glad to give the details. I am ready to offer you 50% of the total amount for your input. If you are interested response to: mrbrighticb5@aol.com Mobile: +233-244-153-672 Regards Bright From norgaard at locolomo.org Wed Aug 5 11:03:06 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Wed Aug 5 11:03:14 2009 Subject: How to find real CPU temperature? In-Reply-To: <543316.4925.qm@web57006.mail.re3.yahoo.com> References: <543316.4925.qm@web57006.mail.re3.yahoo.com> Message-ID: <4A7966E7.9050601@locolomo.org> Unga wrote: > Hi all > > I'm running FreeBSD 7.2 on Intel P4 computer. > > The "lmmon -i" shows 21C and when go to BIOS shows 65C! BIOS reading seems to be correct as the CPU heat pipe is very hot to the extent cannot touch. > > How do I read the real BIOS temperature readings when FreeBSD is running to check whether the computer is over heating? $ sysctl hw.acpi.thermal.tz0.temperature on my computer shows 56C -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From modulok at gmail.com Wed Aug 5 11:07:08 2009 From: modulok at gmail.com (Modulok) Date: Wed Aug 5 11:07:14 2009 Subject: How to find real CPU temperature? In-Reply-To: <543316.4925.qm@web57006.mail.re3.yahoo.com> References: <543316.4925.qm@web57006.mail.re3.yahoo.com> Message-ID: <64c038660908050407s1053d0edw135e5689ee43cf87@mail.gmail.com> On 8/5/09, Unga wrote: > > I'm running FreeBSD 7.2 on Intel P4 computer. > > The "lmmon -i" shows 21C and when go to BIOS shows 65C! BIOS reading seems > to be correct as the CPU heat pipe is very hot to the extent cannot touch. > > How do I read the real BIOS temperature readings when FreeBSD is running to > check whether the computer is over heating? If your mainboard supports it, and depending on your CPU, you might look into sysutils/mbmon, found in the ports collection. Aside from that, what does the following command output? sysctl -a | grep temp -Modulok- From unga888 at yahoo.com Wed Aug 5 11:42:14 2009 From: unga888 at yahoo.com (Unga) Date: Wed Aug 5 11:42:21 2009 Subject: How to find real CPU temperature? In-Reply-To: <4A7966E7.9050601@locolomo.org> Message-ID: <876629.40221.qm@web57003.mail.re3.yahoo.com> --- On Wed, 8/5/09, Erik Norgaard wrote: > From: Erik Norgaard > Subject: Re: How to find real CPU temperature? > To: "Unga" > Cc: freebsd-questions@freebsd.org > Date: Wednesday, August 5, 2009, 7:03 PM > Unga wrote: > > Hi all > > > > I'm running FreeBSD 7.2 on Intel P4 computer. > > > > The "lmmon -i" shows 21C and when go to BIOS shows > 65C! BIOS reading seems to be correct as the CPU heat pipe > is very hot to the extent cannot touch. > > > > How do I read the real BIOS temperature readings when > FreeBSD is running to check whether the computer is over > heating? > > $ sysctl hw.acpi.thermal.tz0.temperature > > on my computer shows 56C Here is what it show on my computer: sysctl -a | grep hw.acpi.thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 19.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 90.0C hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 4 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 60 so which is the CPU temperature, 19.0C or 90.0C? Where does it documented what hw.acpi.thermal.tz0.temperature means? Unga From norgaard at locolomo.org Wed Aug 5 12:04:23 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Wed Aug 5 12:04:31 2009 Subject: How to find real CPU temperature? In-Reply-To: <876629.40221.qm@web57003.mail.re3.yahoo.com> References: <876629.40221.qm@web57003.mail.re3.yahoo.com> Message-ID: <4A797542.4070108@locolomo.org> Unga wrote: > Here is what it show on my computer: > > sysctl -a | grep hw.acpi.thermal > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 19.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 90.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 90.0C > hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: 4 > hw.acpi.thermal.tz0._TC2: 3 > hw.acpi.thermal.tz0._TSP: 60 > > so which is the CPU temperature, 19.0C or 90.0C? Where does it documented what hw.acpi.thermal.tz0.temperature means? From that it appears the kernel can't read the temperature sensor, this may be a problem with the ACPI not being properly supported for your processor. The 90.0C entries are different entries that take action against overheating, if the temperature reaches 90 putting your system to sleep or throtling down speed. BR, Erik -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From bennett at cs.niu.edu Wed Aug 5 12:39:23 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Wed Aug 5 12:39:32 2009 Subject: Learning about Control of Optimization -- for dummies please Message-ID: <200908051238.n75CcKC1006683@mp.cs.niu.edu> On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith wrote: >On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: >> I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. >> >> I am about to build a new kernel am starting to dig a bit deeper into things I >> have, until now, taken for granted. >> >> The above link is very informative in technical terms about how to control >> optimization but I find it difficult to interpret the info in a way that tells >> me what might work best on my own system (Intel quad Core) with 8G of ram. > >The build system takes care of that, once you have set the correct >CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See >make.conf(5), /usr/src/share/mk/bsd.cpu.mk and >/usr/src/sys/conf/kern.pre.mk. As I read the man page for [g]cc, though, setting -march=nocona (which is where the CPUTYPE information ends up in the cc commands) tells the compiler which base instruction set to use and which model of instruction scheduling to use, but to get the rest of the model-dependent features used, he would still need to add "-mmmx -msse -msse2 -msse3" at a minimum for most other compilations, though these would not be advisable for kernel compilations. I don't recall whether SSE4 instructions are in the Nocona/ Merom/Kentfield chips or first appear in the Core i7 series. I don't think the compiler versions available under FreeBSD support the SSE4 instructions, though, so SSE4 doesn't matter anyway. > >Additionally, compiler settings for building the kernel can be set with >COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is >not guaranteed to work. If you don't know what you are doing, do not use >COPTFLAGS and stick with the defaults that the build system generates. > Right. -O3 might royally screw a kernel in particular. :-) Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From david at vizion2000.net Wed Aug 5 13:02:09 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 13:02:16 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <200908051238.n75CcKC1006683@mp.cs.niu.edu> References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> Message-ID: <200908051402.06130.david@vizion2000.net> > On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith wrote: > >On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: > >> I have found > >> http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. > >> > >> I am about to build a new kernel am starting to dig a bit deeper into > >> things I have, until now, taken for granted. > >> > >> The above link is very informative in technical terms about how to > >> control optimization but I find it difficult to interpret the info in a > >> way that tells me what might work best on my own system (Intel quad > >> Core) with 8G of ram. > > > >The build system takes care of that, once you have set the correct > >CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See > >make.conf(5), /usr/src/share/mk/bsd.cpu.mk and > >/usr/src/sys/conf/kern.pre.mk. > > As I read the man page for [g]cc, though, setting -march=nocona (which > is where the CPUTYPE information ends up in the cc commands) tells the > compiler which base instruction set to use and which model of instruction > scheduling to use, but to get the rest of the model-dependent features > used, he would still need to add "-mmmx -msse -msse2 -msse3" at a minimum > for most other compilations, though these would not be advisable for kernel > compilations. I don't recall whether SSE4 instructions are in the Nocona/ > Merom/Kentfield chips or first appear in the Core i7 series. I don't think > the compiler versions available under FreeBSD support the SSE4 > instructions, though, so SSE4 doesn't matter anyway. > > >Additionally, compiler settings for building the kernel can be set with > >COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is > >not guaranteed to work. If you don't know what you are doing, do not use > >COPTFLAGS and stick with the defaults that the build system generates. > > Right. -O3 might royally screw a kernel in particular. :-) > > > Scott Bennett, Comm. ASMELG, CFIAG Thanks for add more useful info however would you mind elaborating a little more because I do not understand the implications. should I have: CPUTYPE=nocona in make.conf? Do I need anything else in make.conf? So far my draft make.conf has these entries: CPUTYPE=nocona CFLAGS= -O2 -fno-strict-aliasing -pipe FORCE_MAKE_JOBS= true Incidentally I am also puzzled because it appears necessary to use amd64 GENERIC as my starting point when the cpu is actually Intel Quad Core!! I presume this means that in drafting a kernconf I need to refer to; dns1# pwd /usr/src/sys/amd64/conf dns1# ls -l total 44 -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore -rw-r--r-- 1 root wheel 482 Apr 15 04:14 DEFAULTS -rw-r--r-- 1 root wheel 11968 Apr 15 04:14 GENERIC -rw-r--r-- 1 root wheel 818 Apr 15 04:14 GENERIC.hints -rw-r--r-- 1 root wheel 1036 Apr 15 04:14 MAC -rw-r--r-- 1 root wheel 132 Apr 15 04:14 Makefile -rw-r--r-- 1 root wheel 20721 Apr 15 04:14 NOTES It would be great if some logical consistency could be introduced into naming conventions!!! It would really help those of us who know little and make it a trifle easier to climb the greasy pole of knowledge From lgroups at waagmeester.co.za Wed Aug 5 13:08:42 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Wed Aug 5 13:08:50 2009 Subject: Wierd X crash Message-ID: <1249475858.6074.5.camel@penguin.coert.local> Hello all, I am fairly new to FreeBSD. I use linux a lot. Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP GeForce FX 5200. My X works, with xinerama and two screens, perfectly, but as soon as I hold down any key (like Backspace to remove a line of text) X crashes. This is in the log: Fatal server error: Caught signal 11. Server aborting The rest of the log is fine. I have fiddled with HAL and DBUS, turning them off and on, but no luck. Any tips would be greatly appreciated. Regards, Coert From rsmith at xs4all.nl Wed Aug 5 13:12:42 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Aug 5 13:12:49 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <200908051238.n75CcKC1006683@mp.cs.niu.edu> References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> Message-ID: <20090805131233.GA30790@slackbox.xs4all.nl> On Wed, Aug 05, 2009 at 07:38:20AM -0500, Scott Bennett wrote: > On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith wrote: > >On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: > >> I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. > >> > >> I am about to build a new kernel am starting to dig a bit deeper into things I > >> have, until now, taken for granted. > >> > >> The above link is very informative in technical terms about how to control > >> optimization but I find it difficult to interpret the info in a way that tells > >> me what might work best on my own system (Intel quad Core) with 8G of ram. > > > >The build system takes care of that, once you have set the correct > >CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See > >make.conf(5), /usr/src/share/mk/bsd.cpu.mk and > >/usr/src/sys/conf/kern.pre.mk. > > As I read the man page for [g]cc, though, setting -march=nocona (which > is where the CPUTYPE information ends up in the cc commands) tells the > compiler which base instruction set to use and which model of instruction > scheduling to use, but to get the rest of the model-dependent features used, > he would still need to add "-mmmx -msse -msse2 -msse3" at a minimum for most > other compilations, though these would not be advisable for kernel > compilations. Both i386 and amd64 explicitly prohibit the use of FPU, SSE and other SIMD operations inside the kernel itself. These operations are exclusively reserved for user applications. See /usr/src/sys/conf/kern.mk. The makefiles for the kernel add appropriate options depending on the CPUTYPE. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/c26f249c/attachment.pgp From david at vizion2000.net Wed Aug 5 13:14:52 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 13:14:59 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core Message-ID: <200908051414.49468.david@vizion2000.net> Hi every one My understanding is that one uses the amd64 for building a kernel for systems with Intel Quad Core processors. It is helpful when naming conventions follow a logical strand. I mean why does freebsd use a single manufacturer's name to represent a genre? David From Johan at double-l.nl Wed Aug 5 13:21:17 2009 From: Johan at double-l.nl (Johan Hendriks) Date: Wed Aug 5 13:21:26 2009 Subject: Learning about Control of Optimization -- for dummies please References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> <200908051402.06130.david@vizion2000.net> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DEACB@w2003s01.double-l.local> >> On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith wrote: >> >On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: >> >> I have found >> >> http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. >> >> >> >> I am about to build a new kernel am starting to dig a bit deeper into >> >> things I have, until now, taken for granted. >> >> >> >> The above link is very informative in technical terms about how to >> >> control optimization but I find it difficult to interpret the info in a >> >> way that tells me what might work best on my own system (Intel quad >> >> Core) with 8G of ram. >> > >> >The build system takes care of that, once you have set the correct >> >CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See >> >make.conf(5), /usr/src/share/mk/bsd.cpu.mk and >> >/usr/src/sys/conf/kern.pre.mk. >> >> As I read the man page for [g]cc, though, setting -march=nocona (which >> is where the CPUTYPE information ends up in the cc commands) tells the >> compiler which base instruction set to use and which model of instruction >> scheduling to use, but to get the rest of the model-dependent features >> used, he would still need to add "-mmmx -msse -msse2 -msse3" at a minimum >> for most other compilations, though these would not be advisable for kernel >> compilations. I don't recall whether SSE4 instructions are in the Nocona/ >> Merom/Kentfield chips or first appear in the Core i7 series. I don't think >> the compiler versions available under FreeBSD support the SSE4 >> instructions, though, so SSE4 doesn't matter anyway. >> >> >Additionally, compiler settings for building the kernel can be set with >> >COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is >> >not guaranteed to work. If you don't know what you are doing, do not use >> >COPTFLAGS and stick with the defaults that the build system generates. >> >> Right. -O3 might royally screw a kernel in particular. :-) >> >> >> Scott Bennett, Comm. ASMELG, CFIAG >Thanks for add more useful info however would you mind elaborating a little >more because I do not understand the implications. >should I have: >CPUTYPE=nocona >in make.conf? >Do I need anything else in make.conf? >So far my draft make.conf has these entries: >CPUTYPE=nocona >CFLAGS= -O2 -fno-strict-aliasing -pipe >FORCE_MAKE_JOBS= true >Incidentally I am also puzzled because it appears necessary to use amd64 >GENERIC as my starting point when the cpu is actually Intel Quad Core!! >I presume this means that in drafting a kernconf I need to refer to; >dns1# pwd >/usr/src/sys/amd64/conf >dns1# ls -l >total 44 >-rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore >-rw-r--r-- 1 root wheel 482 Apr 15 04:14 DEFAULTS >-rw-r--r-- 1 root wheel 11968 Apr 15 04:14 GENERIC >-rw-r--r-- 1 root wheel 818 Apr 15 04:14 GENERIC.hints >-rw-r--r-- 1 root wheel 1036 Apr 15 04:14 MAC >-rw-r--r-- 1 root wheel 132 Apr 15 04:14 Makefile >-rw-r--r-- 1 root wheel 20721 Apr 15 04:14 NOTES >It would be great if some logical consistency could be introduced into naming >conventions!!! It would really help those of us who know little and make it a >trifle easier to climb the greasy pole of knowledge It is logical. You use i386 on old amd processors also. The naming amd64 comes from the fact that AMD did come first with the 64 bit processor. If Intel was the first it proberly would have a name like i386_64 or something like that. Nothing to worry about. If your Intel proccessor has 64 bit support use the AMD64 version It is just a name. About the make.conf the use of nocona is ok but put a ? mark ofter CPUTYPE Do not ask me why, people told me it is better, if i understand correctly It has someting to do about the choice the compiler has while building, it could override the nocona setting if it is needed. If i recall correct!!!! CPUTYPE?=nocona I would ditch the CFLAGS, the normal setings ar the same as that line FORCE_MAKE_JOBS= true FORCE_MAKE_JOBS is also ok No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date: 08/04/09 18:01:00 From ertr1013 at student.uu.se Wed Aug 5 13:28:59 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Wed Aug 5 13:29:06 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908051414.49468.david@vizion2000.net> References: <200908051414.49468.david@vizion2000.net> Message-ID: <20090805132755.GA21963@falcon.midgard.homeip.net> On Wed, Aug 05, 2009 at 02:14:49PM +0100, David Southwell wrote: > Hi every one > > My understanding is that one uses the amd64 for building a kernel for systems > with Intel Quad Core processors. That depends on if you installed the amd64 version of FreeBSD or the i386 version. The kernel should of course match the rest of the system. Intel's Quad Core processors (at least all the models they have released so far) supports both amd64 and i386. (i386 being 32-bit, while amd64 is 64-bit.) > > It is helpful when naming conventions follow a logical strand. I mean why does > freebsd use a single manufacturer's name to represent a genre? The amd64 architecture is called that because it was AMD who invented and created it and was for a while the only one using it and since AMD named the architecture AMD64 that was the name FreeBSD used too. Later Intel also started using it (while using their own name(s) for it), but FreeBSD has stuck with the name amd64. This is no more strange than calling the i386 architecture for i386 even if it runs on a whole lot of processors other than the original Intel 80386. -- Erik Trulsson ertr1013@student.uu.se From j.mckeown at ru.ac.za Wed Aug 5 13:30:30 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Wed Aug 5 13:30:38 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908051414.49468.david@vizion2000.net> References: <200908051414.49468.david@vizion2000.net> Message-ID: <200908051530.27736.j.mckeown@ru.ac.za> On Wednesday 05 August 2009 15:14:49 David Southwell wrote: > Hi every one > > My understanding is that one uses the amd64 for building a kernel for > systems with Intel Quad Core processors. > > It is helpful when naming conventions follow a logical strand. I mean why > does freebsd use a single manufacturer's name to represent a genre? Because it's technically correct, as I understand it. Unless I've got this wrong (in which case I'm sure someone will shout), there were initially two 64-bit instruction sets, amd64 from AMD and ia64 from Intel. ia64 saw so little uptake that Intel started using the AMD instruction set, but amd64 is still the appropriate description for most 64-bit processors these daya regardless of manufacturer. Jonathan From david at vizion2000.net Wed Aug 5 13:32:21 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 13:32:28 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DEACB@w2003s01.double-l.local> References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> <200908051402.06130.david@vizion2000.net> <57200BF94E69E54880C9BB1AF714BBCB5DEACB@w2003s01.double-l.local> Message-ID: <200908051432.18185.david@vizion2000.net> > >> On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith > > > > wrote: > >> >On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: > >> >> I have found > >> >> http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. > >> >> > >> >> I am about to build a new kernel am starting to dig a bit deeper > > into > > >> >> things I have, until now, taken for granted. > >> >> > >> >> The above link is very informative in technical terms about how to > >> >> control optimization but I find it difficult to interpret the info > > in a > > >> >> way that tells me what might work best on my own system (Intel > > quad > > >> >> Core) with 8G of ram. > >> > > >> >The build system takes care of that, once you have set the correct > >> >CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See > >> >make.conf(5), /usr/src/share/mk/bsd.cpu.mk and > >> >/usr/src/sys/conf/kern.pre.mk. > >> > >> As I read the man page for [g]cc, though, setting -march=nocona > > (which > > >> is where the CPUTYPE information ends up in the cc commands) tells > > the > > >> compiler which base instruction set to use and which model of > > instruction > > >> scheduling to use, but to get the rest of the model-dependent > > features > > >> used, he would still need to add "-mmmx -msse -msse2 -msse3" at a > > minimum > > >> for most other compilations, though these would not be advisable for > > kernel > > >> compilations. I don't recall whether SSE4 instructions are in the > > Nocona/ > > >> Merom/Kentfield chips or first appear in the Core i7 series. I don't > > think > > >> the compiler versions available under FreeBSD support the SSE4 > >> instructions, though, so SSE4 doesn't matter anyway. > >> > >> >Additionally, compiler settings for building the kernel can be set > > with > > >> >COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is > >> >not guaranteed to work. If you don't know what you are doing, do not > > use > > >> >COPTFLAGS and stick with the defaults that the build system > > generates. > > >> Right. -O3 might royally screw a kernel in particular. :-) > >> > >> > >> Scott Bennett, Comm. ASMELG, CFIAG > > > >Thanks for add more useful info however would you mind elaborating a > > little > > >more because I do not understand the implications. > > > >should I have: > >CPUTYPE=nocona > >in make.conf? > >Do I need anything else in make.conf? > > > >So far my draft make.conf has these entries: > > > >CPUTYPE=nocona > > > >CFLAGS= -O2 -fno-strict-aliasing -pipe > > > >FORCE_MAKE_JOBS= true > > > >Incidentally I am also puzzled because it appears necessary to use > > amd64 > > >GENERIC as my starting point when the cpu is actually Intel Quad Core!! > > > > > >I presume this means that in drafting a kernconf I need to refer to; > > > >dns1# pwd > >/usr/src/sys/amd64/conf > >dns1# ls -l > >total 44 > >-rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > >-rw-r--r-- 1 root wheel 482 Apr 15 04:14 DEFAULTS > >-rw-r--r-- 1 root wheel 11968 Apr 15 04:14 GENERIC > >-rw-r--r-- 1 root wheel 818 Apr 15 04:14 GENERIC.hints > >-rw-r--r-- 1 root wheel 1036 Apr 15 04:14 MAC > >-rw-r--r-- 1 root wheel 132 Apr 15 04:14 Makefile > >-rw-r--r-- 1 root wheel 20721 Apr 15 04:14 NOTES > > > > > >It would be great if some logical consistency could be introduced into > > naming > > >conventions!!! It would really help those of us who know little and > > make it a > > >trifle easier to climb the greasy pole of knowledge > > It is logical. > You use i386 on old amd processors also. > The naming amd64 comes from the fact that AMD did come first with the 64 > bit processor. > If Intel was the first it proberly would have a name like i386_64 or > something like that. > > Nothing to worry about. > If your Intel proccessor has 64 bit support use the AMD64 version > > It is just a name. > > About the make.conf the use of nocona is ok but put a ? mark ofter > CPUTYPE > Do not ask me why, people told me it is better, if i understand > correctly It has someting to do about the choice the compiler has while > building, it could override the nocona setting if it is needed. > If i recall correct!!!! > > CPUTYPE?=nocona > > I would ditch the CFLAGS, the normal setings ar the same as that line > > FORCE_MAKE_JOBS= true > > FORCE_MAKE_JOBS is also ok > > Hi Johan Thanks for that - you comments are really helpful and place things in context. I would still be inclined to feel that although the naming convention can be historically justified it remains practically illogical!!! Naming conventions work well when they help people understand what they represent. To illustrate my point at one time Britain referred as "the British Empire" but such a title would be laughable today!! David From stark at mapper.nl Wed Aug 5 13:35:51 2009 From: stark at mapper.nl (Mark Stapper) Date: Wed Aug 5 13:35:59 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908051414.49468.david@vizion2000.net> References: <200908051414.49468.david@vizion2000.net> Message-ID: <4A798A9C.7010201@mapper.nl> David Southwell wrote: > Hi every one > > My understanding is that one uses the amd64 for building a kernel for systems > with Intel Quad Core processors. > > It is helpful when naming conventions follow a logical strand. I mean why does > freebsd use a single manufacturer's name to represent a genre? > > 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" > One would use the amd64 version of FreeBSD on 64-bit platforms (apart from the itanium platforms). the amd64 or x86-64 instuction set has been designed by amd, which called it amd64. Intel implemented amd's design in their EM64T or "Intel 64" instruction set, which is compatible with amd's implementation(mostly IS amd's implementation). As such, amd64 is as valid a platform name as IA64(or Itanium) is. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/58f24d86/signature.pgp From rsmith at xs4all.nl Wed Aug 5 13:36:58 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Aug 5 13:37:06 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <200908051402.06130.david@vizion2000.net> References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> <200908051402.06130.david@vizion2000.net> Message-ID: <20090805133648.GB30790@slackbox.xs4all.nl> On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote: > > >Additionally, compiler settings for building the kernel can be set with > > >COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is > > >not guaranteed to work. If you don't know what you are doing, do not use > > >COPTFLAGS and stick with the defaults that the build system generates. > > > > Right. -O3 might royally screw a kernel in particular. :-) > > > > > > Scott Bennett, Comm. ASMELG, CFIAG > Thanks for add more useful info however would you mind elaborating a little > more because I do not understand the implications. > > should I have: > CPUTYPE=nocona > in make.conf? Yes. > Do I need anything else in make.conf? If you are building a custom kernel, you can set the name of the kernel config there. E.g.: KERNCONF=FOO You should then put your kernel config in /usr/src/sys/amd64/conf/FOO. > So far my draft make.conf has these entries: > > CPUTYPE=nocona OK. > CFLAGS= -O2 -fno-strict-aliasing -pipe CFLAGS are used for building userland programs. COPTFLAGS are used for building the kernel. I think that the values you've listed here are already the default, so they are superfluous really. > FORCE_MAKE_JOBS= true This is only for ports. > Incidentally I am also puzzled because it appears necessary to use amd64 > GENERIC as my starting point when the cpu is actually Intel Quad Core!! This is a FAQ. AMD originated the 64-bit extensions to the x86 architecture while intel was chasing the itanium pipedream. This extended architecture became known as x86_64 or amd64. After itanium became a dud, intel started making amd64 compatible chips as well, because the AMD chips had been hugely successfull. > I presume this means that in drafting a kernconf I need to refer to; > > dns1# pwd > /usr/src/sys/amd64/conf > dns1# ls -l > total 44 > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > -rw-r--r-- 1 root wheel 482 Apr 15 04:14 DEFAULTS Some options were moved to a DEFAULT file that is automatically included in every kernel, so that people can't forget them. Formetting one of those can result in an unusable kernel. > -rw-r--r-- 1 root wheel 11968 Apr 15 04:14 GENERIC > -rw-r--r-- 1 root wheel 818 Apr 15 04:14 GENERIC.hints > -rw-r--r-- 1 root wheel 1036 Apr 15 04:14 MAC > -rw-r--r-- 1 root wheel 132 Apr 15 04:14 Makefile > -rw-r--r-- 1 root wheel 20721 Apr 15 04:14 NOTES NOTES contains extra options that aren't in the GENERIC kernel. > It would be great if some logical consistency could be introduced into naming > conventions!!! It would really help those of us who know little and make it a > trifle easier to climb the greasy pole of knowledge Just look at the beginning of each file. You'll find a description of that files purpose. You should base you kernel configuration on the GENERIC kernel. The first thing you need to do is change the "ident" line to match the filename. A kernel config FOO should include "ident FOO". Then remove devices and options that you don't need. If you don't know what a device or option is, leave it in. For devices, there is usually a manual page. E.g. if you see 'device em', you can get information about it with 'man em'. Look at the dmesg(8) output to see which devices you actually have. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/f6a15269/attachment.pgp From david at vizion2000.net Wed Aug 5 13:38:00 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 13:38:07 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <20090805132755.GA21963@falcon.midgard.homeip.net> References: <200908051414.49468.david@vizion2000.net> <20090805132755.GA21963@falcon.midgard.homeip.net> Message-ID: <200908051437.56585.david@vizion2000.net> > On Wed, Aug 05, 2009 at 02:14:49PM +0100, David Southwell wrote: > > Hi every one > > > > My understanding is that one uses the amd64 for building a kernel for > > systems with Intel Quad Core processors. > > That depends on if you installed the amd64 version of FreeBSD or the i386 > version. The kernel should of course match the rest of the system. > Intel's Quad Core processors (at least all the models they have released so > far) supports both amd64 and i386. (i386 being 32-bit, while amd64 is > 64-bit.) > > > It is helpful when naming conventions follow a logical strand. I mean why > > does freebsd use a single manufacturer's name to represent a genre? > > The amd64 architecture is called that because it was AMD who invented and > created it and was for a while the only one using it and since AMD named > the architecture AMD64 that was the name FreeBSD used too. Later Intel > also started using it (while using their own name(s) for it), but FreeBSD > has stuck with the name amd64. This is no more strange than calling the > i386 architecture for i386 even if it runs on a whole lot of processors > other than the original Intel 80386. I would still be inclined to feel that although the naming convention can be historically justified it remains practically illogical!!! Naming conventions work well when they help people understand what they represent. To illustrate my point at one time Britain referred as "the British Empire" but such a title would be laughable today!! There is enough for people to get their head around in understanding what is going on without adding additional levels of confusion because noone thought of future developments!! However this is not an argument anyone is likely to get steamed up about -- however illogical it may be david From david at vizion2000.net Wed Aug 5 13:49:10 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 13:49:18 2009 Subject: Learning about Control of Optimization -- for dummies please In-Reply-To: <20090805133648.GB30790@slackbox.xs4all.nl> References: <200908051238.n75CcKC1006683@mp.cs.niu.edu> <200908051402.06130.david@vizion2000.net> <20090805133648.GB30790@slackbox.xs4all.nl> Message-ID: <200908051449.06688.david@vizion2000.net> > On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote: > > > >Additionally, compiler settings for building the kernel can be set > > > > with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 > > > > is not guaranteed to work. If you don't know what you are doing, do > > > > not use COPTFLAGS and stick with the defaults that the build system > > > > generates. > > > > > > Right. -O3 might royally screw a kernel in particular. :-) > > > > > > > > > Scott Bennett, Comm. ASMELG, CFIAG > > > > Thanks for add more useful info however would you mind elaborating a > > little more because I do not understand the implications. > > > > should I have: > > CPUTYPE=nocona > > in make.conf? > > Yes. > > > Do I need anything else in make.conf? > > If you are building a custom kernel, you can set the name of the kernel > config there. E.g.: > > KERNCONF=FOO > > You should then put your kernel config in /usr/src/sys/amd64/conf/FOO. > > > So far my draft make.conf has these entries: > > > > CPUTYPE=nocona > > OK. > > > CFLAGS= -O2 -fno-strict-aliasing -pipe > > CFLAGS are used for building userland programs. COPTFLAGS are used for > building the kernel. I think that the values you've listed here are already > the default, so they are superfluous really. > > > FORCE_MAKE_JOBS= true > > This is only for ports. > > > Incidentally I am also puzzled because it appears necessary to use amd64 > > GENERIC as my starting point when the cpu is actually Intel Quad Core!! > > This is a FAQ. AMD originated the 64-bit extensions to the x86 > architecture while intel was chasing the itanium pipedream. This > extended architecture became known as x86_64 or amd64. After itanium > became a dud, intel started making amd64 compatible chips as well, > because the AMD chips had been hugely successfull. > > > I presume this means that in drafting a kernconf I need to refer to; > > > > dns1# pwd > > /usr/src/sys/amd64/conf > > dns1# ls -l > > total 44 > > -rw-r--r-- 1 root wheel 13 Jun 20 2005 .cvsignore > > -rw-r--r-- 1 root wheel 482 Apr 15 04:14 DEFAULTS > > Some options were moved to a DEFAULT file that is automatically included > in every kernel, so that people can't forget them. Formetting one of > those can result in an unusable kernel. > > > -rw-r--r-- 1 root wheel 11968 Apr 15 04:14 GENERIC > > -rw-r--r-- 1 root wheel 818 Apr 15 04:14 GENERIC.hints > > -rw-r--r-- 1 root wheel 1036 Apr 15 04:14 MAC > > -rw-r--r-- 1 root wheel 132 Apr 15 04:14 Makefile > > -rw-r--r-- 1 root wheel 20721 Apr 15 04:14 NOTES > > NOTES contains extra options that aren't in the GENERIC kernel. > > > It would be great if some logical consistency could be introduced into > > naming conventions!!! It would really help those of us who know little > > and make it a trifle easier to climb the greasy pole of knowledge > > > > Just look at the beginning of each file. You'll find a description of > that files purpose. > > You should base you kernel configuration on the GENERIC kernel. The > first thing you need to do is change the "ident" line to match the > filename. A kernel config FOO should include "ident FOO". Then remove > devices and options that you don't need. If you don't know what a device > or option is, leave it in. For devices, there is usually a manual > page. E.g. if you see 'device em', you can get information about it with > 'man em'. > > Look at the dmesg(8) output to see which devices you actually have. > > Roland Roland Thank you I will be digging around and try and make good use of yr advice David From af.gourmet at videotron.ca Wed Aug 5 13:49:39 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Aug 5 13:49:47 2009 Subject: upgrade 7.2 overwrites partitions In-Reply-To: <20090803215319.8fad2441.freebsd@edvax.de> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> Message-ID: <4A798DF2.3020305@videotron.ca> Polytropon wrote: > On Mon, 03 Aug 2009 10:58:58 -0400, PJ wrote: > >> Could somone explain to me why an upgrade from sysinstall would >> overwrite partitions; especially when the instructions indicate that >> files will not be overwritten? >> > > I'm not sure how to explain. It's possible that sysinstall recreated > the slices and paritions, or at least the partitions were marked as > to be formatted ("Y" after the file system type in the partition > editor). > > Because I've never used the "Upgrade" functionality of sysinstall, > I'm not even sure what it is supposed to do. > Well, whatever it was it sure screwed up my system; not only FBSD but the whole machine became un bootable when some xcb or something like that could not be loaded because of some problem with a python port. And there is the crux of the matter... thre's too much sloppiness and overlapping in the way that the ports/packages and the update/upgrade methods are implemented and especially, documented. Due to diligence and a great deal of my time, I managed to save all the files that were on the system and recovered the XP disks so everything can now be re-installed and used. The only "victim" in the end is FreeBSD as I will never touch it again. It has been going downhill since way back; but I think I just preferred to stay with my illusions and tolerated the waste of time and effort reconfiguring, searching for answers and reinstalling, rebooting and the whole shebang under the aura of "learning". So learn I did. Don't touch it; it sucks. There are other systems better than FBSD, so g'bye all. >:o :-P -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From stark at mapper.nl Wed Aug 5 14:02:36 2009 From: stark at mapper.nl (Mark Stapper) Date: Wed Aug 5 14:02:43 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908051446.02087.david@vizion2000.net> References: <200908051414.49468.david@vizion2000.net> <4A798A9C.7010201@mapper.nl> <200908051446.02087.david@vizion2000.net> Message-ID: <4A7990F1.8010803@mapper.nl> David Southwell wrote: >> David Southwell wrote: >> >>> Hi every one >>> >>> My understanding is that one uses the amd64 for building a kernel for >>> systems with Intel Quad Core processors. >>> >>> It is helpful when naming conventions follow a logical strand. I mean why >>> does freebsd use a single manufacturer's name to represent a genre? >>> >>> 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" >>> >> One would use the amd64 version of FreeBSD on 64-bit platforms (apart >> from the itanium platforms). >> the amd64 or x86-64 instuction set has been designed by amd, which >> called it amd64. >> Intel implemented amd's design in their EM64T or "Intel 64" instruction >> set, which is compatible with amd's implementation(mostly IS amd's >> implementation). >> As such, amd64 is as valid a platform name as IA64(or Itanium) is. >> > > That is undoubtably true -- what it also means is that both names are equally > logical or illogical depending upon your point of view. > > My view is that both are equally illogical because they are tied to a > manufacturer rather than to function. Names are best chosen to facilitate > selection by single step logic that encapsulates what the name represents > rather than by having an abstruse historical context that has neglible bearing > upon current function. > > my 2 p > > But lets not get worked up about this > > david > > > > You make a good point. It would be more "logical" and maybe even more "correct" to call it x86-64. This would however imply that any x86-64 implementation is supported. This is probably the case now, though i am unsure if freeBSD amd64 works on for instance via platforms. Since x86-64 isn't exactly an ISO standard, and amd64 is(http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43784), it's not strange to name the branch that has been developed to work on amd's implementation of x86-64 is called amd64. Besides, I am a real AMD fanboy when it comes to processors... so why would I want that? ;-) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090805/a6e1fb14/signature.pgp From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 14:36:46 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 14:36:54 2009 Subject: Wierd X crash In-Reply-To: <1249475858.6074.5.camel@penguin.coert.local> References: <1249475858.6074.5.camel@penguin.coert.local> Message-ID: <200908050636.43776.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote: > I am fairly new to FreeBSD. I use linux a lot. > > Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP > GeForce FX 5200. > > > My X works, with xinerama and two screens, perfectly, > but as soon as I hold down any key (like Backspace to remove a line of > text) X crashes. Any key? Even one that does not create scrolling on the screen? like backspace in an empty file? Unless someone else has seen this, sounds really hard to debug without a coredump :/ The only long shot I got to offer is that nvidia provides TwinView which does the same as Xinerama and you might want to try that out instead. There's detailed information about it in one of the Nvidia README's. -- Mel From j.mckeown at ru.ac.za Wed Aug 5 14:51:56 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Wed Aug 5 14:52:03 2009 Subject: upgrade 7.2 overwrites partitions In-Reply-To: <4A798DF2.3020305@videotron.ca> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> Message-ID: <200908051651.53302.j.mckeown@ru.ac.za> On Wednesday 05 August 2009 15:49:38 PJ wrote: > Polytropon wrote: > > On Mon, 03 Aug 2009 10:58:58 -0400, PJ wrote: > >> Could somone explain to me why an upgrade from sysinstall would > >> overwrite partitions; especially when the instructions indicate that > >> files will not be overwritten? > > > > I'm not sure how to explain. It's possible that sysinstall recreated > > the slices and paritions, or at least the partitions were marked as > > to be formatted ("Y" after the file system type in the partition > > editor). > > > > Because I've never used the "Upgrade" functionality of sysinstall, > > I'm not even sure what it is supposed to do. > > Well, whatever it was it sure screwed up my system You screwed up your system. Possibly that started when you tried to use freebsd-update with a non-GENERIC kernel, but you then thrashed around, apparently ignoring most of the help you were offered on this list and getting into more and more trouble, while never explaining exactly what you were doing. This is the textbook example of how not to report a problem: > the whole machine became un bootable when some xcb or something like > that could not be loaded because of some problem with a python port. Even so, several people put time and effort into helping you, and suggesting ways you could reach a quicker solution when you made it clear what your personal effort limit was. > Due to diligence and a great deal of my time, I managed to save all the > files that were on the system and recovered the XP disks so everything > can now be re-installed and used. Actually, it was also a great deal of time donated by other busy people around the world. > The only "victim" in the end is FreeBSD as I will never touch it again. > It has been going downhill since way back; but I think I just preferred > to stay with my illusions and tolerated the waste of time and effort > reconfiguring, searching for answers and reinstalling, rebooting and the > whole shebang under the aura of "learning". So learn I did. Don't touch > it; it sucks. > There are other systems better than FBSD, so g'bye all. >:o :-P ``I can't use it, therefore it's rubbish''. That's fine, no-one forced you to use FreeBSD in the first place and I doubt anyone minds that you don't want to use it any more. Personally, I do think it's a pity, because FreeBSD (in my experience, since FreeBSD 4.5) is stable, easy to use (once you have the basic Unix concepts on board), and astonishingly well-documented. It's also supported by one of the friendliest and most knowledgeable communities I know. I don't recognise FreeBSD or its user community in your description and I hope your tirade, on an extremely publically archived mailing list, doesn't put other people off trying it. Having said all that, I wish you well and I hope you find a system which suits you better than the one you have trashed. Jonathan From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 14:54:28 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 14:54:34 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <20090805132755.GA21963@falcon.midgard.homeip.net> References: <200908051414.49468.david@vizion2000.net> <20090805132755.GA21963@falcon.midgard.homeip.net> Message-ID: <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 05:27:55 Erik Trulsson wrote: > The amd64 architecture is called that because it was AMD who invented and > created it and was for a while the only one using it and since AMD named > the architecture AMD64 that was the name FreeBSD used too. Later Intel > also started using it (while using their own name(s) for it), but FreeBSD > has stuck with the name amd64. This isn't completely correct. There is actually an ia64 architecture, before Intel was ready to give up the "who dictates the PC 64bit architecture" battle. There's a handful of CPU's who use that instruction set, but later Intel switched to supporting AMD's instruction set and thus the PC 64 bit architecture now is amd64. It'll be fun to see people asking in a few years why Oracle processors are called "sparc64"... -- Mel From glen.j.barber at gmail.com Wed Aug 5 15:00:42 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 15:00:48 2009 Subject: find question In-Reply-To: <4A79367F.8000003@infracaninophile.co.uk> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> <4A79367F.8000003@infracaninophile.co.uk> Message-ID: <4ad871310908050800l1158452xb5949f2a1beee47a@mail.gmail.com> On Wed, Aug 5, 2009 at 3:36 AM, Matthew Seaman wrote: > > Try this as: > > ? ?for line in $( cat $FILELIST ) ; do > ? ? ? ?echo $line > ? ? ? ?find $line -type f >> $TMPFILE > ? ?done > > *assuming that none of the directory names in $FILELIST contain spaces* > for line in $( cat $FILELIST | sed -e 's/\ //g') ; do echo $line find $line -type f >> $TMPFILE done This *should* fix any directories containing spaces. -- Glen Barber From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 15:10:21 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 15:10:29 2009 Subject: How to find real CPU temperature? In-Reply-To: <4A797542.4070108@locolomo.org> References: <876629.40221.qm@web57003.mail.re3.yahoo.com> <4A797542.4070108@locolomo.org> Message-ID: <200908050710.19072.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 04:04:18 Erik Norgaard wrote: > Unga wrote: > > Here is what it show on my computer: > > > > sysctl -a | grep hw.acpi.thermal > > hw.acpi.thermal.min_runtime: 0 > > hw.acpi.thermal.polling_rate: 10 > > hw.acpi.thermal.user_override: 0 > > hw.acpi.thermal.tz0.temperature: 19.0C > > hw.acpi.thermal.tz0.active: -1 > > hw.acpi.thermal.tz0.passive_cooling: 1 > > hw.acpi.thermal.tz0.thermal_flags: 0 > > hw.acpi.thermal.tz0._PSV: 90.0C > > hw.acpi.thermal.tz0._HOT: -1 > > hw.acpi.thermal.tz0._CRT: 90.0C > > hw.acpi.thermal.tz0._ACx: 90.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > > hw.acpi.thermal.tz0._TC1: 4 > > hw.acpi.thermal.tz0._TC2: 3 > > hw.acpi.thermal.tz0._TSP: 60 > > > > so which is the CPU temperature, 19.0C or 90.0C? Where does it documented > > what hw.acpi.thermal.tz0.temperature means? > > From that it appears the kernel can't read the temperature sensor, this > may be a problem with the ACPI not being properly supported for your > processor. > > The 90.0C entries are different entries that take action against > overheating, if the temperature reaches 90 putting your system to sleep > or throtling down speed. _PSV = throttle down CPU speed _CRT = critical shutdown temperature Given that these are the same value, this indeed looks like ACPI problems. These values should be different, and can be quite a few degrees apart, so that the passive cooling actually has some time to do it's work. The acpi_thermal(4) man page details all the values. One can also use sysctl - d hw.acpi.thermal.tz0.passive_cooling to get a short description. If you want these values to make more sense, you should take the issue up with the acpi mailing list and be ready to do some debugging. At minimum you should provide the info outlined here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 15:12:41 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 15:12:48 2009 Subject: find question In-Reply-To: <4ad871310908050800l1158452xb5949f2a1beee47a@mail.gmail.com> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> <4A79367F.8000003@infracaninophile.co.uk> <4ad871310908050800l1158452xb5949f2a1beee47a@mail.gmail.com> Message-ID: <200908050712.39131.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 07:00:40 Glen Barber wrote: > On Wed, Aug 5, 2009 at 3:36 AM, Matthew > > Seaman wrote: > > Try this as: > > > > for line in $( cat $FILELIST ) ; do > > echo $line > > find $line -type f >> $TMPFILE > > done > > > > *assuming that none of the directory names in $FILELIST contain spaces* > > for line in $( cat $FILELIST | sed -e 's/\ //g') ; do > echo $line > find $line -type f >> $TMPFILE > done > > This *should* fix any directories containing spaces. And also make find look in non-existing directories. -- Mel From ilyas at opera.com Wed Aug 5 15:21:57 2009 From: ilyas at opera.com (Ilya Shpan'kov) Date: Wed Aug 5 15:22:06 2009 Subject: Opera in your repos Message-ID: Hi, I work in Opera Software - yes, we make a proprietary browser ;) Last 7 years I use GNU/Linux and know that, for example, in Russia the Opera browser is very popular in BSD Community. Well, there is a question: whether Opera is included to your distro and if not - how we can fix this problem? We are ready for any discussions, technical help or agreement, if necessary. Thanks in advance, -- Best regards, Ilya Shpan'kov Community Outreach Manager for Russia Opera Software ASA Mobile: +47 46351421 Web-site: http://my.opera.com/IlyaShpankov/ Skype: shpankov From vince at unsane.co.uk Wed Aug 5 15:32:35 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Wed Aug 5 15:32:41 2009 Subject: Opera in your repos In-Reply-To: References: Message-ID: <4A79A60A.6020603@unsane.co.uk> Hi, Opera is indeed already in the ports (and packages) and has been since November 5th 2000 according to the Makefile in ports/www/opera. and it appears the port is maintained by one of the staff at opera MAINTAINER= freebsd-maintainer@opera.com Keep up the good work :) Vince Vince Ilya Shpan'kov wrote: > Hi, > > I work in Opera Software - yes, we make a proprietary browser ;) > Last 7 years I use GNU/Linux and know that, for example, in Russia the > Opera browser is very popular in BSD Community. Well, there is a > question: whether Opera is included to your distro and if not - how we can > fix this problem? We are ready for any discussions, technical help or > agreement, if necessary. > > Thanks in advance, > From glen.j.barber at gmail.com Wed Aug 5 15:33:45 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 15:33:53 2009 Subject: find question In-Reply-To: <200908050712.39131.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> <4A79367F.8000003@infracaninophile.co.uk> <4ad871310908050800l1158452xb5949f2a1beee47a@mail.gmail.com> <200908050712.39131.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4ad871310908050833k54f3f3a7v679737941e3fa235@mail.gmail.com> On Wed, Aug 5, 2009 at 11:12 AM, Mel Flynn wrote: > On Wednesday 05 August 2009 07:00:40 Glen Barber wrote: >> On Wed, Aug 5, 2009 at 3:36 AM, Matthew >> >> Seaman wrote: >> > Try this as: >> > >> > ? ?for line in $( cat $FILELIST ) ; do >> > ? ? ? ?echo $line >> > ? ? ? ?find $line -type f >> $TMPFILE >> > ? ?done >> > >> > *assuming that none of the directory names in $FILELIST contain spaces* >> >> ? ?for line in $( cat $FILELIST | sed -e 's/\ //g') ; do >> ? ? ? ?echo $line >> ? ? ? ?find $line -type f >> $TMPFILE >> ? ?done >> >> This *should* fix any directories containing spaces. > > And also make find look in non-existing directories. True, but any script that needs to find directories containing spaces is going to be hack-ish. for line in $( cat $FILELIST | sed -e 's/\ /SPACE/g') ; do echo $line | sed -e 's/SPACE/\ /g' find $line -type f >> $TMPFILE done -- Glen Barber From ilyas at opera.com Wed Aug 5 15:41:45 2009 From: ilyas at opera.com (Ilya Shpan'kov) Date: Wed Aug 5 15:41:52 2009 Subject: Opera in your repos In-Reply-To: <4A79A60A.6020603@unsane.co.uk> References: <4A79A60A.6020603@unsane.co.uk> Message-ID: Thanks a lot, Vincent! ? ?????? ?? Wed, 05 Aug 2009 17:32:26 +0200, Vincent Hoffman ???????: > Hi, > Opera is indeed already in the ports (and packages) and has been since > November 5th 2000 according to the Makefile in ports/www/opera. and it > appears the port is maintained by one of the staff at opera > MAINTAINER= freebsd-maintainer@opera.com > Keep up the good work :) > > Vince > > > > Vince > > > Ilya Shpan'kov wrote: >> Hi, >> >> I work in Opera Software - yes, we make a proprietary browser ;) >> Last 7 years I use GNU/Linux and know that, for example, in Russia the >> Opera browser is very popular in BSD Community. Well, there is a >> question: whether Opera is included to your distro and if not - how we >> can >> fix this problem? We are ready for any discussions, technical help or >> agreement, if necessary. >> >> Thanks in advance, >> -- Best regards, Ilya Shpan'kov Community Outreach Manager for Russia Opera Software ASA Mobile: +47 46351421 Web-site: http://my.opera.com/IlyaShpankov/ Skype: shpankov From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 15:43:07 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 15:43:15 2009 Subject: Opera in your repos In-Reply-To: References: Message-ID: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 07:02:18 Ilya Shpan'kov wrote: > I work in Opera Software - yes, we make a proprietary browser ;) > Last 7 years I use GNU/Linux and know that, for example, in Russia the > Opera browser is very popular in BSD Community. Well, there is a > question: whether Opera is included to your distro and if not - how we can > fix this problem? We are ready for any discussions, technical help or > agreement, if necessary. Well, we can start to agree that FreeBSD is not a "distro", but a UNIX operating system. :) Opera is available in the ports system as 3rd party software made to work on FreeBSD. There are 3 opera ports, which you can view here: http://www.freshports.org/www/opera http://www.freshports.org/www/opera-devel http://www.freshports.org/www/linux-opera (through linux emulation) There are no issues I'm aware of, that's specific to the FreeBSD/Opera combination (no flash support is an issue with Adobe, not Opera and I got one bugreport in the queue, that I'm also not sure is FreeBSD specific, more built-in torrent application specific). -- Mel From anton at sng.by Wed Aug 5 15:44:18 2009 From: anton at sng.by (Anton) Date: Wed Aug 5 15:44:26 2009 Subject: Some problems with Marvell Yukon NIC Message-ID: <1019707548.20090805184415@sng.by> Hello freebsd-questions, Found the solution here: [1]http ://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-10/msg01065 .html But do not know how to apply patch :-( Please, help -- -- Best regards, Anton Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987 References 1. 3D"http://uni=/ 2. 3D"mailto:anton@sng.by" From nvass9573 at gmx.com Wed Aug 5 15:49:05 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Aug 5 15:49:13 2009 Subject: Network card Intel and 802.1P tag In-Reply-To: <1249459959.29995.13.camel@konik.alkar.net> References: <1249459959.29995.13.camel@konik.alkar.net> Message-ID: <4A79A9DD.60708@gmx.com> Andrey O.Sokolov wrote: > Any idea how I can see 802.1P tag on em? You should, I guess, with no extra steps. Perhaps the em driver has some hardware capability, which set the priority tag to zero? Is the vlan hardware processing enabled? Could you post the output of "ifconfig em0"? Nikos From Ggatten at waddell.com Wed Aug 5 15:54:45 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Aug 5 15:54:52 2009 Subject: Network card Intel and 802.1P tag Message-ID: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them? ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: arctic@alkar.net Cc: freebsd-questions@freebsd.org Sent: Wed Aug 05 10:48:45 2009 Subject: Re: Network card Intel and 802.1P tag Andrey O.Sokolov wrote: > Any idea how I can see 802.1P tag on em? You should, I guess, with no extra steps. Perhaps the em driver has some hardware capability, which set the priority tag to zero? Is the vlan hardware processing enabled? Could you post the output of "ifconfig em0"? Nikos _______________________________________________ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From tfcheng at gmail.com Wed Aug 5 15:58:13 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Wed Aug 5 15:58:21 2009 Subject: Opera in your repos In-Reply-To: References: Message-ID: Mmm.... afaIk, FreeBSd didn't make any software into distro, we just put them into our app system, called "ports" or "port collections", which has all apps that can run on freebsd. http://www.freebsd.org/cgi/ports.cgi?query=opera&stype=all On Wed, Aug 5, 2009 at 11:02 AM, Ilya Shpan'kov wrote: > Hi, > > I work in Opera Software - yes, we make a proprietary browser ;) > Last 7 years I use GNU/Linux and know that, for example, in Russia the > Opera browser is very popular in BSD Community. Well, there is a > question: whether Opera is included to your distro and if not - how we can > fix this problem? We are ready for any discussions, technical help or > agreement, if necessary. > > Thanks in advance, > > -- > Best regards, > > Ilya Shpan'kov > Community Outreach Manager for Russia > Opera Software ASA > > Mobile: +47 46351421 > Web-site: http://my.opera.com/IlyaShpankov/ > Skype: shpankov > _______________________________________________ > 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 info at us.army.org Wed Aug 5 16:08:01 2009 From: info at us.army.org (John Nielsen.) Date: Wed Aug 5 16:08:08 2009 Subject: 7.2 CD won't boot Message-ID: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> Hi guys, My 7.2 Release Disc 1 won't boot. I get the following and nothing more: CD Loader 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX I'm running on a Intel SE7501BR2, single Xeon, 2GB. I have burned a second CD and swapped the CD drive, cable and RAM, all to no avail. I have a RR1520 RAID controller, but removed that as well. On-board SCSI controller and serial ports have been disabled, too. Nothing seems to make a difference. What on earth could be going on? Thanks, Brad Waite From amvandemore at gmail.com Wed Aug 5 16:18:46 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Aug 5 16:18:53 2009 Subject: 7.2 CD won't boot In-Reply-To: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> References: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> Message-ID: <6201873e0908050918u19248780m43f153cf6d9c2e3f@mail.gmail.com> On Wed, Aug 5, 2009 at 10:41 AM, John Nielsen. wrote: > Hi guys, > > My 7.2 Release Disc 1 won't boot. I get the following and nothing more: > > CD Loader 1.2 > > Building the boot loader arguments > Looking up /BOOT/LOADER... Found > Relocating the loader and the BTX > > I'm running on a Intel SE7501BR2, single Xeon, 2GB. I have burned a > second CD and swapped the CD drive, cable and RAM, all to no avail. I > have a RR1520 RAID controller, but removed that as well. On-board SCSI > controller and serial ports have been disabled, too. Nothing seems to > make a difference. > > What on earth could be going on? > > Thanks, > > Brad Waite > > What platform are you using? eg amd64 Update BIOS, disable acpi. -- Adam Vande More From glen.j.barber at gmail.com Wed Aug 5 16:19:30 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 16:19:38 2009 Subject: 7.2 CD won't boot In-Reply-To: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> References: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> Message-ID: <4ad871310908050919u2fa32e09pa690edebd37b9881@mail.gmail.com> On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen. wrote: > Hi guys, > > My 7.2 Release Disc 1 won't boot. ?I get the following and nothing more: > > CD Loader 1.2 > > Building the boot loader arguments > Looking up /BOOT/LOADER... Found > Relocating the loader and the BTX > > I'm running on a Intel SE7501BR2, single Xeon, 2GB. ?I have burned a > second CD and swapped the CD drive, cable and RAM, all to no avail. ?I > have a RR1520 RAID controller, but removed that as well. ?On-board SCSI > controller and serial ports have been disabled, too. ?Nothing seems to > make a difference. > > What on earth could be going on? > Can you verify if another machine boots the CD? Could be a bad download. Could be a hardware incompatibility. Also, could you try disabling ACPI at boot? -- Glen Barber From david at vizion2000.net Wed Aug 5 16:28:25 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 16:28:33 2009 Subject: 7.2 CD won't boot In-Reply-To: <4ad871310908050919u2fa32e09pa690edebd37b9881@mail.gmail.com> References: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> <4ad871310908050919u2fa32e09pa690edebd37b9881@mail.gmail.com> Message-ID: <200908051728.22039.david@vizion2000.net> > On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen. wrote: > > Hi guys, > > > > My 7.2 Release Disc 1 won't boot. I get the following and nothing more: > > > > CD Loader 1.2 > > > > Building the boot loader arguments > > Looking up /BOOT/LOADER... Found > > Relocating the loader and the BTX > > > > I'm running on a Intel SE7501BR2, single Xeon, 2GB. I have burned a > > second CD and swapped the CD drive, cable and RAM, all to no avail. I > > have a RR1520 RAID controller, but removed that as well. On-board SCSI > > controller and serial ports have been disabled, too. Nothing seems to > > make a difference. > > > > What on earth could be going on? > > Can you verify if another machine boots the CD? Could be a bad download. > > Could be a hardware incompatibility. > > Also, could you try disabling ACPI at boot? I found the amd64 dvd download to be corrupt recently. So do check the download -- did you verify your download? David From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 16:32:49 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 16:32:56 2009 Subject: find question In-Reply-To: <4ad871310908050833k54f3f3a7v679737941e3fa235@mail.gmail.com> References: <42D44C8E-1E22-426C-A9AA-0FBF2A52188A@socket.net> <200908050712.39131.mel.flynn+fbsd.questions@mailing.thruhere.net> <4ad871310908050833k54f3f3a7v679737941e3fa235@mail.gmail.com> Message-ID: <200908050832.47299.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 07:33:42 Glen Barber wrote: > On Wed, Aug 5, 2009 at 11:12 AM, Mel > > Flynn wrote: > > On Wednesday 05 August 2009 07:00:40 Glen Barber wrote: > >> On Wed, Aug 5, 2009 at 3:36 AM, Matthew > >> > >> Seaman wrote: > >> > Try this as: > >> > > >> > for line in $( cat $FILELIST ) ; do > >> > echo $line > >> > find $line -type f >> $TMPFILE > >> > done > >> > > >> > *assuming that none of the directory names in $FILELIST contain > >> > spaces* > >> > >> for line in $( cat $FILELIST | sed -e 's/\ //g') ; do > >> echo $line > >> find $line -type f >> $TMPFILE > >> done > >> > >> This *should* fix any directories containing spaces. > > > > And also make find look in non-existing directories. > > True, but any script that needs to find directories containing spaces > is going to be hack-ish. > > for line in $( cat $FILELIST | sed -e 's/\ /SPACE/g') ; do > echo $line | sed -e 's/SPACE/\ /g' > find $line -type f >> $TMPFILE > done Not really, simply quote your arguments so that IFS is not in the picture. The OP had the right the idea by using a pipe+while read. % echo My Documents|while read LINE; do find "${LINE}" -type f; done My Documents/foo -- Mel From david at vizion2000.net Wed Aug 5 16:34:37 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 16:34:44 2009 Subject: 7.2 CD won't boot In-Reply-To: <200908051728.22039.david@vizion2000.net> References: <53907.98.245.242.40.1249486879.squirrel@webmail.wcubed.net> <4ad871310908050919u2fa32e09pa690edebd37b9881@mail.gmail.com> <200908051728.22039.david@vizion2000.net> Message-ID: <200908051734.33937.david@vizion2000.net> > > On Wed, Aug 5, 2009 at 11:41 AM, John Nielsen. wrote: > > > Hi guys, > > > > > > My 7.2 Release Disc 1 won't boot. I get the following and nothing > > > more: > > > > > > CD Loader 1.2 > > > > > > Building the boot loader arguments > > > Looking up /BOOT/LOADER... Found > > > Relocating the loader and the BTX > > > > > > I'm running on a Intel SE7501BR2, single Xeon, 2GB. I have burned a > > > second CD and swapped the CD drive, cable and RAM, all to no avail. I > > > have a RR1520 RAID controller, but removed that as well. On-board SCSI > > > controller and serial ports have been disabled, too. Nothing seems to > > > make a difference. > > > > > > What on earth could be going on? > > > > Can you verify if another machine boots the CD? Could be a bad download. > > > > Could be a hardware incompatibility. > > > > Also, could you try disabling ACPI at boot? > > I found the amd64 dvd download to be corrupt recently. So do check the > download -- did you verify your download? > > David John My cc to you was bounced. : host d.mx.mail.yahoo.com[68.142.202.247] said: 554 delivery error: dd This user doesn't have a yahoo.de account (jn07texas@yahoo.de) [-5] - mta247.mail.mud.yahoo.com (in reply to end of DATA command) David From kc0hwa at gmail.com Wed Aug 5 16:36:15 2009 From: kc0hwa at gmail.com (J Lee Hughes) Date: Wed Aug 5 16:36:22 2009 Subject: help installing Message-ID: how can help me install free bsd I get loaded free bsd it said is loaded good Can not get xwindow to load or kde help use to opensuse the best for os ============================== J Lee Hughes K C 0 H W A 73 ============================= Do what you can every day! Learn what you can every day! Life is good! ============================= From david at vizion2000.net Wed Aug 5 17:07:41 2009 From: david at vizion2000.net (David Southwell) Date: Wed Aug 5 17:07:48 2009 Subject: help installing In-Reply-To: References: Message-ID: <200908051807.38397.david@vizion2000.net> > how can help me install free bsd > > I get loaded free bsd > it said is loaded good > Can not get xwindow to load or kde > > help > > use to opensuse the best for os > ============================== > J Lee Hughes K C 0 H W A 73 > ============================= > Do what you can every day! > Learn what you can every day! > Life is good! > ============================= Welcome Do you have another machine available with access to the internet. If so use that one to go to http://www.freebsd.org follow the links to documentation>handbook you should find everything you need there. Come back here if you get stuck David M0TAU From rsw22 at cornell.edu Wed Aug 5 17:19:29 2009 From: rsw22 at cornell.edu (Randall Wood) Date: Wed Aug 5 17:19:43 2009 Subject: Opera in your repos In-Reply-To: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090805180009.GB7643@zafiro.therandymon.com> > There are no issues I'm aware of, that's specific to the FreeBSD/Opera > combination (no flash support is an issue with Adobe, not Opera and I got one > bugreport in the queue, that I'm also not sure is FreeBSD specific, more > built-in torrent application specific). > -- No problems here - it's my browser of choice on FreeBSD, and it hasn't given me any trouble at all. Congrats. -- http://www.therandymon.com From rsw22 at cornell.edu Wed Aug 5 17:19:30 2009 From: rsw22 at cornell.edu (Randall Wood) Date: Wed Aug 5 17:19:44 2009 Subject: Looking for fast graphical web browser In-Reply-To: <200908031153.22226.w.riegler@cbtl.de> References: <200908031153.22226.w.riegler@cbtl.de> Message-ID: <20090805175728.GA7643@zafiro.therandymon.com> On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote: > Has anyone tested Arora? I'm actually surprised no one has recommended Konqueror. It's not my favorite browser (I happen to love Opera) but it would seem to mostly fit the bill of fast, graphical. One trick it does that I appreciate is assigning a letter to every link. When you hold down the control key, the letters appear and you can navigate just by pressing control and a letter key. Konqueror certainly has its detractors though, so I guess it's a matter of taste. Happy hunting. -- http://www.therandymon.com From nvass9573 at gmx.com Wed Aug 5 17:25:45 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Aug 5 17:25:51 2009 Subject: Network card Intel and 802.1P tag In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> Message-ID: <4A79C088.1090504@gmx.com> Gary Gatten wrote: > Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them? The vlan driver handles tagging itself in software. You don't need support by the hardware driver or the NIC itself. That said, Intel NICs are known to work correctly and support dot1Q tags natively in hardware. Maybe this behavior is some regression with the priority tags, which by the way are completely ignored by the vlan driver. You cannot set a priority tag or have the vlan driver process it in a special way. I guess processing priority tags is not very useful since one cannot expect a FreeBSD box to replace a switch! As I understand Andrey just runs tcpdump on the physical interface. He doesn't use the vlan driver. He should see everything that reaches the ethernet port. tagged or not. Nikos From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 17:29:20 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 17:29:28 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090805175728.GA7643@zafiro.therandymon.com> References: <200908031153.22226.w.riegler@cbtl.de> <20090805175728.GA7643@zafiro.therandymon.com> Message-ID: <200908050929.17643.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 09:57:30 Randall Wood wrote: > On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote: > > Has anyone tested Arora? > > I'm actually surprised no one has recommended Konqueror. It's not my > favorite browser (I happen to love Opera) but it would seem to mostly fit > the bill of fast, graphical. One trick it does that I appreciate is > assigning a letter to every link. When you hold down the control key, the > letters appear and you can navigate just by pressing control and a letter > key. Konqueror certainly has its detractors though, so I guess it's a > matter of taste. Well, the script support and rendering bugs are a bit too noticeable for my taste. Though last time I tried was KDE 4.1.x. I suppose I could give it another shot with 4.3 in the tree. -- Mel From arctic at alkar.net Wed Aug 5 17:29:57 2009 From: arctic at alkar.net (Andrey O.Sokolov) Date: Wed Aug 5 17:30:05 2009 Subject: Network card Intel and 802.1P tag In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> Message-ID: <1249493435.3092.45.camel@Father> ? ??, 2009-08-05 ? 10:54 -0500, Gary Gatten ????: > Not ALL chipsets / drivers support 802.1Q / p , maybe this is one of them? I have this problem on some ethernet cards, such as: em0@pci0:14:0:0: class=0x020000 card=0x109a15d9 chip=0x109a8086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82573L Intel PRO/1000 PL Network Adaptor' class = network subclass = ethernet em0@pci0:6:0:0: class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82573E Intel Corporation 82573E Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet Andrey O.Sokolov wrote: > > Any idea how I can see 802.1P tag on em? > > You should, I guess, with no extra steps. Perhaps the em driver > has some hardware capability, which set the priority tag to zero? > Is the vlan hardware processing enabled? How I can enable this processing? > Could you post the output of "ifconfig em0"? > Output of ifconfig both: em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:15:b7:62:de:ec media: Ethernet 100baseTX status: active vlan20: flags=8843 metric 0 mtu 1500 options=3 ether 00:15:b7:62:de:ec inet media: Ethernet 100baseTX status: active vlan: 20 parent interface: em0 ============================================================================== fxp0: flags=8943 metric 0 mtu 1500 options=219b ether 00:02:b3:61:d5:5a media: Ethernet 100baseTX status: active vlan20: flags=8843 metric 0 mtu 1500 options=3 ether 00:02:b3:61:d5:5a inet media: Ethernet 100baseTX status: active vlan: 20 parent interface: fxp0 -- ***AOS224-RIPE*** mailto:arctic@alkar.net From kline at thought.org Wed Aug 5 17:41:04 2009 From: kline at thought.org (Gary Kline) Date: Wed Aug 5 17:41:10 2009 Subject: foot-shot? Message-ID: <20090805174038.GA19895@thought.org> Hm. Last night mutt began to fail to sent mail; it exited with a 127. When I tried to rebuolt mutt, turns out that I'm missing GNU m4... . I'll paste the build snafus after my sig here on my server. Ideas how things ggot hosed? anybody? -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ===> Configuring for mutt-1.4.2.3_3 /usr/local/share/aclocal/soup.m4:7: warning: underquoted definition of AM_PATH_SOUP run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/local/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF /usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC /usr/local/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE /usr/local/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/local/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/local/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/local/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/local/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/local/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/local/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF /usr/local/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE /usr/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB /usr/local/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT autom4te-2.62: need GNU m4 1.4 or later: /usr/local/bin/gm4 aclocal-1.9: /usr/local/bin/autom4te-2.62 failed with exit status: 1 *** Error code 1 From nvass9573 at gmx.com Wed Aug 5 17:41:54 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Aug 5 17:42:01 2009 Subject: Network card Intel and 802.1P tag In-Reply-To: <1249493435.3092.45.camel@Father> References: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> <1249493435.3092.45.camel@Father> Message-ID: <4A79C44D.8040803@gmx.com> Andrey O.Sokolov wrote: >> Is the vlan hardware processing enabled? > > How I can enable this processing? > "ifconfig em0 vlanhwtag" enables vlan processing in hw "ifconfig em0 -vlanhwtag" disables vlan processing in hw Maybe one these will work correctly without the zeroing effect. Perhaps off topic, but why are you interested in priority tags, since FreeBSD will silently ignore them? From arctic at alkar.net Wed Aug 5 17:56:36 2009 From: arctic at alkar.net (Andrey O.Sokolov) Date: Wed Aug 5 17:56:44 2009 Subject: [?? Probable Spam] Re: Network card Intel and 802.1P tag In-Reply-To: <4A79C44D.8040803@gmx.com> References: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> <1249493435.3092.45.camel@Father> <4A79C44D.8040803@gmx.com> Message-ID: <1249495034.3092.58.camel@Father> ? ??, 2009-08-05 ? 20:41 +0300, Nikos Vassiliadis ????: > >> Is the vlan hardware processing enabled? > > > > How I can enable this processing? > > > > "ifconfig em0 vlanhwtag" enables vlan processing in hw > "ifconfig em0 -vlanhwtag" disables vlan processing in hw > Maybe one these will work correctly without the zeroing effect. I tried both variant on both NIC - fxp and em The result doesn't change ;( > Perhaps off topic, but why are you interested in priority > tags, since FreeBSD will silently ignore them? I developing QoS-model for big network. I have casualy found out this problem, when I analyzed the traffic with different COS-value from various devices. -- ***AOS224-RIPE*** mailto:arctic@alkar.net From nvass9573 at gmx.com Wed Aug 5 18:07:08 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Aug 5 18:07:14 2009 Subject: [?? Probable Spam] Re: Network card Intel and 802.1P tag In-Reply-To: <1249495034.3092.58.camel@Father> References: <70C0964126D66F458E688618E1CD008A0793F2F9@WADPEXV0.waddell.com> <1249493435.3092.45.camel@Father> <4A79C44D.8040803@gmx.com> <1249495034.3092.58.camel@Father> Message-ID: <4A79CA3C.9050302@gmx.com> Andrey O.Sokolov wrote: > I tried both variant on both NIC - fxp and em > The result doesn't change ;( You should post to net@ and maybe the maintainer will help you. Include pciconf. >> Perhaps off topic, but why are you interested in priority >> tags, since FreeBSD will silently ignore them? > > I developing QoS-model for big network. > I have casualy found out this problem, when I analyzed the traffic with > different COS-value from various devices. Yes, but at the end of the day FreeBSD will ignore the priority tag. It would be just cosmetic. But, I agree that you should see the correct priority tag. Nikos From lgroups at waagmeester.co.za Wed Aug 5 18:16:16 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Wed Aug 5 18:16:24 2009 Subject: Wierd X crash In-Reply-To: <200908050636.43776.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <1249475858.6074.5.camel@penguin.coert.local> <200908050636.43776.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <1249496239.4520.2.camel@penguin.coert.local> On Wed, 2009-08-05 at 06:36 -0800, Mel Flynn wrote: > On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote: > > > I am fairly new to FreeBSD. I use linux a lot. > > > > Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP > > GeForce FX 5200. > > > > > > My X works, with xinerama and two screens, perfectly, > > but as soon as I hold down any key (like Backspace to remove a line of > > text) X crashes. > > Any key? Even one that does not create scrolling on the screen? like backspace > in an empty file? > Unless someone else has seen this, sounds really hard to debug without a > coredump :/ > The only long shot I got to offer is that nvidia provides TwinView which does > the same as Xinerama and you might want to try that out instead. There's > detailed information about it in one of the Nvidia README's. Twinview did indeed completely solve the problem! What are the (dis)advantages of TwinView and Xinerama? Thanks! Coert From freebsd at edvax.de Wed Aug 5 18:33:46 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Aug 5 18:33:53 2009 Subject: upgrade 7.2 overwrites partitions In-Reply-To: <200908051651.53302.j.mckeown@ru.ac.za> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> Message-ID: <20090805203337.c6f74172.freebsd@edvax.de> Jonathan, I'd like to thank you for your polite words. I'm not sure I could have been able to express in the same way. Allow me a few comments: On Wed, 5 Aug 2009 16:51:53 +0200, Jonathan McKeown wrote: > On Wednesday 05 August 2009 15:49:38 PJ wrote: > > Well, whatever it was it sure screwed up my system > > You screwed up your system. Possibly that started when you tried to use > freebsd-update with a non-GENERIC kernel, but you then thrashed around, > apparently ignoring most of the help you were offered on this list and > getting into more and more trouble, while never explaining exactly what you > were doing. For any operating system is true: As long as you can't master it because you don't exactly know how to do things, it's always a little bit dangerous. > ``I can't use it, therefore it's rubbish''. That's fine, no-one forced you to > use FreeBSD in the first place and I doubt anyone minds that you don't want > to use it any more. I had a similar problem last year: My home directory is still gone and FreeBSD doesn't seem to be able to restore it. But I haven't found (a) a system that brings back my precious data and (b) can offer the same functionality and easyness of use FreeBSD does. This is, of course, a very individual problem. As you know from this list, most problems are of a less "important" nature. But failing to read the documentation - you can always ask if you don't understand what something might mean - has never been a problem. If you stick to the official handbook, no serious problems should occur. > Personally, I do think it's a pity, because FreeBSD (in my experience, since > FreeBSD 4.5) is stable, easy to use (once you have the basic Unix concepts on > board), and astonishingly well-documented. It's also supported by one of the > friendliest and most knowledgeable communities I know. In relations to most Linusi and MICROS~1 stuff in general, FreeBSD is the MOST EXCELLENT documented OS I've ever used - and I have used many OSes during my "career". The FAQ, the handbook and especially the manpages are great. Of course, that's my point of view as a developer. For a "normal user", this might look a bit different, but finally, there's this very helpful and friendly list. > Having said all that, I wish you well and I hope you find a system which suits > you better than the one you have trashed. I honestly second that. If FreeBSD isn't your cup of tea, try something else. I'm sure you'll find some OS that fits your needs better. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions at k-moeller.dk Wed Aug 5 18:35:04 2009 From: freebsd-questions at k-moeller.dk (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Wed Aug 5 18:35:11 2009 Subject: net-mgmt/flowd - broken ? Message-ID: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> Hi I'm trying to build flowd with perl make WITH_PERL="YES" But it returns that it is broken ? flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist. Without perl it installs fine. The problem is that I need the perl part to get some of the other tools to work :S Anything I can do to get this not broken ... -- Med Venlig Hilsen Kalle R. M?ller From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 19:19:10 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 19:19:17 2009 Subject: Wierd X crash In-Reply-To: <1249496239.4520.2.camel@penguin.coert.local> References: <1249475858.6074.5.camel@penguin.coert.local> <200908050636.43776.mel.flynn+fbsd.questions@mailing.thruhere.net> <1249496239.4520.2.camel@penguin.coert.local> Message-ID: <200908051041.40265.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 10:17:19 Coert Waagmeester wrote: > On Wed, 2009-08-05 at 06:36 -0800, Mel Flynn wrote: > > On Wednesday 05 August 2009 04:37:38 Coert Waagmeester wrote: > > > I am fairly new to FreeBSD. I use linux a lot. > > > > > > Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP > > > GeForce FX 5200. > > > > > > > > > My X works, with xinerama and two screens, perfectly, > > > but as soon as I hold down any key (like Backspace to remove a line of > > > text) X crashes. > > > > Any key? Even one that does not create scrolling on the screen? like > > backspace in an empty file? > > Unless someone else has seen this, sounds really hard to debug without a > > coredump :/ > > The only long shot I got to offer is that nvidia provides TwinView which > > does the same as Xinerama and you might want to try that out instead. > > There's detailed information about it in one of the Nvidia README's. > > Twinview did indeed completely solve the problem! > > What are the (dis)advantages of TwinView and Xinerama? TwinView is preferred on nvidia cards. I don't know the exact history, but I think XFree and nvidia were working on multi-monitor/vidcard support around the same time and nvidia came up with TwinView, while XFree provided Xinerama. Apparently, nvidia didn't like the Xinerama API and stuck with it's own, while incorporating some compatibility functions to make things work better, but I always found TwinView to work as advertized and Xinerama being buggy. Of course, my experience is no measurement for past and future results ;) -- Mel From freebsd at edvax.de Wed Aug 5 19:23:56 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Aug 5 19:24:02 2009 Subject: cvs tag usage In-Reply-To: <200908051000.09434.david@vizion2000.net> References: <4ad871310908041456h433eeb01s87095a05984433e3@mail.gmail.com> <200908051000.09434.david@vizion2000.net> Message-ID: <20090805204439.84e28b87.freebsd@edvax.de> On Wed, 5 Aug 2009 10:00:09 +0100, David Southwell wrote: > I took a look at the web pages and found the following choices: > > RELENG_7_BP > RELENG_7_2_BP > RELENG_7_2_0_RELEASE > RELENG_7_2 > > But could not find anything that told me where -p2 fits into this!! The -p2 is appended when you follow RELENG_7_2, which is the security branch (release branch) of FreeBSD 7.2. You will get ONLY the patches. For example, when the second patch is applied and you download, compile and install the OS, uname will give 7.2-RELEASE-p2. If you follow RELENG_7, you get the stable branch. Here, more than just the patches are delivered to you when updating the sources. So you won't get -p2, but something like 7.0-STABLE together with your compile date. As far as I know, /etc/motd will be updated and then show 7.2-STABLE-20090101 (the proper date of course). The -STABLE branch is a bit experimental, allthough it includes those things that are considered to be running well. If you are interested in the "bleeding edge" of FreeBSD's development, you follow RELENG_7. This will then deliver the -CURRENT branch to you with all modifications. It may happen that a -CURRENT of today doesn't compile, but tomorrow, it will do. It's considered to be the experimental branch where changes can appear and disappear. > To synchronize src and keep up to date do I use: > > *default release=cvs tag=RELENG_7_2 > will this automatically track the latest version in 7_2 and therefore keep > track with 7.2-RELEASE-p2 or later?? Exactly. You follow the -STABLE branch of FreeBSD 7.2 and will always get the latest *stable* 7.2 sources, but won't reach 7.3 with this setting. > or > do I need to use something like: > > *default release=cvs tag=RELENG_7_2-p2 No. As far as I know, you can't update to a specific patchlevel in this way. But using CVS correctly - don't ask me how to do this :-) - you can update your system to any point of time in development. > or > something else!! Or else. :-) > Where can I find some explanation on this? The handbook mentions it in its comparison between RELEASE and STABLE. > Maybe something from this discussion could be added to the > handbook/synching.html page so the choice of suffix for configuring cvsup > could be made easier for those who are not familiar with the meaning of > undocumented suffixing such as -p2 !!. Good idea. > Another could there possibly be some consistency between the output from uname > -a and the suffixing used for synching of the src be practicable. The "problem" is that there are different naming conventions. > Please do > not bite my head off if it is not practical -- I acknowledge it is a question > born of ignorance and confusion I already had horsehead goulash with sauerkraut, thanks. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 19:24:09 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 19:24:15 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> Message-ID: <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 10:35:02 Kalle M?ller wrote: > make WITH_PERL="YES" > > But it returns that it is broken ? > > flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist. > > Without perl it installs fine. The problem is that I need the perl part to > get some of the other tools to work :S > > Anything I can do to get this not broken ... You could fix the plist and ping the maintainer (added to CC). -- Mel From admin at enabled.com Wed Aug 5 19:39:23 2009 From: admin at enabled.com (Admin) Date: Wed Aug 5 19:39:30 2009 Subject: new machine trying to install /usr/ports Message-ID: <4A79D704.2030908@enabled.com> hi there, I am trying to get some basic ports tools installed on a new machine. I downloaded the entire ports.tar.gz and then placed all those contents in /usr/ports What are the best next steps to follow to get things up an running? I was hoping to install portsnap but here the error I am receiving. What is wrong? su-3.2# pkg_add -r portsnap Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz' by URL Cheers, Noah From nealhogan at gmail.com Wed Aug 5 19:47:07 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Aug 5 19:47:15 2009 Subject: new machine trying to install /usr/ports In-Reply-To: <4A79D704.2030908@enabled.com> References: <4A79D704.2030908@enabled.com> Message-ID: On Wed, Aug 5, 2009 at 2:01 PM, Admin wrote: > hi there, > > I am trying to get some basic ports tools installed on a new machine. ?I > downloaded the entire ports.tar.gz and then placed all those contents in > /usr/ports > > What are the best next steps to follow to get things up an running? ?I was > hoping to install portsnap but here the error I am receiving. ?What is > wrong? > http://www.freebsd.org/doc/en/books/handbook/portsnap.html > > su-3.2# pkg_add -r portsnap > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz: > File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-stable/Latest/portsnap.tbz' > by URL > > > Cheers, > > Noah > > _______________________________________________ > 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 hotmail.com Wed Aug 5 20:57:39 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Aug 5 20:57:47 2009 Subject: upgrade 7.2 overwrites partitions References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> Message-ID: Polytropon wrote: [snip] > >> Personally, I do think it's a pity, because FreeBSD (in my experience, >> since FreeBSD 4.5) is stable, easy to use (once you have the basic Unix >> concepts on board), and astonishingly well-documented. It's also >> supported by one of the friendliest and most knowledgeable communities I >> know. > > In relations to most Linusi and MICROS~1 stuff in general, FreeBSD is the > MOST EXCELLENT documented OS I've ever used - and I have used many OSes > during my "career". The FAQ, the handbook and especially the manpages are > great. Of course, that's my point of view as a developer. For a "normal > user", this might look a bit different, but finally, there's this very > helpful and friendly list. > Many people's only familiarity with computers in general will be from a Windows centric perspective. Somehow there is a tendency to believe that inserting a CD, booting, and then proceeding to click "OK" in a dialog box a few dozen times makes them some kind of expert when they successfully get Windows installed. Coming from a Windows centric environment myself I initially found that there was a great deal of material to be learned, and RTFM was the way to do it. I've noticed people who come from university computer science programs have a much better foundation upon which to build. Most computer users do not fit this category, myself included. While this deficiency can be overcome with self study, I am also aware that not everyone who reads documentation necessarily understands the material. If too much background education is missing the documentation just resembles gobbeldy-gook and is ignored, with the fall back position of "click OK a few dozen times and the OS will take care of it for me" expected to pick up the slack. I would not be where I am today in my understanding and use of FreeBSD if not for the excellent documentation and surrounding community. I feel I owe my success in utilizing FreeBSD to the people who took the time to write this stuff down for people like me to use. It is with a great measure of gratitude to these people I owe my success. [snip] -Mike From lgroups at waagmeester.co.za Wed Aug 5 20:59:04 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Wed Aug 5 20:59:12 2009 Subject: eclipse install Message-ID: <1249506008.4520.5.camel@penguin.coert.local> Hello all, What is the best way to install eclipse on FreeBSD 7.2? On Linux I installed java, and downloaded the newest eclipse. Regards, Coert From bmcgover at cisco.com Wed Aug 5 21:01:15 2009 From: bmcgover at cisco.com (Brian McGovern) Date: Wed Aug 5 21:01:22 2009 Subject: Writing to a uhid device? Message-ID: <1249497579.39696.78.camel@bmcgover-pc.cisco.com> I picked up a Velleman K8055 digital I/O controller that connects to a PC via a USB port. FreeBSD picks up this device as a uhid, and I can see the following elements: bmcgover-pc# usbhidctl -f /dev/uhid2 -r Report descriptor: Collection page=Microsoft usage=0x0001 Input size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0003, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0004, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0005, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0006, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0007, logical range 0..255 Input size=8 count=1 page=Microsoft usage=0x0008, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0002, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0003, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0004, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0005, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0006, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0007, logical range 0..255 Output size=8 count=1 page=Microsoft usage=0x0008, logical range 0..255 End collection Total input size 8 bytes Total output size 0 bytes Total feature size 0 bytes Reading from the device 8 bytes at a time does whats expected - I can see the digital and analog inputs, the counters, etc, and all is fine. However, I notice on the above output that the "total output size" is 0, and writing 8 bytes of information to the device seems to do nothing for the outputs. I'm guessing at this point that its an issue somewhere with the driver, but a quick look at uhid_do_write() looks like its doing something, although the behavior changes around sc->sc_oid and sc->sc_osize (possible issue with the 'total output size' being 0, above?). Does anyone have any thoughts or ideas, or better yet, experience with such devices, before I spend a couple of days of banging my head against the wall trying to figure out whats happening "under the hood"? Is there a special/magic process? Or should I just be able to write the 8 bytes, 1 for each output, as I read the input? -B From miklosovic.freebsd at gmail.com Wed Aug 5 21:11:11 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Wed Aug 5 21:11:17 2009 Subject: sshd and dhcp bind to specific address Message-ID: hi, my pc gets ip address from dhcp server, but on my pc, there is running sshd. I want to make ssh to listen to only one ip address, but if ip changes due to dhcp, ssh server do not work properly. I know, that dhcp is able to assign ip address to client from some range e.g. 192.168.0.1-254 It is possible to do the same with ssh in case that it is not possible to do it only with one ip? I want a solution which would work every time, not only some specific one. thank you From mgb-fbsd-questions at bylyd.org Wed Aug 5 21:16:09 2009 From: mgb-fbsd-questions at bylyd.org (Morten Grunnet Buhl) Date: Wed Aug 5 21:16:16 2009 Subject: Wierd X crash In-Reply-To: <1249475858.6074.5.camel@penguin.coert.local> References: <1249475858.6074.5.camel@penguin.coert.local> Message-ID: <20090805204926.GH68878@smtp.bylyd.org> * Coert Waagmeester [2009-08-05 14:37 +0200]: ... > Am running FreeBSD 7.2 i386 with the nvidia 173 driver with an AGP > GeForce FX 5200. > > My X works, with xinerama and two screens, perfectly, > but as soon as I hold down any key (like Backspace to remove a line of > text) X crashes. ... > > Any tips would be greatly appreciated. - Take a look at this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133946 I might be what you are seeing? -- I have no signature! From norgaard at locolomo.org Wed Aug 5 21:21:44 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Wed Aug 5 21:21:50 2009 Subject: sshd and dhcp bind to specific address In-Reply-To: References: Message-ID: <4A79F7E5.9020509@locolomo.org> Stefan Miklosovic wrote: > hi, > > my pc gets ip address from dhcp server, > but on my pc, there is running > sshd. > > I want to make ssh to listen to only one > ip address, but if ip changes due to dhcp, > ssh server do not work properly. > > I know, that dhcp is able to assign ip address > to client from some range e.g. 192.168.0.1-254 > It is possible to do the same with ssh in case > that it is not possible to do it only with one ip? > > I want a solution which would work every time, > not only some specific one. I don't know if this will solve your problem, you can set ListenAddress in sshd_config, by default this is 0.0.0.0 or any. You can have multiple ListenAddress entries. I do not know if you can specify an ip-range, that would solve the problem I guess. It doesn't seem like you can configure sshd to bind to a particular interface, whichever address it may have, that would be the best solution. BR, Erik -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From glen.j.barber at gmail.com Wed Aug 5 21:29:31 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 21:29:38 2009 Subject: sshd and dhcp bind to specific address In-Reply-To: References: Message-ID: <4ad871310908051429q5d10f62bs8d9fff4f3a2d094e@mail.gmail.com> On Wed, Aug 5, 2009 at 5:11 PM, Stefan Miklosovic wrote: > hi, > > my pc gets ip address from dhcp server, > but on my pc, there is running > sshd. > > I want to make ssh to listen to only one > ip address, but if ip changes due to dhcp, > ssh server do not work properly. > > I know, that dhcp is able to assign ip address > to client from some range e.g. 192.168.0.1-254 > It is possible to do the same with ssh in case > that it is not possible to do it only with one ip? > Is this a local network, inside 192.168.0.0/24 ? Are you able to configure a static IP for this machine? If not, I wrote a little script that runs every 15 minutes via cron(8) which gets my IP address, performs a diff(1) against a static file containing the current IP. If the IP is different, it mails me the new IP. However, this assumes t hat outside access is the problem, not internal access. -- Glen Barber From luis.henrix at gmail.com Wed Aug 5 21:30:05 2009 From: luis.henrix at gmail.com (Miguel) Date: Wed Aug 5 21:30:12 2009 Subject: Problems with FreeBSD installation Message-ID: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> Hi, I've been trying to install FreeBSD in my laptop, but without success. I started with 7.2, but during installation i got the error: "No disk found! Please verify that your disk controller..." Looking at the logs, everything seems fine to me (although its my first time on the FreeBSD world). I get lines such as: atapci0: [...] atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] [...] atapci1: [...] ata0: on atapci1 ata0: [ITHREAD] [...] (Note that i wrote these logs manually -- got some photos that I can upload to some URL if needed.) So, could not find any issues in the logs, apart from some ACPI errors: acpi0_check: nexus0 attached acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present ... in fact, I have some other ACPI-related errors at the beginning of the logs, but these are common also on Linux -- I believe these are due to a buggy BIOS, which unfortunately I am not able to upgrade since I have not windows installed (I have a Toshiba Satellite A210). Anyway, I decided to try a more recent version of FreeBSD and downloaded 8.0-CURRENT-200906-amd64-disc1.iso which was the most recent snapshot for my Turion64 processor. Tried to boot it but this time the installation just freeze before the install application event starts. Last log lines are: acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST device_attach: acpi0 attach returned 6 Timecounters tick every 1.000 msec md0: Preload image 4194304 bytes at 0xffffffff80fd8660 SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/md0 warning: no time-of-day clock registered, system time will not be set accurately And at this point... nothing else -- system freezes. Please let me know if anyone has any suggestions for me to have a FreeBSD installation on my laptop. I am, of course, available to provide any additional information you might need to debug the issue. Thanks! -- Miguel From freebsd at edvax.de Wed Aug 5 21:33:40 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Aug 5 21:33:47 2009 Subject: eclipse install In-Reply-To: <1249506008.4520.5.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> Message-ID: <20090805233332.2f58fa88.freebsd@edvax.de> On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester wrote: > Hello all, > > What is the best way to install eclipse on FreeBSD 7.2? > > On Linux I installed java, and downloaded the newest eclipse. On FreeBSD, you don't need to download things manually via a web browser in this old fashioned way. :-) Have a look at FreeBSD's ports collection. You'll find java/eclipse as well as many additions to this IDE. You can of course use the pkg_add -r command to install them, or your favourite port management program (portmaster, portinstall etc.), or use the "plain" method of "make install". There are different versions of Java availabe on FreeBSD. You can choose between Sun's JDK and the Diablo JDK, and there are some others. Sadly, I can't provide much more information because I have up using Java and Eclipse many years ago. :-( -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From glen.j.barber at gmail.com Wed Aug 5 21:33:48 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 21:33:57 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> Message-ID: <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> On Wed, Aug 5, 2009 at 5:01 PM, Miguel wrote: > Hi, > > I've been trying to install FreeBSD in my laptop, but without success. ?I > started with 7.2, but during installation i got the error: > > ?"No disk found! ?Please verify that your disk controller..." > > Looking at the logs, everything seems fine to me (although its my first time on > the FreeBSD world). ?I get lines such as: > > atapci0: [...] > atapci0: [ITHREAD] > atapci0: AHCI Version 01.10 controller with 4 ports detected > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > ata5: on atapci0 > ata5: [ITHREAD] > [...] > atapci1: [...] > ata0: on atapci1 > ata0: [ITHREAD] > [...] > > (Note that i wrote these logs manually -- got some photos that I can upload to > some URL if needed.) > > So, could not find any issues in the logs, apart from some ACPI errors: > > acpi0_check: nexus0 attached > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > ... > > in fact, I have some other ACPI-related errors at the beginning of the logs, but > these are common also on Linux -- I believe these are due to a buggy BIOS, which > unfortunately I am not able to upgrade since I have not windows installed (I > have a Toshiba Satellite A210). > [snip] > > acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST > device_attach: acpi0 attach returned 6 > Timecounters tick every 1.000 msec > md0: Preload image 4194304 bytes at 0xffffffff80fd8660 > SMP: AP CPU #1 Launched! > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/md0 > warning: no time-of-day clock registered, system time will not be set accurately > > And at this point... nothing else -- system freezes. > > Please let me know if anyone has any suggestions for me to have a FreeBSD > installation on my laptop. ?I am, of course, available to provide any additional > information you might need to debug the issue. > Can you try booting with ACPI disabled? It should be option 2 from the loader menu. -- Glen Barber From luis.henrix at gmail.com Wed Aug 5 21:35:46 2009 From: luis.henrix at gmail.com (Miguel) Date: Wed Aug 5 21:35:53 2009 Subject: Problems with FreeBSD installation In-Reply-To: <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> Message-ID: <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> Hi Glen, On Wed, Aug 5, 2009 at 10:33 PM, Glen Barber wrote: > On Wed, Aug 5, 2009 at 5:01 PM, Miguel wrote: >> Hi, >> >> I've been trying to install FreeBSD in my laptop, but without success. ?I >> started with 7.2, but during installation i got the error: >> >> ?"No disk found! ?Please verify that your disk controller..." >> >> Looking at the logs, everything seems fine to me (although its my first time on >> the FreeBSD world). ?I get lines such as: >> >> atapci0: [...] >> atapci0: [ITHREAD] >> atapci0: AHCI Version 01.10 controller with 4 ports detected >> ata2: on atapci0 >> ata2: [ITHREAD] >> ata3: on atapci0 >> ata3: [ITHREAD] >> ata4: on atapci0 >> ata4: [ITHREAD] >> ata5: on atapci0 >> ata5: [ITHREAD] >> [...] >> atapci1: [...] >> ata0: on atapci1 >> ata0: [ITHREAD] >> [...] >> >> (Note that i wrote these logs manually -- got some photos that I can upload to >> some URL if needed.) >> >> So, could not find any issues in the logs, apart from some ACPI errors: >> >> acpi0_check: nexus0 attached >> acpi0_check: acpi0 not-present >> acpi0_check: acpi0 not-present >> acpi0_check: acpi0 not-present >> acpi0_check: acpi0 not-present >> ... >> >> in fact, I have some other ACPI-related errors at the beginning of the logs, but >> these are common also on Linux -- I believe these are due to a buggy BIOS, which >> unfortunately I am not able to upgrade since I have not windows installed (I >> have a Toshiba Satellite A210). >> > > > [snip] > > >> >> acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST >> device_attach: acpi0 attach returned 6 >> Timecounters tick every 1.000 msec >> md0: Preload image 4194304 bytes at 0xffffffff80fd8660 >> SMP: AP CPU #1 Launched! >> WARNING: WITNESS option enabled, expect reduced performance. >> Trying to mount root from ufs:/dev/md0 >> warning: no time-of-day clock registered, system time will not be set accurately >> >> And at this point... nothing else -- system freezes. >> >> Please let me know if anyone has any suggestions for me to have a FreeBSD >> installation on my laptop. ?I am, of course, available to provide any additional >> information you might need to debug the issue. >> > > Can you try booting with ACPI disabled? ?It should be option 2 from > the loader menu. Yes, I tried that already with same results. Regards, Miguel From glen.j.barber at gmail.com Wed Aug 5 21:37:41 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 21:37:48 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> Message-ID: <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> On Wed, Aug 5, 2009 at 5:35 PM, Miguel wrote: > Hi Glen, > >> >> Can you try booting with ACPI disabled? ?It should be option 2 from >> the loader menu. > > Yes, I tried that already with same results. > Can you try the installation media on another machine (to rule out a bad CD or bad burn)? Also, is it possible to upgrade the BIOS on the problem machine? -- Glen Barber From luis.henrix at gmail.com Wed Aug 5 21:45:59 2009 From: luis.henrix at gmail.com (Miguel) Date: Wed Aug 5 21:46:05 2009 Subject: Problems with FreeBSD installation In-Reply-To: <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> Message-ID: <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> On Wed, Aug 5, 2009 at 10:37 PM, Glen Barber wrote: > On Wed, Aug 5, 2009 at 5:35 PM, Miguel wrote: >> Hi Glen, >> >>> >>> Can you try booting with ACPI disabled? ?It should be option 2 from >>> the loader menu. >> >> Yes, I tried that already with same results. >> > > Can you try the installation media on another machine (to rule out a > bad CD or bad burn)? The CD image seems to be fine (both of them): I have installed them on a Linux kvm virtual machine and there were no problems -- both are able to do the complete installation and I am able to boot the resulting image. (Sorry, no other "physical" machines available at the moment.) > Also, is it possible to upgrade the BIOS on the problem machine? I would love to upgrade my BIOS but I am unable to do that -- I have not Windows installed and my vendor requires Windows to be installed in order to perform the upgrade (yes, I know! I will never buy another laptop from them!) I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure if it will make any difference. As far as I understand, the snapshot I tried is more recent than 8.0-BETA2. Or am I wrong? Is it worth downloading one more ISO just to try it? Regards, Miguel From lgroups at waagmeester.co.za Wed Aug 5 21:52:18 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Wed Aug 5 21:52:24 2009 Subject: eclipse install In-Reply-To: <20090805233332.2f58fa88.freebsd@edvax.de> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> Message-ID: <1249509202.4520.10.camel@penguin.coert.local> On Wed, 2009-08-05 at 23:33 +0200, Polytropon wrote: > On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester wrote: > > Hello all, > > > > What is the best way to install eclipse on FreeBSD 7.2? > > > > On Linux I installed java, and downloaded the newest eclipse. > > On FreeBSD, you don't need to download things manually via a web > browser in this old fashioned way. :-) > > Have a look at FreeBSD's ports collection. You'll find java/eclipse > as well as many additions to this IDE. You can of course use > the pkg_add -r command to install them, or your favourite port > management program (portmaster, portinstall etc.), or use the > "plain" method of "make install". > > There are different versions of Java availabe on FreeBSD. You > can choose between Sun's JDK and the Diablo JDK, and there are > some others. > > Sadly, I can't provide much more information because I have up > using Java and Eclipse many years ago. :-( > > > > > I tried it via the ports, but this error keeps popping up: Missing pkg-descr for patch-2.5.9. And I do not know if it is important enough, but I want to use Eclipse 3.5 At the moment I am installing ports/java/jdk16 And then I'll try to use the download of eclipse 3.5 Thank you so far, Coert From glen.j.barber at gmail.com Wed Aug 5 21:52:58 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 21:53:05 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> Message-ID: <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> On Wed, Aug 5, 2009 at 5:45 PM, Miguel wrote: > On Wed, Aug 5, 2009 at 10:37 PM, Glen Barber wrote: >> On Wed, Aug 5, 2009 at 5:35 PM, Miguel wrote: >>> Hi Glen, >>> >>>> >>>> Can you try booting with ACPI disabled? ?It should be option 2 from >>>> the loader menu. >>> >>> Yes, I tried that already with same results. >>> >> >> Can you try the installation media on another machine (to rule out a >> bad CD or bad burn)? > > The CD image seems to be fine (both of them): I have installed them on a Linux > kvm virtual machine and there were no problems -- both are able to do the > complete installation and I am able to boot the resulting image. > > (Sorry, no other "physical" machines available at the moment.) > That's fine. At least you know the media / image are working. >> Also, is it possible to upgrade the BIOS on the problem machine? > > I would love to upgrade my BIOS but I am unable to do that -- I have not Windows > installed and my vendor requires Windows to be installed in order to perform the > upgrade (yes, I know! ?I will never buy another laptop from them!) > No comment. :-) > I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure > if it will make any difference. ?As far as I understand, the snapshot I tried is > more recent than 8.0-BETA2. ?Or am I wrong? ?Is it worth downloading one more > ISO just to try it? > The -BETA, -BETA1, -BETA2 images are run the same way -RELEASE images are -- once the image is released, there are no further updates to it. That is why when you download a -RELEASE, any patches that may have been released afterwards are not reflected in the install image. For what it's worth, I tried the -BETA2 image on my laptop, and the ndis driver was causing panics. I used 7.2-RELEASE to install the OS, and rebuilt world/kernel from my build machine using NFS, and the panics went away. After rereading your original question, you were using a -CURRENT snapshot to install -- -BETA2 was released a few weeks ago. It may have the problem fixed, yes, but it is not guaranteed. To answer your question, "is it worth downloading...": that depends. If you're willing to waste another CD if it fails, is up to you, but your problem may be fixed in -BETA2. -- Glen Barber From luis.henrix at gmail.com Wed Aug 5 22:10:58 2009 From: luis.henrix at gmail.com (Miguel) Date: Wed Aug 5 22:11:04 2009 Subject: Problems with FreeBSD installation In-Reply-To: <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> Message-ID: <5b2efe7c0908051510y7c539328t15860b12b36d938c@mail.gmail.com> On Wed, Aug 5, 2009 at 10:52 PM, Glen Barber wrote: >> I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure >> if it will make any difference. ?As far as I understand, the snapshot I tried is >> more recent than 8.0-BETA2. ?Or am I wrong? ?Is it worth downloading one more >> ISO just to try it? >> > > The -BETA, -BETA1, -BETA2 images are run the same way -RELEASE images > are -- once the image is released, there are no further updates to it. > ?That is why when you download a -RELEASE, any patches that may have > been released afterwards are not reflected in the install image. > > For what it's worth, I tried the -BETA2 image on my laptop, and the > ndis driver was causing panics. ?I used 7.2-RELEASE to install the OS, > and rebuilt world/kernel from my build machine using NFS, and the > panics went away. > > After rereading your original question, you were using a -CURRENT > snapshot to install -- -BETA2 was released a few weeks ago. ?It may > have the problem fixed, yes, but it is not guaranteed. ?To answer your > question, "is it worth downloading...": that depends. ?If you're > willing to waste another CD if it fails, is up to you, but your > problem may be fixed in -BETA2. Yes, I understand -- just realised that BETA2 is more recent than the snapshot I tried. Most probably, I'll just wait until 8.0 is actually released. My problem with trying BETA2 is that it will take long time to get it (slow connection here) and most probably my problem will remain. Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org that I could replace in my ISO? Regards, Miguel From freebsd at edvax.de Wed Aug 5 22:11:34 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Aug 5 22:11:41 2009 Subject: eclipse install In-Reply-To: <1249509202.4520.10.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <1249509202.4520.10.camel@penguin.coert.local> Message-ID: <20090806001127.461c7148.freebsd@edvax.de> On Wed, 05 Aug 2009 23:53:22 +0200, Coert Waagmeester wrote: > I tried it via the ports, but this error keeps popping up: > Missing pkg-descr for patch-2.5.9. Seems to be a dependency. As far as I investigated the port's Makefile, gpatch should be fine, too. Instead of building the (g)patch utility, you could surely use pkg_add -r (g)patch to install it. I tried "make" in devel/patch and it seems to run well. Maybe you try to install (even build) patch prior to a new "make" attempt for eclipse. > And I do not know if it is important enough, but I want to use Eclipse > 3.5 As far as I checked, pkg_add will provide 3.4.? only at the moment. > And then I'll try to use the download of eclipse 3.5 If it runs on FreeBSD, there should be no problem. If it's a Linux binary, enable the Linux ABI which should make it run, too. > Thank you so far, > Coert Good luck! -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From djuatdelta at gmail.com Wed Aug 5 22:38:39 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed Aug 5 22:38:47 2009 Subject: eclipse install In-Reply-To: <20090806001127.461c7148.freebsd@edvax.de> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <1249509202.4520.10.camel@penguin.coert.local> <20090806001127.461c7148.freebsd@edvax.de> Message-ID: I wish there was a FreeBSD package of the newest version of Eclipse CDT (or at least "ganymede" version). I do my research in Eclipse-CDT Galileo on multiple Linux systems, and it would be nice to be able to mess with things occasionally on my FreeBSD box. Although I can't recall specifics, I know things (e.g., project settings, makefile management) are done differently on the newer versions than on the version in the ports. If I'm wrong and/or I'm missing something, please, someone tell me. I'd LOVE to be wrong here :) From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 22:41:34 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 22:41:41 2009 Subject: sshd and dhcp bind to specific address In-Reply-To: References: Message-ID: <200908051441.32469.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 13:11:08 Stefan Miklosovic wrote: > my pc gets ip address from dhcp server, > but on my pc, there is running > sshd. > > I want to make ssh to listen to only one > ip address, but if ip changes due to dhcp, > ssh server do not work properly. > > I know, that dhcp is able to assign ip address > to client from some range e.g. 192.168.0.1-254 > It is possible to do the same with ssh in case > that it is not possible to do it only with one ip? > > I want a solution which would work every time, > not only some specific one. Create a script called /etc/dhclient-exit-hooks. Check the dhclient-script manpage for some info on the available variables. From there you can work out if $new_ip_address is different from $old_ip_address, rewrite /etc/sshd_config with the new ip address and restart sshd. -- Mel From roberthuff at rcn.com Wed Aug 5 22:43:15 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Aug 5 22:43:22 2009 Subject: sshd and dhcp bind to specific address In-Reply-To: <4ad871310908051429q5d10f62bs8d9fff4f3a2d094e@mail.gmail.com> References: <4ad871310908051429q5d10f62bs8d9fff4f3a2d094e@mail.gmail.com> Message-ID: <4A7A0AE0.9050403@rcn.com> Glen Barber wrote: >> my pc gets ip address from dhcp server, >> but on my pc, there is running >> sshd. >> >> I want to make ssh to listen to only one >> ip address, but if ip changes due to dhcp, >> ssh server do not work properly. >> >> I know, that dhcp is able to assign ip address >> to client from some range e.g. 192.168.0.1-254 >> It is possible to do the same with ssh in case >> that it is not possible to do it only with one ip? >> > > Is this a local network, inside 192.168.0.0/24 ? Are you able to > configure a static IP for this machine? > > If not, I wrote a little script that runs every 15 minutes via cron(8) > which gets my IP address, performs a diff(1) against a static file > containing the current IP. If the IP is different, it mails me the > new IP. However, this assumes that outside access is the problem, > not internal access. I have a set of scripts I run when I know I have been handed a different address; they're not pretty, but they change the IP for sshd.conf and various stuff in bind. Robert Huff From glen.j.barber at gmail.com Wed Aug 5 22:48:32 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Aug 5 22:48:40 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908051510y7c539328t15860b12b36d938c@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> <5b2efe7c0908051510y7c539328t15860b12b36d938c@mail.gmail.com> Message-ID: <4ad871310908051548m5bf426c3q57a4f1cfb97176aa@mail.gmail.com> On Wed, Aug 5, 2009 at 6:10 PM, Miguel wrote: > Yes, I understand -- just realised that BETA2 is more recent than the snapshot I > tried. ?Most probably, I'll just wait until 8.0 is actually released. ?My > problem with trying BETA2 is that it will take long time to get it (slow > connection here) and most probably my problem will remain. > Possible that it will remain - more probable that it has been fixed though. > Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org > that I could replace in my ISO? > Not that I am aware of. -- Glen Barber From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Aug 5 22:50:05 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Aug 5 22:50:12 2009 Subject: eclipse install In-Reply-To: <1249509202.4520.10.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <1249509202.4520.10.camel@penguin.coert.local> Message-ID: <200908051450.03490.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 13:53:22 Coert Waagmeester wrote: > I tried it via the ports, but this error keeps popping up: > Missing pkg-descr for patch-2.5.9. I believe you have a defective ports tree. You should have the following file: SHA256 (/usr/ports/devel/patch/pkg-descr) = 629097523839c5e305a4115c1b3629029b734166e5ff8f73923812e0149e9912 If you do not, then try updating your ports tree and look for errors/warnings with whatever method you're using. -- Mel From luis.henrix at gmail.com Wed Aug 5 22:55:41 2009 From: luis.henrix at gmail.com (Miguel) Date: Wed Aug 5 22:55:49 2009 Subject: Problems with FreeBSD installation In-Reply-To: <4ad871310908051548m5bf426c3q57a4f1cfb97176aa@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> <5b2efe7c0908051510y7c539328t15860b12b36d938c@mail.gmail.com> <4ad871310908051548m5bf426c3q57a4f1cfb97176aa@mail.gmail.com> Message-ID: <5b2efe7c0908051555j1d79e3a1k2bc32b57b61c5d17@mail.gmail.com> On Wed, Aug 5, 2009 at 11:48 PM, Glen Barber wrote: > On Wed, Aug 5, 2009 at 6:10 PM, Miguel wrote: >> Yes, I understand -- just realised that BETA2 is more recent than the snapshot I >> tried. ?Most probably, I'll just wait until 8.0 is actually released. ?My >> problem with trying BETA2 is that it will take long time to get it (slow >> connection here) and most probably my problem will remain. >> > > Possible that it will remain - more probable that it has been fixed though. Hmm... Ok, I will try it then. Not sure if I am able to do this today, but I try it. >> Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org >> that I could replace in my ISO? >> > > Not that I am aware of. Right, I could not find it too. Regards, Miguel From tfcheng at gmail.com Wed Aug 5 23:53:40 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Wed Aug 5 23:53:47 2009 Subject: qt4 issue Message-ID: Hi, just update ports today and found out qt4 splitting into more ports. I am not sure why I install qt4 in the first place, and I don't run KDE. Can someone remind me of possible use of qt4 in a system? And, the only necessary qt I need is qt-copy, which is deported, I guess. How can I fix this?? thx TFC From tajudd at gmail.com Wed Aug 5 23:54:32 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Aug 5 23:54:39 2009 Subject: Moxa 8-port serial multiplexor, how-to In-Reply-To: <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> References: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org> <20090729170409.979FF7816C@mail2.asahi-net.or.jp> <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> Message-ID: On 7/29/09, Doug Poland wrote: > On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: >> >> At Fri, 24 Jul 2009 10:32:52 -0500, >> Doug Poland wrote: >>> Hello, >>> >>> I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card >>> working in 7.2-RELEASE(i386). >>> >>> I've recompiled a GENERIC kernel with >>> >>> options COM_MULTIPORT >>> >>> and loaded the puc(4) module. I don't have any new ttyd? or cuad? >>> devices in /dev. >>> >>> After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) >>> talks about adding /boot/device.hints but not for my particular >>> hardware. I'm at a loss on how to continue. >>> >>> Suggestions, pointers, URLs welcome. >>> >>> >> Hi. >> >> If you want to load the puc(4) driver as a loadable module, you should >> load the sio(4) or uart(4) driver module as well. But these drivers >> are included in the GENERIC kernel. So you should to remove sio(4) or >> uart(4) from the kernel and load it as a loadable module. >> >> The other solution is to builtin the puc(4) driver to the >> kernel. i.e.: >> >> sio(4) puc(4) status >> or uart(4) >> ---------------------------------------- >> module module work >> builtin builtin work >> builtin module not work <- current choice? >> module builtin not work >> ---------------------------------------- >> (module = loadable module, builtin = kernel builtin) >> >> Other modifications will not be needed for PCI multiport cards. >> > I removed devices sio and uart from my kernel, loaded them as modules > in /boot/loader.conf, and now I have 8 additional cuad? devices! > > Many thanks for your help. > > -- > Regards, > Doug Trying to help a buddy who also has a Moxa multiport serial card. He followed this thread and isn't seeing the same success Doug, can I get the following in a pastebin or in this thread? pciconf -lvvv thanks! From luis.henrix at gmail.com Thu Aug 6 00:04:56 2009 From: luis.henrix at gmail.com (Miguel) Date: Thu Aug 6 00:05:03 2009 Subject: Problems with FreeBSD installation In-Reply-To: <4ad871310908051548m5bf426c3q57a4f1cfb97176aa@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <4ad871310908051433u6c3fdfadt6ee5af3280a6e89e@mail.gmail.com> <5b2efe7c0908051435g2b1d35a3pf5d4a71af74329d8@mail.gmail.com> <4ad871310908051437l3a24a911le2534ffc964d13b8@mail.gmail.com> <5b2efe7c0908051445w52a638cfm6eebb2ec42db7132@mail.gmail.com> <4ad871310908051452y7b75109ag56a652dc7cb23aba@mail.gmail.com> <5b2efe7c0908051510y7c539328t15860b12b36d938c@mail.gmail.com> <4ad871310908051548m5bf426c3q57a4f1cfb97176aa@mail.gmail.com> Message-ID: <5b2efe7c0908051704g3e012cc3g977b3ef374cd13d7@mail.gmail.com> On Wed, Aug 5, 2009 at 11:48 PM, Glen Barber wrote: > On Wed, Aug 5, 2009 at 6:10 PM, Miguel wrote: >> Yes, I understand -- just realised that BETA2 is more recent than the snapshot I >> tried. ?Most probably, I'll just wait until 8.0 is actually released. ?My >> problem with trying BETA2 is that it will take long time to get it (slow >> connection here) and most probably my problem will remain. >> > > Possible that it will remain - more probable that it has been fixed though. Ok, some updates: I downloaded 8.0-BETA2 ISO and the result was exactly the same, i.e., system freezes during CD boot in the same point as before. This time I did not actually tried to install the CD on a virtual machine, but I can not believe it is a problem with the CD image ;-) This time I disabled _everything_ I could disable in my BIOS and selected several options from the boot manager: the default option, the option with ACPI disabled, the option "safe-mode" (or something like that...) and finally the "verbose" option, which gave me some more information. Here's the last messages I see in the console before freeze: start_init: trying /sbin/init start_init: trying /sbin/oinit start_init: trying /sbin/init.bak start_init: trying /rescue/init start_init: trying /stand/sysinstall And that's all. Any ideas? :-( Regards, Miguel From doug at polands.org Thu Aug 6 00:28:47 2009 From: doug at polands.org (Doug Poland) Date: Thu Aug 6 00:28:54 2009 Subject: Moxa 8-port serial multiplexor, how-to In-Reply-To: References: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org> <20090729170409.979FF7816C@mail2.asahi-net.or.jp> <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> Message-ID: <20090806002844.GA83722@polands.org> On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: > On 7/29/09, Doug Poland wrote: > > On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: > >> > >> At Fri, 24 Jul 2009 10:32:52 -0500, > >> Doug Poland wrote: > >>> Hello, > >>> > >>> I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card > >>> working in 7.2-RELEASE(i386). > >>> > >>> I've recompiled a GENERIC kernel with > >>> > >>> options COM_MULTIPORT > >>> > >>> and loaded the puc(4) module. I don't have any new ttyd? or cuad? > >>> devices in /dev. > >>> > >>> After reading the handbook(26.2) and man puc(4), sio(4). man > >>> sio(4) talks about adding /boot/device.hints but not for my > >>> particular hardware. I'm at a loss on how to continue. > >>> > >>> Suggestions, pointers, URLs welcome. > >>> > >>> > >> Hi. > >> > >> If you want to load the puc(4) driver as a loadable module, you > >> should load the sio(4) or uart(4) driver module as well. But these > >> drivers are included in the GENERIC kernel. So you should to > >> remove sio(4) or uart(4) from the kernel and load it as a loadable > >> module. > >> > >> The other solution is to builtin the puc(4) driver to the > >> kernel. i.e.: > >> > >> sio(4) puc(4) status > >> or uart(4) > >> ---------------------------------------- > >> module module work > >> builtin builtin work > >> builtin module not work <- current choice? > >> module builtin not work > >> ---------------------------------------- > >> (module = loadable module, builtin = kernel builtin) > >> > >> Other modifications will not be needed for PCI multiport cards. > >> > > Watanabe, > > > > I removed devices sio and uart from my kernel, loaded them as > > modules in /boot/loader.conf, and now I have 8 additional cuad? > > devices! > > > > Trying to help a buddy who also has a Moxa multiport serial card. He > followed this thread and isn't seeing the same success > > Doug, > can I get the following in a pastebin or in this thread? > > pciconf -lvvv > Certainly... hostb0@pci0:0:0:0: class=0x060000 card=0x01511028 chip=0x25708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA uhci0@pci0:0:29:0: class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:29:1: class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci2@pci0:0:29:2: class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:0:29:3: class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:29:7: class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib1@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:1: class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' class = mass storage subclass = ATA atapci1@pci0:0:31:2: class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA none0@pci0:0:31:3: class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' class = serial bus subclass = SMBus none1@pci0:0:31:5: class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '815B104D multimedia audio device (codec AC97) SoundMAX or VIA' class = multimedia subclass = audio puc0@pci0:1:9:0: class=0x070080 card=0x00000000 chip=0x16801393 rev=0x02 hdr=0x00 vendor = 'Moxa Technologies Co Ltd' device = 'C168H/PCI Smartio' class = simple comms subclass = UART em0@pci0:1:12:0: class=0x020000 card=0x01511028 chip=0x100e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82540EM Gigabit Ethernet Controller' class = network subclass = ethernet Also, kernel config just in case you need it: ident GENERIC-MUX-SIO include GENERIC options COM_MULTIPORT nooptions sio nooptions uart and /boot/loader.conf: sio_load="YES" puc_load="YES" snd_ich_load="NO" Good luck! -- Regards, Doug From tajudd at gmail.com Thu Aug 6 00:34:47 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu Aug 6 00:34:54 2009 Subject: Moxa 8-port serial multiplexor, how-to In-Reply-To: <20090806002844.GA83722@polands.org> References: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org> <20090729170409.979FF7816C@mail2.asahi-net.or.jp> <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> <20090806002844.GA83722@polands.org> Message-ID: On 8/5/09, Doug Poland wrote: > On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: >> On 7/29/09, Doug Poland wrote: >> > On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: >> >> >> >> At Fri, 24 Jul 2009 10:32:52 -0500, >> >> Doug Poland wrote: >> >>> Hello, >> >>> >> >>> I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card >> >>> working in 7.2-RELEASE(i386). >> >>> >> >>> I've recompiled a GENERIC kernel with >> >>> >> >>> options COM_MULTIPORT >> >>> >> >>> and loaded the puc(4) module. I don't have any new ttyd? or cuad? >> >>> devices in /dev. >> >>> >> >>> After reading the handbook(26.2) and man puc(4), sio(4). man >> >>> sio(4) talks about adding /boot/device.hints but not for my >> >>> particular hardware. I'm at a loss on how to continue. >> >>> >> >>> Suggestions, pointers, URLs welcome. >> >>> >> >>> >> >> Hi. >> >> >> >> If you want to load the puc(4) driver as a loadable module, you >> >> should load the sio(4) or uart(4) driver module as well. But these >> >> drivers are included in the GENERIC kernel. So you should to >> >> remove sio(4) or uart(4) from the kernel and load it as a loadable >> >> module. >> >> >> >> The other solution is to builtin the puc(4) driver to the >> >> kernel. i.e.: >> >> >> >> sio(4) puc(4) status >> >> or uart(4) >> >> ---------------------------------------- >> >> module module work >> >> builtin builtin work >> >> builtin module not work <- current choice? >> >> module builtin not work >> >> ---------------------------------------- >> >> (module = loadable module, builtin = kernel builtin) >> >> >> >> Other modifications will not be needed for PCI multiport cards. >> >> >> > Watanabe, >> > >> > I removed devices sio and uart from my kernel, loaded them as >> > modules in /boot/loader.conf, and now I have 8 additional cuad? >> > devices! >> > >> >> Trying to help a buddy who also has a Moxa multiport serial card. He >> followed this thread and isn't seeing the same success >> >> Doug, >> can I get the following in a pastebin or in this thread? >> >> pciconf -lvvv >> > Certainly... > > hostb0@pci0:0:0:0: class=0x060000 card=0x01511028 chip=0x25708086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:0:2:0: class=0x030000 card=0x01511028 chip=0x25728086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82865G Integrated Graphics Device' > class = display > subclass = VGA > uhci0@pci0:0:29:0: class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > class = serial bus > subclass = USB > uhci1@pci0:0:29:1: class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > class = serial bus > subclass = USB > uhci2@pci0:0:29:2: class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > class = serial bus > subclass = USB > uhci3@pci0:0:29:3: class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > class = serial bus > subclass = USB > ehci0@pci0:0:29:7: class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' > class = serial bus > subclass = USB > pcib1@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 > hdr=0x01 > vendor = 'Intel Corporation' > device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub > Interface to PCI Bridge' > class = bridge > subclass = PCI-PCI > isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' > class = bridge > subclass = PCI-ISA > atapci0@pci0:0:31:1: class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' > class = mass storage > subclass = ATA > atapci1@pci0:0:31:2: class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB (ICH5) SATA Controller' > class = mass storage > subclass = ATA > none0@pci0:0:31:3: class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' > class = serial bus > subclass = SMBus > none1@pci0:0:31:5: class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '815B104D multimedia audio device (codec AC97) SoundMAX or > VIA' > class = multimedia > subclass = audio > puc0@pci0:1:9:0: class=0x070080 card=0x00000000 chip=0x16801393 rev=0x02 > hdr=0x00 > vendor = 'Moxa Technologies Co Ltd' > device = 'C168H/PCI Smartio' > class = simple comms > subclass = UART > em0@pci0:1:12:0: class=0x020000 card=0x01511028 chip=0x100e8086 rev=0x02 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82540EM Gigabit Ethernet Controller' > class = network > subclass = ethernet > > > Also, kernel config just in case you need it: > > ident GENERIC-MUX-SIO > include GENERIC > options COM_MULTIPORT > nooptions sio > nooptions uart > > and /boot/loader.conf: > sio_load="YES" > puc_load="YES" > snd_ich_load="NO" > > > Good luck! > Thanks Doug! He has the PCI device ID 1682, and you have the 1680. The 1682 is not already in the driver. I've added it to his driver and we're recompiling right now. We'll do a quick test, then write a bug report if all looks stable. This output was very useful, thank you very much. :) From doug at polands.org Thu Aug 6 00:40:36 2009 From: doug at polands.org (Doug Poland) Date: Thu Aug 6 00:40:43 2009 Subject: Moxa 8-port serial multiplexor, how-to In-Reply-To: References: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org> <20090729170409.979FF7816C@mail2.asahi-net.or.jp> <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> <20090806002844.GA83722@polands.org> Message-ID: <20090806004033.GA83951@polands.org> On Wed, Aug 05, 2009 at 06:34:45PM -0600, Tim Judd wrote: > On 8/5/09, Doug Poland wrote: > > On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: > >> On 7/29/09, Doug Poland wrote: > >> > On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: > >> >> > >> >> At Fri, 24 Jul 2009 10:32:52 -0500, > >> >> Doug Poland wrote: > >> >>> Hello, > >> >>> > >> >>> I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card > >> >>> working in 7.2-RELEASE(i386). > >> >>> > >> >>> I've recompiled a GENERIC kernel with > >> >>> > >> >>> options COM_MULTIPORT > >> >>> > >> >>> and loaded the puc(4) module. I don't have any new ttyd? or cuad? > >> >>> devices in /dev. > >> >>> > >> >>> After reading the handbook(26.2) and man puc(4), sio(4). man > >> >>> sio(4) talks about adding /boot/device.hints but not for my > >> >>> particular hardware. I'm at a loss on how to continue. > >> >>> > >> >>> Suggestions, pointers, URLs welcome. > >> >>> > >> >>> > >> >> Hi. > >> >> > >> >> If you want to load the puc(4) driver as a loadable module, you > >> >> should load the sio(4) or uart(4) driver module as well. But > >> >> these drivers are included in the GENERIC kernel. So you should > >> >> to remove sio(4) or uart(4) from the kernel and load it as a > >> >> loadable module. > >> >> > >> >> The other solution is to builtin the puc(4) driver to the > >> >> kernel. i.e.: > >> >> > >> >> sio(4) puc(4) status > >> >> or uart(4) > >> >> ---------------------------------------- > >> >> module module work > >> >> builtin builtin work > >> >> builtin module not work <- current choice? > >> >> module builtin not work > >> >> ---------------------------------------- > >> >> (module = loadable module, builtin = kernel builtin) > >> >> > >> >> Other modifications will not be needed for PCI multiport cards. > >> >> > >> > Watanabe, > >> > > >> > I removed devices sio and uart from my kernel, loaded them as > >> > modules in /boot/loader.conf, and now I have 8 additional cuad? > >> > devices! > >> > > >> > >> Trying to help a buddy who also has a Moxa multiport serial card. > >> He followed this thread and isn't seeing the same success > >> > >> Doug, > >> can I get the following in a pastebin or in this thread? > >> > >> pciconf -lvvv > >> > > Certainly... > > > > hostb0@pci0:0:0:0: class=0x060000 card=0x01511028 chip=0x25708086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' > > class = bridge > > subclass = HOST-PCI > > vgapci0@pci0:0:2:0: class=0x030000 card=0x01511028 chip=0x25728086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82865G Integrated Graphics Device' > > class = display > > subclass = VGA > > uhci0@pci0:0:29:0: class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > > class = serial bus > > subclass = USB > > uhci1@pci0:0:29:1: class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > > class = serial bus > > subclass = USB > > uhci2@pci0:0:29:2: class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > > class = serial bus > > subclass = USB > > uhci3@pci0:0:29:3: class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' > > class = serial bus > > subclass = USB > > ehci0@pci0:0:29:7: class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' > > class = serial bus > > subclass = USB > > pcib1@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 > > hdr=0x01 > > vendor = 'Intel Corporation' > > device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub > > Interface to PCI Bridge' > > class = bridge > > subclass = PCI-PCI > > isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' > > class = bridge > > subclass = PCI-ISA > > atapci0@pci0:0:31:1: class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' > > class = mass storage > > subclass = ATA > > atapci1@pci0:0:31:2: class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB (ICH5) SATA Controller' > > class = mass storage > > subclass = ATA > > none0@pci0:0:31:3: class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' > > class = serial bus > > subclass = SMBus > > none1@pci0:0:31:5: class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '815B104D multimedia audio device (codec AC97) SoundMAX or > > VIA' > > class = multimedia > > subclass = audio > > puc0@pci0:1:9:0: class=0x070080 card=0x00000000 chip=0x16801393 rev=0x02 > > hdr=0x00 > > vendor = 'Moxa Technologies Co Ltd' > > device = 'C168H/PCI Smartio' > > class = simple comms > > subclass = UART > > em0@pci0:1:12:0: class=0x020000 card=0x01511028 chip=0x100e8086 rev=0x02 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82540EM Gigabit Ethernet Controller' > > class = network > > subclass = ethernet > > > > > > Also, kernel config just in case you need it: > > > > ident GENERIC-MUX-SIO > > include GENERIC > > options COM_MULTIPORT > > nooptions sio > > nooptions uart > > > > and /boot/loader.conf: > > sio_load="YES" > > puc_load="YES" > > snd_ich_load="NO" > > > > > > Good luck! > > > > > Thanks Doug! > > He has the PCI device ID 1682, and you have the 1680. The 1682 is not > already in the driver. I've added it to his driver and we're > recompiling right now. We'll do a quick test, then write a bug report > if all looks stable. > > > This output was very useful, thank you very much. > Glad I could be the helper, instead of the helpee for once. And thanks to Watanabe Kazuhiro. -- Regards, Doug From mel.flynn+fbsd.questions at mailing.thruhere.net Thu Aug 6 00:47:33 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu Aug 6 00:47:41 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> Message-ID: <200908051647.30315.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 13:01:30 Miguel wrote: > Hi, > > I've been trying to install FreeBSD in my laptop, but without success. I > started with 7.2, but during installation i got the error: > > "No disk found! Please verify that your disk controller..." > > Looking at the logs, everything seems fine to me (although its my first > time on the FreeBSD world). I get lines such as: > > atapci0: [...] > atapci0: [ITHREAD] > atapci0: AHCI Version 01.10 controller with 4 ports detected > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > ata5: on atapci0 > ata5: [ITHREAD] > [...] > atapci1: [...] > ata0: on atapci1 > ata0: [ITHREAD] > [...] > > (Note that i wrote these logs manually -- got some photos that I can upload > to some URL if needed.) > > So, could not find any issues in the logs, apart from some ACPI errors: > > acpi0_check: nexus0 attached > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > acpi0_check: acpi0 not-present > ... > > in fact, I have some other ACPI-related errors at the beginning of the > logs, but these are common also on Linux -- I believe these are due to a > buggy BIOS, which unfortunately I am not able to upgrade since I have not > windows installed (I have a Toshiba Satellite A210). > > Anyway, I decided to try a more recent version of FreeBSD and downloaded > > 8.0-CURRENT-200906-amd64-disc1.iso > > which was the most recent snapshot for my Turion64 processor. > > Tried to boot it but this time the installation just freeze before the > install application event starts. Last log lines are: > > acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST > device_attach: acpi0 attach returned 6 > Timecounters tick every 1.000 msec > md0: Preload image 4194304 bytes at 0xffffffff80fd8660 > SMP: AP CPU #1 Launched! > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/md0 > warning: no time-of-day clock registered, system time will not be set > accurately > > And at this point... nothing else -- system freezes. > > Please let me know if anyone has any suggestions for me to have a FreeBSD > installation on my laptop. I am, of course, available to provide any > additional information you might need to debug the issue. Your best bet is to poll the mobile list (CC'd) to see if anyone was able to get FreeBSD working on this laptop (or even to know whether this is a lost cause till somebody makes some patches for this laptop). Since 7.2 also does not work and with 8.0-RELEASE being in it's final stages, it's unlikely you can get some priority from the developers for it being a regression bug. The acpi and missing disk can be related (most likely are), but unless you get at least a live FS working (even the USB image for 8.0-BETA2) it will be hard to get an acpidump(8). So this really depends on "someone knowledgeable having this laptop" or BIOS tricks that get you to a stage where more info can be gathered and saved/snapshot. -- Mel From frank at shute.org.uk Thu Aug 6 01:46:19 2009 From: frank at shute.org.uk (Frank Shute) Date: Thu Aug 6 01:46:26 2009 Subject: Opera in your repos In-Reply-To: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090806014605.GA98688@orange.esperance-linux.co.uk> On Wed, Aug 05, 2009 at 07:43:05AM -0800, Mel Flynn wrote: > [snip] > > Well, we can start to agree that FreeBSD is not a "distro", but a UNIX > operating system. :) We can't quite agree on that ;) BSD=Berkeley Software Distribution AKA distro of Unix At least the OP didn't make the faux pas of calling FreeBSD a Linux distro like one of his colleagues did a couple of years ago on this list. He'll also be relieved to know that plenty of people use Opera on FreeBSD. I'd point him to bsdstats for some numbers but it doesn't seem very functional ATM. [snip] Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From kline at thought.org Thu Aug 6 02:51:06 2009 From: kline at thought.org (Gary Kline) Date: Thu Aug 6 02:51:13 2009 Subject: foot-shot? In-Reply-To: <20090805174038.GA19895@thought.org> References: <20090805174038.GA19895@thought.org> Message-ID: <20090806025100.GA79700@thought.org> On Wed, Aug 05, 2009 at 10:40:38AM -0700, Gary Kline wrote: > > Hm. Last night mutt began to fail to sent mail; it exited with a > 127. When I tried to rebuilt mutt, turns out that I'm missing > GNU m4... . I'll paste the build snafus after my sig here on my > server. Ideas how things got hosed? anybody? > [[ ... ]] > > > ===> Configuring for mutt-1.4.2.3_3 > /usr/local/share/aclocal/soup.m4:7: warning: underquoted definition of > AM_PATH_SOUP foo, bar, baz ... > > Well, gents [*], Somehow my installed world got partially deleted and to save myself further grief, I rebuilt everything. *Then* rebuilt mutt. portmaster gets stuck on the java stuff because we still hasta fetch it ourselves. I thought Sun was going to fix that. In any case, my diablo-jdk16 timezone file is MIA, so I'm wedged as far as further upgrading goes. Been thinking over what someone said recently about restricting or dropping further ports. BSD is the best opensource system around. But keeping everything current is painful. Does anybody know if PCBSD is as pushbutton as, say, Ubuntu is? I'll always use FreeBSD on my DNS, apache22, and mail server side. Zero crashes in 7 years. But if I want to play music or watch a DVD--or do serious web video stuff--I use Ubuntu. I'd like to say kilowatts by having one "tao" that can handle everything from hacking code to playing a movie. There is the talent here to fix the fixable ... at the same time, we've all got real lives, jobs, school, families, etc. And a limited volunteer base. ...That's my dime's worth. gary [*] to spare raging replies, no, i am not a sexist/chauvinist. Only 30 years ago about a third of my computer class was female. Not to mention some drop-dead blondes in my ckt theory class... . I mean, some serious female EE talent there! :-) ... Now?? dunno. [?] :-( -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From peter at boosten.org Thu Aug 6 02:53:29 2009 From: peter at boosten.org (Peter Boosten) Date: Thu Aug 6 02:53:36 2009 Subject: eclipse install In-Reply-To: <20090805233332.2f58fa88.freebsd@edvax.de> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> Message-ID: <4A7A45A3.4080902@boosten.org> Polytropon wrote: > On Wed, 05 Aug 2009 23:00:08 +0200, Coert Waagmeester wrote: >> Hello all, >> >> What is the best way to install eclipse on FreeBSD 7.2? >> >> On Linux I installed java, and downloaded the newest eclipse. > > On FreeBSD, you don't need to download things manually via a web > browser in this old fashioned way. :-) Unfortunately this is not true for the jdk. But it's only a minor disadvantage ;-) Peter -- http://www.boosten.org From stark at mapper.nl Thu Aug 6 06:36:10 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 06:36:18 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200908051414.49468.david@vizion2000.net> <20090805132755.GA21963@falcon.midgard.homeip.net> <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4A7A79BC.1030600@mapper.nl> Mel Flynn wrote: > On Wednesday 05 August 2009 05:27:55 Erik Trulsson wrote: > > >> The amd64 architecture is called that because it was AMD who invented and >> created it and was for a while the only one using it and since AMD named >> the architecture AMD64 that was the name FreeBSD used too. Later Intel >> also started using it (while using their own name(s) for it), but FreeBSD >> has stuck with the name amd64. >> > > This isn't completely correct. There is actually an ia64 architecture, before > Intel was ready to give up the "who dictates the PC 64bit architecture" > battle. There's a handful of CPU's who use that instruction set, but later > Intel switched to supporting AMD's instruction set and thus the PC 64 bit > architecture now is amd64. > > It'll be fun to see people asking in a few years why Oracle processors are > called "sparc64"... > Now I come to think of it, isn't it strange apple(or IBM) never joined in the whole 64-bits naming race spactacle. No one ever calls a PowerPC 970 processor a PowerPC-64, or a IBM64 or anything like it... Nor have I ever heard the term RISC64. Too bad we won't have to worry about that anymore, since PowerPC is dead and Mac Pro's are now amd64(or Intel 64 or x86-64 whichever would be the "correct" term ;-) ) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/87342da4/signature.pgp From mail25 at bzerk.org Thu Aug 6 07:02:32 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu Aug 6 07:02:40 2009 Subject: Some problems with Marvell Yukon NIC In-Reply-To: <1019707548.20090805184415@sng.by> References: <1019707548.20090805184415@sng.by> Message-ID: <20090806070225.GA25764@ei.bzerk.org> On Wed, Aug 05, 2009 at 06:44:15PM +0300, Anton typed: > > Hello freebsd-questions, > > Found the solution here: [1]http ://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-10/msg01065 > .html > But do not know how to apply patch :-( The URL you posted says it all: Save attached patch to /path/to/patch #cd /usr/src/sys/dev/msk #patch -p0 < /path/to/patch/msk.watchdog.diff And rebuild your kernel. What else is there to know? From lgroups at waagmeester.co.za Thu Aug 6 07:07:24 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Thu Aug 6 07:07:31 2009 Subject: eclipse install (broken ports tree) In-Reply-To: <200908051450.03490.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <1249509202.4520.10.camel@penguin.coert.local> <200908051450.03490.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <1249542509.4568.3.camel@penguin.coert.local> On Wed, 2009-08-05 at 14:50 -0800, Mel Flynn wrote: > On Wednesday 05 August 2009 13:53:22 Coert Waagmeester wrote: > > > I tried it via the ports, but this error keeps popping up: > > Missing pkg-descr for patch-2.5.9. > > I believe you have a defective ports tree. You should have the following file: > SHA256 (/usr/ports/devel/patch/pkg-descr) = > 629097523839c5e305a4115c1b3629029b734166e5ff8f73923812e0149e9912 > > If you do not, then try updating your ports tree and look for errors/warnings > with whatever method you're using. Hi Mel, In /usr/ports/ i deleted everything. Then I ran a portsnap fetch and then portsnap extract and portsnap update. But I still get Missing pkg-descr for dtach-0.8. my shasum on /usr/ports/devel/patch/pkg-descr is the same as yours.... How can I completely wipe out the ports and start over? Regards, Coert From 240olofsson at telia.com Thu Aug 6 07:13:31 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Thu Aug 6 07:13:38 2009 Subject: eclipse install In-Reply-To: <1249506008.4520.5.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> Message-ID: <4A7A7262.9000402@telia.com> Coert Waagmeester skrev: > Hello all, > > What is the best way to install eclipse on FreeBSD 7.2? > > On Linux I installed java, and downloaded the newest eclipse. > > Regards, > Coert > > _______________________________________________ > 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" > Hi Coert, I had an issue some time back and I posted this to the list. I don't know if it'll help you. ------ Dear mailing list, I don't know if anyone has noticed or if it's my machine having stale ports but it seems that to make eclipse 3.4.1 working on FreeBSD 7.1 STABLE with diablo-jdk-1.6.0.07.02_4 you need to do the following: Do _not_ make clean until you have made: cp /usr/ports/java/eclipse/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library/libswt* /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/ It seems like make install builds the swt-gtk:s but that the .jar somehow 'misses' adding them in. /Roger ------ From perryh at pluto.rain.com Thu Aug 6 07:21:18 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Aug 6 07:21:27 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <4A7A79BC.1030600@mapper.nl> References: <200908051414.49468.david@vizion2000.net> <20090805132755.GA21963@falcon.midgard.homeip.net> <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A7A79BC.1030600@mapper.nl> Message-ID: <4a7a812e.QBbJy5xiiC3zW6lI%perryh@pluto.rain.com> Mark Stapper wrote: > ... PowerPC is dead ... I suspect both IBM and Freescale would beg to differ :) From stark at mapper.nl Thu Aug 6 07:43:58 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 07:44:05 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> Message-ID: <4A7A89B3.6010206@mapper.nl> > > > Many people's only familiarity with computers in general will be from a > Windows centric perspective. Somehow there is a tendency to believe that > inserting a CD, booting, and then proceeding to click "OK" in a dialog box a > few dozen times makes them some kind of expert when they successfully get > Windows installed. > > Coming from a Windows centric environment myself I initially found that > there was a great deal of material to be learned, and RTFM was the way to do > it. I've noticed people who come from university computer science programs > have a much better foundation upon which to build. Most computer users do > not fit this category, myself included. > > While this deficiency can be overcome with self study, I am also aware that > not everyone who reads documentation necessarily understands the material. > If too much background education is missing the documentation just resembles > gobbeldy-gook and is ignored, with the fall back position of "click OK a few > dozen times and the OS will take care of it for me" expected to pick up the > slack. > > I would not be where I am today in my understanding and use of FreeBSD if > not for the excellent documentation and surrounding community. I feel I owe > my success in utilizing FreeBSD to the people who took the time to write > this stuff down for people like me to use. It is with a great measure of > gratitude to these people I owe my success. > > > [snip] > > -Mike > In light of this, I would really enjoy seeing a "Ubuntu" like movement in the FreeBSD corner. What I mean is that it would be nice for my mother to install and use FreeBSD. I am not saying that a Windows user should be able to feel right at home on a box running FreeBSD, but a computer user should. The problem herein, i am afraid, lies not with FreeBSD(or any other BSD flavour), nor with it's community, but with the computer user. Most computer users see an operating system(and the application they run most) as part of a computer. How many people say "My computer is broken" when ?$ Office doesn't start anymore. They don't care about which kernel they run, or which browser they use, they care about typing e-mail, chatting and watching youtube video's. (However sad it makes me that most people use less then 10% of the features/programs/potential/computing-power the computer came with, they do make sure we pay less for our components.) Even though I'd feel less "cool" or "nerdy" (which is basically the same thing ;-) ) if I'd run(or USE) the same OS as my 76 year old grandfather, it would be nice for him to be able to buy a computer for $20 less because it runs FreeBSD. To achieve this, there are two things that should be made easier: 1. Installing a basic desktop system(next to any currently installed OS) 2. Keeping the base system and ports up to date. And when I mean "easier" I mean it should be done without bothering the user unless you about to "rm -rf /" as root, so to say. Since most people never reinstall their computer, making it easier to install a basic desktop system won't help my 76 year old grandpa, but it will make it easier for unsatisfied Windows users to try FreeBSD. Besides, in making it easy to install a basic desktop system, comes the hardest part of any *nix like system: defining a basic desktop and collecting the basic/standard applications. It's hard just to pick either one Gnome, KDE or XFCE (or iceWM ;-) ) let alone mail-clients, internet browsers, IM, etc. etc. One of the advantages of using a descent operating system is the freedom of choice. However most users don't care! I am more then happy to tel anyone which e-mail client not to use (Lotus notes, outlook express, anyone else's neck hears standing up?), but I don't want to tell people they HAVE to use Thunderbird(I do tell them they SHOULD but that's different) or evolution etc. The problem is, most people don't want to make this choice either. And the circle of life continues. So basically, to make sure people will be using freeBSD (or any *nix operating system) it needs to be easy to install (So that PC-manufacturers will ship their pc's with it), a nicely filled standard desktop environment with lot's of youtube/chat/word process capabilities and "I won't bother you with it but i'm updating" functionality. Just some thoughts.. I'll get back to work now... ... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/1fe9fe5e/signature.pgp From stark at mapper.nl Thu Aug 6 07:48:56 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 07:49:03 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090805175728.GA7643@zafiro.therandymon.com> References: <200908031153.22226.w.riegler@cbtl.de> <20090805175728.GA7643@zafiro.therandymon.com> Message-ID: <4A7A8ADF.1000804@mapper.nl> Randall Wood wrote: > On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote: > >> Has anyone tested Arora? >> > > I'm actually surprised no one has recommended Konqueror. It's not my favorite browser (I happen to love Opera) but it would seem to mostly fit the bill of fast, graphical. One trick it does that I appreciate is assigning a letter to every link. When you hold down the control key, the letters appear and you can navigate just by pressing control and a letter key. Konqueror certainly has its detractors though, so I guess it's a matter of taste. > > Happy hunting. > mmmm opera.... Opera is suitable for anyone who takes the time to configure it to their wishes. That said, it would probably suit every FreeBSD user... Am I right? I'm right, right? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/41e805fc/signature.pgp From stark at mapper.nl Thu Aug 6 07:56:02 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 07:56:10 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <4a7a812e.QBbJy5xiiC3zW6lI%perryh@pluto.rain.com> References: <200908051414.49468.david@vizion2000.net> <20090805132755.GA21963@falcon.midgard.homeip.net> <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A7A79BC.1030600@mapper.nl> <4a7a812e.QBbJy5xiiC3zW6lI%perryh@pluto.rain.com> Message-ID: <4A7A8C46.5020100@mapper.nl> perryh@pluto.rain.com wrote: > Mark Stapper wrote: > >> ... PowerPC is dead ... >> Well yes.... (lousy excuse coming up!) I meant in the PC/Mac world... ;-) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/bacda219/signature.pgp From j.mckeown at ru.ac.za Thu Aug 6 07:57:04 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Thu Aug 6 07:57:17 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: <4A7A89B3.6010206@mapper.nl> References: <4A76FB32.9050601@videotron.ca> <4A7A89B3.6010206@mapper.nl> Message-ID: <200908060956.59358.j.mckeown@ru.ac.za> On Thursday 06 August 2009 09:43:47 Mark Stapper wrote: > > In light of this, I would really enjoy seeing a "Ubuntu" like movement > in the FreeBSD corner. > What I mean is that it would be nice for my mother to install and use > FreeBSD. [snip] > To achieve this, there are two things that should be made easier: > 1. Installing a basic desktop system(next to any currently installed OS) > 2. Keeping the base system and ports up to date. > And when I mean "easier" I mean it should be done without bothering the > user unless you about to "rm -rf /" as root, so to say. This is what a couple of projects are already doing. PC-BSD springs to mind - I can't remember what the other one is called. PC-BSD is FreeBSD, pre-packaged with a usable desktop and its own simplified package manager. Jonathan From m.seaman at infracaninophile.co.uk Thu Aug 6 07:57:40 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Aug 6 07:57:46 2009 Subject: FreeBSD for the common man(or woman) In-Reply-To: <4A7A89B3.6010206@mapper.nl> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> Message-ID: <4A7A8CDB.20004@infracaninophile.co.uk> Mark Stapper wrote: > In light of this, I would really enjoy seeing a "Ubuntu" like movement > in the FreeBSD corner. > What I mean is that it would be nice for my mother to install and use > FreeBSD. It's called PC-BSD. HTH HAND 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/6cca581a/signature.pgp From stark at mapper.nl Thu Aug 6 07:59:25 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 07:59:31 2009 Subject: Opera in your repos In-Reply-To: <20090806014605.GA98688@orange.esperance-linux.co.uk> References: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090806014605.GA98688@orange.esperance-linux.co.uk> Message-ID: <4A7A8D46.80407@mapper.nl> Frank Shute wrote: > On Wed, Aug 05, 2009 at 07:43:05AM -0800, Mel Flynn wrote: > > [snip] > >> Well, we can start to agree that FreeBSD is not a "distro", but a UNIX >> operating system. :) >> > > We can't quite agree on that ;) > > BSD=Berkeley Software Distribution AKA distro of Unix > > At least the OP didn't make the faux pas of calling FreeBSD a Linux > distro like one of his colleagues did a couple of years ago on this > list. > > He'll also be relieved to know that plenty of people use Opera on > FreeBSD. > > I'd point him to bsdstats for some numbers but it doesn't seem very > functional ATM. > > [snip] > > Regards, > > As the whole amd64/x86 discussion proved, people on this list (including me) might do good in reading more Shakespear... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/82de8300/signature.pgp From stark at mapper.nl Thu Aug 6 08:01:18 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 08:05:37 2009 Subject: FreeBSD for the common man(or woman) In-Reply-To: <4A7A8CDB.20004@infracaninophile.co.uk> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> <4A7A8CDB.20004@infracaninophile.co.uk> Message-ID: <4A7A8DC7.9020309@mapper.nl> Matthew Seaman wrote: > Mark Stapper wrote: > > > >> In light of this, I would really enjoy seeing a "Ubuntu" like movement >> in the FreeBSD corner. >> What I mean is that it would be nice for my mother to install and use >> FreeBSD. >> > > It's called PC-BSD. > > HTH HAND > > Matthew > > Nice thanks! I'll be sure to send my grandpa this link! :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/8dd971cb/signature.pgp From lgroups at waagmeester.co.za Thu Aug 6 08:06:29 2009 From: lgroups at waagmeester.co.za (Coert Waagmeester) Date: Thu Aug 6 08:06:59 2009 Subject: eclipse install (SOLVED broken ports tree) In-Reply-To: <1249542509.4568.3.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <1249509202.4520.10.camel@penguin.coert.local> <200908051450.03490.mel.flynn+fbsd.questions@mailing.thruhere.net> <1249542509.4568.3.camel@penguin.coert.local> Message-ID: <1249546053.4568.6.camel@penguin.coert.local> On Thu, 2009-08-06 at 09:08 +0200, Coert Waagmeester wrote: > On Wed, 2009-08-05 at 14:50 -0800, Mel Flynn wrote: > > On Wednesday 05 August 2009 13:53:22 Coert Waagmeester wrote: > > > > > I tried it via the ports, but this error keeps popping up: > > > Missing pkg-descr for patch-2.5.9. > > > > I believe you have a defective ports tree. You should have the following file: > > SHA256 (/usr/ports/devel/patch/pkg-descr) = > > 629097523839c5e305a4115c1b3629029b734166e5ff8f73923812e0149e9912 > > > > If you do not, then try updating your ports tree and look for errors/warnings > > with whatever method you're using. > > Hi Mel, > > In /usr/ports/ i deleted everything. > > Then I ran a portsnap fetch > and then portsnap extract and portsnap update. > > But I still get Missing pkg-descr for dtach-0.8. > > my shasum on /usr/ports/devel/patch/pkg-descr is the same as yours.... > > How can I completely wipe out the ports and start over? > > Regards, > Coert Hello all, I fixed the ports problem following this: http://lists.freebsd.org/pipermail/freebsd-ports/2006-December/037566.html I have PKGDIR variable exported. From luis.henrix at gmail.com Thu Aug 6 08:26:17 2009 From: luis.henrix at gmail.com (Miguel) Date: Thu Aug 6 08:26:26 2009 Subject: Problems with FreeBSD installation In-Reply-To: <200908051647.30315.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <5b2efe7c0908051401w62088d7en1af537741bd24f89@mail.gmail.com> <200908051647.30315.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <5b2efe7c0908060126i6ae88c73pbae3882f00c2cbd3@mail.gmail.com> On Thu, Aug 6, 2009 at 1:47 AM, Mel Flynn wrote: > Your best bet is to poll the mobile list (CC'd) to see if anyone was able to > get FreeBSD working on this laptop (or even to know whether this is a lost > cause till somebody makes some patches for this laptop). Since 7.2 also does > not work and with 8.0-RELEASE being in it's final stages, it's unlikely you > can get some priority from the developers for it being a regression bug. The > acpi and missing disk can be related (most likely are), but unless you get at > least a live FS working (even the USB image for 8.0-BETA2) it will be hard to > get an acpidump(8). So this really depends on "someone knowledgeable having > this laptop" or BIOS tricks that get you to a stage where more info can be > gathered and saved/snapshot. Ok, I understand chances to have it running in the short term are not high :-) Anyway, and since I am replying to the mobile list, I am available to provide more information about the laptop. I have Linux running on it and I believe there is something similar to the acpidump (not sure if its the same tool as in FreeBSD or if their outputs are compatible) that I could use to provide some more details. Regards, Miguel From erich at apsara.com.sg Thu Aug 6 08:31:14 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Thu Aug 6 08:31:22 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <4A7A79BC.1030600@mapper.nl> References: <200908051414.49468.david@vizion2000.net> <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A7A79BC.1030600@mapper.nl> Message-ID: <200908061631.04639.erich@apsara.com.sg> Hi, On 06 August 2009 pm 14:35:40 Mark Stapper wrote: > Mel Flynn wrote: > > On Wednesday 05 August 2009 05:27:55 Erik Trulsson wrote: > >> The amd64 architecture is called that because it was AMD who > >> invented and created it and was for a while the only one > > Now I come to think of it, isn't it strange apple(or IBM) never > joined in the whole 64-bits naming race spactacle. Because people using them, new what they were doing. > Nor have I ever heard the term RISC64. Too bad we won't have to > worry about that anymore, since PowerPC is dead and Mac Pro's > are now amd64(or Intel 64 or x86-64 whichever would be the IA 64? Wans't this once - or still is - the term used for the Itanium? Yes, also Intel can fail. Intel also failed with their first 32 bit design. Wasn't iAPX-32 ist name? Long before the 80386 came up? Erich From stark at mapper.nl Thu Aug 6 08:40:54 2009 From: stark at mapper.nl (Mark Stapper) Date: Thu Aug 6 08:41:06 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908061631.04639.erich@apsara.com.sg> References: <200908051414.49468.david@vizion2000.net> <200908050654.26375.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A7A79BC.1030600@mapper.nl> <200908061631.04639.erich@apsara.com.sg> Message-ID: <4A7A9709.9070803@mapper.nl> Erich Dollansky wrote: > Because people using them, new what they were doing. > And probably didn't care... > IA 64? Wans't this once - or still is - the term used for the > Itanium? > The one that didn't stick... indeed. > Yes, also Intel can fail. Intel also failed with their first 32 > bit design. Wasn't iAPX-32 ist name? Long before the 80386 came > up? > As I was an embryo when the 80386 was first produced, I searched for this one... Possibally the same thing though: http://en.wikipedia.org/wiki/Intel_iAPX_432 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/df2557ea/signature.pgp From erich at apsara.com.sg Thu Aug 6 09:18:36 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Thu Aug 6 09:18:43 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <4A7A9709.9070803@mapper.nl> References: <200908051414.49468.david@vizion2000.net> <200908061631.04639.erich@apsara.com.sg> <4A7A9709.9070803@mapper.nl> Message-ID: <200908061718.10505.erich@apsara.com.sg> Hi, On 06 August 2009 pm 16:40:41 Mark Stapper wrote: > Erich Dollansky wrote: > > > IA 64? Wans't this once - or still is - the term used for the > > Itanium? > > The one that didn't stick... indeed. do they really sell machines with this CPU in numbers? I have not seen one in the wild. > > > Yes, also Intel can fail. Intel also failed with their first > > 32 bit design. Wasn't iAPX-32 ist name? Long before the 80386 > > came up? > > As I was an embryo when the 80386 was first produced, I > searched for this one... > Possibally the same thing though: > http://en.wikipedia.org/wiki/Intel_iAPX_432 Oh, yes, the 4 was missing. Erich From cpghost at cordula.ws Thu Aug 6 10:02:17 2009 From: cpghost at cordula.ws (cpghost) Date: Thu Aug 6 10:02:23 2009 Subject: Secure password generation...blasphemy! In-Reply-To: <64c038660908040939o349b7b16o6659d5f5f2eb65fb@mail.gmail.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090804075221.GA3909@slackbox.xs4all.nl> <20090804081841.GC74277@mech-cluster241.men.bris.ac.uk> <4A77F20F.5060500@boosten.org> <64c038660908040936m7872c211y2897990508ee8316@mail.gmail.com> <64c038660908040938m6b195216kb18edc17add0e5ba@mail.gmail.com> <64c038660908040939o349b7b16o6659d5f5f2eb65fb@mail.gmail.com> Message-ID: <20090806100209.GA42719@phenom.cordula.ws> On Tue, Aug 04, 2009 at 10:39:38AM -0600, Modulok wrote: > But I'm also looking for a good way to generate high quality crypto > keys. In the later case, the data being protected are disk images of > clients...mountains of sensitive data. These will be on USB > keys, and thus do not need to be memorized. Assuming my clients are > not enemies of a state, /dev/random should be a sufficient source for > this purpose, correct? i.e: > > dd if=/dev/random of=foo.key bs=256 count=1 It should be "good enough"... but you need to do so reading on non-linear key spaces first. Depending on the symmetric cipher, not all keys are equally strong; and if you're unlucky, you may catch one of those "bad keys" through /dev/random. However, this is a fairly advanced crypto topic. > Thanks guys! > -Modulok- -cpghost. -- Cordula's Web. http://www.cordula.ws/ From ertr1013 at student.uu.se Thu Aug 6 11:07:21 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Thu Aug 6 11:07:29 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908061718.10505.erich@apsara.com.sg> References: <200908051414.49468.david@vizion2000.net> <200908061631.04639.erich@apsara.com.sg> <4A7A9709.9070803@mapper.nl> <200908061718.10505.erich@apsara.com.sg> Message-ID: <20090806110712.GA5475@owl.midgard.homeip.net> On Thu, Aug 06, 2009 at 05:18:09PM +0800, Erich Dollansky wrote: > Hi, > > On 06 August 2009 pm 16:40:41 Mark Stapper wrote: > > Erich Dollansky wrote: > > > > > IA 64? Wans't this once - or still is - the term used for the > > > Itanium? > > > > The one that didn't stick... indeed. > > do they really sell machines with this CPU in numbers? Yes, but not very large numbers - especially not compared to x86 machines. According to some estimates quoted in the Wikipedia article on Itanium, Intel manufactures around 200,000 Itanium CPUs per year, which translates to a far smaller number of machines since most of them are multi-CPU systems. By far the largest seller of Itanium-based systems is HP (which also partnered with Intel in creating the IA64 architecture in the first place.) > > I have not seen one in the wild. Not surprising since the Itanium is mainly used in the kind of high-end server systems that us ordinary people rarely see and certainly can't afford to buy. -- Erik Trulsson ertr1013@student.uu.se From nealhogan at gmail.com Thu Aug 6 11:35:57 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Aug 6 11:36:04 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: <200908060956.59358.j.mckeown@ru.ac.za> References: <4A76FB32.9050601@videotron.ca> <4A7A89B3.6010206@mapper.nl> <200908060956.59358.j.mckeown@ru.ac.za> Message-ID: On Thu, Aug 6, 2009 at 2:56 AM, Jonathan McKeown wrote: > On Thursday 06 August 2009 09:43:47 Mark Stapper wrote: >> >> In light of this, I would really enjoy seeing a "Ubuntu" like movement >> in the FreeBSD corner. >> What I mean is that it would be nice for my mother to install and use >> FreeBSD. > [snip] >> To achieve this, there are two things that should be made easier: >> 1. Installing a basic desktop system(next to any currently installed OS) >> 2. Keeping the base system and ports up to date. >> And when I mean "easier" I mean it should be done without bothering the >> user unless you about to "rm -rf /" as root, so to say. > > This is what a couple of projects are already doing. PC-BSD springs to mind - > I can't remember what the other one is called. DesktopBSD > > PC-BSD is FreeBSD, pre-packaged with a usable desktop and its own simplified > package manager. > > Jonathan > _______________________________________________ > 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 nealhogan at gmail.com Thu Aug 6 11:41:13 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Aug 6 11:41:20 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: <4A7A89B3.6010206@mapper.nl> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> Message-ID: > In light of this, I would really enjoy seeing a "Ubuntu" like movement > in the FreeBSD corner. > What I mean is that it would be nice for my mother to install and use > FreeBSD. > I am not saying that a Windows user should be able to feel right at home > on a box running FreeBSD, but a computer user should. > The problem herein, i am afraid, lies not with FreeBSD(or any other BSD > flavour), nor with it's community, but with the computer user. > Most computer users see an operating system(and the application they run > most) as part of a computer. > How many people say "My computer is broken" when ?$ Office doesn't start > anymore. > They don't care about which kernel they run, or which browser they use, > they care about typing e-mail, chatting and watching youtube video's. > (However sad it makes me that most people use less then 10% of the > features/programs/potential/computing-power the computer came with, they > do make sure we pay less for our components.) > Even though I'd feel less "cool" or "nerdy" (which is basically the same > thing ;-) ) if I'd run(or USE) the same OS as my 76 year old > grandfather, it would be nice for him to be able to buy a computer for > $20 less because it runs FreeBSD. > To achieve this, there are two things that should be made easier: > 1. Installing a basic desktop system(next to any currently installed OS) > 2. Keeping the base system and ports up to date. > And when I mean "easier" I mean it should be done without bothering the > user unless you about to "rm -rf /" as root, so to say. > Since most people never reinstall their computer, making it easier to > install a basic desktop system won't help my 76 year old grandpa, but it > will make it easier for unsatisfied Windows users to try FreeBSD. > Besides, in making it easy to install a basic desktop system, comes the > hardest part of any *nix like system: defining a basic desktop and > collecting the basic/standard applications. > It's hard just to pick either one Gnome, KDE or XFCE (or iceWM ;-) ) let > alone mail-clients, internet browsers, IM, etc. etc. > One of the advantages of using a descent operating system is the freedom > of choice. However most users don't care! > I am more then happy to tel anyone which e-mail client not to use (Lotus > notes, outlook express, anyone else's neck hears standing up?), but I > don't want to tell people they HAVE to use Thunderbird(I do tell them > they SHOULD but that's different) or evolution etc. > The problem is, most people don't want to make this choice either. > And the circle of life continues. > So basically, to make sure people will be using freeBSD (or any *nix > operating system) it needs to be easy to install (So that > PC-manufacturers will ship their pc's with it), a nicely filled standard > desktop environment with lot's of youtube/chat/word process capabilities > and "I won't bother you with it but i'm updating" functionality. > Just some thoughts.. > I'll get back to work now... > ... I must say that I find this (new) thread a bit funny since it was inspired by a guy (the OP) who has been using fBSD for many years (over 5 . . . I can't remember the exact number). > > > From ibb_orac at mbox.contact.bg Thu Aug 6 13:08:33 2009 From: ibb_orac at mbox.contact.bg (Ivailo Bonev) Date: Thu Aug 6 13:08:41 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2overwrites partitions) References: <4A76FB32.9050601@videotron.ca> <4A7A89B3.6010206@mapper.nl> <200908060956.59358.j.mckeown@ru.ac.za> Message-ID: <69A1ABAF9CD44B399B6773FF6EC580AF@chameleon> ----- Original Message ----- From: "Neal Hogan" To: "Jonathan McKeown" Cc: Sent: Thursday, August 06, 2009 2:35 PM Subject: Re: FreeBSD for the common man(or woman) (was: upgrade 7.2overwrites partitions) > On Thu, Aug 6, 2009 at 2:56 AM, Jonathan McKeown > wrote: >> On Thursday 06 August 2009 09:43:47 Mark Stapper wrote: >>> >>> In light of this, I would really enjoy seeing a "Ubuntu" like movement >>> in the FreeBSD corner. >>> What I mean is that it would be nice for my mother to install and use >>> FreeBSD. >> [snip] >>> To achieve this, there are two things that should be made easier: >>> 1. Installing a basic desktop system(next to any currently installed OS) >>> 2. Keeping the base system and ports up to date. >>> And when I mean "easier" I mean it should be done without bothering the >>> user unless you about to "rm -rf /" as root, so to say. >> >> This is what a couple of projects are already doing. PC-BSD springs to >> mind - >> I can't remember what the other one is called. > > DesktopBSD DesktopBSD Project is dead for now... >> PC-BSD is FreeBSD, pre-packaged with a usable desktop and its own >> simplified >> package manager. >> >> Jonathan >> _______________________________________________ >> 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 patfbsd at davenulle.org Thu Aug 6 14:05:10 2009 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Thu Aug 6 14:05:18 2009 Subject: ftps ? In-Reply-To: <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> Message-ID: <20090806160526.0a6be582@baby-jane.lamaiziere.net> Le Mon, 3 Aug 2009 15:02:58 +0300, Odhiambo ????? a ?crit : > > # grep ftps /etc/services > > ftps-data 989/tcp # ftp protocol, data, over TLS/SSL > > ftps-data 989/udp > > ftps 990/tcp # ftp protocol, control, over TLS/SSL > > ftps 990/udp > > > > pure-ftpd supports TLS/SSL. > > I am wondering if it can do this. I just tried with pure-ftpd, TLS works but it's not ftps (there is a negociation like SMTP/IMAP with START TLS i think). I want to keep the old ftp too. The good thing is that works out of the box with lftp, it picks up TLS. Regards. From roberthuff at rcn.com Thu Aug 6 14:20:09 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Aug 6 14:20:15 2009 Subject: amd64 native ports? Message-ID: <4A7AE683.901@rcn.com> Somewhere in *.freebsd.org is a page that lists which ports run natively on amd64 and what the status is for the others. I've seen it, I have it bookmarked in a place that is currently unavailable, and I can't find it by hand. Anyone have the URL handy? Respectfully, Robert Huff From lists at jnielsen.net Thu Aug 6 14:34:01 2009 From: lists at jnielsen.net (John Nielsen) Date: Thu Aug 6 14:34:08 2009 Subject: amd64 native ports? In-Reply-To: <4A7AE683.901@rcn.com> References: <4A7AE683.901@rcn.com> Message-ID: <200908061033.52081.lists@jnielsen.net> On Thursday 06 August 2009 10:19:47 Robert Huff wrote: > Somewhere in *.freebsd.org is a page that lists which ports run > natively on amd64 and what the status is for the others. I've seen it, > I have it bookmarked in a place that is currently unavailable, and I > can't find it by hand. Anyone have the URL handy? There's always the build logs on pointyhat: http://pointyhat.freebsd.org/errorlogs/ And some reports here: http://portsmon.freebsd.org/index.html Not sure which of those is exactly what you're looking for though. HTH, JN From rsmith at xs4all.nl Thu Aug 6 14:46:36 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Aug 6 14:47:32 2009 Subject: amd64 native ports? In-Reply-To: <4A7AE683.901@rcn.com> References: <4A7AE683.901@rcn.com> Message-ID: <20090806144633.GA82422@slackbox.xs4all.nl> On Thu, Aug 06, 2009 at 10:19:47AM -0400, Robert Huff wrote: > Somewhere in *.freebsd.org is a page that lists which ports run > natively on amd64 and what the status is for the others. I've seen it, > I have it bookmarked in a place that is currently unavailable, and I > can't find it by hand. Anyone have the URL handy? This will show you the ports marked IGNORE: http://www.freshports.org/ports-ignore.php This will detect and use your browsers architecture to find ports you cannot use. Mind you, it can be IGNOREd for other reasons than your current architecture) I tend to look at ONLY_FOR ARCHS statements in port makefiles: find /usr/ports/ -type f -name Makefile -exec grep -H 'ONLY_FOR_ARCHS' {} \; Any port that doesn't have one of those should run on every architecture. But I doubt is this info is complete for rare architectures as ia64 or sparc. It should be OK for amd64, because that's relatively common. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/cb8f0746/attachment.pgp From mcoyles at horbury.wakefield.sch.uk Thu Aug 6 14:50:05 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Thu Aug 6 14:50:12 2009 Subject: Freebsd-update fetch failed... In-Reply-To: <20090806160526.0a6be582@baby-jane.lamaiziere.net> References: <4A76C9CF.5050100@isafeelin.org> <991123400908030434p5877e2bm78db504cd06bde09@mail.gmail.com> <4A76CE91.3000506@isafeelin.org> <991123400908030502w1e4a16q600360f2c1c97adb@mail.gmail.com> <20090806160526.0a6be582@baby-jane.lamaiziere.net> Message-ID: <004e01ca16a2$0b659480$2230bd80$@wakefield.sch.uk> Evening folks... have just built up a new 7.0-RELEASE box, and have gone to update it to 7.0-RELEASEp11, however, whenever I run freebsd-update fetch I get the following: bigsis2# freebsd-update fetch Looking up update1.FreeBSD.org mirrors... none found. Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 2 metadata files... failed. Have tried using update., update1., and update2., but no joy on any of them. Any ideas? The box talks fine to the net, everything else on it is hunkydorey, so I'm assuming the error isn't at my end... and before anyone asks, I'm stuck with 7.0-RELEASE thanks to cPanel not supporting anything more current than that at the moment (boo hiss). My other option is to grab the contents of /var/db/freebsd-update/ off my other server, copy over to this new box, and run 'freebsd-update install' and see if it then realises that it has the files and gets on with it... Any better suggestions? Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From freebsd-questions at k-moeller.dk Thu Aug 6 14:54:54 2009 From: freebsd-questions at k-moeller.dk (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Thu Aug 6 14:55:00 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> Damn have no clue how to build fix or anything with plist ... Except it seemd to be a list of the files used ?? On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn < mel.flynn+fbsd.questions@mailing.thruhere.net > wrote: > On Wednesday 05 August 2009 10:35:02 Kalle M?ller wrote: > > > make WITH_PERL="YES" > > > > But it returns that it is broken ? > > > > flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist. > > > > Without perl it installs fine. The problem is that I need the perl part > to > > get some of the other tools to work :S > > > > Anything I can do to get this not broken ... > > You could fix the plist and ping the maintainer (added to CC). > -- > Mel > _______________________________________________ > 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" > -- Med Venlig Hilsen Kalle R. M?ller From modulok at gmail.com Thu Aug 6 16:07:09 2009 From: modulok at gmail.com (Modulok) Date: Thu Aug 6 16:07:15 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: <4A7A89B3.6010206@mapper.nl> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> Message-ID: <64c038660908060907r31e886n904a56eb2e14c38a@mail.gmail.com> [snip] > In light of this, I would really enjoy seeing a "Ubuntu" like movement > in the FreeBSD corner. > What I mean is that it would be nice for my mother to install and use > FreeBSD. > I am not saying that a Windows user should be able to feel right at home > on a box running FreeBSD, but a computer user should. > The problem herein, i am afraid, lies not with FreeBSD(or any other BSD > flavour), nor with it's community, but with the computer user. > Most computer users see an operating system(and the application they run > most) as part of a computer. > How many people say "My computer is broken" when ?$ Office doesn't start > anymore. > They don't care about which kernel they run, or which browser they use, > they care about typing e-mail, chatting and watching youtube video's. > (However sad it makes me that most people use less then 10% of the > features/programs/potential/computing-power the computer came with, they > do make sure we pay less for our components.) > Even though I'd feel less "cool" or "nerdy" (which is basically the same > thing ;-) ) if I'd run(or USE) the same OS as my 76 year old > grandfather, it would be nice for him to be able to buy a computer for > $20 less because it runs FreeBSD. > To achieve this, there are two things that should be made easier: > 1. Installing a basic desktop system(next to any currently installed OS) > 2. Keeping the base system and ports up to date. > And when I mean "easier" I mean it should be done without bothering the > user unless you about to "rm -rf /" as root, so to say. > Since most people never reinstall their computer, making it easier to > install a basic desktop system won't help my 76 year old grandpa, but it > will make it easier for unsatisfied Windows users to try FreeBSD. > Besides, in making it easy to install a basic desktop system, comes the > hardest part of any *nix like system: defining a basic desktop and > collecting the basic/standard applications. > It's hard just to pick either one Gnome, KDE or XFCE (or iceWM ;-) ) let > alone mail-clients, internet browsers, IM, etc. etc. > One of the advantages of using a descent operating system is the freedom > of choice. However most users don't care! > I am more then happy to tel anyone which e-mail client not to use (Lotus > notes, outlook express, anyone else's neck hears standing up?), but I > don't want to tell people they HAVE to use Thunderbird(I do tell them > they SHOULD but that's different) or evolution etc. > The problem is, most people don't want to make this choice either. > And the circle of life continues. > So basically, to make sure people will be using freeBSD (or any *nix > operating system) it needs to be easy to install (So that > PC-manufacturers will ship their pc's with it), a nicely filled standard > desktop environment with lot's of youtube/chat/word process capabilities > and "I won't bother you with it but i'm updating" functionality. [/snip] What you're talking about is indeed needed and does, to an extent, exist; It's called PC-BSD, Ubuntu (as you mentioned) or even Microsoft Windows. I think it's great that such things exist. (Yes, even Windows.) I think it's great that they can help people, who would otherwise be helpless, use a computer to get their work done. I even applaud the efforts of the tyrannical Microsoft for largely accomplishing this feat. Hats off to all involved! But it doesn't end here... On the other end of the coin there is also a need for an operating system which does exactly what I, the user, commands it to do, regardless of what that could mean. For some things, I need a system which trusts me, the user, to make the right decisions. Knowing this, I must be willing to accept the consequences of my actions, should my choices prove to be incorrect. "If you prevent stupid people from doing stupid things, you prevent clever people from doing clever things." While one cannot throw any philosophy, in a blind fashion, at a given problem, there is some truth to the statement. Both types of systems are needed, and I sincerely hope that both continue to exist. -Modulok- From mel.flynn+fbsd.questions at mailing.thruhere.net Thu Aug 6 16:17:32 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu Aug 6 16:17:43 2009 Subject: eclipse install (SOLVED broken ports tree) In-Reply-To: <1249546053.4568.6.camel@penguin.coert.local> References: <1249506008.4520.5.camel@penguin.coert.local> <1249542509.4568.3.camel@penguin.coert.local> <1249546053.4568.6.camel@penguin.coert.local> Message-ID: <200908060817.29802.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 06 August 2009 00:07:33 Coert Waagmeester wrote: > I have PKGDIR variable exported. Ack, yeah. Should've thought of that. It's a badly chosen variable name for pkg_add. You could make an alias though: alias pkg_keep='env PKGDIR=/path/to/whatever pkg_add -K' -- Mel From roberthuff at rcn.com Thu Aug 6 16:50:01 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Aug 6 16:50:09 2009 Subject: amd64 native ports? In-Reply-To: <200908061033.52081.lists@jnielsen.net> References: <4A7AE683.901@rcn.com> <200908061033.52081.lists@jnielsen.net> Message-ID: <4A7B09B7.2000704@rcn.com> John Nielsen wrote: > There's always the build logs on pointyhat: > http://pointyhat.freebsd.org/errorlogs/ > > And some reports here: > http://portsmon.freebsd.org/index.html These are not the droids I'm looking for. As I remember the page, it has three columns: the port name, the (color-coded) status, and a description of work needed. (There might be another column with relevant PRs or something.). Robert Huff From jalmberg at identry.com Thu Aug 6 17:38:12 2009 From: jalmberg at identry.com (Identry) Date: Thu Aug 6 17:38:19 2009 Subject: Boot failure Message-ID: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> Well, the bad day has come... My primary server won't boot. I have backups of databases and user directories, but I need to try to get this server back up again. During the boot sequence, it freezes at the statement: Trying to mount root from ufs:/dev/mfid0s1a I tried booting into single user mode, but same issue (of course). I don't want to just start hacking at this for fear of making things work... what is my best, most conservative next step? -- John From vince at unsane.co.uk Thu Aug 6 17:45:03 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Aug 6 17:45:36 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> Message-ID: <4A7B168C.5090900@unsane.co.uk> Kalle M?ller wrote: > Damn have no clue how to build fix or anything with plist ... Except it > seemd to be a list of the files used ?? Pretty much, the porters handbook has a decent section on it if your interested. Any installed files except man pages and documentation (which are specified in the makefile) should be listed as far as i can tell. Have a read at http://www.freebsd.org/doc/en/books/porters-handbook/porting-desc.html#AEN100 and http://www.freebsd.org/doc/en/books/porters-handbook/plist.html I think this is a simple one, if no one else does then I'll try and look at it tomorrow. my guess is that %%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto should be %%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto and possibly lib/perl5/5.8.9/mach/perllocal.pod (or the appropriate variables in place of a static path) need to be added. Vince > > On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn < > mel.flynn+fbsd.questions@mailing.thruhere.net >> wrote: > >> On Wednesday 05 August 2009 10:35:02 Kalle M?ller wrote: >> >>> make WITH_PERL="YES" >>> >>> But it returns that it is broken ? >>> >>> flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist. >>> >>> Without perl it installs fine. The problem is that I need the perl part >> to >>> get some of the other tools to work :S >>> >>> Anything I can do to get this not broken ... >> You could fix the plist and ping the maintainer (added to CC). >> -- >> Mel >> _______________________________________________ >> 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 luis.henrix at gmail.com Thu Aug 6 17:53:33 2009 From: luis.henrix at gmail.com (Miguel) Date: Thu Aug 6 17:53:41 2009 Subject: Problems with FreeBSD installation In-Reply-To: References: <200908051647.30315.mel.flynn+fbsd.questions@mailing.thruhere.net> <5b2efe7c0908060126i6ae88c73pbae3882f00c2cbd3@mail.gmail.com> Message-ID: <5b2efe7c0908061053t6d6e9e62mdeba5253ccb4cc88@mail.gmail.com> On Thu, Aug 6, 2009 at 2:25 PM, Ben Fallon wrote: > What model of laptop is it? ?I just subscribed to the list yesterday and may have missed the beginning of this thread. > You can also check here http://laptop.bsdgroup.de/freebsd/ > It provides details for a bunch of laptops and what the findings were for the models they tested. > On Linux, a simple dmesg will help on seeing what devices were found by your os otherwise, like BSD, > the lspci also works the same. ?Sorry I can't help more without a bit more information. The complete thread can be read here: http://lists.freebsd.org/pipermail/freebsd-questions/2009-August/203491.html My laptop is a Toshiba Satellite A210-1CE, and I am attaching the information you requested: the output from "lspci -v" and dmesg. Hope it helps :-) Regards, Miguel -------------- next part -------------- [ 0.000000] BIOS EBDA/lowmem at: 0009dc00/0009dc00 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.28-14-generic (buildd@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 (Ubuntu 2.6.28-14.47-generic) [ 0.000000] Command line: root=UUID=bc204d8d-c447-4ae6-9c0e-8b0f377d707c ro [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009dc00 (usable) [ 0.000000] BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000007fe70000 (usable) [ 0.000000] BIOS-e820: 000000007fe70000 - 000000007fe83000 (ACPI data) [ 0.000000] BIOS-e820: 000000007fe83000 - 000000007fe85000 (ACPI NVS) [ 0.000000] BIOS-e820: 000000007fe85000 - 0000000080000000 (reserved) [ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved) [ 0.000000] DMI present. [ 0.000000] last_pfn = 0x7fe70 max_arch_pfn = 0x3ffffffff [ 0.000000] Scanning 2 areas for low memory corruption [ 0.000000] modified physical RAM map: [ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable) [ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved) [ 0.000000] modified: 0000000000006000 - 0000000000008000 (usable) [ 0.000000] modified: 0000000000008000 - 0000000000010000 (reserved) [ 0.000000] modified: 0000000000010000 - 0000000000090c00 (usable) [ 0.000000] modified: 000000000009dc00 - 00000000000a0000 (reserved) [ 0.000000] modified: 00000000000d0000 - 0000000000100000 (reserved) [ 0.000000] modified: 0000000000100000 - 000000007fe70000 (usable) [ 0.000000] modified: 000000007fe70000 - 000000007fe83000 (ACPI data) [ 0.000000] modified: 000000007fe83000 - 000000007fe85000 (ACPI NVS) [ 0.000000] modified: 000000007fe85000 - 0000000080000000 (reserved) [ 0.000000] modified: 00000000e0000000 - 00000000f0000000 (reserved) [ 0.000000] modified: 00000000fec00000 - 00000000fec10000 (reserved) [ 0.000000] modified: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] modified: 00000000fff00000 - 0000000100000000 (reserved) [ 0.000000] init_memory_mapping: 0000000000000000-000000007fe70000 [ 0.000000] 0000000000 - 007fe00000 page 2M [ 0.000000] 007fe00000 - 007fe70000 page 4k [ 0.000000] kernel direct mapping tables up to 7fe70000 @ 10000-14000 [ 0.000000] last_map_addr: 7fe70000 end: 7fe70000 [ 0.000000] RAMDISK: 3785c000 - 37fef5fb [ 0.000000] ACPI: RSDP 000F7260, 0024 (r2 TOSCPL) [ 0.000000] ACPI: XSDT 7FE7AA18, 0064 (r1 TOSCPL TOSCPL00 6040000 LTP 0) [ 0.000000] ACPI: FACP 7FE828F7, 00F4 (r3 TOSCPL Herring 6040000 ATI F4240) [ 0.000000] ACPI: DSDT 7FE7AA7C, 7E7B (r1 TOSCPL SB600 6040000 MSFT 3000000) [ 0.000000] ACPI: FACS 7FE84FC0, 0040 [ 0.000000] ACPI: TCPA 7FE82A5F, 0032 (r2 TOSCPL 6040000 PTEC 0) [ 0.000000] ACPI: SLIC 7FE82A91, 0176 (r1 TOSCPL TOSCPL00 6040000 LOHR 0) [ 0.000000] ACPI: SSDT 7FE82C07, 0206 (r1 PTLTD POWERNOW 6040000 LTP 1) [ 0.000000] ACPI: APIC 7FE82E0D, 0054 (r1 PTLTD APIC 6040000 LTP 0) [ 0.000000] ACPI: MCFG 7FE82E61, 003C (r1 PTLTD MCFG 6040000 LTP 0) [ 0.000000] ACPI: HPET 7FE82E9D, 0038 (r1 PTLTD HPETTBL 6040000 LTP 1) [ 0.000000] ACPI: ASF! 7FE82ED5, 012B (r32 DMA AMDTBL 6040000 PTL 1) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 007fe70000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0000200000 - 0000b7bbb0] TEXT DATA BSS ==> [0000200000 - 0000b7bbb0] [ 0.000000] #3 [003785c000 - 0037fef5fb] RAMDISK ==> [003785c000 - 0037fef5fb] [ 0.000000] #4 [000009dc00 - 0000100000] BIOS reserved ==> [000009dc00 - 0000100000] [ 0.000000] #5 [0000010000 - 0000012000] PGTABLE ==> [0000010000 - 0000012000] [ 0.000000] found SMP MP-table at [ffff8800000f7300] 000f7300 [ 0.000000] [ffffe20000000000-ffffe20001bfffff] PMD -> [ffff880001200000-ffff880002dfffff] on node 0 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[4] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00000001 [ 0.000000] 0: 0x00000006 -> 0x00000008 [ 0.000000] 0: 0x00000010 -> 0x00000090 [ 0.000000] 0: 0x00000100 -> 0x0007fe70 [ 0.000000] On node 0 totalpages: 523763 [ 0.000000] DMA zone: 56 pages used for memmap [ 0.000000] DMA zone: 2532 pages reserved [ 0.000000] DMA zone: 1383 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 7107 pages used for memmap [ 0.000000] DMA32 zone: 512685 pages, LIFO batch:31 [ 0.000000] Normal zone: 0 pages used for memmap [ 0.000000] Movable zone: 0 pages used for memmap [ 0.000000] Detected use of extended apic ids on hypertransport bus [ 0.000000] ACPI: PM-Timer IO Port: 0x8008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] ACPI: HPET id: 0x43538310 base: 0xfed00000 [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000 [ 0.000000] PM: Registered nosave memory: 0000000000008000 - 0000000000010000 [ 0.000000] PM: Registered nosave memory: 0000000000090000 - 000000000009e000 [ 0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000d0000 [ 0.000000] PM: Registered nosave memory: 00000000000d0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:60000000) [ 0.000000] PERCPU: Allocating 69632 bytes of per cpu data [ 0.000000] NR_CPUS: 64, nr_cpu_ids: 2, nr_node_ids 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 514068 [ 0.000000] Kernel command line: root=UUID=bc204d8d-c447-4ae6-9c0e-8b0f377d707c ro [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes) [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 1995.046 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [tty0] enabled [ 0.004000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.004000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.004000] allocated 20971520 bytes of page_cgroup [ 0.004000] please try cgroup_disable=memory option if you don't want [ 0.004000] Scanning for low memory corruption every 60 seconds [ 0.004000] Checking aperture... [ 0.004000] No AGP bridge found [ 0.004000] Node 0: aperture @ fc7e000000 size 32 MB [ 0.004000] Aperture beyond 4GB. Ignoring. [ 0.004000] Memory: 2024440k/2095552k available (4748k kernel code, 500k absent, 69984k reserved, 2524k data, 532k init) [ 0.004000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.004000] hpet clockevent registered [ 0.004000] HPET: 4 timers in total, 0 timers will be used for per-cpu timer [ 0.004009] Calibrating delay loop (skipped), value calculated using timer frequency.. 3990.09 BogoMIPS (lpj=7980184) [ 0.004117] Security Framework initialized [ 0.004167] SELinux: Disabled at boot. [ 0.004222] AppArmor: AppArmor initialized [ 0.004273] Mount-cache hash table entries: 256 [ 0.004439] Initializing cgroup subsys ns [ 0.004488] Initializing cgroup subsys cpuacct [ 0.004534] Initializing cgroup subsys memory [ 0.004580] Initializing cgroup subsys freezer [ 0.004634] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 0.004681] CPU: L2 Cache: 512K (64 bytes/line) [ 0.004725] tseg: 007ff00000 [ 0.004727] CPU: Physical Processor ID: 0 [ 0.004771] CPU: Processor Core ID: 0 [ 0.004816] using C1E aware idle routine [ 0.006419] ACPI: Core revision 20080926 [ 0.008946] ACPI: Checking initramfs for custom DSDT [ 0.312050] Setting APIC routing to flat [ 0.312473] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 0.316001] ..MP-BIOS bug: 8254 timer not connected to IO-APIC [ 0.316001] ...trying to set up timer (IRQ0) through the 8259A ... [ 0.316001] ..... (found apic 0 pin 0) ... [ 0.356790] ....... works. [ 0.356837] CPU0: AMD Turion(tm) 64 X2 Mobile Technology TL-60 stepping 02 [ 0.360001] Booting processor 1 APIC 0x1 ip 0x6000 [ 0.004000] Initializing CPU#1 [ 0.004000] Calibrating delay using timer specific routine.. 3989.99 BogoMIPS (lpj=7979987) [ 0.004000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 0.004000] CPU: L2 Cache: 512K (64 bytes/line) [ 0.004000] CPU: Physical Processor ID: 0 [ 0.004000] CPU: Processor Core ID: 1 [ 0.444136] CPU1: <6>System has AMD C1E enabled [ 0.004000] Switch to broadcast mode on CPU1 [ 0.444535] AMD Turion(tm) 64 X2 Mobile Technology TL-60 stepping 02 [ 0.444627] Brought up 2 CPUs [ 0.444672] Total of 2 processors activated (7980.08 BogoMIPS). [ 0.444759] CPU0 attaching sched-domain: [ 0.444761] domain 0: span 0-1 level CPU [ 0.444763] groups: 0 1 [ 0.444769] CPU1 attaching sched-domain: [ 0.444770] domain 0: span 0-1 level CPU [ 0.444772] groups: 1 0 [ 0.444832] Switch to broadcast mode on CPU0 [ 0.444832] net_namespace: 1400 bytes [ 0.444832] Booting paravirtualized kernel on bare hardware [ 0.444832] Time: 17:34:14 Date: 08/06/09 [ 0.444832] regulator: core version 0.5 [ 0.444832] NET: Registered protocol family 16 [ 0.444832] node 0 link 0: io port [1000, fffff] [ 0.444832] TOM: 0000000080000000 aka 2048M [ 0.444832] node 0 link 0: mmio [f8400000, ffffffff] [ 0.444832] node 0 link 0: mmio [f8300000, f83fffff] [ 0.444832] node 0 link 0: mmio [a0000, bffff] [ 0.444832] node 0 link 0: mmio [f0000000, f82fffff] [ 0.444832] node 0 link 0: mmio [e0000000, efffffff] [ 0.444832] node 0 link 0: mmio [80000000, dfffffff] [ 0.444832] bus: [00,ff] on node 0 link 0 [ 0.444832] bus: 00 index 0 io port: [0, ffff] [ 0.444832] bus: 00 index 1 mmio: [80000000, fcffffffff] [ 0.444832] bus: 00 index 2 mmio: [a0000, bffff] [ 0.444832] ACPI: bus type pci registered [ 0.444832] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 26 [ 0.444832] PCI: MCFG area at e0000000 reserved in E820 [ 0.446150] PCI: Using MMCONFIG at e0000000 - e1afffff [ 0.446199] PCI: Using configuration type 1 for base access [ 0.448838] ACPI: EC: Look up EC in DSDT [ 0.450994] ACPI Error (evregion-0315): No handler for Region [ERAM] (ffff88007f816d80) [EmbeddedControl] [20080926] [ 0.451129] ACPI Error (exfldio-0291): Region EmbeddedControl(3) has no handler [20080926] [ 0.451257] ACPI Error (psparse-0524): Method parse/execution failed [\_SB_.HTEV] (Node ffff88007f8145c0), AE_NOT_EXIST [ 0.451456] ACPI Error (psparse-0524): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_._REG] (Node ffff88007f81c960), AE_NOT_EXIST [ 0.453727] ACPI: BIOS _OSI(Linux) query ignored [ 0.456017] ACPI: EC: non-query interrupt received, switching to interrupt mode [ 0.464095] ACPI: Interpreter enabled [ 0.464145] ACPI: (supports S0 S3 S4 S5) [ 0.464357] ACPI: Using IOAPIC for interrupt routing [ 0.524817] ACPI: EC: GPE = 0x13, I/O: command/status = 0x66, data = 0x62 [ 0.524868] ACPI: EC: driver started in interrupt mode [ 0.525050] ACPI: No dock devices found. [ 0.525106] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.526215] pci 0000:00:02.0: PME# supported from D0 D3hot D3cold [ 0.526263] pci 0000:00:02.0: PME# disabled [ 0.526330] pci 0000:00:05.0: PME# supported from D0 D3hot D3cold [ 0.526377] pci 0000:00:05.0: PME# disabled [ 0.526443] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold [ 0.526490] pci 0000:00:06.0: PME# disabled [ 0.526555] pci 0000:00:07.0: PME# supported from D0 D3hot D3cold [ 0.526601] pci 0000:00:07.0: PME# disabled [ 0.526692] pci 0000:00:12.0: reg 10 io port: [0x8440-0x8447] [ 0.526699] pci 0000:00:12.0: reg 14 io port: [0x8434-0x8437] [ 0.526706] pci 0000:00:12.0: reg 18 io port: [0x8438-0x843f] [ 0.526713] pci 0000:00:12.0: reg 1c io port: [0x8430-0x8433] [ 0.526720] pci 0000:00:12.0: reg 20 io port: [0x8400-0x840f] [ 0.526728] pci 0000:00:12.0: reg 24 32bit mmio: [0xf8609000-0xf86093ff] [ 0.526746] pci 0000:00:12.0: set SATA to AHCI mode [ 0.526819] pci 0000:00:13.0: reg 10 32bit mmio: [0xf8604000-0xf8604fff] [ 0.526873] pci 0000:00:13.1: reg 10 32bit mmio: [0xf8605000-0xf8605fff] [ 0.526927] pci 0000:00:13.2: reg 10 32bit mmio: [0xf8606000-0xf8606fff] [ 0.526981] pci 0000:00:13.3: reg 10 32bit mmio: [0xf8607000-0xf8607fff] [ 0.527035] pci 0000:00:13.4: reg 10 32bit mmio: [0xf8608000-0xf8608fff] [ 0.527107] pci 0000:00:13.5: reg 10 32bit mmio: [0xf8609400-0xf86094ff] [ 0.527147] pci 0000:00:13.5: supports D1 D2 [ 0.527149] pci 0000:00:13.5: PME# supported from D0 D1 D2 D3hot [ 0.527197] pci 0000:00:13.5: PME# disabled [ 0.527286] pci 0000:00:14.0: reg 10 io port: [0x8410-0x841f] [ 0.527346] pci 0000:00:14.1: reg 10 io port: [0x1f0-0x1f7] [ 0.527353] pci 0000:00:14.1: reg 14 io port: [0x3f4-0x3f7] [ 0.527360] pci 0000:00:14.1: reg 18 io port: [0x00-0x07] [ 0.527368] pci 0000:00:14.1: reg 1c io port: [0x00-0x03] [ 0.527375] pci 0000:00:14.1: reg 20 io port: [0x8420-0x842f] [ 0.527426] pci 0000:00:14.2: reg 10 64bit mmio: [0xf8600000-0xf8603fff] [ 0.527461] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold [ 0.527509] pci 0000:00:14.2: PME# disabled [ 0.527730] pci 0000:01:00.0: reg 10 32bit mmio: [0xf0000000-0xf7ffffff] [ 0.527735] pci 0000:01:00.0: reg 14 io port: [0x9000-0x90ff] [ 0.527741] pci 0000:01:00.0: reg 18 32bit mmio: [0xf8000000-0xf800ffff] [ 0.527756] pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff] [ 0.527764] pci 0000:01:00.0: supports D1 D2 [ 0.527793] pci 0000:01:00.1: reg 10 32bit mmio: [0xf8010000-0xf8013fff] [ 0.527820] pci 0000:01:00.1: supports D1 D2 [ 0.527877] pci 0000:00:02.0: bridge io port: [0x9000-0x9fff] [ 0.527880] pci 0000:00:02.0: bridge 32bit mmio: [0xf8000000-0xf80fffff] [ 0.527884] pci 0000:00:02.0: bridge 64bit mmio pref: [0xf0000000-0xf7ffffff] [ 0.527929] pci 0000:00:05.0: bridge io port: [0x00-0xfff] [ 0.527932] pci 0000:00:05.0: bridge 32bit mmio: [0x000000-0x0fffff] [ 0.527977] pci 0000:0e:00.0: reg 10 io port: [0xa000-0xa0ff] [ 0.527994] pci 0000:0e:00.0: reg 18 64bit mmio: [0xf8100000-0xf8100fff] [ 0.528015] pci 0000:0e:00.0: reg 30 32bit mmio: [0x000000-0x01ffff] [ 0.528025] pci 0000:0e:00.0: supports D1 D2 [ 0.528027] pci 0000:0e:00.0: PME# supported from D1 D2 D3hot D3cold [ 0.528075] pci 0000:0e:00.0: PME# disabled [ 0.528171] pci 0000:00:06.0: bridge io port: [0xa000-0xafff] [ 0.528174] pci 0000:00:06.0: bridge 32bit mmio: [0xf8100000-0xf81fffff] [ 0.528215] pci 0000:14:00.0: reg 10 64bit mmio: [0xf8200000-0xf820ffff] [ 0.528304] pci 0000:00:07.0: bridge 32bit mmio: [0xf8200000-0xf82fffff] [ 0.528357] pci 0000:1a:04.0: reg 10 32bit mmio: [0xf8300000-0xf8300fff] [ 0.528370] pci 0000:1a:04.0: supports D1 D2 [ 0.528371] pci 0000:1a:04.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.528421] pci 0000:1a:04.0: PME# disabled [ 0.528510] pci 0000:1a:04.1: reg 10 32bit mmio: [0xf8302000-0xf83027ff] [ 0.528519] pci 0000:1a:04.1: reg 14 32bit mmio: [0xf8304000-0xf8307fff] [ 0.528566] pci 0000:1a:04.1: supports D1 D2 [ 0.528568] pci 0000:1a:04.1: PME# supported from D0 D1 D2 D3hot [ 0.528618] pci 0000:1a:04.1: PME# disabled [ 0.528705] pci 0000:1a:04.2: reg 10 32bit mmio: [0xf8301000-0xf8301fff] [ 0.528756] pci 0000:1a:04.2: supports D1 D2 [ 0.528758] pci 0000:1a:04.2: PME# supported from D0 D1 D2 D3hot [ 0.528807] pci 0000:1a:04.2: PME# disabled [ 0.528894] pci 0000:1a:04.3: reg 10 32bit mmio: [0xf8302800-0xf83028ff] [ 0.528946] pci 0000:1a:04.3: supports D1 D2 [ 0.528947] pci 0000:1a:04.3: PME# supported from D0 D1 D2 D3hot [ 0.528996] pci 0000:1a:04.3: PME# disabled [ 0.529098] pci 0000:00:14.4: transparent bridge [ 0.529148] pci 0000:00:14.4: bridge 32bit mmio: [0xf8300000-0xf83fffff] [ 0.529185] bus 00 -> node 0 [ 0.529191] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] [ 0.529414] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB2_._PRT] [ 0.529560] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT] [ 0.529703] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT] [ 0.529848] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB7_._PRT] [ 0.529990] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BB5_._PRT] [ 0.530149] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT] [ 0.533848] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled. [ 0.534268] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled. [ 0.534685] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled. [ 0.535104] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled. [ 0.535521] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled. [ 0.535938] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled. [ 0.536342] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled. [ 0.536761] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled. [ 0.537247] ACPI: WMI: Mapper loaded [ 0.540103] SCSI subsystem initialized [ 0.540156] libata version 3.00 loaded. [ 0.540156] usbcore: registered new interface driver usbfs [ 0.540156] usbcore: registered new interface driver hub [ 0.540156] usbcore: registered new device driver usb [ 0.540156] PCI: Using ACPI for IRQ routing [ 0.540156] pci 0000:00:05.0: BAR 7: can't allocate resource [ 0.540156] pci 0000:00:05.0: BAR 8: can't allocate resource [ 0.552009] Bluetooth: Core ver 2.13 [ 0.556012] NET: Registered protocol family 31 [ 0.556058] Bluetooth: HCI device and connection manager initialized [ 0.556105] Bluetooth: HCI socket layer initialized [ 0.556151] NET: Registered protocol family 8 [ 0.556196] NET: Registered protocol family 20 [ 0.556254] NetLabel: Initializing [ 0.556298] NetLabel: domain hash size = 128 [ 0.556343] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.556400] NetLabel: unlabeled traffic allowed by default [ 0.556657] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0 [ 0.556894] hpet0: 4 comparators, 32-bit 14.318180 MHz counter [ 0.560073] AppArmor: AppArmor Filesystem Enabled [ 0.568022] Switched to high resolution mode on CPU 0 [ 0.568040] Switched to high resolution mode on CPU 1 [ 0.573029] pnp: PnP ACPI init [ 0.573083] ACPI: bus type pnp registered [ 0.600196] pnp: PnP ACPI: found 11 devices [ 0.600245] ACPI: ACPI bus type pnp unregistered [ 0.600299] system 00:01: iomem range 0xfec00000-0xfec00fff has been reserved [ 0.600346] system 00:01: iomem range 0xfee00000-0xfee00fff has been reserved [ 0.600397] system 00:08: ioport range 0x1080-0x1080 has been reserved [ 0.600444] system 00:08: ioport range 0x220-0x22f has been reserved [ 0.600489] system 00:08: ioport range 0x40b-0x40b has been reserved [ 0.600535] system 00:08: ioport range 0x4d0-0x4d1 has been reserved [ 0.600581] system 00:08: ioport range 0x4d6-0x4d6 has been reserved [ 0.600627] system 00:08: ioport range 0x530-0x537 has been reserved [ 0.600673] system 00:08: ioport range 0xc00-0xc01 has been reserved [ 0.600719] system 00:08: ioport range 0xc14-0xc14 has been reserved [ 0.600765] system 00:08: ioport range 0xc50-0xc52 has been reserved [ 0.600811] system 00:08: ioport range 0xc6c-0xc6c has been reserved [ 0.600857] system 00:08: ioport range 0xc6f-0xc6f has been reserved [ 0.600903] system 00:08: ioport range 0xcd0-0xcd1 has been reserved [ 0.600949] system 00:08: ioport range 0xcd2-0xcd3 has been reserved [ 0.600995] system 00:08: ioport range 0xcd4-0xcd5 has been reserved [ 0.601059] system 00:08: ioport range 0xcd6-0xcd7 has been reserved [ 0.601105] system 00:08: ioport range 0xcd8-0xcdf has been reserved [ 0.601152] system 00:08: ioport range 0x8000-0x805f has been reserved [ 0.601198] system 00:08: ioport range 0xf40-0xf47 has been reserved [ 0.601245] system 00:08: ioport range 0x87f-0x87f has been reserved [ 0.601292] system 00:08: ioport range 0xfd60-0xfddf has been reserved [ 0.601342] system 00:09: iomem range 0xe0000-0xfffff could not be reserved [ 0.601389] system 00:09: iomem range 0xfff00000-0xffffffff has been reserved [ 0.606165] pci 0000:00:02.0: PCI bridge, secondary bus 0000:01 [ 0.606212] pci 0000:00:02.0: IO window: 0x9000-0x9fff [ 0.606259] pci 0000:00:02.0: MEM window: 0xf8000000-0xf80fffff [ 0.606306] pci 0000:00:02.0: PREFETCH window: 0x000000f0000000-0x000000f7ffffff [ 0.606359] pci 0000:00:05.0: PCI bridge, secondary bus 0000:08 [ 0.606404] pci 0000:00:05.0: IO window: disabled [ 0.606451] pci 0000:00:05.0: MEM window: disabled [ 0.606497] pci 0000:00:05.0: PREFETCH window: disabled [ 0.606544] pci 0000:00:06.0: PCI bridge, secondary bus 0000:0e [ 0.606591] pci 0000:00:06.0: IO window: 0xa000-0xafff [ 0.606637] pci 0000:00:06.0: MEM window: 0xf8100000-0xf81fffff [ 0.606684] pci 0000:00:06.0: PREFETCH window: 0x0000008c000000-0x0000008c0fffff [ 0.606737] pci 0000:00:07.0: PCI bridge, secondary bus 0000:14 [ 0.606782] pci 0000:00:07.0: IO window: disabled [ 0.606829] pci 0000:00:07.0: MEM window: 0xf8200000-0xf82fffff [ 0.606876] pci 0000:00:07.0: PREFETCH window: disabled [ 0.606926] pci 0000:1a:04.0: CardBus bridge, secondary bus 0000:1b [ 0.606972] pci 0000:1a:04.0: IO window: 0x002000-0x0020ff [ 0.607021] pci 0000:1a:04.0: IO window: 0x002400-0x0024ff [ 0.607070] pci 0000:1a:04.0: PREFETCH window: 0x88000000-0x8bffffff [ 0.607119] pci 0000:1a:04.0: MEM window: 0x90000000-0x93ffffff [ 0.607168] pci 0000:00:14.4: PCI bridge, secondary bus 0000:1a [ 0.607215] pci 0000:00:14.4: IO window: 0x2000-0x2fff [ 0.607265] pci 0000:00:14.4: MEM window: 0xf8300000-0xf83fffff [ 0.607314] pci 0000:00:14.4: PREFETCH window: 0x00000088000000-0x0000008bffffff [ 0.607376] pci 0000:00:02.0: setting latency timer to 64 [ 0.607382] pci 0000:00:05.0: setting latency timer to 64 [ 0.607387] pci 0000:00:06.0: setting latency timer to 64 [ 0.607392] pci 0000:00:07.0: setting latency timer to 64 [ 0.607409] pci 0000:1a:04.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 0.607461] bus: 00 index 0 io port: [0x00-0xffff] [ 0.607507] bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff] [ 0.607553] bus: 01 index 0 io port: [0x9000-0x9fff] [ 0.607599] bus: 01 index 1 mmio: [0xf8000000-0xf80fffff] [ 0.607645] bus: 01 index 2 mmio: [0xf0000000-0xf7ffffff] [ 0.607690] bus: 01 index 3 mmio: [0x0-0x0] [ 0.607736] bus: 08 index 0 mmio: [0x0-0xfff] [ 0.607781] bus: 08 index 1 mmio: [0x0-0xfffff] [ 0.607827] bus: 08 index 2 mmio: [0x0-0x0] [ 0.607872] bus: 08 index 3 mmio: [0x0-0x0] [ 0.607917] bus: 0e index 0 io port: [0xa000-0xafff] [ 0.607963] bus: 0e index 1 mmio: [0xf8100000-0xf81fffff] [ 0.608011] bus: 0e index 2 mmio: [0x8c000000-0x8c0fffff] [ 0.608069] bus: 0e index 3 mmio: [0x0-0x0] [ 0.608114] bus: 14 index 0 mmio: [0x0-0x0] [ 0.608160] bus: 14 index 1 mmio: [0xf8200000-0xf82fffff] [ 0.608206] bus: 14 index 2 mmio: [0x0-0x0] [ 0.608251] bus: 14 index 3 mmio: [0x0-0x0] [ 0.608296] bus: 1a index 0 io port: [0x2000-0x2fff] [ 0.608342] bus: 1a index 1 mmio: [0xf8300000-0xf83fffff] [ 0.608388] bus: 1a index 2 mmio: [0x88000000-0x8bffffff] [ 0.608434] bus: 1a index 3 io port: [0x00-0xffff] [ 0.608479] bus: 1a index 4 mmio: [0x000000-0xffffffffffffffff] [ 0.608525] bus: 1b index 0 io port: [0x2000-0x20ff] [ 0.608571] bus: 1b index 1 io port: [0x2400-0x24ff] [ 0.608617] bus: 1b index 2 mmio: [0x88000000-0x8bffffff] [ 0.608663] bus: 1b index 3 mmio: [0x90000000-0x93ffffff] [ 0.608718] NET: Registered protocol family 2 [ 0.641076] IP route cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.641561] TCP established hash table entries: 262144 (order: 10, 4194304 bytes) [ 0.643658] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.644263] TCP: Hash tables configured (established 262144 bind 65536) [ 0.644314] TCP reno registered [ 0.653108] NET: Registered protocol family 1 [ 0.653274] checking if image is initramfs... it is [ 1.241118] Freeing initrd memory: 7757k freed [ 1.245486] audit: initializing netlink socket (disabled) [ 1.245547] type=2000 audit(1249580053.244:1): initialized [ 1.253689] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.255064] VFS: Disk quotas dquot_6.5.1 [ 1.255166] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.255839] fuse init (API version 7.10) [ 1.255971] msgmni has been set to 3970 [ 1.256222] alg: No test for stdrng (krng) [ 1.256281] io scheduler noop registered [ 1.256328] io scheduler anticipatory registered [ 1.256373] io scheduler deadline registered [ 1.256461] io scheduler cfq registered (default) [ 1.256623] pci 0000:01:00.0: Boot video device [ 1.304281] pcieport-driver 0000:00:02.0: setting latency timer to 64 [ 1.304301] pcieport-driver 0000:00:02.0: found MSI capability [ 1.304367] pcieport-driver 0000:00:02.0: irq 2303 for MSI/MSI-X [ 1.304374] pci_express 0000:00:02.0:pcie00: allocate port service [ 1.304390] pci_express 0000:00:02.0:pcie03: allocate port service [ 1.304426] pcieport-driver 0000:00:05.0: setting latency timer to 64 [ 1.304445] pcieport-driver 0000:00:05.0: found MSI capability [ 1.304505] pcieport-driver 0000:00:05.0: irq 2302 for MSI/MSI-X [ 1.304512] pci_express 0000:00:05.0:pcie00: allocate port service [ 1.304525] pci_express 0000:00:05.0:pcie02: allocate port service [ 1.304538] pci_express 0000:00:05.0:pcie03: allocate port service [ 1.304576] pcieport-driver 0000:00:06.0: setting latency timer to 64 [ 1.304595] pcieport-driver 0000:00:06.0: found MSI capability [ 1.304655] pcieport-driver 0000:00:06.0: irq 2301 for MSI/MSI-X [ 1.304662] pci_express 0000:00:06.0:pcie00: allocate port service [ 1.304676] pci_express 0000:00:06.0:pcie03: allocate port service [ 1.304711] pcieport-driver 0000:00:07.0: setting latency timer to 64 [ 1.304730] pcieport-driver 0000:00:07.0: found MSI capability [ 1.304790] pcieport-driver 0000:00:07.0: irq 2300 for MSI/MSI-X [ 1.304797] pci_express 0000:00:07.0:pcie00: allocate port service [ 1.304811] pci_express 0000:00:07.0:pcie03: allocate port service [ 1.304861] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.305061] pciehp 0000:00:05.0:pcie02: HPC vendor_id 1002 device_id 7915 ss_vid 0 ss_did 0 [ 1.305147] pciehp 0000:00:05.0:pcie02: service driver pciehp loaded [ 1.305158] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.309542] ACPI: AC Adapter [ACAD] (off-line) [ 1.452887] ACPI: Battery Slot [BAT1] (battery present) [ 1.453012] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.453071] ACPI: Power Button (FF) [PWRF] [ 1.453162] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1 [ 1.453273] ACPI: Lid Switch [LID] [ 1.453364] input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2 [ 1.453419] ACPI: Power Button (CM) [PWRB] [ 1.453731] ACPI: processor limited to max C-state 1 [ 1.453825] processor ACPI_CPU:00: registered as cooling_device0 [ 1.454870] ACPI: Processor [CPU0] (supports 8 throttling states) [ 1.455032] processor ACPI_CPU:01: registered as cooling_device1 [ 1.505349] Linux agpgart interface v0.103 [ 1.505405] Serial: 8250/16550 driver4 ports, IRQ sharing enabled [ 1.506353] brd: module loaded [ 1.506700] loop: module loaded [ 1.506824] Fixed MDIO Bus: probed [ 1.506875] PPP generic driver version 2.4.2 [ 1.506976] input: Macintosh mouse button emulation as /devices/virtual/input/input3 [ 1.507058] Driver 'sd' needs updating - please use bus_type methods [ 1.507110] Driver 'sr' needs updating - please use bus_type methods [ 1.507186] ahci 0000:00:12.0: version 3.0 [ 1.507203] ahci 0000:00:12.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 1.507284] ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit [ 1.507419] ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode [ 1.507472] ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pmp pio slum part [ 1.507949] scsi0 : ahci [ 1.508137] scsi1 : ahci [ 1.508266] scsi2 : ahci [ 1.508389] scsi3 : ahci [ 1.508528] ata1: SATA max UDMA/133 abar m1024@0xf8609000 port 0xf8609100 irq 22 [ 1.508581] ata2: SATA max UDMA/133 abar m1024@0xf8609000 port 0xf8609180 irq 22 [ 1.508633] ata3: SATA max UDMA/133 abar m1024@0xf8609000 port 0xf8609200 irq 22 [ 1.508685] ata4: SATA max UDMA/133 abar m1024@0xf8609000 port 0xf8609280 irq 22 [ 2.156034] ata1: softreset failed (device not ready) [ 2.156082] ata1: failed due to HW bug, retry pmp=0 [ 2.320044] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.699742] ata1.00: ATA-7: TOSHIBA MK2035GSS, DK020M, max UDMA/100 [ 2.699790] ata1.00: 390721968 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 2.699852] ata1.00: SB600 AHCI: limiting to 255 sectors per cmd [ 2.701281] ata1.00: SB600 AHCI: limiting to 255 sectors per cmd [ 2.701328] ata1.00: configured for UDMA/100 [ 3.036043] ata2: SATA link down (SStatus 0 SControl 300) [ 3.372041] ata3: SATA link down (SStatus 0 SControl 300) [ 3.708043] ata4: SATA link down (SStatus 0 SControl 300) [ 3.724057] isa bounce pool size: 16 pages [ 3.724173] scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK2035GS DK02 PQ: 0 ANSI: 5 [ 3.724316] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors: (200 GB/186 GiB) [ 3.724384] sd 0:0:0:0: [sda] Write Protect is off [ 3.724430] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 3.724456] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.724579] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors: (200 GB/186 GiB) [ 3.724646] sd 0:0:0:0: [sda] Write Protect is off [ 3.724692] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 3.724716] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.724768] sda: sda1 sda2 sda3 sda4 < sda5 sda6 > [ 3.884583] sda1: [ 3.903229] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.903325] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 3.903653] pata_atiixp 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 3.903736] pata_atiixp 0000:00:14.1: setting latency timer to 64 [ 3.903825] scsi4 : pata_atiixp [ 3.903938] scsi5 : pata_atiixp [ 3.904809] ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x8420 irq 14 [ 3.904859] ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x8428 irq 15 [ 4.084508] ata5.00: ATAPI: TSSTcorp CDDVDW TS-L632H, TO01, max UDMA/33 [ 4.116460] ata5.00: configured for UDMA/33 [ 4.274372] scsi 4:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L632H TO01 PQ: 0 ANSI: 5 [ 4.286465] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray [ 4.286517] Uniform CD-ROM driver Revision: 3.20 [ 4.286672] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 4.286714] sr 4:0:0:0: Attached scsi generic sg1 type 5 [ 4.287172] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.287243] ehci_hcd 0000:00:13.5: PCI INT D -> GSI 19 (level, low) -> IRQ 19 [ 4.287309] ehci_hcd 0000:00:13.5: EHCI Host Controller [ 4.287411] ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 1 [ 4.287491] ehci_hcd 0000:00:13.5: applying AMD SB600/SB700 USB freeze workaround [ 4.287559] ehci_hcd 0000:00:13.5: debug port 1 [ 4.287622] ehci_hcd 0000:00:13.5: irq 19, io mem 0xf8609400 [ 4.296039] ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00 [ 4.296161] usb usb1: configuration #1 chosen from 1 choice [ 4.296233] hub 1-0:1.0: USB hub found [ 4.296283] hub 1-0:1.0: 10 ports detected [ 4.296442] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.296503] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 4.296559] ohci_hcd 0000:00:13.0: OHCI Host Controller [ 4.296642] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2 [ 4.296714] ohci_hcd 0000:00:13.0: irq 16, io mem 0xf8604000 [ 4.352106] usb usb2: configuration #1 chosen from 1 choice [ 4.352176] hub 2-0:1.0: USB hub found [ 4.352228] hub 2-0:1.0: 2 ports detected [ 4.352357] ohci_hcd 0000:00:13.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 4.352416] ohci_hcd 0000:00:13.1: OHCI Host Controller [ 4.352498] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3 [ 4.352570] ohci_hcd 0000:00:13.1: irq 17, io mem 0xf8605000 [ 4.408089] usb usb3: configuration #1 chosen from 1 choice [ 4.408160] hub 3-0:1.0: USB hub found [ 4.408212] hub 3-0:1.0: 2 ports detected [ 4.408340] ohci_hcd 0000:00:13.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 4.408396] ohci_hcd 0000:00:13.2: OHCI Host Controller [ 4.408481] ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 4 [ 4.408553] ohci_hcd 0000:00:13.2: irq 18, io mem 0xf8606000 [ 4.464097] usb usb4: configuration #1 chosen from 1 choice [ 4.464165] hub 4-0:1.0: USB hub found [ 4.464217] hub 4-0:1.0: 2 ports detected [ 4.464340] ohci_hcd 0000:00:13.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 4.464396] ohci_hcd 0000:00:13.3: OHCI Host Controller [ 4.464478] ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 5 [ 4.464544] ohci_hcd 0000:00:13.3: irq 17, io mem 0xf8607000 [ 4.520105] usb usb5: configuration #1 chosen from 1 choice [ 4.520174] hub 5-0:1.0: USB hub found [ 4.520227] hub 5-0:1.0: 2 ports detected [ 4.520350] ohci_hcd 0000:00:13.4: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 4.520405] ohci_hcd 0000:00:13.4: OHCI Host Controller [ 4.520490] ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 6 [ 4.520556] ohci_hcd 0000:00:13.4: irq 18, io mem 0xf8608000 [ 4.576094] usb usb6: configuration #1 chosen from 1 choice [ 4.576162] hub 6-0:1.0: USB hub found [ 4.576214] hub 6-0:1.0: 2 ports detected [ 4.576344] uhci_hcd: USB Universal Host Controller Interface driver [ 4.576468] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12 [ 4.611122] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 4.611143] usb 1-8: new high speed USB device using ehci_hcd and address 2 [ 4.611230] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 4.621072] mice: PS/2 mouse device common for all mice [ 4.669090] rtc_cmos 00:04: RTC can wake from S4 [ 4.669170] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0 [ 4.669242] rtc0: alarms up to one month, 114 bytes nvram, hpet irqs [ 4.669344] device-mapper: uevent: version 1.0.3 [ 4.669505] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com [ 4.669745] device-mapper: multipath: version 1.0.5 loaded [ 4.669792] device-mapper: multipath round-robin: version 1.0.0 loaded [ 4.670041] cpuidle: using governor ladder [ 4.670087] cpuidle: using governor menu [ 4.670533] TCP cubic registered [ 4.670648] NET: Registered protocol family 10 [ 4.671060] lo: Disabled Privacy Extensions [ 4.671366] NET: Registered protocol family 17 [ 4.671432] Bluetooth: L2CAP ver 2.11 [ 4.671476] Bluetooth: L2CAP socket layer initialized [ 4.671522] Bluetooth: SCO (Voice Link) ver 0.6 [ 4.671566] Bluetooth: SCO socket layer initialized [ 4.671661] Bluetooth: RFCOMM socket layer initialized [ 4.671712] Bluetooth: RFCOMM TTY layer initialized [ 4.671757] Bluetooth: RFCOMM ver 1.10 [ 4.671851] powernow-k8: Found 1 AMD Turion(tm) 64 X2 Mobile Technology TL-60 processors (2 cpu cores) (version 2.20.00) [ 4.671949] powernow-k8: 0 : fid 0xc (2000 MHz), vid 0x11 [ 4.671996] powernow-k8: 1 : fid 0xa (1800 MHz), vid 0x12 [ 4.672060] powernow-k8: 2 : fid 0x8 (1600 MHz), vid 0x13 [ 4.672106] powernow-k8: 3 : fid 0x0 (800 MHz), vid 0x1e [ 4.672278] registered taskstats version 1 [ 4.672478] Magic number: 5:295:592 [ 4.672614] rtc_cmos 00:04: setting system clock to 2009-08-06 17:34:18 UTC (1249580058) [ 4.672669] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 4.672714] EDD information not available. [ 4.672799] Freeing unused kernel memory: 532k freed [ 4.673088] Write protecting the kernel read-only data: 6688k [ 4.688864] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4 [ 4.757351] usb 1-8: configuration #1 chosen from 1 choice [ 4.928211] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 4.928282] r8169 0000:0e:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 4.928348] r8169 0000:0e:00.0: setting latency timer to 64 [ 4.928445] r8169 0000:0e:00.0: irq 2299 for MSI/MSI-X [ 4.928977] eth0: RTL8101e at 0xffffc20001bbc000, 00:1e:ec:3a:48:9f, XID 34200000 IRQ 2299 [ 4.986519] ohci1394 0000:1a:04.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21 [ 5.036349] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[21] MMIO=[f8302000-f83027ff] Max Packet=[2048] IR/IT contexts=[4/8] [ 5.671362] PM: Starting manual resume from disk [ 5.671410] PM: Resume from partition 8:3 [ 5.671411] PM: Checking hibernation image. [ 5.671829] PM: Resume from disk failed. [ 5.705463] EXT4-fs: barriers enabled [ 5.722773] kjournald2 starting. Commit interval 5 seconds [ 5.722837] EXT4-fs: delayed allocation enabled [ 5.722882] EXT4-fs: file extents enabled [ 5.727982] EXT4-fs: mballoc enabled [ 5.728035] EXT4-fs: mounted filesystem with ordered data mode. [ 6.309216] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f85c040680f] [ 11.496138] udev: starting version 141 [ 11.775511] acpi device:04: registered as cooling_device2 [ 11.775894] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/device:02/input/input5 [ 11.805205] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) [ 11.988860] input: PC Speaker as /devices/platform/pcspkr/input/input6 [ 12.041825] sdhci: Secure Digital Host Controller Interface driver [ 12.041877] sdhci: Copyright(c) Pierre Ossman [ 12.065219] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0x8410, revision 0 [ 12.127776] Linux video capture interface: v2.00 [ 12.237096] cfg80211: Calling CRDA to update world regulatory domain [ 12.369314] sdhci-pci 0000:1a:04.3: SDHCI controller found [104c:803c] (rev 0) [ 12.369384] sdhci-pci 0000:1a:04.3: PCI INT C -> GSI 22 (level, low) -> IRQ 22 [ 12.369576] mmc0: SDHCI controller on PCI [0000:1a:04.3] using DMA [ 12.410999] cfg80211: World regulatory domain updated: [ 12.411053] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 12.411103] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.411149] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 12.411195] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 12.411241] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.411287] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.421093] yenta_cardbus 0000:1a:04.0: CardBus bridge found [1179:ff00] [ 12.421164] yenta_cardbus 0000:1a:04.0: Enabling burst memory read transactions [ 12.421219] yenta_cardbus 0000:1a:04.0: Using CSCINT to route CSC interrupts to PCI [ 12.421269] yenta_cardbus 0000:1a:04.0: Routing CardBus interrupts to PCI [ 12.421319] yenta_cardbus 0000:1a:04.0: TI: mfunc 0x10a01b22, devctl 0x64 [ 12.655501] yenta_cardbus 0000:1a:04.0: ISA IRQ mask 0x0cf8, PCI irq 20 [ 12.655557] yenta_cardbus 0000:1a:04.0: Socket status: 30000006 [ 12.655605] pci_bus 0000:1a: Raising subordinate bus# of parent bus (#1a) from #1b to #1e [ 12.655663] yenta_cardbus 0000:1a:04.0: pcmcia: parent PCI bridge I/O window: 0x2000 - 0x2fff [ 12.655716] yenta_cardbus 0000:1a:04.0: pcmcia: parent PCI bridge Memory window: 0xf8300000 - 0xf83fffff [ 12.655769] yenta_cardbus 0000:1a:04.0: pcmcia: parent PCI bridge Memory window: 0x88000000 - 0x8bffffff [ 12.720838] tifm_7xx1 0000:1a:04.2: PCI INT C -> GSI 22 (level, low) -> IRQ 22 [ 12.799659] synaptics was reset on resume, see synaptics_resume_reset if you have trouble on resume [ 13.065920] uvcvideo: Found UVC 1.00 device Chicony USB 2.0 Camera (04f2:b008) [ 13.067085] input: Chicony USB 2.0 Camera as /devices/pci0000:00/0000:00:13.5/usb1/1-8/1-8:1.0/input/input7 [ 13.077285] usbcore: registered new interface driver uvcvideo [ 13.077356] USB Video Class driver (v0.1.0) [ 13.381158] ath5k_pci 0000:14:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 13.381223] ath5k_pci 0000:14:00.0: setting latency timer to 64 [ 13.381295] ath5k_pci 0000:14:00.0: registered as 'phy0' [ 13.456418] phy0: Selected rate control algorithm 'pid' [ 13.639754] input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input8 [ 13.657977] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 13.674661] ath5k phy0: Atheros AR5414 chip found (MAC: 0xa2, PHY: 0x61) [ 13.696347] hda_codec: Unknown model for ALC268, trying auto-probe from BIOS... [ 13.706425] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input9 [ 13.763145] HDA Intel 0000:01:00.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 13.763255] HDA Intel 0000:01:00.1: setting latency timer to 64 [ 14.018070] lp: driver loaded but no devices found [ 14.107036] Adding 2931852k swap on /dev/sda3. Priority:-1 extents:1 across:2931852k [ 14.130441] EXT4 FS on sda2, internal journal on sda2:8 [ 14.500226] EXT4-fs: barriers enabled [ 14.520430] kjournald2 starting. Commit interval 5 seconds [ 14.520876] EXT4 FS on sda6, internal journal on sda6:8 [ 14.520879] EXT4-fs: delayed allocation enabled [ 14.520880] EXT4-fs: file extents enabled [ 14.533226] EXT4-fs: mballoc enabled [ 14.533230] EXT4-fs: mounted filesystem with ordered data mode. [ 14.900363] type=1505 audit(1249580068.727:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2135 [ 14.948144] type=1505 audit(1249580068.775:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2139 [ 14.948280] type=1505 audit(1249580068.775:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2139 [ 14.948329] type=1505 audit(1249580068.775:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" name2="default" pid=2139 [ 14.948371] type=1505 audit(1249580068.775:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" name2="default" pid=2139 [ 15.080401] type=1505 audit(1249580068.907:7): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=2144 [ 15.080582] type=1505 audit(1249580068.907:8): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=2144 [ 15.110934] type=1505 audit(1249580068.935:9): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2148 [ 21.175786] ppdev: user-space parallel port driver [ 21.766652] pci 0000:01:00.0: power state changed by ACPI to D0 [ 21.766662] pci 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 21.861785] [drm] Initialized drm 1.1.0 20060810 [ 21.900931] pci 0000:01:00.0: setting latency timer to 64 [ 21.901120] [drm] Initialized radeon 1.29.0 20080528 on minor 0 [ 22.725040] [drm] Setting GART location based on new memory map [ 22.740333] [drm] Loading RV610 CP Microcode [ 22.740442] [drm] Loading RV610 PFP Microcode [ 22.755352] [drm] Resetting GPU [ 22.755410] [drm] writeback test succeeded in 1 usecs [ 25.172599] r8169: eth0: link down [ 25.173059] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 25.322290] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 45.103980] wlan0: authenticate with AP 00:21:29:65:c5:f4 [ 45.105499] wlan0: authenticated [ 45.105505] wlan0: associate with AP 00:21:29:65:c5:f4 [ 45.107803] wlan0: RX AssocResp from 00:21:29:65:c5:f4 (capab=0x431 status=0 aid=1) [ 45.107805] wlan0: associated [ 45.108326] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 46.503416] ath5k phy0: noise floor calibration timeout (2412MHz) [ 55.544023] wlan0: no IPv6 routers present [ 75.669568] ath5k phy0: noise floor calibration timeout (2412MHz) [ 83.000038] Clocksource tsc unstable (delta = -135348191 ns) [ 115.679723] ath5k phy0: noise floor calibration timeout (2412MHz) [ 175.679991] ath5k phy0: noise floor calibration timeout (2412MHz) [ 215.033016] APIC error on CPU1: 00(40) [ 215.033025] APIC error on CPU0: 00(40) -------------- next part -------------- 00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64 00:02.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Graphics Port 0) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00009000-00009fff Memory behind bridge: f8000000-f80fffff Prefetchable memory behind bridge: 00000000f0000000-00000000f7ffffff Capabilities: Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 1) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=08, subordinate=0d, sec-latency=0 Capabilities: Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=0e, subordinate=0e, sec-latency=0 I/O behind bridge: 0000a000-0000afff Memory behind bridge: f8100000-f81fffff Prefetchable memory behind bridge: 000000008c000000-000000008c0fffff Capabilities: Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=14, subordinate=14, sec-latency=0 Memory behind bridge: f8200000-f82fffff Capabilities: Kernel driver in use: pcieport-driver Kernel modules: shpchp 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA (prog-if 01) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22 I/O ports at 8440 [size=8] I/O ports at 8434 [size=4] I/O ports at 8438 [size=8] I/O ports at 8430 [size=4] I/O ports at 8400 [size=16] Memory at f8609000 (32-bit, non-prefetchable) [size=1K] Capabilities: Kernel driver in use: ahci 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0) (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 Memory at f8604000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1) (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17 Memory at f8605000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2) (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18 Memory at f8606000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3) (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17 Memory at f8607000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4) (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18 Memory at f8608000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI) (prog-if 20) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19 Memory at f8609400 (32-bit, non-prefetchable) [size=256] Capabilities: Kernel driver in use: ehci_hcd 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14) Subsystem: Toshiba America Info Systems Device ff00 Flags: 66MHz, medium devsel I/O ports at 8410 [size=16] Capabilities: Kernel driver in use: piix4_smbus Kernel modules: i2c-piix4 00:14.1 IDE interface: ATI Technologies Inc SB600 IDE (prog-if 8a [Master SecP PriP]) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at 8420 [size=16] Kernel driver in use: pata_atiixp 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) Subsystem: Toshiba America Info Systems Device ff08 Flags: bus master, slow devsel, latency 64, IRQ 16 Memory at f8600000 (64-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel 00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, 66MHz, medium devsel, latency 0 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01) Flags: bus master, 66MHz, medium devsel, latency 64 Bus: primary=00, secondary=1a, subordinate=1e, sec-latency=64 I/O behind bridge: 00002000-00002fff Memory behind bridge: f8300000-f83fffff Prefetchable memory behind bridge: 88000000-8bffffff 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration Flags: fast devsel Capabilities: 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map Flags: fast devsel 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller Flags: fast devsel 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Flags: fast devsel Capabilities: Kernel driver in use: k8temp Kernel modules: k8temp 01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 2400 Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at f0000000 (32-bit, prefetchable) [size=128M] I/O ports at 9000 [size=256] Memory at f8000000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at f8020000 [disabled] [size=128K] Capabilities: 01:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO] Subsystem: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO] Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at f8010000 (32-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel 0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, fast devsel, latency 0, IRQ 2299 I/O ports at a000 [size=256] Memory at f8100000 (64-bit, non-prefetchable) [size=4K] [virtual] Expansion ROM at 8c000000 [disabled] [size=128K] Capabilities: Kernel driver in use: r8169 Kernel modules: r8169 14:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) Subsystem: Askey Computer Corp. Device 7096 Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at f8200000 (64-bit, non-prefetchable) [size=64K] Capabilities: Kernel driver in use: ath5k_pci Kernel modules: ath_pci, ath5k 1a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, medium devsel, latency 168, IRQ 20 Memory at f8300000 (32-bit, non-prefetchable) [size=4K] Bus: primary=1a, secondary=1b, subordinate=1e, sec-latency=176 Memory window 0: 88000000-8bfff000 (prefetchable) Memory window 1: 90000000-93fff000 I/O window 0: 00002000-000020ff I/O window 1: 00002400-000024ff 16-bit legacy interface ports at 0001 Kernel driver in use: yenta_cardbus Kernel modules: yenta_socket 1a:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller (prog-if 10) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, medium devsel, latency 64, IRQ 21 Memory at f8302000 (32-bit, non-prefetchable) [size=2K] Memory at f8304000 (32-bit, non-prefetchable) [size=16K] Capabilities: Kernel driver in use: ohci1394 Kernel modules: firewire-ohci, ohci1394 1a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, medium devsel, latency 64, IRQ 22 Memory at f8301000 (32-bit, non-prefetchable) [size=4K] Capabilities: Kernel driver in use: tifm_7xx1 Kernel modules: tifm_7xx1 1a:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller (prog-if 01) Subsystem: Toshiba America Info Systems Device ff00 Flags: bus master, medium devsel, latency 64, IRQ 22 Memory at f8302800 (32-bit, non-prefetchable) [size=256] Capabilities: Kernel driver in use: sdhci-pci Kernel modules: sdhci-pci From vince at unsane.co.uk Thu Aug 6 18:05:37 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Aug 6 18:05:45 2009 Subject: Boot failure In-Reply-To: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> Message-ID: <4A7B1B41.7090507@unsane.co.uk> Identry wrote: > Well, the bad day has come... My primary server won't boot. I have > backups of databases and user directories, but I need to try to get > this server back up again. > > During the boot sequence, it freezes at the statement: > > Trying to mount root from ufs:/dev/mfid0s1a > > I tried booting into single user mode, but same issue (of course). > > I don't want to just start hacking at this for fear of making things > work... what is my best, most conservative next step? Try downloading and booting the livefs environment (I think you need cd1 and the livefs cd or just the DVD) and see if you can mount it from that, if not it could be a controller issue. If you can then its probably your OS/kernel but at least you now have access to your data/configs etc etc not to mention you could try extracting the GENERIC kernel from the install media (use the install.sh script in the kernels directory.) Vince > > -- John > _______________________________________________ > 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 luis.henrix at gmail.com Thu Aug 6 18:31:06 2009 From: luis.henrix at gmail.com (Miguel) Date: Thu Aug 6 18:31:18 2009 Subject: Problems with FreeBSD installation In-Reply-To: References: <5b2efe7c0908061053t6d6e9e62mdeba5253ccb4cc88@mail.gmail.com> Message-ID: <5b2efe7c0908061131u17546721g4df6a2f469784842@mail.gmail.com> On Thu, Aug 6, 2009 at 7:16 PM, Ben Fallon wrote: > Might want to take a look at this page as it may provide a bit more insight. The problem isn't with the Machine specifically but with the ATI Sata Controller/Chipset. ?Not sure if this has been fixed yet. > > http://www.mavetju.org/mail/view_message.php?list=freebsd-current&id=2740699 Uau! That's exactly the same problem with the same hardware, and I would be tempted to say that it _has not_ been solved yet. I'll try to contact those guys to try to get some more information. Thanks a lot for the pointer, Ben. Regards, Miguel From bfallon at itbuildersinc.com Thu Aug 6 18:32:49 2009 From: bfallon at itbuildersinc.com (=?windows-1252?Q?Ben_Fallon?=) Date: Thu Aug 6 18:32:57 2009 Subject: Problems with FreeBSD installation In-Reply-To: <5b2efe7c0908061053t6d6e9e62mdeba5253ccb4cc88@mail.gmail.com> References: Message-ID: Might want to take a look at this page as it may provide a bit more insight. The problem isn't with the Machine specifically but with the ATI Sata Controller/Chipset. Not sure if this has been fixed yet. http://www.mavetju.org/mail/view_message.php?list=freebsd-current&id=2740699 -----Original Message----- From: Miguel [mailto:luis.henrix@gmail.com] Sent: Thursday, August 06, 2009 1:53 PM To: Ben Fallon Cc: freebsd-mobile@freebsd.org; freebsd-questions@freebsd.org Subject: Re: Problems with FreeBSD installation On Thu, Aug 6, 2009 at 2:25 PM, Ben Fallon wrote: > What model of laptop is it? ?I just subscribed to the list yesterday and may have missed the beginning of this thread. > You can also check here http://laptop.bsdgroup.de/freebsd/ > It provides details for a bunch of laptops and what the findings were for the models they tested. > On Linux, a simple dmesg will help on seeing what devices were found > by your os otherwise, like BSD, the lspci also works the same. ?Sorry I can't help more without a bit more information. The complete thread can be read here: http://lists.freebsd.org/pipermail/freebsd-questions/2009-August/203491.html My laptop is a Toshiba Satellite A210-1CE, and I am attaching the information you requested: the output from "lspci -v" and dmesg. Hope it helps :-) Regards, Miguel From nlandys at gmail.com Thu Aug 6 18:35:23 2009 From: nlandys at gmail.com (Nerius Landys) Date: Thu Aug 6 18:35:31 2009 Subject: Physically securing FreeBSD workstations & /boot/boot2 Message-ID: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> Hi. I am attempting to secure some workstations in such a way that a user would not be able gain full control of the computer (only user access). However, they are able to see and touch the physical workstation. Things I'm trying to avoid, to list a couple of examples: 1. Go to BIOS settings and configure it to boot from CD first, then stick in a CD. To prevent this I've put BIOS to only boot from hard drive and I've password-locked the BIOS. 2. Go to loader menu and load (boot kernel) with some custom parameters or something. I've secured the loader menu by password-protecting it (/boot/loader.conf has password) and /boot/loader.conf is not world-readable. And I'm sure there are other things, I just forgot them. So my question is: Is this [securing of the workstation] worthwhile, or should I just forget about this kind of security? I want to make it so that the only way to gain full control of the computer is by physically opening up the box. I noticed that boot2 brings up a menu like this one when I press space during the initial boot blocks: >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/boot/loader boot: I guess it would be possible to stick in a floppy disk or something and boot from there? So my question is, is this a threat to my plan, and if so, how can I disable this prompt? From noc at hdk5.net Thu Aug 6 19:31:48 2009 From: noc at hdk5.net (Al Plant) Date: Thu Aug 6 19:31:56 2009 Subject: FreeBSD for the common man(or woman) In-Reply-To: <4A7B16F2.7080304@bah.homeip.net> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> <4A7A8CDB.20004@infracaninophile.co.uk> <4A7B16F2.7080304@bah.homeip.net> Message-ID: <4A7B2FA3.5020603@hdk5.net> Bernt Hansson wrote: > Matthew Seaman skrev: >> Mark Stapper wrote: >> >> >>> In light of this, I would really enjoy seeing a "Ubuntu" like movement >>> in the FreeBSD corner. >>> What I mean is that it would be nice for my mother to install and use >>> FreeBSD. >> >> It's called PC-BSD. > > Have a look at Manolis Kiagias work at > http://freebsd-custom.wikidot.com/downloads-page > > Haven't tried it my self, but it seems I'm going to. > _______________________________________________ > 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" > Aloha, Manolis download worked for me. I used it to install a 7.2 FreeBSD on a Sandisk Flash stick. And I can bring it up from the USB port on my netbook. Works fine except for printing on network. Have to work on setting up the printcap properly. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From tajudd at gmail.com Thu Aug 6 19:35:56 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu Aug 6 19:36:06 2009 Subject: Physically securing FreeBSD workstations & /boot/boot2 In-Reply-To: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> References: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> Message-ID: On 8/6/09, Nerius Landys wrote: > Hi. I am attempting to secure some workstations in such a way that a > user would not be able gain full control of the computer (only user > access). However, they are able to see and touch the physical > workstation. Things I'm trying to avoid, to list a couple of > examples: > > 1. Go to BIOS settings and configure it to boot from CD first, then > stick in a CD. To prevent this I've put BIOS to only boot from hard > drive and I've password-locked the BIOS. You can't beat physical security. If you have access to the hardware, you can TAKE the box, saw it open, unmount the hard drive, slave it into another system, mount it as a data drive and steal the info. geli encryping the drive can secure the data on the disk, but they have your disk. it's as good as stolen data, even if they are unable to decrypt it. After sawing open the case, move the jumper to reset CMOS data, power up, change boot order, and boot off CD. After BIOS is back to normal, stick in a USB drive, boot off the HDD, which is self-decrypting the geli encryption, copy the data off, and scrub the HDD and install Windows on it. The hacker's OS (Just Kidding, all. Little humor is all I'm doing). > 2. Go to loader menu and load (boot kernel) with some custom > parameters or something. I've secured the loader menu by > password-protecting it (/boot/loader.conf has password) and > /boot/loader.conf is not world-readable. If you can do the above, even booting from alternate medium, no other means of security will apply. > And I'm sure there are other things, I just forgot them. > > So my question is: Is this [securing of the workstation] worthwhile, > or should I just forget about this kind of security? I want to make > it so that the only way to gain full control of the computer is by > physically opening up the box. > > I noticed that boot2 brings up a menu like this one when I press space > during the initial boot blocks: > >>> FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > > I guess it would be possible to stick in a floppy disk or something > and boot from there? So my question is, is this a threat to my plan, > and if so, how can I disable this prompt? Only security in these days is to physically secure the box and leave it off the network. Flaws and security problems will always allow unauthorized access. But a computer that's not on the network is of no use. So it's a loose-loose situation. Best effort is to know your people, and either trust them, or fire them. --TJ From sonicy at otenet.gr Thu Aug 6 19:48:15 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Thu Aug 6 19:48:23 2009 Subject: FreeBSD for the common man(or woman) In-Reply-To: <4A7B2FA3.5020603@hdk5.net> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> <4A7A8CDB.20004@infracaninophile.co.uk> <4A7B16F2.7080304@bah.homeip.net> <4A7B2FA3.5020603@hdk5.net> Message-ID: <4A7B337A.5030009@otenet.gr> Al Plant wrote: > Bernt Hansson wrote: >> Matthew Seaman skrev: >>> Mark Stapper wrote: >>> >>> >>>> In light of this, I would really enjoy seeing a "Ubuntu" like movement >>>> in the FreeBSD corner. >>>> What I mean is that it would be nice for my mother to install and use >>>> FreeBSD. >>> >>> It's called PC-BSD. >> >> Have a look at Manolis Kiagias work at >> http://freebsd-custom.wikidot.com/downloads-page >> >> Haven't tried it my self, but it seems I'm going to. >> > Aloha, > > Manolis download worked for me. I used it to install a 7.2 FreeBSD on > a Sandisk Flash stick. And I can bring it up from the USB port on my > netbook. Works fine except for printing on network. Have to work on > setting up the printcap properly. > Thanks for the mention ;) I should however note that although this work takes out most of the compiling steps (and I plan to expand the range of pre-built packages soon), it is still not "a common man's OS", as all the configuration steps are manual. I am also developing some shell scripts that will automate a considerable part of post-setup configuration, but these will need to be tweaked accordingly. It will never become a CD you can give to your dad to install, but will certainly reduce the time an intermediate / seasoned FreeBSDer will need to install a new desktop. There are more than a few things that prevent FreeBSD from becoming friendly to a non-expert, non-willing-to-study-docs user. PC-BSD deals with many of them (preinstalled NVidia, flash support, PBI system) and it gets better all the time. Although if the point is getting a simple user to move away from Windows, most any desktop oriented linux distro will probably do the job. Such a user won't need to have all the choices and absolute control that FreeBSD provides to all of us. From rsmith at xs4all.nl Thu Aug 6 20:21:07 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Aug 6 20:21:15 2009 Subject: Physically securing FreeBSD workstations & /boot/boot2 In-Reply-To: References: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> Message-ID: <20090806201459.GA8957@slackbox.xs4all.nl> On Thu, Aug 06, 2009 at 01:35:55PM -0600, Tim Judd wrote: > On 8/6/09, Nerius Landys wrote: > > Hi. I am attempting to secure some workstations in such a way that a > > user would not be able gain full control of the computer (only user > > access). However, they are able to see and touch the physical > > workstation. Things I'm trying to avoid, to list a couple of > > examples: > > > > 1. Go to BIOS settings and configure it to boot from CD first, then > > stick in a CD. To prevent this I've put BIOS to only boot from hard > > drive and I've password-locked the BIOS. > > > You can't beat physical security. If you have access to the hardware, > you can TAKE the box, saw it open, unmount the hard drive, slave it > into another system, mount it as a data drive and steal the info. > geli encryping the drive can secure the data on the disk, but they > have your disk. it's as good as stolen data, even if they are unable > to decrypt it. > > > After sawing open the case, move the jumper to reset CMOS data, power > up, change boot order, and boot off CD. > > After BIOS is back to normal, stick in a USB drive, boot off the HDD, > which is self-decrypting the geli encryption, copy the data off, and > scrub the HDD and install Windows on it. The hacker's OS (Just > Kidding, all. Little humor is all I'm doing). You can (and should) set geli up to require a passphrase, instead of or next to a key-file. Using only a key-file is like sticking a tin-opener to the tin. > > 2. Go to loader menu and load (boot kernel) with some custom > > parameters or something. I've secured the loader menu by > > password-protecting it (/boot/loader.conf has password) and > > /boot/loader.conf is not world-readable. > > If you can do the above, even booting from alternate medium, no other > means of security will apply. > > > And I'm sure there are other things, I just forgot them. > > > > So my question is: Is this [securing of the workstation] worthwhile, > > or should I just forget about this kind of security? I want to make > > it so that the only way to gain full control of the computer is by > > physically opening up the box. > > > > I noticed that boot2 brings up a menu like this one when I press space > > during the initial boot blocks: > > > >>> FreeBSD/i386 BOOT > > Default: 0:ad(0,a)/boot/loader > > boot: > > > > I guess it would be possible to stick in a floppy disk or something > > and boot from there? So my question is, is this a threat to my plan, > > and if so, how can I disable this prompt? Disconnect or remove the floppy. Adn disable booting from USB devices. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/2a81e943/attachment.pgp From lists at bertram-scharpf.de Thu Aug 6 20:46:23 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Thu Aug 6 20:46:33 2009 Subject: Mouse still crashes with Synaptics In-Reply-To: <20090804112624.GB19171@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> Message-ID: <20090806204621.GA27902@marge.bs.l> Hi, Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > an Acer notebook with a Synaptics Touchpad makes some trouble > here. This is a real mess. Nobody gives me any help and I do not know what to try any further. I reduced the problem to the following behaviour: # dd if=/dev/bpsm0 bs=3 | xxd -c 3 # dd if=/dev/bpsm0 bs=3 | od -x # alternative This prints out 30 to 100 lines while I move my finger around the touchpad. Then the output stops. When I press Ctrl-C and restart the command, I get about 30 to 100 lines again. Moused and any other program that reads /dev/psm0 yield the same behaviour. I tried FreeBSD 6.4, 7.0 and 7.2. It is the same with all three of them. They were all virgin; I just unpacked the base distribution and the generic kernel. As there is nobody out there who likes to help me could at least anyone point me to a documentation how to debug the kernel driver? Or could at least anyone point me to a list where I can get help with severe kernel problems? I have to solve it with 7.2 as the previous versions don't recognize the network card. kernel list -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From jalmberg at identry.com Thu Aug 6 21:31:51 2009 From: jalmberg at identry.com (Identry) Date: Thu Aug 6 21:31:58 2009 Subject: Boot failure In-Reply-To: <4A7B1B41.7090507@unsane.co.uk> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> Message-ID: <4d4e09680908061431q50c6f45bn76040bcc8d1950ae@mail.gmail.com> > Try downloading and booting the livefs environment (I think you need cd1 > and the livefs cd or just the DVD) and see if you can mount it from > that, if not it could be a controller issue. If you can then its > probably your OS/kernel but at least you now have access to your > data/configs etc etc not to mention you could try extracting the GENERIC > kernel from the install media (use the install.sh script in the kernels > directory.) Well, I am in the data center (2 hr drive, unfortunately)... This is an Intel mother board. The front panel light labeled '!' is lit. It isn't lit on the working server. I'm googling right now for the meaning of this light, but if anyone knows off hand, please let me know... I have the cd1 and cd2, but not the livefs cd. I'm going to try to find that right now. Thanks: John From freebsd at edvax.de Thu Aug 6 21:52:45 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 21:52:52 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 overwrites partitions) In-Reply-To: <200908060956.59358.j.mckeown@ru.ac.za> References: <4A76FB32.9050601@videotron.ca> <4A7A89B3.6010206@mapper.nl> <200908060956.59358.j.mckeown@ru.ac.za> Message-ID: <20090806235236.75d43aee.freebsd@edvax.de> On Thu, 6 Aug 2009 09:56:59 +0200, Jonathan McKeown wrote: > PC-BSD is FreeBSD, pre-packaged with a usable desktop and its own simplified > package manager. If you're talking about PBI, that's what the "average user" expects: You open a web browser (d'oh), search for what you think will be the software you need (plus-d'oh) and download it (doubleplus-d'oh). As long as you use PBI only, there's no interference with ports or packages, but you are not encouraged to use a "mix", allthough it's mostly possible. Don't get me wrong: I have several friends who use PC-BSD for years happily now, but it's definitely not my cup of tea for several reasons. PC-BSD does probide a KDE-based preconfigured environment and lots of preinstalled software. It's completely sufficient for the "average user", allthough not for the "average user in Germany", because KDE's internationalisation is not so good (Gnome's is better, as far as I've seen), and not all PBI packages do conform to the language setting (e. g. install in German, install kmplayer, it will be in English, and error messages will be in English, too, that scares the average German user away). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jalmberg at identry.com Thu Aug 6 21:56:25 2009 From: jalmberg at identry.com (Identry) Date: Thu Aug 6 21:56:31 2009 Subject: Expert in Manhattan? Message-ID: <4d4e09680908061456p272538aex2a54658bccf3fcd6@mail.gmail.com> From anti_spam256 at yahoo.ca Thu Aug 6 21:56:43 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Thu Aug 6 21:56:49 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090806120011.8528A106567E@hub.freebsd.org> Message-ID: <182370.92452.qm@web65511.mail.ac4.yahoo.com> --- On Thu, 8/6/09, freebsd-questions-request@freebsd.org wrote: > > Message: 16 > Date: Thu, 6 Aug 2009 06:41:12 -0500 > From: Neal Hogan > Subject: Re: FreeBSD for the common man(or woman) (was: > upgrade 7.2 > ??? overwrites partitions) > To: Mark Stapper > Cc: freebsd-questions@freebsd.org > Message-ID: > ??? > Content-Type: text/plain; charset=ISO-8859-1 > > > I must say that I find this (new) thread a bit funny since > it was > inspired by a guy (the OP) who has been using fBSD for many > years > (over 5 . . . I can't remember the exact number). > I have been struggling to use FreeBSD for a shorter amount of time (for a fileserver). I was originally attracted to OpenBSD "for security." However, OpenBSD users are expected to compile all patches from source. Since I wasn't planning on doing code-reviews myself, I saw little benefit in using extra disk space and compile time when binaries would do. I was also attracted to BSD because I knew from my brief stint at university that the BSD man-pages were actually kept up to date. Not like the GNU system where man pages say stupid things like: "The full documentation for dd is maintained as a Texinfo manual. If the info and dd programs are properly installed at your site, the command: info dd should give you access to the complete manual. dd (coreutils) 5.97 January 2007 DD(1)" I actually saw text once (years ago) that basicly said: "If we receive complaints about the quality of the man pages, they will be removed" I have tried to use info. I don't have time to go through the info tutorial every time I want to use a new command (think emacs-like hyperlinking/scripting, vi-like keybindings) Anyway, Initially, I wanted to set up a "File and everything else" server. I don't know exactly when I installed FreeBSD 5.x, but I copied my files of over to it March 14, 2006. I know this because I lost data: the file creation times. Following the FreeBSD Handbook, I got stuck on trying to get the printer to work. The handbook was basicly instructing me to write my own print driver! I checked the HP website: they will release the details of the PCL language (version 4 or so) for a price. I finally got it working by installing the Apsfiler package in the ports collection (no, did not send the post-card yet; the print server is not functional yet.) After basicly using the server for my own use via ssh and FTP for a while, I decided to try to get samba and NFS working. This time, I narrowed the scope: Fileserving (SAMBA, NFS), Printing, and working backups. November 18, 2007, I started my FreeBSD 6.2 installation. This time I kept notes detailing what I had to do to configure each portion of the system. Looking up commands I may need if things go wrong ahead of time. Initially, I was struggling with a chicken&egg problem with back ups: I wanted to borrow a client computer's DVD drive. However, I wanted to backup the client computers to the server. It was resolved by putting a DVD burner in the server. I also made made few tweaks of the system to better follow the Filesystem Hierarchy Standard (such as symlinking /usr/local/etc to /etc/opt). I set up samba in read-only mode with little trouble. I'm not sure if I can ever get read/write + user-level security working with win98. That machine is slowly degrading while I try to get the fileserver working the way I want. The last time I did a complete re-install (of win98) I lost data due to a damaged disk that I copied the data to (and learned that bzip2recover is a quick hack that needs to be re-written properly according to the source code). I hope to replace windows with wine for the most part, but wine simply installs the applications in the users' home directory (breaking the FHS). This is only resolvable IMHO by having wine use a real database back-end for the registry (allowing user-level "views" of the data, while still isolating different users). Setting up NFS was a lesson in the intecracies of NIS twice since my Linux clients do things a little differently. After asking on one of the IRC channels that we are not advised to use; I edited the /var/yp/Makefile to suppress groups outside the range of (1001 -2000). That basicly prevents the "special" groups from being exported to the Linux clients (that use different numbering) To do this, I DID need the gory low-level details in the handbook. I didn't note the exact date, but I really didn't touch the server for months after that. I copied my work to the Linux client because the hard-disk was failing, and I still did not get DVD-burning working. At one point when doing a Google search for "fxp" I came across this message: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-10/msg00340.html Call for testers: fxp(4) WOL <- My card! At that point, I decided to install the FreeBSD testing release (7.x). I had been felling guilt about leaving a barely-used computer running 24/7. Especially since I wasn't going to trust it with my work aging until I do a successful backup/restore. I finally installed FreeBSD 7.2 (release) on May 9, 2009. However, I now note some feature creep: In addition to file/print and backup server, I want to: 1. Have it sleep when not in use (part of the delay was figuring out how to get the router to send the magic packet. I read RFC's to determine the proper way, and found a "hack" that will work on my floppy-based router for my network set-up (send it every DHCP lease). Proper way: http://www.freesco.org/support-forum/viewtopic.php?f=15&t=17194 (proposal only; rejected due to space constraints) 2. I think I want to move the Voice/Fax/Modem to the machine. Recently I realised a lack of WakeOnRing may impair phone answering if machine is sleeping. 3. I still hope to do "other things" once the machine is working reliably. So, this long story boils down to the following question: What is that best way to use the handbook and related documentation (like man-pages)? I am willing to do some reading, but get distracted by irrelevant or sometimes too low-level stuff. I want to avoid programing as much as possible until I actually have a work-station I am comfortable playing around with. Thinking about it in the week before posting this, I think that part of my problem is I want to use the documentation to do the "right thing" rather than experiment. Once I move the family's files onto the server, it becomes essential. I won't be able to have it out of commission for weeks at a time. I hope with the server properly set up, win98 may even be usable again: just do a clean install every morning! I even downloaded the Windows 7 RC so that I can be informed when I say it sucks. Regards, James Phillips PS: I find it a little annoying that FreeBSD releases faster than I can configure my computer! ;) __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ From identry at gmail.com Thu Aug 6 22:02:00 2009 From: identry at gmail.com (Identry) Date: Thu Aug 6 22:02:12 2009 Subject: Need FreeBSD troubleshooting expert in Manhattan Message-ID: <4d4e09680908061501h6af06d0elb7d0f3d609c3788f@mail.gmail.com> I have a server in Manhattan (NYI.net) that isn't booting. I'm trying to fix it (not making any changes until I'm absolutely sure I know what the problem is and how to fix it), but I have the feeling that this problem may be beyond my relatively limited admin skills. If you are a very experienced FreeBSD admin, close to lower Manhattan, please contact me off list at identry(at)gmail.com. Thanks: John From freebsd at edvax.de Thu Aug 6 22:02:03 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 22:02:13 2009 Subject: FreeBSD for the common man(or woman) In-Reply-To: <4A7B337A.5030009@otenet.gr> References: <4A76FB32.9050601@videotron.ca> <20090803215319.8fad2441.freebsd@edvax.de> <4A798DF2.3020305@videotron.ca> <200908051651.53302.j.mckeown@ru.ac.za> <20090805203337.c6f74172.freebsd@edvax.de> <4A7A89B3.6010206@mapper.nl> <4A7A8CDB.20004@infracaninophile.co.uk> <4A7B16F2.7080304@bah.homeip.net> <4A7B2FA3.5020603@hdk5.net> <4A7B337A.5030009@otenet.gr> Message-ID: <20090807000155.6423c928.freebsd@edvax.de> On Thu, 06 Aug 2009 22:48:10 +0300, Manolis Kiagias wrote: > I should however note that although this work takes out most of the > compiling steps (and I plan to expand the range of pre-built packages > soon), it is still not "a common man's OS", as all the configuration > steps are manual. A truck is not a common man's car. :-) > I am also developing some shell scripts that will > automate a considerable part of post-setup configuration, but these will > need to be tweaked accordingly. I think nearly every admin among us has his own nice collection of such "lazy man's scripts". :-) > There are more than a few things that prevent FreeBSD from becoming > friendly to a non-expert, non-willing-to-study-docs user. This is correct, and related to the nature of FreeBSD, which is a multi-purpose OS. If it would be a single user single PC single task at once OS, maybe. But it can serve as a fine OS on servers, on desktops and on "mixed forms", so there are many selections the person who wants to use it has to make - BY HIMSELF, because the OS doesn't know what you want to do with it. You're supposed to know it, and how to communicate these facts to the OS. As you correctly pointed out, this involves some learning, as well as mastering basic things like understanding the (english) language. > PC-BSD deals > with many of them (preinstalled NVidia, flash support, PBI system) and > it gets better all the time. That is very true. Only some media codecs can be considered a bit problematic, as well as how it deals with common tasks involved with USB sticks n stuff - like plugging out mounted file systems. :-) > Although if the point is getting a simple > user to move away from Windows, most any desktop oriented linux distro > will probably do the job. The "strength" of MICROS~1 software is its aggressive marketing, not its quality. It's so commonly used because users don't know that alternatives do exist, and this is furthermore reasoned in the education system that tells them this "unchangable fact". This way, a "belief" has grown that has nothing to do with real life. > Such a user won't need to have all the choices > and absolute control that FreeBSD provides to all of us. Yes. Suitable defaults and a wisely chosen set of preinstalled software is a way to achieve this. Another way is that people want to buy shiny boxes in a store - and pay for it. This seems to be especially the case for people who regularly use pirated copies of "Windows" and illegally installed expensive software "a friend" gave them because they "need" it. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Aug 6 22:07:15 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 22:07:22 2009 Subject: Opera in your repos In-Reply-To: <20090806014605.GA98688@orange.esperance-linux.co.uk> References: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090806014605.GA98688@orange.esperance-linux.co.uk> Message-ID: <20090807000708.6a321235.freebsd@edvax.de> On Thu, 6 Aug 2009 02:46:05 +0100, Frank Shute wrote: > At least the OP didn't make the faux pas of calling FreeBSD a Linux > distro like one of his colleagues did a couple of years ago on this > list. I've seen this in a german Linux magazine, titeling in a way similar to this: "FreeBSD - the professional Linux". :-) > He'll also be relieved to know that plenty of people use Opera on > FreeBSD. My whole life. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Aug 6 22:14:23 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 22:14:30 2009 Subject: foot-shot? In-Reply-To: <20090806025100.GA79700@thought.org> References: <20090805174038.GA19895@thought.org> <20090806025100.GA79700@thought.org> Message-ID: <20090807001415.e3c86b62.freebsd@edvax.de> On Wed, 5 Aug 2009 19:51:00 -0700, Gary Kline wrote: > Been thinking over what someone said recently about restricting or > dropping further ports. BSD is the best opensource system around. But > keeping everything current is painful. If you're not running a public or mission critical server - then don't do it. I've used a 5.4 installation for many years without any problems, and without the need to update something. But I'm crazy anyway. :-) > Does anybody know if PCBSD is as > pushbutton as, say, Ubuntu is? Quite. You won't have major problems because English already is your native language. If you're comfortable with KDE and will be using the PBI installer (read: "Push Button Installer"), it can be a fine system. Even OS updates are distributed in PBI format. > I'll always use FreeBSD on my DNS, > apache22, and mail server side. Zero crashes in 7 years. But if I want > to play music or watch a DVD--or do serious web video stuff--I use Ubuntu. "Serious web video stuff" - how many contradictions does this statement include? :-) No, seriously: Especially if you rely on "Flash", Linux doesn't seem to be as... well... problematic? as FreeBSD. > I'd like to say kilowatts by having one "tao" that can handle everything > from hacking code to playing a movie. That's FreeBSD to me since 4.0, but I have to admit that my needs haven't yet grown to all the "modern web media" stuff... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Aug 6 22:15:43 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 22:15:49 2009 Subject: eclipse install In-Reply-To: <4A7A45A3.4080902@boosten.org> References: <1249506008.4520.5.camel@penguin.coert.local> <20090805233332.2f58fa88.freebsd@edvax.de> <4A7A45A3.4080902@boosten.org> Message-ID: <20090807001530.098e314f.freebsd@edvax.de> On Thu, 06 Aug 2009 04:53:23 +0200, Peter Boosten wrote: > Polytropon wrote: > > On FreeBSD, you don't need to download things manually via a web > > browser in this old fashioned way. :-) > > Unfortunately this is not true for the jdk. But it's only a minor > disadvantage ;-) Sadly, you are true, and that's one of the few things that still annoy me when setting up a new system without preloaded Java files at hand. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nealhogan at gmail.com Thu Aug 6 22:25:11 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Aug 6 22:25:25 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <182370.92452.qm@web65511.mail.ac4.yahoo.com> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> Message-ID: > inspired by a guy (the OP) who has been using fBSD for many >> years >> (over 5 . . . I can't remember the exact number). >> > > I have been struggling to use FreeBSD for a shorter amount of time (for a fileserver). I was originally attracted to OpenBSD "for security." However, OpenBSD users are expected to compile all patches from source. Since I wasn't planning on doing code-reviews myself, I saw little benefit in using extra disk space and compile time when binaries would do.i run -current (via snapshots) > [snip . . . a lot, which I didn't read] > So, this long story boils down to the following question: > > What is that best way to use the handbook and related documentation (like man-pages)? > What?! Ummm . . . read them. I'm not trying to be too big of a dick, but your question strikes me as odd. Read them when you come across something that is troubling you. I suppose there is no need to read about, say, wifi card drivers that you don't use. > I am willing to do some reading, but get distracted by irrelevant or sometimes too low-level stuff. I want to avoid programing as much as possible until I actually have a work-station I am comfortable playing around with. How do you expect to get comfortable w/out "playing around," other than, I guess (a'la above) reading the documentation? >Thinking about it in the week before posting this, I think that part of my problem is I want to use the documentation to do the "right thing" rather than experiment. Once I move the family's files onto the server, it becomes essential. I won't be able to have it out of commission for weeks at a time. I hope with the server properly set up, win98 may even be usable again: just do a clean install every morning! I even downloaded the Windows 7 RC so that I can be informed when I say it sucks. > > > Regards, > > James Phillips > > PS: I find it a little annoying that FreeBSD releases faster than I can configure my computer! ;) Again . . . What?! You're not required to update every time there is a release. This too is odd, IMO. > > > > > ? ? ?__________________________________________________________________ > Looking for the perfect gift? Give the gift of Flickr! > > http://www.flickr.com/gift/ > _______________________________________________ > 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 jalmberg at identry.com Thu Aug 6 22:31:14 2009 From: jalmberg at identry.com (Identry) Date: Thu Aug 6 22:31:27 2009 Subject: Boot failure In-Reply-To: <4A7B1B41.7090507@unsane.co.uk> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> Message-ID: <4d4e09680908061531g71f35488wcca164c530985e55@mail.gmail.com> > Identry wrote: >> >> During the boot sequence, it freezes at the statement: >> >> ? ? Trying to mount root from ufs:/dev/mfid0s1a >> > Try downloading and booting the livefs environment (I think you need cd1 > and the livefs cd or just the DVD) and see if you can mount it from > that, if not it could be a controller issue. If you can then its > probably your OS/kernel but at least you now have access to your > data/configs etc etc not to mention you could try extracting the GENERIC > kernel from the install media (use the install.sh script in the kernels > directory.) I've booted the install CD1 and found something called 'fixit' mode. I've been googling, but can't seem to find any info on 'fixit'. Is it possible to use this instead of a livefs disk? BTW, this is a 6.3 system. -- John From rsmith at xs4all.nl Thu Aug 6 22:34:41 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Aug 6 22:34:48 2009 Subject: Boot failure In-Reply-To: <4d4e09680908061431q50c6f45bn76040bcc8d1950ae@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061431q50c6f45bn76040bcc8d1950ae@mail.gmail.com> Message-ID: <20090806223404.GA12602@slackbox.xs4all.nl> On Thu, Aug 06, 2009 at 05:31:49PM -0400, Identry wrote: > > Try downloading and booting the livefs environment (I think you need cd1 > > and the livefs cd or just the DVD) and see if you can mount it from > > that, if not it could be a controller issue. If you can then its > > probably your OS/kernel but at least you now have access to your > > data/configs etc etc not to mention you could try extracting the GENERIC > > kernel from the install media (use the install.sh script in the kernels > > directory.) > > Well, I am in the data center (2 hr drive, unfortunately)... > > This is an Intel mother board. The front panel light labeled '!' is > lit. It isn't lit on the working server. I'm googling right now for > the meaning of this light, but if anyone knows off hand, please let me > know... If it won't boot from the MegaRAID, and there is a red exclamation mark showing on the front panel, I'd say there is a good chance that you've got a hardware problem... Maybe try another RAID card, if you have one available? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090806/e8d51602/attachment.pgp From rwmaillists at googlemail.com Thu Aug 6 22:35:22 2009 From: rwmaillists at googlemail.com (RW) Date: Thu Aug 6 22:35:29 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <200908051414.49468.david@vizion2000.net> References: <200908051414.49468.david@vizion2000.net> Message-ID: <20090806233509.7935c23d@gumby.homeunix.com> On Wed, 5 Aug 2009 14:14:49 +0100 David Southwell wrote: > Hi every one > > My understanding is that one uses the amd64 for building a kernel for > systems with Intel Quad Core processors. > > It is helpful when naming conventions follow a logical strand. I mean > why does freebsd use a single manufacturer's name to represent a > genre? The time to complain about that was when they put the "i" in i386. From anti_spam256 at yahoo.ca Thu Aug 6 22:41:42 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Thu Aug 6 22:41:50 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: Message-ID: <945518.43400.qm@web65507.mail.ac4.yahoo.com> --- On Thu, 8/6/09, Neal Hogan wrote: > > So, this long story boils down to the following > question: > > > > What is that best way to use the handbook and related > documentation (like man-pages)? > > > > What?! > > Ummm . . . read them. I'm not trying to be too big of a > dick, but your > question strikes me as odd. Read them when you come across > something > that is troubling you. I suppose there is no need to read > about, say, > wifi card drivers that you don't use. > > > I am willing to do some reading, but get distracted by > irrelevant or sometimes too low-level stuff. I want to avoid > programing as much as possible until I actually have a > work-station I am comfortable playing around with. > > How do you expect to get comfortable w/out "playing > around," other > than, I guess (a'la above) reading the documentation? > Put another way: I want a reliable, backed-up file-server before playing around on my "workstation" that would be a separate computer. I want to build myself a "sand-box" so I don't have to worry about breaking stuff that is unrelated. Another way of asking the question: How much of a learning curve is configuring FreeBSD (for Samba, NFS, DVD burning (backups) expected to be? Am I reading too much because of a learning disability, or do I really need to read and understand that much detail? I have some experience with Dos/Windows, and Linux (mainly Debian based). Regards, James Phillips __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com From nealhogan at gmail.com Thu Aug 6 22:56:59 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Aug 6 22:57:15 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <945518.43400.qm@web65507.mail.ac4.yahoo.com> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> Message-ID: >> How do you expect to get comfortable w/out "playing >> around," other >> than, I guess (a'la above) reading the documentation? >> > > Put another way: I want a reliable, backed-up file-server before playing around on my "workstation" that would be a separate computer. > > I want to build myself a "sand-box" so I don't have to worry about breaking stuff that is unrelated. > > Another way of asking the question: > > How much of a learning curve is configuring FreeBSD (for Samba, NFS, DVD burning (backups) expected to be? Am I reading too much because of a learning disability, or do I really need to read and understand that much detail? > > I have some experience with Dos/Windows, and Linux (mainly Debian based). > I'm still a bit dumb-founded, because I'm not sure what an answer to that question would look like and how one could formulate a "decent" answer. I wonder if installing fBSD on a "sand-box" partition/machine and just build sand castles until you're comfortable is the best way to go. If your looking for someone (i.e., one or three folks) to say, "Oh, fBSD is very intuitive and if you know M$, then the migration should be a breeze!" Good luck! In fact, how would you treat any answer that you got to your question. I think you should just try it (I suspect having a linux background will help). > > Regards, > > James Phillips > > > ? ? ?__________________________________________________________________ > Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com > From norgaard at locolomo.org Thu Aug 6 22:58:28 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Thu Aug 6 22:58:35 2009 Subject: Physically securing FreeBSD workstations & /boot/boot2 In-Reply-To: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> References: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> Message-ID: <4A7B6010.2090506@locolomo.org> Nerius Landys wrote: > Hi. I am attempting to secure some workstations in such a way that a > user would not be able gain full control of the computer (only user > access). However, they are able to see and touch the physical > workstation. I assume that users cannot tingle with the hardware, take it apart, add a different disk etc. and that only authorized users can physically access the computer. That's what physical security is about. I understand you may have some authorized user who will nevertheless try to gain elevated privileges. That's really logical security, local that is as opposed to remote/network security. > 2. Go to loader menu and load (boot kernel) with some custom > parameters or something. I've secured the loader menu by > password-protecting it (/boot/loader.conf has password) and > /boot/loader.conf is not world-readable. > > And I'm sure there are other things, I just forgot them. You can configure the loader such as not to present any loader menu but boot right away. If you need the option of booting into single user mode, then you can password protect single user mode. > So my question is: Is this [securing of the workstation] worthwhile, > or should I just forget about this kind of security? I want to make > it so that the only way to gain full control of the computer is by > physically opening up the box. You can always make it more difficult, which should give you less to worry about. You have to weigh how much work it takes against how much you really have to worry about, then decide when it's enough. How about running diskless? How about centralized authentication with NIS or LDAP? Another option is to disable root locally, that is the account still exist but with * in the password field.. If each workstation runs sshd you can use key based authentication to gain privileged access remotely while local access is disabled. > I noticed that boot2 brings up a menu like this one when I press space > during the initial boot blocks: > >>> FreeBSD/i386 BOOT > Default: 0:ad(0,a)/boot/loader > boot: > > I guess it would be possible to stick in a floppy disk or something > and boot from there? So my question is, is this a threat to my plan, > and if so, how can I disable this prompt? you've still got floppies? wow. How about trying to boot a floppy with your current configuration? I'm not sure that it will work at that stage if it has been disabled in the bios. It might be possible to load the kernel from the harddisk then tell the kernel to mount the floppy as root device. You could solve that by compiling a kernel without floppy support and delete the kernel module. You need to learn how to script the loader, read the source code, I don't recall finding much documentation on that last time I looked. Others suggest you encrypt the harddrive, I don't find it very useful in your case, I assume your users need to access the systems and use them for the intended purposes and you just want to protect against someone trying to escalate his privileges. If you encrypt partitions with geli then you'll have to enter the password every time somebody reboots. However, you should consider encrypted swap and temporary partition, together with forced reboot on logout you avoid session data getting in the hands of the next user. BR, Erik -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From nightrecon at hotmail.com Thu Aug 6 22:59:21 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Thu Aug 6 22:59:28 2009 Subject: Boot failure References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061431q50c6f45bn76040bcc8d1950ae@mail.gmail.com> Message-ID: Identry wrote: >> Try downloading and booting the livefs environment (I think you need cd1 >> and the livefs cd or just the DVD) and see if you can mount it from >> that, if not it could be a controller issue. If you can then its >> probably your OS/kernel but at least you now have access to your >> data/configs etc etc not to mention you could try extracting the GENERIC >> kernel from the install media (use the install.sh script in the kernels >> directory.) > > Well, I am in the data center (2 hr drive, unfortunately)... > > This is an Intel mother board. The front panel light labeled '!' is > lit. It isn't lit on the working server. I'm googling right now for > the meaning of this light, but if anyone knows off hand, please let me > know... > > I have the cd1 and cd2, but not the livefs cd. I'm going to try to > find that right now. > I do not know exactly what the light is indicating, such things are usually located in the hardware docs that came with the server. I would hazard a guess that it is indicating a hardware failure. If you are exceedingly lucky it might not be a FreeBSD issue as long as the data on the hard drive(s) has not been corrupted. If it were me, the very first thing I'd do is power down and disconnect the drives. I'd install for temporary testing purposes any old spare blank hard drive I had laying around. If it is a brand name server there may have been included a diagnostics CD. Boot from that and see what happens. Next up is a boot to the BIOS configuration screen. When you power up the first item normally displayed is the text from the video ROM initialization. After this should be some form of announcement on how to get into BIOS config. Press whatever key and enter. Look for one of the preconfigured options such as "BIOS Defaults". If you can select this and save the board will be set to a fairly fail-safe set of defaults. Note that what this is telling you is the video and motherboard are initializing. If you cannot get to this point you may have a dead motherboard. Most boards will emit some form of beep code if the video ROM fails to initialize. Next up is if the board proceeds past this point watch for drive controller initialization. Most (most notably RAID) server controllers may have a message display when the controller ROM initializes indicating some form of key-press combo to enter the controller configuration. An example would be "press Ctrl-A" you'll see from an Adaptec card/chip. If you cannot get to any of these stages consider either dead motherboard or power supply problem. Easiest way to confirm/eliminate a power supply is to substitute a known 100% functional one and see if you can now get to the afore mentioned stage(s) of boot. Power supply problems can sometimes manifest as hard drives that don't want to spin up. Listen and you can usually tell if they spin up, or not. Your trouble sounds most like hardware failure. And because in your first email you did indicate a "Trying to mount root..." error most of the above described basic troubleshooting will end up being either dead hard drive(s) or malfunctioning controller. The reason I would have substituted a known good "scratch" drive earlier is twofold: if it can boot or install or otherwise initialize the controller it is indicative that the controller is OK and the problem is most likely dead drive(s). Secondly, you don't want to take any chances on damaging the data yourself with all this mucking about. If there has been drive failure you will need to replace, reinstall, and restore. If it has been a controller failure you will never have any success either booting, or installing a minimum system to the "scratch" drive. A controller failure also has the possibility of having already destroyed your data. Again, replace, reinstall, restore will be the order of the day. This is just some quickly thrown out stuff in hopes it may be useful to you. It sounds like a hardware failure and not only do you have to deal with that first, you may also have to reinstall and/or restore from backup as well. I typed this up rather in a hurry, (so it's a little 'scrambled') but I think if read in totality you get the idea on things you can do to isolate and resolve. Good luck to you in any event. -Mike From sonicy at otenet.gr Thu Aug 6 23:09:54 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Thu Aug 6 23:10:02 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <945518.43400.qm@web65507.mail.ac4.yahoo.com> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> Message-ID: <4A7B62BF.9050102@otenet.gr> James Phillips wrote: > Put another way: I want a reliable, backed-up file-server before playing around on my "workstation" that would be a separate computer. > > I want to build myself a "sand-box" so I don't have to worry about breaking stuff that is unrelated. > > Another way of asking the question: > > How much of a learning curve is configuring FreeBSD (for Samba, NFS, DVD burning (backups) expected to be? Am I reading too much because of a learning disability, or do I really need to read and understand that much detail? > > I have some experience with Dos/Windows, and Linux (mainly Debian based). > > > Windows experience won't help much - mainly due to the fact Windows forces the users (and admins) to a completely different way of thinking than FreeBSD. The various wizards abstract way too many parts of the system, to the point where you can configure services you don't really understand (i.e. a DNS server is a few clicks away and there are many 'recommended' defaults along the way). This is mostly not possible in FreeBSD. You do need some level of understanding before making a particular feature to work, though you are not expected to be an expert on the subject. The level of course varies with the feature (sendmail is orders of magnitude more difficult than NFS). Linux experience will definitely help. Watch out for Linux-specific docs and differences in commands. Getting on with your questions: NFS is part of the base system. It is easy to configure and works with Linux clients as well. Read section 29.3.2 here: http://www.freebsd.org/doc/en/books/handbook/network-nfs.html Samba is a port you can install from net/samba3. Some simple instructions are provided, section 29.9.2: http://www.freebsd.org/doc/en/books/handbook/network-samba.html The main settings file, smb.conf, can probably be used with little to no changes from a Linux machine (if you have one configured). Don't forget to use pdbedit to add samba users (this is documented in the handbook) For DVD burning (from the command line, I assume) use the sysutils/dvd+rw-tools port. If using an atapi burner, load the atapicam driver at startup by adding atapicam_load="YES" to /boot/loader.conf. This will create a /dev/cd0 from your /dev/acd0 device (it emulates a SCSI device). Then use the instructions in 18.7.3: http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html You can definitely start testing these in a virtual machine or test system and come back with any questions. And take your time reading the docs and actually understanding the way the system works. This will make you a lot more confident. From mel.flynn+fbsd.questions at mailing.thruhere.net Thu Aug 6 23:37:37 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu Aug 6 23:37:44 2009 Subject: Mouse still crashes with Synaptics In-Reply-To: <20090806204621.GA27902@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> <20090806204621.GA27902@marge.bs.l> Message-ID: <200908061537.34431.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 06 August 2009 12:46:21 Bertram Scharpf wrote: > Hi, > > Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > > an Acer notebook with a Synaptics Touchpad makes some trouble > > here. > > This is a real mess. Nobody gives me any help and I do not know > what to try any further. I sometimes run stuff under nobody, but never mail with it. FWIW, you don't need synaptics support or driver for vertical scrolling on a touchpad, only for the horizontal scrolling and some extra features. The psm driver nor moused has been taught about horizontal scrolling last time I checked. Kernel debugging is outlined in the developers handbook and a minute investigated in searching the archives, the FreeBSD website or even google, would have shown you that. http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html You might get some help on freebsd-x11 list. -- Mel From identry at gmail.com Thu Aug 6 23:38:21 2009 From: identry at gmail.com (Identry) Date: Thu Aug 6 23:38:28 2009 Subject: Freebsd expert in Manhattan? Message-ID: <4d4e09680908061638x3c02ac4cr7ce5a492b9350871@mail.gmail.com> I've got a server in lower manhattan (at NYI.net datacenter) that hangs when trying to mount the root partition. I'm working on it right now, but have a feeling this may be beyond my limited admin skills, and I really need this server back online ASAP. Might be time to hire a professional. Can anyone recommend an experienced admin in the NYC area? Or if you are available yourself, please contact me off list at identry@gmail.com Thanks: John From ambur at in.com Thu Aug 6 23:44:43 2009 From: ambur at in.com (ambur) Date: Thu Aug 6 23:44:50 2009 Subject: Hi how are you Message-ID: <1249601646.e36258b3c74f08054a974a5fe1703f9c@mail.in.com> Hey you Im live on webcam check me out! Check my camDear questions! Get Yourself a cool, short @in.com Email ID now! From freebsd at edvax.de Thu Aug 6 23:45:55 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 23:46:02 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <182370.92452.qm@web65511.mail.ac4.yahoo.com> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> Message-ID: <20090807014546.3d524df6.freebsd@edvax.de> On Thu, 6 Aug 2009 14:56:41 -0700 (PDT), James Phillips wrote: > I was also attracted to BSD because I knew from my brief stint at > university that the BSD man-pages were actually kept up to date. As a developer, documentation is VERY important to me. That's why I love FreeBSD, because the OS and many ported applications have manpages (try "man opera" for example); furthermore, kernel inter- faces, library functions and even files have a nice manpage. > Not like the GNU system [...] This page is intentionally left free. :-) > Following the FreeBSD Handbook, I got stuck on trying to get the > printer to work. The handbook was basicly instructing me to write > my own print driver! Definitely not. In order to connect the printer spooler (which takes care of the different printer jobs) with a printer filter (that con- verts the data, usually Postscript, into the printer's individual language, e. g. PCL) such as CUPS or apsfilter, there are only very few steps to be taken, such as install it, set up which printer you have, and maybe change Letter to A4 format. > I checked the HP website: they will release the details of the PCL > language (version 4 or so) for a price. The PCL language is usually output by gs (the Ghostscript printer "driver" collection that translates PS into PCL and other printer languages). > I finally got it working by installing the Apsfiler package in the > ports collection (no, did not send the post-card yet; the print > server is not functional yet.) Personally, I prefer apsfilter to CUPS, but maybe you would have liked CUPS better. It offers a browser based interface and offers lots of autodetection functionality. (But you can't install a parallel printer that isn't connected to the system easily, for example.) Setting up a printer with the apsfilter SETUP script is very easy as long as you know which name the printer has - you mentioned HP. And if it's a HP Laserjet, you're lucky. You're even more lucky if your printer does support the PS standard, because then you can avoid using any printer filter (such as apsfilter) because PS is the default output format for printing, and it can be fed directly into the printer. > After basicly using the server for my own use via ssh and FTP for > a while, I decided to try to get samba and NFS working. There are some good tutorials about how to do this. It's not very complicated. The complexity is given by the expected MICROS~1 client PCs that don't support standards like NFS. :-) > This time, I narrowed the scope: Fileserving (SAMBA, NFS), Printing, > and working backups. That's quite easy to achieve by following the howtos. > November 18, 2007, I started my FreeBSD 6.2 installation. This time > I kept notes detailing what I had to do to configure each portion > of the system. Looking up commands I may need if things go wrong > ahead of time. A good choice. I've still got some of them, especially for the "more complicated things" like Samba. > Initially, I was struggling with a chicken&egg problem with back > ups: I wanted to borrow a client computer's DVD drive. However, > I wanted to backup the client computers to the server. It was > resolved by putting a DVD burner in the server. I also made > made few tweaks of the system to better follow the Filesystem > Hierarchy Standard (such as symlinking /usr/local/etc to /etc/opt). Erm, excuse me? First of all, it's not encouraged to mix OS things with application things. You know that FreeBSD keeps the difference between "the OS" and "everything else" (which is located in the /usr/local subtree). If you're coming from a Linux background, I could understand that you're not familiar with this concept. The /usr/local subtree can be completely removed and still leaves you with a completely intact and functional OS. Everything that you install by ports or packages goes into /usr/local, and of course, the configuration files belong there, too. /usr/local/etc has the same structure as /etc, but it's reserved for additional software. Vice versa, configuration files of locally installed ports do not belong into /etc. Refer to % man hier to learn where things are kept on FreeBSD. > I set up samba in read-only mode with little trouble. I'm not > sure if I can ever get read/write + user-level security working > with win98. Sure, I don't know if "Win98" does support this. But if you get the users and data managed centrally, everything is based upon the standard UFS user:group and ugo=rwx setting scheme. > That machine is slowly degrading while I try to get the fileserver > working the way I want. That indicates a major problem. Either your hardware is faulty, or you are treating the software in the wrong way. > The last time I did a complete re-install (of win98) I lost data > due to a damaged disk that I copied the data to (and learned that > bzip2recover is a quick hack that needs to be re-written properly > according to the source code). It's completely normal that you lose data on "Windows" platforms. That's why you have a UNIX server for backups. > I hope to replace windows with wine for the most part, but wine > simply installs the applications in the users' home directory > (breaking the FHS). No. You run wine as a user application, so you have user rights only. Then, wine of course provides a user-based installation of your desired "Windows" program. A workaround could be to create a special user, e. g. "wincompat", that is used to install the applications. His home directory /home/wincompat is then set to allow access for other users, so they can execute the (there installed) "Windows" programs instead of requiring a user-local installation. > This is only resolvable IMHO by having wine use a real database > back-end for the registry (allowing user-level "views" of the > data, while still isolating different users). That's a bit complicated, but still possible with the standard file attributes on a UFS file system - I hope I understood you correctly. > Setting up NFS was a lesson in the intecracies of NIS twice > since my Linux clients do things a little differently. After > asking on one of the IRC channels that we are not advised to use; [...] We? > [...] I edited the /var/yp/Makefile to suppress groups outside > the range of (1001 -2000). That basicly prevents the "special" > groups from being exported to the Linux clients (that use different > numbering) It's traditional to create a "name:name" for user "name". Of course, there's no problem of grouping your user names to "name:group1" and similar things; "name:staff" comes into mind. > To do this, I DID need the gory low-level details in the handbook. > I didn't note the exact date, but I really didn't touch the server > for months after that. I copied my work to the Linux client because > the hard-disk was failing, and I still did not get DVD-burning > working. There's the growisofs tool from the ports. The port's name is dvd+rw-tools. You simply run % growisofs -Z /dev/dvd -r -J somedata/ or refer to % man growisofs for detailed information. (I have a symling dvd -> cd0 so it fits to the manpage.) Of course, you don't need ISO-9660 for data DVDs, you could record tar archives onto them directly, but that's another topic. > At one point when doing a Google search for "fxp" I came across this message: > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-10/msg00340.html > Call for testers: fxp(4) WOL <- My card! The fxp NIC is an Intel one, right? I still have one, works good, and is excellently supported. > At that point, I decided to install the FreeBSD testing release > (7.x). Testing? A release isn't for testing, it's for a productive and functional system. If you intend testing, you would require the latest sources from HEAD, which is 8-CURRENT at the moment. > I had been felling guilt about leaving a barely-used computer running > 24/7. Especially since I wasn't going to trust it with my work aging > until I do a successful backup/restore. You should always test your backups early. Defective backups are NO backups. > I finally installed FreeBSD 7.2 (release) on May 9, 2009. However, I > now note some feature creep: > In addition to file/print and backup server, I want to: > 1. Have it sleep when not in use (part of the delay was figuring out > how to get the router to send the magic packet. I read RFC's to > determine the proper way, and found a "hack" that will work on my > floppy-based router for my network set-up (send it every DHCP lease). Are you talking about the "wake on LAN" feature? > 2. I think I want to move the Voice/Fax/Modem to the machine. Recently > I realised a lack of WakeOnRing may impair phone answering if machine > is sleeping. I think that's been calling "wake on modem"... it reminds me to a funny accident when a customer told me that when his phone rings, his computer starts up. :-) > 3. I still hope to do "other things" once the machine is working > reliably. FreeBSD's good load management should make this possible. > So, this long story boils down to the following question: > > What is that best way to use the handbook and related documentation > (like man-pages)? Read and understand. Ask if something is not clear to you. > I am willing to do some reading, but get distracted by irrelevant or > sometimes too low-level stuff. Selective reading (skipping irrelevant stuff) is handy. > I want to avoid programing as much as > possible until I actually have a work-station I am comfortable playing > around with. Well, I do it the same way. > Thinking about it in the week before posting this, I think that part > of my problem is I want to use the documentation to do the "right > thing" rather than experiment. Once I move the family's files onto > the server, it becomes essential. Remember to regularly backup, and check the backups. > I won't be able to have it out of commission for weeks at a time. > I hope with the server properly set up, win98 may even be usable > again: just do a clean install every morning! Doesn't it reinstall automatically by itself? :-) > I even downloaded the Windows 7 RC so that I can be informed when > I say it sucks. Well... I'm familiar with most of "Windows" problems, but my house has always been a "Windows" free zone, so it doesn't even affect me if it sucks. :-) > PS: I find it a little annoying that FreeBSD releases faster than > I can configure my computer! ;) And I find it a little annoying that if I decide to update my system, a new release is soon coming, encouraging me to wait until it's finally released. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From pschmehl_lists at tx.rr.com Thu Aug 6 23:50:06 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Thu Aug 6 23:50:14 2009 Subject: KDE3 --> KDE4 Message-ID: Can someone who has already done this upgrade suggest the best way to go about it? Do I need to completely uninstall kde3 first? Is there an upgrade path that's not fraught with gotchas? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From freebsd at edvax.de Thu Aug 6 23:50:38 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 23:50:45 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <945518.43400.qm@web65507.mail.ac4.yahoo.com> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> Message-ID: <20090807015035.8e1227e4.freebsd@edvax.de> On Thu, 6 Aug 2009 15:41:40 -0700 (PDT), James Phillips wrote: > Put another way: I want a reliable, backed-up file-server before > playing around on my "workstation" that would be a separate > computer. The default installation of FreeBSD covers most cases. > I want to build myself a "sand-box" so I don't have to worry > about breaking stuff that is unrelated. You could be interested in FreeBSD's jail subsystem. > Another way of asking the question: > > How much of a learning curve is configuring FreeBSD (for Samba, NFS, > DVD burning (backups) expected to be? Depends completely on you. On your knowledge, experience, the basics you're familiar with, and the paradigms that you have lived in that make you expect certain things to work. Samba - find a good tutorial that covers your needs. NFS - same DVD burning - install dvd+rw-tools and read "man growisofs", especially the EXAMPLES section. > Am I reading too much because of a learning disability, or do I > really need to read and understand that much detail? No. You just have to understand the things that are directly related to your requirements. For example, I know how to set up a PCL printer, but I don't know how to program in PCL. :-) > I have some experience with Dos/Windows, and Linux (mainly Debian > based). Should be fine. But keep in mind that FreeBSD is not Linux, allthough there are many similarities. And FreeBSD is not DOS. And it does not look like DOS. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Aug 6 23:55:31 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Aug 6 23:55:38 2009 Subject: Boot failure In-Reply-To: <4d4e09680908061531g71f35488wcca164c530985e55@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061531g71f35488wcca164c530985e55@mail.gmail.com> Message-ID: <20090807015439.efd5c8e0.freebsd@edvax.de> On Thu, 6 Aug 2009 18:31:12 -0400, Identry wrote: > I've booted the install CD1 and found something called 'fixit' mode. > I've been googling, but can't seem to find any info on 'fixit'. Is it > possible to use this instead of a livefs disk? As far as I remember, that's correct. CD1 contains the fixit shell. If you want a full-featured live file system (including X), you can download FreeSBIE. To me, it has become a helpful tool in problematic cases. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Aug 7 00:04:24 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 7 00:05:03 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <4A7B62BF.9050102@otenet.gr> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> Message-ID: <20090807020416.b7c0ddcf.freebsd@edvax.de> On Fri, 07 Aug 2009 02:09:51 +0300, Manolis Kiagias wrote: > Windows experience won't help much - mainly due to the fact Windows > forces the users (and admins) to a completely different way of thinking > than FreeBSD. That's true. It's even hard to communicate with "'Windows' admins" because of a completey different and misleading terminology - and sadly often the lack of understanding what they're talking about. > The various wizards abstract way too many parts of the > system, to the point where you can configure services you don't really > understand (i.e. a DNS server is a few clicks away and there are many > 'recommended' defaults along the way). Insecure mode: This is the mode you want. Select it NOW! :-) > This is mostly not possible in > FreeBSD. You do need some level of understanding before making a > particular feature to work, though you are not expected to be an expert > on the subject. The level of course varies with the feature (sendmail is > orders of magnitude more difficult than NFS). Yes. As I said (elsewhere), FreeBSD is a multi-purpose OS. It does not know what you are intending to use it for, and it doesn't make any assumptions. So you have to communicate your requirements to the system. This requires a certain knowledge, of course. > Linux experience will definitely help. As long as your Linux experience includes basic UNIX (quite generic) knowledge. If you're only familiar with clicking in a pre-installed KDE, it's not much better than "Windows". > For DVD burning (from the command line, I assume) use the > sysutils/dvd+rw-tools port. If using an atapi burner, load the atapicam > driver at startup by adding atapicam_load="YES" to /boot/loader.conf. I forgot to mention this. You are correct of course. > This will create a /dev/cd0 from your /dev/acd0 device (it emulates a > SCSI device). To conform with the growisofs manual, you could symlink it to /dev/dvd using the setting link acd0 cdrom in /etc/devfs.conf. Check for permissions to the files that are needed with burning commands - the ordinary user is usually not allowed to access these files in the needed way (due to security considerations). For example, you can put own cd0 root:operator perm cd0 0664 own xpt0 root:operator perm xpt0 0660 own pass0 root:operator perm pass0 0660 into the file mentioned above and add your user to the operator group (using the pw command). Once taken the time to set things up, they make you happy running for a lifetime. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From erich at apsara.com.sg Fri Aug 7 00:08:41 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Fri Aug 7 00:08:48 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <20090806110712.GA5475@owl.midgard.homeip.net> References: <200908051414.49468.david@vizion2000.net> <200908061718.10505.erich@apsara.com.sg> <20090806110712.GA5475@owl.midgard.homeip.net> Message-ID: <200908070808.32646.erich@apsara.com.sg> Hi, On 06 August 2009 pm 19:07:12 Erik Trulsson wrote: > On Thu, Aug 06, 2009 at 05:18:09PM +0800, Erich Dollansky wrote: > > On 06 August 2009 pm 16:40:41 Mark Stapper wrote: > > > Erich Dollansky wrote: > > > > IA 64? Wans't this once - or still is - the term used for > > > > the Itanium? > > > > > > The one that didn't stick... indeed. > > > > do they really sell machines with this CPU in numbers? > > Wikipedia article on Itanium, Intel manufactures around 200,000 even for a 'RISC' CPU, this number seems very low to me. > > I have not seen one in the wild. > > Not surprising since the Itanium is mainly used in the kind of > high-end server systems that us ordinary people rarely see and > certainly can't afford to buy. I see Sun and IBM machines in places where the Itanium should fit. Some moved away from HP to avoid the Itanium. I know, USD 1 000 000 or more is not what normal people pay for a small computer. Erich From andrewlylegould at gmail.com Fri Aug 7 00:15:21 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri Aug 7 00:15:28 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: On Thu, Aug 6, 2009 at 6:21 PM, Paul Schmehl wrote: > Can someone who has already done this upgrade suggest the best way to go > about it? ?Do I need to completely uninstall kde3 first? ?Is there an > upgrade path that's not fraught with gotchas? > > -- > Paul Schmehl, Senior Infosec Analyst > Unless things have changed very recently, KDE4 is in its own directory folder. This may imply that KDE3 and KDE4 can coexist. As always, YMMV. Best of luck, Andrew From kline at thought.org Fri Aug 7 00:25:18 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 00:25:31 2009 Subject: foot-shot? In-Reply-To: <20090807001415.e3c86b62.freebsd@edvax.de> References: <20090805174038.GA19895@thought.org> <20090806025100.GA79700@thought.org> <20090807001415.e3c86b62.freebsd@edvax.de> Message-ID: <20090807002507.GB83349@thought.org> On Fri, Aug 07, 2009 at 12:14:15AM +0200, Polytropon wrote: > On Wed, 5 Aug 2009 19:51:00 -0700, Gary Kline wrote: > > Been thinking over what someone said recently about restricting or > > dropping further ports. BSD is the best opensource system around. But > > keeping everything current is painful. > > If you're not running a public or mission critical server - then > don't do it. I've used a 5.4 installation for many years without > any problems, and without the need to update something. But I'm > crazy anyway. :-) > well, thought.org is public, but i just have the basics. it is a Server, period. > > > > Does anybody know if PCBSD is as > > pushbutton as, say, Ubuntu is? > > Quite. You won't have major problems because English already is > your native language. If you're comfortable with KDE and will be > using the PBI installer (read: "Push Button Installer"), it can > be a fine system. Even OS updates are distributed in PBI format. > Super! just offhand, can i install PCSD *over* thius FBSd --7.1--? Keep /usr/home and so on? Or is PCBSD a do-it-from-scratch? (I'm pretty much OS agnostic [[so long as it's somethng like UNIX]], but here I know where things live... With ubuntu, diff't story.) > > > > I'll always use FreeBSD on my DNS, > > apache22, and mail server side. Zero crashes in 7 years. But if I want > > to play music or watch a DVD--or do serious web video stuff--I use Ubuntu. > > "Serious web video stuff" - how many contradictions does this > statement include? :-) No, seriously: Especially if you rely on > "Flash", Linux doesn't seem to be as... well... problematic? as > FreeBSD. hm, not sure how much flash is used, really. i just avoid as much of it as I can. if i can watch a public broadcasting stream i usually KVM over to my Ubntu box. ....mmmm. Hope the just-works PCBSD just-works here. > > > > > I'd like to say kilowatts by having one "tao" that can handle everything > > from hacking code to playing a movie. > > That's FreeBSD to me since 4.0, but I have to admit that my needs > haven't yet grown to all the "modern web media" stuff... > > i am not that into the-tube... but for science broadcasts, yep. especially things i've missed and are somewhere online. thanks for the datapoints! gary > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From jalmberg at identry.com Fri Aug 7 00:33:16 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 00:33:25 2009 Subject: Boot failure In-Reply-To: <4A7B1B41.7090507@unsane.co.uk> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> Message-ID: <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> > Try downloading and booting the livefs environment (I think you need cd1 > and the livefs cd or just the DVD) and see if you can mount it from > that, if not it could be a controller issue. If you can then its > probably your OS/kernel but at least you now have access to your > data/configs etc etc not to mention you could try extracting the GENERIC > kernel from the install media (use the install.sh script in the kernels > directory.) Okay! Good news, I think. I used the 'fixit' mode, that is available through the installation disk, to mount the disk that fails to mount during boot up. What I did was: mount /dev/mfid0s1a /test It mounts successfully and I can see everything in that partition. So I guess the question now is, if I can mount it manually, why doesn't it mount during the boot process? -- John From kline at thought.org Fri Aug 7 00:33:43 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 00:33:51 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <20090807003338.GC83349@thought.org> On Thu, Aug 06, 2009 at 11:21:14PM +0000, Paul Schmehl wrote: > Can someone who has already done this upgrade suggest the best way to go > about it? Do I need to completely uninstall kde3 first? Is there an > upgrade path that's not fraught with gotchas? > i have a "me-too" here. i don't use very many of the KDE things. mostly the text-to-speech tools. last time things in kde4 were broken.... i think the kttsd failed. i'd be interested in Paul's question. it may be that kde3 is sopping up waaaay to much disc space. only have 6.5g left.... gary > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > > _______________________________________________ > 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 5.67a release of Jottings: http://jottings.thought.org/index.php From freebsd at edvax.de Fri Aug 7 00:37:34 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 7 00:37:40 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <20090807023726.804e0b17.freebsd@edvax.de> On Thu, 6 Aug 2009 19:15:18 -0500, Andrew Gould wrote: > Unless things have changed very recently, KDE4 is in its own directory > folder. Terminology: the directory (is not a folder, and not a directory folder). FreeBSD has directories, not folders. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Aug 7 00:43:49 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 7 00:43:56 2009 Subject: foot-shot? In-Reply-To: <20090807002507.GB83349@thought.org> References: <20090805174038.GA19895@thought.org> <20090806025100.GA79700@thought.org> <20090807001415.e3c86b62.freebsd@edvax.de> <20090807002507.GB83349@thought.org> Message-ID: <20090807024341.a95c178c.freebsd@edvax.de> On Thu, 6 Aug 2009 17:25:07 -0700, Gary Kline wrote: > Super! just offhand, can i install PCSD *over* thius FBSd > --7.1--? Keep /usr/home and so on? basically yes. Check if the installer allows you NOT to format the partition where you have your home directories. If it is /usr/home instead of /home (its own partition), problems may occur. Maybe you delete everything from /usr EXCEPT the home/ subtree and then tell the PC-BSD installer NOT to format the /usr partition. So your home directories should be intact. Keep copies of /etc/group,passwd et al. so you won't have to add all the users (if you have more than one) manually. > Or is PCBSD a > do-it-from-scratch? As FreeBSD, PC-BSD's "underlying OS", you are not forced to wipe anything. > (I'm pretty much OS agnostic [[so long > as it's somethng like UNIX]], but here I know where things > live... With ubuntu, diff't story.) Some people say that PC-BSD is the Ubuntu of the BSD's, or worse, the "Windows" in the UNIX world. :-) > hm, not sure how much flash is used, really. i just avoid as > much of it as I can. if i can watch a public broadcasting > stream i usually KVM over to my Ubntu box. ....mmmm. > Hope the just-works PCBSD just-works here. Should be no problem to forward X from the Ubuntu box to PC-BSD. There's even a "Flash" plugin available as PBI. > i am not that into the-tube... Therefore, thetube-dl -a exists. :-) > but for science broadcasts, > yep. especially things i've missed and are somewhere online. Too sad such stuff mostly isn't provided in a standardized video format (even streaming format)... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From djuatdelta at gmail.com Fri Aug 7 01:32:57 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Aug 7 01:33:03 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090807020416.b7c0ddcf.freebsd@edvax.de> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> <20090807020416.b7c0ddcf.freebsd@edvax.de> Message-ID: > Once taken the time to set things up, they make you happy running for > a lifetime. :-) Amen. From pschmehl_lists at tx.rr.com Fri Aug 7 02:08:54 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri Aug 7 02:09:00 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: --On August 6, 2009 7:15:18 PM -0500 Andrew Gould wrote: > > On Thu, Aug 6, 2009 at 6:21 PM, Paul Schmehl > wrote: >> Can someone who has already done this upgrade suggest the best way to go >> about it? ?Do I need to completely uninstall kde3 first? ?Is there an >> upgrade path that's not fraught with gotchas? >> >> -- >> Paul Schmehl, Senior Infosec Analyst >> > > Unless things have changed very recently, KDE4 is in its own directory > folder. This may imply that KDE3 and KDE4 can coexist. > > As always, YMMV. I was looking for something a little more definitive, like I upgraded like this, and here's the problems I ran into. I don't want to run KDE3 and KDE4 side by side. I want to migrate from the former to the latter. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From mel.flynn+fbsd.questions at mailing.thruhere.net Fri Aug 7 02:29:33 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri Aug 7 02:29:40 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <200908061829.30618.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 06 August 2009 15:21:14 Paul Schmehl wrote: > Can someone who has already done this upgrade suggest the best way to go > about it? Do I need to completely uninstall kde3 first? Is there an > upgrade path that's not fraught with gotchas? Wait a week I'd say. KDE 4.3.0 has hit the ports tree rather fast to be in time for the ports freeze and a lot of stuff is being ironed out. In fact, probably the best time is after the ports freeze is over. But I expect the big gotchas to be gone in a few days. -- Mel From andrewlylegould at gmail.com Fri Aug 7 03:04:22 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri Aug 7 03:04:29 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807023726.804e0b17.freebsd@edvax.de> References: <20090807023726.804e0b17.freebsd@edvax.de> Message-ID: On Thu, Aug 6, 2009 at 7:37 PM, Polytropon wrote: > On Thu, 6 Aug 2009 19:15:18 -0500, Andrew Gould wrote: >> Unless things have changed very recently, KDE4 is in its own directory >> folder. > > Terminology: the directory (is not a folder, and not a directory folder). > FreeBSD has directories, not folders. :-) > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Okay. I'm trainable. ;-) From cstankevitz at toyon.com Fri Aug 7 03:06:41 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Fri Aug 7 03:06:49 2009 Subject: Strange timing when reading from the serial port Message-ID: <4A7B8FD1.9040003@toyon.com> Hello, I have a device that sends one byte over the serial line every 10ms. Using c, I wrote an application that opens the serial port and reads bytes in an infinite loop. I disabled all blocking (O_NONBLOCK, VMIN=0, VTIME=0, B115200). My CPU spends ~100% of its time calling read() [which almost always returns 0]. I compute the time each byte shows up using gettimeofday(). By differencing the time of successive samples, I can compute the time it took each byte to arrive. Since the bytes are transmitted at 100Hz, I expect to find that delta_time is 10ms. For several seconds I get good results with delta_time = 10ms with a noise of ~50us Then performance deteriorates and I get 10ms + with a noise of ~50us and a bias that cycles through 0ms, 5ms, 0ms -5ms. Then results go back to good. See a graph of this here (y axis is delta_timeval, x axis is time in sec): http://img218.imageshack.us/img218/4944/plot1t.gif http://img12.imageshack.us/img12/9693/plot2.gif http://img10.imageshack.us/img10/5995/plot3.gif Q: What is the source of the alternating +/- 5ms bias that comes and goes every few seconds? Possible answers: 1. My external device is sending the bytes strangely (I don't believe this, but I can use an oscilliscope to confirm). 2. read() doesn't return within 1ms of the data coming in to the serial port. 3. gettimeofday() does not return a time good to 1ms 4. none of the above Thank you for your help! Chris PS: I am using 7.2-RELEASE From modulok at gmail.com Fri Aug 7 03:25:39 2009 From: modulok at gmail.com (Modulok) Date: Fri Aug 7 03:25:47 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090807020416.b7c0ddcf.freebsd@edvax.de> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> <20090807020416.b7c0ddcf.freebsd@edvax.de> Message-ID: <64c038660908062025p5b14ab56xeb3abc6ccada8f2e@mail.gmail.com> [snip] > Once taken the time to set things up, they make you happy running for > a lifetime. :-) [/snip] It's nice to be able to go on vacation, without worrying about the servers back home craping out :) -Modulok- From pschmehl_lists at tx.rr.com Fri Aug 7 03:26:22 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri Aug 7 03:26:29 2009 Subject: KDE3 --> KDE4 In-Reply-To: <200908061829.30618.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200908061829.30618.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <806ECB2662CDB48E55ACD743@Macintosh-2.local> --On August 6, 2009 9:29:30 PM -0500 Mel Flynn wrote: > > On Thursday 06 August 2009 15:21:14 Paul Schmehl wrote: >> Can someone who has already done this upgrade suggest the best way to go >> about it? Do I need to completely uninstall kde3 first? Is there an >> upgrade path that's not fraught with gotchas? > > Wait a week I'd say. KDE 4.3.0 has hit the ports tree rather fast to be > in > time for the ports freeze and a lot of stuff is being ironed out. In > fact, > probably the best time is after the ports freeze is over. But I expect > the big > gotchas to be gone in a few days. > -- Thanks, Mel. I'll wait. Will there be instructions in /usr/ports/UPDATING after the freeze? (There's nothing in there now about upgrading.) Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From news at sitedoctors.net Fri Aug 7 04:00:42 2009 From: news at sitedoctors.net (SiteDoctors.net) Date: Fri Aug 7 04:00:50 2009 Subject: SiteDoctors.net Seeking Dialup Resellers Message-ID: <28acc7df7c026989de36053e142b2119@www.mailprosx.com> Your email client cannot read this email. To view it online, please go here: http://www.mailprosx.com/mp/display.php?M=375717&C=a3f0ba90d46aaafb8a32ff1b7f99ccfe&S=847&L=96&N=827 To stop receiving these emails:http://www.mailprosx.com/mp/unsubscribe.php?M=375717&C=a3f0ba90d46aaafb8a32ff1b7f99ccfe&L=96&N=847 From kline at thought.org Fri Aug 7 05:13:03 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 05:13:11 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <64c038660908062025p5b14ab56xeb3abc6ccada8f2e@mail.gmail.com> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> <20090807020416.b7c0ddcf.freebsd@edvax.de> <64c038660908062025p5b14ab56xeb3abc6ccada8f2e@mail.gmail.com> Message-ID: <20090807051253.GA84152@thought.org> On Thu, Aug 06, 2009 at 09:25:38PM -0600, Modulok wrote: > [snip] > > Once taken the time to set things up, they make you happy running for > > a lifetime. :-) > [/snip] > > It's nice to be able to go on vacation, without worrying about the > servers back home craping out :) > > -Modulok- Really. Just one reason why I don't travel that far from home:-) Really, tho, since I set up FreeBSD on my HP Kayak, then turned one into my sole server 0.0 crashes in 7 years. The only fret is a power-out. My surge-protector kicks in and protects things. Yeah, there are UPS devs, but it's 3/2 bear getting *that* right.... gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From kstewart at owt.com Fri Aug 7 05:27:04 2009 From: kstewart at owt.com (Kent Stewart) Date: Fri Aug 7 05:27:11 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <200908062227.00953.kstewart@owt.com> On Thursday 06 August 2009 05:53:05 pm Paul Schmehl wrote: > --On August 6, 2009 7:15:18 PM -0500 Andrew Gould > > wrote: > > On Thu, Aug 6, 2009 at 6:21 PM, Paul Schmehl > > > > wrote: > >> Can someone who has already done this upgrade suggest the best way to go > >> about it? ?Do I need to completely uninstall kde3 first? ?Is there an > >> upgrade path that's not fraught with gotchas? > >> > >> -- > >> Paul Schmehl, Senior Infosec Analyst > > > > Unless things have changed very recently, KDE4 is in its own directory > > folder. This may imply that KDE3 and KDE4 can coexist. > > > > As always, YMMV. > > I was looking for something a little more definitive, like I upgraded like > this, and here's the problems I ran into. > > I don't want to run KDE3 and KDE4 side by side. I want to migrate from > the former to the latter. There are features that haven't made it to kde4 such as koffice. I added OpenOffice but that can be a long compile. One of my favorite sites crashes konqueror, which wasn't a problem on kde3. I left my slower machine, which I use for e-mail, and web browsing running kde3 and play with kde4 on my system that can do a portupgrade -pfR kde4 in 7 hours and build OO in less than 2 hours. It is running kde-4.3 now and it has been recursively rebuilt. The browser crash is still there. I can use the packages of common ports to update the slower machine. They are on a 4-port kvm and it is too easy to simply use the machine that works the best. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From kline at thought.org Fri Aug 7 05:49:18 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 05:49:25 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807023726.804e0b17.freebsd@edvax.de> References: <20090807023726.804e0b17.freebsd@edvax.de> Message-ID: <20090807054909.GD84152@thought.org> On Fri, Aug 07, 2009 at 02:37:26AM +0200, Polytropon wrote: > On Thu, 6 Aug 2009 19:15:18 -0500, Andrew Gould wrote: > > Unless things have changed very recently, KDE4 is in its own directory > > folder. > > Terminology: the directory (is not a folder, and not a directory folder). > FreeBSD has directories, not folders. :-) > Absolutely! I don't want to sound like *that* much of a unix-bigot; but here, i guess i am. Isn't the word "directory" part of graphy theory? Or is it just "K&R theory" :-) -g > > > -- > 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 5.67a release of Jottings: http://jottings.thought.org/index.php From perrin at apotheon.com Fri Aug 7 06:18:55 2009 From: perrin at apotheon.com (Chad Perrin) Date: Fri Aug 7 06:19:03 2009 Subject: Looking for fast graphical web browser In-Reply-To: References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> Message-ID: <20090807061137.GA4290@kokopelli.hydra> On Mon, Aug 03, 2009 at 08:27:34AM -0400, Chris Hill wrote: > > Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess > that's 2.5 keystrokes, but at least it's keystrokes. What version number would you call "some time" ago? I just used Ctrl-Q about six hours or so ago. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Christopher Hitchens: "What can be asserted without proof can be dismissed without proof." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/481d928b/attachment.pgp From perrin at apotheon.com Fri Aug 7 06:25:25 2009 From: perrin at apotheon.com (Chad Perrin) Date: Fri Aug 7 06:25:31 2009 Subject: Looking for fast graphical web browser In-Reply-To: <200908031153.22226.w.riegler@cbtl.de> References: <200908031153.22226.w.riegler@cbtl.de> Message-ID: <20090807061807.GB4290@kokopelli.hydra> On Mon, Aug 03, 2009 at 11:53:22AM +0200, Wolfgang Riegler wrote: > Has anyone tested Arora? I wouldn't recommend Arora as a "lightweight" browser to anyone who isn't already using applications built with the Qt toolkit. If you're a KDE user, it may be a good choice; if you aren't, it spectacularly fails at least one category of "lightweight" qualification, generally speaking. For that reason, I have not given Arora a try myself: I have found nothing compelling enough about any Qt applications to justify installing them and, along with them, the Qt GUI toolkit libraries (and any other KDE libraries the app in question might pull in). Your mileage, of course, may vary. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Thomas McCauley: "The measure of a man's real character is what he would do if he knew he would never be found out." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/61ed5c88/attachment.pgp From corky1951 at comcast.net Fri Aug 7 06:28:37 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Fri Aug 7 06:28:43 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807054909.GD84152@thought.org> References: <20090807023726.804e0b17.freebsd@edvax.de> <20090807054909.GD84152@thought.org> Message-ID: <20090807062833.GA75338@comcast.net> On Thu 06 Aug 2009 at 22:49:09 PDT Gary Kline wrote: >On Fri, Aug 07, 2009 at 02:37:26AM +0200, Polytropon wrote: >> On Thu, 6 Aug 2009 19:15:18 -0500, Andrew Gould wrote: >> > Unless things have changed very recently, KDE4 is in its own directory >> > folder. >> >> Terminology: the directory (is not a folder, and not a directory folder). >> FreeBSD has directories, not folders. :-) >> > > > Absolutely! I don't want to sound like *that* much of a unix-bigot; but > here, i guess i am. Isn't the word "directory" part of graphy > theory? Or is it just "K&R theory" :-) I'd always assumed it was a term borrowed from the telephone system that was Bell Labs main concern. The list mapping names to telephone numbers (or vice versa) was called a directory, as in "directory assistance". In Unix, the names are filenames and the numbers are inodes. From kline at thought.org Fri Aug 7 06:42:39 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 06:42:46 2009 Subject: not dead [yet]. In-Reply-To: References: Message-ID: <20090807064233.GC84268@thought.org> On Tue, Aug 04, 2009 at 10:37:46PM +0000, b. f. wrote: > Roland Smith wrote: > >What you can do is make a list of all installed ports with ports-mgmt/portmaster: > > portmaster -L >ports.list > > > >Looking through this list, you'll see four categories; > >- Root ports (No dependencies, not depended on) > >- Trunk ports (No dependencies, are depended on) > >- Branch ports (Have dependencies, are depended on) > >- Leaf ports (Have dependencies, not depended on) > > > >Basically, you can delete any of the leaf and root ports, because > >they're not depended on. E.g. if you have the following in your list as > >a leaf port: > > ===>>> qemu-0.10.6 > >you can execute 'pkg_delete -d qemu-0.10.6' as root, and it is gone. > > If you're only interested in deletion, "-l" should be preferred to > "-L". And portmaster with these flags does not always account for > build dependencies. so with this method you may occasionally remove a > port that is only used to build other ports, but is not a runtime > dependency of any other port. Also, occasionally a port Makefile > doesn't properly account for some dependencies, and removing them will > break the port. So there may be some breakages that you'll have to > fix, but this shouldn't happen often. > > When removing ports, I sometimes use pkg_deinstall -vR, sometimes also > with -i. because it can clean out the now-unneeded dependencies of > the port I'm removing, which speeds up this process. Provided your > pkgdb and portsdb are up-to-date, it's a little better than portmaster > -s, which relies on +REQUIRED_BY to detect stale dependencies, and may > occasionally fail. > > b. Hmm. here is the output from df: ~ Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 507630 363386 103634 78% / devfs 1 1 0 100% /dev /dev/ad0s1e 507630 107700 359320 23% /tmp /dev/ad0s1f 32816996 24508992 5682646 81% /usr /dev/ad0s1d 2007598 862818 984174 47% /var linprocfs 4 4 0 100% /usr/compat/linux/proc Since this box was a give and top qual, a Dell running a 2.4GHz, no complaints. I asked and the gifter installed two optical drives and a new secondary hard drive. '07, i think. so do i really have > 300G? the thing i don't understand is: *what* could be using up 80% of /usr? For as much as I use things-gui, i like both KDE and Gnome. Hate to have all them electrons weighing things down with, say, koffice, when i don't use it. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From ltcddats at nildram.co.uk Fri Aug 7 06:43:59 2009 From: ltcddats at nildram.co.uk (ltcddats@nildram.co.uk) Date: Fri Aug 7 06:44:06 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <20090807071507.4c3a9364@davids-website.com> On Thu, 6 Aug 2009 19:15:18 -0500 Andrew Gould wrote: > On Thu, Aug 6, 2009 at 6:21 PM, Paul > Schmehl wrote: > > Can someone who has already done this upgrade suggest the best way > > to go about it? ?Do I need to completely uninstall kde3 first? ?Is > > there an upgrade path that's not fraught with gotchas? > > > > -- > > Paul Schmehl, Senior Infosec Analyst > > > > Unless things have changed very recently, KDE4 is in its own directory > folder. This may imply that KDE3 and KDE4 can coexist. > > As always, YMMV. > > Best of luck, > > Andrew Be careful, I had to remove KDE4 and rebuild KDE3 after a KDE4 update screwed over KDE3. Ultimately that got me to move over to Xfce4 as I do not like KDE4 at all. > _______________________________________________ > 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 perrin at apotheon.com Fri Aug 7 07:00:18 2009 From: perrin at apotheon.com (Chad Perrin) Date: Fri Aug 7 07:00:25 2009 Subject: Opera in your repos In-Reply-To: <20090806014605.GA98688@orange.esperance-linux.co.uk> References: <200908050743.05363.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090806014605.GA98688@orange.esperance-linux.co.uk> Message-ID: <20090807065254.GD4290@kokopelli.hydra> On Thu, Aug 06, 2009 at 02:46:05AM +0100, Frank Shute wrote: > > BSD=Berkeley Software Distribution AKA distro of Unix That's not the same as saying that FreeBSD is a "distribution". FreeBSD is not called "a BSD of Unix", after all. It's a "BSD Unix system" or "BSD Unix OS", or simply a "BSD Unix". The difference is that "BSD" refers to the point of origin in this case, and the ancestral codebase, and the license. A "Linux distribution" is Linux, bundled up with other software, to produce a OS package for distribution. A "BSD Unix" system, on the other hand, is a Unix system of the BSD tradition. The term BSD originally referred to the fact that a set of software was distributed together under the auspices of UC Berkeley. Since FreeBSD, NetBSD, and OpenBSD are not distributed by UC Berkeley's Computer Systems Research Group any longer, the term "BSD" now just refers a family relation of sorts, and is a term of tradition rather than a literal statement about the nature of the software's character in some way. One might say it's a "software distribution package", of course, but in colloquial usage, the abbreviated "distro" or "distribution" without any more specific reference to the context of the term has a meaning particular to the Linux-based operating system distribution model, where there's a core component common across many operating system variants and those variations are known as "distributions" of the common core. When the term "distribution" is used without more specific context, it is generally understood to mean "a particular variant software bundle among many such options built around a common core component that, altogether, makes a unique operating system". FreeBSD, however, is not such a thing at all. It is a complete operating system developed as a whole. . . . so while there may be *some* sense of truth in your explanation for why it's "a distribution", I don't think that's really a meaningful definition for purposes of enabling clear communication about the nature of the FreeBSD OS and its development project, and I sympathize with those who say "It's an operating system, not a distro." DesktopBSD and PC-BSD, on the other hand . . . I've been far too pedantic for one email on such an inconsequential subject. I'll stop now. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth H. L. Mencken: "Democracy is the theory that the common people know what they want and deserve to get it good and hard." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/34066b6a/attachment.pgp From bf1783 at googlemail.com Fri Aug 7 09:00:48 2009 From: bf1783 at googlemail.com (b. f.) Date: Fri Aug 7 09:00:57 2009 Subject: not dead [yet]. In-Reply-To: <20090807064233.GC84268@thought.org> References: <20090807064233.GC84268@thought.org> Message-ID: On 8/7/09, Gary Kline wrote: > > Hmm. here is the output from df: > > ~ > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 363386 103634 78% / > devfs 1 1 0 100% /dev > /dev/ad0s1e 507630 107700 359320 23% /tmp > /dev/ad0s1f 32816996 24508992 5682646 81% /usr > /dev/ad0s1d 2007598 862818 984174 47% /var > linprocfs 4 4 0 100% /usr/compat/linux/proc > > Since this box was a give and top qual, a Dell running a 2.4GHz, no > complaints. > I asked and the gifter installed two optical drives and a new secondary hard > drive. > > '07, i think. so do i really have > 300G? the thing i don't understand is: > *what* > could be using up 80% of /usr? > > For as much as I use things-gui, i like both KDE and Gnome. Hate to have > all them > electrons weighing things down with, say, koffice, when i don't use it. > > gary > I must have missed something in this thread. Last time I looked, we were talking about port deletions. At a glance, it looks like you have about 35Gb -- the df output says that those are 1kb blocks. It also looks like /usr/local is not a separate mountpoint, so both the base system software in /usr and the third-party software in /usr/local are counting towards the roughly 23Gb used in /usr. (But why ask us? Just run du(1) or something, and find out.) I have older hardware, so I use the CLI as much as I can, and favor lightweight programs, only using a few components of Gnome. If you feel overburdened, consider dropping one of the desktops, or using a lightweight alternative like Xfce. Or do like I do and just use a lightweight windows manager, not a full desktop, and cherrypick a few pieces of software from the full desktops. This person was giving you a computer for free, and you somehow managed to get them to install new, extra drives before they handed it over?! Tell them I need one, too. b. From vince at unsane.co.uk Fri Aug 7 10:52:52 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Aug 7 10:53:00 2009 Subject: Boot failure In-Reply-To: <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> Message-ID: <4A7C074C.9060303@unsane.co.uk> Identry wrote: >> Try downloading and booting the livefs environment (I think you need cd1 >> and the livefs cd or just the DVD) and see if you can mount it from >> that, if not it could be a controller issue. If you can then its >> probably your OS/kernel but at least you now have access to your >> data/configs etc etc not to mention you could try extracting the GENERIC >> kernel from the install media (use the install.sh script in the kernels >> directory.) > > Okay! Good news, I think. I used the 'fixit' mode, that is available > through the installation disk, to mount the disk that fails to mount > during boot up. > > What I did was: > > mount /dev/mfid0s1a /test > > It mounts successfully and I can see everything in that partition. > > So I guess the question now is, if I can mount it manually, why > doesn't it mount during the boot process? > I'd give it an fsck or two (more than one has been needed once or twice), also has anything changed with the server (updates etc etc) for example why was it rebooted? I seem to recall a verbose boot mode in the boot menu. does that give any hints beyond the freeze you see when you try and boot? Are you using the GENERIC kernel, if not have you tried it? Vince > -- John > _______________________________________________ > 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 lists at bertram-scharpf.de Fri Aug 7 11:21:33 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Fri Aug 7 11:21:39 2009 Subject: Mouse still crashes with Synaptics In-Reply-To: <200908061537.34431.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090804112624.GB19171@marge.bs.l> <20090806204621.GA27902@marge.bs.l> <200908061537.34431.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090807112130.GA15761@marge.bs.l> Hi, Am Donnerstag, 06. Aug 2009, 15:37:34 -0800 schrieb Mel Flynn: > On Thursday 06 August 2009 12:46:21 Bertram Scharpf wrote: > > You might get some help on freebsd-x11 list. As I mentioned twice I manage to reproduce the problem just calling "dd". It is definitely not an X11 issue. I really made great effort on pointing this out. This is very disappointing. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From on at cs.ait.ac.th Fri Aug 7 11:42:39 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Fri Aug 7 11:42:46 2009 Subject: Cleaning email Message-ID: <200908071142.n77BgWKF034276@banyan.cs.ait.ac.th> Hi, reading around the FAQ for FreeBSD mailing list, I see that the mailing list server does some message cleaning (converting HTML to text, etc). >From reading the list, it does a very good job and I would not mind using the same facility for my own mail if only I knew what is being used. I don't want just any solution, that works more or less, but the very well tested solution used by FreeBSD mailing lists. Best regards, Olivier From on at cs.ait.ac.th Fri Aug 7 11:47:36 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Fri Aug 7 11:47:42 2009 Subject: Sendmail to duplicate messages In-Reply-To: <4A65947B.1070905@infracaninophile.co.uk> (message from Matthew Seaman on Tue, 21 Jul 2009 11:12:11 +0100) References: <200907210458.n6L4wtYC018412@banyan.cs.ait.ac.th> <4A65947B.1070905@infracaninophile.co.uk> Message-ID: <200908071147.n77BlVom034358@banyan.cs.ait.ac.th> Hi, With some delay... Thanks Matthew, > > What rule, in what file should I set-up to have my mail sendmail mail > > server duplicate all messages to another mail server? > >=20 > > I am in the proces sof setting-up a new mail server; in the meantime I > > want all messages arriving to my current mail server under sendmail to > > be duplicated to the new mail server (under postfix, for all it > > matters); so the mailboxes are keept in sync. > >=20 > > How can I do that with sendmail? > > I believe you should be able to do this with virtusertable. You will nee= > d to > configure the new machine to accept e-mail using a distinct domain so the= > old > server can route e-mail to it, and the new server would need to accept y= > our > actual domain name for delivery too. > > Then you need is a /etc/mail/virtusertable file with contents like so: > > @your-domain.com %@new.your-domain.com > @your-domain.com % I have tried that but virtusertable is a hash table, so it can only have one line of the form @your-domain.com. > Alternately, if your back-end mail store is using IMAP, then you can use > imapsync (ports: mail/imapsync) to duplicate mail account contents from t= > he > old server to the new one. I was looking at that solution too, but it needs the passwords of the users. I ended up with mb2md (/usr/ports/mail/mb2md) that I slightly modified to fix the mode of the files created and to have a filename that suits me more. And I iterate that script on my users list. As I have only 200 users and about 4 GB of mail, it takes only 10 minutes, quite acceptable time. bests, Olivier From roberthuff at rcn.com Fri Aug 7 12:15:23 2009 From: roberthuff at rcn.com (Robert Huff) Date: Fri Aug 7 12:15:30 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090807061137.GA4290@kokopelli.hydra> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> Message-ID: <4A7C1AD3.5060503@rcn.com> Chad Perrin wrote: >> Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess >> that's 2.5 keystrokes, but at least it's keystrokes. > > What version number would you call "some time" ago? I just used Ctrl-Q > about six hours or so ago. The FreeBSD machine with Firefox is down but here on Windows, using a stock 3.0.13, Ctl-Q has no effect. Nor is it listed as a shortcut for "Exit" under the [File] menu. Have you perhaps customized yours? Now doing Ctl-W on the last window will close the program, but I like to keep the two separate; this is one (C list) reason I usually use SeaMonkey. Robert Huff From freebsd-questions at k-moeller.dk Fri Aug 7 12:42:15 2009 From: freebsd-questions at k-moeller.dk (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Fri Aug 7 12:42:22 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <4A7B168C.5090900@unsane.co.uk> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> <4A7B168C.5090900@unsane.co.uk> Message-ID: <8250ac3f0908070542x7b86a0d4n37373fb39663375@mail.gmail.com> That would be neat :) And I think your correct about the dirrmtry .. since the auto could contain shared files But I don't know about the rest On Thu, Aug 6, 2009 at 7:44 PM, Vincent Hoffman wrote: > Kalle M?ller wrote: > > Damn have no clue how to build fix or anything with plist ... Except it > > seemd to be a list of the files used ?? > > > Pretty much, the porters handbook has a decent section on it if your > interested. Any installed files except man pages and documentation > (which are specified in the makefile) should be listed as far as i can > tell. Have a read at > > http://www.freebsd.org/doc/en/books/porters-handbook/porting-desc.html#AEN100 > and > http://www.freebsd.org/doc/en/books/porters-handbook/plist.html > > I think this is a simple one, if no one else does then I'll try and look > at it tomorrow. > > my guess is that > %%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto > should be > %%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto > and possibly > lib/perl5/5.8.9/mach/perllocal.pod > (or the appropriate variables in place of a static path) > need to be added. > > Vince > > > > > On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn < > > mel.flynn+fbsd.questions@mailing.thruhere.net > > > > >> wrote: > > > >> On Wednesday 05 August 2009 10:35:02 Kalle M?ller wrote: > >> > >>> make WITH_PERL="YES" > >>> > >>> But it returns that it is broken ? > >>> > >>> flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist. > >>> > >>> Without perl it installs fine. The problem is that I need the perl part > >> to > >>> get some of the other tools to work :S > >>> > >>> Anything I can do to get this not broken ... > >> You could fix the plist and ping the maintainer (added to CC). > >> -- > >> Mel > >> _______________________________________________ > >> 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" > >> > > > > > > > > -- Med Venlig Hilsen Kalle R. M?ller From editors at selfgrowth.com Fri Aug 7 12:51:47 2009 From: editors at selfgrowth.com (Self Improvement Newsletter) Date: Fri Aug 7 12:51:54 2009 Subject: Free Seminar: How to Create a Profitable Email Newsletter Message-ID: Dear Darling, I am always looking for ways to provide you with valuable information to help you and your business thrive. I have provided countless seminars, videos, and articles on many very important strategies that every business should think about implementing. Today, I am going to share with you the SINGLE element that every business MUST have in order to be successful. This is not a suggestion. In fact, I will be bold enough to say that without this ingredient...your business will fail. And what is it?? Yes -- an email newsletter! *** FREE PHONE SEMINAR: How to Create a Profitable Email Newsletter and Build a Massive Email Subscriber List *** An email newsletter is a vital tool that will help you skyrocket sales, develop better customer relations, help you effectively monetize your current customer base, and much more! If you currently do not have an email newsletter, or are not making much money from it, we have a special opportunity for you. After years of keeping my list building secrets to myself -- I am ready to spill the beans! I am providing a special no-cost one-hour seminar on "Creating a Profitable Email Newsletter and Building a Massive Email Subscriber List" for all of our SelfGrowth.com members. On the call, I will share specific details on how you can create an email newsletter from scratch and build up a large subscriber list. To sign up for this no-cost teleseminar, go to http://newsletters.selfgrowth.com/t/5981661/36909751/345/0/ Don't expect to hear the same old techniques on this call! During the one-hour seminar, I will share the details on why you absolutely *need* an email list to succeed on the Internet...and also the 7 specific methods you must implement today to build a MASSIVE email list! I only have room for 500 of our members to attend this exclusive seminar, so sign up fast while space is still available. To sign up now, go to http://newsletters.selfgrowth.com/t/5981661/36909751/345/0/ Sincerely, David Riklan Founder ? SelfGrowth.com --------------- You are receiving this email as part of your free subscription to one of the newsletters from http://newsletters.selfgrowth.com/t/5981661/36909751/51/0/ To unsubscribe, go here: http://newsletters.selfgrowth.com/t/5981661/36909751/1620/0/?3e076d18=ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc%3d&x=c76d7847 Or contact us at 200 Campus Drive Suite D, Morganville, NJ 07751 Phone: 732-617-1030 Email: editors@selfgrowth.com From miklosovic.freebsd at gmail.com Fri Aug 7 12:56:03 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Fri Aug 7 12:56:10 2009 Subject: broken firefox port? Message-ID: hi, while upgrading firefox 3.0.11-1, this error appeared to me: ---> Upgrading 'firefox-3.0.11,1' to 'firefox-3.0.13,1' (www/firefox3) ---> Building '/usr/ports/www/firefox3' ===> Cleaning for firefox-3.0.13,1 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090807-17357-4m6e3h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=firefox-3.0.11,1 UPGRADE_PORT_VER=3.0.11,1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/firefox3 (firefox-3.0.11,1) (unknown build error) any ideas ? I updated my port tree by cvsup From rwmaillists at googlemail.com Fri Aug 7 13:23:26 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Aug 7 13:23:32 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807003338.GC83349@thought.org> References: <20090807003338.GC83349@thought.org> Message-ID: <20090807142320.0dcae186@gumby.homeunix.com> On Thu, 6 Aug 2009 17:33:38 -0700 Gary Kline wrote: i'd be interested in Paul's question. it may be that kde3 > is sopping up waaaay to much disc space. only have 6.5g > left.... KDE4 makes KDE3 look like Fluxbox. I can't remember the exact figures on /usr, but I maintain my ccache by timestamp, and it rose from 3.2GB to 7.9GB after adding KDE4. And that 3.2GB figure included kde3 (including KOffice), xfce, fluxbox, windowmaker, icewm and numerous gui and server applications. From djuatdelta at gmail.com Fri Aug 7 13:32:41 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Aug 7 13:32:48 2009 Subject: Looking for fast graphical web browser In-Reply-To: <4A7C1AD3.5060503@rcn.com> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> Message-ID: I'd really love to see chromium ported over. From jalmberg at identry.com Fri Aug 7 14:08:47 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 14:08:57 2009 Subject: Fwd: Boot failure In-Reply-To: <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> Message-ID: <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> > I'd give it an fsck or two (more than one has been needed once or > twice), I was afraid to run fsck before backing up everything I might possibly need, so I spent most of last night mounting all the partitions and backing up things. I was able to manually mount all the partitions and all the data seemed fine. At this point, I'm ready to risk an fsck or pretty much anything. > also has anything changed with the server (updates etc etc) for > example why was it rebooted? Because of a stupid mistake on my part. I was trying to add an address to the NIC card, and rather than *add* the address to a long list of addresses (used for https websites), I made that the only address. I was only experimenting, so the file in /etc that I use to set up the addresses (using ifconfig) was unchanged. I figured a quick reboot would solve the problem, so I logged in via the console and did a clean shutdown. When I turned the machine back on, it would not boot. ?I seem to recall a verbose boot mode in the > boot menu. does that give any hints beyond the freeze you see when you > try and boot? It prints one line, which I cannot recall, unfortunately. > Are you using the GENERIC kernel I don't know. This is the oldest freebsd machine that I run. I didn't install the OS, myself. It's a 6.2 machine that had been running in production mode without any updates for over a year when I took it over. I am embarrassed to say I never had the nerve to do any updates on it, either, because when I started on it, I didn't know enough about FreeBSD to risk the 40 websites that were running on it. I've been meaning to update it for awhile, but it is locked down tight with PF and has had zero problems up until now. Famous last words... > if not have you tried it? No. I need to figure out how to do that, and I didn't have enough brain power last night after doing all those backups. After sleeping on it, I am wondering if I can kill two birds with one stone... by using 7.2 install CDs to upgrade the machine? I believe there is an 'upgrade' option on the install menu (I'm burning some 7.2 CDs right now to double check.) Or would it be safer to try to bring up the machine on it's own with a 6.2 generic kernel, first? -- John -- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Identry, LLC Northport, NY 11768 Phone: (631) 754-8440 Fax: (631) 980-4262 Email: jalmberg@identry.com Member: ABA, ANA, ASDA, APS, ESA, The Coalition Against Unsolicited Commercial Email, Long Island Web Developer's Guild. Visit us on the web at www.identry.com <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> BUILDING YOU A BETTER ONLINE BUSINESS <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> From andrewlylegould at gmail.com Fri Aug 7 14:12:04 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri Aug 7 14:12:17 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807142320.0dcae186@gumby.homeunix.com> References: <20090807003338.GC83349@thought.org> <20090807142320.0dcae186@gumby.homeunix.com> Message-ID: On Fri, Aug 7, 2009 at 8:23 AM, RW wrote: > On Thu, 6 Aug 2009 17:33:38 -0700 > Gary Kline wrote: > > ? ? ? ?i'd be interested in Paul's question. ?it may be that kde3 >> ? ? ? is sopping up waaaay to much disc space. ?only have 6.5g >> ? ? ? left.... > > KDE4 makes ?KDE3 look like Fluxbox. > > I can't remember ?the exact figures on /usr, but I maintain my ccache > by timestamp, and it rose from 3.2GB to 7.9GB after adding KDE4. And > that 3.2GB figure included kde3 (including KOffice), xfce, fluxbox, > windowmaker, icewm and numerous gui and server applications. > > Is there an increase in usability/benefit to match the increase in resource consumption? (Please forgive me - I know that's a horribly subjective question.) Thanks, Andrew From mexas at bristol.ac.uk Fri Aug 7 14:12:08 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Aug 7 14:12:18 2009 Subject: Looking for fast graphical web browser In-Reply-To: References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> Message-ID: <20090807141158.GA14688@mech-cluster241.men.bris.ac.uk> On Fri, Aug 07, 2009 at 09:32:38AM -0400, Daniel Underwood wrote: > I'd really love to see chromium ported over. > _______________________________________________ > 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 using kazehakase with xulrunner. As far as I know, the only full featured browser to run on ia64. -- 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 rwmaillists at googlemail.com Fri Aug 7 14:16:16 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Aug 7 14:16:23 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <20090807151611.33e56cf6@gumby.homeunix.com> On Thu, 06 Aug 2009 19:53:05 -0500 Paul Schmehl wrote: > --On August 6, 2009 7:15:18 PM -0500 Andrew Gould > wrote: > > Unless things have changed very recently, KDE4 is in its own > > directory folder. This may imply that KDE3 and KDE4 can coexist. > > > > As always, YMMV. > > I was looking for something a little more definitive, like I upgraded > like this, and here's the problems I ran into. > > I don't want to run KDE3 and KDE4 side by side. I want to migrate > from the former to the latter. There was some speculation that stability problems are exacerbated by having both versions, so it's sensible to remove kde3. AFAIK there is no automatic migration, it's like installing a different desktop. I know you can copy wallet files across, and you can probably carry some other data over, but for the most part it isn't worth it. I'd suggest you back-up or rename your .kde and .kderc to keep them safe. KDE4 is very much the "new coke" of desktops. From rwmaillists at googlemail.com Fri Aug 7 14:30:08 2009 From: rwmaillists at googlemail.com (RW) Date: Fri Aug 7 14:30:14 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: <20090807003338.GC83349@thought.org> <20090807142320.0dcae186@gumby.homeunix.com> Message-ID: <20090807153000.2a213909@gumby.homeunix.com> On Fri, 7 Aug 2009 09:12:03 -0500 Andrew Gould wrote: > Is there an increase in usability/benefit to match the increase in > resource consumption? (Please forgive me - I know that's a horribly > subjective question.) IMO it's less usable in terms of ergonomics, and they are still talking about catching-up with kde3 in terms of features and configurability. From jalmberg at identry.com Fri Aug 7 14:31:05 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 14:31:12 2009 Subject: Boot failure In-Reply-To: <4A7C074C.9060303@unsane.co.uk> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> Message-ID: <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> >Are you using the GENERIC kernel After more research, I think the answer to this is no. There is a directory called /boot/kernel.old. From my reading, I believe this is the original generic kernel? > if not have you tried it? Not yet. Section "24.2.3 Major and Minor Upgrades" of the Handbook says I can load the generic kernel by renaming /boot/kernel.old to /boot/GENERIC. I think this is what I need to do to boot the 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): # nextboot -k GENERIC Warning: Before rebooting with the GENERIC kernel, make sure it contains all drivers required for your system to boot properly (and connect to the network, if the machine that is being updated is accessed remotely). In particular, if the previously running custom kernel contained built-in functionality usually provided by kernel modules, make sure to temporarily load these modules into the GENERIC kernel using the /boot/loader.conf facility. You may also wish to disable non-essential services, disk and network mounts, etc. until the upgrade process is complete. The machine should now be restarted with the updated kernel: # shutdown -r now ------------------- So, it sounds like the safe move is to try to get the Generic kernel up and running, and then think about doing an upgrade. Unfortunately, I need to drive back to the server... another 2 hr commute. Gotta find a closer data center :-) Thanks: John From odhiambo at gmail.com Fri Aug 7 14:37:10 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Fri Aug 7 14:37:17 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> Message-ID: <991123400908070736n626b7b26v8436f9f5e70c7526@mail.gmail.com> On Fri, Aug 7, 2009 at 5:08 PM, Identry wrote: > > I'd give it an fsck or two (more than one has been needed once or > > twice), > > I was afraid to run fsck before backing up everything I might possibly > need, so I spent most of last night mounting all the partitions and > backing up things. > > I was able to manually mount all the partitions and all the data seemed > fine. > > At this point, I'm ready to risk an fsck or pretty much anything. > > > also has anything changed with the server (updates etc etc) for > > example why was it rebooted? > > Because of a stupid mistake on my part. I was trying to add an address > to the NIC card, and rather than *add* the address to a long list of > addresses (used for https websites), I made that the only address. I > was only experimenting, so the file in /etc that I use to set up the > addresses (using ifconfig) was unchanged. I figured a quick reboot > would solve the problem, so I logged in via the console and did a > clean shutdown. When I turned the machine back on, it would not boot. > > I seem to recall a verbose boot mode in the > > boot menu. does that give any hints beyond the freeze you see when you > > try and boot? > > It prints one line, which I cannot recall, unfortunately. > > > Are you using the GENERIC kernel > > I don't know. This is the oldest freebsd machine that I run. I didn't > install the OS, myself. It's a 6.2 machine that had been running in > production mode without any updates for over a year when I took it > over. I am embarrassed to say I never had the nerve to do any updates > on it, either, because when I started on it, I didn't know enough > about FreeBSD to risk the 40 websites that were running on it. > > I've been meaning to update it for awhile, but it is locked down tight > with PF and has had zero problems up until now. Famous last words... > > > if not have you tried it? > > No. I need to figure out how to do that, and I didn't have enough > brain power last night after doing all those backups. Boot to single user mode and just run: fsck -y You don't need any special options the first time. fsck should tell you if there are further problems. > > After sleeping on it, I am wondering if I can kill two birds with one > stone... by using 7.2 install CDs to upgrade the machine? I believe > there is an 'upgrade' option on the install menu (I'm burning some 7.2 > CDs right now to double check.) > > Or would it be safer to try to bring up the machine on it's own with a > 6.2 generic kernel, first? Please don't even think of doing that! You might go mad with the several issues you may end up facing. And upgrading a production system from an install CD is something that I will never do. I always use csup/cvsup, but perhaps you can also use freebsd-update. I advise you get to fix the problem at hand before thinking of updating. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From psteele at webmail.maxiscale.com Fri Aug 7 14:41:13 2009 From: psteele at webmail.maxiscale.com (Peter Steele) Date: Fri Aug 7 14:41:20 2009 Subject: How is time zone change signalled? Message-ID: We have a suite of applications with a Java GUI controlling everything. One of the actions the user can perform is to set the time zone. We do this through our Java application and update the /etc/localtime as required. We also make an API call to tell the JVM that the time zone as changed, and from the perspective of the Java app, the time zone is changed correctly (the timestamps for example in our log files reflect the change). Likewise, after the user performs this action, running "date" on one of our systems shows that the time zone has been changed as requested. The problem is with our C applications. They continue to operate with the old time zone, so things like timestamps in log files are not in sync with the timestamps in the Java app log files. If we stop and restart the C apps they pick up the time zone change. However, we don't want to take this extreme approach. We want the Java app to signal to the C applications that the time zone has changed. However, I've experimented with the various time zone related calls and I cannot figure out what call is needed to make the C applications pick up the time zone change. I've tried setting the environment variable TZ to the new time zone and this doesn't seem to work, and I've tried calling tzset() and tzsetwall(). In each case after I make these calls the function "localtime()" does not return the same time base as the Java application. I'm obviously missing something the key here. What function call do I need to make to get the C apps to pick up the time zone change? From cpghost at cordula.ws Fri Aug 7 14:43:54 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Aug 7 14:44:02 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> Message-ID: <20090807144348.GA2419@phenom.cordula.ws> On Fri, Aug 07, 2009 at 10:31:01AM -0400, Identry wrote: > >Are you using the GENERIC kernel > > After more research, I think the answer to this is no. There is a > directory called /boot/kernel.old. From my reading, I believe this is > the original generic kernel? Try this: # strings /boot/kernel/kernel | grep ':/usr/obj/usr/src/sys/' # strings /boot/kernel.old/kernel | grep ':/usr/obj/usr/src/sys/' -cpghost. -- Cordula's Web. http://www.cordula.ws/ From odhiambo at gmail.com Fri Aug 7 14:46:25 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Fri Aug 7 14:46:35 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> Message-ID: <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> On Fri, Aug 7, 2009 at 5:31 PM, Identry wrote: > >Are you using the GENERIC kernel > > After more research, I think the answer to this is no. There is a > directory called /boot/kernel.old. From my reading, I believe this is > the original generic kernel? > > > if not have you tried it? > > Not yet. Section "24.2.3 Major and Minor Upgrades" of the Handbook > says I can load the generic kernel by renaming /boot/kernel.old to > /boot/GENERIC. > > I think this is what I need to do to boot the 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): > > # nextboot -k GENERIC > > Warning: Before rebooting with the GENERIC kernel, make sure it > contains all drivers required for your system to boot properly (and > connect to the network, if the machine that is being updated is > accessed remotely). In particular, if the previously running custom > kernel contained built-in functionality usually provided by kernel > modules, make sure to temporarily load these modules into the GENERIC > kernel using the /boot/loader.conf facility. You may also wish to > disable non-essential services, disk and network mounts, etc. until > the upgrade process is complete. > > The machine should now be restarted with the updated kernel: > > # shutdown -r now > ------------------- > > So, it sounds like the safe move is to try to get the Generic kernel > up and running, and then think about doing an upgrade. > > Unfortunately, I need to drive back to the server... another 2 hr > commute. Gotta find a closer data center :-) If you did not touch the kernel, there is no need to boot GENERIC! Plus you have said that this box is running PF, which is not in the GENERIC kernel! Personally, I am interested in knowing why the system does not mount the root partition on its own when you can do it by hand and it does not complain. Did you by any chance change anyting in /etc/fstab? What entries you do have in /etc/sysctl.conf? Please try "fsck -y" option first although I am not quite optimistic about it, given that mounting by hand works so far. If I were to upgrade, I'd go to 6.4-STABLE first and wait there while thinking about the next move. What does your /etc/rc.conf contain? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From jalmberg at identry.com Fri Aug 7 14:59:16 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 14:59:23 2009 Subject: Boot failure In-Reply-To: <20090807144348.GA2419@phenom.cordula.ws> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <20090807144348.GA2419@phenom.cordula.ws> Message-ID: <4d4e09680908070759v4f33ef46wa4bc41d8111ab3d@mail.gmail.com> > Try this: > > # strings /boot/kernel/kernel ? ? | grep ':/usr/obj/usr/src/sys/' > # strings /boot/kernel.old/kernel | grep ':/usr/obj/usr/src/sys/' $ strings kernel/kernel |grep ':/usr/obj/usr/src/sys' root@on.identry.com:/usr/obj/usr/src/sys/INET_ON $ strings kernel.old/kernel |grep ':/usr/obj/usr/src/sys' root@on.identry.com:/usr/obj/usr/src/sys/INET_ON From cpghost at cordula.ws Fri Aug 7 15:09:54 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Aug 7 15:10:06 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070759v4f33ef46wa4bc41d8111ab3d@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <20090807144348.GA2419@phenom.cordula.ws> <4d4e09680908070759v4f33ef46wa4bc41d8111ab3d@mail.gmail.com> Message-ID: <20090807150948.GB2419@phenom.cordula.ws> On Fri, Aug 07, 2009 at 10:59:13AM -0400, Identry wrote: > > Try this: > > > > # strings /boot/kernel/kernel ? ? | grep ':/usr/obj/usr/src/sys/' > > # strings /boot/kernel.old/kernel | grep ':/usr/obj/usr/src/sys/' > > $ strings kernel/kernel |grep ':/usr/obj/usr/src/sys' > root@on.identry.com:/usr/obj/usr/src/sys/INET_ON > > $ strings kernel.old/kernel |grep ':/usr/obj/usr/src/sys' > root@on.identry.com:/usr/obj/usr/src/sys/INET_ON So both are (probably) custom kernels. Just run a diff between: /usr/src/sys/$ARCH/conf/GENERIC and /usr/src/sys/$ARCH/conf/INET_ON (with ARCH being one of i386, amd64, etc...) GENERIC and INET_ON may be equal; then you're running GENERIC. If not, they you're running a customized kernel. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From pschmehl_lists at tx.rr.com Fri Aug 7 15:09:55 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri Aug 7 15:10:07 2009 Subject: broken firefox port? In-Reply-To: References: Message-ID: --On Friday, August 07, 2009 07:56:01 -0500 Stefan Miklosovic wrote: > > hi, > > while upgrading firefox 3.0.11-1, this error appeared to me: > > ---> Upgrading 'firefox-3.0.11,1' to 'firefox-3.0.13,1' (www/firefox3) > ---> Building '/usr/ports/www/firefox3' > ===> Cleaning for firefox-3.0.13,1 > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20090807-17357-4m6e3h-0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=firefox-3.0.11,1 UPGRADE_PORT_VER=3.0.11,1 make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! www/firefox3 (firefox-3.0.11,1) (unknown build error) > > any ideas ? This is what you should have gotten: [root@utd65257 /usr/ports/www/firefox3]# make ===> firefox-3.0.13,1 has known vulnerabilities: => mozilla -- multiple vulnerabilities. Reference: => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. I don't know why you got the error you did, but you're not going to be able to build Firefox right now anyway, unless you're willing to make -DDISABLE_VULNERABILITIES. Try make distclean and then make again. You should get the vulnerability notice. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From patfbsd at davenulle.org Fri Aug 7 15:14:11 2009 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Fri Aug 7 15:14:18 2009 Subject: KDE3 --> KDE4 In-Reply-To: References: Message-ID: <20090807171427.30130f19@baby-jane.lamaiziere.net> Le Thu, 06 Aug 2009 19:53:05 -0500, Paul Schmehl a ?crit : > I don't want to run KDE3 and KDE4 side by side. I want to migrate > from the former to the latter. K3B needs kde3 and amarok2 is not yet ready for KDE 4.3. I still use amarok 1.4. There is no problem to use kde3 and kde4. From identry at gmail.com Fri Aug 7 15:14:29 2009 From: identry at gmail.com (Identry) Date: Fri Aug 7 15:14:38 2009 Subject: Boot failure In-Reply-To: <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> Message-ID: <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com> > If you did not touch the kernel, there is no need to boot GENERIC! Plus you > have said that this box is running PF, which is not in the GENERIC kernel! > Personally, I am interested in knowing why the system does not mount the > root partition on its own when you can do it by hand and it does not > complain. Me too. > Did you by any chance change anyting in /etc/fstab? No, this has never changed since original install. > What entries you do have in /etc/sysctl.conf? None. It is just the default file with some comments, but no uncommented lines. > Please try "fsck -y" option first although I am not quite optimistic about > it, given that mounting by hand works so far. Okay. > If I were to upgrade, I'd go to 6.4-STABLE first and wait there while > thinking about the next move. Right... I'm going to try getting this machine up first, before fussing with upgrades. > What does your /etc/rc.conf contain? $ cat rc.conf #$Id: rc.conf,v 1.4 2008/03/31 23:44:10 root Exp root $ # -- sysinstall generated deltas -- # Sat Dec 1 16:23:45 2007 # Created: Sat Dec 1 16:23:45 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="66.111.0.193" hostname="on.identry.com" keyrate="fast" moused_enable="YES" monit_enable="YES" ntpd_enable="YES" ntpd_program="/usr/sbin/ntpd" ntpd_config="/etc/ntp.conf" ntpd_sync_on_start="YES" ntpd_flags="-p /var/run/ntpd.pid" saver="green" pf_enable="YES" pf_rules="/etc/pf.conf" pf_flags="" # additional flags for pfctl startup pflog_enable="YES" pflog_logfile="/var/log/pflog" pflog_flags="" # additional flags for pflogd startup sshd_enable="YES" #inetd_enable="YES" usbd_enable="YES" mysql_enable="YES" apache22_enable="YES" apache22_flags="-DSSL" apache22_http_accept_enable="YES" sendmail_enable="NONE" spamd_enable="YES" spamd_flags="-v -x -u vpopmail" courier_authdaemond_enable="YES" courier_imap_imapd_enable="YES" courier_imap_imapdssl_enable="YES" courier_imap_imapd_ssl_enable="YES" courier_imap_pop3d_enable="YES" courier_imap_pop3dssl_enable="YES" courier_imap_pop3d_ssl_enable="YES" clamav_clamd_enable="YES" clamav_freshclam_enable="YES" svscan_enable="YES" snmpd_enable="NO" pureftpd_enable="YES" autossh_enable="YES" mongrel_cluster_enable="YES" mongrel_cluster_config="/usr/local/etc/mongrel_cluster" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" From jalmberg at identry.com Fri Aug 7 15:25:51 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 15:26:04 2009 Subject: Boot failure In-Reply-To: <4A7C074C.9060303@unsane.co.uk> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> Message-ID: <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> >> So I guess the question now is, if I can mount it manually, why >> doesn't it mount during the boot process? >> > I'd give it an fsck or two (more than one has been needed once or > twice) So I've been thinking about how to run fsck... At the moment, I have to boot from an install cd, go into fixit mode, and mount filesystems by hand. I am mounting them to a mount point like /mnt/root and /mnt/home, etc. Do I just do a command like: fsck /mnt/root Should I use any flags? Should I mount the filesystems read write or read only? Thanks: John From pschmehl_lists at tx.rr.com Fri Aug 7 15:28:38 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri Aug 7 15:28:44 2009 Subject: KDE3 --> KDE4 In-Reply-To: <200908062227.00953.kstewart@owt.com> References: <200908062227.00953.kstewart@owt.com> Message-ID: --On Friday, August 07, 2009 00:27:00 -0500 Kent Stewart wrote: > > On Thursday 06 August 2009 05:53:05 pm Paul Schmehl wrote: >> --On August 6, 2009 7:15:18 PM -0500 Andrew Gould >> >> wrote: >> > On Thu, Aug 6, 2009 at 6:21 PM, Paul Schmehl >> > >> > wrote: >> >> Can someone who has already done this upgrade suggest the best way to go >> >> about it? ?Do I need to completely uninstall kde3 first? ?Is there an >> >> upgrade path that's not fraught with gotchas? >> >> >> >> -- >> >> Paul Schmehl, Senior Infosec Analyst >> > >> > Unless things have changed very recently, KDE4 is in its own directory >> > folder. This may imply that KDE3 and KDE4 can coexist. >> > >> > As always, YMMV. >> >> I was looking for something a little more definitive, like I upgraded like >> this, and here's the problems I ran into. >> >> I don't want to run KDE3 and KDE4 side by side. I want to migrate from >> the former to the latter. > > There are features that haven't made it to kde4 such as koffice. I added > OpenOffice but that can be a long compile. One of my favorite sites crashes > konqueror, which wasn't a problem on kde3. I left my slower machine, which I > use for e-mail, and web browsing running kde3 and play with kde4 on my system > that can do a portupgrade -pfR kde4 in 7 hours and build OO in less than 2 > hours. It is running kde-4.3 now and it has been recursively rebuilt. The > browser crash is still there. I can use the packages of common ports to > update the slower machine. They are on a 4-port kvm and it is too easy to > simply use the machine that works the best. > Thanks, Kent. That's very useful information. I'm going to stick with KDE3 a while longer. This is my primary workstation, so I don't want to be chasing demons all day. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From rsmith at xs4all.nl Fri Aug 7 15:31:13 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 7 15:31:21 2009 Subject: Fwd: Boot failure In-Reply-To: <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> Message-ID: <20090807153027.GA39621@slackbox.xs4all.nl> On Fri, Aug 07, 2009 at 10:08:44AM -0400, Identry wrote: > > if not have you tried it? > > No. I need to figure out how to do that, and I didn't have enough > brain power last night after doing all those backups. > > After sleeping on it, I am wondering if I can kill two birds with one > stone... by using 7.2 install CDs to upgrade the machine? I believe > there is an 'upgrade' option on the install menu (I'm burning some 7.2 > CDs right now to double check.) Realize that if you upgrade to 7.x, you'll have to remove and reinstall all ports because the version number of shared system libraries will have changed. > Or would it be safer to try to bring up the machine on it's own with a > 6.2 generic kernel, first? Seeing as how you can mount the partitions on the drive perfectly by hand, maybe it was just a glitch. Have you tried rebooting again? If it still doesn't work, try getting into the boot menu and see if the drive looks OK from there. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/1fd09174/attachment.pgp From glarkin at FreeBSD.org Fri Aug 7 15:37:09 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Fri Aug 7 15:37:20 2009 Subject: How is time zone change signalled? In-Reply-To: References: Message-ID: <4A7C4007.9000506@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Steele wrote: [...] > > > The problem is with our C applications. They continue to operate with > the old time zone, so things like timestamps in log files are not in > sync with the timestamps in the Java app log files. If we stop and > restart the C apps they pick up the time zone change. However, we don't > want to take this extreme approach. We want the Java app to signal to > the C applications that the time zone has changed. However, I've > experimented with the various time zone related calls and I cannot > figure out what call is needed to make the C applications pick up the > time zone change. I've tried setting the environment variable TZ to the > new time zone and this doesn't seem to work, and I've tried calling > tzset() and tzsetwall(). In each case after I make these calls the > function "localtime()" does not return the same time base as the Java > application. > Hi Peter, Did you try unsetting TZ and then calling tzset()? The man page implies that doing so will force a reread of /etc/localtime (http://www.freebsd.org/cgi/man.cgi?query=tzset&sourceid=opensearch): "The tzset() function initializes time conversion information used by the library routine localtime(3). The environment variable TZ specifies how this is done. If TZ does not appear in the environment, the best available approximation to local wall clock time, as specified by the tzfile(5)-format file /etc/localtime is used." I haven't tested it, though, and I'm no timezone expert, so I may be completely off-base! Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKfEAG0sRouByUApARAkFQAKCq3PdqsoJ4aMMnNcoUgwHwOcOlLACfczQ/ vzfWIYV/n7TEgq6jIgCnVnE= =6Bwv -----END PGP SIGNATURE----- From rsmith at xs4all.nl Fri Aug 7 15:40:46 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 7 15:40:54 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> Message-ID: <20090807154009.GB39621@slackbox.xs4all.nl> On Fri, Aug 07, 2009 at 11:25:48AM -0400, Identry wrote: > >> So I guess the question now is, if I can mount it manually, why > >> doesn't it mount during the boot process? > >> > > I'd give it an fsck or two (more than one has been needed once or > > twice) > > So I've been thinking about how to run fsck... > > At the moment, I have to boot from an install cd, go into fixit mode, > and mount filesystems by hand. I am mounting them to a mount point > like /mnt/root and /mnt/home, etc. > > Do I just do a command like: > > fsck /mnt/root > > Should I use any flags? Should I mount the filesystems read write or read only? You should never fsck a filesystem when its mounted! I think you should start by reading the manual pages for fsck and fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. If this command quits with errors, you might try fsck_ffs without flags, or 'fsck_ffs -y' to have it try and repair all damage that it finds. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/454d036b/attachment.pgp From jalmberg at identry.com Fri Aug 7 15:48:00 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 15:48:06 2009 Subject: Fwd: Boot failure In-Reply-To: <20090807153027.GA39621@slackbox.xs4all.nl> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> Message-ID: <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> > Realize that if you upgrade to 7.x, you'll have to remove and reinstall > all ports because the version number of shared system libraries will > have changed. Yes, I've decided this is way too complicated. >> Or would it be safer to try to bring up the machine on it's own with a >> 6.2 generic kernel, first? > > Seeing as how you can mount the partitions on the drive perfectly by > hand, maybe it was just a glitch. Have you tried rebooting again? Yes. It won't even boot into single user or safe mode. It hangs when it tries to mount the root partition. > If it still doesn't work, try getting into the boot menu and see if the > drive looks OK from there. Not exactly sure what you mean... How can I see what the drive looks like from the boot menu? Sorry if this is a total newbie question... -- John From odhiambo at gmail.com Fri Aug 7 16:11:40 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Fri Aug 7 16:11:47 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> Message-ID: <991123400908070911j3483aa48sa84c501a743bba28@mail.gmail.com> On Fri, Aug 7, 2009 at 6:25 PM, Identry wrote: > >> So I guess the question now is, if I can mount it manually, why > >> doesn't it mount during the boot process? > >> > > I'd give it an fsck or two (more than one has been needed once or > > twice) > > So I've been thinking about how to run fsck... > > At the moment, I have to boot from an install cd, go into fixit mode, > and mount filesystems by hand. I am mounting them to a mount point > like /mnt/root and /mnt/home, etc. > > Do I just do a command like: > > fsck /mnt/root > > Should I use any flags? Should I mount the filesystems read write or read > only? fsck is run when all file systems are unmounted! If you can, choose single use mode, press enter when it says something like "/bin/sh" (I don't remember the wordings) and then on the subsequent prompt,, # fsck -y [Press enter here] That is all you need. Once it completes, it will bring back the prompt (the hash prompt). If there are no major problems detected, you can simply go ahead and type "exit" at the prompt and press enter and see what happens. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From jalmberg at identry.com Fri Aug 7 16:18:44 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 16:19:11 2009 Subject: Boot failure In-Reply-To: <991123400908070911j3483aa48sa84c501a743bba28@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <991123400908070911j3483aa48sa84c501a743bba28@mail.gmail.com> Message-ID: <4d4e09680908070918u51f9f815oe808580339fe1731@mail.gmail.com> > fsck is run when all file systems are unmounted! > > If you can, choose single use mode, press enter when it says something like > "/bin/sh" (I don't remember the wordings) and then on the subsequent > prompt,, > # fsck -y [Press enter here] > > That is all you need. Once it completes, it will bring back the prompt (the > hash prompt). If there are no major problems detected, you can simply go > ahead and type "exit" at the prompt and press enter and see what happens. But it doesn't boot into single user mode, so I can't just do fsck -y. And I'm wondering if -y is too dangerous. -- John From jalmberg at identry.com Fri Aug 7 16:26:13 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 16:26:21 2009 Subject: Boot failure In-Reply-To: <20090807154009.GB39621@slackbox.xs4all.nl> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> Message-ID: <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> >> Should I use any flags? Should I mount the filesystems read write or read only? > > You should never fsck a filesystem when its mounted! Ah... glad I asked. > I think you should start by reading the manual pages for fsck and > fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. Okay, that makes sense, and is simpler than what I was planning. I have a long train ride, so I'm going to print out and read those man pages, and whatever I can find in the Handbook, and maybe there's some info in my Absolute FreeBSD book... > If this command quits with errors, you might try fsck_ffs without flags, > or 'fsck_ffs -y' to have it try and repair all damage that it finds. Excellent. Thanks for all your advice Roland. From freebsd at edvax.de Fri Aug 7 00:16:00 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 7 16:34:03 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090807020416.b7c0ddcf.freebsd@edvax.de> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> <20090807020416.b7c0ddcf.freebsd@edvax.de> Message-ID: <20090807021552.2a6940a2.freebsd@edvax.de> I'm obviously getting more and more stupid. On Fri, 7 Aug 2009 02:04:16 +0200, Polytropon wrote: > To conform with the growisofs manual, you could symlink it to /dev/dvd > using the setting > > link acd0 cdrom > > in /etc/devfs.conf. Wrong line copies. Should be: link cd0 dvd Same file. But still a cool symlink. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ertr1013 at student.uu.se Fri Aug 7 17:04:32 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Fri Aug 7 17:04:39 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> Message-ID: <20090807165707.GA51779@owl.midgard.homeip.net> On Fri, Aug 07, 2009 at 12:26:10PM -0400, Identry wrote: > >> Should I use any flags? Should I mount the filesystems read write or read only? > > > > You should never fsck a filesystem when its mounted! > > Ah... glad I asked. Actually it is only when a filesystem is mounted read-write that you must not run fsck on it. Running it on a filesystem which is mounted read-only should be OK. (Otherwise we would all be in a lot of trouble since when fsck is run normally during the startup sequence the root filesystem (/) is mounted read-only, and is in fact where the fsck binary is loaded from.) > > > I think you should start by reading the manual pages for fsck and > > fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. > > Okay, that makes sense, and is simpler than what I was planning. I > have a long train ride, so I'm going to print out and read those man > pages, and whatever I can find in the Handbook, and maybe there's some > info in my Absolute FreeBSD book... > > > If this command quits with errors, you might try fsck_ffs without flags, > > or 'fsck_ffs -y' to have it try and repair all damage that it finds. > > Excellent. Thanks for all your advice Roland. > _______________________________________________ > 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" -- Erik Trulsson ertr1013@student.uu.se From psteele at webmail.maxiscale.com Fri Aug 7 17:29:21 2009 From: psteele at webmail.maxiscale.com (Peter Steele) Date: Fri Aug 7 17:29:27 2009 Subject: How is time zone change signalled? References: <4A7C4007.9000506@FreeBSD.org> Message-ID: >Did you try unsetting TZ and then calling tzset()? The man page implies that doing so will force a reread of /etc/localtime >(http://www.freebsd.org/cgi/man.cgi?query=tzset&sourceid=opensearch): > >"The tzset() function initializes time conversion information used by the library routine localtime(3). The environment variable TZ specifies how this is done. > >If TZ does not appear in the environment, the best available approximation to local wall clock time, as specified by the tzfile(5)-format file /etc/localtime is used." > >I haven't tested it, though, and I'm no timezone expert, so I may be completely off-base! Yes, I've tried the tzset function. I'm basically doing the equivalent of these steps after the Java app changes time zone and updates /etc/localtime: time_t date = time(NULL); unsetenv("TZ"); tzset(); printf("time zone is %s/%s", tzname[0], tzname[1]); struct tm* locTime = localtime(&date); printf("%02d:%02d:%02d", locTime->tm_hour, locTime->tm_min, locTime->tm_sec); The time printed is still based on the old time zone though. The tzname variable that is set by tzset() still shows for example EDT even if I have just changed the time zone to PDT. If I stop and restart the C app, the time is correct, and tzname is then PDT instead of EDT. I'm very puzzled on what I'm supposed to do to kick start the C time zone. We do not want to have to restart our C apps for something as trivial as this. From mel.flynn+fbsd.questions at mailing.thruhere.net Fri Aug 7 18:09:41 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri Aug 7 18:09:48 2009 Subject: KDE3 --> KDE4 In-Reply-To: <806ECB2662CDB48E55ACD743@Macintosh-2.local> References: <200908061829.30618.mel.flynn+fbsd.questions@mailing.thruhere.net> <806ECB2662CDB48E55ACD743@Macintosh-2.local> Message-ID: <200908071009.38936.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 06 August 2009 19:26:20 Paul Schmehl wrote: > --On August 6, 2009 9:29:30 PM -0500 Mel Flynn > > wrote: > > On Thursday 06 August 2009 15:21:14 Paul Schmehl wrote: > >> Can someone who has already done this upgrade suggest the best way to go > >> about it? Do I need to completely uninstall kde3 first? Is there an > >> upgrade path that's not fraught with gotchas? > > > > Wait a week I'd say. KDE 4.3.0 has hit the ports tree rather fast to be > > in > > time for the ports freeze and a lot of stuff is being ironed out. In > > fact, > > probably the best time is after the ports freeze is over. But I expect > > the big > > gotchas to be gone in a few days. > > -- > > Thanks, Mel. I'll wait. Will there be instructions in > /usr/ports/UPDATING after the freeze? (There's nothing in there now about > upgrading.) The 20090804 entries deal with KDE4 (indirectly). Some people have experience problems having KDE3 (in particular qt33) around, but these are build problems. If one makes packages on a clean machine, then you shouldn't be affected and a fix to address that has already been committed. -- Mel From jemrpo at gmail.com Fri Aug 7 18:16:57 2009 From: jemrpo at gmail.com (Juan Esteban Martinez Restrepo) Date: Fri Aug 7 18:17:04 2009 Subject: PROBLEMS WITH 250GB SATA HD Message-ID: <1249667057.1305.5.camel@dmhosting.g.ysm.yahoo.com> Yesterday I upgraded from 7.2 to 8.0beta2, had some issues with fuse.ko and linux compat, but rebuilt and worked ok, I'm having problems trying to mount my SATA 250GB HD, because it just finds one partition (/dev/ad4s1), but I really have 2 partitions there (/dev/ad4s5 /dev/ad4s6) which are ntfs, when i use FreeSBIE live cd to boot it recognizes both partition (/dev/ad4s5 /dev/ad4s6) and can mount them and read the info which I have stored, but when i boot with 8.0BETA2 just find /dev/ad4s1. any ideas what could that be?, i have tried to boot either generic and custom kernel. and got this message on dmesg http://pastebin.com/m45a3711f -- Juan Esteban Martinez Restrepo From cwhiteh at onetel.com Fri Aug 7 18:59:59 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Aug 7 19:00:05 2009 Subject: foot-shot? In-Reply-To: <20090807002507.GB83349@thought.org> References: <20090805174038.GA19895@thought.org> <20090806025100.GA79700@thought.org> <20090807001415.e3c86b62.freebsd@edvax.de> <20090807002507.GB83349@thought.org> Message-ID: <4A7C799E.3000700@onetel.com> Gary Kline wrote: > > Super! just offhand, can i install PCSD *over* thius FBSd > --7.1--? Keep /usr/home and so on? Or is PCBSD a > do-it-from-scratch? (I'm pretty much OS agnostic [[so long > as it's somethng like UNIX]], but here I know where things > live... With ubuntu, diff't story.) Yes you can if your /usr/home is a separate partition (or on a separate slice). I'm back to FreeBSD now but when using PCBSD I create a / and a /usr/home. It works very well, I can do a whole fresh install on / without touching the /usr/home partition. The installer lets you do this (but back up first just in case). Then a bit of fiddling with fstab and users and it is all go. > hm, not sure how much flash is used, really. i just avoid as > much of it as I can. if i can watch a public broadcasting > stream i usually KVM over to my Ubntu box. ....mmmm. > Hope the just-works PCBSD just-works here. PCBSD has flash sorted out, you can watch youtube, news website embedded video etc. Actually FreeBSD has flash sorted out as well... I think they have done a very good job, I would say give it a try. Chris From cstankevitz at toyon.com Fri Aug 7 19:06:52 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Fri Aug 7 19:06:59 2009 Subject: Time quantization when reading from serial port Message-ID: <4A7C7B48.2060505@toyon.com> I receive data on the serial port (flags O_NONBLOCK, VMIN=0, VTIME=0, B115200). The time the data shows up is quantized to 5ms. Where does this 5ms quantization comes from? Increasing kern.hz to 10000 does not reduce this effect. Thank you, Chris From glarkin at FreeBSD.org Fri Aug 7 19:20:25 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Fri Aug 7 19:20:32 2009 Subject: How is time zone change signalled? In-Reply-To: References: <4A7C4007.9000506@FreeBSD.org> Message-ID: <4A7C7E75.5000503@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Steele wrote: >> Did you try unsetting TZ and then calling tzset()? The man page > implies that doing so will force a reread of /etc/localtime >> (http://www.freebsd.org/cgi/man.cgi?query=tzset&sourceid=opensearch): >> >> "The tzset() function initializes time conversion information used by > the library routine localtime(3). The environment variable TZ specifies > how this is done. >> If TZ does not appear in the environment, the best available > approximation to local wall clock time, as specified by the > tzfile(5)-format file /etc/localtime is used." >> I haven't tested it, though, and I'm no timezone expert, so I may be > completely off-base! > > Yes, I've tried the tzset function. I'm basically doing the equivalent > of these steps after the Java app changes time zone and updates > /etc/localtime: > > time_t date = time(NULL); > unsetenv("TZ"); > tzset(); > printf("time zone is %s/%s", tzname[0], tzname[1]); > struct tm* locTime = localtime(&date); > printf("%02d:%02d:%02d", locTime->tm_hour, locTime->tm_min, > locTime->tm_sec); > > The time printed is still based on the old time zone though. The tzname > variable that is set by tzset() still shows for example EDT even if I > have just changed the time zone to PDT. If I stop and restart the C app, > the time is correct, and tzname is then PDT instead of EDT. > > I'm very puzzled on what I'm supposed to do to kick start the C time > zone. We do not want to have to restart our C apps for something as > trivial as this. > Hi Peter, Ok, just wanted to make sure you tried unsetting TZ before calling tzset(). I couldn't tell from your original message. In any case, the man page makes it sound like it should work. I'm really rusty on C programming, but I had a look in /usr/src/lib/libc/stdtime/localtime.c, and it appears that /etc/localtime should be reloaded, although this comment at the beginning of tzload() gives me pause: /* XXX The following is from OpenBSD, and I'm not sure it is correct */ I wonder if you'd get more insight by asking the question in -hackers. Perhaps there are some libc experts listening there. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKfH510sRouByUApARAjbKAJ9hjsl4X28JjVeZu/3RddR083/+ewCghkUY DF+xiTuRUKKnP1wlySTeMsc= =oZqF -----END PGP SIGNATURE----- From tajudd at gmail.com Fri Aug 7 20:02:24 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Aug 7 20:02:33 2009 Subject: Boot failure In-Reply-To: <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com> Message-ID: On 8/7/09, Identry wrote: >> If you did not touch the kernel, there is no need to boot GENERIC! Plus >> you >> have said that this box is running PF, which is not in the GENERIC kernel! >> Personally, I am interested in knowing why the system does not mount the >> root partition on its own when you can do it by hand and it does not >> complain. > > Me too. > >> Did you by any chance change anyting in /etc/fstab? > > No, this has never changed since original install. > Non-printable-character (NPC) NPCs may be a culprit for a file that used to work, now doesn't. Or a inode oddity. I've been following this thread but haven't chipped in because of timing (you driving to the datacenter). Here's what I'd consider: # mv /etc/fstab /etc/old-fstab and recreate a fstab from hand. Example: /dev/mfid0s1a / ufs rw 1 1 If you dumpfs the other bsd partitions, you can see "last mounted on". That might reflect the live-cd mountpoints, but it might help. Reconstruct the fstab. The existing one, which may have NPC or some other corruption is still there, inode hasn't changed. we did create a new file (hence, new inode) and know we don't have a NPC in it. I doubt controller or disk problems, since a livecd can mount it. a fsck -y on a clean filesystem won't report anything. HTH, good luck. >> What entries you do have in /etc/sysctl.conf? > > None. It is just the default file with some comments, but no uncommented > lines. > >> Please try "fsck -y" option first although I am not quite optimistic about >> it, given that mounting by hand works so far. > > Okay. > >> If I were to upgrade, I'd go to 6.4-STABLE first and wait there while >> thinking about the next move. > > Right... I'm going to try getting this machine up first, before > fussing with upgrades. > >> What does your /etc/rc.conf contain? > $ cat rc.conf > #$Id: rc.conf,v 1.4 2008/03/31 23:44:10 root Exp root $ > > # -- sysinstall generated deltas -- # Sat Dec 1 16:23:45 2007 > # Created: Sat Dec 1 16:23:45 2007 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > defaultrouter="66.111.0.193" > hostname="on.identry.com" > keyrate="fast" > moused_enable="YES" > monit_enable="YES" > ntpd_enable="YES" > ntpd_program="/usr/sbin/ntpd" > ntpd_config="/etc/ntp.conf" > ntpd_sync_on_start="YES" > ntpd_flags="-p /var/run/ntpd.pid" > saver="green" > pf_enable="YES" > pf_rules="/etc/pf.conf" > pf_flags="" # additional flags for pfctl startup > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > pflog_flags="" # additional flags for pflogd startup > sshd_enable="YES" > #inetd_enable="YES" > usbd_enable="YES" > mysql_enable="YES" > apache22_enable="YES" > apache22_flags="-DSSL" > apache22_http_accept_enable="YES" > sendmail_enable="NONE" > spamd_enable="YES" > spamd_flags="-v -x -u vpopmail" > courier_authdaemond_enable="YES" > courier_imap_imapd_enable="YES" > courier_imap_imapdssl_enable="YES" > courier_imap_imapd_ssl_enable="YES" > courier_imap_pop3d_enable="YES" > courier_imap_pop3dssl_enable="YES" > courier_imap_pop3d_ssl_enable="YES" > clamav_clamd_enable="YES" > clamav_freshclam_enable="YES" > svscan_enable="YES" > snmpd_enable="NO" > pureftpd_enable="YES" > autossh_enable="YES" > mongrel_cluster_enable="YES" > mongrel_cluster_config="/usr/local/etc/mongrel_cluster" > > # added by xorg-libraries port > local_startup="/usr/local/etc/rc.d" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From freebsd at edvax.de Fri Aug 7 20:06:37 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Aug 7 20:06:45 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <64c038660908062025p5b14ab56xeb3abc6ccada8f2e@mail.gmail.com> References: <945518.43400.qm@web65507.mail.ac4.yahoo.com> <4A7B62BF.9050102@otenet.gr> <20090807020416.b7c0ddcf.freebsd@edvax.de> <64c038660908062025p5b14ab56xeb3abc6ccada8f2e@mail.gmail.com> Message-ID: <20090807220634.37e896f3.freebsd@edvax.de> On Thu, 6 Aug 2009 21:25:38 -0600, Modulok wrote: > It's nice to be able to go on vacation, without worrying about the > servers back home craping out :) Vacation? Weekend! :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From anti_spam256 at yahoo.ca Fri Aug 7 20:08:21 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Fri Aug 7 20:08:42 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 Message-ID: <457708.23496.qm@web65507.mail.ac4.yahoo.com> Thank-you for your replies. I guess my main concern was I'm not sure when to stop banging my head against the wall and ask for help. The checklist kind of goes like: Did you read the FAQ and release notes? Did you read the handbook? Did read the man pages? Did you search the mailing-list archives? This list is probably best suited to very specific questions. Some the stuff I mentioned has little to do with BSD. --- On Thu, 8/6/09, Polytropon wrote: > From: Polytropon > Subject: Re: FreeBSD for the common man(or woman) (was: > upgrade 7.2 > To: "James Phillips" > Cc: freebsd-questions@freebsd.org > Received: Thursday, August 6, 2009, 7:45 PM > On Thu, 6 Aug 2009 14:56:41 -0700 > (PDT), James Phillips > wrote: > > > > > > I checked the HP website: they will release the > details of the PCL > > language (version 4 or so) for a price. > > The PCL language is usually output by gs (the Ghostscript > printer > "driver" collection that translates PS into PCL and other > printer > languages). > Yes, I figured this out when I abandoned the Handbook and looked at the ports collection. I've used GhostScript under windows as well. > > > > I finally got it working by installing the Apsfiler > package in the > > ports collection (no, did not send the post-card yet; > the print > > server is not functional yet.) > > Personally, I prefer apsfilter to CUPS, but maybe you would > have liked > CUPS better. It offers a browser based interface and offers > lots of > autodetection functionality. (But you can't install a > parallel printer > that isn't connected to the system easily, for example.) > I'm wondering how well apsfiler and CUPS cooperate. Samba uses CUPS by default. > Setting up a printer with the apsfilter SETUP script is > very easy as > long as you know which name the printer has - you mentioned > HP. And > if it's a HP Laserjet, you're lucky. You're even more lucky > if your > printer does support the PS standard, because then you can > avoid using > any printer filter (such as apsfilter) because PS is the > default output > format for printing, and it can be fed directly into the > printer. > The printer is a $10 POS I got used. PS output seems to confuse it. I'm tempted just to get a newer one. (Laserjet 5L -> except it gets confused by PCL 5 as well) > > > > > made few tweaks of the system to better follow the > Filesystem > > Hierarchy Standard (such as symlinking /usr/local/etc > to /etc/opt). > > Erm, excuse me? First of all, it's not encouraged to mix OS > things > with application things. You know that FreeBSD keeps the > difference > between "the OS" and "everything else" (which is located in > the > /usr/local subtree). If you're coming from a Linux > background, I > could understand that you're not familiar with this > concept. > The /usr/local subtree can be completely removed and still > leaves > you with a completely intact and functional OS. Everything > that > you install by ports or packages goes into /usr/local, and > of course, > the configuration files belong there, too. /usr/local/etc > has the > same structure as /etc, but it's reserved for additional > software. > Vice versa, configuration files of locally installed ports > do not > belong into /etc. > > Refer to > > ??? % man hier > > to learn where things are kept on FreeBSD. > Using a symlink (/usr/local/etc -> /etc/opt) , the system IS still functional if /local is not mounted. putting the settings in /etc makes it possible to mount /usr read-only (in theory). http://www.pathname.com/fhs/2.2/ According to Wikipedia, it is Linux-specific. In any case, the changes are minor. > > > > That machine is slowly degrading while I try to get > the fileserver > > working the way I want. > > That indicates a major problem. Either your hardware is > faulty, or you > are treating the software in the wrong way. "Machine" in that sentence refers to win98 client. The HD activity light stays on for no apparent reason (no thrashing). I suspect malware, even if the Anti-virus can't find it :( > > > > > The last time I did a complete re-install (of win98) I > lost data > > due to a damaged disk that I copied the data to (and > learned that > > bzip2recover is a quick hack that needs to be > re-written properly > > according to the source code). > > It's completely normal that you lose data on "Windows" > platforms. > That's why you have a UNIX server for backups. I lost data under Linux that I used for doing the back-up. I blame the cryptic HD error messages under Linux. Took years to figure out what happened. I think FreeBSD hard-drive failure messages were less cryptic. > > > > > I hope to replace windows with wine for the most part, > but wine > > simply installs the applications in the users' home > directory > > (breaking the FHS). > > No. You run wine as a user application, so you have > user > rights only. > Then, wine of course provides a user-based installation of > your > desired "Windows" program. An analogy would be to think of Wine like a generic interpreter like the BSD Linux compatibility, or the Java runtime for running Java applications. There should be a way for the administrator to install windows applications in something like /usr/local. This would only be on the "client" machines anyway (not the server). I Just hear a sucking sound every time I try to install a 500MB+ game in the user directory. > > A workaround could be to create a special user, e. g. > "wincompat", > that is used to install the applications. His home > directory > /home/wincompat is then set to allow access for other > users, so > they can execute the (there installed) "Windows" programs > instead of > requiring a user-local installation. > > > > > This is only resolvable IMHO by having wine use a real > database > > back-end for the registry (allowing user-level "views" > of the > > data, while still isolating different users). > > That's a bit complicated, but still possible with the > standard > file attributes on a UFS file system - I hope I understood > you > correctly. Wine uses a flat file (for the registry). I don't think it supports per-user isolation, so each user has their own wine environment instead. Again Wine, not BSD related. > > > > > Setting up NFS was a lesson in the intecracies of NIS > twice > > since my Linux clients do things a little differently. > After > > asking on one of the IRC channels that we are not > advised to use; [...] > > We? General public. Most the "supported" IRC channels require authentication. > > > > > [...] I edited the /var/yp/Makefile to suppress groups > outside > > the range of (1001 -2000). That basicly prevents the > "special" > > groups from being exported to the Linux clients (that > use different > > numbering) > > It's traditional to create a "name:name" for user "name". > Of course, > there's no problem of grouping your user names to > "name:group1" and > similar things; "name:staff" comes into mind. yes, the user groups are in the 1001 + range. this is consistent with what Debian does. The "special" groups like ppp, audio, etc, are numbered differently. NFS only passes user and group numbers over the network. So, to keep things remotely sane, NIS in needed to keep all the user names consistent. I originally didn't want to use NIS. > > > > > To do this, I DID need the gory low-level details in > the handbook. > > I didn't note the exact date, but I really didn't > touch the server > > for months after that. I copied my work to the Linux > client because > > the hard-disk was failing, and I still did not get > DVD-burning > > working. > > There's the growisofs tool from the ports. The port's name > is > dvd+rw-tools. You simply run > > ??? % growisofs -Z /dev/dvd -r -J somedata/ > > or refer to > > ??? % man growisofs > > for detailed information. (I have a symling dvd -> cd0 > so it fits to > the manpage.) Of course, you don't need ISO-9660 for data > DVDs, you > could record tar archives onto them directly, but that's > another topic. > I'll look into that. I was planning on using dump/restore for most the system, then using tar for selected directories in /var. > > > > At one point when doing a Google search for "fxp" I > came across this message: > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-10/msg00340.html > > Call for testers: fxp(4) WOL? <- My card! > > The fxp NIC is an Intel one, right? I still have one, works > good, and > is excellently supported. yes. Mine is old though (Intel 82558) > > > > > At that point, I decided to install the FreeBSD > testing release > > (7.x). > > Testing? A release isn't for testing, it's for a productive > and functional > system. If you intend testing, you would require the latest > sources from > HEAD, which is 8-CURRENT at the moment. It went stable by the time I installed it. > > > > > I finally installed FreeBSD 7.2 (release) on May 9, > 2009. However, I > > now note some feature creep: > > In addition to file/print and backup server, I want > to: > > 1. Have it sleep when not in use (part of the delay > was figuring out > > how to get the router to send the magic packet. I read > RFC's to > > determine the proper way, and found a "hack" that will > work on my > > floppy-based router for my network set-up (send it > every DHCP lease). > Are you talking about the "wake on LAN" feature? Yes. My old NIC requires a specially-crafted packet to wake up. > >? > > 2. I think I want to move the Voice/Fax/Modem to the > machine. Recently > > I realised a lack of WakeOnRing may impair phone answering if machine > > is sleeping. > > I think that's been calling "wake on modem"... it reminds > me to a funny > accident when a customer told me that when his phone rings, > his computer > starts up. :-) I'm hoping the serial port interrupt will be enough. > > > > > 3. I still hope to do "other things" once the machine is working > > reliably. > FreeBSD's good load management should make this possible. > May need to compile a custom kernel to free some memory. avail memory with generic: 237 MB of 256. Not a priority though. > > > > I hope with the server properly set up, win98 may even be usable > > again: just do a clean install every morning! > Doesn't it reinstall automatically by itself? :-) Over a 100Mbps network, a 700MB image will take over a minute to transfer. Actually, that is not bad. Regards, James Phillips PS: forgot to cc the list. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From psteele at webmail.maxiscale.com Fri Aug 7 20:12:40 2009 From: psteele at webmail.maxiscale.com (Peter Steele) Date: Fri Aug 7 20:12:47 2009 Subject: How is time zone change signalled? References: <4A7C4007.9000506@FreeBSD.org> <4A7C7E75.5000503@FreeBSD.org> Message-ID: >I wonder if you'd get more insight by asking the question in -hackers. >Perhaps there are some libc experts listening there. Well, I still haven't found the magic so I'll try my luck there... Thanks for the feedback. From jalmberg at identry.com Fri Aug 7 20:18:33 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 20:18:40 2009 Subject: Boot failure In-Reply-To: <20090807165707.GA51779@owl.midgard.homeip.net> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> <20090807165707.GA51779@owl.midgard.homeip.net> Message-ID: <4d4e09680908071318p66a6e76bwedda5f88623e019d@mail.gmail.com> >> > I think you should start by reading the manual pages for fsck and >> > fsck_ffs. I would start with 'fsck_ffs -fp /dev/yourdevicenode'. Okay, back in the data center. I ran fsck_ffs -fp on my root file system and it returned with no errors. It just printed some information about number of files, used, free space, etc., ending with the interesting fact of .3% fragmentation. Then I reran it without the -fp and it printed Phase 1 - Phase 5, no errors, and again some info on the files. So, it looks like there is nothing wrong with the root partition. Which again raises the question, why won't it mount during the boot process? I'm going to try booting with verbose logging and see what that last line printed is... -- John From jalmberg at identry.com Fri Aug 7 20:21:54 2009 From: jalmberg at identry.com (Identry) Date: Fri Aug 7 20:22:02 2009 Subject: Boot failure In-Reply-To: References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com> Message-ID: <4d4e09680908071321t2beecdehad1859ffbe54b388@mail.gmail.com> > Non-printable-character (NPC) > > NPCs may be a culprit for a file that used to work, now doesn't. ?Or a > inode oddity. > > I've been following this thread but haven't chipped in because of > timing (you driving to the datacenter). > > Here's what I'd consider: > ?# mv /etc/fstab /etc/old-fstab > > and recreate a fstab from hand. ?Example: > > /dev/mfid0s1a / ufs rw 1 1 I guess I could use the existing fstab as a model... just retype it using vi. I checked the date on fstab... it hasn't been changed since the server was installed, but I guess it's worth a try. Thanks for the idea. > I doubt controller or disk problems, since a livecd can mount it. ?a > fsck -y on a clean filesystem won't report anything. You were right about this. -- John From anti_spam256 at yahoo.ca Fri Aug 7 20:38:08 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Fri Aug 7 20:38:15 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 In-Reply-To: <20090807090100.100251065675@hub.freebsd.org> Message-ID: <785835.98681.qm@web65502.mail.ac4.yahoo.com> --- On Fri, 8/7/09, freebsd-questions-request@freebsd.org wrote: > Message: 6 > Date: Fri, 7 Aug 2009 02:04:16 +0200 > From: Polytropon > On Fri, 07 Aug 2009 02:09:51 +0300, Manolis Kiagias > wrote: > > Windows experience won't help much - mainly due to the > fact Windows > > forces the users (and admins) to a completely > different way of thinking > > than FreeBSD. > > That's true. It's even hard to communicate with "'Windows' > admins" > because of a completey different and misleading terminology > - and > sadly often the lack of understanding what they're talking > about. I don't believe half the windows dialog boxes. Why would "checking for available disk space" (win 98 installation) take more than 2 seconds? > > > > > The various wizards abstract way too many parts of > the > > system, to the point where you can configure services > you don't really > > understand (i.e. a DNS server is a few clicks away and > there are many > > 'recommended' defaults along the way). > > Insecure mode: This is the mode you want. Select it NOW! > :-) > I completely understand the reasoning behind "disabled by defaul." It means it doesn't work until you (hopefully) learn what you are doing. That said, following the handbook, I managed to enable ssh twice: one as a stand-alone process, and once as part of inetd. > > > > Yes. As I said (elsewhere), FreeBSD is a multi-purpose OS. > It does > not know what you are intending to use it for, and it > doesn't make > any assumptions. So you have to communicate your > requirements to the > system. This requires a certain knowledge, of course. > Yes, I learned this with Linux. For Debian the install program works a little like a "wizard," but to maintain the system, you need to learn what you are doing. Reboots don't magically fix or break things. > > Once taken the time to set things up, they make you happy > running for > a lifetime. :-) > I love and hate that about *nix :D -James __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From identry at gmail.com Fri Aug 7 20:42:00 2009 From: identry at gmail.com (Identry) Date: Fri Aug 7 20:42:07 2009 Subject: Boot failure In-Reply-To: <4d4e09680908071318p66a6e76bwedda5f88623e019d@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> <20090807165707.GA51779@owl.midgard.homeip.net> <4d4e09680908071318p66a6e76bwedda5f88623e019d@mail.gmail.com> Message-ID: <4d4e09680908071341i2d503819h2d6a55b885db5b56@mail.gmail.com> > Okay, back in the data center. I ran fsck_ffs -fp on my root file > system and it returned with no errors. It just printed some > information about number of files, used, free space, etc., ending with > the interesting fact of .3% fragmentation. > > Then I reran it without the -fp and it printed Phase 1 - Phase 5, no > errors, and again some info on the files. > > So, it looks like there is nothing wrong with the root partition. > Which again raises the question, why won't it mount during the boot > process? > > I'm going to try booting with verbose logging and see what that last > line printed is... Well, something got worse. After running fsck_ffs with no errors, I tried to boot the machine. It got to the point where it printed: Booting from BIOS Partition 0 PS2 keyboard detected PS2 mouse detected and it just hangs at that point. -- John From mel.flynn+fbsd.questions at mailing.thruhere.net Fri Aug 7 20:54:46 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri Aug 7 20:54:54 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> <200908051048.03079.mel.flynn+fbsd.questions@mailing.thruhere.net> <8250ac3f0908060754u714379dw51948c0ac858a8da@mail.gmail.com> Message-ID: <200908071254.44524.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 06 August 2009 06:54:52 Kalle M?ller wrote: > Damn have no clue how to build fix or anything with plist ... Except it > seemd to be a list of the files used ?? Try attached patch. Checking WITH_PYTHON now. Also fixed pkg-install while I was in there to respect a FLOWD_UID variable, so that one can assign a uid rather then using the next available. -- Mel -------------- next part -------------- Index: net-mgmt/flowd/Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/flowd/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- net-mgmt/flowd/Makefile 13 Jul 2009 16:22:56 -0000 1.14 +++ net-mgmt/flowd/Makefile 7 Aug 2009 20:44:36 -0000 @@ -22,13 +22,14 @@ MAN5= flowd.conf.5 PORTDOCS= README INSTALL FLOWD_USER?= _flowd +.if defined(FLOWD_UID) +SCRIPTS_ENV+= FLOWD_UID="${FLOWD_UID}" +.endif .if defined(WITH_PERL) USE_PERL5= yes PLIST_SUB+= WITH_PERL="" -#MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -#MAN3= Flowd.3 -BROKEN= Incomplete pkg-plist +MAN3= Flowd.3 .else PLIST_SUB+= WITH_PERL="@comment " .endif @@ -67,9 +68,10 @@ .if defined(WITH_PERL) cd ${WRKSRC}/Flowd-perl && \ - ${PERL} Makefile.PL && \ + ${PERL} Makefile.PL INSTALLSITEMAN3DIR=${MAN3PREFIX}/man/man3 && \ ${GMAKE} && \ - ${GMAKE} install + ${GMAKE} install; + -${RM} -f ${SITE_PERL}/${PERL_ARCH}/perllocal.pod .endif .if defined(WITH_PYTHON) Index: net-mgmt/flowd/pkg-install =================================================================== RCS file: /home/ncvs/ports/net-mgmt/flowd/pkg-install,v retrieving revision 1.2 diff -u -r1.2 pkg-install --- net-mgmt/flowd/pkg-install 4 Jun 2005 00:43:20 -0000 1.2 +++ net-mgmt/flowd/pkg-install 7 Aug 2009 20:16:59 -0000 @@ -20,9 +20,15 @@ shell=/nonexistent fi uhome="/var/empty" + if [ -z "${FLOWD_UID}" ]; then + uid=`${PW} usernext`; + uid=${uid%%:*} + else + uid=${FLOWD_UID} + fi if ! ${PW} show user ${USER} -q >/dev/null; then - if ! ${PW} add user ${USER} -g ${GROUP} -d "${uhome}" \ + if ! ${PW} add user ${USER} -u ${uid} -g ${GROUP} -d "${uhome}" \ -c "flowd privilege separation user" -s "${shell}" -p "*" \ ; then e=$? From identry at gmail.com Fri Aug 7 20:56:06 2009 From: identry at gmail.com (Identry) Date: Fri Aug 7 20:56:13 2009 Subject: Boot failure In-Reply-To: <4d4e09680908071341i2d503819h2d6a55b885db5b56@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> <20090807165707.GA51779@owl.midgard.homeip.net> <4d4e09680908071318p66a6e76bwedda5f88623e019d@mail.gmail.com> <4d4e09680908071341i2d503819h2d6a55b885db5b56@mail.gmail.com> Message-ID: <4d4e09680908071356q31f214c4l1a17bfafe2706ce0@mail.gmail.com> > Well, something got worse. After running fsck_ffs with no errors, I > tried to boot the machine. It got to the point where it printed: > > > Booting from BIOS Partition 0 > PS2 keyboard detected > PS2 mouse detected > > and it just hangs at that point. Worse and worse... The machine won't boot from the CD anymore. I can't even get it into SETUP. It just hangs on this screen: (I had hit F2 to enter setup) Version 1.17.1057 Copyright 2005-2007 American Megatrends, Inc Entering SETUP.... Bios Version: S5000.86B ... etc Platform ID: S5000PAL 8 GB system memory found Current Memory Speed: 667 MT/s (333 MHz) Intel Xeon CPU E5345 @ 2.33Ghz Intel Xeon CPU E5345 @ 2.33 Ghz Booting from BIOS Partition 0 PS2 keyboard detected PS2 mouse detected The same thing happens if I don't hit F2, except it says Hit F2 to enter SETUP at the top. Well... I guess we are back to hardware problem? I'm not sure what else to try at this point. -- John From mel.flynn+fbsd.questions at mailing.thruhere.net Fri Aug 7 21:00:07 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri Aug 7 21:00:14 2009 Subject: Mouse still crashes with Synaptics In-Reply-To: <20090807112130.GA15761@marge.bs.l> References: <20090804112624.GB19171@marge.bs.l> <200908061537.34431.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090807112130.GA15761@marge.bs.l> Message-ID: <200908071300.05751.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 07 August 2009 03:21:30 Bertram Scharpf wrote: > Hi, > > Am Donnerstag, 06. Aug 2009, 15:37:34 -0800 schrieb Mel Flynn: > > On Thursday 06 August 2009 12:46:21 Bertram Scharpf wrote: > > > > You might get some help on freebsd-x11 list. > > As I mentioned twice I manage to reproduce the problem just > calling "dd". It is definitely not an X11 issue. > > I really made great effort on pointing this out. This is very > disappointing. I have reasons to mention the freebsd-x11 list. One being that the synaptics X11 driver is the primary - if not sole - consumer of any support in psm for it. But feel free to find a list that suits you more. I doubt anyone here is willing to disappoint you more. -- Mel From rsmith at xs4all.nl Fri Aug 7 21:18:20 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 7 21:18:44 2009 Subject: Boot failure In-Reply-To: <4d4e09680908071341i2d503819h2d6a55b885db5b56@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070825h6f42e692t8cf0baa4f10f9cc@mail.gmail.com> <20090807154009.GB39621@slackbox.xs4all.nl> <4d4e09680908070926y40c6463au2666fd0b085ab3af@mail.gmail.com> <20090807165707.GA51779@owl.midgard.homeip.net> <4d4e09680908071318p66a6e76bwedda5f88623e019d@mail.gmail.com> <4d4e09680908071341i2d503819h2d6a55b885db5b56@mail.gmail.com> Message-ID: <20090807211743.GA48236@slackbox.xs4all.nl> On Fri, Aug 07, 2009 at 04:41:57PM -0400, Identry wrote: > > Okay, back in the data center. I ran fsck_ffs -fp on my root file > > system and it returned with no errors. It just printed some > > information about number of files, used, free space, etc., ending with > > the interesting fact of .3% fragmentation. > > > > Then I reran it without the -fp and it printed Phase 1 - Phase 5, no > > errors, and again some info on the files. That's good news. Then at least your filesystems are OK. > > So, it looks like there is nothing wrong with the root partition. > > Which again raises the question, why won't it mount during the boot > > process? > > > > I'm going to try booting with verbose logging and see what that last > > line printed is... > > Well, something got worse. After running fsck_ffs with no errors, I > tried to boot the machine. It got to the point where it printed: > > > Booting from BIOS Partition 0 > PS2 keyboard detected > PS2 mouse detected > > and it just hangs at that point. Well, if it won't load the OS from disk, but you can mount the partitions when booting from CD, I'd guess that there could be some issue with your MegaRAID card. It could be that the megaraid card needs more time to get ready than a normal boot gives it. Are you sure that the card is OK? If you can get your hands on a spare megaRAID card, maybe you should try to switch them? If not, you're booting from the drives attached to this card, yes? So reboot and try to get inside the BIOS of the card and see if that can tell you something... When booting the card should display a message about how to enter the cards setup. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/3524b1c3/attachment.pgp From rsmith at xs4all.nl Fri Aug 7 21:21:26 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Aug 7 21:21:33 2009 Subject: Fwd: Boot failure In-Reply-To: <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> Message-ID: <20090807212050.GB48236@slackbox.xs4all.nl> On Fri, Aug 07, 2009 at 11:47:58AM -0400, Identry wrote: > > Realize that if you upgrade to 7.x, you'll have to remove and reinstall > > all ports because the version number of shared system libraries will > > have changed. > > Yes, I've decided this is way too complicated. > > >> Or would it be safer to try to bring up the machine on it's own with a > >> 6.2 generic kernel, first? > > > > Seeing as how you can mount the partitions on the drive perfectly by > > hand, maybe it was just a glitch. Have you tried rebooting again? > > Yes. It won't even boot into single user or safe mode. It hangs when > it tries to mount the root partition. > > > If it still doesn't work, try getting into the boot menu and see if the > > drive looks OK from there. > > Not exactly sure what you mean... How can I see what the drive looks > like from the boot menu? Sorry if this is a total newbie question... Well, if you enter the FreeBSD boot code, you get a menu. One of the choices is "escape to loader prompt" IIRC. But from your other emails I can see that you're not even getting into the boot loader... Looks like your hardware is dying/dead. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090807/1fc0f93f/attachment.pgp From tajudd at gmail.com Fri Aug 7 21:39:48 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Aug 7 21:39:55 2009 Subject: Fwd: Boot failure In-Reply-To: <20090807212050.GB48236@slackbox.xs4all.nl> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> Message-ID: On 8/7/09, Roland Smith wrote: > Looks like your hardware is dying/dead. Sadly, I agree. Reset BIOS CMOS data (hardware jumper on motherboard) Enter RAID controller BIOS, (re)set your "boot drive" But it looks like a fundamental BIOS control issue is malfunctioning. Do you have a PCI Diagnostics card? One like the following? http://www.uxd.com/phdpci.shtml (I'm not saying that exact model, but rather a device that is able to see BIOS codes through the PCI bus that can tell very technical detail to tech support at the motherboard's vendor (you said Intel, right?).) Hardware rarely up and dies. Have you tried swapping RAM chips out, or re-ordering them to see if it might be a RAM problem? Maybe we're not passing POST, or that we're passing POST but the bootable device list is not finding bootable medium. These kind of issues intrigue me, because it is out of the norm, and why did it happen. I'd get to the point of swapping hardware one at a time until it fixes, or until you exhaust your options. Have any kind of support contract with the OEM? --Tim From cstankevitz at toyon.com Fri Aug 7 22:02:35 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Fri Aug 7 22:02:42 2009 Subject: Strange timing when reading from the serial port In-Reply-To: <4A7B8FD1.9040003@toyon.com> References: <4A7B8FD1.9040003@toyon.com> Message-ID: <4A7CA47A.80401@toyon.com> Chris Stankevitz wrote: > Q: What is the source of the alternating +/- 5ms bias that comes and > goes every few seconds? This helps: add these lines to /boot/device.hints and reboot hint.sio.0.flags="0x20" hint.sio.1.flags="0x20" Chris From nightrecon at hotmail.com Fri Aug 7 22:21:06 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Fri Aug 7 22:21:13 2009 Subject: Fwd: Boot failure References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> Message-ID: Tim Judd wrote: > On 8/7/09, Roland Smith wrote: > >> Looks like your hardware is dying/dead. > > > > Sadly, I agree. > > > Reset BIOS CMOS data (hardware jumper on motherboard) > Enter RAID controller BIOS, (re)set your "boot drive" > > But it looks like a fundamental BIOS control issue is malfunctioning. > > Do you have a PCI Diagnostics card? One like the following? > > http://www.uxd.com/phdpci.shtml > > (I'm not saying that exact model, but rather a device that is able to > see BIOS codes through the PCI bus that can tell very technical detail > to tech support at the motherboard's vendor (you said Intel, right?).) > > Hardware rarely up and dies. Have you tried swapping RAM chips out, > or re-ordering them to see if it might be a RAM problem? > > > Maybe we're not passing POST, or that we're passing POST but the > bootable device list is not finding bootable medium. > > > These kind of issues intrigue me, because it is out of the norm, and > why did it happen. Sometimes I've seen when a hard drive gets old and the head movement mechanism is worn the drive can have problems properly locating the head over track 0. I've also noted that sometimes even when it can find track 0 it couldn't read the mbr. If this happens because of a bad spot has developed in the magnetic media there's nothing at this point that can be done. If it's just worn head slop sometimes you can write out a fresh mbr and use it for a while longer, but the problem will return worse later. Using smartmontools and smartctl test/diags to get a test dump from the drive can be useful at times to decide if replacement is warranted. > I'd get to the point of swapping hardware one at a time until it > fixes, or until you exhaust your options. Have any kind of support > contract with the OEM? > > --Tim From jeffrey at goldmark.org Fri Aug 7 22:31:11 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Fri Aug 7 22:31:18 2009 Subject: Cleaning email In-Reply-To: <200908071142.n77BgWKF034276@banyan.cs.ait.ac.th> References: <200908071142.n77BgWKF034276@banyan.cs.ait.ac.th> Message-ID: On Aug 7, 2009, at 6:42 AM, Olivier Nicole wrote: > reading around the FAQ for FreeBSD mailing list, I see that the > mailing list server does some message cleaning (converting HTML to > text, etc). > I don't want just any solution, that works more or less, but the very > well tested solution used by FreeBSD mailing lists. On the mailing list this is done by the mailing list system, mailman, which is in ports/mail/mailman. But the cleaning stuff is just part of a much larger system (mailing list management), so I don't think you can get it to do what you want. There is a milter, ports/mail/mime-defang which, while it can do many other things (that you don't need to enable, also does this. I haven't used it in more than 5 years, so I can't speak for how well it works. But I did set it up for an organization that had lots of Outhouse users on desktops that were vulnerable to malicious HTML. mimedefang is also useful for blocking certain types of attachments as well. There may be better, special purpose tools that do what you want. You could also look at the mailman source (python) to see how it does its cleaning. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From kline at thought.org Fri Aug 7 22:49:46 2009 From: kline at thought.org (Gary Kline) Date: Fri Aug 7 22:49:53 2009 Subject: KDE3 --> KDE4 In-Reply-To: <20090807142320.0dcae186@gumby.homeunix.com> References: <20090807003338.GC83349@thought.org> <20090807142320.0dcae186@gumby.homeunix.com> Message-ID: <20090807224940.GB94684@thought.org> On Fri, Aug 07, 2009 at 02:23:20PM +0100, RW wrote: > On Thu, 6 Aug 2009 17:33:38 -0700 > Gary Kline wrote: > > i'd be interested in Paul's question. it may be that kde3 > > is sopping up waaaay to much disc space. only have 6.5g > > left.... > > KDE4 makes KDE3 look like Fluxbox. > > I can't remember the exact figures on /usr, but I maintain my ccache > by timestamp, and it rose from 3.2GB to 7.9GB after adding KDE4. And > that 3.2GB figure included kde3 (including KOffice), xfce, fluxbox, > windowmaker, icewm and numerous gui and server applications. > Ah, thanks for the clue! Good that I only use the tts stuff. i also like AmaroK; not sure what that's part of, tho. Other than OOo and the GUI browsers, I'm a CLI type. gary PS: I would go back to CTWM, but I lost my .ctwmrc and it was huge... > > > _______________________________________________ > 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 5.67a release of Jottings: http://jottings.thought.org/index.php From sfourman at gmail.com Sat Aug 8 01:29:21 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sat Aug 8 01:29:37 2009 Subject: Aggregate DSL connections with PF Message-ID: <11167f520908071829s10a0bb12ybe57f5a03f40e8d2@mail.gmail.com> I found the following links online, I am wondering is this possible using pf and netgraph instead? http://www.michaelbrumm.com/how-to-aggregate-bandwidth.html http://www.mushroomnetworks.com/product.aspx?product_id=1009&tab=features Sam Fourman Jr. From c.kworr at gmail.com Sat Aug 8 06:42:36 2009 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Sat Aug 8 06:42:42 2009 Subject: Cyrus Imapd with SASL, authenticate against AD Windows 2003 with Kerberos5 In-Reply-To: <20090803050458.GA81711@saturn.pcs.ms> References: <20090803050458.GA81711@saturn.pcs.ms> Message-ID: Martin Schweizer wrote: > So I have now no more ideas where I can check. Any hints are welcome. I have done almost the same thing, only with pam: > grep sasl /etc/rc.conf saslauthd_enable='yes' saslauthd_flags='-apam -n1' > cat /etc/pam.d/imap auth required pam_krb5.so no_warn try_first_pass -- Sphinx of black quartz judge my vow. From c.kworr at gmail.com Sat Aug 8 06:54:14 2009 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Sat Aug 8 06:54:21 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: <20090408142932.695c07ce@summersault.com> References: <20090408142932.695c07ce@summersault.com> Message-ID: Mark Stosberg wrote: > I'll just say it plainly: > > /var/db/pkg is long gone and there is no backup. It was not copied to > new a machine. > > Is there is any hope of being able to use the ports or packages system in a > meangingful way again? > > My sense is that some recovery is possible, but may be prohibitively expensive. > > Thanks for any tips! There are a lot of common places the files would be installed such as bin, sbin, lib, libexec under %%PREFIX%%. You can use `find dir -type f | xargs -n1 -Ifoo sh -c "echo -n foo:; pkg_which foo"` to obtain the list of known files (pkg_which is part of ports-mgmt/portsupgrade). After that you can reinstall all packages that provide files with missing origin. I bet you should use the same /usr/ports you have last time when /var/db/pkg was full, just to be very close to pkg-plist. Other ways can include moving all %%PREFIX%% to %%PREFIX%%.old and building all ports from scratch. -- Sphinx of black quartz judge my vow. From david at vizion2000.net Sat Aug 8 08:19:18 2009 From: david at vizion2000.net (David Southwell) Date: Sat Aug 8 08:19:25 2009 Subject: kernel designations terminology confusion -- amd64 used for into quad core In-Reply-To: <20090806233509.7935c23d@gumby.homeunix.com> References: <200908051414.49468.david@vizion2000.net> <20090806233509.7935c23d@gumby.homeunix.com> Message-ID: <200908080919.14590.david@vizion2000.net> > On Wed, 5 Aug 2009 14:14:49 +0100 > > David Southwell wrote: > > Hi every one > > > > My understanding is that one uses the amd64 for building a kernel for > > systems with Intel Quad Core processors. > > > > It is helpful when naming conventions follow a logical strand. I mean > > why does freebsd use a single manufacturer's name to represent a > > genre? > > The time to complain about that was when they put the "i" in i386. Yep I tried to email intel to tell them using uucp on my unix system from a Sirius on an 8086 but intel were not on email at the time!!! David From bf1783 at googlemail.com Sat Aug 8 11:02:07 2009 From: bf1783 at googlemail.com (b. f.) Date: Sat Aug 8 11:02:14 2009 Subject: Recovering loss of /var/db/pkg ? Message-ID: >There are a lot of common places the files would be installed such as >bin, sbin, lib, libexec under %%PREFIX%%. You can use `find dir -type f >| xargs -n1 -Ifoo sh -c "echo -n foo:; pkg_which foo"` to obtain the >list of known files (pkg_which is part of ports-mgmt/portsupgrade). >After that you can reinstall all packages that provide files with >missing origin. I bet you should use the same /usr/ports you have last >time when /var/db/pkg was full, just to be very close to pkg-plist. Er, except that pkg_which uses the portupgrade package database which is installed by default in -- you guessed it -- /var/db/pkg. So if you don't have it backed up somewhere, or don't have PKG_DBDIR defined to a non-default location, you're out of luck. And if it is still intact, __back it up__ before calling any of the pkgtools -- or you may wipe it out as pkg_which does an automatic update of the pkgdb after seeing that /var/db/pkg has been modified more recently than the database. Just use pkg_glob -qOa -- no need to use pkg_which. If you don't have it, you can: 1) use data recovery tools to try to read the names of the subdirectories of /var/db/pkg from the disk; or 2) write a script to get the names of all files that belonged to ports and swing through a ports tree, associating the files with ports via the pkg-plist and PLIST_FILES variables; or 3) rip out all the old junk, and try to start afresh. b. From jalmberg at identry.com Sat Aug 8 11:53:43 2009 From: jalmberg at identry.com (Identry) Date: Sat Aug 8 11:53:49 2009 Subject: Fwd: Boot failure In-Reply-To: References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> Message-ID: <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> >> Looks like your hardware is dying/dead. > > Sadly, I agree. > > Reset BIOS CMOS data (hardware jumper on motherboard) > Enter RAID controller BIOS, (re)set your "boot drive" > > But it looks like a fundamental BIOS control issue is malfunctioning. > > Do you have a PCI Diagnostics card? ?One like the following? > > http://www.uxd.com/phdpci.shtml > > (I'm not saying that exact model, but rather a device that is able to > see BIOS codes through the PCI bus that can tell very technical detail > to tech support at the motherboard's vendor (you said Intel, right?).) > > Hardware rarely up and dies. ?Have you tried swapping RAM chips out, > or re-ordering them to see if it might be a RAM problem? > > Maybe we're not passing POST, or that we're passing POST but the > bootable device list is not finding bootable medium. > > These kind of issues intrigue me, because it is out of the norm, and > why did it happen. > > I'd get to the point of swapping hardware one at a time until it > fixes, or until you exhaust your options. ?Have any kind of support > contract with the OEM? I do have a support contract and I'm going to dump this right in their lap. Two machines we bought from them -- pretty expensive ones -- and both have had hardware failures. And they are only a couple of years old. I'm not too happy with them at the moment. Well, I need to focus on getting my poor customers back online, so will have to put this problem aside for the weekend. As usual, thanks for the help and support from all. FreeBSD is the best OS, and this group is the best (by far) support group I've ever belonged to. I do appreciate it and I hope someday I'll know enough to give the kind of help I've gotten here. Brgds: John From jalmberg at identry.com Sat Aug 8 11:54:54 2009 From: jalmberg at identry.com (Identry) Date: Sat Aug 8 11:55:01 2009 Subject: Fwd: Boot failure In-Reply-To: <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> References: <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> Message-ID: <4d4e09680908080454v613c5771gda44e2998a1a049c@mail.gmail.com> > I'd get to the point of swapping hardware one at a time until it > fixes, or until you exhaust your options. ?Have any kind of support > contract with the OEM? I do have a support contract and I'm going to dump this right in their lap. Two machines we bought from them -- pretty expensive ones -- and both have had hardware failures. And they are only a couple of years old. I'm not too happy with them at the moment. Well, I need to focus on getting my poor customers back online, so will have to put this problem aside for the weekend. As usual, thanks for the help and support from all. FreeBSD is the best OS, and this group is the best (by far) support group I've ever belonged to. I do appreciate it and I hope someday I'll know enough to give the kind of help I've gotten here. Brgds: John From rsmith at xs4all.nl Sat Aug 8 13:39:02 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Aug 8 13:39:09 2009 Subject: Fwd: Boot failure In-Reply-To: <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> References: <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> Message-ID: <20090808133825.GA74006@slackbox.xs4all.nl> On Sat, Aug 08, 2009 at 07:53:40AM -0400, Identry wrote: > >> Looks like your hardware is dying/dead. > > > > Sadly, I agree. > > I'd get to the point of swapping hardware one at a time until it > > fixes, or until you exhaust your options. ?Have any kind of support > > contract with the OEM? > > I do have a support contract and I'm going to dump this right in their > lap. Two machines we bought from them -- pretty expensive ones -- and > both have had hardware failures. And they are only a couple of years > old. I'm not too happy with them at the moment. For computers, that is already old these days. At $WORK the Dell computers (both desktops and servers AFAIK) that we use are ditched at the first problem after the warranty runs out which is after three years, I believe. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090808/1542f166/attachment.pgp From gesbbb at yahoo.com Sat Aug 8 14:12:19 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Aug 8 14:12:26 2009 Subject: Boot failure In-Reply-To: <20090808133825.GA74006@slackbox.xs4all.nl> References: <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> <20090808133825.GA74006@slackbox.xs4all.nl> Message-ID: <20090808101216.42d3813c@scorpio.seibercom.net> On Sat, 8 Aug 2009 15:38:25 +0200 Roland Smith wrote: > On Sat, Aug 08, 2009 at 07:53:40AM -0400, Identry wrote: > > >> Looks like your hardware is dying/dead. > > > > > > Sadly, I agree. > > > > I'd get to the point of swapping hardware one at a time until it > > > fixes, or until you exhaust your options. ?Have any kind of > > > support contract with the OEM? > > > > I do have a support contract and I'm going to dump this right in > > their lap. Two machines we bought from them -- pretty expensive > > ones -- and both have had hardware failures. And they are only a > > couple of years old. I'm not too happy with them at the moment. > > For computers, that is already old these days. At $WORK the Dell > computers (both desktops and servers AFAIK) that we use are ditched at > the first problem after the warranty runs out which is after three > years, I believe. > > Roland Given the concept of: "Planned (?) Obsolescence", that is probably a wise decision. The problem is that FBSD does not always either partially or fully support new hardware. Updating in such a scenario should therefore be undertaken with extreme care. For example, nVidia cards with 64 bit drivers are not supported in FBSD. Personally, I love nVidia cards; however, this problem has caused me to put off updating my systems temporarily. However, if this problem is not rectified soon, I might have to consider a different OS. Considering that nVidia is already shipping drivers for Win7, both 32 & 64 bit, the fact that they are not supported in FBSD is rather pathetic. -- Jerry gesbbb@yahoo.com Most people in this society who aren't actively mad are, at best, reformed or potential lunatics. Susan Sontag From mahlerrd at yahoo.com Sat Aug 8 14:16:17 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 14:16:24 2009 Subject: Freebsd-update question Message-ID: <66049.51064.qm@web51011.mail.re2.yahoo.com> I thought I'd give freebsd-update a try since I run a GENERIC kernel. mobius# freebsd-update -s update.freebsd.org fetch Looking up update.freebsd.org mirrors... none found. Fetching public key from update.freebsd.org... failed. No mirrors remaining, giving up. Thinking perhaps a networking issue, I checked the machine is accessible... mobius# ping update.freebsd.org PING update1.FreeBSD.org (72.21.59.252): 56 data bytes 64 bytes from 72.21.59.252: icmp_seq=0 ttl=51 time=64.557 ms 64 bytes from 72.21.59.252: icmp_seq=1 ttl=51 time=64.580 ms ^C --- update1.FreeBSD.org ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 64.557/64.569/64.580/0.012 ms It responds with update1, so I tried again using update1.freebsd.org (and several others that I could ping) but it always gives me the same response. A quick check of the handbook and the man pages for both freebsd-update(5) and freebsd-update.conf(8) didn't tell me much about this. I'm sure it's something stupidly simple. Does anyone have some ideas? Rich Mahlerwein From glen.j.barber at gmail.com Sat Aug 8 14:20:18 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Aug 8 14:20:25 2009 Subject: Freebsd-update question In-Reply-To: <66049.51064.qm@web51011.mail.re2.yahoo.com> References: <66049.51064.qm@web51011.mail.re2.yahoo.com> Message-ID: <4ad871310908080720k1b4e9f71xa8705ace2abd9e7c@mail.gmail.com> Hi Richard, On Sat, Aug 8, 2009 at 10:16 AM, Richard Mahlerwein wrote: > I thought I'd give freebsd-update a try since I run a GENERIC kernel. > > mobius# freebsd-update -s update.freebsd.org fetch > Looking up update.freebsd.org mirrors... none found. > Fetching public key from update.freebsd.org... failed. > No mirrors remaining, giving up. > > Thinking perhaps a networking issue, I checked the machine is accessible... > mobius# ping update.freebsd.org > PING update1.FreeBSD.org (72.21.59.252): 56 data bytes > 64 bytes from 72.21.59.252: icmp_seq=0 ttl=51 time=64.557 ms > 64 bytes from 72.21.59.252: icmp_seq=1 ttl=51 time=64.580 ms > ^C > --- update1.FreeBSD.org ping statistics --- > 2 packets transmitted, 2 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 64.557/64.569/64.580/0.012 ms > > It responds with update1, so I tried again using update1.freebsd.org (and several others that I could ping) but it always gives me the same response. > > A quick check of the handbook and the man pages for both freebsd-update(5) and freebsd-update.conf(8) didn't tell me much about this. > > I'm sure it's something stupidly simple. ?Does anyone have some ideas? > There's quite a bit of useful information missing. For starters, what is the output of 'uname -a'? -- Glen Barber From mahlerrd at yahoo.com Sat Aug 8 14:25:16 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 14:25:23 2009 Subject: Freebsd-update question In-Reply-To: <4ad871310908080720k1b4e9f71xa8705ace2abd9e7c@mail.gmail.com> Message-ID: <129263.24894.qm@web51008.mail.re2.yahoo.com> --- On Sat, 8/8/09, Glen Barber wrote: > From: Glen Barber > Subject: Re: Freebsd-update question > To: mahlerrd@yahoo.com > Cc: freebsd-questions@freebsd.org > Date: Saturday, August 8, 2009, 10:20 AM > Hi Richard, > > On Sat, Aug 8, 2009 at 10:16 AM, Richard Mahlerwein > wrote: > > I thought I'd give freebsd-update a try since I run a > GENERIC kernel. > > > > mobius# freebsd-update -s update.freebsd.org fetch > > Looking up update.freebsd.org mirrors... none found. > > Fetching public key from update.freebsd.org... > failed. > > No mirrors remaining, giving up. > > > > Thinking perhaps a networking issue, I checked the > machine is accessible... > > mobius# ping update.freebsd.org > > PING update1.FreeBSD.org (72.21.59.252): 56 data > bytes > > 64 bytes from 72.21.59.252: icmp_seq=0 ttl=51 > time=64.557 ms > > 64 bytes from 72.21.59.252: icmp_seq=1 ttl=51 > time=64.580 ms > > ^C > > --- update1.FreeBSD.org ping statistics --- > > 2 packets transmitted, 2 packets received, 0.0% packet > loss > > round-trip min/avg/max/stddev = > 64.557/64.569/64.580/0.012 ms > > > > It responds with update1, so I tried again using > update1.freebsd.org (and several others that I could ping) > but it always gives me the same response. > > > > A quick check of the handbook and the man pages for > both freebsd-update(5) and freebsd-update.conf(8) didn't > tell me much about this. > > > > I'm sure it's something stupidly simple. Does anyone > have some ideas? > > > > There's quite a bit of useful information missing. > > For starters, what is the output of 'uname -a'? > > -- > Glen Barber > Sorry, forgot to paste that. mobius# uname -a FreeBSD mobius.mahlerwein.homeip.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Sep 5 02:34:20 CDT 2008 rich@mobius.mahlerwein.homeip.net:/usr/obj/usr/src/sys/GENERIC i386 From glen.j.barber at gmail.com Sat Aug 8 14:34:19 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Aug 8 14:34:27 2009 Subject: Freebsd-update question In-Reply-To: <129263.24894.qm@web51008.mail.re2.yahoo.com> References: <4ad871310908080720k1b4e9f71xa8705ace2abd9e7c@mail.gmail.com> <129263.24894.qm@web51008.mail.re2.yahoo.com> Message-ID: <4ad871310908080734j1a1da1b9qa1100b01398a42f9@mail.gmail.com> On Sat, Aug 8, 2009 at 10:25 AM, Richard Mahlerwein wrote: >> > I thought I'd give freebsd-update a try since I run a >> GENERIC kernel. >> > >> > mobius# freebsd-update -s update.freebsd.org fetch >> > Looking up update.freebsd.org mirrors... none found. >> > Fetching public key from update.freebsd.org... >> failed. >> > No mirrors remaining, giving up. >> > [snip] >> >> There's quite a bit of useful information missing. >> >> For starters, what is the output of 'uname -a'? >> > Sorry, forgot to paste that. > mobius# uname -a > FreeBSD mobius.mahlerwein.homeip.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Sep ?5 02:34:20 CDT 2008 ? ? rich@mobius.mahlerwein.homeip.net:/usr/obj/usr/src/sys/GENERIC ?i386 > I was able to get a mirror using: freebsd-update -r 7.1-PRERELEASE fetch -- Glen Barber From rsmith at xs4all.nl Sat Aug 8 14:52:40 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Aug 8 14:53:36 2009 Subject: Boot failure In-Reply-To: <20090808101216.42d3813c@scorpio.seibercom.net> References: <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070708x635dcd80ha96a61e9c71b0b6b@mail.gmail.com> <4d4e09680908070708i286b98a7j6f03725a848ae83c@mail.gmail.com> <20090807153027.GA39621@slackbox.xs4all.nl> <4d4e09680908070847jfed3447v4863b7637585f54@mail.gmail.com> <20090807212050.GB48236@slackbox.xs4all.nl> <4d4e09680908080453i316e1f3buc00f3d0d8477794b@mail.gmail.com> <20090808133825.GA74006@slackbox.xs4all.nl> <20090808101216.42d3813c@scorpio.seibercom.net> Message-ID: <20090808145237.GA76086@slackbox.xs4all.nl> On Sat, Aug 08, 2009 at 10:12:16AM -0400, Jerry wrote: > On Sat, 8 Aug 2009 15:38:25 +0200 > Roland Smith wrote: > > > On Sat, Aug 08, 2009 at 07:53:40AM -0400, Identry wrote: > > > >> Looks like your hardware is dying/dead. > > > > > > > > Sadly, I agree. > > > > > > I'd get to the point of swapping hardware one at a time until it > > > > fixes, or until you exhaust your options. ?Have any kind of > > > > support contract with the OEM? > > > > > > I do have a support contract and I'm going to dump this right in > > > their lap. Two machines we bought from them -- pretty expensive > > > ones -- and both have had hardware failures. And they are only a > > > couple of years old. I'm not too happy with them at the moment. > > > > For computers, that is already old these days. At $WORK the Dell > > computers (both desktops and servers AFAIK) that we use are ditched at > > the first problem after the warranty runs out which is after three > > years, I believe. > > > > Roland > > Given the concept of: "Planned (?) Obsolescence", that is probably a > wise decision. The problem is that FBSD does not always either partially > or fully support new hardware. Updating in such a scenario should > therefore be undertaken with extreme care. True. Therefore I don't like getting systems from builders like Dell who focus on MS windows. I prefer specifying which parts go into my machines, because I can check for compatibility beforehand. > For example, nVidia cards > with 64 bit drivers are not supported in FBSD. Personally, I love nVidia > cards; however, this problem has caused me to put off updating my > systems temporarily. However, if this problem is not rectified soon, I > might have to consider a different OS. Considering that nVidia is > already shipping drivers for Win7, both 32 & 64 bit, the fact that they > are not supported in FBSD is rather pathetic. To be fair, nvidia requested (and were waiting for) some changes made to the FreeBSD amd64 kernel. I think these changes are now in 8-CURRENT, but I'm not sure. However, NVidia choose to create their own unified 3D support infrastructure instead of supporting the X developers with documentation and specifications. That means that nobody but NVidia can maintain their drivers. So instead of wielding the collaborative power of open source, they choose to go their own way. IMHO that is not very smart. (and yes, they doubtlessly have their reasons; NDAs with suppliers, "IP" borrowed from others, whatever) I suspect they'll tire one day of doing all this work themselves. But until that day, I'll buy ATI or intel graphics hardware that _is_ supported by open-source drivers. So I'll not be left with unsupported hardware if the hardware supplier chooses to focus his attentions elswhere. Nor will I face bugs that we cannot fix because of binary-only drivers. Since I find it unacceptable to be a hostage to the whims of a hardware supplier, I will not support manufacturers who stick to closed-source drivers, and I would implore others to do the same. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090808/72838de1/attachment.pgp From rwmaillists at googlemail.com Sat Aug 8 15:47:00 2009 From: rwmaillists at googlemail.com (RW) Date: Sat Aug 8 15:47:08 2009 Subject: Freebsd-update question In-Reply-To: <66049.51064.qm@web51011.mail.re2.yahoo.com> References: <66049.51064.qm@web51011.mail.re2.yahoo.com> Message-ID: <20090808164634.0499b052@gumby.homeunix.com> On Sat, 8 Aug 2009 07:16:15 -0700 (PDT) Richard Mahlerwein wrote: > I thought I'd give freebsd-update a try since I run a GENERIC kernel. > > mobius# freebsd-update -s update.freebsd.org fetch > Looking up update.freebsd.org mirrors... none found. > Fetching public key from update.freebsd.org... failed. > No mirrors remaining, giving up. Can you access the svr record? $ dig +short _http._tcp.update.freebsd.org srv 1 50 80 update5.FreeBSD.org. 2 10 80 update1.FreeBSD.org. 1 35 80 update4.FreeBSD.org. If not try running freebsd-update with servers 4 and 5. From chowse at charter.net Sat Aug 8 16:18:12 2009 From: chowse at charter.net (Charles Howse) Date: Sat Aug 8 16:18:18 2009 Subject: mod_security 2.5.9 Message-ID: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> Hi, Just wondering if anyone has tried updating from mod_security 2.5.9 to 2.5.9_1 via portupgrade. It fails with a "linker error" for me. Stop in /usr/ports/www/mod_security. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ portupgrade20090808-74398-n3wtif-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mod_security-2.5.9 UPGRADE_PORT_VER=2.5.9 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/mod_security (mod_security-2.5.9) (linker error) -- Thanks, Charles http://bubbabbq.homeunix.net UberNooB, mod_security v.2.5.9, RulesEngine On, Personal web site, Apache 2.2.11, FreeBSD-6.4-STABLE From mel.flynn+fbsd.questions at mailing.thruhere.net Sat Aug 8 16:36:11 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sat Aug 8 16:36:18 2009 Subject: mod_security 2.5.9 In-Reply-To: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> Message-ID: <200908080836.09084.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 08 August 2009 08:00:47 Charles Howse wrote: > Just wondering if anyone has tried updating from mod_security 2.5.9 to > 2.5.9_1 via portupgrade. > It fails with a "linker error" for me. And can we see the actual linker error? -- Mel From perrin at apotheon.com Sat Aug 8 16:53:24 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Aug 8 16:53:37 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <182370.92452.qm@web65511.mail.ac4.yahoo.com> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> Message-ID: <20090808164600.GA11570@kokopelli.hydra> On Thu, Aug 06, 2009 at 02:56:41PM -0700, James Phillips wrote: > > I was also attracted to BSD because I knew from my brief stint at > university that the BSD man-pages were actually kept up to date. Not > like the GNU system where man pages say stupid things like: "The full > documentation for dd is maintained as a Texinfo manual. If the info > and dd programs are properly installed at your site, the command: > > info dd > > should give you access to the complete manual. > > dd (coreutils) 5.97 January 2007 DD(1)" > > I actually saw text once (years ago) that basicly said: "If we receive > complaints about the quality of the man pages, they will be removed" I > have tried to use info. I don't have time to go through the info > tutorial every time I want to use a new command (think emacs-like > hyperlinking/scripting, vi-like keybindings) Yeah, I hate that stuff. The GNU project is kind of like the Microsoft of the open source community, that way. > > Anyway, Initially, I wanted to set up a "File and everything else" > server. I don't know exactly when I installed FreeBSD 5.x, but I copied > my files of over to it March 14, 2006. I know this because I lost data: > the file creation times. > > Following the FreeBSD Handbook, I got stuck on trying to get the > printer to work. The handbook was basicly instructing me to write my > own print driver! I checked the HP website: they will release the > details of the PCL language (version 4 or so) for a price. I finally > got it working by installing the Apsfiler package in the ports > collection (no, did not send the post-card yet; the print server is not > functional yet.) > > After basicly using the server for my own use via ssh and FTP for a > while, I decided to try to get samba and NFS working. This time, I > narrowed the scope: Fileserving (SAMBA, NFS), Printing, and working > backups. November 18, 2007, I started my FreeBSD 6.2 installation. This > time I kept notes detailing what I had to do to configure each portion > of the system. Looking up commands I may need if things go wrong ahead > of time. > > Initially, I was struggling with a chicken&egg problem with back ups: I > wanted to borrow a client computer's DVD drive. However, I wanted to > backup the client computers to the server. It was resolved by putting a > DVD burner in the server. I also made made few tweaks of the system to > better follow the Filesystem Hierarchy Standard (such as symlinking > /usr/local/etc to /etc/opt). Don't mess with the filesystem layout unless you *really* know what you're doing! The FHS isn't a Unix standard. It's a Linux distributions standard. It's also not the bastion of good sense and best practices it pretends to be. It's basically a series of political compromises between a bunch of people who are jockeying for positions of power and making as little change in their specific distributions as possible to consider themselves "compliant". FreeBSD doesn't have that problem. It uses a fairly well-organized filesystem hierarchy based on some simple, well-tested principles of use. It is *really* not a good idea to start moving stuff around without knowing how FreeBSD uses its filesystem hierarchy, and it is *especially* not a good idea to do so to try to make it conform with the Linux FHS. FreeBSD is not Linux, after all. In the specific case of creating /etc/opt, you shouldn't really be damaging anything, but there's a very good reason that stuff is in /usr/local/etc -- so that when using separate filesystems for separate parts of the hierarchy, you don't separate the stuff installed in /usr/local from its configuration data. . . . and when I say "you shouldn't really be damaging anything", I use the word "shouldn't" because I can't think of anything that'd hurt, and *not* because I know it won't hurt anything. > > I set up samba in read-only mode with little trouble. I'm not sure if I > can ever get read/write + user-level security working with win98. That > machine is slowly degrading while I try to get the fileserver working > the way I want. The last time I did a complete re-install (of win98) I > lost data due to a damaged disk that I copied the data to (and learned > that bzip2recover is a quick hack that needs to be re-written properly > according to the source code). I hope to replace windows with wine for > the most part, but wine simply installs the applications in the users' > home directory (breaking the FHS). This is only resolvable IMHO by > having wine use a real database back-end for the registry (allowing > user-level "views" of the data, while still isolating different users). The FHS doesn't apply to FreeBSD (or any other BSD Unix, or any commercial UNIX system, for that matter), so it's not "breaking" anything. That's a bit like saying that Python is breaking the XHTML 1.1 standard because it doesn't use end delimiters for its code blocks; the standard in question doesn't apply, so no standard is being broken. > > So, this long story boils down to the following question: > > What is that best way to use the handbook and related documentation > (like man-pages)? > > I am willing to do some reading, but get distracted by irrelevant or > sometimes too low-level stuff. I want to avoid programing as much as > possible until I actually have a work-station I am comfortable playing > around with. Thinking about it in the week before posting this, I think > that part of my problem is I want to use the documentation to do the > "right thing" rather than experiment. Once I move the family's files > onto the server, it becomes essential. I won't be able to have it out > of commission for weeks at a time. I hope with the server properly set > up, win98 may even be usable again: just do a clean install every > morning! I even downloaded the Windows 7 RC so that I can be informed > when I say it sucks. I'm really not sure how to answer this question, I'm afraid. I don't think it's a stupid question, and I think I can understand what you mean about your problems with getting use out of the documentation, but I haven't had the same problems so I don't know of any quick fixes to offer in how to get around these problems. For instance, when I installed CUPS on a couple of computers here for the first time since I started installing FreeBSD them, it all seemed very straightforward and I didn't see anything that could even through hyperbole be described as involving writing my own printer driver. I basically just set up configuration for CUPS, and it worked -- much more easily than it ever did with Debian (my OS of choice before I migrated stuff to FreeBSD). Then again, I go out of my way to make sure I use network-attached PostScript laser printers, and they tend to be very well supported by CUPS on BSD Unix and other Unix-like OSes. In case you're not aware of it, there's one command you should definitely use to help when you want to look up something in a manpage and don't know what manpage to use: apropos . . . or, equivalently: man -k If the manpage you're reading doesn't have exactly what you're looking for, don't forget to check the SEE ALSO, and maybe the FILES, section(s). Don't forget that `man man` will tell you stuff like how to access a manpage in a particular section of the Unix Manual: man n foo . . . where "n" is the section number and "foo" is the manpage in that section you want to read. > > PS: I find it a little annoying that FreeBSD releases faster than I can > configure my computer! ;) So do I, frankly -- because the faster they release, the faster they get dropped from support, basically, and I still haven't gotten the knack of figuring out which releases are going to be the extended support releases when it comes time to pick a minor version number to install on a new system. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Georg Hackl: "American beer is the first successful attempt at diluting water." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090808/c42c7870/attachment.pgp From roberthuff at rcn.com Sat Aug 8 17:20:19 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sat Aug 8 17:20:26 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: References: <20090408142932.695c07ce@summersault.com> Message-ID: <4A7DB3C1.1050708@rcn.com> Volodymyr Kostyrko wrote: >> I'll just say it plainly: >> >> /var/db/pkg is long gone and there is no backup. It was not copied to >> new a machine. >> >> Is there is any hope of being able to use the ports or packages system >> in a >> meangingful way again? >> >> My sense is that some recovery is possible, but may be prohibitively >> expensive. >> >> Thanks for any tips! > > There are a lot of common places the files would be installed such as > bin, sbin, lib, libexec under %%PREFIX%%. If the OP's intention is to be able to reconstruct the dependency tree, he's hosed. If the intention is to find out what was installed, there is some hope. This method works under the following conditions: 1) you were using ports (it may or may not work for packages) 2) you have not deleted /usr/ports/distfiles Basically, sweep through /usr/ports/distfiles. Most entries can be pretty easily mapped to the associated port, including version number. Unfortunately, I know of no way of rebuilding the contents of /var/db/pkg without re-(compiling, installing) every component of every port. If it does not exist, this would be a _killer_ ability to have; it's not often required (one hopes!) but when it is it would be a total lifesaver. Robert Huff From mel.flynn+fbsd.questions at mailing.thruhere.net Sat Aug 8 17:32:30 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sat Aug 8 17:32:36 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: References: Message-ID: <200908080932.27489.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 08 August 2009 03:02:05 b. f. wrote: > 2) write a script to get the names of all files that belonged to ports > and swing through a ports tree, associating the files with ports via > the pkg-plist and PLIST_FILES variables; or This is quite complex, time consuming and prone to error the more ports tree and installed ports are out of sync. Either way, you will want to compare files against the generate-plist target (and the resulting contents of $TMPPLIST), as more and more ports use dynamic package list features. To prevent this from happening in the future, I've written a small periodic script that you can put in /usr/local/etc/periodic/daily and backs up the list of origins of installed ports. On the first run (or more to the point, if /var/backup/pkglist.prev doesn't exist), it will dump the current list. Otherwise, it will compare with the previous run and provide a diff if anything changed. So: - if you set $daily_backup_pkglist_enable to YES in /etc/periodic.conf - if you have daily reports mailed to an off-machine address - and if you keep the first run and all diffs You can recreate an accurate list of installed ports, when applying all diffs in sequence, even if you newfs'd /var on the machine. -- Mel #!/bin/sh # # $Coar: periodic/daily/203.backup-pkglist.sh,v 1.3 2009/08/08 17:04:41 mel Exp $ # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi daily_backup_pkglist_enable=${daily_backup_pkglist_enable:-"NO"} daily_backup_pkglist_dbdir=${daily_backup_pkglist_dbdir:-"/var/db/pkg"} create_pkglist() { local f f=$1 for CFILE in ${daily_backup_pkglist_dbdir}/*/+CONTENTS; do sed -ne 's,^@comment ORIGIN:,,p' ${CFILE} done | sort > ${f} } case "$daily_backup_pkglist_enable" in [Yy][Ee][Ss]) if [ ! -d ${daily_backup_pkglist_dbdir} ] then echo '$daily_backup_pkglist_enable is enabled but' \ "${daily_backup_pkglist_dbdir} doesn't exist" rc=2 else bak=/var/backups rc=0 echo "" echo "Backing up list of package origins:" create_pkglist $bak/pkglist.cur if [ ! -f $bak/pkglist.prev ] then echo "no $bak/pkglist.prev. Dumping full list for prosperity:" cat $bak/pkglist.cur cp -p $bak/pkglist.cur $bak/pkglist.prev fi if ! cmp -s $bak/pkglist.prev $bak/pkglist.cur then [ $rc -lt 1 ] && rc=1 echo "$host pkglist diffs:" diff -u $bak/pkglist.prev $bak/pkglist.cur mv $bak/pkglist.cur $bak/pkglist.prev fi fi;; *) rc=0;; esac exit $rc From freebsd at edvax.de Sat Aug 8 17:55:27 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Aug 8 17:55:34 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090808164600.GA11570@kokopelli.hydra> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> <20090808164600.GA11570@kokopelli.hydra> Message-ID: <20090808195518.7eb8e5ee.freebsd@edvax.de> On Sat, 8 Aug 2009 10:46:00 -0600, Chad Perrin wrote: > Yeah, I hate that stuff. The GNU project is kind of like the Microsoft > of the open source community, that way. Be happy that there at least is an info manual. In many cases, there is NO local documentation, neither in man or info format. The usual cases of documentation, often found in different Linusi, but as well in some "modern software" on FreeBSD, are: - bury the documentation in an arbitrary web location - use a Wiki for documentation - let the users write the documentation - don't document anything. Fortunately, there are even "GUI only" projects that keep up with the good manpage tradition. Have you ever tried "man opera" or "man gmencoder"? On the other hand, most KDE stuff doesn't have a manpage - of course, I can understand it. From their point of view, the question would be: Who would want to read documentation? Answer: Nobody. So why spend time to create it? > Don't mess with the filesystem layout unless you *really* know what > you're doing! Again, my advice do read and understand "man hier". There is a well-intended reason why things are located in certain places. > The FHS isn't a Unix standard. It's a Linux distributions standard. It aims to be. > In the specific case of creating /etc/opt, you shouldn't really be > damaging anything, but there's a very good reason that stuff is in > /usr/local/etc -- so that when using separate filesystems for separate > parts of the hierarchy, you don't separate the stuff installed in > /usr/local from its configuration data. Especially in an environment with "elevated security", there are resons to separate things filesystem wise. File permissions and mount options are a topic there, and symlinking across partitions is a no-go in such settings. > The FHS doesn't apply to FreeBSD (or any other BSD Unix, or any > commercial UNIX system, for that matter), so it's not "breaking" > anything. Just have a look at how Solaris, HP-UX or AIX organize things in terms of directories. You'll be surprised every day where you can find stange things. :-) > Then again, I go out of my way to make sure I use network-attached > PostScript laser printers, and they tend to be very well supported by > CUPS on BSD Unix and other Unix-like OSes. Postscript capable network printers have the advanage that they don't need any support. PS is the default output format for printing, so there's no need to mess around with filters. Most office class printers even include a spooling mechanism for the printer jobs, so this takes away more work from the OS. You simply use the system's lpr command to shove data into the printer, and it does the rest by itself. > Don't forget that `man man` will tell you stuff like how to access a > manpage in a particular section of the Unix Manual: > > man n foo > > . . . where "n" is the section number and "foo" is the manpage in that > section you want to read. It's worth mentioning that there are manpages that don't refer to a particular binary, file, interface or function, but instead provide information about maintenance operations and general introduction. An example is % man intro There are other manpages that give hints for compiling the system, such as "man build", and others. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nlandys at gmail.com Sat Aug 8 17:55:42 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sat Aug 8 17:55:48 2009 Subject: Physically securing FreeBSD workstations & /boot/boot2 In-Reply-To: <4A7B6010.2090506@locolomo.org> References: <560f92640908061135j41f35bfevcd1476ce9ead38a4@mail.gmail.com> <4A7B6010.2090506@locolomo.org> Message-ID: <560f92640908081055x7a9e8deaqf3075da6aec1958b@mail.gmail.com> I seem to have found the answer to my own question. The question was: How do I prevent the boot2 bootstrap step from displaying a prompt where the user can load a custom boot program and/or force booting with options such as single user mode? The answer that seems to work for me: Add "-n" to /boot.config, I found this by ing the boot(8) man page. From mahlerrd at yahoo.com Sat Aug 8 18:06:26 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 18:06:33 2009 Subject: Freebsd-update question In-Reply-To: <4ad871310908080734j1a1da1b9qa1100b01398a42f9@mail.gmail.com> Message-ID: <274961.1501.qm@web51005.mail.re2.yahoo.com> [random snippage all over] > > From: Glen Barber > > Subject: Re: Freebsd-update question > > On Sat, Aug 8, 2009 at 10:25 AM, > > Richard Mahlerwein > > wrote: > > mobius# freebsd-update -s update.freebsd.org fetch > > Looking up update.freebsd.org mirrors... none found. > > Fetching public key from update.freebsd.org... failed. > > No mirrors remaining, giving up. > > > > mobius# uname -a > > FreeBSD mobius 7.1-PRERELEASE > FreeBSD 7.1-PRERELEASE #0: Fri Sep ?5 02:34:20 CDT 2008 ? > ? rich@mobius.mahlerwein.homeip.net:/usr/obj/usr/src/sys/GENERIC > ?i386 > > > I was able to get a mirror using: > > freebsd-update -r 7.1-PRERELEASE fetch > > -- > Glen Barber > mobius# freebsd-update -r 7.1-PRERELEASE fetch Looking up update1.FreeBSD.org mirrors... none found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. I'm puzzled. It seems like this shouldn't be hard, and google seems to agree. There must be something stupidly simple messed up with my system, or configured incorrectly. What protocols/ports does freebsd-update use? Watching tcpdump while running freebsd-update shows no traffic whatsoever relating to this that I can tell. Makes me wish for a "verbose" mode on freebsd-update. I fiddled with truss, but that seems harder to interpret than strace on linux (which I'm installing from the ports as I write this). I mean, I'd just update it the old fashioned way, but now I'm curious (and, let's face it, I've not updated it in quite a while, so I suspect another day or two won't hurt any more). I'm about to add a "verbose" option to freebsd-update and see if I can get it to print out in more detail what it's actually trying to do... From mahlerrd at yahoo.com Sat Aug 8 18:14:13 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 18:14:19 2009 Subject: Freebsd-update question In-Reply-To: <20090808164634.0499b052@gumby.homeunix.com> Message-ID: <953691.2052.qm@web51007.mail.re2.yahoo.com> > From: RW > Subject: Re: Freebsd-update question > To: freebsd-questions@freebsd.org > Date: Saturday, August 8, 2009, 11:46 AM > On Sat, 8 Aug 2009 07:16:15 -0700 > (PDT) > Richard Mahlerwein > wrote: > > > I thought I'd give freebsd-update a try since I run a > GENERIC kernel. > > > > mobius# freebsd-update -s update.freebsd.org fetch > > Looking up update.freebsd.org mirrors... none found. > > Fetching public key from update.freebsd.org... > failed. > > No mirrors remaining, giving up. > > Can you access the svr record? > > $ dig +short _http._tcp.update.freebsd.org srv > 1 50 80 update5.FreeBSD.org. > 2 10 80 update1.FreeBSD.org. > 1 35 80 update4.FreeBSD.org. > > If not try running freebsd-update with servers 4 and 5. > mobius# dig +short _http._tcp.update.freebsd.org srv (returns nothing) I tried various of the update servers both via 'dig' and via 'freebsd-update', all returned the same. I attempted using a "-s 216.14.97.73" seeing if pointing it to IP would work, but no go - same failure. For what it's worth, making up a -s responds identically (like '-s bleh.a.oorg'). How is freebsd-update resolving addresses? I'm sure this is all user error somewhere along the line. From junior_1985 at mail.ru Sat Aug 8 18:50:21 2009 From: junior_1985 at mail.ru (Ren Junior) Date: Sat Aug 8 18:57:00 2009 Subject: HSF-driver && BSD Message-ID: Hi. Please make support of the driver for operating systems (eg. BeOS, FreeBSD, OpenBSD, etc.) From bf1783 at googlemail.com Sat Aug 8 19:02:20 2009 From: bf1783 at googlemail.com (b. f.) Date: Sat Aug 8 19:02:27 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: <200908080932.27489.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200908080932.27489.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: On 8/8/09, Mel Flynn wrote: > On Saturday 08 August 2009 03:02:05 b. f. wrote: > >> 2) write a script to get the names of all files that belonged to ports >> and swing through a ports tree, associating the files with ports via >> the pkg-plist and PLIST_FILES variables; or > > This is quite complex, time consuming and prone to error the more ports tree > and installed ports are out of sync. Either way, you will want to compare > files against the generate-plist target (and the resulting contents of > $TMPPLIST), as more and more ports use dynamic package list features. Yes, but then I was supposing that a complete reconstruction wasn't necessary -- just a listing of the majority of the ports, or at least the majority of the leaf ports. And grep is usually faster than many invocations of make. There are other shortcuts: if /var/db/ports is intact, you can look at the ports that you've had to config -- this will account for the majority of the larger, more complex ports at the top of the tree, with many dependencies, and so will cheaply give you many of your ports. Also don't forget your file database! 'locate /var/db/pkg' could give you many of your ports, if things haven't changed too much since the last time you updated your database, and the database is intact. > > To prevent this from happening in the future, I've written a small periodic > script that you can put in /usr/local/etc/periodic/daily and backs up the > list > of origins of installed ports. > Could come in handy. I usually keep a listing of 'portmaster -l' and a compressed backup /var/db/ports in a safe place. b. From jules.stocks at gmail.com Sat Aug 8 19:34:53 2009 From: jules.stocks at gmail.com (Jules Gilbert) Date: Sat Aug 8 19:35:00 2009 Subject: configuring X on the Presario with the 8200M driver Message-ID: <28d0cced0908081214y5e2bde06m5701976d95f245e5@mail.gmail.com> Okay, I'm back with another question (but let me begin by saying I love FreeBSD. It really is great. Thank you for building/supporting it.) I have one of those $300 Presario laptop's, and it's really wonderful -- it compares very well to laptops' selling for $2k to even $3k. But the video driver is an AMD 8200M nvidia device and I can't get X to configure it. And I have to run X. What do I do? I've tried: X -configure that fails. I notice that PC-BSD will configure it correctly but for other reasons I have to run native 7.2 FreeBSD -- PC-BSD won't do. I am not very X experienced (mostly use the ordinary screens,) so I will need pretty explicit assistance. Sorry. --jg From bf1783 at googlemail.com Sat Aug 8 20:13:33 2009 From: bf1783 at googlemail.com (b. f.) Date: Sat Aug 8 20:13:40 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: References: <200908080932.27489.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: Robert Huff wrote: > Unfortunately, I know of no way of rebuilding the contents of >/var/db/pkg without re-(compiling, installing) every component of every >port. If it does not exist, this would be a _killer_ ability to have; >it's not often required (one hopes!) but when it is it would be a total >lifesaver. Well, if you know which ports were installed, and if the installed ports correspond to the versions in your ports tree, and if both make.conf and /var/db/ports are intact (a lot of ifs here ...), you can reconstruct it by running : make generate-plist fake-pkg in the origin of each of the installed ports, which doesn't require rebuilds. IF there is cruft left in /var/db/pkg, then you need to do this with FORCE_PKG_REGISTER=yes, or empty /var/db/pkg first. b. From mahlerrd at yahoo.com Sat Aug 8 20:44:01 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 20:44:08 2009 Subject: Freebsd-update question In-Reply-To: <274961.1501.qm@web51005.mail.re2.yahoo.com> Message-ID: <116853.94145.qm@web51002.mail.re2.yahoo.com> Thanks for the help, I figured out the [likely] answer and included it at the bottom. --- On Sat, 8/8/09, Richard Mahlerwein wrote: > From: Richard Mahlerwein > Subject: Re: Freebsd-update question > To: freebsd-questions@freebsd.org > Date: Saturday, August 8, 2009, 2:06 PM > [random snippage all over] > > > From: Glen Barber > > > Subject: Re: Freebsd-update question > > > On Sat, Aug 8, 2009 at 10:25 AM, > > > Richard Mahlerwein > > > wrote: > > > mobius# freebsd-update -s update.freebsd.org fetch > > > Looking up update.freebsd.org mirrors... none found. > > > Fetching public key from update.freebsd.org... failed. > > > No mirrors remaining, giving up. > > > > > > mobius# uname -a > > > FreeBSD mobius 7.1-PRERELEASE > > FreeBSD 7.1-PRERELEASE #0: Fri Sep 5 02:34:20 CDT 2008 > > rich@mobius.mahlerwein.homeip.net:/usr/obj/usr/src/sys/GENERIC > > i386 > > > > > > I was able to get a mirror using: > > > > freebsd-update -r 7.1-PRERELEASE fetch > > > > -- > > Glen Barber > > > > mobius# freebsd-update -r 7.1-PRERELEASE fetch > Looking up update1.FreeBSD.org mirrors... none found. > Fetching public key from update1.FreeBSD.org... failed. > No mirrors remaining, giving up. > > I mean, I'd just update it the old fashioned way, but now > I'm curious (and, let's face it, I've not updated it in > quite a while, so I suspect another day or two won't hurt > any more). I'm about to add a "verbose" option to > freebsd-update and see if I can get it to print out in more > detail what it's actually trying to do... > Found what I believe to be the answer, and yes it's mostly user error. :) Your test above notwithstanding, it seem the PRERELEASE isn't supported for freebsd-update, or at least it's not signed. I found the source to freebsd-update (it's a shell script) and found that there was a way to specify "--debug". So, when I ran... mobius# freebsd-update --debug -s update1.freebsd.org fetch Looking up update1.freebsd.org mirrors... none found. Fetching public key from update1.freebsd.org... fetch: http://update1.freebsd.org/7.1-PRERELEASE/i386/pub.ssl: Not Found failed. That gave me a good lead to follow. Browsing around update1.freebsd.org for a bit leads me to find things under, say, http://update.freebsd.org/7.1-RELEASE/i386/pub.ssl Just not under 7.1-PRERELEASE. I'll update the old fashioned way. NP. I think once I'm off PRERELEASE I'll be able to use freebsd-update. From rwmaillists at googlemail.com Sat Aug 8 20:59:35 2009 From: rwmaillists at googlemail.com (RW) Date: Sat Aug 8 20:59:41 2009 Subject: Freebsd-update question In-Reply-To: <953691.2052.qm@web51007.mail.re2.yahoo.com> References: <20090808164634.0499b052@gumby.homeunix.com> <953691.2052.qm@web51007.mail.re2.yahoo.com> Message-ID: <20090808215929.588e3364@gumby.homeunix.com> On Sat, 8 Aug 2009 11:14:10 -0700 (PDT) Richard Mahlerwein wrote: > mobius# dig +short _http._tcp.update.freebsd.org srv > (returns nothing) This is typically either due either to broken SRV support in DNS, or the absence of full dns on a private network behind proxies. Perhaps you need to set HTTP_PROXY. From jhall at socket.net Sat Aug 8 21:31:50 2009 From: jhall at socket.net (Jay Hall) Date: Sat Aug 8 21:31:57 2009 Subject: GNU Tar and -T option Message-ID: <3F47B447-F165-40CA-8172-1B59594BFBCD@socket.net> Has anyone had any luck using the -T option with GNU tar 1.16.1? I am using the following command line. /usr/local/gtar/bin/tar -c -T filelist -f - | dd of=/dev/nsa1 obs=128k And, I am receiving the following error message. This happens whether I use the -T option or --files-from=. If I remove these options, the command runs fine. tar: --: (PROGRAM ERROR) Option should have been recognized!? Try `tar --help' or `tar --usage' for more information. I have also tried placing the -T after the -f - and receive the same error message. Any suggestions concerning how to correct this would be greatly appreciated. Thanks, Jay From mahlerrd at yahoo.com Sat Aug 8 22:48:14 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sat Aug 8 22:48:21 2009 Subject: Freebsd-update question In-Reply-To: <20090808215929.588e3364@gumby.homeunix.com> Message-ID: <515267.83277.qm@web51008.mail.re2.yahoo.com> --- On Sat, 8/8/09, RW wrote: > From: RW > Subject: Re: Freebsd-update question > To: freebsd-questions@freebsd.org > Date: Saturday, August 8, 2009, 4:59 PM > On Sat, 8 Aug 2009 11:14:10 -0700 > (PDT) > Richard Mahlerwein > wrote: > > > > mobius# dig +short _http._tcp.update.freebsd.org srv > > (returns nothing) > > This is typically either due either to broken SRV support > in DNS, or > the absence of full dns on a private network behind > proxies. Perhaps > you need to set HTTP_PROXY. I currently have my little westell DSL router set to be my DNS for all my boxes behind it. While a neat little box, it has its issues from time to time. Should I at least point my DNS to the DNS it uses to save an extra relay? Sort of off topic, but it has begun to annoy me that Verizon has decided to redirect requests to domains that don't exist to their search pages. I haven't noticed they are proxying, but they could be if they did so reasonably transparently. And, with hijacking nonexistent domains, they've led me to believe they COULD be doing something goofy like that. Is there any easy way to actually confirm or deny they're doing more goofy stuff? From mel.flynn+fbsd.questions at mailing.thruhere.net Sat Aug 8 23:14:06 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sat Aug 8 23:14:13 2009 Subject: net-mgmt/flowd - broken ? In-Reply-To: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> References: <8250ac3f0908051135g282fabb1m4009077010a6fd72@mail.gmail.com> Message-ID: <200908081511.44200.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 05 August 2009 10:35:02 Kalle M?ller wrote: > Hi > > I'm trying to build flowd with perl > > make WITH_PERL="YES" > > But it returns that it is broken ? PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=137560 -- Mel From nightrecon at hotmail.com Sat Aug 8 23:31:10 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Aug 8 23:31:18 2009 Subject: Freebsd-update question References: <20090808215929.588e3364@gumby.homeunix.com> <515267.83277.qm@web51008.mail.re2.yahoo.com> Message-ID: Richard Mahlerwein wrote: [snip] > > I currently have my little westell DSL router set to be my DNS for all my > boxes behind it. While a neat little box, it has its issues from time to > time. Should I at least point my DNS to the DNS it uses to save an extra > relay? Depends. I don't know if the Westell does any caching of recursive queries. I don't use it as I have a FreeBSD gateway box that runs my DNS. I have it forwarding to OpenDNS DNS servers, so I don't even use Verizon's. Locally caching DNS lookups locally saves trips. Various different configs are possible, and all will probably do the job effectively. YMMV > Sort of off topic, but it has begun to annoy me that Verizon has decided > to redirect requests to domains that don't exist to their search pages. I > haven't noticed they are proxying, but they could be if they did so > reasonably transparently. And, with hijacking nonexistent domains, > they've led me to believe they COULD be doing something goofy like that. > Is there any easy way to actually confirm or deny they're doing more goofy > stuff? > > This is how you opt out of this "service": http://www.verizon.net/central/vzc.portal?_nfpb=true&_pageLabel=vzc_help_contentDisplay&case=dns_assist Essentially just change the Verizon DNS server IP last two numbers from .12 to .14 for both Primary and Secondary in your Westell. -Mike From gesbbb at yahoo.com Sat Aug 8 23:34:03 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Aug 8 23:34:11 2009 Subject: configuring X on the Presario with the 8200M driver In-Reply-To: <28d0cced0908081214y5e2bde06m5701976d95f245e5@mail.gmail.com> References: <28d0cced0908081214y5e2bde06m5701976d95f245e5@mail.gmail.com> Message-ID: <20090808193401.16f4a3e6@scorpio.seibercom.net> On Sat, 8 Aug 2009 15:14:14 -0400 Jules Gilbert wrote: > Okay, I'm back with another question (but let me begin by saying I > love FreeBSD. It really is great. Thank you for building/supporting > it.) > > I have one of those $300 Presario laptop's, and it's really wonderful > -- it compares very well to laptops' selling for $2k to even $3k. > > But the video driver is an AMD 8200M nvidia device and I can't get X > to configure it. And I have to run X. What do I do? > > I've tried: > > X -configure > > that fails. > > I notice that PC-BSD will configure it correctly but for other reasons > I have to run native 7.2 FreeBSD -- PC-BSD won't do. > > I am not very X experienced (mostly use the ordinary screens,) so I > will need pretty explicit assistance. Sorry. As root, run: Xorg -configure FILES The Xorg server config file can be found in a range of locations. These are documented fully in the xorg.conf(5) manual page. The most commonly used locations are shown here. /etc/X11/xorg.conf Server configuration file. /etc/X11/xorg.conf-4 Server configuration file. /etc/xorg.conf Server configuration file. /usr/local/etc/xorg.conf Server configuration file. /usr/local/lib/X11/xorg.conf Server configuration file. Be sure to copy the newly created xorg.conf file to the appropriate directory. Make sure the file permissions and ownership are also correct. I use 0644 and it works well. Check out: man Xorg and man xorg.conf for further details. -- Jerry gesbbb@yahoo.com Being in the army is like being in the Boy Scouts, except that the Boy Scouts have adult supervision. Blake Clark From nlandys at gmail.com Sun Aug 9 00:38:40 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 9 00:38:48 2009 Subject: Setting up LAN: no route to host Message-ID: <560f92640908081738m31ac75a5pf9f6c4822e427dae@mail.gmail.com> I'm trying to set up a LAN that is isolated from the internet, and I don't know what to put in /etc/rc.conf for certain variables. I'm running FreeBSD 7.1 with the latest patches. So far my /etc/rc.conf file has the following lines: defaultrouter="192.168.0.1" # I would like to leave this blank, but I put something here anyways. hostname="speedy.i" ifconfig_fxp0="inet 192.168.0.254 network 255.255.255.0" ifconfig_fxp0="up" My /etc/hosts includes this line: 192.168.0.254 speedy.i speedy Now when I am logged in to this machine and I "ping 192.168.0.254", I get: ping: sendto: No route to host I'm just trying to set up a LAN between a few computers, and actually, I don't know what to put in the "defaultrouter" field in /etc/rc.conf. I've tried leaving it blank, but that didn't help. By the way I will probably be having more questions about configuring a home router, so please bear with me. From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Aug 9 01:08:55 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Aug 9 01:09:02 2009 Subject: Setting up LAN: no route to host In-Reply-To: <560f92640908081738m31ac75a5pf9f6c4822e427dae@mail.gmail.com> References: <560f92640908081738m31ac75a5pf9f6c4822e427dae@mail.gmail.com> Message-ID: <200908081708.53442.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 08 August 2009 16:38:39 Nerius Landys wrote: > I'm trying to set up a LAN that is isolated from the internet, and I > don't know what to put in /etc/rc.conf for certain variables. I'm > running FreeBSD 7.1 with the latest patches. > > So far my /etc/rc.conf file has the following lines: > > defaultrouter="192.168.0.1" # I would like to leave this blank, but I > put something here anyways. > hostname="speedy.i" > ifconfig_fxp0="inet 192.168.0.254 network 255.255.255.0" > ifconfig_fxp0="up" First: You override the first line with the second line. So in the end, all you accomplish is mark the interface up. Second: network in the first line should be netmask You should delete the second line (an interface will be marked up if an IP address is assigned to it) and fix the netmask keyword. You may want to read up on sh(1) how it treats variables. -- Mel From Ggatten at waddell.com Sun Aug 9 01:10:57 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Sun Aug 9 01:11:05 2009 Subject: Setting up LAN: no route to host Message-ID: <70C0964126D66F458E688618E1CD008A0793F363@WADPEXV0.waddell.com> Are you missing a quote on the ip address line? What does ifconfig output? ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: FreeBSD Mailing List Sent: Sat Aug 08 19:38:39 2009 Subject: Setting up LAN: no route to host I'm trying to set up a LAN that is isolated from the internet, and I don't know what to put in /etc/rc.conf for certain variables. I'm running FreeBSD 7.1 with the latest patches. So far my /etc/rc.conf file has the following lines: defaultrouter="192.168.0.1" # I would like to leave this blank, but I put something here anyways. hostname="speedy.i" ifconfig_fxp0="inet 192.168.0.254 network 255.255.255.0" ifconfig_fxp0="up" My /etc/hosts includes this line: 192.168.0.254 speedy.i speedy Now when I am logged in to this machine and I "ping 192.168.0.254", I get: ping: sendto: No route to host I'm just trying to set up a LAN between a few computers, and actually, I don't know what to put in the "defaultrouter" field in /etc/rc.conf. I've tried leaving it blank, but that didn't help. By the way I will probably be having more questions about configuring a home router, so please bear with me. _______________________________________________ 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 email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From nlandys at gmail.com Sun Aug 9 02:03:45 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 9 02:03:53 2009 Subject: Setting up LAN: no route to host In-Reply-To: <200908081708.53442.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <560f92640908081738m31ac75a5pf9f6c4822e427dae@mail.gmail.com> <200908081708.53442.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <560f92640908081903l3f1342adj8e785ab03f238dc2@mail.gmail.com> I mistyped "netmask" as "network" in my email. But removing that second line like you said fixes the problem. Thanks. > You should delete the second line (an interface will be marked up if an IP > address is assigned to it) and fix the netmask keyword. From nlandys at gmail.com Sun Aug 9 02:32:31 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 9 02:32:38 2009 Subject: Building home router: 192.168.0.x to access internet Message-ID: <560f92640908081932s69ae225mb3c55fef47a4924b@mail.gmail.com> I'm setting up my FreeBSD computer (which has multiple NICs) to act as a home router (and DNS server and a few other things, but that's not important for this email). I have done this before, but then my hard drive broke and I have to do this all again. So, I have a few questions just to confirm that my approach to this problem is going to be the optimal one that I can take. First, my choise of internal network IP addresses is 192.168.0.x. My router machine's IP address will be 192.168.0.254 (that's the interface facing the internal network). The IP addresses of the machines behind the router will start at 192.168.0.2 and go up. I'm wondering if this choice of IP addresses is conventional or good. Is this numbering scheme decent? This is the way I had it set up earlier. I've seen a lot of networks using 192.168.1.x and the router would be 192.168.1.1. So now to the problem of being able to connect from a 192.168.0.x machine to an outside IP address. The way I did this before was by adding 'gateway_enable="YES"' to /etc/rc.conf and then using the OpenBSD packet filter (pf) to do a NAT thing. I'm wondering if this, in your opinion, is the preferred way to do things in order to set up an internal network which can access the outside internet directly. If so, can someone give me a really minimal yet secure packet filter rule set that would do the job? (I'm prepared to read the pf docs, which will take me a few hours.) The router will connect to the outside via DHCP, and from what I remember I had to add a rule to not drop packets that were DHCP-related. From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Aug 9 03:29:20 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Aug 9 03:29:27 2009 Subject: Building home router: 192.168.0.x to access internet In-Reply-To: <560f92640908081932s69ae225mb3c55fef47a4924b@mail.gmail.com> References: <560f92640908081932s69ae225mb3c55fef47a4924b@mail.gmail.com> Message-ID: <200908081929.17614.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 08 August 2009 18:32:30 Nerius Landys wrote: > First, my choise of internal network IP addresses is 192.168.0.x. My > router machine's IP address will be 192.168.0.254 (that's the > interface facing the internal network). The IP addresses of the > machines behind the router will start at 192.168.0.2 and go up. I'm > wondering if this choice of IP addresses is conventional or good. Is > this numbering scheme decent? Convention is to use the lowest host IP address for the router and the highest for broadcast. Yet, it is only convention. There's nothing stopping you from using other address, as long as your client machines know this. > If so, can someone give me a really minimal yet secure packet filter > rule set that would do the job? (I'm prepared to read the pf docs, > which will take me a few hours.) The router will connect to the > outside via DHCP, and from what I remember I had to add a rule to not > drop packets that were DHCP-related. There's actually a nice example in the PF FAQ that covers some basics: http://www.openbsd.org/faq/pf/tagging.html There used to be a sample pf.conf, but I see that got nuked, yet there still are examples in /usr/share/examples/pf/. -- Mel From vogelke+unix at pobox.com Sun Aug 9 03:34:16 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Sun Aug 9 03:34:29 2009 Subject: GNU Tar and -T option In-Reply-To: <3F47B447-F165-40CA-8172-1B59594BFBCD@socket.net> (message from Jay Hall on Sat, 8 Aug 2009 16:31:48 -0500) Message-ID: <20090809033232.8EE8EB7F0@kev.msw.wpafb.af.mil> >> On Sat, 8 Aug 2009 16:31:48 -0500, >> Jay Hall said: J> Has anyone had any luck using the -T option with GNU tar 1.16.1? I am J> using the following command line. J> /usr/local/gtar/bin/tar -c -T filelist -f - | dd of=/dev/nsa1 obs=128k I had no problems using that command line with GNU tar versions 1.14 and 1.22. I'd grab the source and upgrade if I were you: http://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz -- Karl Vogel I don't speak for the USAF or my company The glue on Israeli postage is certified kosher. --odd but true From vogelke+unix at pobox.com Sun Aug 9 03:34:16 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Sun Aug 9 03:34:31 2009 Subject: Fwd: Boot failure In-Reply-To: <20090808133825.GA74006@slackbox.xs4all.nl> (message from Roland Smith on Sat, 8 Aug 2009 15:38:25 +0200) Message-ID: <20090809032913.8A7CBB7F0@kev.msw.wpafb.af.mil> >> On Sat, 8 Aug 2009 15:38:25 +0200, Roland Smith said: R> At $WORK the Dell computers (both desktops and servers AFAIK) that we R> use are ditched at the first problem after the warranty runs out which R> is after three years, I believe. Interesting. I've used a Dell GX260 for my workstation since 2003, and I've had no hardware problems running two versions of FreeBSD, one version of OpenBSD and one version of Solaris-10. Two other 260s have been file-servers since 2004. -- Karl Vogel I don't speak for the USAF or my company If caught with pants down, redefine pants. --pissed-off KDE user From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Aug 9 04:38:54 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Aug 9 04:39:01 2009 Subject: mod_security 2.5.9 In-Reply-To: References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908080836.09084.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <200908082038.51127.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 08 August 2009 19:38:42 Charles Howse wrote: > On Aug 8, 2009, at 11:36 AM, Mel Flynn wrote: > > On Saturday 08 August 2009 08:00:47 Charles Howse wrote: > >> Just wondering if anyone has tried updating from mod_security 2.5.9 > >> to > >> 2.5.9_1 via portupgrade. > >> It fails with a "linker error" for me. > > > > And can we see the actual linker error? > > Thought I had included enough in my original post. > Here's the mod_security part of 'portupgrade -a' > > ... > [Updating the pkgdb in /var/db/pkg ... - 51 > packages found (-0 +1) . done] > ---> Upgrading 'mod_security-2.5.9' to 'mod_security-2.5.9_1' (www/ > mod_security) > ---> Building '/usr/ports/www/mod_security' ... > checking for libapr config script... /usr/local/bin/apr-1-config > configure: using ' -lcrypt -pthread' for apr Library ^^^^^^^^^^^^^^^^^^ > /usr/local/share/apr/build-1/libtool --silent --mode=link cc -o > mod_security2.la -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib - > L/usr/local/lib -lpcre -lxml2 -lz -liconv -lm -rpath /usr/local/ > libexec/apache22 -module -avoid-version msc_release.lo msc_lua.lo > acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo > msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo msc_multipart.lo > msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo > re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo > mod_security2.lo > # XXX there is "mlogc-static" target in the Makefile, too > cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 > && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local > LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - > lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-aliasing - > pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" MANPREFIX="/ > usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" > BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" > BSD_INSTALL_DATA="install -o root -g wheel -m 444" > BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile > mlogc > > Building dynamically linked mlogc... > /usr/local/lib/libapr-1.so: undefined reference to `pthread_yield' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_destroy' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_create' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_exit' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_equal' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_detach' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setstacksize' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_getdetachstate' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setguardsize' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setdetachstate' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_join' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_cond_timedwait' > *** Error code 1 Apparently -pthread isn't passed here. I've tried to reproduce this, but I can't. Could you show the output of: make -C /usr/ports/www/mod_security actual-package-depends Also the contents of /var/db/ports/apr/options. -- Mel From anti_spam256 at yahoo.ca Sun Aug 9 05:09:31 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sun Aug 9 05:09:38 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 In-Reply-To: <20090808233414.171401065686@hub.freebsd.org> Message-ID: <496205.8560.qm@web65512.mail.ac4.yahoo.com> --- On Sat, 8/8/09, freebsd-questions-request@freebsd.org wrote: > > Message: 11 > Date: Sat, 8 Aug 2009 10:46:00 -0600 > From: Chad Perrin > Subject: Re: FreeBSD for the common man(or woman) (was: > > upgrade 7.2 > > On Thu, Aug 06, 2009 at 02:56:41PM -0700, James Phillips > wrote: > > > > > > Following the FreeBSD Handbook, I got stuck on trying > to get the > > printer to work. The handbook was basicly instructing > me to write my > > own print driver! I checked the HP website: they will > release the > > details of the PCL language (version 4 or so) for a > price. I finally > > got it working by installing the Apsfiler package in > the ports > > collection (no, did not send the post-card yet; the > print server is not > > functional yet.) > > > > I'm really not sure how to answer this question, I'm > afraid.? I don't > think it's a stupid question, and I think I can understand > what you mean > about your problems with getting use out of the > documentation, but I > haven't had the same problems so I don't know of any quick > fixes to offer > in how to get around these problems.? For instance, > when I installed CUPS > on a couple of computers here for the first time since I > started > installing FreeBSD them, it all seemed very straightforward > and I didn't > see anything that could even through hyperbole be described > as involving > writing my own printer driver.? I basically just set > up configuration for > CUPS, and it worked -- much more easily than it ever did > with Debian (my > OS of choice before I migrated stuff to FreeBSD). > Okay, after reading this, I used the "WayBack Machine" to review the printing section of the April 17, 2006 version of the Handbook. I was not able to find anything that is writing a print-driver per-se. In the "Advanced" section numerous shell scripts are described (some of which use printer commands directly), but they tend to use filters from the ports collection: http://web.archive.org/web/20060417220024/www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html There is a section in the "Simple" section that explicitly says PS != PCL. Part of the problem may be I did not have documentation for my printer, so did not know how to put it in postscript mode. I really did feel I needed the PCL 4 documentation at one point. I'm going to have to conclude I was mistaken. Regards, James Phillips __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com From nlandys at gmail.com Sun Aug 9 06:23:47 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 9 06:23:59 2009 Subject: Network bridge, but assigned IP address Message-ID: <560f92640908082323j7a243fd0r22af5b947442745d@mail.gmail.com> I am creating a simple network bridge (as described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html) which consists of 5 network interface cards. Function-wise, it's basically acting as a switch. However, I want to assign an IP address to the machine with the 5 NICs. So far without the bridge everything is working perfectly, and my /etc/rc.conf looks like this: gateway_enable="YES" hostname="speedy.i" ifconfig_fxp4="DHCP" ifconfig_em0="inet 192.168.0.254 netmask 255.255.255.0" And I have a NAT (using pf) to allow the 192.168.0.x hosts to directly reach the outside internet. fxp4 is the external network card. My other network cards that I want to make part of the internal network (acting as a switch) are fxp0 through fxp3. So I'm not sure what to do with my rc.conf. In the handbook it says to add these lines: cloned_interfaces="bridge0" ifconfig_bridge0="addm em0 addm fxp0 addm fxp1 addm fxp2 addm fxp3 up" ifconfig_fxp0="up" ifconfig_fxp1="up" ifconfig_fxp2="up" ifconfig_fxp3="up" ifconfig_em0="up" How should I intermingle these lines with my existing rc.conf, and/or which lines should I remove? I want em0, fxp0, fxp1, fxp2, and fxp3 to be a bridge and be assigned the IP address 192.168.0.254. From rsmith at xs4all.nl Sun Aug 9 07:56:54 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Aug 9 07:57:01 2009 Subject: Fwd: Boot failure In-Reply-To: <20090809032913.8A7CBB7F0@kev.msw.wpafb.af.mil> References: <20090808133825.GA74006@slackbox.xs4all.nl> <20090809032913.8A7CBB7F0@kev.msw.wpafb.af.mil> Message-ID: <20090809075651.GA26200@slackbox.xs4all.nl> On Sat, Aug 08, 2009 at 11:29:13PM -0400, Karl Vogel wrote: > >> On Sat, 8 Aug 2009 15:38:25 +0200, Roland Smith said: > > R> At $WORK the Dell computers (both desktops and servers AFAIK) that we > R> use are ditched at the first problem after the warranty runs out which > R> is after three years, I believe. > > Interesting. I've used a Dell GX260 for my workstation since 2003, > and I've had no hardware problems running two versions of FreeBSD, > one version of OpenBSD and one version of Solaris-10. Two other 260s > have been file-servers since 2004. The hardware was retired (recently a lot of GX260s) because repairs and downtime are expensive in man-hours. At $WORK there is a group of volunteers who check out and rebuild these retired machines, so they can be donated to schools et cetera. I agree that most of those machines will last several years longer. The GX260s we had only came with 128 MB RAM standard, which is a very tight to run XP with MS office at a reasonable speed. And they came with small harddisks, because most of our storage is on the network. With added RAM and a bigger harddisk it is perfectly usable. But I agree they would probably even perform better with FreeBSD or Linux on it. For myself I tend not to buy the latest and greatest hardware. It takes time for support for new hardware to materialize, and the newest fastest hardware comes with notably reduced value for money. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/7697f527/attachment.pgp From comp.john at googlemail.com Sun Aug 9 08:01:49 2009 From: comp.john at googlemail.com (John .) Date: Sun Aug 9 08:01:56 2009 Subject: a (hopefully) simple newbie zfs query regarding available space Message-ID: Hello list I followed instructions for ZFS on http://wiki.freebsd.org/ZFSQuickStartGuide, substituting ad6 and ad10 (two new SATA3 1TB disks) for da0 da1 and da2 in the instructions. I was surprised to see only 993GB in /tank/. Is this expected, or is it user error? Also, these disks are completely unformatted. I expected to do a newfs or something similar, and for it to take a bit of time! This is on a running 7.2-STABLE amd64 system. It is only these two disks that I want as ZFS, the rest are UFS2 cheers -- John From comp.john at googlemail.com Sun Aug 9 08:03:31 2009 From: comp.john at googlemail.com (John .) Date: Sun Aug 9 08:03:38 2009 Subject: a (hopefully) simple newbie zfs query regarding available space In-Reply-To: References: Message-ID: 2009/8/9 John . : > Hello list > > I followed instructions for ZFS on > http://wiki.freebsd.org/ZFSQuickStartGuide, substituting ad6 and ad10 > (two new SATA3 1TB disks) for da0 da1 and da2 in the instructions. I > was surprised to see only 993GB in /tank/. Is this expected, or is it > user error? Also, these disks are completely unformatted. I expected > to do a newfs or something similar, and for it to take a bit of time! > > This is on a running 7.2-STABLE amd64 system. It is only these two > disks that I want as ZFS, the rest are UFS2 > > cheers > -- > John > I think I might have answered my own questionj - seems we need 3 or more disks for raidz - (n-p)*x gives 1TB usable. reliability isn't that important, and they are new disks. I suppose ccd would be better in this scenario? -- John From norgaard at locolomo.org Sun Aug 9 08:39:09 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Sun Aug 9 08:39:16 2009 Subject: Building home router: 192.168.0.x to access internet In-Reply-To: <560f92640908081932s69ae225mb3c55fef47a4924b@mail.gmail.com> References: <560f92640908081932s69ae225mb3c55fef47a4924b@mail.gmail.com> Message-ID: <4A7E8B2A.30001@locolomo.org> Nerius Landys wrote: > First, my choise of internal network IP addresses is 192.168.0.x. My > router machine's IP address will be 192.168.0.254 (that's the > interface facing the internal network). The IP addresses of the > machines behind the router will start at 192.168.0.2 and go up. I'm > wondering if this choice of IP addresses is conventional or good. Is > this numbering scheme decent? This is the way I had it set up > earlier. I've seen a lot of networks using 192.168.1.x and the router > would be 192.168.1.1. Whichever works. I don't think there is reason to speculate in "best practices" as which gets to be number 1, however you may consider dividing the address space into ranges for different uses. You may like to group servers in a particular range and clients in another so that you can create firewall rules accordingly. My network is 172.16/23. The range 172.16.0/24 I use for statically configured nodes, servers, access points etc. The 172.16.1/24 I use for dynamically configured nodes, laptops. The reason is that I'm using dynamic dns on my LAN. The reverse map zones cannot be created for classless networks, you have to define reverse zone for a /16 or /24 network. So to ensure that my static servers reverse map cannot be modified I have split my range such that dynamic and static addresses can be separated. For my static range, I have divided it into two, 172.16.0.0/25 and 172.16.0.128/25, the first for production servers, the later for testing and development. This is just a convention I have established, I thought it might be a good idea, but it is not configured in any way. For my dynamic range, in my dhcpd configuration I have created two ranges, 172.16.1.0/25 and 172.16.1.128/25. The first I assign to known hosts, that is hosts I have registered the MAC address of and know the owner. I haven't statically assigned a particular ip to a particular MAC, I just created a host entry in the dhcpd.conf with the MAC. The later range I use for unknown hosts, so when somebody connects they are easy to identify as foreign. This also permits creating special rules in my firewall so that strangers do not get the same unlimited access as friends. Of course, this is very crude as anyone can just reconfigure their address to get unlimited access, but > So now to the problem of being able to connect from a 192.168.0.x > machine to an outside IP address. The way I did this before was by > adding 'gateway_enable="YES"' to /etc/rc.conf and then using the > OpenBSD packet filter (pf) to do a NAT thing. I'm wondering if this, > in your opinion, is the preferred way to do things in order to set up > an internal network which can access the outside internet directly. Yes, that's a great idea. > If so, can someone give me a really minimal yet secure packet filter > rule set that would do the job? (I'm prepared to read the pf docs, > which will take me a few hours.) The router will connect to the > outside via DHCP, and from what I remember I had to add a rule to not > drop packets that were DHCP-related. See the packet filter documentation, IIRC they have also sample filters for common setups such as yours. BR, Erik -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From kraduk at googlemail.com Sun Aug 9 08:43:02 2009 From: kraduk at googlemail.com (chris scott) Date: Sun Aug 9 08:43:10 2009 Subject: a (hopefully) simple newbie zfs query regarding available space In-Reply-To: References: Message-ID: 2009/8/9 John . > Hello list > > I followed instructions for ZFS on > http://wiki.freebsd.org/ZFSQuickStartGuide, substituting ad6 and ad10 > (two new SATA3 1TB disks) for da0 da1 and da2 in the instructions. I > was surprised to see only 993GB in /tank/. Is this expected, or is it > user error? Also, these disks are completely unformatted. I expected > to do a newfs or something similar, and for it to take a bit of time! > > This is on a running 7.2-STABLE amd64 system. It is only these two > disks that I want as ZFS, the rest are UFS2 > > cheers > -- > John > _______________________________________________ > 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" > not a zfs thing is happens with all os and file systems. Basically HD manufacturers quote their capacities in base 10 ie 1 TB = 1000000000 bytes. File systems are calculated in binary therefore the calculation they use is 1024 x 1024 x 1024 = 1099511627776. Slightly more as you can see. Therefore 1 GB is os terms is 1073741824 therefore hd capacity in GB is 1000000000000/1073741824 = 931.322575 The extra you see is it due to HD manufactures slightly over capacity the drives From m.seaman at infracaninophile.co.uk Sun Aug 9 08:47:01 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 9 08:47:09 2009 Subject: Network bridge, but assigned IP address In-Reply-To: <560f92640908082323j7a243fd0r22af5b947442745d@mail.gmail.com> References: <560f92640908082323j7a243fd0r22af5b947442745d@mail.gmail.com> Message-ID: <4A7E8CF8.1080109@infracaninophile.co.uk> Nerius Landys wrote: > I am creating a simple network bridge (as described in > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html) > which consists of 5 network interface cards. Function-wise, it's > basically acting as a switch. However, I want to assign an IP address > to the machine with the 5 NICs. > > So far without the bridge everything is working perfectly, and my > /etc/rc.conf looks like this: > > gateway_enable="YES" > hostname="speedy.i" > ifconfig_fxp4="DHCP" > ifconfig_em0="inet 192.168.0.254 netmask 255.255.255.0" You should remove this ifconfig_em0 setting ... > And I have a NAT (using pf) to allow the 192.168.0.x hosts to directly > reach the outside internet. fxp4 is the external network card. My > other network cards that I want to make part of the internal network > (acting as a switch) are fxp0 through fxp3. So I'm not sure what to > do with my rc.conf. In the handbook it says to add these lines: > > cloned_interfaces="bridge0" > ifconfig_bridge0="addm em0 addm fxp0 addm fxp1 addm fxp2 addm fxp3 up" > ifconfig_fxp0="up" > ifconfig_fxp1="up" > ifconfig_fxp2="up" > ifconfig_fxp3="up" > ifconfig_em0="up" ... and then add all of these lines to the rest of the existing rc.conf > How should I intermingle these lines with my existing rc.conf, and/or > which lines should I remove? I want em0, fxp0, fxp1, fxp2, and fxp3 > to be a bridge and be assigned the IP address 192.168.0.254. To give the whole ensemble an IP address, simply set the IP on the bridge0 interface. I think you can do it most easily by adding this line, ipv4_addrs_bridge0="192.168.0.254/24" but in case that doesn't work correctly, just extend the ifconfig_bridge0 setting: ifconfig_bridge0="addm em0 addm fxp0 addm fxp1 addm fxp2 addm fxp3 inet 192.168.0.254 netmask 255.255.255.0 up" See the section on network_interfaces in rc.conf(5) for more detail and some other possibilities. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/4134a396/signature.pgp From comp.john at googlemail.com Sun Aug 9 09:01:43 2009 From: comp.john at googlemail.com (John .) Date: Sun Aug 9 09:01:50 2009 Subject: a (hopefully) simple newbie zfs query regarding available space In-Reply-To: References: Message-ID: 2009/8/9 chris scott : > > not a zfs thing is happens with all os and file systems. Basically HD > manufacturers quote their capacities in base 10 ie 1 TB = 1000000000 bytes. > File systems are calculated in binary therefore the calculation they use is > 1024 x 1024 x 1024 = 1099511627776. Slightly more as you can see. > > Therefore 1 GB is os terms is 1073741824 > > therefore hd capacity in GB is > > 1000000000000/1073741824 = 931.322575 > > The extra you see is it due to HD manufactures slightly over capacity the > drives > Hi, What I meant was, I was seeing 931MB instead of 1.6TB (2x1TB disks) but this was because I didn't read about zfs properly (they recommend 3 or more disks. In the man page for zpool it says: "A ?raidz group with N disks of size X with P parity disks can hold approximately (N-P)*X bytes [...] The recommended number is between 3 and 9" so, I'll wait till I get an array before implementing zfs. In the meantime, I'm using gconcat. Sorry for the noise. -- John From kraduk at googlemail.com Sun Aug 9 09:13:13 2009 From: kraduk at googlemail.com (chris scott) Date: Sun Aug 9 09:13:21 2009 Subject: a (hopefully) simple newbie zfs query regarding available space In-Reply-To: References: Message-ID: 2009/8/9 John . > 2009/8/9 chris scott : > > > > > not a zfs thing is happens with all os and file systems. Basically HD > > manufacturers quote their capacities in base 10 ie 1 TB = 1000000000 > bytes. > > File systems are calculated in binary therefore the calculation they use > is > > 1024 x 1024 x 1024 = 1099511627776. Slightly more as you can see. > > > > Therefore 1 GB is os terms is 1073741824 > > > > therefore hd capacity in GB is > > > > 1000000000000/1073741824 = 931.322575 > > > > The extra you see is it due to HD manufactures slightly over capacity the > > drives > > > > Hi, > > What I meant was, I was seeing 931MB instead of 1.6TB (2x1TB disks) > but this was because I didn't read about zfs properly (they recommend > 3 or more disks. In the man page for zpool it says: > > "A raidz group with N disks of size X with P parity disks can hold > approximately (N-P)*X bytes > [...] > The recommended number is between 3 and 9" > > so, I'll wait till I get an array before implementing zfs. In the > meantime, I'm using gconcat. Sorry for the noise. > > -- > John > _______________________________________________ > 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" > ah did you do a zpool create tank ad0 then zpool attach tank ad1 type thing? if you did you have you have created a mirror to fix do a zpool dettach ad1 then a zpool add ad1 to create a stripe Having said that it not good practice to have no redundancy. You could comprise by putting your important data on a dedicated file system then setting copies to 2 or 3 From parv at pair.com Sun Aug 9 09:45:09 2009 From: parv at pair.com (Parv) Date: Sun Aug 9 09:45:17 2009 Subject: Availability & quality of manual pages (was Re: FreeBSD for the common man(or woman)) In-Reply-To: <20090808195518.7eb8e5ee.freebsd@edvax.de> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> <20090808164600.GA11570@kokopelli.hydra> <20090808195518.7eb8e5ee.freebsd@edvax.de> Message-ID: <20090809094710.GA1703@holstein.holy.cow> in message <20090808195518.7eb8e5ee.freebsd@edvax.de>, wrote Polytropon thusly... > > On Sat, 8 Aug 2009 10:46:00 -0600, Chad Perrin > wrote: > > Yeah, I hate that stuff. (referring to loathsome info pages.) > > The GNU project is kind of like the Microsoft of the open source > > community, that way. > > Be happy that there at least is an info manual. In many cases, > there is NO local documentation, neither in man or info format. ... > Fortunately, there are even "GUI only" projects that keep up with > the good manpage tradition. Have you ever tried "man opera" ... Hot Diggity! I never thought of Opera having a man page. Thanks much. Dang it! Firefox does not have one. - Parv -- From nlandys at gmail.com Sun Aug 9 10:34:35 2009 From: nlandys at gmail.com (Nerius Landys) Date: Sun Aug 9 10:34:42 2009 Subject: Network bridge, but assigned IP address In-Reply-To: <4A7E8CF8.1080109@infracaninophile.co.uk> References: <560f92640908082323j7a243fd0r22af5b947442745d@mail.gmail.com> <4A7E8CF8.1080109@infracaninophile.co.uk> Message-ID: <560f92640908090334s37a65ba1kc128f34d2c2566f0@mail.gmail.com> > To give the whole ensemble an IP address, simply set the IP on the bridge0 > interface. I think you can do it most easily by adding this line, > > ipv4_addrs_bridge0="192.168.0.254/24" Indeed, that works well. From chowse at charter.net Sun Aug 9 12:24:51 2009 From: chowse at charter.net (Charles Howse) Date: Sun Aug 9 12:24:58 2009 Subject: mod_security 2.5.9 In-Reply-To: <200908082038.51127.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908080836.09084.mel.flynn+fbsd.questions@mailing.thruhere.net> <200908082038.51127.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <2A95E0AE-73DF-48F5-87E6-32683FE5AA8C@charter.net> On Aug 8, 2009, at 11:38 PM, Mel Flynn wrote: > On Saturday 08 August 2009 19:38:42 Charles Howse wrote: >> On Aug 8, 2009, at 11:36 AM, Mel Flynn wrote: >>> On Saturday 08 August 2009 08:00:47 Charles Howse wrote: >>>> Just wondering if anyone has tried updating from mod_security 2.5.9 >>>> to >>>> 2.5.9_1 via portupgrade. >>>> It fails with a "linker error" for me. >>> >>> And can we see the actual linker error? >> >> Thought I had included enough in my original post. >> Here's the mod_security part of 'portupgrade -a' >> >> ... >> [Updating the pkgdb in /var/db/pkg ... - 51 >> packages found (-0 +1) . done] >> ---> Upgrading 'mod_security-2.5.9' to 'mod_security-2.5.9_1' (www/ >> mod_security) >> ---> Building '/usr/ports/www/mod_security' > > ... > >> checking for libapr config script... /usr/local/bin/apr-1-config >> configure: using ' -lcrypt -pthread' for apr Library > ^^^^^^^^^^^^^^^^^^ >> /usr/local/share/apr/build-1/libtool --silent --mode=link cc -o >> mod_security2.la -R/usr/local/lib -L/usr/local/lib -L/usr/local/ >> lib - >> L/usr/local/lib -lpcre -lxml2 -lz -liconv -lm -rpath /usr/local/ >> libexec/apache22 -module -avoid-version msc_release.lo msc_lua.lo >> acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo >> msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo >> msc_multipart.lo >> msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo >> re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo >> mod_security2.lo >> # XXX there is "mlogc-static" target in the Makefile, too >> cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 >> && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local >> LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - >> lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict- >> aliasing - >> pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" >> MANPREFIX="/ >> usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" >> BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" >> BSD_INSTALL_DATA="install -o root -g wheel -m 444" >> BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile >> mlogc >> >> Building dynamically linked mlogc... >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_yield' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_destroy' >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_create' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_init' >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_exit' >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_equal' >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_detach' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_setstacksize' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_getdetachstate' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_setguardsize' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_attr_setdetachstate' >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_join' >> /usr/local/lib/libapr-1.so: undefined reference to >> `pthread_cond_timedwait' >> *** Error code 1 > > Apparently -pthread isn't passed here. I've tried to reproduce this, > but I > can't. Could you show the output of: > make -C /usr/ports/www/mod_security actual-package-depends root@curly /root# make -C /usr/ports/www/mod_security actual-package- depends pcre-7.9:devel/pcre apr-gdbm-db42-1.3.8.1.3.9:devel/apr curl-7.19.5_1:ftp/curl libxml2-2.7.3:textproc/libxml2 apache-2.2.11_7:www/apache22 pkg-config-0.23_1:devel/pkg-config expat-2.0.1:textproc/expat2 gdbm-1.8.3_3:databases/gdbm db42-4.2.52_5:databases/db42 libiconv-1.13.1:converters/libiconv ca_root_nss-3.11.9_2:security/ca_root_nss pkg-config-0.23_1:devel/pkg-config libiconv-1.13.1:converters/libiconv expat-2.0.1:textproc/expat2 perl-5.8.9_3:lang/perl5.8 pcre-7.9:devel/pcre libiconv-1.13.1:converters/libiconv root@curly /root# > > Also the contents of /var/db/ports/apr/options. root@curly /root# cat /var/db/ports/apr/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for apr-gdbm-db42-1.3.3.1.3.4_1 _OPTIONS_READ=apr-gdbm-db42-1.3.3.1.3.4_1 WITH_THREADS=true WITHOUT_IPV6=true WITH_GDBM=true WITH_BDB=true WITHOUT_NDBM=true WITHOUT_LDAP=true WITHOUT_MYSQL=true WITHOUT_PGSQL=true root@curly /root# Thanks Mel! From vk3mrc at gmail.com Sun Aug 9 13:08:10 2009 From: vk3mrc at gmail.com (Michael Christie) Date: Sun Aug 9 13:08:17 2009 Subject: Gmirror Message-ID: Hi there all, I need your help. I have a supermicro server which was running Freebsd 7.1 with 2 SATA drives. I have had G mirror running on the server. I needed to do a full reinstall of freebsd but was unable to disengage the mirror at the time. When installing Freebsd, on to the drives i see i have AD4 AD6 and AR0 on the disk label, i have installed the new free bsd in AD4, and the system would not boot. I have come across this before where i have to remove AR0 to default the drive, i can remember reading a thread on how to use ?fix it? and using the live cd. I have google but cannot find it Please is there any one here that can refresh my memory and tell me how to remove gmirror from my drives so i can do a fresh install,. Thanmks Mick From vk3mrc at gmail.com Sun Aug 9 13:11:18 2009 From: vk3mrc at gmail.com (Michael Christie) Date: Sun Aug 9 13:11:25 2009 Subject: (no subject) Message-ID: Hi there all, I need your help. I have a supermicro server which was running Freebsd 7.1 with 2 SATA drives. I have had G mirror running on the server. I needed to do a full reinstall of freebsd but was unable to disengage the mirror at the time. When installing Freebsd, on to the drives i see i have AD4 AD6 and AR0 on the disk label, i have installed the new free bsd in AD4, and the system would not boot. I have come across this before where i have to remove AR0 to default the drive, i can remember reading a thread on how to use ?fix it? and using the live cd. I have google but cannot find it Please is there any one here that can refresh my memory and tell me how to remove gmirror from my drives so i can do a fresh install,. Thanmks Mick From rsmith at xs4all.nl Sun Aug 9 13:27:58 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Aug 9 13:28:06 2009 Subject: Gmirror In-Reply-To: References: Message-ID: <20090809132755.GA7438@slackbox.xs4all.nl> On Sun, Aug 09, 2009 at 10:41:05PM +1000, Michael Christie wrote: > Hi there all, > > I need your help. I have a supermicro server which was running Freebsd 7.1 > with 2 SATA drives. I have had G mirror running on the server. I needed to > do a full reinstall of freebsd but was unable to disengage the mirror at the > time. When installing Freebsd, on to the drives i see i have AD4 AD6 and AR0 > on the disk label, i have installed the new free bsd in AD4, and the system > would not boot. > > I have come across this before where i have to remove AR0 to default the > drive, i can remember reading a thread on how to use ?fix it? and using the > live cd. I have google but cannot find it > > Please is there any one here that can refresh my memory and tell me how to > remove gmirror from my drives so i can do a fresh install,. I don't think you have to do a new install. Just use 'boot0cfg -s 1 ad4' to make the next boot start from da4. Then rebuild ad6: 'gmirror rebuild ar0 ad6'. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/0567b365/attachment.pgp From sfourman at gmail.com Sun Aug 9 13:34:27 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Aug 9 13:34:34 2009 Subject: netgraph aggrate L2 tunnels Message-ID: <11167f520908090610h4d35895bl9f51de3566138f44@mail.gmail.com> hello list, I have searched the web for hours and I cant seem to find a recent How to for my project. I have 2 FreeBSD 8 machines 1 at my office and 1 at a colo datacenter. I have 2 DSL connections at my office, Would like a recipe to bond the connections to the datacenter FreeBSD box via L2 netgraph tunnels. the goal is to combine the DSL download speeds for a single tcp connection. after much searching I believe netgraph is the most elegant way to achieve this Would the Lagg driver be a good choice for bonding both sides? Setup info My DSL lines both have seprate static IP's from my telco, the telco does not support MLPPP my inside office network is 192.168.1.x, and the data center has a single static ip I could get more if I need them. I assume I would assign the datacenter side of the tunnel a 192.168.1.x address and use that as my gateway and run pf at the data center with nat. I am sure there are several people out there that understand netgraph and could post config examples. Thank you in advance Sam From perrin at apotheon.com Sun Aug 9 13:59:58 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Aug 9 14:00:04 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090808195518.7eb8e5ee.freebsd@edvax.de> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> <20090808164600.GA11570@kokopelli.hydra> <20090808195518.7eb8e5ee.freebsd@edvax.de> Message-ID: <20090809135230.GA21588@kokopelli.hydra> On Sat, Aug 08, 2009 at 07:55:18PM +0200, Polytropon wrote: > On Sat, 8 Aug 2009 10:46:00 -0600, Chad Perrin wrote: > > Yeah, I hate that stuff. The GNU project is kind of like the Microsoft > > of the open source community, that way. > > Be happy that there at least is an info manual. In many cases, there > is NO local documentation, neither in man or info format. The usual > cases of documentation, often found in different Linusi, but as well > in some "modern software" on FreeBSD, are: > - bury the documentation in an arbitrary web location > - use a Wiki for documentation > - let the users write the documentation > - don't document anything. An info page is almost as bad as nothing, as far as I'm concerned. The GNU project has this bizarre idea that everybody in the world should use everything it produces and *nothing else*, no matter how painful it all is to use -- and assumes everybody should be using emacs, so obviously the baroque emacs-inspired interface to info pages is "ideal". Debian actually tended to be pretty good at manpage coverage of software and files on the system, but FreeBSD still manages to do at least slightly better most of the time -- and, for some reason, few of the other Linux distributions took advantage of the manpages produced by the Debian project. > > Fortunately, there are even "GUI only" projects that keep up with > the good manpage tradition. Have you ever tried "man opera" or > "man gmencoder"? On the other hand, most KDE stuff doesn't have > a manpage - of course, I can understand it. From their point of > view, the question would be: Who would want to read documentation? > Answer: Nobody. So why spend time to create it? This is one reason among many I have no interest in using KDE software. > > > The FHS isn't a Unix standard. It's a Linux distributions standard. > > It aims to be. To be . . . which one? I'm sure its proponents want it to take over the world, but frankly, I hope it fails miserably. They're actually doing things that break backward compatibility with older "standard" ways of doing things just for the sake of political expediency, which definitely gets my hackles up. > > > In the specific case of creating /etc/opt, you shouldn't really be > > damaging anything, but there's a very good reason that stuff is in > > /usr/local/etc -- so that when using separate filesystems for separate > > parts of the hierarchy, you don't separate the stuff installed in > > /usr/local from its configuration data. > > Especially in an environment with "elevated security", there are > resons to separate things filesystem wise. File permissions and > mount options are a topic there, and symlinking across partitions > is a no-go in such settings. That's another excellent point. > > > The FHS doesn't apply to FreeBSD (or any other BSD Unix, or any > > commercial UNIX system, for that matter), so it's not "breaking" > > anything. > > Just have a look at how Solaris, HP-UX or AIX organize things in > terms of directories. You'll be surprised every day where you > can find stange things. :-) Hell, I've been surprised at the strange places Red Hat keeps things sometimes, even when Linux distributions were my daily business. > > > Then again, I go out of my way to make sure I use network-attached > > PostScript laser printers, and they tend to be very well supported by > > CUPS on BSD Unix and other Unix-like OSes. > > Postscript capable network printers have the advanage that they don't > need any support. PS is the default output format for printing, so > there's no need to mess around with filters. Most office class printers > even include a spooling mechanism for the printer jobs, so this > takes away more work from the OS. You simply use the system's lpr > command to shove data into the printer, and it does the rest by itself. I kinda like having the ability to manage my printer spool from the system where the print job was created, though, using the same interface I used to configure the printer and send jobs to it in the first place. > > > Don't forget that `man man` will tell you stuff like how to access a > > manpage in a particular section of the Unix Manual: > > > > man n foo > > > > . . . where "n" is the section number and "foo" is the manpage in that > > section you want to read. > > It's worth mentioning that there are manpages that don't refer to a > particular binary, file, interface or function, but instead provide > information about maintenance operations and general introduction. > An example is > > % man intro > > There are other manpages that give hints for compiling the system, > such as "man build", and others. Indeed. Another is: man security -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth James Madison: "If Tyranny and Oppression come to this land, it will be in the guise of fighting a foreign enemy." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/042d1ab3/attachment.pgp From perrin at apotheon.com Sun Aug 9 14:08:05 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sun Aug 9 14:08:11 2009 Subject: FreeBSD for the common man(or woman) (was: upgrade 7.2 In-Reply-To: <496205.8560.qm@web65512.mail.ac4.yahoo.com> References: <20090808233414.171401065686@hub.freebsd.org> <496205.8560.qm@web65512.mail.ac4.yahoo.com> Message-ID: <20090809140038.GB21588@kokopelli.hydra> On Sat, Aug 08, 2009 at 10:09:30PM -0700, James Phillips wrote: > > Okay, after reading this, I used the "WayBack Machine" to review the > printing section of the April 17, 2006 version of the Handbook. > > I was not able to find anything that is writing a print-driver per-se. > In the "Advanced" section numerous shell scripts are described (some of > which use printer commands directly), but they tend to use filters from > the ports collection: > http://web.archive.org/web/20060417220024/www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html > > There is a section in the "Simple" section that explicitly says PS != > PCL. Part of the problem may be I did not have documentation for my > printer, so did not know how to put it in postscript mode. > > I really did feel I needed the PCL 4 documentation at one point. I'm > going to have to conclude I was mistaken. No biggie. We all make mistakes from time to time (even me). For most of my printing needs, I use an HP 4050N. Configuring CUPS to use it was very straightforward -- I just chose the most obvious values from the options presented to me, and everything worked beautifully. For most, if not all, network-attached HP printers, I rather suspect it'd be much the same. Anyway, best of luck with it. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Malaclypse the Younger: "'Tis an ill wind that blows no minds." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/ed163574/attachment.pgp From mahlerrd at yahoo.com Sun Aug 9 14:23:08 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sun Aug 9 14:23:15 2009 Subject: Failed update Message-ID: <319781.6756.qm@web51012.mail.re2.yahoo.com> In upgrading 7.1-PRELEASE to -stable, all seemed fine until I rebooted out of single user mode after doing make installworld and mergemaster. Now I get to devd and it dies. I've copied down what's on screen and typed it here. **** [snip] starting devd. Fatal trap 12: page fault while in kernel mode. cpu id = 0; apic id = 00 fault virtual address = 0x3030313a fault code = supervisor write, page not present [snip] current process = 355 (devd) **** What critical step did I miss? Single user mode seems OK, and I can mount the drives (though right now it'll tell me to fsck, since I just hard crashed). I have not tried to cycle this thing much, for fear of trashing something further, but I did at least try one reboot. Same issue. (and yes, I'll be researching this myself, but I thought I'd get this message out there sooner rather than later...) Rich Mahlerwein Mobile: 715-891-7420 From miklosovic.freebsd at gmail.com Sun Aug 9 14:29:45 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Sun Aug 9 14:29:52 2009 Subject: sftp + chrooting users Message-ID: hi all, I am about chrooting ftp users into theirs home directories. I've following in the end of /etc/ssh/sshd_config Subsystem sftp internal-sftp Match group ftp ChrootDirectory /home X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp Now, problem I am facing: if I connect like user@hostname (user is in ftp group) and do "ls", it shows all content of /home dir which is not wanted. I want to chroot user to /home/user. But, as in manual, if you are going to do that, chrooted dir must be owned by root and not writable by anyone. This is impossible to do then. In sshd_config(5), there is ChrootDirectory keyword, and there are %u (user name) and %h (home dir) which would work, but they do not. Using of ChrootDirectory /home/%u does not work (because of privileges issue). it is also an option to chmod 700 for home dirs, but is there some other way? From m.seaman at infracaninophile.co.uk Sun Aug 9 14:30:46 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Aug 9 14:30:53 2009 Subject: (no subject) In-Reply-To: References: Message-ID: <4A7EDD86.3000608@infracaninophile.co.uk> Michael Christie wrote: > Hi there all, > > I need your help. I have a supermicro server which was running Freebsd 7.1 > with 2 SATA drives. I have had G mirror running on the server. I needed to > do a full reinstall of freebsd but was unable to disengage the mirror at the > time. When installing Freebsd, on to the drives i see i have AD4 AD6 and AR0 > on the disk label, i have installed the new free bsd in AD4, and the system > would not boot. > > > > I have come across this before where i have to remove AR0 to default the > drive, i can remember reading a thread on how to use ?fix it? and using the > live cd. I have google but cannot find it You do understand that 'ar0' is an ATARAID mirror and nothing to do with gmirror at all? gmirror uses device names like /dev/mirror/gm0 typically. > Please is there any one here that can refresh my memory and tell me how to > remove gmirror from my drives so i can do a fresh install,. You don't need to remove gmirror per-se. If you do a fresh install on top of what you have, it will set up the drive you install on as a stand-alone disk. In fact, you can take one of a gmirror'd pair and just tweak the device names in /etc/fstab and run it as a plain disk pretty easily without reinstalling at all. There will be gmirror metadata blocks on disk, but these wont have any effect unless you mount partitions on the gmirror device. To remove those metadata blocks, just do # gmirror clear /dev/mirror/gm0 (or whatever your gmirror device is called) -- obviously *not* while the gmirror is active. You may need to allow writes to an active underlying partition by # sysctl kern.geom.debugflags=16 The ATARAID mirror you seem to have picked up inadvertently is very similar to a gmirror RAID in the way it works, except that it won't generally have the nice behaviour for replacing blown hot-swap drives without having to reboot the system. In any case, you can just ignore /dev/ar0 and mount partitions from /dev/ad4 instead, equivalently as for the gmirror case. To remove ar0, just do: # atacontrol delete ar0 Either of these are fairly safe to do while the system is up and running. Also, I suspect that your system is not booting for a different reason than you think. You'ld have to tell us the exact error message you see in order to get a definitive answer, but given what you've described two pretty likely problems are: * Early stage boot blocks can't find the kernel image. In this case you'll be dumped at the loader prompt and asked to give the device name and path to read the kernel from -- typically something like (ad,0)/boot/kernel/kernel (you can use the 'ls' command in the loader to see what available devices there are to try booting from). * Can't mount root partition. Generally this means that /etc/fstab contains incorrect data. In this case, you can probably boot to single user, remount the root partition read-write and then edit /etc/fstab These are not impossibly difficult things to deal with, but neither are they entirely trivial, and if you're a beginner and you don't care about what's currently on the disk, you might find it more productive just to reinstall over the top of the previous contents. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090809/050e5025/signature.pgp From mahlerrd at yahoo.com Sun Aug 9 15:34:58 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sun Aug 9 15:35:07 2009 Subject: Failed update In-Reply-To: <319781.6756.qm@web51012.mail.re2.yahoo.com> Message-ID: <526027.78512.qm@web51009.mail.re2.yahoo.com> --- On Sun, 8/9/09, Richard Mahlerwein wrote: > From: Richard Mahlerwein > Subject: Failed update > To: "FreeBSD-Questions" > Date: Sunday, August 9, 2009, 10:23 AM > In upgrading 7.1-PRELEASE to -stable, > all seemed fine until I rebooted out of single user mode > after doing make installworld and mergemaster. > > Now I get to devd and it dies.? I've copied down > what's on screen and typed it here. > > **** > [snip] > starting devd. > > Fatal trap 12: page fault while in kernel mode. > cpu id = 0; apic id = 00 > fault virtual address = 0x3030313a > fault code = supervisor write, page not present > [snip] > current process = 355 (devd) > > **** > > What critical step did I miss?? Single user mode seems > OK, and I can mount the drives (though right now it'll tell > me to fsck, since I just hard crashed).? I have not > tried to cycle this thing much, for fear of trashing > something further, but I did at least try one reboot.? > Same issue. > > (and yes, I'll be researching this myself, but I thought > I'd get this message out there sooner rather than later...) > > Rich Mahlerwein I'm redoing the whole process in single user mode. My guess is I goofed something during mergemaster and devd.conf is messed up. (Mergemaster is, undeniably, my least favorite utility). I can suffer the system being down for a while, as long as my wife has access to a handful of files. How would I go about mounting a USB stick, if such can be done in single-user mode? I have several sitting around that I could copy stuff to (I'm sure that's easier than pulling off the backup I made last night, since the backup is in dump format on tape, and since my only bsd box is currently not working...) From mahlerrd at yahoo.com Sun Aug 9 15:50:36 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Sun Aug 9 15:50:42 2009 Subject: Failed update In-Reply-To: <526027.78512.qm@web51009.mail.re2.yahoo.com> Message-ID: <99814.37727.qm@web51005.mail.re2.yahoo.com> --- On Sun, 8/9/09, Richard Mahlerwein wrote: > From: Richard Mahlerwein > Subject: Re: Failed update > To: "FreeBSD-Questions" > Date: Sunday, August 9, 2009, 11:34 AM > --- On Sun, 8/9/09, Richard > Mahlerwein > wrote: > > > From: Richard Mahlerwein > > Subject: Failed update > > To: "FreeBSD-Questions" > > Date: Sunday, August 9, 2009, 10:23 AM > > In upgrading 7.1-PRELEASE to -stable, > > all seemed fine until I rebooted out of single user > mode > > after doing make installworld and mergemaster. > > > > Now I get to devd and it dies.? I've copied down > > what's on screen and typed it here. > > > > **** > > [snip] > > starting devd. > > > > Fatal trap 12: page fault while in kernel mode. > > cpu id = 0; apic id = 00 > > fault virtual address = 0x3030313a > > fault code = supervisor write, page not present > > [snip] > > current process = 355 (devd) > > > > **** > > > > What critical step did I miss?? Single user mode > seems > > OK, and I can mount the drives (though right now it'll > tell > > me to fsck, since I just hard crashed).? I have not > > tried to cycle this thing much, for fear of trashing > > something further, but I did at least try one > reboot.? > > Same issue. > > > > (and yes, I'll be researching this myself, but I > thought > > I'd get this message out there sooner rather than > later...) > > > > Rich Mahlerwein > > I'm redoing the whole process in single user mode.? My > guess is I goofed something during mergemaster and devd.conf > is messed up.? (Mergemaster is, undeniably, my least > favorite utility).? > > I can suffer the system being down for a while, as long as > my wife has access to a handful of files.? > > How would I go about mounting a USB stick, if such can be > done in single-user mode?? > > I have several sitting around that I could copy stuff to > (I'm sure that's easier than pulling off the backup I made > last night, since the backup is in dump format on tape, and > since my only bsd box is currently not working...) I'll answer my own question: mount -t msdosfs /dev/da0s1 /mnt then copy away at will. I suppose my biggest issue had been wondering if that works in single user mode. From comp.john at googlemail.com Sun Aug 9 17:08:15 2009 From: comp.john at googlemail.com (John .) Date: Sun Aug 9 17:08:22 2009 Subject: serial console on a machine without a serial port, but with a USB port Message-ID: I need to have access to the console on my server, so that I can do stuff like grab the output of a crash or, if it halts whilst booting up, to take remedial action. I had planned on doing this from a much older machine whose sole function is to provide that capability. This older machine will be remotely accessible, and it sits next to the server machine, on its own real IP address, running ssh and maybe tip or whatever to read the console of the other machine. Sort of like a poor man's ILO. The problem is, the server is a much newer machine and it has no serial port - just USB. Is the only way round this to install a serial card? Would a serial-to-usb converter work? Will usb to usb work? Both machines have USB. on the server machine with a generic kernel (7.2-STABLE), I have this: dmesg | grep -E "^sio[0-9]" sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled and /dev has no sio* entries cheers -- John From djuatdelta at gmail.com Sun Aug 9 17:18:19 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Aug 9 17:18:26 2009 Subject: FreeBSD MATLAB R2008b In-Reply-To: <4A7ED26E.2030306@gmx.net> References: <4A7ED26E.2030306@gmx.net> Message-ID: <7CC8BF71-9317-42AB-BA5F-AE8B4494EA57@gmail.com> Elias, I got to a certain point, then temporarily put it aside. See, I was installing from a custom install disc, and so I'm not really surprised that the Handbook instructions for installing matlab on freebsd didn't completely help me. However, I now have a standard install disc. I plan to retry the install with this new disc. I "do" think I encountered java-related errors, but I can't recall the details or whether it's what you're encountering. I'll reply to the list here once I attempt the install tomorrow. (Sent from my iPhone) On Aug 9, 2009, at 9:43 AM, Elias Sch?fer wrote: > Hello Daniel, > > I read your post (http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202242.html > ) and applied your patch. First, it seemed to work (no sse2 > complaining) but then I got an Java related error that I could not > solve. I have R14 running here, but I need to run a newer version. I > am curious if you got MATLAB r2008b working. Do you get a similar > error? I am looking for a solution for the past couple of days. > > regards > > Elias > (Aug 08, 2009 21:15:12)MATHWORKS ACTIVATION IS STARTING UP. > (Aug 08, 2009 21:15:13)java.lang.UnsatisfiedLinkError: /usr/home/ > knick/matlabr2008b/bin/glnx86/libinstutil.so: libstdc++.so.6: cannot > handle TLS data > com.mathworks.instutil.NativeUtility.(NativeUtility.java:36) > com.mathworks.instutil.MachineInfo.(MachineInfo.java:40) > com.mathworks.activationclient.model.ActivationModelImpl.loadNativeLib( > ActivationModelImpl.java:216) > com.mathworks.activationclient.model.ActivationModelImpl.getMachineInfo( > ActivationModelImpl.java:189) > com.mathworks.activationclient.view.ApplicationViewImpl.getMachineInfo( > ApplicationViewImpl.java:200) > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI > (ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start( > ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main > (ActivationApplication.java:31) > > (Aug 08, 2009 21:15:13)null > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI > (ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start( > ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main > (ActivationApplication.java:31) > > (Aug 08, 2009 21:15:24)There was an unexpected exception: > > null > > See the log file (/tmp/aws.log) for more details. From solskogen at carebears.mine.nu Sun Aug 9 17:18:54 2009 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Sun Aug 9 17:19:01 2009 Subject: sftp + chrooting users In-Reply-To: References: Message-ID: On 8/9/09 4:29 PM, Stefan Miklosovic wrote: > hi all, > > I am about chrooting ftp users into theirs home > directories. I've following in the end of /etc/ssh/sshd_config > > Subsystem sftp internal-sftp > > Match group ftp > ChrootDirectory /home > X11Forwarding no > AllowTcpForwarding no > ForceCommand internal-sftp > I have this in my sshd_config: Match Group sftponly ChrootDirectory /usr/home/%u X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp But also note that the user(which is in the sftponly group) have / as his home directory. -- chs From martinrame at yahoo.com Sun Aug 9 17:49:59 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sun Aug 9 17:50:06 2009 Subject: nspluginwrapper freezes Firefox35 Message-ID: <273022.34170.qm@web35608.mail.mud.yahoo.com> Hi, a couple of days ago I upgraded linux-f8-flashplugin10 and nspluginwrapper. They seems to work better than before, but them freezes Firefox 3.5 aftwer a while, specially while using yahoo mail (because of its flash banners). To fix it, I have to "killall npviewer.bin". I'm running 7.2 for i386. Any hint on this? Leonardo M. Ram? http://leonardorame.blogspot.com From miklosovic.freebsd at gmail.com Sun Aug 9 18:31:28 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Sun Aug 9 18:31:42 2009 Subject: vsftpd with ssl - compile option Message-ID: hi, I would like to use vsftpd with ssl support. If I install it from ports, there is an option to compile it against ssl librarie(s) (VSFTPD_SSL) If I download it by pkg_fetch and extract the package and use ldd on vsftpd in libexec directory, there is no ssl library, in complied way, there are some. libssl.so.5 => /usr/lib/libssl.so.5 (0x280b0000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x280f1000) I would like to use that program on other computer, but there is not port tree and installing of port tree is really not an option. how to handle this? thank you From tajudd at gmail.com Sun Aug 9 19:07:51 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Aug 9 19:07:58 2009 Subject: Gmirror In-Reply-To: References: Message-ID: On 8/9/09, Michael Christie wrote: > Hi there all, > > I need your help. I have a supermicro server which was running Freebsd 7.1 > with 2 SATA drives. I have had G mirror running on the server. I needed to > do a full reinstall of freebsd but was unable to disengage the mirror at the > time. When installing Freebsd, on to the drives i see i have AD4 AD6 and AR0 > on the disk label, i have installed the new free bsd in AD4, and the system > would not boot. ar0 is often a cheap onboard RAID device. So cheap as it doesn't even hide ad4 and ad6 which is also hooked up to the motherboard. Installing to ad4 installed it allright. But now the hardware raid will screw things up a bit. Either use gmirror with ad4 and ad6, or use hardware raid on ar0 only. > > > > I have come across this before where i have to remove AR0 to default the > drive, i can remember reading a thread on how to use ?fix it? and using the > live cd. I have google but cannot find it > > Please is there any one here that can refresh my memory and tell me how to > remove gmirror from my drives so i can do a fresh install,. > > > > Thanmks > > Mick > _______________________________________________ > 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 corky1951 at comcast.net Sun Aug 9 20:16:43 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Sun Aug 9 20:16:49 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090809135230.GA21588@kokopelli.hydra> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> <20090808164600.GA11570@kokopelli.hydra> <20090808195518.7eb8e5ee.freebsd@edvax.de> <20090809135230.GA21588@kokopelli.hydra> Message-ID: <20090809201639.GG4339@comcast.net> On Sun 09 Aug 2009 at 06:52:31 PDT Chad Perrin wrote: > >An info page is almost as bad as nothing, as far as I'm concerned. The >GNU project has this bizarre idea that everybody in the world should use >everything it produces and *nothing else*, no matter how painful it all >is to use -- and assumes everybody should be using emacs, so obviously >the baroque emacs-inspired interface to info pages is "ideal". It has always puzzled me that Stallman set out to implement a Unix-like operating system and userland, when his roots seem to have been elsewhere. Sometimes I think he must have had a grudge against Unix and that he deliberately set out to pervert it. That would certainly explain some of the more bizarre things coming from GNU! Never forget, vi was created by the same guy who put together the original tapes of the Berkeley Software Distribution. ;-) From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Aug 9 20:43:01 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Aug 9 20:43:09 2009 Subject: mod_security 2.5.9 In-Reply-To: <2A95E0AE-73DF-48F5-87E6-32683FE5AA8C@charter.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908082038.51127.mel.flynn+fbsd.questions@mailing.thruhere.net> <2A95E0AE-73DF-48F5-87E6-32683FE5AA8C@charter.net> Message-ID: <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 09 August 2009 04:24:37 Charles Howse wrote: > On Aug 8, 2009, at 11:38 PM, Mel Flynn wrote: > > On Saturday 08 August 2009 19:38:42 Charles Howse wrote: > >> On Aug 8, 2009, at 11:36 AM, Mel Flynn wrote: > >>> On Saturday 08 August 2009 08:00:47 Charles Howse wrote: > >>>> Just wondering if anyone has tried updating from mod_security 2.5.9 > >>>> to > >>>> 2.5.9_1 via portupgrade. > >>>> It fails with a "linker error" for me. > >>> > >>> And can we see the actual linker error? > >> > >> Thought I had included enough in my original post. > >> Here's the mod_security part of 'portupgrade -a' > >> > >> ... > >> [Updating the pkgdb in /var/db/pkg ... - 51 > >> packages found (-0 +1) . done] > >> ---> Upgrading 'mod_security-2.5.9' to 'mod_security-2.5.9_1' (www/ > >> mod_security) > >> ---> Building '/usr/ports/www/mod_security' > > > > ... > > > >> checking for libapr config script... /usr/local/bin/apr-1-config > >> configure: using ' -lcrypt -pthread' for apr Library > > > > ^^^^^^^^^^^^^^^^^^ > > > >> /usr/local/share/apr/build-1/libtool --silent --mode=link cc -o > >> mod_security2.la -R/usr/local/lib -L/usr/local/lib -L/usr/local/ > >> lib - > >> L/usr/local/lib -lpcre -lxml2 -lz -liconv -lm -rpath /usr/local/ > >> libexec/apache22 -module -avoid-version msc_release.lo msc_lua.lo > >> acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo > >> msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo > >> msc_multipart.lo > >> msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo > >> re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo > >> mod_security2.lo > >> # XXX there is "mlogc-static" target in the Makefile, too > >> cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 > >> && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local > >> LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - > >> lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict- > >> aliasing - > >> pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" > >> MANPREFIX="/ > >> usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" > >> BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" > >> BSD_INSTALL_DATA="install -o root -g wheel -m 444" > >> BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile > >> mlogc > >> > >> Building dynamically linked mlogc... > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_yield' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_destroy' > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_create' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_init' > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_exit' > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_equal' > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_detach' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_setstacksize' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_getdetachstate' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_setguardsize' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_attr_setdetachstate' > >> /usr/local/lib/libapr-1.so: undefined reference to `pthread_join' > >> /usr/local/lib/libapr-1.so: undefined reference to > >> `pthread_cond_timedwait' > >> *** Error code 1 > > > > Apparently -pthread isn't passed here. I've tried to reproduce this, > > but I > > can't. Could you show the output of: > > make -C /usr/ports/www/mod_security actual-package-depends > > root@curly /root# make -C /usr/ports/www/mod_security actual-package- > depends > pcre-7.9:devel/pcre > apr-gdbm-db42-1.3.8.1.3.9:devel/apr > curl-7.19.5_1:ftp/curl > libxml2-2.7.3:textproc/libxml2 > apache-2.2.11_7:www/apache22 > pkg-config-0.23_1:devel/pkg-config > expat-2.0.1:textproc/expat2 > gdbm-1.8.3_3:databases/gdbm > db42-4.2.52_5:databases/db42 > libiconv-1.13.1:converters/libiconv > ca_root_nss-3.11.9_2:security/ca_root_nss > pkg-config-0.23_1:devel/pkg-config > libiconv-1.13.1:converters/libiconv > expat-2.0.1:textproc/expat2 > perl-5.8.9_3:lang/perl5.8 > pcre-7.9:devel/pcre > libiconv-1.13.1:converters/libiconv > root@curly /root# > > > Also the contents of /var/db/ports/apr/options. > > root@curly /root# cat /var/db/ports/apr/options > # This file is auto-generated by 'make config'. > # No user-servicable parts inside! > # Options for apr-gdbm-db42-1.3.3.1.3.4_1 > _OPTIONS_READ=apr-gdbm-db42-1.3.3.1.3.4_1 > WITH_THREADS=true > WITHOUT_IPV6=true > WITH_GDBM=true > WITH_BDB=true > WITHOUT_NDBM=true > WITHOUT_LDAP=true > WITHOUT_MYSQL=true > WITHOUT_PGSQL=true Ok, reproduced in a clean jail on a 6.4-p6 box, amd64. I tried setting WITH_THREADS in www/apache22 options (built without first), but that didn't change anything. I built apache22 with defaults + APR_FROM_PORTS. On the working machine (7.1) I see no mention of pthread in the mlogc makefile either, so perhaps the linker got smarter in 7.x. I've attached a patch that fixes the issue. @maintainers: do you want a PR for this? -- Mel -------------- next part -------------- --- Makefile.orig 2009-08-05 12:31:21.000000000 -0800 +++ Makefile 2009-08-09 12:34:34.000000000 -0800 @@ -47,6 +47,9 @@ SUB_FILES+= pkg-message.rules .if defined(WITH_MLOGC) PLIST_FILES+= bin/mlogc +.if ${OSVERSION} < 700000 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fix-6.x-link +.endif .endif PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2/optional_rules PLIST_DIRS+= ${APACHEETCDIR}/Includes/mod_security2 --- /dev/null 2009-08-09 12:37:23.000000000 -0800 +++ files/extra-patch-fix-6.x-link 2009-08-09 12:25:33.000000000 -0800 @@ -0,0 +1,11 @@ +--- mlogc-src/Makefile.in.orig 2008-09-02 23:10:36.000000000 +0000 ++++ mlogc-src/Makefile.in 2009-08-09 20:24:50.000000000 +0000 +@@ -10,7 +10,7 @@ + MLOGC_VERSION = `grep '^\#define *VERSION ' mlogc.c | sed 's/.*VERSION *"\([^"]*\)"/\1/'` + + APR_FLAGS = @APR_CFLAGS@ +-APR_LIBS = @APR_LINK_LD@ ++APR_LIBS = @APR_LINK_LD@ @APR_LIBS@ + + CURL_FLAGS = @CURL_CFLAGS@ + CURL_LIBS = @CURL_LIBS@ From sfourman at gmail.com Sun Aug 9 21:35:53 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Aug 9 21:36:01 2009 Subject: nspluginwrapper freezes Firefox35 In-Reply-To: <273022.34170.qm@web35608.mail.mud.yahoo.com> References: <273022.34170.qm@web35608.mail.mud.yahoo.com> Message-ID: <11167f520908091435ue49f754j2c02c2b62919255d@mail.gmail.com> On Sun, Aug 9, 2009 at 12:49 PM, Leonardo M. Ram? wrote: > Hi, a couple of days ago I upgraded linux-f8-flashplugin10 and nspluginwrapper. They seems to work better than before, but them freezes Firefox 3.5 aftwer a while, specially while using yahoo mail (because of its flash banners). > > To fix it, I have to "killall npviewer.bin". > > I'm running 7.2 for i386. Any hint on this? > > Leonardo M. Ram? > http://leonardorame.blogspot.com I can also confirm this, linux-f10-flashplugin10 and nspluginwrapper on FreeBSD 8 beta2 i386 hangs Firefox 3.5 on citibankcards.com but this is Better than before. Sam Fourman Jr. Fourman Networks From jochen at daten-chaos.de Sun Aug 9 21:41:33 2009 From: jochen at daten-chaos.de (Jochen Neumeister) Date: Sun Aug 9 21:41:40 2009 Subject: eclipse Message-ID: <20090809234130.1501b4f4@donald.home.jochen-neumeister.de> Build error on FreeBSD 8 BETA2: Copying plugins/org.eclipse.update.core.linux.source into plugins/org.eclipse.update.core.freebsd.source Copying plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak into plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak Copying plugins/org.eclipse.core.net.freebsd.x86 into plugins/org.eclipse.core.net.freebsd.x86_64 ===> Applying FreeBSD patches for eclipse-3.4.2_1 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to assemble.org.eclipse.sdk.all.xml.rej => Patch patch-assemble.org.eclipse.sdk.all.xml failed to apply cleanly. *** Error code 1 Stop in /usr/ports/java/eclipse. All Ports are up-to-date Thanks Jochen From vk3mrc at gmail.com Sun Aug 9 21:45:46 2009 From: vk3mrc at gmail.com (Michael Christie) Date: Sun Aug 9 21:45:52 2009 Subject: Gmirror In-Reply-To: References: Message-ID: Yes you are right , I would like to clean off the drives, defalt and clean, then reformat. and reinstall, i did see a post some where on how to do it with the fixit cd, but can not find it now. any idears ? Thanks Mick On Mon, Aug 10, 2009 at 5:07 AM, Tim Judd wrote: > On 8/9/09, Michael Christie wrote: > > Hi there all, > > > > I need your help. I have a supermicro server which was running Freebsd > 7.1 > > with 2 SATA drives. I have had G mirror running on the server. I needed > to > > do a full reinstall of freebsd but was unable to disengage the mirror at > the > > time. When installing Freebsd, on to the drives i see i have AD4 AD6 and > AR0 > > on the disk label, i have installed the new free bsd in AD4, and the > system > > would not boot. > > > ar0 is often a cheap onboard RAID device. So cheap as it doesn't even > hide ad4 and ad6 which is also hooked up to the motherboard. > > Installing to ad4 installed it allright. But now the hardware raid > will screw things up a bit. > > Either use gmirror with ad4 and ad6, or use hardware raid on ar0 only. > > > > > > > > > > > > I have come across this before where i have to remove AR0 to default the > > drive, i can remember reading a thread on how to use ?fix it? and using > the > > live cd. I have google but cannot find it > > > > Please is there any one here that can refresh my memory and tell me how > to > > remove gmirror from my drives so i can do a fresh install,. > > > > > > > > Thanmks > > > > Mick > > _______________________________________________ > > 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 noc at hdk5.net Sun Aug 9 23:12:26 2009 From: noc at hdk5.net (Al Plant) Date: Sun Aug 9 23:12:33 2009 Subject: .cshrc History missing Message-ID: <4A7F57D9.20405@hdk5.net> Aloha, I have been trying the new FreeBSD 8 Current, Head and Beta* on an AMD64 box with 2 CPU's. The OS loads and everything works under all versions including i386, but the key stroke history on csh does not survive over a reboot or shutdown. I have never seen this happen before and I have been using FreeBSD for a very long time.. since FreeBSD 2.* . Anyone have any ideas what I should check for either with hardware or in .cshrc or elsewhere? Thanks... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From freebsd at edvax.de Sun Aug 9 23:19:05 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Aug 9 23:19:13 2009 Subject: .cshrc History missing In-Reply-To: <4A7F57D9.20405@hdk5.net> References: <4A7F57D9.20405@hdk5.net> Message-ID: <20090810011857.abc6eecd.freebsd@edvax.de> Allthough I'm not familiar with the particular problem you described, I observed that the history sometimes (!) does not survive a reboot. It may have to do with a situation where more than one shell is running. Idea: The last shell closed (even forced) saves its history, so the history of the other shells gets lost. I've set those globally in /etc/csh.cshrc: set history = 100 set savehist = 100 Sometimes, history survives, sometimes it doesn't. Very strange... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From noc at hdk5.net Sun Aug 9 23:30:37 2009 From: noc at hdk5.net (Al Plant) Date: Sun Aug 9 23:30:55 2009 Subject: .cshrc History missing In-Reply-To: <20090810011857.abc6eecd.freebsd@edvax.de> References: <4A7F57D9.20405@hdk5.net> <20090810011857.abc6eecd.freebsd@edvax.de> Message-ID: <4A7F5C1C.6000600@hdk5.net> Polytropon wrote: > Allthough I'm not familiar with the particular problem you > described, I observed that the history sometimes (!) does > not survive a reboot. It may have to do with a situation > where more than one shell is running. Idea: The last shell > closed (even forced) saves its history, so the history of > the other shells gets lost. > > I've set those globally in /etc/csh.cshrc: > > set history = 100 > set savehist = 100 > > Sometimes, history survives, sometimes it doesn't. Very > strange... > > > Aloha Poly, I'm glad to have somebody confirm this. I thought it was funny that this was happening. I have earlier CURRENT 8 running on a couple of machines and they never acted this way. This is root that is doing this on my test box. set history = 100 set savehistory = 100 are in the .cshrc file. I'll look in /etc/csh.cshrc Thanks... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From cyberleo at cyberleo.net Mon Aug 10 00:19:55 2009 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Mon Aug 10 00:20:02 2009 Subject: vsftpd with ssl - compile option In-Reply-To: References: Message-ID: <4A7F6368.4090806@cyberleo.net> Stefan Miklosovic wrote: > hi, > > I would like to use vsftpd with ssl support. > If I install it from ports, there is an option to > compile it against ssl librarie(s) (VSFTPD_SSL) > If I download it by pkg_fetch and extract the package > and use ldd on vsftpd in libexec directory, > there is no ssl library, in complied way, there are some. > > libssl.so.5 => /usr/lib/libssl.so.5 (0x280b0000) > libcrypto.so.5 => /lib/libcrypto.so.5 (0x280f1000) > > I would like to use that program on other computer, but there > is not port tree and installing of port tree is really not an option. Build it as you want it on another machine using ports, then run on that build machine: pkg_create -b -R This will turn the selected install (and all its dependencies, with the -R flag) into tbz packages in the current directory suitable for pkg_add on the target machine. If there are any missing dependencies on the target machine, pkg_add will try to load them from the same directory from which you are adding the main package. If they do not exist, it will most likely fail, so you will likely want to copy over everything that pkg_create spits out, unless you know it's already installed and up to date on your target. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From chowse at charter.net Mon Aug 10 02:32:10 2009 From: chowse at charter.net (Charles Howse) Date: Mon Aug 10 02:32:17 2009 Subject: mod_security 2.5.9 In-Reply-To: <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908082038.51127.mel.flynn+fbsd.questions@mailing.thruhere.net> <2A95E0AE-73DF-48F5-87E6-32683FE5AA8C@charter.net> <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote: > I've attached a patch that fixes the issue. Whoops, looks like I've stepped in over my head. Exactly how do I use this patch? From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Aug 10 05:12:52 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Aug 10 05:13:01 2009 Subject: mod_security 2.5.9 In-Reply-To: <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> Message-ID: <200908092112.50413.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 09 August 2009 18:31:55 Charles Howse wrote: > On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote: > > I've attached a patch that fixes the issue. > > > Whoops, looks like I've stepped in over my head. > Exactly how do I use this patch? > cd /usr/ports/www/mod_security patch < /path/to/patch make build You can also not use the patch and do: cd /usr/ports/www/mod_security make patch cd `make -V WRKSRC` sed -i.orig -e 's,@APR_LD_LINK@,@APR_LD_LINK@ @ARP_LIBS@,' \ mlogc-src/Makefile.in cd /usr/ports/www/mod_security make build But that only works one time. The patch fixes the port so that it works every time. -- Mel From m.seaman at infracaninophile.co.uk Mon Aug 10 06:02:22 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Aug 10 06:02:29 2009 Subject: .cshrc History missing In-Reply-To: <4A7F5C1C.6000600@hdk5.net> References: <4A7F57D9.20405@hdk5.net> <20090810011857.abc6eecd.freebsd@edvax.de> <4A7F5C1C.6000600@hdk5.net> Message-ID: <4A7FB7DB.4020708@infracaninophile.co.uk> Al Plant wrote: > Polytropon wrote: >> Allthough I'm not familiar with the particular problem you >> described, I observed that the history sometimes (!) does >> not survive a reboot. It may have to do with a situation >> where more than one shell is running. Idea: The last shell >> closed (even forced) saves its history, so the history of >> the other shells gets lost. >> >> I've set those globally in /etc/csh.cshrc: >> >> set history = 100 >> set savehist = 100 >> >> Sometimes, history survives, sometimes it doesn't. Very >> strange... >> >> >> > Aloha Poly, > > I'm glad to have somebody confirm this. I thought it was funny that this > was happening. > > I have earlier CURRENT 8 running on a couple of machines and they never > acted this way. > > This is root that is doing this on my test box. > set history = 100 > set savehistory = 100 > are in the .cshrc file. > > I'll look in /etc/csh.cshrc > > Thanks... Yeah. The history mechanism in tcsh doesn't cope very well with multiple ttys being closed down at once, as you tend to find when logging out of an X session. You get the history from just one of those shells. It's not a complete cure, but telling the shell to merge it's history with what's already there: set history = 500 set savehist = (1000 merge) This helps, but it is not completely reliable when several shells are shutdown in quick succession. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090810/29398809/signature.pgp From anton at sng.by Mon Aug 10 08:09:04 2009 From: anton at sng.by (Anton) Date: Mon Aug 10 08:09:10 2009 Subject: Constantly getting this error Message-ID: <1964849985.20090810110912@sng.by> Hello freebsd-questions, acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Some google does not said anything on it... But, one box (Pentium D, 1024 MB RAM, no sound) sometimes crashes withou Another box (Athlon 3000+ AM2, 1024 MB RAM) some times does not get on b -- -- Best regards, Anton Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987 References 1. 3D"mailto:anton@sng.by" From alex at mailinglist.ahhyes.net Mon Aug 10 10:39:09 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Mon Aug 10 10:39:15 2009 Subject: installworld fails on 7.2-RELEASE/amd64 In-Reply-To: <4A7FDA9E.6070906@mailinglist.ahhyes.net> References: <4A7FDA9E.6070906@mailinglist.ahhyes.net> Message-ID: <4A7FF8CE.5000308@mailinglist.ahhyes.net> Alex R wrote: > > I am in the process of deleting /usr/src and completely csup'ing the > source tree from scratch, and will try another rebuild, however I am > skeptical this will fix anything. > This seems to have fixed it... but why... From alex at mailinglist.ahhyes.net Mon Aug 10 10:42:20 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Mon Aug 10 10:42:27 2009 Subject: installworld fails on 7.2-RELEASE/amd64 Message-ID: <4A7FDA9E.6070906@mailinglist.ahhyes.net> Hi Guys, Have done tonnes of buildworld's before and never ran into the problem I a having on this new machine. Basically I have csup'd my source tree on a freshly installed 7.2-RELEASE/amd64 box (tracking the 7.2-RELEASE branch). make buildworld -- works ok. make buildkernel KERNCONF=custom -- works ok make installkernel KERNCONF=custom -- works ok Boot into single user mode and do the usual things (mount filesystems etc), mergemaster -p -- works ok. make installworld -- FAIL After a minute of installworld running, it dies with this error. btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin btxld:No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/boot2. *** Error code 1 I have WITHOUT_LIB32 defined in my /etc/src.conf (even undefining this and doing a buildworld from scratch didn't fix it), I also have NO_PROFILE turned on in my /etc/make.conf (as suggested by the FreeBSD handbook on improving build times - has never caused me a problem in the past) Apart from that, everything on the system is stock standard. I did Google this error, but found no definitive solution, one post I found suggested that perhaps the system time/date is wrong or that adjkerntz -i was missed after entering single user mode. This is not the case for me. Time and date is correct while in single or multi user mode. Any ideas on what is causing this problem? I am in the process of deleting /usr/src and completely csup'ing the source tree from scratch, and will try another rebuild, however I am skeptical this will fix anything. Any ideas/suggestions welcomed. Thanks! Alex From bsam at ipt.ru Mon Aug 10 10:53:50 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Mon Aug 10 10:53:59 2009 Subject: installworld fails on 7.2-RELEASE/amd64 In-Reply-To: <4A7FDA9E.6070906@mailinglist.ahhyes.net> (Alex R.'s message of "Mon\, 10 Aug 2009 18\:30\:22 +1000") References: <4A7FDA9E.6070906@mailinglist.ahhyes.net> Message-ID: <66403456@bb.ipt.ru> On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote: > /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o > boot2.ld -P 1 boot2.bin > btxld:No such file or directory > *** Error code 1 This error (not only with btxld but with some random file) often occures when the system timer has been changed (imho stepped back) while the system is building/installing world. World rebuilding helps in that case. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From chowse at charter.net Mon Aug 10 11:32:03 2009 From: chowse at charter.net (Charles Howse) Date: Mon Aug 10 11:32:11 2009 Subject: mod_security 2.5.9 In-Reply-To: <200908092112.50413.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> <200908092112.50413.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: On Aug 10, 2009, at 12:12 AM, Mel Flynn wrote: > On Sunday 09 August 2009 18:31:55 Charles Howse wrote: >> On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote: >>> I've attached a patch that fixes the issue. >> >> >> Whoops, looks like I've stepped in over my head. >> Exactly how do I use this patch? >> > > cd /usr/ports/www/mod_security > patch < /path/to/patch > make build Whoops... root@curly /root# cd /usr/ports/www/mod_security root@curly /usr/ports/www/mod_security# patch < /usr/home/charles/ patch-www::mod_security.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig 2009-08-05 12:31:21.000000000 -0800 |+++ Makefile 2009-08-09 12:34:34.000000000 -0800 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 47. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- /dev/null 2009-08-09 12:37:23.000000000 -0800 |+++ files/extra-patch-fix-6.x-link 2009-08-09 12:25:33.000000000 -0800 -------------------------- (Creating file files/extra-patch-fix-6.x-link...) Patching file files/extra-patch-fix-6.x-link using Plan A... Hunk #1 succeeded at 1. done root@curly /usr/ports/www/mod_security# make build ===> Building for mod_security-2.5.9_1 # XXX there is "mlogc-static" target in the Makefile, too cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-aliasing - pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" MANPREFIX="/ usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile mlogc Building dynamically linked mlogc... /usr/local/lib/libapr-1.so: undefined reference to `pthread_yield' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_destroy' /usr/local/lib/libapr-1.so: undefined reference to `pthread_create' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init' /usr/local/lib/libapr-1.so: undefined reference to `pthread_exit' /usr/local/lib/libapr-1.so: undefined reference to `pthread_equal' /usr/local/lib/libapr-1.so: undefined reference to `pthread_detach' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_getdetachstate' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setguardsize' /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libapr-1.so: undefined reference to `pthread_join' /usr/local/lib/libapr-1.so: undefined reference to `pthread_cond_timedwait' *** Error code 1 Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ apache2/mlogc-src. *** Error code 1 Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ apache2. *** Error code 1 Stop in /usr/ports/www/mod_security. *** Error code 1 Stop in /usr/ports/www/mod_security. root@curly /usr/ports/www/mod_security# From a at jenisch.at Mon Aug 10 12:37:03 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Aug 10 12:37:10 2009 Subject: icewm - error during portupgrade / compiling Message-ID: <20090810120715.GA4044@aurora.oekb.co.at> Hi, During a portupgrade done today the upgrade of icewm (/usr/ports/x11-wm/icewm) stopped with the following symptoms: . . . gnome2.cc:25:19: error: gnome.h: No such file or directory gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file or directory gnome2.cc: In member function 'void GnomeMenu::addEntry(const char*, const char*, int, bool)': gnome2.cc:122: error: 'gnome_pixmap_file' was not declared in this scope gnome2.cc: In function 'int main(int, char**)': gnome2.cc:351: error: 'gnome_vfs_init' was not declared in this scope gmake[1]: *** [gnome2.o] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.37/src' gmake: *** [base] Error 2 *** Error code 1 Stop in /usr/ports/x11-wm/icewm. *** Error code 1 Stop in /usr/ports/x11-wm/icewm. # Even a "make clean; make" in /usr/ports/x11-wm/icewm didn't help - it simply doesn't compile. Has anybody else seen this problems recently? Any know cure? Thanks in advance for your help, -ewald From jhall at socket.net Mon Aug 10 13:38:31 2009 From: jhall at socket.net (Jay Hall) Date: Mon Aug 10 13:38:38 2009 Subject: freebsd-questions Digest, Vol 270, Issue 19 In-Reply-To: <20090809120017.5FC52106570E@hub.freebsd.org> References: <20090809120017.5FC52106570E@hub.freebsd.org> Message-ID: On Aug 9, 2009, at 7:00 AM, freebsd-questions-request@freebsd.org wrote: > I had no problems using that command line with GNU tar versions > 1.14 and > 1.22. I'd grab the source and upgrade if I were you: > http://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz I upgraded and everything is fine now. Thanks. From jerrymc at msu.edu Mon Aug 10 14:03:14 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Aug 10 14:03:21 2009 Subject: FreeBSD for the common man(or woman) (was: > upgrade 7.2 In-Reply-To: <20090809135230.GA21588@kokopelli.hydra> References: <20090806120011.8528A106567E@hub.freebsd.org> <182370.92452.qm@web65511.mail.ac4.yahoo.com> <20090808164600.GA11570@kokopelli.hydra> <20090808195518.7eb8e5ee.freebsd@edvax.de> <20090809135230.GA21588@kokopelli.hydra> Message-ID: <20090810140028.GA21576@gizmo.acns.msu.edu> On Sun, Aug 09, 2009 at 07:52:31AM -0600, Chad Perrin wrote: > On Sat, Aug 08, 2009 at 07:55:18PM +0200, Polytropon wrote: > > On Sat, 8 Aug 2009 10:46:00 -0600, Chad Perrin wrote: > > > Yeah, I hate that stuff. The GNU project is kind of like the Microsoft > > > of the open source community, that way. > > > > Be happy that there at least is an info manual. In many cases, there > > is NO local documentation, neither in man or info format. The usual > > cases of documentation, often found in different Linusi, but as well > > in some "modern software" on FreeBSD, are: > > - bury the documentation in an arbitrary web location > > - use a Wiki for documentation > > - let the users write the documentation > > - don't document anything. > > An info page is almost as bad as nothing, as far as I'm concerned. The > GNU project has this bizarre idea that everybody in the world should use > everything it produces and *nothing else*, no matter how painful it all > is to use -- and assumes everybody should be using emacs, so obviously > the baroque emacs-inspired interface to info pages is "ideal". > > Debian actually tended to be pretty good at manpage coverage of software > and files on the system, but FreeBSD still manages to do at least > slightly better most of the time -- and, for some reason, few of the > other Linux distributions took advantage of the manpages produced by the > Debian project. The thing I notice is that the FreeBSD man pages are most often relevant for Linux too with only occasional exceptions for less common arguments and features. So, you run whatever Lunix and keep a FreeBSD handy for the documentation. Of course, that begs the question of why even have the Linux at all then, but that isn't the topic of the post. ////jerry From dnelson at allantgroup.com Mon Aug 10 14:56:37 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Aug 10 14:56:44 2009 Subject: GNU Tar and -T option In-Reply-To: <20090809033232.8EE8EB7F0@kev.msw.wpafb.af.mil> References: <3F47B447-F165-40CA-8172-1B59594BFBCD@socket.net> <20090809033232.8EE8EB7F0@kev.msw.wpafb.af.mil> Message-ID: <20090810145631.GC54485@dan.emsphone.com> In the last episode (Aug 08), Karl Vogel said: > >> On Sat, 8 Aug 2009 16:31:48 -0500, > >> Jay Hall said: > > J> Has anyone had any luck using the -T option with GNU tar 1.16.1? I am > J> using the following command line. > J> /usr/local/gtar/bin/tar -c -T filelist -f - | dd of=/dev/nsa1 obs=128k > > I had no problems using that command line with GNU tar versions 1.14 and > 1.22. I'd grab the source and upgrade if I were you: > http://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz gnutar 1.22 is in ports, which makes it even easier to test. bsdtar supports the -T option, too, so you shouldn't even need gnutar. -- Dan Nelson dnelson@allantgroup.com From jhall at socket.net Mon Aug 10 15:22:01 2009 From: jhall at socket.net (Jay Hall) Date: Mon Aug 10 15:22:09 2009 Subject: Backup Size Message-ID: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> I am sure there is an easy explanation for this, but I cannot find it. I am backing up my /etc directory using the following command. tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 When the command completes, I receive the following message. 3080+0 records in 154+0 records out 1576960 bytes transferred in 0.179921 secs (8764740 bytes/sec) What concerns me is when running du -h /etc, the size of the folder is reported as 1.7M. Is the number of bytes written to the tape less than the reported size of the directory because of the way the files are written to the tape? If so, how can the amount of space used be calculated? Thanks for your help. Jay From identry at gmail.com Mon Aug 10 15:38:56 2009 From: identry at gmail.com (Identry) Date: Mon Aug 10 15:39:03 2009 Subject: toaster or do-it-myself? Message-ID: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> As part of my server recovery operation, I want to split off my mail server onto it's own server. I've never built a mail server before, so I'm debating how to go about it. The old mail server was built with a toaster, and frankly, I knew how to use it, but never understood how it worked. I'm in a hurry to get it up, so I'm tempted to use a toaster again, but I'm worried that I'll spend a lot of time on it, and it won't work because I don't understand what it has installed, etc. I need to use qmail because that's what was used on the old mailserver, and all my backups are in Maildir format. I don't have time to mess around converting all that mail to another format, so that's my one fixed requirement. My first goal is to just get mail working, but ultimately, I'll want spam filtering, a web interface, etc. So, my question: should I use a toaster? And if so, which one? The machine that it will run on will only have two apps on it: mail server and secondary dns (tinydns). Any advice, much appreciate. Thanks: John From kirk at strauser.com Mon Aug 10 16:18:51 2009 From: kirk at strauser.com (Kirk Strauser) Date: Mon Aug 10 16:18:58 2009 Subject: graphics/ImageMagick seemingly not using OpenMP Message-ID: <4A804863.3050801@strauser.com> On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable OpenMP for the graphics/ImageMagick port. With the IMAGEMAGICK_OPENMP option set, I get this from "make configure": checking for cc -std=gnu99 option to support OpenMP... (cached) unsupported checking for cc -std=gnu99 option to support OpenMP... -fopenmp If I go on to build it, there's no other mention of OpenMP in the output. What am I doing wrong? -- Kirk Strauser From jhelfman at e-e.com Mon Aug 10 16:25:14 2009 From: jhelfman at e-e.com (Jason) Date: Mon Aug 10 16:25:21 2009 Subject: freebsd-update-server, 7.2 Message-ID: <20090810162450.GD55676@eggman.experts-exchange.com> Hi. The freebsd-update-server project software hasn't been updated for 7,2, but after making a couple of simple modifications, it seems to work rather well. I am close, but not quiet smoking the cigar of triumph, yet. When it initially builds, I get this error in the output: Fri Aug 7 18:50:56 PDT 2009 Extracting world+src for FreeBSD/amd64 7.2-RELEASE Sun Sep 12 01:51:21 UTC 2010 Building world for FreeBSD/amd64 7.2-RELEASE Sat Sep 11 18:51:30 PDT 2010 Moving components into staging area for FreeBSD/amd64 7.2-RELEASE mv: rename /R/stage/trees to /R/trees/world: No such file or directory Fri Aug 7 18:51:30 PDT 2009 Extracting extra docs for FreeBSD/amd64 7.2-RELEASE tar: could not chdir to '/R/trees/world' I would like to clear these errors up, as well... but... The only code change I have made is adding this to build.subr for the iso fetch. Basically a path change. ISO=${FTP}/ISO-IMAGES-${TARGET}/${RELNUM}/${REL}-${TARGET}-disc1.iso However, it does build. I send the update to my update server, and need to copy latest.ssl and pub.ssl from one of the official update servers from FreeBSD. If I don't do that, I will get this error. freebsd-update fetch Looking up xxx.xxx.xxx.xxx mirrors... none found. Fetching metadata signature for 7.2-RELEASE from xxx.xxx.xxx.xxx ... invalid signature. No mirrors remaining, giving up. If I do that, I then get to the next step: freebsd-update fetch Looking up xxx.xxx.xxx.xxx mirrors... none found. Fetching metadata signature for 7.2-RELEASE from xxx.xxx.xxx.xxx ... done. Fetching metadata index... fetch: http://xxx.xxx.xxx.xxx/7.2-RELEASE/amd64/t/14e85c887f8e9ecaef130d50e3d2ddbb3664af22d9e05f652a66219bda5b76ba: Not Found failed. On the update server, I do have this file though under the "t" directory: 4eeb3a30c564302be5e8129e6afdf3477ff316a891b5a4b6c9535947b7a81e28 I am curious why it is requesting the wrong file. Here is my configuration file for 7.2: # SHA256 hash of RELEASE disc1.iso image. export RELH=1ea1f6f652d7c5f5eab7ef9f8edbed50cb664b08ed761850f95f48e86cc71ef5 # Components of the world, source, and kernels export WORLDPARTS="base catpages dict doc games info manpages proflibs" export SOURCEPARTS="base bin contrib crypto etc games gnu include krb5 \ lib libexec release rescue sbin secure share sys tools \ ubin usbin" export KERNELPARTS="generic" # EOL date export EOL=1275289200 Thanks, Jason From rsmith at xs4all.nl Mon Aug 10 16:25:31 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Aug 10 16:25:40 2009 Subject: Backup Size In-Reply-To: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> Message-ID: <20090810162528.GA49364@slackbox.xs4all.nl> On Mon, Aug 10, 2009 at 10:21:58AM -0500, Jay Hall wrote: > I am sure there is an easy explanation for this, but I cannot find it. > > I am backing up my /etc directory using the following command. > > tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 Why are you using dd? Tar was originally built to write to tape: tar -cvf /dev/nsa1 /etc > When the command completes, I receive the following message. > > 3080+0 records in > 154+0 records out > 1576960 bytes transferred in 0.179921 secs (8764740 bytes/sec) > > What concerns me is when running du -h /etc, the size of the folder is > reported as 1.7M. du rounds sizes up to the filesystem block size, which is 512 bytes by default. So you'll bound to see differences. And see below. > Is the number of bytes written to the tape less than the reported size > of the directory because of the way the files are written to the > tape? If so, how can the amount of space used be calculated? The fact that you are using tar also plays a part. Tar has some overhead to store information about the files it contains. If you want to know the total size of all files: find /etc -type f -ls | awk \ 'BEGIN {t=0; c=0}; END {print t " bytes in " c " files"}; {t=t+$7; c++}' This returns '1320254 bytes in 362 files' in my case, while the tar/dd combo returns 1617920 bytes. The difference is the overhead for tar. If you really want to check if tar does the right thing, restore the backup to a different place (e.g. /tmp/etc) and check with diff: # rewind your tape to the correct position (not shown) cd /tmp; tar xvf /dev/nsa1 diff -ru /etc /tmp/etc The diff command should give no output. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090810/2e99df4f/attachment.pgp From dnelson at allantgroup.com Mon Aug 10 16:25:55 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Aug 10 16:26:07 2009 Subject: Backup Size In-Reply-To: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> Message-ID: <20090810162552.GD54485@dan.emsphone.com> In the last episode (Aug 10), Jay Hall said: > I am sure there is an easy explanation for this, but I cannot find it. > > I am backing up my /etc directory using the following command. > > tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 > > When the command completes, I receive the following message. > > 3080+0 records in > 154+0 records out > 1576960 bytes transferred in 0.179921 secs (8764740 bytes/sec) > > What concerns me is when running du -h /etc, the size of the folder is > reported as 1.7M. > > Is the number of bytes written to the tape less than the reported size of > the directory because of the way the files are written to the tape? If > so, how can the amount of space used be calculated? du prints the number of disk blocks used by a directory tree. Your filesystem probably was formatted with 16k blocks and 2k fragment size; This means that the minimum space du will report for each file is 2k. Tar uses 512-byte blocks internally, so a directory with a lot of small files in it (/etc for example) will take up less space as a tar file than on disk. Try running "du -ha /etc", to see what du reports for each file under /etc. -- Dan Nelson dnelson@allantgroup.com From rsmith at xs4all.nl Mon Aug 10 17:03:04 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Aug 10 17:03:13 2009 Subject: toaster or do-it-myself? In-Reply-To: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> References: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> Message-ID: <20090810170248.GB49364@slackbox.xs4all.nl> On Mon, Aug 10, 2009 at 11:38:54AM -0400, Identry wrote: > As part of my server recovery operation, I want to split off my mail > server onto it's own server. I've never built a mail server before, so > I'm debating how to go about it. > > The old mail server was built with a toaster, and frankly, I knew how > to use it, but never understood how it worked. I'm in a hurry to get > it up, so I'm tempted to use a toaster again, but I'm worried that > I'll spend a lot of time on it, and it won't work because I don't > understand what it has installed, etc. What exactly do you mean with a toaster? I thought toasters only ran NetBSD: [http://www.embeddedarm.com/software/arm-netbsd-toaster.php] ;-) Or perhaps you mean Mail::Toaster (which is based on FreeBSD and uses qmail)? [http://www.tnpi.net/wiki/Mail_Toaster] The people who wrote Mail::Toaster can also provide assistance for a fee: [http://www.tnpi.net/cart/index.php?crn=207] > I need to use qmail because that's what was used on the old > mailserver, and all my backups are in Maildir format. I don't have > time to mess around converting all that mail to another format, so > that's my one fixed requirement. A lot of mail servers can handle maildir format. Postfix can use maildir natively. Sendmail+procmail can also handle it. On my own machine I use Postfix (with procmail for mail delivery and bogofilter for spam filtering) because it is so easy to set up. Qmail has a reputation of being quirky. But if you need qmail, it is in ports. Have a look which ports are installed on your current machine. If you install all those ports on the new machine, copy the configuration files and mail data from the old machine and you are ready to go. _Assuming_ that all software on the old machine was installed from ports! > My first goal is to just get mail working, but ultimately, I'll want > spam filtering, a web interface, etc. > > So, my question: should I use a toaster? And if so, which one? Whatever you buy should have enough oomph to handle whatever you want to add to it later. Especially if you want to run a webserver with php for webmail. There are several webmail apps available in ports. E.g. mail/squirrelmail, which has a lot of plugins available. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090810/e4f1cf30/attachment.pgp From rsmith at xs4all.nl Mon Aug 10 17:09:24 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Aug 10 17:09:31 2009 Subject: Backup Size In-Reply-To: <20090810162528.GA49364@slackbox.xs4all.nl> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810162528.GA49364@slackbox.xs4all.nl> Message-ID: <20090810170921.GC49364@slackbox.xs4all.nl> On Mon, Aug 10, 2009 at 06:25:28PM +0200, Roland Smith wrote: > On Mon, Aug 10, 2009 at 10:21:58AM -0500, Jay Hall wrote: > > I am sure there is an easy explanation for this, but I cannot find it. > > > > I am backing up my /etc directory using the following command. > > > > tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 > > Why are you using dd? Tar was originally built to write to tape: > > tar -cvf /dev/nsa1 /etc > > > When the command completes, I receive the following message. > > > > 3080+0 records in > > 154+0 records out > > 1576960 bytes transferred in 0.179921 secs (8764740 bytes/sec) > > > > What concerns me is when running du -h /etc, the size of the folder is > > reported as 1.7M. > > du rounds sizes up to the filesystem block size, which is 512 bytes by > default. So you'll bound to see differences. And see below. Oops, scratch that. Brain fart. du -h uses kilo-, mega- etc. bytes according to du(1). > > Is the number of bytes written to the tape less than the reported size > > of the directory because of the way the files are written to the > > tape? If so, how can the amount of space used be calculated? > > The fact that you are using tar also plays a part. Tar has some overhead to > store information about the files it contains. > > If you want to know the total size of all files: > > find /etc -type f -ls | awk \ > 'BEGIN {t=0; c=0}; END {print t " bytes in " c " files"}; {t=t+$7; c++}' > > This returns '1320254 bytes in 362 files' in my case, while the tar/dd combo > returns 1617920 bytes. The difference is the overhead for tar. > > If you really want to check if tar does the right thing, restore the backup to > a different place (e.g. /tmp/etc) and check with diff: > > # rewind your tape to the correct position (not shown) > cd /tmp; tar xvf /dev/nsa1 > diff -ru /etc /tmp/etc > > The diff command should give no output. > > Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090810/6e632f5c/attachment.pgp From brentb at beanfield.com Mon Aug 10 17:46:09 2009 From: brentb at beanfield.com (Brent Bloxam) Date: Mon Aug 10 17:46:17 2009 Subject: toaster or do-it-myself? In-Reply-To: <20090810170248.GB49364@slackbox.xs4all.nl> References: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> <20090810170248.GB49364@slackbox.xs4all.nl> Message-ID: <4A805CD8.2030508@beanfield.com> Roland Smith wrote: > There are several webmail apps available in ports. E.g. mail/squirrelmail, > which has a lot of plugins available. Squirrelmail's webserver was recently hacked, and plugins were compromised: http://secunia.com/advisories/36087/ http://sourceforge.net/mailarchive/message.php?msg_name=4A727634.3080008%40squirrelmail.org Just a friendly FYI From miklosovic.freebsd at gmail.com Mon Aug 10 18:59:37 2009 From: miklosovic.freebsd at gmail.com (Stefan Miklosovic) Date: Mon Aug 10 18:59:45 2009 Subject: vsftpd with ssl Message-ID: Hi there, I am installing vsftpd server with ssl. It seems it works good, BUT *~:*ftp-tls notebook Trying 127.0.0.1... Connected to localhost. 220 Welcome to miniBSD service. 234 Proceed with negotiation. [Starting SSL/TLS negotiation...] WARNING: Server's certificate issuer's certificate isn't available locally. WARNING: Certificate is untrusted. WARNING: Unable to verify leaf signature. WARNING: Errors while verifying the server's certificate chain, continue? (Y/N) Y [Subject: C = SK, O = Crypto, CN = notebook, emailAddress = miklosovic@gmail.com] [Issuer: C = SK, ST = Slovakia, O = MyCompany, OU = sysadmins, CN = notebook, emailAddress = miklosovic@gmail.com] [Cipher: DES-CBC3-SHA (168 bits)] Compression: zlib compression Name (notebook:stewe): stewe 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> so, as you can see, I logged in successfully, but there's some issue with certificates. I did my own CA authority, signed it on myself, adjusted config in this way /usr/loca/etc/vsftpd.conf ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=YES rsa_private_key_file=/usr/local/etc/newkey.pem rsa_cert_file=/usr/local/etc/newcert.pem anonymous_enable=YES ..... an so on On the internet, there is a hint: "You must add the public key of your self signed CA to your OpenSSL certs directory." but how to do that ??? which dir? what public key? thank you From freebsd at edvax.de Mon Aug 10 19:15:04 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 10 19:15:11 2009 Subject: icewm - error during portupgrade / compiling In-Reply-To: <20090810120715.GA4044@aurora.oekb.co.at> References: <20090810120715.GA4044@aurora.oekb.co.at> Message-ID: <20090810211501.85db8d0f.freebsd@edvax.de> On Mon, 10 Aug 2009 14:07:15 +0200, Ewald Jenisch wrote: > gnome2.cc:25:19: error: gnome.h: No such file or directory > gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file or directory This seems to be the cause of the error: a missing dependency (here: missing header files, BDEPS). > Has anybody else seen this problems recently? Not recently, but I'm sure I have seen this. > Any know cure? Maybe not very elegant, but I did pkg_add -r for the dependencies. I think you can compile the dependencies that are problematic, it seems to be gnome-vfs, by hand, and then start rebuilding your icewm port. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon Aug 10 19:17:02 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 10 19:17:09 2009 Subject: Backup Size In-Reply-To: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> Message-ID: <20090810211700.b62dea11.freebsd@edvax.de> On Mon, 10 Aug 2009 10:21:58 -0500, Jay Hall wrote: > What concerns me is when running du -h /etc, the size of the folder is > reported as 1.7M. Excuse me for being pedantic, but please try to use the correct terminology. There are no "folders" in FreeBSD. The concept you are refering to is called a directory. You don't call the files in /etc "sheets of paper", do you? :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From alex at mailinglist.ahhyes.net Mon Aug 10 19:17:14 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Mon Aug 10 19:17:20 2009 Subject: installworld fails on 7.2-RELEASE/amd64 In-Reply-To: <66403456@bb.ipt.ru> References: <4A7FDA9E.6070906@mailinglist.ahhyes.net> <66403456@bb.ipt.ru> Message-ID: <4A807235.4090601@mailinglist.ahhyes.net> Boris Samorodov wrote: > On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote: > > >> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o >> boot2.ld -P 1 boot2.bin >> btxld:No such file or directory >> *** Error code 1 >> > > This error (not only with btxld but with some random file) often > occures when the system timer has been changed (imho stepped back) > while the system is building/installing world. World rebuilding > helps in that case. > > Hi Boris, Why might the system timer do this? I am confused. The thing that ended up fixing it was completely rebuilding /usr/src (deleting the dir and installing the system sources via csup again) It's a new computer so perhaps there is some compatibility problem or fault with the machine? During a couple of port builds, I noticed a few processes relating to the build of a port had died with signal 10 in dmesg (bus error i think this means), and during a build of apache, something called confcheck had died with signal 12. I ran memtest86 on this system for about 6 hours and after about 20 passes, no errors reported. From bsam at ipt.ru Mon Aug 10 19:39:55 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Mon Aug 10 19:40:02 2009 Subject: installworld fails on 7.2-RELEASE/amd64 In-Reply-To: <4A807235.4090601@mailinglist.ahhyes.net> (Alex R.'s message of "Tue\, 11 Aug 2009 05\:17\:09 +1000") References: <4A7FDA9E.6070906@mailinglist.ahhyes.net> <66403456@bb.ipt.ru> <4A807235.4090601@mailinglist.ahhyes.net> Message-ID: <11033862@h30.sp.ipt.ru> On Tue, 11 Aug 2009 05:17:09 +1000 Alex R wrote: > Boris Samorodov wrote: > > On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote: > >> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o > >> boot2.ld -P 1 boot2.bin > >> btxld:No such file or directory > >> *** Error code 1 > > This error (not only with btxld but with some random file) often > > occures when the system timer has been changed (imho stepped back) > > while the system is building/installing world. World rebuilding > > helps in that case. > Why might the system timer do this? I am confused. The thing that Well, there are too many possibilities here. Like some run an ntpdate command. If you have logs you may check them up. > ended up fixing it was completely rebuilding /usr/src (deleting the > dir and installing the system sources via csup again) Seems like the case I supposed. > It's a new computer so perhaps there is some compatibility problem or > fault with the machine? During a couple of port builds, I noticed a > few processes relating to the build of a port had died with signal 10 > in dmesg (bus error i think this means), and during a build of apache, > something called confcheck had died with signal 12. Hm, that is not good imho. Smells like hardware fault. > I ran memtest86 on this system for about 6 hours and after about 20 > passes, no errors reported. Memory is only one system component. A processor/disk may be overheated, coolers stopped, etc. A very good test is make world (one after another several times). -- WBR, bsam From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Aug 10 20:14:35 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Aug 10 20:14:42 2009 Subject: vsftpd with ssl In-Reply-To: References: Message-ID: <200908101214.32647.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 10 August 2009 10:59:34 Stefan Miklosovic wrote: > Hi there, > > I am installing vsftpd server with ssl. > It seems it works good, BUT > > *~:*ftp-tls notebook > Trying 127.0.0.1... > Connected to localhost. > 220 Welcome to miniBSD service. > 234 Proceed with negotiation. > [Starting SSL/TLS negotiation...] > WARNING: Server's certificate issuer's certificate isn't available locally. This is an ftp-tls error, not vsftpd. It took some searching through OpenSSL sources, cause half of the manpages aren't available, but the certificate should be in /etc/ssl on the connecting machine. The error above is the same as described in the verify(1) manpage for OpenSSL: 2 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: unable to get issuer certifi- cate the issuer certificate could not be found: this occurs if the issuer certificate of an untrusted certificate cannot be found. The verify(1) manpage also describes how to store your trusted certificates in there, though it doesn't contain too much info. Perhaps this guide will help you: http://gagravarr.org/writing/openssl-certs/others.shtml#ca-openssl -- Mel From amig at amig.no Mon Aug 10 20:30:05 2009 From: amig at amig.no (Jan Aage Knutsen) Date: Mon Aug 10 20:30:11 2009 Subject: Route outgoing traffic on jail Message-ID: <000901ca19f6$d3da2aa0$7b8e7fe0$@no> Hi, Im trying to route the outgoing traffic from a jail trough another gw than the default one set on host with pf. The host is using internal address 192.168.10.5 and the default route is to 192.168.10.1 wich is a dsl line. The jail is using a public ip that is on a fiber line where the gw is at the isp and not in my place. I got a /29 from them. I want this jail to use the isp gw and not the default route. So far I managed to get the reply-to rule to work. So traffic originating from inet to jail works. But the inet traffic originating from the jail still goes trough the defaultroute. I also using trunking on the interface and have multiple vlans on it. And the vlan traffic works fine. I can ping the isp1 gw from host etc. Here is my pf config. ############### # Variables # ############### if_isp1="vlan2" if_isp2="vlan1" gw1="x.x.x.1" gw2="192.168.21.1" jail_ip="x.x.x.30" ############### # Rules # ############### #routing for isp1 pass in on $if_isp1 reply-to (vlan2 $gw1) from any to any keep state <-this is the rule that works.. pass out on $if_isp1 route-to ($if_isp1 $gw1 ) from $jail_ip to any <- tried to mess around with this rule, Any good ideas out there? I also running 8.0 fyi. Regards Jan Aage From tfcheng at gmail.com Mon Aug 10 20:36:39 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Mon Aug 10 20:36:45 2009 Subject: FTP server navigation problem Message-ID: Hi, I use freebsd7.2 and can't access my friend's FTP server (crystal FTP server) from command line. I can't run any command in the ftp server, it only responds "Entering Extended passive mode" and hang. But when I ftp from windows command prompt, it actually works. So what's the matter with my BSD communication? thanks!! TFC From qapro1 at yahoo.com Mon Aug 10 20:27:14 2009 From: qapro1 at yahoo.com (Raisa Brokhshtut) Date: Mon Aug 10 20:37:31 2009 Subject: please help to uninstall FreeBSD!!! Message-ID: <980215.56754.qm@web58307.mail.re3.yahoo.com> Hello, ? My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows.?Every time when I boot this PC it prompts?for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. ? Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install?the Windows operating system from CD. ? Thank you ? Raisa From norgaard at locolomo.org Mon Aug 10 20:42:58 2009 From: norgaard at locolomo.org (Erik Norgaard) Date: Mon Aug 10 20:43:06 2009 Subject: please help to uninstall FreeBSD!!! In-Reply-To: <980215.56754.qm@web58307.mail.re3.yahoo.com> References: <980215.56754.qm@web58307.mail.re3.yahoo.com> Message-ID: <4A808650.9090708@locolomo.org> Raisa Brokhshtut wrote: > My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows. Every time when I boot this PC it prompts for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. > > Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install the Windows operating system from CD. Simply boot the Windows install cd and install, no need to uninstall FreeBSD first. If the system doesn't boot the cd booting from cd is possibly disabled in the bios or set as second boot option. Check the bios that the system tries to boot from first from cdrom then hard disk. BR, Erik -- Erik N?rgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From nealhogan at gmail.com Mon Aug 10 20:46:28 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Mon Aug 10 20:46:45 2009 Subject: please help to uninstall FreeBSD!!! In-Reply-To: <980215.56754.qm@web58307.mail.re3.yahoo.com> References: <980215.56754.qm@web58307.mail.re3.yahoo.com> Message-ID: On Mon, Aug 10, 2009 at 3:00 PM, Raisa Brokhshtut wrote: > Hello, > > My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows.?Every time when I boot this PC it prompts?for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. > > Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install?the Windows operating system from CD. Perhaps you should talk to MS people about installing MS. FreBSD is not in your way. The MS install disc(s) should take care of freeBSD. > > Thank you > > Raisa > > > > _______________________________________________ > 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 witchspace.com Mon Aug 10 20:52:18 2009 From: jon at witchspace.com (Jonathan Belson) Date: Mon Aug 10 20:52:24 2009 Subject: ipfw, NAT and CISCO IPSec VPNs Message-ID: <4A808393.80501@witchspace.com> Hiya I've got a pretty standard network which uses a FreeBSD server to perform NAT between my internal IPs (192.168.0.x) and the outside world. Everything is working tickety-boo, but I'm trying to tweak my firewall rules (ipfw, based on the 'SsIiMmPpLlEe' firewall template in rc.firewall) to allow a CISCO IPSec-based VPN client on a local machine to connect to a remote server (tunnel). tcpdump shows that the client attempts to send packets to the remote VPN server on port 500 (isakmp) as you'd expect, but it's not getting any packets back and so the connection fails. The following suggests that you can solve the problem by not changing the source port of the NATed packets, but gives a sample using pf: http://lists.freebsd.org/pipermail/freebsd-net/2005-October/008749.html Other posts I've read say you can simply forward packets from the remote VPN server to the machine running the VPN client, but (needless to say) I haven't been able to get this to work: http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/85d775a73e352aa5/f62e6b0d67b2d576 Any suggestions from people who have done similar before? Cheers, --Jon From martin at dc.cis.okstate.edu Mon Aug 10 20:59:52 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Mon Aug 10 21:00:01 2009 Subject: Trying to Install Man Page Message-ID: <200908102059.n7AKxha1075178@dc.cis.okstate.edu> There is a test man page I am trying to install and the system is not finding it. I put it in /usr/local/man/man1 and think I should at least get complaints about the page as it is the start of a man page, not the whole thing. I named it testpage, compressed it with gzip and when I type man testpage, it just says that there is no manual entry for testpage. Is there a data base I forgot to remake after adding the page? I did make sure the ownership and permissions are the same as other pages in the directory. I also did a man on one of the other pages in that same directory and it came right up. Thank you. Martin McCormick From freebsd at edvax.de Mon Aug 10 21:01:49 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 10 21:01:55 2009 Subject: FTP server navigation problem In-Reply-To: References: Message-ID: <20090810230145.623f9421.freebsd@edvax.de> On Mon, 10 Aug 2009 16:36:36 -0400, Tsu-Fan Cheng wrote: > Hi, > I use freebsd7.2 and can't access my friend's FTP server (crystal FTP > server) from command line. I can't run any command in the ftp server, it > only responds "Entering Extended passive mode" and hang. But when I ftp from > windows command prompt, it actually works. So what's the matter with my BSD > communication? thanks!! Refer to "man ftp". Passive FTP is mentioned as follows: EXTENDED PASSIVE MODE AND FIREWALLS Some firewall configurations do not allow ftp to use extended passive mode. If you find that even a simple ls appears to hang after printing a message such as this: 229 Entering Extended Passive Mode (|||58551|) then you will need to disable extended passive mode with epsv4 off. See the above section The .netrc File for an example of how to make this automatic. Above it states: epsv4 Toggle the use of the extended EPSV and EPRT commands on IPv4 connections; first try EPSV / EPRT, and then PASV / PORT. This is enabled by default. If an extended command fails then this option will be temporarily disabled for the dura- tion of the current connection, or until epsv4 is executed again. You can use this setting either via .netrc or as an interactive command. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From listreader at lazlarlyricon.com Mon Aug 10 21:03:34 2009 From: listreader at lazlarlyricon.com (Rolf G Nielsen) Date: Mon Aug 10 21:03:41 2009 Subject: please help to uninstall FreeBSD!!! In-Reply-To: <980215.56754.qm@web58307.mail.re3.yahoo.com> References: <980215.56754.qm@web58307.mail.re3.yahoo.com> Message-ID: <4A80863B.1000003@lazlarlyricon.com> Raisa Brokhshtut wrote: > Hello, > > My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows. Every time when I boot this PC it prompts for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. > > Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install the Windows operating system from CD. > > Thank you > > Raisa > > > > _______________________________________________ > 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" > > > Insert the Windoze install CD and boot off it. When prompted, create an NTFS or a FAT slice covering the whole drive. -- Rolf Nielsen From freebsd at edvax.de Mon Aug 10 21:22:59 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 10 21:23:05 2009 Subject: please help to uninstall FreeBSD!!! In-Reply-To: <980215.56754.qm@web58307.mail.re3.yahoo.com> References: <980215.56754.qm@web58307.mail.re3.yahoo.com> Message-ID: <20090810232255.7eacc233.freebsd@edvax.de> On Mon, 10 Aug 2009 13:00:31 -0700 (PDT), Raisa Brokhshtut wrote: > Anyway, I would greatly appreciate if you would guide me how to uninstall > that program. FreeBSD is not a program, it's an operating system. > I don't have windows reskue cd. You don't need it, but you need the installation CD for the "Windows" you want to install. > So I want to completly remove that FreeBSD from my PC and to install >?the Windows operating system from CD. In order to install "Windows", enable booting from CD (via BIOS setup) and follow the instructions presented by the installer. Usually, any MICROS~1 operating system attempts to completely wipe the disk it wants to install on, so it will (of course) remove FreeBSD while creating its own "partition" before installing. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From alex at mailinglist.ahhyes.net Mon Aug 10 22:08:12 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Mon Aug 10 22:08:19 2009 Subject: installworld fails on 7.2-RELEASE/amd64 In-Reply-To: <11033862@h30.sp.ipt.ru> References: <4A7FDA9E.6070906@mailinglist.ahhyes.net> <66403456@bb.ipt.ru> <4A807235.4090601@mailinglist.ahhyes.net> <11033862@h30.sp.ipt.ru> Message-ID: <4A809A48.40302@mailinglist.ahhyes.net> Boris Samorodov wrote: > On Tue, 11 Aug 2009 05:17:09 +1000 Alex R wrote: > >> Boris Samorodov wrote: >> >>> On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote: >>> > > >>>> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o >>>> boot2.ld -P 1 boot2.bin >>>> btxld:No such file or directory >>>> *** Error code 1 >>>> > > >>> This error (not only with btxld but with some random file) often >>> occures when the system timer has been changed (imho stepped back) >>> while the system is building/installing world. World rebuilding >>> helps in that case. >>> > > >> Why might the system timer do this? I am confused. The thing that >> > > Well, there are too many possibilities here. Like some run an > ntpdate command. If you have logs you may check them up. > > >> ended up fixing it was completely rebuilding /usr/src (deleting the >> dir and installing the system sources via csup again) >> > > Seems like the case I supposed. > > >> It's a new computer so perhaps there is some compatibility problem or >> fault with the machine? During a couple of port builds, I noticed a >> few processes relating to the build of a port had died with signal 10 >> in dmesg (bus error i think this means), and during a build of apache, >> something called confcheck had died with signal 12. >> > > Hm, that is not good imho. Smells like hardware fault. > > >> I ran memtest86 on this system for about 6 hours and after about 20 >> passes, no errors reported. >> > > Memory is only one system component. A processor/disk may be overheated, > coolers stopped, etc. A very good test is make world (one after another > several times). > > Shouldn't be a heating issue, the case has fans galore in it, the thermal side of things look ok from what I can see :) It's one of the recent gigabyte motherboards that uses DDR3 memory. I did find a setting in the BIOS that had a title of DRAM performance enhance, it was set to turbo by default, I have set it back to standard in case that was causing stability issues (the machine is not overclocked). I have also gone back to the i386 release instead of amd64. Done a build world and have built several ports, no core dumps or unexplained phenomena as of yet (fingers crossed). though if the system starts to act up again, I will be sending the motherboard back! Off topic, it wouldn't be a first time that the amd64 release has presented odd issues. I have a machine with an Intel desktop board with a core duo cpu in it (EMT64 capable) with 4GB of DDR3 memory, freebsd 7/amd64 or freebsd 8/amd64 refuse to boot. On that machine, it just page faults during the kernel init (had a PR open for over a year now, going nowhere), however the i386 release of freebsd boots ok. 64 bit linux works perfectly on that board. It's a bit of a hit and miss thing these days with motherboards and open source operating systems. I've generally had a good run with FreeBSD on Gigabyte hardware. Thanks for your suggestions though. From derrick at packetsafe.net Mon Aug 10 22:25:01 2009 From: derrick at packetsafe.net (Derrick MacPherson) Date: Mon Aug 10 22:25:07 2009 Subject: (no subject) Message-ID: <19a28df888b72db0c87877564ec4da01.squirrel@secure.packetsafe.net> I had a ssd drive in a system to use as temp backup server, it has 6 1tb drives in it that i created a raid0 (i'm pretty sure that's what I created) and used as a backup, to rebuild our file server. the ssd drive was taken back after a couple weeks as the box was no longer being used. At this point I need to check whats on that array due to some data corruption. The drives in the array are probably not plugged in as they were when used before. Is it possible, and if so how, to recover that array? I've popped in a different system drive and have got the box back up, I thought there'd be a way to read the labels on the drives and recreate the raid set.. am i wrong? -- Derrick MacPherson From glen.j.barber at gmail.com Mon Aug 10 22:36:24 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Aug 10 22:36:31 2009 Subject: (no subject) In-Reply-To: <19a28df888b72db0c87877564ec4da01.squirrel@secure.packetsafe.net> References: <19a28df888b72db0c87877564ec4da01.squirrel@secure.packetsafe.net> Message-ID: <4ad871310908101536s65dbb100j46407c1bb71ce045@mail.gmail.com> Hi Derrick On Mon, Aug 10, 2009 at 5:40 PM, Derrick MacPherson wrote: > > I had a ssd drive in a system to use as temp backup server, it has 6 1tb > drives in it that i created a raid0 (i'm pretty sure that's what I > created) That is a very important piece of information to have. You cannot rebuild RAID0 arrays because there is no redundancy nor parity. You _can_ rebuild RAID1 arrays. http://www.freebsd.org/doc/en/books/handbook/raid.html -- Glen Barber From wtf.jlaine at gmail.com Mon Aug 10 22:55:08 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Mon Aug 10 22:55:15 2009 Subject: Looking for fast graphical web browser In-Reply-To: References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> Message-ID: <20090810225508.GA36580@free.bsd.loc> On Fri,08/07/09 [09:32:38], Daniel Underwood wrote: > I'd really love to see chromium ported over. ditto. But now I'm pretty happy with that new firefox-3.5 which seems pretty faster than previous version and still light enough for my old 1.6G celeron-powered laptop. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From derrick at packetsafe.net Mon Aug 10 22:56:14 2009 From: derrick at packetsafe.net (Derrick MacPherson) Date: Mon Aug 10 22:56:23 2009 Subject: (no subject) Message-ID: <1461863968-1249943235-cardhu_decombobulator_blackberry.rim.net-704191927-@bxe1267.bisx.prod.on.blackberry> As soon as you send these, you find an answer. Loaded geom_stripe and I was able to see the array ------Original Message------ From: Derrick MacPherson Sender: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Subject: (no subject) Sent: Aug 10, 2009 14:40 I had a ssd drive in a system to use as temp backup server, it has 6 1tb drives in it that i created a raid0 (i'm pretty sure that's what I created) and used as a backup, to rebuild our file server. the ssd drive was taken back after a couple weeks as the box was no longer being used. At this point I need to check whats on that array due to some data corruption. The drives in the array are probably not plugged in as they were when used before. Is it possible, and if so how, to recover that array? I've popped in a different system drive and have got the box back up, I thought there'd be a way to read the labels on the drives and recreate the raid set.. am i wrong? -- Derrick MacPherson _______________________________________________ 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" Sent from my BlackBerry. From nafzal at hotmail.com Mon Aug 10 23:07:06 2009 From: nafzal at hotmail.com (Naeem Afzal) Date: Mon Aug 10 23:07:14 2009 Subject: filesystem size after newfs Message-ID: I created this small partition of 512K bytes on disk, I am noticing about 24% is used up before system can be mounted and used. My assumption was about 4% is supposed to be used if minfree is set to 0. #newfs -U -l -m 0 -n -o space /dev/ad1d /dev/ad1d: 0.5MB (1024 sectors) block size 16384, fragment size 2048 using 1 cylinder groups of 0.50MB, 32 blks, 64 inodes with soft updates super-block backups (for fsck -b #) at: 160 #mount /dev/ad1d /test #df -H /test Filesystem Size Used Avail Capacity Mounted on /dev/ad1d 391k 2.0k 389k 1% /test Could someone explain where the 512-391=121K of disk space went to? What is the relation between this used of space and total paritition size or is it some fixed ratio? Thanks & Regards Naeem _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail?. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009 From freebsd at edvax.de Mon Aug 10 23:40:13 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Aug 10 23:41:04 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090810225508.GA36580@free.bsd.loc> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> <20090810225508.GA36580@free.bsd.loc> Message-ID: <20090811014009.46a70aee.freebsd@edvax.de> On Tue, 11 Aug 2009 02:55:08 +0400, Jeff Laine wrote: > But now I'm pretty happy with that new firefox-3.5 which seems pretty > faster than previous version and still light enough for my old 1.6G > celeron-powered laptop. May I guess what I should consider light enough for my uber-old ancient 0.5G AMD powered laptop? :-) By the way: In order to find out which browser is *really* lightweight, fast and still easy to use, responsive and standard compliant, you should try running it on *really* old hardware. If it runs there good enough so you would use it, it will be blazing fast on your modern hardware of today. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From djuatdelta at gmail.com Tue Aug 11 00:01:35 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue Aug 11 00:01:42 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090810225508.GA36580@free.bsd.loc> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> <20090810225508.GA36580@free.bsd.loc> Message-ID: > ditto. But now I'm pretty happy with that new firefox-3.5 which seems pretty > faster than previous version and still light enough for my old 1.6G > celeron-powered laptop. Nice. I haven't tried 3.5 yet. From perrin at apotheon.com Tue Aug 11 00:05:44 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Aug 11 00:06:00 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090810225508.GA36580@free.bsd.loc> References: <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> <4A7C1AD3.5060503@rcn.com> <20090810225508.GA36580@free.bsd.loc> Message-ID: <20090810235816.GA35522@kokopelli.hydra> On Tue, Aug 11, 2009 at 02:55:08AM +0400, Jeff Laine wrote: > On Fri,08/07/09 [09:32:38], Daniel Underwood wrote: > > I'd really love to see chromium ported over. > > ditto. But now I'm pretty happy with that new firefox-3.5 which seems pretty > faster than previous version and still light enough for my old 1.6G > celeron-powered laptop. I'd love to see Chromium on FreeBSD too -- in part because I'm sick and fucking tired of the growing rate of Firefox issues as time goes on. It's getting too fat and complex for stable, reliable use of the sort I want. I managed to solve all my Firefox 3.5 problems by upgrading to 3.0 again. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth markinct @techrepublic.com: "Don't take anything you do on-line lightly. Caveat Clicker..." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090811/4b5b4d05/attachment.pgp From fbsdlilly at gmail.com Tue Aug 11 02:14:01 2009 From: fbsdlilly at gmail.com (mojo fms) Date: Tue Aug 11 02:14:09 2009 Subject: filesystem size after newfs In-Reply-To: References: Message-ID: On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal wrote: > > I created this small partition of 512K bytes on disk, I am noticing > about 24% is used up before system can be mounted and used. My assumption > was about 4% is supposed to be used if minfree is set to 0. > > #newfs -U -l -m 0 -n -o space /dev/ad1d > /dev/ad1d: 0.5MB (1024 sectors) block size 16384, fragment size 2048 > using 1 cylinder groups of 0.50MB, 32 blks, 64 inodes with soft updates > super-block backups (for fsck -b #) at: > 160 > #mount /dev/ad1d /test > #df -H /test > Filesystem Size Used Avail Capacity Mounted on > /dev/ad1d 391k 2.0k 389k 1% /test > Could someone explain where the 512-391=121K of disk space went to? What > is the relation between this used of space and total paritition size or is > it some fixed ratio? > Thanks & Regards > Naeem > _________________________________________________________________ > Express your personality in color! Preview and select themes for Hotmail?. > > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_______________________________________________ > freebsd-questions@freebsd.orgmailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > 5% to root, and the rest i am assuming file system blocks. Try making the 512k partition bigger accounting for those things and you should be able to get it really close to 512k available. -- Who knew From jhall at socket.net Tue Aug 11 02:24:27 2009 From: jhall at socket.net (Jay Hall) Date: Tue Aug 11 02:24:34 2009 Subject: Backup Size In-Reply-To: <20090810170921.GC49364@slackbox.xs4all.nl> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810162528.GA49364@slackbox.xs4all.nl> <20090810170921.GC49364@slackbox.xs4all.nl> Message-ID: On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: >> The fact that you are using tar also plays a part. Tar has some >> overhead to >> store information about the files it contains. Is it possible to calculate the amount of overhead tar will use? Thanks, Jay From chris at monochrome.org Tue Aug 11 02:43:53 2009 From: chris at monochrome.org (Chris Hill) Date: Tue Aug 11 02:44:01 2009 Subject: Looking for fast graphical web browser In-Reply-To: <20090807061137.GA4290@kokopelli.hydra> References: <20090731085553.461f73be.cyb.@gmx.net> <20090731114711.49d94196.freebsd@edvax.de> <20090731170422.0574fef5.cyb.@gmx.net> <20090731221532.ab004d5b.freebsd@edvax.de> <20090731205636.GB44613@kokopelli.hydra> <20090731231007.feec5a75.freebsd@edvax.de> <20090807061137.GA4290@kokopelli.hydra> Message-ID: On Fri, 7 Aug 2009, Chad Perrin wrote: > On Mon, Aug 03, 2009 at 08:27:34AM -0400, Chris Hill wrote: >> >> Firefox has not had Ctrl-Q for some time. Try Alt-F followed by Q. I guess >> that's 2.5 keystrokes, but at least it's keystrokes. > > What version number would you call "some time" ago? I just used Ctrl-Q > about six hours or so ago. I've used it too, but more like six years ago. I have not kept notes on the version numbers, just one day noticed Ctrl-Q not working anymore after an update. But I would guess it was sometime around the 1.x -> 2.x transition. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Aug 11 03:08:39 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Aug 11 03:08:45 2009 Subject: Backup Size In-Reply-To: References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810170921.GC49364@slackbox.xs4all.nl> Message-ID: <200908101908.36042.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 10 August 2009 18:24:19 Jay Hall wrote: > On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: > >> The fact that you are using tar also plays a part. Tar has some > >> overhead to > >> store information about the files it contains. > > Is it possible to calculate the amount of overhead tar will use? Difficult. 512 bytes per entry + 1024 (EOF). See man 5 tar. But since files will be padded there is some extra overhead. Also, it is hard to calculate hard links and sparse files. Tar will handle these correctly (i.e. preserve hard links and detect sparse files and try not archive "blocks of nulls") but it is hard to calculate the size because of this before the archive operation because of this. -- Mel From jhall at socket.net Tue Aug 11 03:14:15 2009 From: jhall at socket.net (Jay Hall) Date: Tue Aug 11 03:14:21 2009 Subject: Backup Size In-Reply-To: <200908101908.36042.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <6206A242-7226-48E3-8D09-A1D3A651F2A8@socket.net> <20090810170921.GC49364@slackbox.xs4all.nl> <200908101908.36042.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: > > Difficult. 512 bytes per entry + 1024 (EOF). See man 5 tar. But > since files > will be padded there is some extra overhead. Also, it is hard to > calculate > hard links and sparse files. Tar will handle these correctly (i.e. > preserve > hard links and detect sparse files and try not archive "blocks of > nulls") but > it is hard to calculate the size because of this before the archive > operation > because of this. > -- > Mel Thanks. I have been able to come close, but not exact. Looks like close will have to be good enough. Thanks again. Jay From jalmberg at identry.com Tue Aug 11 05:37:52 2009 From: jalmberg at identry.com (Identry) Date: Tue Aug 11 05:37:59 2009 Subject: toaster or do-it-myself? In-Reply-To: <4A805CD8.2030508@beanfield.com> References: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> <20090810170248.GB49364@slackbox.xs4all.nl> <4A805CD8.2030508@beanfield.com> Message-ID: <4d4e09680908102237u27f8b370s7bfe4b2ede3321ab@mail.gmail.com> Frack... qmail is impossible. I've been hacking at this for 14 hours and it's just not working. I must be stupid. From nlandys at gmail.com Tue Aug 11 05:39:16 2009 From: nlandys at gmail.com (Nerius Landys) Date: Tue Aug 11 05:39:23 2009 Subject: ipfw, NAT and CISCO IPSec VPNs In-Reply-To: <4A808393.80501@witchspace.com> References: <4A808393.80501@witchspace.com> Message-ID: <560f92640908102238g3a0f0c2ai9fcc36fdb9227b29@mail.gmail.com> > I've got a pretty standard network which uses a FreeBSD server to perform > NAT between my internal IPs (192.168.0.x) and the outside world. ?Everything > is working tickety-boo, but I'm trying to tweak my firewall rules (ipfw, > based on the 'SsIiMmPpLlEe' firewall template in rc.firewall) to allow a > CISCO IPSec-based VPN client on a local machine to connect to a remote > server (tunnel). > > tcpdump shows that the client attempts to send packets to the remote VPN > server on port 500 (isakmp) as you'd expect, but it's not getting any > packets back and so the connection fails. > > The following suggests that you can solve the problem by not changing the > source port of the NATed packets, but gives a sample using pf: > > http://lists.freebsd.org/pipermail/freebsd-net/2005-October/008749.html > > Other posts I've read say you can simply forward packets from the remote VPN > server to the machine running the VPN client, but (needless to say) I > haven't been able to get this to work: > > http://groups.google.com/group/comp.unix.bsd/browse_thread/thread/85d775a73e352aa5/f62e6b0d67b2d576 > > Any suggestions from people who have done similar before? I'm very surprised that you wrote this email because I stayed up most of the night yesterday to fix a similar problem. I was running a NAT using the OpenBSD pf firewall on my FreeBSD 7.1 router. Yeah, everything was working fine just like in your case. One of the people at home (from within 192.168.0.x) are using Cisco VPN Client to do some IPSec/UDP something a rather (I don't know too much about this, frankly) and the connection kept timing out after 5 minutes. I tried just about every permutation of pf rules, form the very simple and minimalistic to the more elaborate. Nothing worked, still timed out after 5 minutes. I then did a sanity check and connected a simple Linksys router device to replace my FreeBSD router with the Linksys (direct replacement, same network configs). The Linksys did not cause the timeout issue. So I figured the FreeBSD router was the culprit. I then tried to do away with OpenBSD's pf, and I tried IPFILTER (IPF) Firewall. I created a one-liner rule in /etc/ipnat.rules: ap fxp4 192.168.0.0/24 -> 0/32 and I didn't even enable ipfilter in /etc/rc.conf, only ipnat. This was my minimalist test to see if perhaps pf was somehow to blame. It turns out that with IPFILTER all works well. So, I guess I'm sticking with IPFILTER. From nlandys at gmail.com Tue Aug 11 05:48:05 2009 From: nlandys at gmail.com (Nerius Landys) Date: Tue Aug 11 05:48:12 2009 Subject: please help to uninstall FreeBSD!!! In-Reply-To: <980215.56754.qm@web58307.mail.re3.yahoo.com> References: <980215.56754.qm@web58307.mail.re3.yahoo.com> Message-ID: <560f92640908102223h20aa3e0fsb2aa8670af628a55@mail.gmail.com> > My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows.?Every time when I boot this PC it prompts?for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. > > Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install?the Windows operating system from CD. This is the best comic relief I've had in a while. From tajudd at gmail.com Tue Aug 11 06:05:06 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Aug 11 06:05:13 2009 Subject: toaster or do-it-myself? In-Reply-To: <4d4e09680908102237u27f8b370s7bfe4b2ede3321ab@mail.gmail.com> References: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> <20090810170248.GB49364@slackbox.xs4all.nl> <4A805CD8.2030508@beanfield.com> <4d4e09680908102237u27f8b370s7bfe4b2ede3321ab@mail.gmail.com> Message-ID: On 8/10/09, Identry wrote: > Frack... qmail is impossible. I've been hacking at this for 14 hours > and it's just not working. I must be stupid. If you're open to suggestions, there are two typical camps on this. first one being a majority. I've done both, and don't know which one to favor 1) A mix-n match bag of software daemons that make it all work: postfix MTA, dovecot POP3/IMAP, your choice of virtual user database, squirrelmail (or another webmail) product. That gives basic functions. Add anti-spam (spamassassin is common), and anti-virus (clamav). 2) Install Courier suite, in which the same developers have a MTA, POP3/IMAP, webmail suite. Add Anti-Spam and Anti-Virus and your kit is complete. For the first time, I was able to install an email subsystem that eliminates all spam without an anti-spam software app. Based on the blacklists for known spammers, and a blacklist for accidental spammers, we're curbing most if not all other spam mails from being accepted by the MTA. The first blacklist are blocked by the firewall, second blacklist is checked at each incoming connection and the MTA will send notice to the remote connection (in the event it's a real person sending mail from a spamming host), on how to clear themselves. There isn't any AV suite to speak of, but if we're killing all susceptable spams, the viruses are from the same bunch so we're killing two birds with one stone. Soon, I'll revisit Courier and see if my same mail setup is able to accomplish the same goal, and I know the first blacklist will happen, it's the 2nd I'm not so sure about. Getting a toaster-application is nice, speedy setup. but you work with it's limitations or drawbacks. Building your own gives more flexibility, and depending on setup, it'll be no more than a toaster-application -- or a whole lot more. Ask us questions, there's lots of posts online. For a quick setup, i always - Install FreeBSD - Run freebsd-update fetch install && reboot - Install binary packages, and update them using your choice port upgrade utility, if any That's the quickest way to get a server live and operational... because a non-modified port options = same binary that's offered as a package. Identry, send me a mail offlist if you want clarification on this post. Good luck. From ws at au.dyndns.ws Tue Aug 11 06:34:37 2009 From: ws at au.dyndns.ws (Wayne Sierke) Date: Tue Aug 11 06:34:44 2009 Subject: Don't let mergemaster beat you down [was Re: Failed update] In-Reply-To: <526027.78512.qm@web51009.mail.re2.yahoo.com> References: <526027.78512.qm@web51009.mail.re2.yahoo.com> Message-ID: <1249971512.63923.1045.camel@predator-ii.buffyverse> On Sun, 2009-08-09 at 08:34 -0700, Richard Mahlerwein wrote: > I'm redoing the whole process in single user mode. My guess is I > goofed something during mergemaster and devd.conf is messed up. > (Mergemaster is, undeniably, my least favorite utility). I lost practically all of my 'mergemaster pain' when I adopted the habit of using it with -iUP options: -i Automatically install any files that do not exist in the des- tination directory. -P Preserve files that you replace in /var/tmp/mergemaster/preserved-files-, or another directory you specify in your mergemaster rc file. -U Attempt to auto upgrade files that have not been user modi- fied. "Try it - you'll like it!" Wayne From uchimata at c7f.de Tue Aug 11 06:39:03 2009 From: uchimata at c7f.de (Matthias Luft) Date: Tue Aug 11 06:39:11 2009 Subject: toaster or do-it-myself? In-Reply-To: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> References: <4d4e09680908100838h6d42432fwd0ec9a10d145b809@mail.gmail.com> Message-ID: <4A810D78.4000308@c7f.de> Hi, Identry wrote: > I need to use qmail because that's what was used on the old > mailserver, and all my backups are in Maildir format. I don't have > time to mess around converting all that mail to another format, so > that's my one fixed requirement. there is a great guide for installing qmail: http://www.lifewithqmail.org/ Of course, it just explains the technical steps for installing qmail, not mailserver setups in general (nevertheless there are some links about relaying etc.) Btw., do most reasonable MTAs support Maildirs, so you are not restricted to qmail. cheers, Matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 7380 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090811/f2ee6eee/smime.bin From zafiro17 at gmail.com Tue Aug 11 07:05:18 2009 From: zafiro17 at gmail.com (Randall Wood) Date: Tue Aug 11 07:05:25 2009 Subject: Trying to Install Man Page In-Reply-To: <200908102059.n7AKxha1075178@dc.cis.okstate.edu> References: <200908102059.n7AKxha1075178@dc.cis.okstate.edu> Message-ID: <20090811070423.GA3515@koala> On Mon, Aug 10, 2009 at 03:59:43PM -0500, Martin McCormick wrote: > There is a test man page I am trying to install and the system > is not finding it. I put it in /usr/local/man/man1 and think > I should at least get complaints about the page as it is the > start of a man page, not the whole thing. I named it testpage, > compressed it with gzip and when I type > > man testpage, it just says that there is no manual entry for > testpage. > > Is there a data base I forgot to remake after adding the > page? I did make sure the ownership and permissions are the same > as other pages in the directory. I also did a man on one of the > other pages in that same directory and it came right up. Thank > you. > > Martin McCormick Yes, the program is mandb I think. From kraduk at googlemail.com Tue Aug 11 08:30:52 2009 From: kraduk at googlemail.com (chris scott) Date: Tue Aug 11 08:31:00 2009 Subject: filesystem size after newfs In-Reply-To: References: Message-ID: 2009/8/11 mojo fms > On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal wrote: > > > > > I created this small partition of 512K bytes on disk, I am noticing > > about 24% is used up before system can be mounted and used. My assumption > > was about 4% is supposed to be used if minfree is set to 0. > > > > #newfs -U -l -m 0 -n -o space /dev/ad1d > > /dev/ad1d: 0.5MB (1024 sectors) block size 16384, fragment size 2048 > > using 1 cylinder groups of 0.50MB, 32 blks, 64 inodes with soft updates > > super-block backups (for fsck -b #) at: > > 160 > > #mount /dev/ad1d /test > > #df -H /test > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad1d 391k 2.0k 389k 1% /test > > Could someone explain where the 512-391=121K of disk space went to? > What > > is the relation between this used of space and total paritition size or > is > > it some fixed ratio? > > Thanks & Regards > > Naeem > > _________________________________________________________________ > > Express your personality in color! Preview and select themes for > Hotmail?. > > > > > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_______________________________________________ > > freebsd-questions@freebsd.org< > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_______________________________________________%0Afreebsd-questions@freebsd.org>mailing > list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > 5% to root, and the rest i am assuming file system blocks. Try making the > 512k partition bigger accounting for those things and you should be able to > get it really close to 512k available. > > -- > Who knew > _______________________________________________ > 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" > why do you want something that small? Could you not use an md device or tmpfs, they would probably be more efficient From freebsd at optimis.net Tue Aug 11 10:00:52 2009 From: freebsd at optimis.net (George Davidovich) Date: Tue Aug 11 10:00:59 2009 Subject: Trying to Install Man Page In-Reply-To: <200908102059.n7AKxha1075178@dc.cis.okstate.edu> References: <200908102059.n7AKxha1075178@dc.cis.okstate.edu> Message-ID: <20090811092127.GA31920@marvin.optimis.net> On Mon, Aug 10, 2009 at 03:59:43PM -0500, Martin McCormick wrote: > There is a test man page I am trying to install and the system is not > finding it. I put it in /usr/local/man/man1 and think I should at > least get complaints about the page as it is the start of a man page, > not the whole thing. I named it testpage If your testpage manpage is located in a man1 directory, it has to be named testpage.1 (or gzipped as testpage.1.gz). For a man2 directory, the suffix is .2, and so on. Rename the file and I'm sure things will work fine. > , compressed it with gzip and when I type > > man testpage, it just says that there is no manual entry for testpage. > > Is there a data base I forgot to remake after adding the page? I did > make sure the ownership and permissions are the same as other pages in > the directory. I also did a man on one of the other pages in that same > directory and it came right up. Thank you. >From man(1): By default, man uses manpath(1) (which is built into the man binary) to determine the path to search. This option overrides the MANPATH environment variable. You can read manpath(1) for a full description of how things work (the configuration file used is /etc/manpath.config), but be sure to read man(1) in its entirety if you're going to get in the habit of writing your own manpages. More specifically, it describes the -w or -d options you can use for debugging fun, and the sometimes useful -M option[1]. As a side note, if the manpage is for your own use, I'd suggest using a hierarchy rooted in ~/man instead of /usr/local/man. That can offer numerous[2] benefits. ---------------------- 1. On Linux systems where you've installed FreeBSD manpages to improve your chances of finding more useful information than what's typically provided in the horrible info pages. 2. Aside from portability, it's especially useful on Windows systems where Cygwin is installed, but you're writing manpages for Windows (where the documentation is even more sparse than what's found in info pages, and no less clumsy to use). -- George From jahan at bol-online.com Tue Aug 11 10:04:03 2009 From: jahan at bol-online.com (Aftab Jahan Subedar) Date: Tue Aug 11 10:04:09 2009 Subject: Notice regards to gstreamer/kde4/qt/kdepim etc installation problem Message-ID: Qt === Due to Qt version mismatch, any application referring to the new qt4-xxxxxx libraries not installed automagically hence NOT installing the intended package. You have to deinstall old qt-xxxxx referred libraries manually first. Then everything should work fine. Note that Qt has lots of qt4-xxxxxxx or xxxx-qt4 libraries, so reading the error properly will mostly prevail the info. gstreamer ------------- gstreamer plugins refers to libgstreamer-0.10.so.0 and after installing new gstreamer, got to link the new shared obect with the new one. Doing the following will solve the problem. cd /usr/local/lib ln -s libgstreamer-0.10.so.21 libgstreamer-0.10.so.0 I faced this problem while installing KDE4 on 7.2-STABLE #1: Sat Jun 27 12:05:03 UTC 2009 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST From jahan at bol-online.com Tue Aug 11 10:33:29 2009 From: jahan at bol-online.com (Aftab Jahan Subedar) Date: Tue Aug 11 10:33:36 2009 Subject: Oil installation problem while installing KDE4 Message-ID: need to link liboil-0.3.so.3 to liboil-0.3.so.0, so anyone having problem with this, can do the follwoing ln -s liboil-0.3.so.3 liboil-0.3.so.0 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST From peo at intersonic.se Tue Aug 11 10:48:54 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Tue Aug 11 10:49:04 2009 Subject: Error code 254 Message-ID: <4A814C91.5000909@intersonic.se> ===> Installing documentation in /usr/local/share/doc/pear/XML_Serializer. ===> Installing tests in /usr/local/share/pear/tests/XML_Serializer. ===> Installing examples in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254 What is "Error code 254" ? From mexas at bristol.ac.uk Tue Aug 11 11:54:15 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Aug 11 11:54:22 2009 Subject: graphics/ImageMagick seemingly not using OpenMP In-Reply-To: <4A804863.3050801@strauser.com> References: <4A804863.3050801@strauser.com> Message-ID: <20090811115408.GA70402@mech-cluster241.men.bris.ac.uk> On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote: > On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable > OpenMP for the graphics/ImageMagick port. With the IMAGEMAGICK_OPENMP > option set, I get this from "make configure": > > checking for cc -std=gnu99 option to support OpenMP... (cached) unsupported > checking for cc -std=gnu99 option to support OpenMP... -fopenmp > > If I go on to build it, there's no other mention of OpenMP in the > output. What am I doing wrong? I think the second like shows that OMP is indeed supported. Have you tested on any OMP test? -- 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 martin at dc.cis.okstate.edu Tue Aug 11 12:40:02 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Tue Aug 11 12:40:09 2009 Subject: Trying to Install Man Page Message-ID: <200908111239.n7BCduYf064771@dc.cis.okstate.edu> Randall Wood writes: > Yes, the program is mandb I think. That's exactly what I also thought but there is no such program. I think this may be one of those deprecation cases where the function is now done some other way. I'll keep digging. Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From martin at dc.cis.okstate.edu Tue Aug 11 12:46:30 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Tue Aug 11 12:47:23 2009 Subject: Trying to Install Man Page Message-ID: <200908111246.n7BCkTrs094877@dc.cis.okstate.edu> George Davidovich writes: > If your testpage manpage is located in a man1 directory, it has to be > named testpage.1 (or gzipped as testpage.1.gz). For a man2 directory, > the suffix is .2, and so on. Rename the file and I'm sure things will > work fine. That was it! Thank you. Martin McCormick From af.gourmet at videotron.ca Tue Aug 11 13:14:45 2009 From: af.gourmet at videotron.ca (PJ) Date: Tue Aug 11 13:14:53 2009 Subject: boot sector f*ed Message-ID: <4A816EC9.7070408@videotron.ca> I just finished setting up 7.2 with all my programs installed, configured & working fine with recovered files all working fine and just as I boot up to start backing up everything... WHAM... the boot-up kind-of hobbles and boots up. I am called away from the computer and when I return - goodie, goodie, there is a dump of some 177 mbs and the poor computer is trying to r eboot... but that's it. And the I scan the guilty drive and it's the very first, boot, sector that is Baaaaaad. And the regenerator program doesn't go any further. :-( Other than booting up with livefs and trying to copy everything to another disk, is there something else that I should do? I think it should work if I connect the drive to USB ... But before, I thought I should listen to some sage advice... :-) Anyone? TIA PJ From wmoran at potentialtech.com Tue Aug 11 13:22:20 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Aug 11 13:22:29 2009 Subject: boot sector f*ed In-Reply-To: <4A816EC9.7070408@videotron.ca> References: <4A816EC9.7070408@videotron.ca> Message-ID: <20090811092214.e38fd90c.wmoran@potentialtech.com> In response to PJ : > I just finished setting up 7.2 with all my programs installed, > configured & working fine with recovered files all working fine and just > as I boot up to start backing up everything... WHAM... the boot-up > kind-of hobbles and boots up. > I am called away from the computer and when I return - goodie, goodie, > there is a dump of some 177 mbs and the poor computer is trying to r > eboot... but that's it. And the > I scan the guilty drive and it's the very first, boot, sector that is > Baaaaaad. And the regenerator program doesn't go any further. :-( > Other than booting up with livefs and trying to copy everything to > another disk, is there something else that I should do? > I think it should work if I connect the drive to USB ... > But before, I thought I should listen to some sage advice... :-) > Anyone? TIA I think you've got the right idea. If the drive is funky, get your data off it while you can. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From af.gourmet at videotron.ca Tue Aug 11 13:34:08 2009 From: af.gourmet at videotron.ca (PJ) Date: Tue Aug 11 13:34:16 2009 Subject: boot sector f*ed In-Reply-To: <20090811092214.e38fd90c.wmoran@potentialtech.com> References: <4A816EC9.7070408@videotron.ca> <20090811092214.e38fd90c.wmoran@potentialtech.com> Message-ID: <4A817355.20006@videotron.ca> Bill Moran wrote: > In response to PJ : > > >> I just finished setting up 7.2 with all my programs installed, >> configured & working fine with recovered files all working fine and just >> as I boot up to start backing up everything... WHAM... the boot-up >> kind-of hobbles and boots up. >> I am called away from the computer and when I return - goodie, goodie, >> there is a dump of some 177 mbs and the poor computer is trying to r >> eboot... but that's it. And the >> I scan the guilty drive and it's the very first, boot, sector that is >> Baaaaaad. And the regenerator program doesn't go any further. :-( >> Other than booting up with livefs and trying to copy everything to >> another disk, is there something else that I should do? >> I think it should work if I connect the drive to USB ... >> But before, I thought I should listen to some sage advice... :-) >> Anyone? TIA >> > > I think you've got the right idea. If the drive is funky, get your data > off it while you can. > I've got another disk about the same size on the machine and I'm wonderiing how could I transfer the whole shebang to it? Would doing a minimum 7.2 install be enough, followed by copying all the slices to the corresponding slices on the new disk? I'm thinking of mounting the broken drive on the new one and then copying... does that sound about right? I haven't looked at the broken one yet; I'll have to see what theat 177mg dump was.. -- Andrea Jourdan e-mail: af.gourmet@videotron.ca http://www.chiccantine.com From freebsd at qeng-ho.org Tue Aug 11 13:53:10 2009 From: freebsd at qeng-ho.org (Arthur Chance) Date: Tue Aug 11 13:53:22 2009 Subject: Don't let mergemaster beat you down [was Re: Failed update] In-Reply-To: <1249971512.63923.1045.camel@predator-ii.buffyverse> References: <526027.78512.qm@web51009.mail.re2.yahoo.com> <1249971512.63923.1045.camel@predator-ii.buffyverse> Message-ID: <4A8170D0.8030709@qeng-ho.org> Wayne Sierke wrote: > I lost practically all of my 'mergemaster pain' when I adopted the habit > of using it with -iUP options: > > -i Automatically install any files that do not exist in the des- > tination directory. > -P Preserve files that you replace in > /var/tmp/mergemaster/preserved-files-, or another > directory you specify in your mergemaster rc file. > -U Attempt to auto upgrade files that have not been user modi- > fied. How does -U compare to -F? I've found that saves a lot of tedium. From djuatdelta at gmail.com Tue Aug 11 13:58:10 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue Aug 11 13:58:16 2009 Subject: FreeBSD MATLAB R2008b In-Reply-To: <7CC8BF71-9317-42AB-BA5F-AE8B4494EA57@gmail.com> References: <4A7ED26E.2030306@gmx.net> <7CC8BF71-9317-42AB-BA5F-AE8B4494EA57@gmail.com> Message-ID: Sorry, haven't gotten around to this yet. Will try to this afternoon. On Sunday, August 9, 2009, Daniel Underwood wrote: > Elias, > > I got to a certain point, then temporarily put it aside. ?See, I was installing from a custom install disc, and so I'm not really surprised that the Handbook instructions for installing matlab on freebsd didn't completely help me. > > However, I now have a standard install disc. I plan to retry the install with this new disc. > > I "do" think I encountered java-related errors, but I can't recall the details or whether it's what you're encountering. > > I'll reply to the list here once I attempt the install tomorrow. > > (Sent from my iPhone) > > On Aug 9, 2009, at 9:43 AM, Elias Sch?fer wrote: > > > Hello Daniel, > > I read your post (http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202242.html) and applied your patch. First, it seemed to work (no sse2 complaining) but then I got an Java related error that I could not solve. I have R14 running here, but I need to run a newer version. I am curious if you got MATLAB r2008b working. Do you get a similar error? I am looking for a solution for the past couple of days. > > regards > > Elias > (Aug 08, 2009 21:15:12)MATHWORKS ACTIVATION IS STARTING UP. > (Aug 08, 2009 21:15:13)java.lang.UnsatisfiedLinkError: /usr/home/knick/matlabr2008b/bin/glnx86/libinstutil.so: libstdc++.so.6: cannot handle TLS data > com.mathworks.instutil.NativeUtility.(NativeUtility.java:36) > com.mathworks.instutil.MachineInfo.(MachineInfo.java:40) > com.mathworks.activationclient.model.ActivationModelImpl.loadNativeLib(ActivationModelImpl.java:216) > com.mathworks.activationclient.model.ActivationModelImpl.getMachineInfo(ActivationModelImpl.java:189) > com.mathworks.activationclient.view.ApplicationViewImpl.getMachineInfo(ApplicationViewImpl.java:200) > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) > > (Aug 08, 2009 21:15:13)null > com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) > com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) > com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) > > (Aug 08, 2009 21:15:24)There was an unexpected exception: > > null > > See the log file (/tmp/aws.log) for more details. > > From mexas at bristol.ac.uk Tue Aug 11 14:04:26 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Aug 11 14:04:32 2009 Subject: glxgears on 8.0 current Message-ID: <20090811140414.GA87113@mech-cluster241.men.bris.ac.uk> In many online articles I've seen suggestions to use glxgears to check whether OpenGL is installed correctly. I've libGL-7.4.4 and mesagl-mangled-5.0.2 installed on FreeBSD 8.0-BETA2 ia64 but cannot find glxgears. What am I missing here? -- 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 mexas at bristol.ac.uk Tue Aug 11 14:18:10 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Aug 11 14:18:32 2009 Subject: glxgears on 8.0 current In-Reply-To: <20090811140414.GA87113@mech-cluster241.men.bris.ac.uk> References: <20090811140414.GA87113@mech-cluster241.men.bris.ac.uk> Message-ID: <20090811141805.GB87183@mech-cluster241.men.bris.ac.uk> On Tue, Aug 11, 2009 at 03:04:14PM +0100, Anton Shterenlikht wrote: > In many online articles I've seen suggestions to > use glxgears to check whether OpenGL is installed > correctly. I've > > libGL-7.4.4 and mesagl-mangled-5.0.2 > > installed on > > FreeBSD 8.0-BETA2 ia64 > > but cannot find glxgears. > > What am I missing here? forgot to say that I need to check OpenGL because I have some problems with port science/paraview, which depends on libGL, and probably on mesagl, via VTK. many thanks -- 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 parv at pair.com Tue Aug 11 14:18:22 2009 From: parv at pair.com (parv@pair.com) Date: Tue Aug