Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?
From: Kevin Kinsey k...@daleco.biz Q2: Where on my hard drive are the bytes that tell pkg_add to use ftp.freebsd.org when downloading packages? You mean like inode number, which cylinder No, I am looking for a file name. Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Reinstalling a package
http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit. Q: How do I rebuild and reinstall these applications when they were installed originally via pkg_add -r gnome2? A: pkg_add -r polkit [fails with the message already installed] Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?
On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote: From: Kevin Kinsey k...@daleco.biz Q2: Where on my hard drive are the bytes that tell pkg_add to use ftp.freebsd.org when downloading packages? You mean like inode number, which cylinder No, I am looking for a file name. /usr/src/usr.sbin/pkg_install/add/main.c static char * getpackagesite(void) which constructs URL using ftp.freebsd.org unless PACKAGESITE and PACKAGEROOT are defined. Thank you, Chris HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg_add fails due to 'broken pipe'. Is my system in a consistent state?
--- On Wed, 6/30/10, Yuri Pankov yuri.pan...@gmail.com wrote: /usr/src/usr.sbin/pkg_install/add/main.c static char * getpackagesite(void) which constructs URL using ftp.freebsd.org unless PACKAGESITE and PACKAGEROOT are defined. Perfect, thank you! Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Reinstalling a package
On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz chrisstankev...@yahoo.com wrote: http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit. Q: How do I rebuild and reinstall these applications when they were installed originally via pkg_add -r gnome2? A: pkg_add -r polkit [fails with the message already installed] I have the same problem and asked a while back but got no answer. My Gnome is partially broken because of a stupid libpng and libjpg upgrade and I would like to re-install the whole thing from binary. Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: locale problems with STL (C++)
I see no one in this list knows about that topic. Do someone knows where I can ask? Are there another mailing list more focused on programming problems? Thank you. On 22:02, Sun 20 Jun 10, Ruben Pollan wrote: Hello, I'm new user of FreeBSD, using it as a desktop since a week. I develop an small ncurses tool for manage todo lists[0]. Up to now I just used on GNU/Linux systems. I'm trying to compile it on FreeBSD, my original Makefiles seems to be too linux-like. I manage to compile it[1], but I have some problems with STL. I read that there is a bug on libstdc++ and the locale[2] and gives a segfault, it seems to be still there. I try to compile it with stlport, it compiles without problems and runs without segfault. But don't works with wide characters. I'm using locale to read files encoded on the local charset, like: wifstream file; file.imbue(locale()); file.open(path); ... This code reads wrongly the wide characters. My system locale is: [mes...@blackspot:~]$ echo $LANG es_ES.UTF-8 Am I missing something? I still don't understand well how locale works on C++, it worked well on GNU/Linux. Any suggestion? Thank you. [0] http://cauterized.net/~meskio/tudu/ [1] I have a branch 'freebsd' on the git repository that compiles on freebsd, needs devel/stlport: http://gitorious.org/tudu/tudu [2] http://gcc.gnu.org/ml/libstdc++/2005-04/msg00021.html -- Rubén Pollán | jabber:mes...@jabber.org -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Veo a un Mickey Mouse envejecido con pasamontañas tirando piedras a una oficina de disney al grito, Fui vuestro esclavo desde 1928 y he conquistado para vosotros millones de corazones y ganado billones de dólares, ¡AHORA DEJADME SER LIBRE! pgpcC3DXePuik.pgp Description: PGP signature
Re: Reinstalling a package
Alejandro Imass wrote: On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz chrisstankev...@yahoo.com wrote: http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit. Q: How do I rebuild and reinstall these applications when they were installed originally via pkg_add -r gnome2? A: pkg_add -r polkit [fails with the message already installed] I have the same problem and asked a while back but got no answer. My Gnome is partially broken because of a stupid libpng and libjpg upgrade and I would like to re-install the whole thing from binary. Thank you, Chris To reinstall a package you must first delete it. Do pkg_info | grep pkgname to get its full name. Then pkg_delete fullpkgname them pkg_add -r pkgname ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrading without building and without freebsd-update
I've got two FreeBSD machines on two different networks(and two different locations). One of them is as fast machine (i7-920) while the other one is a Intel Atom. How can I build on the fast machine and use those binaries on the slow one, without mounting /usr/obj using nfs? first I was thinking about creating a dump file on the fast machine and extract that on the slow, but that wont work on a filesystem that is already populated. Would a tarfile work? (how about /libexec/ld-elf.so.1?) -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading without building and without freebsd-update
2010/7/1 Christer Solskogen christer.solsko...@gmail.com I've got two FreeBSD machines on two different networks(and two different locations). One of them is as fast machine (i7-920) while the other one is a Intel Atom. How can I build on the fast machine and use those binaries on the slow one, without mounting /usr/obj using nfs? first I was thinking about creating a dump file on the fast machine and extract that on the slow, but that wont work on a filesystem that is already populated. Would a tarfile work? (how about /libexec/ld-elf.so.1?) -- chs, Hello! I can provide some help at least. I found the page http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that make package creates tgz packages which you can copy over to the slow machine and use pkg_add to install. Commands that might be intresting to read about: make fetch portinstall As I am quiet new to this as well, lets hope someone else can explain how to extract all packages easily (make package seems to work on one single package, portinstall has an option for making packages as it works through the build process whihc can be handy to create all dependencies in one go) and what to think about when building for different architectures (if that is necessary). -- Anders Andersson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg_add
Hi, On 6/30/10 8:00 PM, Mr. Darren wrote: Though this will not be the focus of my question. Lots of ports are being created for FreeBSD and none submitted. I don't know why. My problem arises when trying to install one of these which is put together quite well. pkg_add -r http://site/something.tbz, or pkg_add something.tbz doesn't work for the dependencies. So how do I tell pkg_add to fetch the first pkg from one site and the rest from the main sites? It is available in source but the system is void of pkg's at the moment and with the 1ghz processor and 512mb ram could take quite a while. And the funny part is it will work perfectly if I just place it in ports/multimedia. Assuming the site structure is the same as the FreeBSD ftp structure, as it would be if the remote site is using Tinderbox, you can set the PACKAGESITE and PKG_PATH environment variables. If using csh: setenv PACKAGESITE http://site/All/ setenv PKG_PATH http://site/Latest/ If using sh/bash: export PACKAGESITE=http://site/All/; export PKG_PATH=http://site/Latest/; Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Reinstalling a package
Hi, On 7/1/10 5:28 AM, Alejandro Imass wrote: On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz chrisstankev...@yahoo.com wrote: http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit. Q: How do I rebuild and reinstall these applications when they were installed originally via pkg_add -r gnome2? A: pkg_add -r polkit [fails with the message already installed] I have the same problem and asked a while back but got no answer. My Gnome is partially broken because of a stupid libpng and libjpg upgrade and I would like to re-install the whole thing from binary. If you are going to rebuild libpng and libjpg, you will need to rebuild all ports that depend on those libraries, not just the gnome-specific ports. You might want to have a look at ports-mgmt/portmaster. Also have a look at /usr/ports/UPDATING, entry 20100328 for libpng. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading without building and without freebsd-update
Hi, On 7/1/10 6:48 AM, Anders Andersson wrote: 2010/7/1 Christer Solskogenchrister.solsko...@gmail.com I've got two FreeBSD machines on two different networks(and two different locations). One of them is as fast machine (i7-920) while the other one is a Intel Atom. How can I build on the fast machine and use those binaries on the slow one, without mounting /usr/obj using nfs? first I was thinking about creating a dump file on the fast machine and extract that on the slow, but that wont work on a filesystem that is already populated. Would a tarfile work? (how about /libexec/ld-elf.so.1?) -- chs, Hello! I can provide some help at least. I found the page http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that make package creates tgz packages which you can copy over to the slow machine and use pkg_add to install. This works for ports. The OP is asking about the base system. Commands that might be intresting to read about: make fetch portinstall As I am quiet new to this as well, lets hope someone else can explain how to extract all packages easily (make package seems to work on one single package, portinstall has an option for making packages as it works through the build process whihc can be handy to create all dependencies in one go) and what to think about when building for different architectures (if that is necessary). You could use 'make package-recursive', or have a look at ports-mgmt/tinderbox, which does this by default. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading without building and without freebsd-update
On Thu, Jul 1, 2010 at 1:22 PM, Glen Barber glen.j.bar...@gmail.com wrote: You could use 'make package-recursive', or have a look at ports-mgmt/tinderbox, which does this by default. Or as I do: rsync /usr/ports/packages :) -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Reinstalling a package
On Thu, Jul 1, 2010 at 7:18 AM, Glen Barber glen.j.bar...@gmail.com wrote: Hi, On 7/1/10 5:28 AM, Alejandro Imass wrote: On Thu, Jul 1, 2010 at 2:10 AM, Chris Stankevitz chrisstankev...@yahoo.com wrote: http://lists.freebsd.org/pipermail/freebsd-gnome/2010-June/024394.html In the above post, a FreeBSD GNOME team member recommends rebuilding and reinstalling sysutils/polkit, sysutils/policykit, and sysutils/consolekit. Q: How do I rebuild and reinstall these applications when they were installed originally via pkg_add -r gnome2? A: pkg_add -r polkit [fails with the message already installed] I have the same problem and asked a while back but got no answer. My Gnome is partially broken because of a stupid libpng and libjpg upgrade and I would like to re-install the whole thing from binary. If you are going to rebuild libpng and libjpg, you will need to rebuild all ports that depend on those libraries, not just the gnome-specific ports. You might want to have a look at ports-mgmt/portmaster. Also have a look at /usr/ports/UPDATING, entry 20100328 for libpng. Thanks Glen. I did that, but my Gnome was from binary and I have been unable to find the old png lib and had to forcebly softlink to the png lib, which although works good enough to start Gnome, it's kind-a unstable (icons are broken, Nautilus chokes many times trying to draw the icon files, etc. etc.). So all I want to do is re-install Gnome from binary in the hopes it will install with it, the corresponding png/jpg libs. I am also a bit scared that the binary package will overwrite my newer libs which were updated from ports, with portmaster in fact. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Freebsd update from 7.2p8 to 7.3-RELEASE
Hello, I wanted to know if I could safely update one of my production server from 7.2p8 to 7.3-RELEASE without having to recompile all userland apps installed… ? I am using portmaster and have a couple of hundred ports installed… Thanks for your advise Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i386 wine on amd64 - DRI a lost cause?
On 2010-07-01 15:28:00, Mikle Krutov wrote: Sorry for late-answer, but why are you running wine in jail? May be that's the source of the problem. For me, it was just installed into /usr/local/ as some other program, some 32bit libs were in lib32, and so on. As mentioned, I've tried it in a jail, a plain chroot and also completely unchrooted and unjailed. Wine itself works fine but DRI doesn't. I recently wrote to freebsd-hackers@ and the response wasn't exactly positive. Seems 32-bit DRI is basically expected to fail when talking to a 64-bit kernel. Wine's not the one at fault here. Regards, xw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i386 wine on amd64 - DRI a lost cause?
Sorry for late-answer, but why are you running wine in jail? May be that's the source of the problem. For me, it was just installed into /usr/local/ as some other program, some 32bit libs were in lib32, and so on. 2010/6/25, xorquew...@googlemail.com xorquew...@googlemail.com: On 2010-06-24 18:57:35, Mikle Krutov wrote: You need 32bit libGL and all mesa stuff to have dri with i386 apps on amd64 system. Also i've used http://msnp.ru/file/wine-fbsd64.zip port, not the by-hand-way while using amd64. Worked for me on both radeon and nvidia card. Yes, I have those. Here's a list of all ports installed in the i386 jail (they were built in the jail itself so are definitely 32 bit): bash-4.0.35 The GNU Project's Bourne Again SHell damageproto-1.1.0_2 Damage extension headers dri-7.4.4,2 OpenGL hardware acceleration drivers for the DRI dri2proto-2.1 DRI2 prototype headers expat-2.0.1_1 XML 1.0 parser written in C fixesproto-4.0 Fixes extension headers fontconfig-2.8.0,1 An XML-based font configuration API for X Windows freetype2-2.3.11A free and portable TrueType font rendering engine gettext-0.17_1 GNU gettext package inputproto-1.5.0Input extension headers jpeg-8_1IJG's jpeg compression utilities kbproto-1.0.3 KB extension headers lcms-1.19_1,1 Light Color Management System -- a color management library libGL-7.4.4 OpenGL library that renders using GLX or DRI libGLU-7.4.4OpenGL utility library libICE-1.0.4_1,1Inter Client Exchange library for X11 libSM-1.1.0_1,1 Session Management library for X11 libX11-1.2.1_1,1X11 library libXau-1.0.4Authentication Protocol library for X11 libXdamage-1.1.1X Damage extension library libXdmcp-1.0.2_1X Display Manager Control Protocol library libXext-1.0.5,1 X11 Extension library libXfixes-4.0.3_1 X Fixes extension library libXi-1.2.1,1 X Input extension library libXmu-1.0.4,1 X Miscellaneous Utilities libraries libXpm-3.5.7X Pixmap library libXrender-0.9.4_1 X Render extension library libXt-1.0.5_1 X Toolkit library libXxf86vm-1.0.2X Vidmode Extension libdrm-2.4.12 Userspace interface to kernel Direct Rendering Module servi libglut-7.4.4 OpenGL utility toolkit libiconv-1.13.1_1 A character set conversion library libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions libxcb-1.5 The X protocol C-language Binding (XCB) library libxml2-2.7.6_1 XML parser library for GNOME mesa-demos-7.4.4OpenGL demos distributed with Mesa pkg-config-0.23_1 A utility to retrieve information about installed libraries png-1.2.43 Library for manipulating PNG images renderproto-0.9.3 RenderProto protocol headers wine-1.1.40,1 Microsoft Windows compatibility layer for Unix-like systems xextproto-7.0.5 XExt extension headers xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers xproto-7.0.15 X11 protocol headers This is sort of worrying then: Why am I seeing segfaults? I'd expect to see executable format errors if there were 64 bit binaries being used somewhere rather than straight crashes. Regards, xw -- with best regards, Krutov Mikle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Freebsd update from 7.2p8 to 7.3-RELEASE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2010 12:44:10, bsd wrote: I wanted to know if I could safely update one of my production server from 7.2p8 to 7.3-RELEASE without having to recompile all userland apps installed… ? I am using portmaster and have a couple of hundred ports installed… Yes, this is perfectly fine: so long as the major version number stays the same, you don't need to reinstall all your ports. The FreeBSD project guarantees ABI stability for the shlibs in the base system over the lifetime of a major version. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwskpIACgkQ8Mjk52CukIzcAACfVfyMtMBWGILj8Yxvm007oHZH deUAn0hjdyQmdtOvyNHXa+Cm2KnfNqSK =rsYZ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problems with Policykit in KDE4.3 on Freebsd 8 amd64
Apologies for the cross posting. I recently did a fresh install of Freebsd 8 , amd64. I then added Xorg and KDE (4.3) from the sysinstall packages system. I read about policykit, which seems really cool. I set-up PolicyKit in the KDE systems settings and things worked great (adding USB drives), until I rebooted. Now it doesn't really work. It seems to me that even though KDE saved my settings, it isn't initializing something at boot or login. Does anyone know what needs to be done? Do I need to use kdm? Add a line to rc.conf? I am pretty good at Freebsd but getting KDE4 subsystems working is still a little mysterious. Any and all help appreciated. thanks in advance Mark Moellering m...@msen.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BIND Refusing to Resolve for External Hosts
On 30 June 2010 15:34, Chris Maness ch...@chrismaness.com wrote: On Wed, Jun 30, 2010 at 1:49 AM, krad kra...@googlemail.com wrote: On 29 June 2010 07:20, Chris Maness ch...@chrismaness.com wrote: My named server used to resolve for external hosts. Recently I have noticed that it no longer resolves names for resolvers not on the local host. It works just fine for dig on the dns server itself. It also works for domains that it has authority over. I also have it set up to be a caching server on my network. Has the spec for the config file changed or something? Here is the beginning of the the config file: cat named.conf // $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.2.1 2008/11/25 02:59:29 kensmith Exp $ // // Refer to the named.conf(5) and named(8) man pages, and the documentation // in /usr/share/doc/bind9 for more details. // // If you are going to set up an authoritative server, make sure you // understand the hairy details of how DNS works. Even with // simple mistakes, you can break connectivity for affected parties, // or cause huge amounts of useless Internet traffic. options { // Relative to the chroot directory, if any directory /etc/namedb; pid-file/var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; allow-transfer { 76.238.148.146; }; // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. // listen-on { 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify // an IPv6 address, or the keyword any. // listen-on-v6{ ::1; }; // These zones are already covered by the empty zones listed below. // If you remove the related empty zones below, comment these lines out. disable-empty-zone 255.255.255.255.IN-ADDR.ARPA; disable-empty-zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA; disable-empty-zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA; // In addition to the forwarders clause, you can force your name // server to never initiate queries of its own, but always ask its // forwarders only, by enabling the following line: // // forward only; // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { 127.0.0.1; }; */ /* Modern versions of BIND use a random UDP port for each outgoing query by default in order to dramatically reduce the possibility of cache poisoning. All users are strongly encouraged to utilize this feature, and to configure their firewalls to accommodate it. AS A LAST RESORT in order to get around a restrictive firewall policy you can try enabling the option below. Use of this option will significantly reduce your ability to withstand cache poisoning attacks, and should be avoided if at all possible. Replace N in the example with a number between 49160 and 65530. */ // query-source address * port N; }; // If you enable a local name server, don't forget to enter 127.0.0.1 // first in your /etc/resolv.conf so this server will be queried. // Also, make sure to enable it in /etc/rc.conf. // The traditional root hints mechanism. Use this, OR the slave zones below. zone . { type hint; file named.root; }; /* Slaving the following zones from the root name servers has some significant advantages: 1. Faster local resolution for your users 2. No spurious traffic will be sent from your network to the roots 3. Greater resilience to any potential root server failure/DDoS On the other hand, this method requires more monitoring than the hints file to be sure that an unexpected failure mode has not incapacitated your server. Name servers that are serving a lot of clients will benefit more from this approach than individual hosts. Use with caution. To use this mechanism, uncomment the entries below, and comment the hint zone above. */ /* zone . { type slave; file slave/root.slave; masters { 192.5.5.241;// F.ROOT-SERVERS.NET. }; notify no; }; zone 0.0.127.IN-ADDR.ARPA { type master; file
Re: BIND Refusing to Resolve for External Hosts
Can a sub block of IP address space be used, and if so, what is the wild card? Chris On Wed, Jun 30, 2010 at 7:34 AM, Chris Maness ch...@chrismaness.com wrote: On Wed, Jun 30, 2010 at 1:49 AM, krad kra...@googlemail.com wrote: On 29 June 2010 07:20, Chris Maness ch...@chrismaness.com wrote: My named server used to resolve for external hosts. Recently I have noticed that it no longer resolves names for resolvers not on the local host. It works just fine for dig on the dns server itself. It also works for domains that it has authority over. I also have it set up to be a caching server on my network. Has the spec for the config file changed or something? Here is the beginning of the the config file: cat named.conf // $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.2.1 2008/11/25 02:59:29 kensmith Exp $ // // Refer to the named.conf(5) and named(8) man pages, and the documentation // in /usr/share/doc/bind9 for more details. // // If you are going to set up an authoritative server, make sure you // understand the hairy details of how DNS works. Even with // simple mistakes, you can break connectivity for affected parties, // or cause huge amounts of useless Internet traffic. options { // Relative to the chroot directory, if any directory /etc/namedb; pid-file /var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; allow-transfer { 76.238.148.146; }; // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. // listen-on { 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify // an IPv6 address, or the keyword any. // listen-on-v6 { ::1; }; // These zones are already covered by the empty zones listed below. // If you remove the related empty zones below, comment these lines out. disable-empty-zone 255.255.255.255.IN-ADDR.ARPA; disable-empty-zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA; disable-empty-zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA; // In addition to the forwarders clause, you can force your name // server to never initiate queries of its own, but always ask its // forwarders only, by enabling the following line: // // forward only; // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { 127.0.0.1; }; */ /* Modern versions of BIND use a random UDP port for each outgoing query by default in order to dramatically reduce the possibility of cache poisoning. All users are strongly encouraged to utilize this feature, and to configure their firewalls to accommodate it. AS A LAST RESORT in order to get around a restrictive firewall policy you can try enabling the option below. Use of this option will significantly reduce your ability to withstand cache poisoning attacks, and should be avoided if at all possible. Replace N in the example with a number between 49160 and 65530. */ // query-source address * port N; }; // If you enable a local name server, don't forget to enter 127.0.0.1 // first in your /etc/resolv.conf so this server will be queried. // Also, make sure to enable it in /etc/rc.conf. // The traditional root hints mechanism. Use this, OR the slave zones below. zone . { type hint; file named.root; }; /* Slaving the following zones from the root name servers has some significant advantages: 1. Faster local resolution for your users 2. No spurious traffic will be sent from your network to the roots 3. Greater resilience to any potential root server failure/DDoS On the other hand, this method requires more monitoring than the hints file to be sure that an unexpected failure mode has not incapacitated your server. Name servers that are serving a lot of clients will benefit more from this approach than individual hosts. Use with caution. To use this mechanism, uncomment the entries below, and comment the hint zone above. */ /* zone . { type slave; file slave/root.slave; masters { 192.5.5.241; // F.ROOT-SERVERS.NET. }; notify no; }; zone 0.0.127.IN-ADDR.ARPA { type master; file master/localhost.rev; }; zone in-addr.arpa {
Re: [kde-freebsd] problems with Policykit in KDE4.3 on Freebsd 8 amd64
On Thu, Jul 1, 2010 at 3:23 PM, Mark Moellering m...@msen.com wrote: Apologies for the cross posting. I recently did a fresh install of Freebsd 8 , amd64. I then added Xorg and KDE (4.3) from the sysinstall packages system. I read about policykit, which seems really cool. I set-up PolicyKit in the KDE systems settings and things worked great (adding USB drives), until I rebooted. Now it doesn't really work. It seems to me that even though KDE saved my settings, it isn't initializing something at boot or login. Does anyone know what needs to be done? Do I need to use kdm? Add a line to rc.conf? I am pretty good at Freebsd but getting KDE4 subsystems working is still a little mysterious. hello! a fix for (console|policy)kit related issues was committed two weeks ago. you need to upgrade your kde, and yes, you need to use kdm or gdm to use policykit (there is a howto on http://wiki.freebsd.org/KDE4 - at least i guess... the wiki doesn't work at the moment) -- Alberto Villa, FreeBSD committer avi...@freebsd.org http://people.FreeBSD.org/~avilla ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BIND Refusing to Resolve for External Hosts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2010 15:05:37, Chris Maness wrote: Can a sub block of IP address space be used, and if so, what is the wild card? Yes. You can use lists of IPs or address-and-mask in BIND ACLs. See: http://www.isc.org/files/arm96.html#address_match_lists and http://www.isc.org/files/arm96.html#id2553419 So, for example, I use this in my own BIND configuration: acl public-nets { 127.0.0.1; ::1; 81.187.76.160/29; 81.187.220.164; 2001:8b0:151:1::/64; }; Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwspz4ACgkQ8Mjk52CukIwe+ACfUD9llW6qoIhgNRGYr63gYU87 geAAmwcYudxH5G6YHiYLTmZGlveTOB+6 =ltc+ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
sshd logging with private key authentication
Hi, I've been seeing quite a bit of ssh bruteforce attacks which appear to be dictionary-based. That's fine; I have proper measures in place, such as key-only access, bruteforce tables for pf(4), and so on. What caught my interest is if I attempt to log in from a machine where I do not have my key, I see nothing logged about a failed publickey attempt. If I attempt with an invalid username, as expected, I see 'Invalid user foo from ${IP}.' Is this to be expected? If so, I am curious why. Though I realize an attacker may not be able to see that a user is valid or invalid, might we want to know that a valid username is being used in an attack? (Unless, of course, the valid username is 'john'...) Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommended supported SATA Cards?
On 06/30/2010 04:45 PM, Diego Arias wrote: On Wed, Jun 30, 2010 at 4:33 PM, Robli...@midsummerdream.org wrote: I've seen the SYBA SY-PEX40008, but would prefer to have a PCI-e 4x connector for the bandwidth and avoid a port multiplier if possible. Since this will be in a ZFS pool, I'd prefer not to have 1 bad port take out more than 1 disk. :) I have seen the Sil3124 chipset mentioned before in my searches and wasn't sure of its level of support either so it's nice to know that chipset is well supported. Does the siis driver support offlining and swapping hard disks without rebooting? The Adaptec 1430SA seems to use a Marvell chipset according to some searching of the freebsd archives: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-10/0389.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-11/0441.html http://old.nabble.com/Adaptec-1405-on-FreeBSD-td26337538.html But Adaptec's own site/documentation doesn't want to confirm it for me. The best I've come up with is: http://ask.adaptec.com/scripts/adaptec_tic.cfg/php.exe/enduser/std_adp.php?p_faqid=12177p_created=1098385883p_sid=1tiW_K3kp_accessibility=0p_redirect=p_lva=438p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQ6MSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MjE5LDIxOSZwX3Byb2RzPTQ1JnBfY2F0cz0mcF9wdj0xLjQ1JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfbmwmcF9wYWdlPTE*p_li=p_topview=1 I've found a commit that mentions support for the 1430SA: http://lists.freebsd.org/pipermail/svn-src-stable-8/2009-November/000565.html But I'm not sure what the state of the support is or how stable it is with that driver (looks to be ata?) If the 1430SA uses the Marvell chipset (as it appears to), then I guess the question comes down to the level of support for the Marvell 88SX6541 and 88SX7042 chipsets. Anyone know the current state of functionality for the above Marvell chipsets? Rob On 06/30/2010 09:07 AM, Steve Polyack wrote: On 06/29/10 16:58, Rob wrote: I've been trying to find a PCI-e SATA II (300MB/s) controller card for a FreeBSD 8.0 system, but am having problems determining if FreeBSD 8.0 will support them. Ideally I'd like to find one that is not a HW Raid controller, as I don't need that functionality since I place to use ZFS and the HW Raid on the card just gets in the way. I know that a HighPoint RocketRAID 23x0 (2310, 2320) will work with the htprr driver, but those are HW RAID cards. I've found 'Adaptec 2241000-R 1430SA' and 'Rosewill RC-218' cards, and those are the ones I'm having a hard time telling if FreeBSD supports. Searching of the e-mail archives has given me mixed results and nothing definitive to say that they work. I'm not sure what chipset the Adaptec 2241000-R 1430SA uses, but the Rosewill uses the Marvell 88SX7042 chipset. I'd prefer to use Adaptec if possible as in the past they produced good SCSI boards and used to be well supported (in Linux anyway), but I'll use the Rosewill if it's well supported in FreeBSD. It's also possible Adaptec has taken a hit in support/quality since I last used one of their boards. :) I think the Marvell SATA chipset work is still a work-in-progress. It may still be supported by the ata(4) driver, but that driver typically does not support any SATA-specific features, such as NCQ. Does anyone know if the above boards are supported in FreeBSD? Anyone have any recommendations for PCI-e 4x SATA controllers with a minimum of 4 internal connectors? We use a handful of the SYBA SY-PEX40008 cards (http://www.newegg.com/Product/Product.aspx?Item=N82E16816124027) to manage a handful of drives with ZFS. The cards have some RAID features, but you can simply plug disks in and use them without involving the RAID layer. If your motherboard supports it, you can even disable the Option ROM from showing up on boot. Overall, the performance has been pretty good. The siis(4) driver has full support for the Sil3124 chipset that these use and supports all of the bells whistles like NCQ and FIS-based switching for port multipliers. They have also been very stable. The only gripe for me is that it's only 1x PCI-E, instead of 4x, so you won't get full performance out of it once you have 4 fast drives attached. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Actually 3ware seems to have very good FreeBSD support is that beyond your budget? 3ware as
Sendmail - One Trick Pony
I'd like to set up Sendmail to facilitate e-mail (with attached jpeg) delivery to an internet account from my wireless IP camera. That's all I want it to do, nothing more. I've been a very satisfied FreeBSD user for a few years and am reasonably comfortable with OS and software configuration, but I have literally no knowledge of mail servers or configuring Sendmail. Some people suggest using other programs such as Postfix, but I'd rather get this work with Sendmail. I did install the cyrus-sasl2 port as well as saslauthd, since I thought I might have an authentication problem. Beyond that the only other things I've done are: 1. sendmail_enable=YES in rc.conf 2. (camera's ip address) RELAY in /etc/mail/access I'm seeing my webmail account information (address and relay server) in maillog and when I use sendmail verbose, I see what looks like a successful transaction but the mail never gets delivered. So it would seem that the camera is communication fine with my FreeBSD server, but the mail isn't getting transmitted out to the internet. Any suggestions are appreciated. John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rc.conf: gnome_enable=YES - which instructions executed?
On Wed, 30 Jun 2010 21:10:41 -0700 (PDT), Chris Stankevitz chrisstankev...@yahoo.com wrote: My rc.conf file has this entry: gnome_enable=YES Q: Where on my hard drive can I find the instructions executed to enable GNOME? A: /usr/local/etc/rc.d/gnome [bad answer: file does not exist] gnome_enable is a 'default' option that enables some services that make GNOME desktop experience a bit more useful pleasurable. You can see which services default to YES by running: keram...@kobe:/home/keramida$ cd /usr/local/etc/rc.d keram...@kobe:/usr/local/etc/rc.d$ fgrep -l gnome_enable * avahi-daemon avahi-dnsconfd dbus gdm hald keram...@kobe:/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-unsubscr...@freebsd.org
Automated sysinstall install.cfg
Hello, is there a person who can help me to solve some problems with sysinstall and its install.cfg. How can i manage that my mfsroot executes custom commands ? -- Viele Grüsse aus Menden Thomas Toka Webmaster, Administrator, Webhoster, Gameserverhoster Serverman Webhosting Thomas Toka Droste-Hülshoff-Str. 11 58708 Menden Office: +49 (0) 2373 389140 (Festnetz) Mobil: +49 (0) 171 2772896 (D1) Fax: +49 (0) 2373 389142 (Festnetz) Internet: http://www.serverman.de Steuer-Nummer: DE240010739 Inhaber: Thomas Toka Serverstandort: Newcolo GmbH. Mainzer Landstrasse 351-353, 60326 Frankfurt am Main Die in dieser eMail enthaltenen Informationen sind vertraulich und können von rechtlicher Relevanz sein. Diese Mail ist ausschliesslich für den im Quelltext genannten Empfänger bestimmt und jeglicher Zugriff durch andere Personen ist nicht authorisiert. Falls Sie nicht der rechtmäßige Empfänger sind, ist jegliche Veröffentlichung, Vervielfältigung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umständen strafbar. Sollten Sie diese Mail irrtümlich erhalten haben, leiten Sie diese bitte an webmas...@serverman.de weiter und löschen Ihre Kopien dieser Mail unverzüglich. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee and access to the e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you have received this e-mail in error please forward to webmas...@serverman.de and delete all local copies of this mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Why hda sound device doesn't support pcm as a recording source?
I can't record conversations using my sound card. pcm is just not in the set of sources. Is this a bug or I miss somethig? Audio device loaded with this message: pcm0: HDA Realtek ALC272 PCM #0 Analog at cad 0 nid 1 on hdac0 Trying to set pcm as recording device prints this: $ mixer +rec pcm mixer: unknown recording device: pcm Mixer state is like this: $ mixer Mixer vol is currently set to 61:61 Mixer pcm is currently set to 92:92 Mixer mic is currently set to 68:68 Mixer mix is currently set to 84:84 Mixer rec is currently set to 82:82 Mixer igainis currently set to 87:87 Mixer ogainis currently set to 86:86 Mixer monitor is currently set to 0:0 Recording source: mic 8.0-STABLE Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rc.conf: gnome_enable=YES - which instructions executed?
Date: Wed, 30 Jun 2010 21:10:41 -0700 (PDT) From: Chris Stankevitz chrisstankev...@yahoo.com Subject: rc.conf: gnome_enable=YES - which instructions executed? My rc.conf file has this entry: gnome_enable=YES Q: Where on my hard drive can I find the instructions executed to enable GNOME? A: /usr/local/etc/rc.d/gnome [bad answer: file does not exist] rc.conf is sourced by -every- script in the rc.d directory. cd /etc/rc.d grep gnome_enable * should give some hints. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
java citrix client on seamonkey
I'm trying to access applications on my employer's network via Citrix. I'm using seamonkey as my browser on FreeBSD 7.3 Release. I have installed diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz. and the icedtea6-stubs package. My employer's website for Citrix access facilitates the installation of the Java client for Citrix. When I try to open an application, I get a message stating that I haven't chosen to trust GlobalSign Root CA. I installed the certificates in seamonkey; but I still get the error message. The details of the error are here: x.sdk.jsse.CitrixSSLException: You have not chosen to trust GlobalSign Root CA, the issuer of the server's security certificate. at com.citrix.sdk.jsse.SocketFactory.createSslSocket(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.citrix.client.io.net.ip.proxy.o.a(Unknown Source) at com.citrix.client.io.net.ip.z.a(Unknown Source) at com.citrix.client.io.net.ip.z.a(Unknown Source) at com.citrix.client.module.td.tcp.TCPTransportDriver.s(Unknown Source) at com.citrix.client.module.td.TransportDriver.run(Unknown Source) at java.lang.Thread.run(Thread.java:619) Caused by: javax.net.ssl.SSLHandshakeException: com.citrix.sdk.jsse.i at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107) ... 11 more Caused by: com.citrix.sdk.jsse.i at com.citrix.sdk.jsse.a.a(Unknown Source) at com.citrix.sdk.jsse.a.a(Unknown Source) at com.citrix.sdk.jsse.a.a(Unknown Source) at com.citrix.sdk.jsse.c.checkServerTrusted(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:967) ... 18 more Does this mean the certificate(s) need to be installed somewhere in Java? If so does anyone know how to do this? I had the same problem on Xubuntu 9.10 but success on Xubuntu 10.4 using seamonkey, openjdk and the icedtea plugin. I would have tried using openjdk on FreeBSD; but I didn't know if it would do any good (or cause problems) since icedtea6-stubs requires diablo. Thanks, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fusefs-cryptofs vs fusefs-cryptofs
I use file backed GELI fs in this manner. Of course you can script it yourself, but I find the ez-jail handles my requirements perfectly. Thanks, I'll look into using GELI. I think if I do that, I'll have to mount the file system in the host environment at boot time so that it can prompt for the pass phrase properly, as there really isn't much of a console for each jailed environment. Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@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-unsubscr...@freebsd.org
Newbie Issues With Crashing 8.0 Image
I'm running a FreeBSD 8.0 image in VirtualBox 3.2.4. I use this image as a sandbox environment for testing web apps. I haven't used this image in a couple of months, and during that time, I have updated VirtualBox multiple times. Now, when I start my FreeBSD image, the FreeBSD image crashes within 15 minutes. I see a *bunch* of error messages written to the console, but I'm having issues capturing them. To begin troubleshooting this issue, I would like to see the error messages that are being thrown, but I'm having trouble finding them. I looked in the /var/log directory, but I didn't see any error messages. I checked the following files: * debug.log * dmesg.today * lastlog * messages * pf.today None of these files contain any error messages at all. Where can I go next to troubleshoot this issue? Thanks in advance! Tom Purl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rc.conf: gnome_enable=YES - which instructions executed?
On Wed, 30 Jun 2010 22:03:04 -0700 (PDT) Chris Stankevitz chrisstankev...@yahoo.com wrote: I would like to learn more about how rc operates. I want to know where on the hard drive the instructions are located that activate when I say gnome_enable=YES. I naively thought I would find a file called /usr/local/etc/rc.d/gnome -- but I did not. Something more complicated is going on. So my question is -- how is this working? Normally it works they way you thought it did - this is special case. Mostly *_enable variables are defaulted to NO, but those five scripts set their default from gnome_enable, which in turn is defaulted to NO. By setting gnome_enable=YES you can start all the daemons that Gnome needs without having to know which they are, and without having to keep track of them as Gnome is upgraded. And you can still turn-off things you don't want e.g.: gnome_enable=YES gdm_enable=NO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/boot is full after running make installkernel on FreeBSD 8.0
Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K./tmp/.XIM-unix 33M./usr/bin 18M./usr/include 37M./usr/lib 20M./usr/libexec 267M ./usr/local 20M./usr/sbin 37M./usr/share 511M ./usr/src 450M ./usr/ports 10M./var/db 10M./var 1.7M./etc 1.1M./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M./lib 4.3M./rescue 4.4M./sbin It looks like the both kernels are eating up the entire / Right? What am I doing wrong? The isn't normal, is it? Thank you, Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 8.0 failes to start
hello my os fails to start,this is the error and also my keyboard doesn't work Root mount waiting for: usbus3 Trying to mount root from ufs:/dev/ad2s2a ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw and then remove invalid mount options from /etc/fstab. Loader variables: vfs.root.mountfrom=ufs:/dev/ad0s2a vfs.root.mountfrom.options=rw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Jul 01 11:24, Ed Flecko wrote: Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K ./tmp/.XIM-unix 33M ./usr/bin 18M ./usr/include 37M ./usr/lib 20M ./usr/libexec 267M ./usr/local 20M ./usr/sbin 37M ./usr/share 511M ./usr/src 450M ./usr/ports 10M ./var/db 10M ./var 1.7M ./etc 1.1M ./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M ./lib 4.3M ./rescue 4.4M ./sbin It looks like the both kernels are eating up the entire / Right? What am I doing wrong? The isn't normal, is it? Thank you, Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I've experienced the same thing on amd64 -- the default partition size for root is too small. Rather than going to the trouble of correcting it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make installkernel', and all seems OK. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com pgpj8YPHIDDdA.pgp Description: PGP signature
Re: /boot is full after running make installkernel on FreeBSD 8.0
Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Chip Camden sterl...@camdensoftware.com writes: I've experienced the same thing on amd64 -- the default partition size for root is too small. Rather than going to the trouble of correcting it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make installkernel', and all seems OK. That's a little dangerous, because you're deleting your last known-good kernel. I'd feel better about recommending just removing the unnecessary kernel modules (which for a lot of people, is all of them). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Chip, That sounds like a smart thing to do; can you tell me more about how to do that (or point me to a www resource; I'm happy to read more about that). :-) Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Try rm -r /boot/kernel.old I bet that's the problem. -- James Bailie http://www.mammothcheese.ca -Original Message- From: Ed Flecko edfle...@gmail.com Sender: owner-freebsd-questi...@freebsd.org Date: Thu, 1 Jul 2010 11:24:46 To: freebsd-questions@freebsd.org Subject: /boot is full after running make installkernel on FreeBSD 8.0 Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K./tmp/.XIM-unix 33M./usr/bin 18M./usr/include 37M./usr/lib 20M./usr/libexec 267M ./usr/local 20M./usr/sbin 37M./usr/share 511M ./usr/src 450M ./usr/ports 10M./var/db 10M./var 1.7M./etc 1.1M./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M./lib 4.3M./rescue 4.4M./sbin It looks like the both kernels are eating up the entire / Right? What am I doing wrong? The isn't normal, is it? Thank you, Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Jul 01 15:10, Lowell Gilbert wrote: Chip Camden sterl...@camdensoftware.com writes: I've experienced the same thing on amd64 -- the default partition size for root is too small. Rather than going to the trouble of correcting it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make installkernel', and all seems OK. That's a little dangerous, because you're deleting your last known-good kernel. I'd feel better about recommending just removing the unnecessary kernel modules (which for a lot of people, is all of them). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Could you expand on that? I'd prefer a less risky option, especially because I always get this paralyzing fear that I'll accidentally hit Enter after I've typed 'rm -r /' -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com pgpsdgVN3XSlj.pgp Description: PGP signature
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Jul 01 12:07, Ed Flecko wrote: Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I know *I* will. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com pgpg29YkGipfM.pgp Description: PGP signature
Re: i386 wine on amd64 - DRI a lost cause?
Well, then i do not get why i was albe to play some 3d games on wine with fbsd 8.0 amd64 about when 8.0 was released. Also http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d 2010/7/1, xorquew...@googlemail.com xorquew...@googlemail.com: On 2010-07-01 15:28:00, Mikle Krutov wrote: Sorry for late-answer, but why are you running wine in jail? May be that's the source of the problem. For me, it was just installed into /usr/local/ as some other program, some 32bit libs were in lib32, and so on. As mentioned, I've tried it in a jail, a plain chroot and also completely unchrooted and unjailed. Wine itself works fine but DRI doesn't. I recently wrote to freebsd-hackers@ and the response wasn't exactly positive. Seems 32-bit DRI is basically expected to fail when talking to a 64-bit kernel. Wine's not the one at fault here. Regards, xw -- with best regards, Krutov Mikle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sendmail - One Trick Pony
On Thu, 1 Jul 2010, J wrote: I'd like to set up Sendmail to facilitate e-mail (with attached jpeg) delivery to an internet account from my wireless IP camera. That's all I want it to do, nothing more. I've been a very satisfied FreeBSD user for a few years and am reasonably comfortable with OS and software configuration, but I have literally no knowledge of mail servers or configuring Sendmail. Some people suggest using other programs such as Postfix, but I'd rather get this work with Sendmail. I did install the cyrus-sasl2 port as well as saslauthd, since I thought I might have an authentication problem. Beyond that the only other things I've done are: 1. sendmail_enable=YES in rc.conf 2. (camera's ip address) RELAY in /etc/mail/access I'm seeing my webmail account information (address and relay server) in maillog and when I use sendmail verbose, I see what looks like a successful transaction but the mail never gets delivered. So it would seem that the camera is communication fine with my FreeBSD server, but the mail isn't getting transmitted out to the internet. Probably you need to set SMART_HOST to use your ISP's mail server. As root, # cd /etc/mail # make That will create your hostname.mc file if it's not already there. Locate the SMART_HOST line, remove the dnl to uncomment it, and enter the name of your ISP's mail server. After that, # make all install restart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Chip Camden sterl...@camdensoftware.com writes: On Jul 01 15:10, Lowell Gilbert wrote: Chip Camden sterl...@camdensoftware.com writes: I've experienced the same thing on amd64 -- the default partition size for root is too small. Rather than going to the trouble of correcting it, I just 'rm -r /boot/kernel.old' when it fails and then redo 'make installkernel', and all seems OK. That's a little dangerous, because you're deleting your last known-good kernel. I'd feel better about recommending just removing the unnecessary kernel modules (which for a lot of people, is all of them). Could you expand on that? I'd prefer a less risky option, especially because I always get this paralyzing fear that I'll accidentally hit Enter after I've typed 'rm -r /' A healthy fear, indeed. For one thing, I'd certainly rather have someone do rm /boot/kernel.old/*.ko than rm -r /boot/kernel.old. Being even more selective is an obvious extension... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Chip Camden sterl...@camdensoftware.com writes: On Jul 01 12:07, Ed Flecko wrote: Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed I know *I* will. *Considerably* larger, I would say. The number of different kernel modules is growing all the time, and that's where the expansion is mostly coming from. Or just make one large partition. Not on a server, but I don't see much reason for using multiple partitions on a laptop. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i386 wine on amd64 - DRI a lost cause?
On 2010-07-01 23:37:37, Mikle Krutov wrote: Well, then i do not get why i was albe to play some 3d games on wine with fbsd 8.0 amd64 about when 8.0 was released. Also http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d I don't either. I've tried every possible combination including the contents of that wiki page. I've spoken to people who should know and I get generally disinterested replies along the lines of it probably doesn't work. It's extremely frustrating. Thanks for the responses, anyway. I've pretty much given up at this point. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
A healthy fear, indeed. For one thing, I'd certainly rather have someone do rm /boot/kernel.old/*.ko than rm -r /boot/kernel.old. Being even more selective is an obvious extension... Why not move the old useless kernel to another drive. Sure if the system kernel fails and you need the old one, there is a little bit more work, but nothing that I can't see be solved by: 1. booting from a livecd 2. mount the /boot and /theotherpartition 3. move the kernel back and move the faulty one away 4. reboot That saves you from deleting the entire computer/world/Internet and save the old kernel as well. However, I have never done this myself but the theory sounds good. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Since it would be smart to have at least one known, good kernel, why not make the / partition maybe 1G? I know the smaller the / partition, the better the performance (since it's the first partition of the drive), but I can't imagine a slightly larger / partition would impact performance that much, do you think? Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i386 wine on amd64 - DRI a lost cause?
On Thursday 01 July 2010 14:00:06 xorquew...@googlemail.com wrote: On 2010-07-01 15:28:00, Mikle Krutov wrote: Sorry for late-answer, but why are you running wine in jail? May be that's the source of the problem. For me, it was just installed into /usr/local/ as some other program, some 32bit libs were in lib32, and so on. As mentioned, I've tried it in a jail, a plain chroot and also completely unchrooted and unjailed. Wine itself works fine but DRI doesn't. I recently wrote to freebsd-hackers@ and the response wasn't exactly positive. Seems 32-bit DRI is basically expected to fail when talking to a 64-bit kernel. Wine's not the one at fault here. Have you tried the packages from http://people.freebsd.org/~ivoras/wine/ They worked for me with nvidia and intel. Regards, David signature.asc Description: This is a digitally signed message part.
Re: [kde-freebsd] problems with Policykit in KDE4.3 on Freebsd 8 amd64
On Thu, Jul 1, 2010 at 4:41 PM, Mark Moellering m...@msen.com wrote: Thanks for the response. Is there a newer kde4 package or do I have to compile it? I have compiled it before and it is a very long process... (even on a quad core machine) yes, there are packages for kde 4.4.4 in the 8-stable repository (to change repository, use something like `PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/ pkg_add -r kde4`), but they don't have the fix. you have to wait for 4.4.5 packages, or to build from the ports (you will also get some options for optional dependencies) -- Alberto Villa, FreeBSD committer avi...@freebsd.org http://people.FreeBSD.org/~avilla ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On 1 July 2010 21:12, Ed Flecko edfle...@gmail.com wrote: Since it would be smart to have at least one known, good kernel, why not make the / partition maybe 1G? I know the smaller the / partition, the better the performance (since it's the first partition of the drive), but I can't imagine a slightly larger / partition would impact performance that much, do you think? Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org On ufs installs I tend to have a single 8GB partition for /, I then hang /tmp, /var, /home, and /usr/local off it along with any other fs i need. When doing a zfs root install I obviously dont have to specify the size. However I still tend to put on an 8GB reservation on it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Thu, 01 Jul 2010, Lowell Gilbert wrote: Chip Camden sterl...@camdensoftware.com writes: On Jul 01 12:07, Ed Flecko wrote: Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed I know *I* will. *Considerably* larger, I would say. The number of different kernel modules is growing all the time, and that's where the expansion is mostly coming from. Or just make one large partition. Not on a server, but I don't see much reason for using multiple partitions on a laptop. Multiple partitions still isn't a bad idea if you ever have to fsck and even on a desktop / laptop I usually mount /tmp as noexec. (note: installworld requires exec in /tmp, so you will have to remount /tmp if you use that). Also, it's easier to recover if you can boot single user mode and run a quick fsck on / when it's small. It doesn't happen often, but when it does it's easier. One thing I didn't see is a /home. Is your /home under /usr or /? I have a 8-STABLE system with both kernel and kernel.old and they only take up 520MB or so. I normally make my / 2-4GB and then mount a separate /var (2-10GB depending), /tmp (2-10GB depending) and /usr (15-50gb depending) and /home (the rest) . A separate /home is very nice if you're rebuilding or re-installing you can just not format that partition and all your stuff will still be there. Of course, have backups as well :) Henrik -- Henrik Hudson li...@rhavenn.net - God, root, what is difference? Pitr; UF ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Convert all packages to ports
Hello, I setup my system using packages. I have 675 packages installed and 0 ports installed. Q: Is there a simple way to replace each package with the locally compiled port? Ideally the procedure will not ask me any questions and will leave me with 0 installed packages and 675 installed ports. Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Thu, Jul 01, 2010 at 11:24:46AM -0700, Ed Flecko wrote: Hi folks, I'm running FreeBSD 8.0, and I'm trying to simple stay current with all security patches. It's a clean install of FreeBSD 8.0 on a 50G drive, and I let sysinstall select the default partition configuration when I did the install. I've taken the following steps: # csup -4 /etc/stable-supfile # cd /usr/src # make buildworld # make buildkernel # make installkernel After the make installkernel command, the / partition shows 106% capacity (and it started as 500M). Here's my before and after running make installkernel Before: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M253M203M55%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var After: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a496M485M-29M 106%/ devfs 1.0K1.0K 0B 100%/dev /dev/da0s1e496M 12K456M 0%/tmp /dev/da0s1f 44G3.0G 37G 8%/usr /dev/da0s1d1.9G 10M1.8G 1%/var # cd / # du -h -d2 | grep M 2.0K ./tmp/.XIM-unix 33M ./usr/bin 18M ./usr/include 37M ./usr/lib 20M ./usr/libexec 267M ./usr/local 20M ./usr/sbin 37M ./usr/share 511M ./usr/src 450M ./usr/ports 10M ./var/db 10M ./var 1.7M ./etc 1.1M ./bin 233M ./boot/kernel 233M ./boot/kernel.old 466M ./boot 7.4M ./lib 4.3M ./rescue 4.4M ./sbin It looks like the both kernels are eating up the entire / Right? They are using up about twice the space that two kernels are using on my machine here. What am I doing wrong? The isn't normal, is it? Normal is probably not a very real concept. I get along with with 384MB for my root partition and I have a couple of kernels there. It is running at 92% capacity so I could probably use some more, but shouldn't need over 512 MB, (Tho that isn't 8.xx so I might have to set my sights larger when I get to that). jerry Thank you, Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Thu, Jul 01, 2010 at 12:07:50PM -0700, Ed Flecko wrote: Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Many people find the default partitions inadequate for their needs. It is OK to change them. So, sure. jerry Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Henrik, When I FIRST installed 8.0, I did create a separate /home partition. When I installed the kernel and starting running out of space in / , I thought O.K...I'll let FreeBSD make the partition sizes IT wants to and see if I have the same problem, and I did. Apparently, 512M is just, not, quite big enough so I think I'll try 1G to give me plenty of room. Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
Hi, Chris On 7/1/10 5:23 PM, Chris Stankevitz wrote: Hello, I setup my system using packages. I have 675 packages installed and 0 ports installed. Q: Is there a simple way to replace each package with the locally compiled port? Ideally the procedure will not ask me any questions and will leave me with 0 installed packages and 675 installed ports. You might have a look at ports-mgmt/portmaster. It will prompt you for configuration settings before proceeding with building your ports. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommended supported SATA Cards?
On Thu, 01 Jul 2010, Rob wrote: On 06/30/2010 04:45 PM, Diego Arias wrote: On Wed, Jun 30, 2010 at 4:33 PM, Robli...@midsummerdream.org wrote: I've seen the SYBA SY-PEX40008, but would prefer to have a PCI-e 4x connector for the bandwidth and avoid a port multiplier if possible. Since this will be in a ZFS pool, I'd prefer not to have 1 bad port take out more than 1 disk. :) I have seen the Sil3124 chipset mentioned before in my searches and wasn't sure of its level of support either so it's nice to know that chipset is well supported. Does the siis driver support offlining and swapping hard disks without rebooting? The Adaptec 1430SA seems to use a Marvell chipset according to some searching of the freebsd archives: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-10/0389.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-11/0441.html http://old.nabble.com/Adaptec-1405-on-FreeBSD-td26337538.html But Adaptec's own site/documentation doesn't want to confirm it for me. The best I've come up with is: http://ask.adaptec.com/scripts/adaptec_tic.cfg/php.exe/enduser/std_adp.php?p_faqid=12177p_created=1098385883p_sid=1tiW_K3kp_accessibility=0p_redirect=p_lva=438p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQ6MSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MjE5LDIxOSZwX3Byb2RzPTQ1JnBfY2F0cz0mcF9wdj0xLjQ1JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfbmwmcF9wYWdlPTE*p_li=p_topview=1 I've found a commit that mentions support for the 1430SA: http://lists.freebsd.org/pipermail/svn-src-stable-8/2009-November/000565.html But I'm not sure what the state of the support is or how stable it is with that driver (looks to be ata?) If the 1430SA uses the Marvell chipset (as it appears to), then I guess the question comes down to the level of support for the Marvell 88SX6541 and 88SX7042 chipsets. Anyone know the current state of functionality for the above Marvell chipsets? Rob On 06/30/2010 09:07 AM, Steve Polyack wrote: On 06/29/10 16:58, Rob wrote: I've been trying to find a PCI-e SATA II (300MB/s) controller card for a FreeBSD 8.0 system, but am having problems determining if FreeBSD 8.0 will support them. Ideally I'd like to find one that is not a HW Raid controller, as I don't need that functionality since I place to use ZFS and the HW Raid on the card just gets in the way. I know that a HighPoint RocketRAID 23x0 (2310, 2320) will work with the htprr driver, but those are HW RAID cards. I've found 'Adaptec 2241000-R 1430SA' and 'Rosewill RC-218' cards, and those are the ones I'm having a hard time telling if FreeBSD supports. Searching of the e-mail archives has given me mixed results and nothing definitive to say that they work. I'm not sure what chipset the Adaptec 2241000-R 1430SA uses, but the Rosewill uses the Marvell 88SX7042 chipset. I'd prefer to use Adaptec if possible as in the past they produced good SCSI boards and used to be well supported (in Linux anyway), but I'll use the Rosewill if it's well supported in FreeBSD. It's also possible Adaptec has taken a hit in support/quality since I last used one of their boards. :) I think the Marvell SATA chipset work is still a work-in-progress. It may still be supported by the ata(4) driver, but that driver typically does not support any SATA-specific features, such as NCQ. Does anyone know if the above boards are supported in FreeBSD? Anyone have any recommendations for PCI-e 4x SATA controllers with a minimum of 4 internal connectors? We use a handful of the SYBA SY-PEX40008 cards (http://www.newegg.com/Product/Product.aspx?Item=N82E16816124027) to manage a handful of drives with ZFS. The cards have some RAID features, but you can simply plug disks in and use them without involving the RAID layer. If your motherboard supports it, you can even disable the Option ROM from showing up on boot. Overall, the performance has been pretty good. The siis(4) driver has full support for the Sil3124 chipset that these use and supports all of the bells whistles like NCQ and FIS-based switching for port multipliers. They have also been very stable. The only gripe for me is that it's only 1x PCI-E, instead of 4x, so you won't get full performance out of it once you have 4 fast drives attached. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list
Re: Convert all packages to ports
On 7/1/10 5:31 PM, Glen Barber wrote: Hi, Chris On 7/1/10 5:23 PM, Chris Stankevitz wrote: Hello, I setup my system using packages. I have 675 packages installed and 0 ports installed. Q: Is there a simple way to replace each package with the locally compiled port? Ideally the procedure will not ask me any questions and will leave me with 0 installed packages and 675 installed ports. You might have a look at ports-mgmt/portmaster. It will prompt you for configuration settings before proceeding with building your ports. I just want to add, that this is necessary when upgrading your existing software. Once ports or packages are installed, there is no differentiation to the system. The difference is that packages (installed via pkg_add(1)) are built once, when a new FreeBSD -RELEASE is out. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
--- On Thu, 7/1/10, Glen Barber glen.j.bar...@gmail.com wrote: Once ports or packages are installed, there is no differentiation to the system. Interesting. If this is true, then I can just start upgrading my 'pkg_add' installed packages using ports and eventually they will all be converted over to 'make'. However, your comment seems to be in disagreement with online warnings of do not mix 'pkg_add' packages with 'make' ports. My original question's intention was to prevent me from having a system where some packages were installed with 'pkg_add' while others were installed with 'make'. Thank you, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
Henrik Hudson writes: Or just make one large partition. Not on a server, but I don't see much reason for using multiple partitions on a laptop. Multiple partitions still isn't a bad idea if you ever have to fsck and even on a desktop / laptop I usually mount /tmp as noexec. (note: installworld requires exec in /tmp, so you will have to remount /tmp if you use that). Also, it's easier to recover if you can boot single user mode and run a quick fsck on / when it's small. It doesn't happen often, but when it does it's easier. 1) The preferred backup method uses dump. 2) dump works on entire partitions. 2a) It makes little sense to back up 500 gbytes when all you need to preserve is 5 gbytes. 3) If you regularly need to dump more than a single partition, quite a few people have scripts they will probably be willing to share. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
On 7/1/10 5:58 PM, Chris Stankevitz wrote: --- On Thu, 7/1/10, Glen Barberglen.j.bar...@gmail.com wrote: Once ports or packages are installed, there is no differentiation to the system. Interesting. If this is true, then I can just start upgrading my 'pkg_add' installed packages using ports and eventually they will all be converted over to 'make'. However, your comment seems to be in disagreement with online warnings of do not mix 'pkg_add' packages with 'make' ports. portmaster will deinstall and reinstall (and I believe rollback if something blows up). You are correct - don't mix ports and packages. My original question's intention was to prevent me from having a system where some packages were installed with 'pkg_add' while others were installed with 'make'. portmaster is probably the easiest road to get you there. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fusefs-cryptofs vs fusefs-cryptofs
On Thu, Jul 1, 2010 at 11:14 AM, Tim Gustafson t...@soe.ucsc.edu wrote: I use file backed GELI fs in this manner. Of course you can script it yourself, but I find the ez-jail handles my requirements perfectly. Thanks, I'll look into using GELI. I think if I do that, I'll have to mount the file system in the host environment at boot time so that it can prompt for the pass phrase properly, as there really isn't much of a console for each jailed environment. The ezjail script includes the prompt for password when starting a jail. It prompts from the host console. My backup setup is also a file backed GELI fs mounted over sshfs. That's a manual config outside of ezjail One other thing to note is that performance isn't jaw dropping to say the least, but my setup is VM based and io speed isn't a large concern for me. Your performance results could easily be better than mine. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
--- On Thu, 7/1/10, Chris Stankevitz chrisstankev...@yahoo.com wrote: Q: Is there a simple way to replace each package with the locally compiled port? portmaster -f -a Ideally the procedure will not ask me any questions Be prepared to answer hundreds of options questions. To take the default option you must press TAB, ENTER to each query. Have fun! Chris TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
On 7/1/10 7:27 PM, Chris Stankevitz wrote: --- On Thu, 7/1/10, Chris Stankevitzchrisstankev...@yahoo.com wrote: Q: Is there a simple way to replace each package with the locally compiled port? portmaster -f -a Ideally the procedure will not ask me any questions Be prepared to answer hundreds of options questions. To take the default option you must press TAB, ENTER to each query. Have fun! Chris TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER You can add BATCH=yes in /etc/make.conf, though I don't recall off hand if portmaster looks there - I suspect it does. Ideally sounds like an option to me. [tab][enter] Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: i386 wine on amd64 - DRI a lost cause?
On 2010-07-01 22:16:26, David Naylor wrote: Have you tried the packages from http://people.freebsd.org/~ivoras/wine/ They worked for me with nvidia and intel. Thanks, but as I mentioned in the hackers@ thread (and possibly this one), it's actually DRI that's the problem. I can't even run 32-bit glxinfo reliably in the chroot. libGL often receives EFAULT when doing various ioctls on /dev/dri/card0 and sometimes crashes outright. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bourne .sh ?
I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
Chris == Chris Stankevitz chrisstankev...@yahoo.com writes: Chris Be prepared to answer hundreds of options questions. To take the default option you must press TAB, ENTER to each query. Have fun! Chris Chris Chris TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, Chris ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, ENTER, TAB, Chris ENTER, TAB, ENTER, TAB, ENTER Eh? I just hit the letter O for OK. It's amazing how underdocumented and non-intuitive that interface is. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
--- On Thu, 7/1/10, Randal L. Schwartz mer...@stonehenge.com wrote: Chris Be prepared to answer hundreds of options questions. To take the default option you must press TAB, ENTER to each query. Have fun! I just hit the letter O for OK. Randal, Thank you, pressing O is indeed easier than TAB, ENTER. Unfortunately, I already pressed TAB, ENTER about a hundred times. The build is now going. Hopefully any extra TAB, ENTER sequences I made will be forgotten by portmaster and not used to answer any non-options related questions. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
Chris == Chris Stankevitz chrisstankev...@yahoo.com writes: Chris Thank you, pressing O is indeed easier than TAB, ENTER. Chris Unfortunately, I already pressed TAB, ENTER about a hundred Chris times. The build is now going. Hopefully any extra TAB, ENTER Chris sequences I made will be forgotten by portmaster and not used to Chris answer any non-options related questions. You've probably answered the defaults all the way up to 2012. Hope you enjoy FreeBSD 8.2's defaults. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
Chris Stankevitz wrote: --- On Thu, 7/1/10, Glen Barber glen.j.bar...@gmail.com wrote: Once ports or packages are installed, there is no differentiation to the system. Interesting. If this is true, then I can just start upgrading my 'pkg_add' installed packages using ports and eventually they will all be converted over to 'make'. However, your comment seems to be in disagreement with online warnings of do not mix 'pkg_add' packages with 'make' ports. The ports tree will always be ahead (a bit) of the packages, since the packages take time to build and push out to the FTP servers. You end up with some problems because the system expects version $n.123 of somepackage but the installed somepackage is $n.121, and vice-versa problems can happen as well. They are fairly minor to fix if you've done it much, but can be responsible for a heckuva lot of list traffic. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Convert all packages to ports
On Thu, 1 Jul 2010 14:58:07 -0700 (PDT) Chris Stankevitz chrisstankev...@yahoo.com wrote: --- On Thu, 7/1/10, Glen Barber glen.j.bar...@gmail.com wrote: However, your comment seems to be in disagreement with online warnings of do not mix 'pkg_add' packages with 'make' ports. My original question's intention was to prevent me from having a system where some packages were installed with 'pkg_add' while others were installed with 'make'. There's not a problem with mixing them per se - an installed package is the same whether it created from a port or a package file. Problems arise because the release packages where built against a snapshot of the ports tree made well before the release, so the dependencies can be very different from the current tree. Problems arise when people try to do piecemeal updates from ports, or try to use pkg_add after bringing the system up to date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on FreeBSD 8.0
On Jul 01 12:29, Chip Camden wrote: On Jul 01 12:07, Ed Flecko wrote: Thanks guys. :-) Doesn't that seem odd that the default partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I know *I* will. -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com I've found that if you just rm /boot/kernel.old/*.symbols, you'll have more than enough space. Is that safe enough? -- Sterling (Chip) Camden http://camdensoftware.com | http://chipstips.com | http://chipsquips.com pgp8OM1K20onO.pgp Description: PGP signature
Re: Bourne .sh ?
In article 4c2d2839.3040...@comclark.com you write: I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? sed -e 's/.* //' firstfile secondfile awk '{ print $9}' firstfile secondfile There are far more complicated methods, too. R's, John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bourne .sh ?
I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? By using something like: awk '{print $9}' nameofmyfile (Or whatever column it is, if not the ninth.) Or you can use sed(1). Or cut(1). Or colrm(1)... I'd recommend first reading some of the base system manpages, and tutorials on basic text processing tools and shell programming than can be found in many places on the web, before addressing a lot of questions like this to a FreeBSD-specific list. Regards, b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bourne .sh ?
Chip Camden wrote: On Jul 02 07:43, Aiza wrote: I have a file containing this drwxrwxr-x 14 89987 546 512 Jun 6 2009 7.2-RELEASE drwxrwxr-x 14 89987 546 512 Mar 23 04:59 7.3-RELEASE drwxrwxr-x 13 89987 546 512 Nov 23 2009 8.0-RELEASE drwxrwxr-x 13 89987 546 512 Jul 1 04:56 8.1-RC2 I want to strip off everything to the left of the release version so I end up with this. 7.2-RELEASE 7.3-RELEASE 8.0-RELEASE 8.1-RC2 How would I code to do this? sed -e 's/.* //' file assuming there are no trailing spaces on each line. Another alternative would be to create the list without all that detail: ls -1 Wow do I feel stupid. You saw through my question to the underlying problem causing the need to strip off that stuff. I just changed the command from ls -l to ls -1 and got what I wanted in the first place. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Server cannot boot : mount root got stuck
Fellow FreeBSDians, I am experiencing a problem with my FreeBSD server box. I can't get the system up. when I boot the machine its boots asking for boot options, and going with the default boot option This is an old freeBSD server box with FreeBSD-6.1 then its reaching mount root after that nothing, its stuck on this prompt mount root mount root I didn't do anything, day before yesterday its working.. Yesterday when I tried to login from my desktop , it not allowing me to login through my ssh keys so I checked physically the server and connected a monitor, seeing the boot splash image is garbled with some alphabetic characters.. and tried to reboot, hardware reboot. But it reaching the boot splash image of FreeBSD with boot options displayed, but what ever boot option I select , it not going further, but reboots again to the boot splash image screen. Today morning I just took its hard disk and connected to another box having same specs Then I started the box, with the harddisk of my server ..., then it going after the boot, so I thought issues over... But my bad, this time it comes to a prompt mount root and stuck there.. No key board inputs works in mount root prompt Any hints to recover this issue, most appreciated, and this is a production server , and I want it up as early as possible. Thanks in Advance Dhanesh _ Bollywood This Decade http://entertainment.in.msn.com/bollywoodthisdecade/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Server cannot boot : mount root got stuck
From: dhaneshk k dhanes...@hotmail.com To: freebsd-questions@freebsd.org Sent: Friday, July 2, 2010 12:26:34 AM Subject: Server cannot boot : mount root got stuck Fellow FreeBSDians, I am experiencing a problem with my FreeBSD server box. I can't get the system up. when I boot the machine its boots asking for boot options, and going with the default boot option This is an old freeBSD server box with FreeBSD-6.1 then its reaching mount root after that nothing, its stuck on this prompt mount root mount root I didn't do anything, day before yesterday its working.. Yesterday when I tried to login from my desktop , it not allowing me to login through my ssh keys so I checked physically the server and connected a monitor, seeing the boot splash image is garbled with some alphabetic characters.. and tried to reboot, hardware reboot. But it reaching the boot splash image of FreeBSD with boot options displayed, but what ever boot option I select , it not going further, but reboots again to the boot splash image screen. Today morning I just took its hard disk and connected to another box having same specs Then I started the box, with the harddisk of my server ..., then it going after the boot, so I thought issues over... But my bad, this time it comes to a prompt mount root and stuck there.. When you moved the disk to the other server, the device name probably was changed. When you get a working keyboard, you can use '?' at that prompt to see what devices GEOM knows about or determine it from the boot messages. No key board inputs works in mount root prompt Odd. Are you using a USB keyboard? Any hints to recover this issue, most appreciated, and this is a production server , and I want it up as early as possible. Thanks in Advance Dhanesh _ Bollywood This Decade http://entertainment.in.msn.com/bollywoodthisdecade/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org