ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, I have just completed the first 8.1-RELEASE based build of the 'Custom releases' project hosted here: http://freebsd-custom.wikidot.com At the moment only the 64bit version is available, while a 32bit version is in the works and is expected later on this week. You may download the ISO file immediately using the downloads page: http://freebsd-custom.wikidot.com/downloads-page This release is based on the latest XFCE desktop and includes a wide variety of desktop-related packages, like OpenOffice, abiword, gnumeric, firefox35, gimp, inkscape, evince and so on. The base system is 8.1-RELEASE. A few other small window managers are included like windowmaker, fluxbox and icewm. Make sure to read the README file before installation. Also note that installing linux related packages during initial setup needs a few more steps. This is due to differences in sysinstall between 7.X and 8.X releases. A detailed explanation is provided in the README file. As always, please report any problems, success stories, comments and criticisms to mano...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxWYlIACgkQZ/MxGm4PtJQGuQCfXv2zk1PIsQwHjXcYLYh7OAL8 FPQAn3kNgMwYzUJT/VYU/IQdiqU/xCZr =yqB+ -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
Re: Typical Network Performance
Am 01.08.2010 23:18, schrieb Jason C. Wells: I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex. A 1 MiB file transfers at 146.7 KiB/s via wput. The same file transfers at 91.34 KiB/s via samba. That's less than 1% of available transfer rate. Seems like my transfers are slow. I do better than that when installing via the internet. Does the FTP performance compared to available bandwidth seem right? Is the relative performance of samba to FTP right? I read a couple quick links on the net which said, It's complicated. Thanks, Jason C. Wells ___ 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 Which networkcard is built in? Do you copy via IP oder DNS? Can you ping your PCs with name? ___ 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: fnd cause panic: page fault
On 02/08/2010 05:59, n dhert wrote: Sometimes my FreeBSD8.0-p4 machine does an automatic reboot after panic: page fault. (Fatal trap 12: page fault while in kernel mode) It's at random times. What in general can be the cause of that? Is it always due to hardware memory errors? This is very commonly an indication of hardware problems. Usually memory gone bad. Running memtest86 may help you confirm if you do have bad RAM. Or take out your RAM by halves and see if you can identify a bad stick. What else can be a cause, how to find out ? I have output in /var/crash but don't understand very much of it and don't know where to look to find the cause. please help .. The problem can be due to other causes -- but signal 12 == SIGSYS meaning non existent system call invoked: unless you're a kernel developer, that's quite hard to achieve without bad hardware. Cheers, Matthew signature.asc Description: OpenPGP digital signature
Re: mrtg-2.16.2_6,1 does not run with perl-5.12.1_1
2010/8/2 Jon Theil Nielsen jonth...@gmail.com Hi list After upgrading perl according to UPDATING, I cannot use mrtg anymore. The error message is: Bareword P_DETACH not allowed while strict subs in use at /usr/local/lib/perl5/site_perl/5.12.1/MRTG_lib.pm line 1172. Compilation failed in require at /usr/local/bin/mrtg line 89. BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 89. I filled a PR on this but haven't seen any answers/solutions: http://www.freebsd.org/cgi/query-pr.cgi?pr=148914 Am I the only one having this problem? If the port needs upgrading (as suggested in my PR), but this does not happen, how can I fix it myself? Cheers, Jon -- Jon Theil Nielsen Hi again, Hope I'm not beeing a pain... But I wolud really like to hearing from *anyone* who has upgradeded perl and has mrtg installed. Even if is working whtout problems. So, at least, I know that I have to look for a specific problem on my own server. I forgot to mention that I'm running 8.1 Stable. Cheers, Jon -- Jon Theil Nielsen ___ 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: Sudden refusal to boot with page fault in swapper
On 14/06/10 10:51, Matthew Hambley wrote: My FreeBSD system (amd64, SATA, root on ZFS) has suddenly started refusing to boot up. It crashes out with a page fault just after the ZFS warning that I only have 4GB of RAM. Just to conclude this issue in case anyone searches for it in the future. As suggested elsewhere the problem was indeed the VirtualBox kernel modules. These should not be loaded a boot time but as part of the rc.conf/rc.local procedure. -- (\/)atthew ___ 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: TEKEN_UTF8 TEKEN_XTERM
On Sun, Aug 01, 2010 at 08:56:12AM -0700, Chris Telting wrote: Just wondering if anyone else has played with this? I compiled it into the kernel but the terms are still cons25. The latest I heard, a few months back, from the author was that it's still not working. It must be in the archives somewhere. The advice was to continue using cons25X, where X is your locale. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: mrtg-2.16.2_6,1 does not run with perl-5.12.1_1
On 2010-08-02 10:49, Jon Theil Nielsen wrote: 2010/8/2 Jon Theil Nielsen jonth...@gmail.com Hi list After upgrading perl according to UPDATING, I cannot use mrtg anymore. The error message is: Bareword P_DETACH not allowed while strict subs in use at /usr/local/lib/perl5/site_perl/5.12.1/MRTG_lib.pm line 1172. Compilation failed in require at /usr/local/bin/mrtg line 89. BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 89. I filled a PR on this but haven't seen any answers/solutions: http://www.freebsd.org/cgi/query-pr.cgi?pr=148914 Am I the only one having this problem? If the port needs upgrading (as suggested in my PR), but this does not happen, how can I fix it myself? Cheers, Jon -- Jon Theil Nielsen Hi again, Hope I'm not beeing a pain... But I wolud really like to hearing from *anyone* who has upgradeded perl and has mrtg installed. Even if is working whtout problems. So, at least, I know that I have to look for a specific problem on my own server. I forgot to mention that I'm running 8.1 Stable. Cheers, Jon Hi Jon. You're not alone. :-) I ran into the same issue and it has also been reported on Gentoo (which I use too). The solution is mrtg 2.16.4 and until the ports tree is updated there's a patch here you can apply manually which worked for me: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149016 Regards Morgan ___ 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
Samba PDC roaming profiles problem
Hi, I've setup a LDAP backend Samba PDC. I can gain access to shares and login with a user that is in LDAP, but have a prblem setting up the roaming profile stuff. I've been trying to solve this problem for some time now, and have tried everything I could think of, but without much luck. I keep getting the following error messages: Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Plausible causes of this error include network problem or insufficient security rights. If this problem persists, contact your network administrators. DETAILS - The network path was not found. Followed by: Windows cannot find the local profile and is logging on with a tempory profiles. Changes to this profile will be lost when you logoff. Here is my smb.conf: [global] security = user name resolve order = wins lmhosts hosts bcast deadtime = 15 map to guest = Never csc policy = disable hosts allow = 127. 192.168. server string = workgroup = Nieuwegein time server = yes wins support = yes domain master = yes domain logons = yes encrypt passwords = yes local master = yes logon drive = Z: logon path = \\%L\profiles\%U preferred master = yes os level = 255 encrypt passwords = yes passdb backend = ldapsam:ldap://localhost/ enable privileges = Yes pam password change = yes passwd program = /usr/local/sbin/smbldap-passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated* unix password sync = Yes ldap delete dn = Yes ldap ssl = Off ldap passwd sync = Yes ldap admin dn = cn=admin,dc=specialisterren,dc=nl ldap suffix = dc=specialisterren,dc=nl ldap group suffix = ou=Groups ldap idmap suffix = ou=Users ldap machine suffix = ou=Computers ldap user suffix = ou=Users idmap backend = ldap:ldap://localhost idmap uid = 1-2 idmap gid = 1-2 add user script = /usr/local/sbin/smbldap-useradd -a -m %u delete user script = /usr/local/sbin/smbldap-userdel %u add group script = /usr/local/sbin/smbldap-groupadd -p %g delete group script = /usr/local/sbin/smbldap-groupdel %g add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g delete user from group script = /usr/local/sbin/smbldap-groupmod -x %u %g set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u add machine script = /usr/local/sbin/smbldap-useradd -w %u template homedir = /home/%U template shell = /bin/csh getwd cache = yes socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819 use sendfile = yes mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS log level = 1 log file = /var/log/samba/log.%m max log size = 50 syslog = 0 [template] # edited out, has no path [homes] comment = Home users inherit owner = yes dos filemode = yes writable = yes read list = @wheel @Domain Admins valid users = %S create mask = 0740 directory mask = 0750 aio read size = 16384 [netlogon] comment = Network Logon Service path = /disk/netlogon browseable = no read only = yes aio read size = 16384 [profiles] comment = Roaming Profiles Directory path = /disk/profiles administrative share = true browseable = no writable = yes create mask = 0600 directory mask = 0700 aio read size = 16384 public = yes # The root preexec command performs: # mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a # I started off without this. root preexec = /root/sbin/profiles.sh %U %a # edited out other shares ldapsearch gives me: # tester, Users, specialisterren.nl dn: uid=tester,ou=Users,dc=specialisterren,dc=nl objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount cn: tester sn: tester givenName: tester uid: tester uidNumber: 10005 gidNumber: 513 homeDirectory: /home/tester loginShell: /bin/sh gecos: Tes ter sambaLogonTime: 0 (Edited out the other stuff) I can acces \\Server\profiles, \\Server\netlogon using my tester account. /etc/passwd contains no line with the user tester. And I can login under SSH with the tester account. ll -d /disk/{netlogon,profiles}gives me: drwxr-xr-x 2 root wheel 512 Mar 16 11:09 /disk/netlogon/ drwxrwxrwt 2 root wheel 512 Aug 2 12:41 /disk/profiles/ Alex ___ 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: ICC users compiling FreeBSD
On Sun, Aug 1, 2010 at 5:56 PM, Rui Paulo rpa...@freebsd.org wrote: Hi, I'm looking for people who are using the Intel Compiler to build FreeBSD. Please contact me off list, so I can get a rough estimate on how many people are using it. Regards, -- Rui Paulo ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org besides @current and @stable @questions may also like to know of the progress may be not now, later ___ 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: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?
On Sun, Aug 01, 2010 at 03:54:42PM +0200, Roland Smith wrote: On Tue, Jul 27, 2010 at 10:23:49AM +0100, Anton Shterenlikht wrote: Hi I've HP Compaq 6715s laptop. I'm trying to get wireless working. The laptop has Intel 4965 4965AGN wireless WiFi PCI-E card 802.11N AGN which is supported by iwn(4). I compiled iwn support into the kernel as suggested by the man page. Did you also compile in the correct firmware module? yes, I did From my kernel config file: device iwn device iwnfw and this is from dmesg (verbose boot): % grep iwn /var/run/dmesg.boot firmware: 'iwn6050fw' version 0: 463692 bytes loaded at 0x80a42184 firmware: 'iwn1000fw' version 0: 335056 bytes loaded at 0x808aa884 firmware: 'iwn4965fw' version 0: 187972 bytes loaded at 0x808fc634 firmware: 'iwn5000fw' version 0: 353240 bytes loaded at 0x8092a554 firmware: 'iwn5150fw' version 0: 337400 bytes loaded at 0x80980a04 firmware: 'iwn6000fw' version 0: 454608 bytes loaded at 0x809d30d4 % so the modules are loaded but the device didn't attach. However, the card doesn't appear in dmesg or in pciconf -lv. Hmm. My 5100 AGN is correctly detected and used; i...@pci0:14:0:0: class=0x028000 card=0x12018086 chip=0x42328086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Carte Intel WiFi Link 5100 AGN (Intel WiFi Link 5100)' class = network iwn0: Intel(R) PRO/Wireless 5100 mem 0xf220-0xf2201fff irq 18 at device 0.0 on pci14 iwn0: MIMO 1T2R, MoW, address 00:22:fa:a3:b6:50 iwn0: [ITHREAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M well.. I get nothing: % pciconf -lv|grep iwn % The laptop has a wireless toggle button, which is supposed to enable/disable wireless. There is also an LED, which lights on when wireless is enabled, and goes off when wireless is off. Well, at least this is what should happen. On boot the LED is on. If I press the button to disable wireless, the LED goes off and in dmesg I see: ugen0.2: Broadcom Corp at usbus0 (disconnected) When I switch wireless back on again I see in dmesg: ugen0.2: Broadcom Corp at usbus0 Does this mean that wireless sits on USB bus? I don't think so. I think this is some kind of management interface? I get the same messages when I switch off my 5100 AGN. Does this give me a clue about how to debug the problem further? It puzzles me that it is not seen in the pciconf output. Could it be that the wireless is disabled in the laptop's BIOS? I can't see any wireless BIOS option. I reset to default options, so now the only disabled options are under Device Configurations Swap Fn/Ctrl Keys Disable Fan Always on while on AC Power Disable Windows Vista(TM) Direct App Launch Disable The default options also show under Built-In Device Options: Embedded Bluetooth Device Radio Enable Wake on LAN Enable but these shouldn't really be affecting WLAN. Maybe I should check the connectors on the card. The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Maybe I should have another look at this.. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Typical Network Performance
On Aug 1, 2010, at 11:31 PM, Corey Smith wrote: On Sun, Aug 1, 2010 at 7:30 PM, David Kelly dke...@hiwaay.net wrote: Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by disk data rate. About 60 MB/sec on one end of the disk, more on the other end of the disk. Did you try realtime monitoring your network interface? # route -n get remoteip interface: yourinterface # netstat -I yourinterface -w 1 No. I saw numbers that I was reasonably happy with and didn't pursue further. Do you see errors on the interface? Nope. 60 MB/sec via FTP is about 60% of gigabit and was faster than some disk accesses. # netstat -I yourinterface Another trick to eliminate disk io from the equation is to use nc: machine1 freebsd: # nc -o -l 2000 /dev/null machine2: # dd if=/dev/zero bs=1M count=50 | nc machine1 2000 60 MB/sec was the average over gigabytes of data. Real data. Real network wire. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ 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: BSD logo (a moderate opinion)
On Sun, Aug 01, 2010 at 08:52:32PM -0600, Chad Perrin wrote: On Sat, Jul 31, 2010 at 03:55:11PM +0100, Frank Shute wrote: A pitchfork has 2 tines a trident (which is what Beastie carries) has 3. Actually, pitchforks typically have four. Two would be a fauchard or military fork -- a weapon of war. Tridents, meanwhile, are better suited to fishing, while pitchforks are designed to sling hay on a farm. None of the above have anything to do with devils, per se, though pitchforks are occasionally portrayed in devilish images for some reason. Hay isn't what we slung (slinged, slang ??) with four tined forks. It was something farther along the food processing path well mixed with bedding straw. For hay, you really want a 5 tined fork if you can get it. jerry Interestingly, the trident seems to appear in a number of religions. Shiva carries one: http://en.wikipedia.org/wiki/File:Shiva_cropped.jpg as does Poseidon IIRC. So maybe Beastie is a disabled Hindu! (missing 2 arms). Not all Hindu deities have that many arms, y'know. Ayyappa, Rama, and Krishna come to mind. Maybe he's just among those Hindu deities. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: Setting Debug flag in /etc/make.conf
On Sun, Aug 01, 2010 at 07:28:24AM -0400, Jerry wrote: I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? No. You are assuming every program's Makefile uses WITH_DEBUG that way! The base system doesn't for one. And neither do all ports. To look for yourself, use the following command; find /usr/ports/ -type f -name Makefile -exec grep -H DEBUG {} \; While a lot use WITH_DEBUG, not all ports do, and some use other options, like NODEBUG or DEBUGFLAGS, or DEBUGGING. You'd have to look into the programs in question to see how to enable debugging for those. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpL4HEueUnRI.pgp Description: PGP signature
Re: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?
On Mon, Aug 02, 2010 at 01:36:06PM +0100, Anton Shterenlikht wrote: well.. I get nothing: % pciconf -lv|grep iwn % And if you grep for Intel? The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Wires on a built-in wireless? I don't follow you. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp5Bu4jPbuHo.pgp Description: PGP signature
Re: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?
On Mon, Aug 02, 2010 at 03:49:12PM +0200, Roland Smith wrote: On Mon, Aug 02, 2010 at 01:36:06PM +0100, Anton Shterenlikht wrote: well.. I get nothing: % pciconf -lv|grep iwn % And if you grep for Intel? % pciconf -lv | grep -i intel % The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Wires on a built-in wireless? I don't follow you. sorry, I meant connectors. But I think this is all fine. There are 2 connectors coming from laptop to mini pci-e wireless: they are numbered 1 and 2. There are 3 matching connectors on the wireless device, labeled 1, 2 and 3. So I connect 1 to 1 and 2 to 2. This leaves connector 3 on the wireless device unconnected. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Setting Debug flag in /etc/make.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: On Sun, Aug 01, 2010 at 07:28:24AM -0400, Jerry wrote: I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? No. You are assuming every program's Makefile uses WITH_DEBUG that way! The base system doesn't for one. And neither do all ports. To look for yourself, use the following command; find /usr/ports/ -type f -name Makefile -exec grep -H DEBUG {} \; While a lot use WITH_DEBUG, not all ports do, and some use other options, like NODEBUG or DEBUGFLAGS, or DEBUGGING. You'd have to look into the programs in question to see how to enable debugging for those. Roland WITH_DEBUG has special meaning in the ports infrastructure, and as long as a specific port uses CFLAGS during compilation, it will be compiled with debugging symbols when WITH_DEBUG is enabled. Some ports also check the value of WITH_DEBUG within their own Makefile in order to set port-specific debug build options. See this excerpt from /usr/ports/Mk/bsd.port.mk: # WITH_DEBUG - If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM. # Besides, individual ports might add their specific # to produce binaries for debugging purposes. # You can override the debug flags that are passed to # the compiler by setting DEBUG_FLAGS. It is set to # -g at default. Just put the following in /etc/make.conf and then recompile the ports you want to include debug symbols: WITH_DEBUG= yes Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMVtFn0sRouByUApARAvlbAKDKwV2anUR87ShERsHVsCpidSof5wCgtb8U 27W9F1G2DmKiebrDrgCe+0c= =Xhvf -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
Re: make installworld fails
Caleb Stein caleb.st...@me.com writes: I am trying to update my FreeBSD 8.0 to FreeBSD 8.1. Here is the order I ran the commands in (all as root): cd /usr/src make buildworld make buildkernel shutdown now make installkernel shutdown -r now adjkerntz -i mount -a -t ufs mergemaster -p cd /usr/src make installworld mergemaster reboot But I didn't get to run the last two. When I run make installworld, I get errors telling me that the filesystem is full. Now, I can assure you it is not. Well, basically, what I am asking is why is the filesystem full after installing the new kernel? The number of kernel modules has been increasing quite quickly, and modules are installed with the kernel (by default). This has led to installkernel filling up the root filesystem increasingly often. It just happened to me yesterday, although in that case snapshots and four or five old kernels were part of the problem. Are you *sure* that the filesystem isn't full? Can you show df(1) output? ___ 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: mrtg-2.16.2_6,1 does not run with perl-5.12.1_1
2010/8/2 Morgan Wesström freebsd-questi...@pp.dyndns.biz On 2010-08-02 10:49, Jon Theil Nielsen wrote: 2010/8/2 Jon Theil Nielsen jonth...@gmail.com Hi list After upgrading perl according to UPDATING, I cannot use mrtg anymore. The error message is: Bareword P_DETACH not allowed while strict subs in use at /usr/local/lib/perl5/site_perl/5.12.1/MRTG_lib.pm line 1172. Compilation failed in require at /usr/local/bin/mrtg line 89. BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 89. I filled a PR on this but haven't seen any answers/solutions: http://www.freebsd.org/cgi/query-pr.cgi?pr=148914 Am I the only one having this problem? If the port needs upgrading (as suggested in my PR), but this does not happen, how can I fix it myself? Cheers, Jon -- Jon Theil Nielsen Hi again, Hope I'm not beeing a pain... But I wolud really like to hearing from *anyone* who has upgradeded perl and has mrtg installed. Even if is working whtout problems. So, at least, I know that I have to look for a specific problem on my own server. I forgot to mention that I'm running 8.1 Stable. Cheers, Jon Hi Jon. You're not alone. :-) I ran into the same issue and it has also been reported on Gentoo (which I use too). The solution is mrtg 2.16.4 and until the ports tree is updated there's a patch here you can apply manually which worked for me: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149016 Regards Morgan Hi Morgan, Thanks a lot! I'll try it out as soon as possible. If it worked for you, I guess it will work for me too. Strange, though, that so few people report this problem. Maybe they just live happily with the old perl version. :-) Regards, Jon -- Jon Theil Nielsen ___ 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: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?
On Mon, Aug 02, 2010 at 03:07:40PM +0100, Anton Shterenlikht wrote: The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Wires on a built-in wireless? I don't follow you. sorry, I meant connectors. But I think this is all fine. There are 2 connectors coming from laptop to mini pci-e wireless: they are numbered 1 and 2. There are 3 matching connectors on the wireless device, labeled 1, 2 and 3. So I connect 1 to 1 and 2 to 2. This leaves connector 3 on the wireless device unconnected. As far as I can tell from the pictures, [see http://www.intel.com/network/connectivity/products/wireless/wireless_n/overview.htm] these cards have the following connectors: - PCIe USB on the bottom - 3 coaxial antenna connectors on the other side - two power connections I'm assuming you are talking about the antenna connectors... AFAICT from the product brief, it supports either two or three antennas, so that shouldn't be a problem. Is the card getting power? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpFylEkiD1mA.pgp Description: PGP signature
Re: make installworld fails
On Aug 2, 2010, at 7:34 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Caleb Stein caleb.st...@me.com writes: I am trying to update my FreeBSD 8.0 to FreeBSD 8.1. Here is the order I ran the commands in (all as root): cd /usr/src make buildworld make buildkernel shutdown now make installkernel shutdown -r now adjkerntz -i mount -a -t ufs mergemaster -p cd /usr/src make installworld mergemaster reboot But I didn't get to run the last two. When I run make installworld, I get errors telling me that the filesystem is full. Now, I can assure you it is not. Well, basically, what I am asking is why is the filesystem full after installing the new kernel? The number of kernel modules has been increasing quite quickly, and modules are installed with the kernel (by default). This has led to installkernel filling up the root filesystem increasingly often. It just happened to me yesterday, although in that case snapshots and four or five old kernels were part of the problem. Are you *sure* that the filesystem isn't full? Can you show df(1) output? ___ 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 was wrong, the filesystem was full. I did delete the old kernel modules though, and that fixed the issue. ___ 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: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus?
On Mon, Aug 02, 2010 at 05:03:18PM +0200, Roland Smith wrote: On Mon, Aug 02, 2010 at 03:07:40PM +0100, Anton Shterenlikht wrote: The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Wires on a built-in wireless? I don't follow you. sorry, I meant connectors. But I think this is all fine. There are 2 connectors coming from laptop to mini pci-e wireless: they are numbered 1 and 2. There are 3 matching connectors on the wireless device, labeled 1, 2 and 3. So I connect 1 to 1 and 2 to 2. This leaves connector 3 on the wireless device unconnected. As far as I can tell from the pictures, [see http://www.intel.com/network/connectivity/products/wireless/wireless_n/overview.htm] these cards have the following connectors: - PCIe USB on the bottom - 3 coaxial antenna connectors on the other side - two power connections I'm assuming you are talking about the antenna connectors... AFAICT from the product brief, it supports either two or three antennas, so that shouldn't be a problem. Is the card getting power? How can I check? If the two plated holes at the top left and top right corner are the power connections, then probably yes. I screwed the 2 screws back into their places through these holes after putting the card in place. Maybe the device is just broken. Also, it seems to be a clone of the genuine intel device. It doesn't look exactly like in the above link (instead of the top three chips I have one silver box, but perhaps the Intel pic shows the card with this casing removed). The technical specification from the Intel page mentions an LED. I don't see any LED fire up when the laptop boots or is on. Perhaps this is an evidence for the card being broken. If I plug the old (the one installed in the laptop when I bought it, 2007) Broadcom device instead, it gets detected: no...@pci0:48:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART (Wireless Ethernet Adapter)' class = network (I haven't checked bwi(4) yet, but will do if the Intel card comes to nothing). So to conclude, I'll have to assume that the Intel card is dead, so it seems.. many thanks for your help anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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
Register now for Surge 2010
Registration for Surge Scalability Conference 2010 is open for all attendees! We have an awesome lineup of leaders from across the various communities that support highly scalable architectures, as well as the companies that implement them. Here's a small sampling from our list of speakers: John Allspaw, Etsy Theo Schlossnagle, OmniTI Rasmus Lerdorf, creator of PHP Tom Cook, Facebook Benjamin Black, fast_ip Artur Bergman, Wikia Christopher Brown, Opscode Bryan Cantrill, Joyent Baron Schwartz, Percona Paul Querna, Cloudkick Surge 2010 focuses on real case studies from production environments; the lessons learned from failure and how to re-engineer your way to a successful, highly scalable Internet architecture. The conference takes place at the Tremont Grand Historic Venue on Sept 30 and Oct 1, 2010 in Baltimore, MD. Register now to enjoy the Early Bird discount and guarantee your seat to this year's event! http://omniti.com/surge/2010/register Thanks, -- Jason Dixon OmniTI Computer Consulting, Inc. jdi...@omniti.com 443.325.1357 x.241 ___ 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: make installworld fails
Am Montag, den 02.08.2010, 08:24 -0700 schrieb Caleb Stein: On Aug 2, 2010, at 7:34 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Caleb Stein caleb.st...@me.com writes: I am trying to update my FreeBSD 8.0 to FreeBSD 8.1. Here is the order I ran the commands in (all as root): cd /usr/src make buildworld make buildkernel shutdown now make installkernel shutdown -r now adjkerntz -i mount -a -t ufs mergemaster -p cd /usr/src make installworld mergemaster reboot But I didn't get to run the last two. When I run make installworld, I get errors telling me that the filesystem is full. Now, I can assure you it is not. Well, basically, what I am asking is why is the filesystem full after installing the new kernel? The number of kernel modules has been increasing quite quickly, and modules are installed with the kernel (by default). This has led to installkernel filling up the root filesystem increasingly often. It just happened to me yesterday, although in that case snapshots and four or five old kernels were part of the problem. Are you *sure* that the filesystem isn't full? Can you show df(1) output? ___ 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 was wrong, the filesystem was full. I did delete the old kernel modules though, and that fixed the issue. This might not be a good idea since you might need your old kernel to boot from if anything went wrong with the new one. Probably you built your kernel with debugging symbols turned on, which will make it _much_ bigger (and slower!) Put the following line into your /etc/make.conf INSTALL_NODEBUG=yes and try again. Greetings Peter. ___ 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: Setting Debug flag in /etc/make.conf
___ 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: Is KDE 4.4.5 on FreeBSD 8.1 this bad?
I wrote: Of course making X to run was an exercise in pain, i had to enable HAL and DBUS otherwise keyboard and mouse were not recognized, the data in the xorg.conf were not obeyed, etc. but this was to be expected. The only problem i have now is that i have seen no way to configure the kdm greeter so that the french keyboard is recognized as french, which is inconvenient to type the passwd. For reference the solution i have found is to modify some hald config file this way: cat /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device !-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -- match key=input.product contains=QEMU USB Tablet merge key=input.x11_driver type=stringevdev/merge /match match key=info.capabilities contains=input.tablet match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.x11_driver type=stringevdev/merge /match /match match key=info.capabilities contains=input.keyboard !-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). -- merge key=input.x11_driver type=stringkbd/merge match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.x11_driver type=stringevdev/merge /match merge key=input.x11_options.XkbModel type=stringpc105/merge merge key=input.x11_options.XkbLayout type=stringfr/merge /match /device /deviceinfo The modification is to add the two lines with pc105 and fr at the end which provide a fall back for non Linux systems. Then X starts with a french keyboard and kdm sees it. By the way to start kdm automatically, the solution is in the FreeBSD KDE4 wiki, it is simply to add the following to /etc/rc.conf local_startup=${local_startup} /usr/local/kde4/etc/rc.d kdm4_enable=YES Hope this may help some poor fellow who has not followed the recent modifications to xorg configuration closely, modifications which can be summarized as: Why do it simple when one can do it complex?. -- Michel TALON ___ 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: Setting Debug flag in /etc/make.conf
From owner-freebsd-questi...@freebsd.org Sun Aug 1 06:28:18 2010 Date: Sun, 1 Aug 2010 07:28:24 -0400 From: Jerry freebsd.u...@seibercom.net To: freebsd-questions@freebsd.org Subject: Setting Debug flag in /etc/make.conf I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? I am assuming that I can simply place that flag in the make.conf file. Do I have to also give it a value; i.e =1 or =yes also? What's wrong with the traditional way of doing this -- i.e., setting the environment variable CFLAGS to -g befoe your start make-inthings? ___ 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: Installing 8.1-RELEASE from the memstick
In freebsd-questions Digest, Vol 322, Issue 1, Message: 16 On Sun, 01 Aug 2010 17:29:37 -0400 bdsf...@att.net wrote: On Sat, 31 Jul 2010 05:03:07 -0400, per...@pluto.rain.com wrote: When installing from the 8.1-RELEASE memstick, what is the correct selection for Installation Media? I'm not finding any mention of memstick in the Handbook. It could use a mention. And the problem shown below could use a FAQ entry if it proves too hard to easily fix - it'll keep on coming up. You want USB (assuming you did put the image on an actual memstick and not a CD or some other such oddity), but you may have tried that and had the some problem I was. I just did a memstick install yesterday and it wouldn't let me select USB as the install media, it said not found or something, but stumbled on the simple fix: It actually says, in sysinstall/media.c: - msgConfirm(No USB devices found!); I think it might be helpful to those that this happens to, if it said: + msgConfirm(No USB devices found!\n + (try Options menu: Rescan devices)); or did a once-off auto rescan if it fails the first time, but I haven't delved into the code deeply enough to know how hard that might be. When it comes time to select the media, go to the 'View/Set various installation options' screen instead. Press up-arrow a couple times to get to 'Re-scan devices' and press the space bar. In my case, it happens so quick that it doesn't look like anything actually happens, but it did really do something. Press Q to go back to the install menu, and go ahead to 'Media' and pick USB. It should then say 'Using USB device: da0a'. Indeed, or you can just up-arrow a bit further to the Media selection from there, straight after doing the Rescan devices. You'll see the same issue if you boot from USB memstick and boot into sysinstall to run the Fixit shell; with some non-latest hardware and/or reportedly some brands of USB stick, sysinstall's initial device scan timing misses the da0 device that it just booted off, and this forced rescan becomes necessary. My T23 only does USB 1.1, maybe a factor. Randi said last year that this rescan could take a long time on older hardware, but on my '02 Thinkpad T23 (1133MHz P3-M) it takes less than a second; people with much slower machines are used to waiting a bit :) My first 8.1 install from memstick (last night) actually failed to do anything useful, after slicing, labeling and choosing distributions it missed doing the newfs'ing .. maybe the device rescan reset something? I'm not quite sure what happened, but on the second boot I visited the Options screen, Rescanned devices and selected USB Media first thing; then the install went smoothly from there. What I'd really like to see is a working recipe for making a bootable USB stick, 4GB or more, that sysinstall could use but with the full contents of the release DVD on it. Preferably on a _sliced_ da0 so we could install say 8.1 or 7.3, and/or i386 or amd64 .. HTH, Brian cheers, Ian [PS Randi: sorry, I meant to test and report on this when RC1 arrived, but my T23's charging circuit blew up (smelly smoke) and I've only just bought two more on ebay, one working well, so I'll help/test if I can] ___ 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
USB Hard Drive Dock
I just purchased a setup which will allow me to access IDE and/or SATA drives through a USB port. Of course I was hoping for it to work with FreeBSD and in spite of the reviews which said it needed no Windows drivers as soon as I opened it up there was a CD with the drivers for Windows on it. When I hook this thing up to my FreeBSD server it shows up like this: Jul 31 15:06:29 FreeBSD1 root: Unknown USB device: vendor 0x152d product 0x2338 bus uhub1 Jul 31 15:06:29 FreeBSD1 kernel: usbd_set_config_index: could not read device status: USB_ERR_SHORT_XFER Jul 31 15:06:29 FreeBSD1 kernel: ugen1.2: JMicron at usbus1 Jul 31 15:06:29 FreeBSD1 kernel: umass0: MSC Bulk-Only Transfer on usbus1 Jul 31 15:06:29 FreeBSD1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4000 Jul 31 15:06:30 FreeBSD1 kernel: umass0:0:0:-1: Attached to scbus0 Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Jul 31 15:06:31 FreeBSD1 kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Jul 31 15:06:31 FreeBSD1 kernel: da0: Fixed Direct Access SCSI-2 device Jul 31 15:06:31 FreeBSD1 kernel: da0: 40.000MB/s transfers Jul 31 15:06:31 FreeBSD1 kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) So apparently the FreeBSD server senses when this thing is connected but it cannot see the drive connected to it. BTW - The FreeBSD server only reports anything when I power up the drive on the device. So again I see there might be hope to access it. Of course I cannot mount anything as /dev/da0s1...etc are not there, only /dev/da0. The drive I'm attempting to mount was the main drive in another FreeBSD server I had working. The drive is ok and I can mount it using other methods. But this hot-swap USB method has some advantaged I'd like to use. ___ 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: Samba PDC roaming profiles problem
Alex de Kruijff wrote: Hi, I've setup a LDAP backend Samba PDC. I can gain access to shares and login with a user that is in LDAP, but have a prblem setting up the roaming profile stuff. I've been trying to solve this problem for some time now, and have tried everything I could think of, but without much luck. I keep getting the following error messages: Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Plausible causes of this error include network problem or insufficient security rights. If this problem persists, contact your network administrators. DETAILS - The network path was not found. Followed by: Windows cannot find the local profile and is logging on with a tempory profiles. Changes to this profile will be lost when you logoff. Sorry - but I can't speak to anything about the LDAP setup as I probably don't know enough about it. One thing that strikes me though, is Windows uses DNS SRV records to locate services and populate variables. The naming scheme is fairly convoluted and Windows centric. On a Windows box use network monitor to capture what the box is trying to do. If you see it doing a lot of look ups for SRV records and failing it might be something to investigate. The network monitor version that ships with the desktop will only grab traffic for that particular machine, but is enough for the purpose. The version that comes with the server is able to promiscuously examine all traffic. -Mike ___ 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
Firefox printing
Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else confirm this? (8.1-stable using lpd.) ___ 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 Boot Loader
Hi, I want to update my boot loader based on upgrading to FreeBSD 8.1. I originally installed FreeBSD 8.0 using the zfsinstall utility available at http://mfsbsd.vx.sk/ and so my tank zpool is currently using version 13, whereas my other non-boot zpool is using version 14. After upgrading (via make buildworld buildkernel installkernel installworld) to FreeBSD 8.1, running zpool status tells me: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. I vaguely remember reading that the zfsboot and/or zfsloader need to be updated properly before you upgrade your root zfs pool or the loader won't be able to boot from that partition. So, my question is: how do I update the zfsboot and/or zfsloader to the new version? I've read that bsdlabel can install new boot code, but I'm not sure which one of those files (or both) need to be used. My best guess is that I need to run: bsdlabel -B -b /boot/zfsboot Is that correct? Is there anything else I should do? What's the proper way to roll back in the event that the system becomes unbootable? 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
Re: TexLive on FreeBSD 8.1
Nikola, Sorry to ask, but you mention that the new TeXLive 2010 will be released this summer. Do you know *when exactly* it will be released? I am also hoping that if use either the pretest one, or the official release, that *it*(The install procedure) also setup the paths, otherwise one has to do this manually :( I have an install CD for TeXLive 2009 and it does not have the needed binaries, and I know I can find them in one of your sites, but the process still looks intimidating :( BTW, it would be a blessing, if some kind soul out there, builds packages (texlive-20XY-amd64.tbz or texlive-20XY-i386) that does everything automagically :), but I know that is asking for too much :( The ports system by Romain Tartarian looked nice, but it is *not an official* port and if one takes the ports method, the teteX 3.0 gets installed (it is not bad, but quite old :( and no updates to fix security issues ) The binaries that you provide one still has to do a great deal of work, if one could script it? unless of course waiting for TeXLive 2010 does all of this for us(including setting the path set path=/usr/local/texlive20XY/bin automagically :) I don't know what to do, since Roland, yourself and Anh provided nice responses. I originally had FreeBSD 6.X on one of my machines with TeTeX , kile, and it was working beautifully but then a hard drive failure put me out of business :( I guess I should be patient, I see that time is ticking and with patience one can get more things done. Regards, Antonio On 7/25/10, Nikola Lečić nikola.le...@anthesphoria.net wrote: On Sat, 24 Jul 2010 19:51:55 + Antonio Olivares olivares14...@gmail.com wrote: [...] Don't want to add insult to injury or offend anyone, I just want to see how installing texlive on FreeBSD can be made easier? TeX Live 2010 will support FreeBSD (i386 and amd64). It will work out of the box for FreeBSD 7 and 8. The TL development tree is frozen now and the release will be out during summer. If you can't wait, you can use TeX Live 2010 pretest, it's pretty stable and most likely identical to the release: http://tug.org/texlive/pretest.html If you need binaries for FreeBSD=6, please visit these pages: http://anthesphoria.net/FreeBSD/TeXLive-Devel/bin-r19416/ (r19416 is TL2010 build). A reply to all people that wrote about how big TL is: TeX Live is a _distribution_, not a single piece of software. It has its own package manager, tlpkg. You can use it to remove anything you don't need after install. The TL installer supports installing various schemes. If you need a minimal TeX, you can choose scheme minimal, it's actually much smaller than teTeX. Please read TL Guide, it's very useful and can answer all your questions: http://www.tug.org/texlive/doc/texlive-en/ Best wishes, -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B ___ 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 Boot Loader
02.08.2010 21:49, Tim Gustafson написав(ла): Hi, I want to update my boot loader based on upgrading to FreeBSD 8.1. I originally installed FreeBSD 8.0 using the zfsinstall utility available at http://mfsbsd.vx.sk/ and so my tank zpool is currently using version 13, whereas my other non-boot zpool is using version 14. After upgrading (via make buildworld buildkernel installkernel installworld) to FreeBSD 8.1, running zpool status tells me: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. I vaguely remember reading that the zfsboot and/or zfsloader need to be updated properly before you upgrade your root zfs pool or the loader won't be able to boot from that partition. So, my question is: how do I update the zfsboot and/or zfsloader to the new version? I've read that bsdlabel can install new boot code, but I'm not sure which one of those files (or both) need to be used. My best guess is that I need to run: bsdlabel -B -b /boot/zfsboot Is that correct? Is there anything else I should do? What's the proper way to roll back in the event that the system becomes unbootable? Nope. Read http://www.mail-archive.com/freebsd-sta...@freebsd.org/msg103917.html You need the dd sequence. And you need to do that on exported pool. -- Sphinx of black quartz judge my vow. ___ 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 Boot Loader
Nope. Read http://www.mail-archive.com/freebsd-sta...@freebsd.org/msg103917.html You need the dd sequence. And you need to do that on exported pool. So, just to be clear, I need to boot off a USB key (which will then allow me to write to ad8 and ad10, my two boot zpool devices), and then: dd if=/boot/zfsboot of=/dev/ad8 bs=512 count=1 dd if=/boot/zfsboot of=/dev/ad10 bs=512 count=1 dd if=/boot/zfsboot of=/dev/ad8 bs=512 skip=1 seek=1024 dd if=/boot/zfsboot of=/dev/ad10 bs=512 skip=1 seek=1024 And that assumes that I copy the newly-compiled zfsboot to the USB key after creating it, correct? 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
Re: Upgrading Boot Loader
02.08.2010 22:11, Tim Gustafson wrote: Nope. Read http://www.mail-archive.com/freebsd-sta...@freebsd.org/msg103917.html You need the dd sequence. And you need to do that on exported pool. So, just to be clear, I need to boot off a USB key (which will then allow me to write to ad8 and ad10, my two boot zpool devices), and then: dd if=/boot/zfsboot of=/dev/ad8 bs=512 count=1 dd if=/boot/zfsboot of=/dev/ad10 bs=512 count=1 dd if=/boot/zfsboot of=/dev/ad8 bs=512 skip=1 seek=1024 dd if=/boot/zfsboot of=/dev/ad10 bs=512 skip=1 seek=1024 And that assumes that I copy the newly-compiled zfsboot to the USB key after creating it, correct? Yes. PS: I've just recently changed my mind and moved from dedicated vdevs to gpart. This gives possibility of: 1. Having raw swap partition suitable for swapping/dumping. 2. Updating bootcode online without loosing uptime. Just in expense of some kilobytes of disk space. -- Sphinx of black quartz judge my vow. ___ 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: TexLive on FreeBSD 8.1
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Mon, 2 Aug 2010 18:54:43 + Antonio Olivares olivares14...@gmail.com wrote: Sorry to ask, but you mention that the new TeXLive 2010 will be released this summer. Do you know *when exactly* it will be released? TeX Live and FreeBSD share the same principle: a release will be out when it is ready. No deadlines: http://tug.org/pipermail/tex-live/2010-July/026779.html TL2010 pretest is currently at the stage of final testings. I am also hoping that if use either the pretest one, or the official release, that *it*(The install procedure) also setup the paths, otherwise one has to do this manually :( [...] Ok, so you would like an installation procedure without need to change PATH and other env vars and without installing binaries manually? The following comes to mind (unfortunately, you must deinstall all traces of teTeX from FreeBSD ports first, but I think you can easily maintain a teTeX-free installation): (1) download TL2010 pretest tree: rsync -a --delete --exclude=mactex* rsync://ftp.cstug.cz/pub/tex/local/tlpretest . (don't forget the final dot) (2) run ./install-tl -gui (you'll need x11-toolkits/p5-Tk for GUI) (3) find the last option, Create symlinks in system directories (which is no by default) and click Change; in the small window, check create symlinks in standard directories. (4) Click Install TeX Live. That's all. You'll have FreeBSD binaries; no need to change PATH since all TL binaries, manpages, etc. will be linked from /usr/local/bin/ etc. Hope this helps, - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) iJwEAQEDAAYFAkxXGiIACgkQ/MM/0rYIoZjMAwQAgxBnnjY7FFSwBnClOf8Ktn1C KF2Jx4Q8osgXJ9Z7GyudXqGDC3y3LvmnYDTpGilm39kUuIuxNohidkD46iyz79QO n0LM6ewrDW4pd76JikKH5v1cDmUq/6dnOxaGe/H/95Br79vsQQbXErkHO9s+mHAt YY0nCAaS2tT/3s740WA= =JoRc -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
Re: Upgrading Boot Loader
PS: I've just recently changed my mind and moved from dedicated vdevs to gpart. This gives possibility of: 1. Having raw swap partition suitable for swapping/dumping. 2. Updating bootcode online without loosing uptime. Just in expense of some kilobytes of disk space. I too am using gpart to partition the drives: ad8 and ad10 are partitioned using gpart. I'm attaching the output of gpart list to this e-mail. Is there an easier/better way to upgrade the boot loader with gpart partitions? Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@soe.ucsc.edu 831-459-5354Geom name: ad8 fwheads: 16 fwsectors: 63 last: 1953525134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ad8p1 Mediasize: 65536 (64K) Sectorsize: 512 Mode: r0w0e0 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: ad8p2 Mediasize: 17179869184 (16G) Sectorsize: 512 Mode: r1w1e1 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 17179869184 offset: 82944 type: freebsd-swap index: 2 end: 33554593 start: 162 3. Name: ad8p3 Mediasize: 983024916992 (916G) Sectorsize: 512 Mode: r1w1e1 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 983024916992 offset: 17179952128 type: freebsd-zfs index: 3 end: 1953525134 start: 33554594 Consumers: 1. Name: ad8 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r2w2e4 Geom name: ad10 fwheads: 16 fwsectors: 63 last: 1953525134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ad10p1 Mediasize: 65536 (64K) Sectorsize: 512 Mode: r0w0e0 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: ad10p2 Mediasize: 17179869184 (16G) Sectorsize: 512 Mode: r0w0e0 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 17179869184 offset: 82944 type: freebsd-swap index: 2 end: 33554593 start: 162 3. Name: ad10p3 Mediasize: 983024916992 (916G) Sectorsize: 512 Mode: r1w1e1 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 983024916992 offset: 17179952128 type: freebsd-zfs index: 3 end: 1953525134 start: 33554594 Consumers: 1. Name: ad10 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e2 ___ 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
ZFS boot with two disks
I'm wanting to set up a simple home file server and basic dev box with FreeBSD. I have two 500GB disks that I want to put in it, one of which is empty after cleaning up. I hope to use gpt and zfs for the disks, but I'm unsure about some parts. A lot of the stuff referring to booting doesn't mention concating disks(I'll take my risks) for root. I do want the second disk bootable as a fixit disk. For a fixit disk, is it better to use UFS or use ZFS for consistency? If I use two pools, one for booting and the other for data, how much of the system needs to be on the booting pool? I'm hoping to set up the disks before putting into the new computer, so will adding the second disk's space to the pool cause any problems? Everything I've looked at talks about single disk booting or using a raid just for data storage, so this seems to be a lesser used approach. And finally, would it just be better to stick with tried and true UFS with the MBR or are the benefits good enough? ___ 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
8.1 jail - traceroute not working (allow_raw_sockets: 1)
Hello fellas, my system is a 8.0 release with 1 jail. I have set security.jail.allow_raw_sockets: 1 and I can do ping but traceroute is still spitting our errors: dns# traceroute yahoo.com traceroute: Warning: yahoo.com has multiple addresses; using 72.30.2.43 traceroute: findsaddr: write: No such process Apparently, it looks up the IP but then it fails to continue. I was reading there was (or maybe there still is) some bug. I believe it is still active on 7.1 ( http://lists.freebsd.org/pipermail/freebsd-bugs/2009-October/036866.html ) any thoughts ? ___ 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 Boot Loader
02.08.2010 22:29, Tim Gustafson написав(ла): PS: I've just recently changed my mind and moved from dedicated vdevs to gpart. This gives possibility of: 1. Having raw swap partition suitable for swapping/dumping. 2. Updating bootcode online without loosing uptime. Just in expense of some kilobytes of disk space. I too am using gpart to partition the drives: ad8 and ad10 are partitioned using gpart. I'm attaching the output of gpart list to this e-mail. Is there an easier/better way to upgrade the boot loader with gpart partitions? Then you have no need in zfsboot, you shoud use gptzfsboot instead. gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad8 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 This will install Protective MBR to first disk sector and bootcode to first partition. You can backup them just-in-case or update one disk and try to boot from it leaving second as the known to work solution. -- Sphinx of black quartz judge my vow. ___ 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: Firefox printing
On Mon, 2 Aug 2010 12:36:58 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else confirm this? (8.1-stable using lpd.) Warren, I was fighting this problem over the weekend. I have a network printer. I did a debug on the core dump and there was a some kind of cups library involved. I have WITHOUT_CUPS=YES in make.conf. I checked the installed ports and saw that cups-client was installed. I removed it and was able to print. YMMV Robert ___ 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: Samba PDC roaming profiles problem
On 2 August 2010 21:32, Alex de Kruijff al...@specialisterren.nl wrote: Hi, I've setup a LDAP backend Samba PDC. I can gain access to shares and login with a user that is in LDAP, but have a prblem setting up the roaming profile stuff. I've been trying to solve this problem for some time now, and have tried everything I could think of, but without much luck. I keep getting the following error messages: Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Plausible causes of this error include network problem or insufficient security rights. If this problem persists, contact your network administrators. DETAILS - The network path was not found. Followed by: Windows cannot find the local profile and is logging on with a tempory profiles. Changes to this profile will be lost when you logoff. Here is my smb.conf: [global] security = user name resolve order = wins lmhosts hosts bcast deadtime = 15 map to guest = Never csc policy = disable hosts allow = 127. 192.168. server string = workgroup = Nieuwegein time server = yes wins support = yes domain master = yes domain logons = yes encrypt passwords = yes local master = yes logon drive = Z: logon path = \\%L\profiles\%U preferred master = yes os level = 255 encrypt passwords = yes passdb backend = ldapsam:ldap://localhost/ enable privileges = Yes pam password change = yes passwd program = /usr/local/sbin/smbldap-passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated* unix password sync = Yes ldap delete dn = Yes ldap ssl = Off ldap passwd sync = Yes ldap admin dn = cn=admin,dc=specialisterren,dc=nl ldap suffix = dc=specialisterren,dc=nl ldap group suffix = ou=Groups ldap idmap suffix = ou=Users ldap machine suffix = ou=Computers ldap user suffix = ou=Users idmap backend = ldap:ldap://localhost idmap uid = 1-2 idmap gid = 1-2 add user script = /usr/local/sbin/smbldap-useradd -a -m %u delete user script = /usr/local/sbin/smbldap-userdel %u add group script = /usr/local/sbin/smbldap-groupadd -p %g delete group script = /usr/local/sbin/smbldap-groupdel %g add user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g delete user from group script = /usr/local/sbin/smbldap-groupmod -x %u %g set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u add machine script = /usr/local/sbin/smbldap-useradd -w %u template homedir = /home/%U template shell = /bin/csh getwd cache = yes socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819 use sendfile = yes mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS log level = 1 log file = /var/log/samba/log.%m max log size = 50 syslog = 0 [template] # edited out, has no path [homes] comment = Home users inherit owner = yes dos filemode = yes writable = yes read list = @wheel @Domain Admins valid users = %S create mask = 0740 directory mask = 0750 aio read size = 16384 [netlogon] comment = Network Logon Service path = /disk/netlogon browseable = no read only = yes aio read size = 16384 [profiles] comment = Roaming Profiles Directory path = /disk/profiles administrative share = true browseable = no writable = yes create mask = 0600 directory mask = 0700 aio read size = 16384 public = yes # The root preexec command performs: # mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a # I started off without this. root preexec = /root/sbin/profiles.sh %U %a # edited out other shares ldapsearch gives me: # tester, Users, specialisterren.nl dn: uid=tester,ou=Users,dc=specialisterren,dc=nl objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount cn: tester sn: tester givenName: tester uid: tester uidNumber: 10005 gidNumber: 513 homeDirectory: /home/tester loginShell: /bin/sh gecos: Tes ter sambaLogonTime: 0 (Edited out the other stuff) I can acces \\Server\profiles, \\Server\netlogon using my tester account. /etc/passwd contains no line with the user tester. And I can login under SSH with the tester account. ll -d /disk/{netlogon,profiles}gives me: drwxr-xr-x 2 root wheel 512 Mar 16 11:09 /disk/netlogon/ drwxrwxrwt 2 root wheel 512 Aug 2 12:41 /disk/profiles/ Alex ___ freebsd-questions@freebsd.org mailing list
[sterl...@camdensoftware.com: Re: Firefox printing]
Quoth Warren Block on Monday, 02 August 2010: Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else=20 confirm this? (8.1-stable using lpd.) Works fine here, but I'm using cups (8.1-stable, firefox 3.6.8,1, amd64) FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE #23: Sun Aug 1 10:41:36 PDT 2010 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS amd64 firefox-3.6.8,1 =3D up-to-date with port=20 -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgp5otb0hwdVI.pgp Description: PGP signature
Re: Firefox printing
On Mon, 2 Aug 2010, Robert wrote: On Mon, 2 Aug 2010 12:36:58 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else confirm this? (8.1-stable using lpd.) Warren, I was fighting this problem over the weekend. I have a network printer. I did a debug on the core dump and there was a some kind of cups library involved. I have WITHOUT_CUPS=YES in make.conf. I checked the installed ports and saw that cups-client was installed. I removed it and was able to print. That works! It does leave a long list of ports that are convinced they need cups-client to work, but that's probably something that needs to be fixed by rebuilding them without CUPS anyway. 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
How to confirm/deny ntp is working?
Hi folks, I've read several different sources on setting up ntp on FreeBSD (I'm using 8.1), and they seem to vary a little, so I'm confused about how DO you set this up, and how do you confirm/deny that it's working? I've modified my /etc/ntp.conf file by commenting out: #server 0.freebsd.pool.ntp.org iburst maxpoll 9 #server 1.freebsd.pool.ntp.org iburst maxpoll 9 #server 2.freebsd.pool.ntp.org iburst maxpoll 9 #server 3.freebsd.pool.ntp.org iburst maxpoll 9 and changing them to read (I'm in the U.S.): server 0.US.pool.ntp.org iburst maxpoll 9 server 1.US.pool.ntp.org iburst maxpoll 9 server 2.US.pool.ntp.org iburst maxpoll 9 I have confirmed that I can ping these servers. I've added ntpd_enable=YES and ntpd_sync_on_start=YES to /etc/rc.conf and rebooted the server. 1.) Do I need to manually create the driftfile (/var/db/ntpd.drift)? 2.) Do I need to manually create the logfile (/var/log/ntp.log)? 3.) How do you confirm that FreeeBSD is, in fact, keeping time? 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
Re: How to confirm/deny ntp is working?
02.08.2010 23:23, Ed Flecko wrote: 1.) Do I need to manually create the driftfile (/var/db/ntpd.drift)? Nope. 2.) Do I need to manually create the logfile (/var/log/ntp.log)? Nope. 3.) How do you confirm that FreeeBSD is, in fact, keeping time? pgrep ntp ntpq -p echo daily_status_ntpd_enable=yes /etc/periodic.conf -- Sphinx of black quartz judge my vow. ___ 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: Firefox printing
On Mon, Aug 02, 2010 at 12:36:58PM -0600, Warren Block wrote: Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else confirm this? (8.1-stable using lpd.) I'm using firefox-3.6.8,1 linked with cups-client-1.4.4 on 8.1-RELEASE amd64 using CUPS, and I can preview without problems. Printing to file or printer also works normally. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpiHPxoSqtnB.pgp Description: PGP signature
Re: How to confirm/deny ntp is working?
you may want add to your ntpd.conf: driftfile /your/drift logfile /your/log to confirm, you can change your system date, and see wether it comes back to normal Samuel Martín Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE Nobody wants to say how this works. Maybe nobody knows ... Xorg.conf(5) On Mon, Aug 2, 2010 at 10:23 PM, Ed Flecko edfle...@gmail.com wrote: Hi folks, I've read several different sources on setting up ntp on FreeBSD (I'm using 8.1), and they seem to vary a little, so I'm confused about how DO you set this up, and how do you confirm/deny that it's working? I've modified my /etc/ntp.conf file by commenting out: #server 0.freebsd.pool.ntp.org iburst maxpoll 9 #server 1.freebsd.pool.ntp.org iburst maxpoll 9 #server 2.freebsd.pool.ntp.org iburst maxpoll 9 #server 3.freebsd.pool.ntp.org iburst maxpoll 9 and changing them to read (I'm in the U.S.): server 0.US.pool.ntp.org iburst maxpoll 9 server 1.US.pool.ntp.org iburst maxpoll 9 server 2.US.pool.ntp.org iburst maxpoll 9 I have confirmed that I can ping these servers. I've added ntpd_enable=YES and ntpd_sync_on_start=YES to /etc/rc.conf and rebooted the server. 1.) Do I need to manually create the driftfile (/var/db/ntpd.drift)? 2.) Do I need to manually create the logfile (/var/log/ntp.log)? 3.) How do you confirm that FreeeBSD is, in fact, keeping time? 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: Upgrading Boot Loader
On 02/08/2010 20:29:41, Tim Gustafson wrote: PS: I've just recently changed my mind and moved from dedicated vdevs to gpart. This gives possibility of: 1. Having raw swap partition suitable for swapping/dumping. 2. Updating bootcode online without loosing uptime. Just in expense of some kilobytes of disk space. I too am using gpart to partition the drives: ad8 and ad10 are partitioned using gpart. I'm attaching the output of gpart list to this e-mail. Is there an easier/better way to upgrade the boot loader with gpart partitions? Step 5 from: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror All you need is some bootable media with the latest gptzfsloader -- either 8.1-RELEASE or a recent 8.1-STABLE or 9-CURRENT snapshot. 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 signature.asc Description: OpenPGP digital signature
Re: Firefox printing
On Mon, 2 Aug 2010 22:32:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Mon, Aug 02, 2010 at 12:36:58PM -0600, Warren Block wrote: Firefox 3.6.8,1 coredumps on print preview or print. Can anyone else confirm this? (8.1-stable using lpd.) I'm using firefox-3.6.8,1 linked with cups-client-1.4.4 on 8.1-RELEASE amd64 using CUPS, and I can preview without problems. Printing to file or printer also works normally. Roland The problem seems to manifest itself when not using CUPS (using lpd). Somewhere during one of the latest portmaster -r foo upgrades cups-client was installed. As Warren said, there are ports that need to be updated without cups. Robert ___ 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: USB Hard Drive Dock
On Mon, Aug 02, 2010 at 10:18:46AM -0700, Bill Tillman wrote: I just purchased a setup which will allow me to access IDE and/or SATA drives through a USB port. Of course I was hoping for it to work with FreeBSD and in spite of the reviews which said it needed no Windows drivers as soon as I opened it up there was a CD with the drivers for Windows on it. Take a look at the Windows driver, especially the .INF files that come with it. Sometimes this gives you interesting info. It may also help to add the ID of this particular chip to the list in the umass driver. Maybe it also needs some quirks, as some other chips do. So apparently the FreeBSD server senses when this thing is connected but it cannot see the drive connected to it. BTW - The FreeBSD server only reports anything when I power up the drive on the device. So again I see there might be hope to access it. With multi-card readers it sometimes helps to touch(1) the device node. Have you tried that? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpbpIhoo3YkS.pgp Description: PGP signature
Re: How to confirm/deny ntp is working?
Ed == Ed Flecko edfle...@gmail.com writes: Ed and changing them to read (I'm in the U.S.): Ed server 0.US.pool.ntp.org iburst maxpoll 9 Ed server 1.US.pool.ntp.org iburst maxpoll 9 Ed server 2.US.pool.ntp.org iburst maxpoll 9 I believe this is no longer necessary, and in fact, discouraged. The pool.ntp.org servers have some geolocation built in, so the stock version will automatically find and balance load on the existing NTP servers. -- 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: Upgrading Boot Loader
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad8 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 When I run this, I get: r...@foo: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 ad10 has bootcode Does that mean it was successful, or that no change was made? 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
Re: Upgrading Boot Loader
02.08.2010 23:53, Tim Gustafson wrote: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad8 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 When I run this, I get: r...@foo: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 ad10 has bootcode Does that mean it was successful, or that no change was made? Successfull. -- Sphinx of black quartz judge my vow. ___ 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 Boot Loader
Does that mean it was successful, or that no change was made? Successful. Awesome, thanks! 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
Re: Gnome theme and window preferences not completely honored
Hi, Just for the records: an upgrade on x11-wm/metacity (I'm running 2.30.1 right now) solved the focus problems in gnome. Cheers, Antonio On 23/07/2010 11:36, Antonio Vieiro wrote: Hi, I'm running 8.1-RC2 (metacity 2.30.1) and focus-follows-mouse simply doesn't work. I think this is a metactity bug or something, maybe this is related: https://bugzilla.gnome.org/show_bug.cgi?id=155450 Any workaround to have focus-follows-mouse again would be greatly appreciated, as I hate cliking on windows to focus them. Cheers, Antonio On 13/07/2010 23:26, Willoughby, Steve wrote: I'm running FreeBSD 8.1-RC1 with Gnome 2.30.0 and am having a strange issue where I can set almost everything about the desktop appearance using the theme settings and the preferences tool, except the window decorations never change (internal icons, colors, etc, do) and things like focus-follows-mouse don't appear to be honored by the window manager. Going into the gconf editor shows that, for example, apps.metacity.general.focus_mode=sloppy, but I still have to click to type. I am probably missing something simple and obvious here, but I'm not spotting it yet. What can I look for next? 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 ___ 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: How to confirm/deny ntp is working?
On Mon, August 2, 2010 1:23 pm, Ed Flecko wrote: 3.) How do you confirm that FreeeBSD is, in fact, keeping time? Run ntpq, then type peers at the prompt. You should see some peers listed. If ntp's been running for a while, one of them should have an asterisk next to it (this is the one with which the system is currently synchronizing) and the offset column should show a fairly small number, usually within +/- 100 ms. For example, here's the output from my machine: remote refid st t when poll reach delay offset jitter == +cheezum.mattnor 24.56.178.1402 u 803 1024 377 79.195 -39.637 7.575 *dione.cbane.org 66.220.9.122 2 u 844 1024 377 34.034 -41.063 8.513 LOCAL(0).LOCL. 10 l 45 64 3770.0000.000 0.004 ___ 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 Boot Loader
Volodymyr == Volodymyr Kostyrko c.kw...@gmail.com writes: Volodymyr 02.08.2010 23:53, Tim Gustafson wrote: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad8 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 When I run this, I get: r...@foo: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 ad10 has bootcode Does that mean it was successful, or that no change was made? Volodymyr Successfull. I looked for that text in geom (which is linked to gpart, I think), and didn't find it, or I'd be submitting a patch. But ad10 has bootcode should really say something that makes it clearer so this question doesn't come up again. I know *I* had this question too. Maybe new ad10 bootcode successfully installed or something. -- 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: How to confirm/deny ntp is working?
Randal L. Schwartz wrote: Ed == Ed Flecko edfle...@gmail.com writes: Ed and changing them to read (I'm in the U.S.): Ed server 0.US.pool.ntp.org iburst maxpoll 9 Ed server 1.US.pool.ntp.org iburst maxpoll 9 Ed server 2.US.pool.ntp.org iburst maxpoll 9 I believe this is no longer necessary, and in fact, discouraged. The pool.ntp.org servers have some geolocation built in, so the stock version will automatically find and balance load on the existing NTP servers. Do we need to ping someone @freebsd.org about it then, say, kensm...@? Just c'suped to 8 recently; mergemaster gave me a new ntp.conf and this is the exact stuff in there ;-) 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: How to confirm/deny ntp is working?
Kevin == Kevin Kinsey k...@daleco.biz writes: Kevin Do we need to ping someone @freebsd.org about it then, say, kensm...@? Kevin Just c'suped to 8 recently; mergemaster gave me a new ntp.conf and Kevin this is the exact stuff in there ;-) Uh, why. Looks like the Right Thing is already in there: server 0.freebsd.pool.ntp.org iburst maxpoll 9 server 1.freebsd.pool.ntp.org iburst maxpoll 9 server 2.freebsd.pool.ntp.org iburst maxpoll 9 #server 3.freebsd.pool.ntp.org iburst maxpoll 9 This conforms with: http://www.pool.ntp.org/en/vendors.html specifically: Get your vendor zone To allow you to use the pool as the default time service in your application, we will set you up with special hostnames, for example 1.vendor.pool.ntp.org, 2.vendor.pool.ntp.org and 3.vendor.pool.ntp.org. You must absolutely not use the default pool.ntp.org zone names as the default configuration in your application or appliance. You can apply for a vendor zone here on the site. So the problem is that the original poster changed it *away* from the freebsd subdomains to the *us* subdomains. This is neither necessary nor advised. That's what I was complaining about. -- 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: How to confirm/deny ntp is working?
On Mon, 2 Aug 2010 22:33:16 +0200 Samuel Martín Moro faus...@gmail.com wrote: you may want add to your ntpd.conf: driftfile /your/drift logfile /your/log They have perfectly good defaults. ___ 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: USB Hard Drive Dock
--- On Mon, 8/2/10, Roland Smith rsm...@xs4all.nl wrote: From: Roland Smith rsm...@xs4all.nl Subject: Re: USB Hard Drive Dock To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Monday, August 2, 2010, 3:42 PM On Mon, Aug 02, 2010 at 10:18:46AM -0700, Bill Tillman wrote: I just purchased a setup which will allow me to access IDE and/or SATA drives through a USB port. Of course I was hoping for it to work with FreeBSD and in spite of the reviews which said it needed no Windows drivers as soon as I opened it up there was a CD with the drivers for Windows on it. Take a look at the Windows driver, especially the .INF files that come with it. Sometimes this gives you interesting info. It may also help to add the ID of this particular chip to the list in the umass driver. Maybe it also needs some quirks, as some other chips do. So apparently the FreeBSD server senses when this thing is connected but it cannot see the drive connected to it. BTW - The FreeBSD server only reports anything when I power up the drive on the device. So again I see there might be hope to access it. With multi-card readers it sometimes helps to touch(1) the device node. Have you tried that? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) I will give the drivers on the CD the once over as you suggest. I'm curious about the touch command you recommend. By that do you mean I should # touch /dev/da0s1 or # touch /dev/da0s1a...f I didn't know that the newer versions of FreeBSD would allow you to write in /dev folder. ___ 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
Fwd: USB Hard Drive Dock
This went off-list, which was not my intention. -- ryan Begin forwarded message: From: Ryan Coleman ryan.cole...@cwis.biz Date: August 2, 2010 2:47:48 PM CDT To: Bill Tillman btillma...@yahoo.com Subject: Re: USB Hard Drive Dock Bill, I am not sure I follow what you're saying? FreeBSD will not discover a hard drive like this on a hot swap (just connecting the drive to the bridge while plugged in via USB -- in fact that could kill your USB bridge if you don't do it right - a risk in ANY hot swap attempt). If you disconnect the USB, then connect a drive, then reconnect the USB does it find your drive? If so, that's your route. I don't know if *anyone* on this list would recommend you do a traditional hot swap like what you've described. Unless the case if you have a lot of money to spend on replacing PCI USB bridges or motherboards. -- Ryan On Aug 2, 2010, at 12:18 PM, Bill Tillman wrote: I just purchased a setup which will allow me to access IDE and/or SATA drives through a USB port. Of course I was hoping for it to work with FreeBSD and in spite of the reviews which said it needed no Windows drivers as soon as I opened it up there was a CD with the drivers for Windows on it. When I hook this thing up to my FreeBSD server it shows up like this: Jul 31 15:06:29 FreeBSD1 root: Unknown USB device: vendor 0x152d product 0x2338 bus uhub1 Jul 31 15:06:29 FreeBSD1 kernel: usbd_set_config_index: could not read device status: USB_ERR_SHORT_XFER Jul 31 15:06:29 FreeBSD1 kernel: ugen1.2: JMicron at usbus1 Jul 31 15:06:29 FreeBSD1 kernel: umass0: MSC Bulk-Only Transfer on usbus1 Jul 31 15:06:29 FreeBSD1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4000 Jul 31 15:06:30 FreeBSD1 kernel: umass0:0:0:-1: Attached to scbus0 Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Jul 31 15:06:31 FreeBSD1 kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Jul 31 15:06:31 FreeBSD1 kernel: da0:Fixed Direct Access SCSI-2 device Jul 31 15:06:31 FreeBSD1 kernel: da0: 40.000MB/s transfers Jul 31 15:06:31 FreeBSD1 kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition Jul 31 15:06:31 FreeBSD1 kernel: (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) So apparently the FreeBSD server senses when this thing is connected but it cannot see the drive connected to it. BTW - The FreeBSD server only reports anything when I power up the drive on the device. So again I see there might be hope to access it. Of course I cannot mount anything as /dev/da0s1...etc are not there, only /dev/da0. The drive I'm attempting to mount was the main drive in another FreeBSD server I had working. The drive is ok and I can mount it using other methods. But this hot-swap USB method has some advantaged I'd like to use. ___ 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
how to find my memory size?
hi,all: which one is the memory size?And what's the meaning of these three variable? hw.physmem: 2138476544 hw.usermem: 1886236672 hw.realmem: 2147430400 ___ 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: Setting Debug flag in /etc/make.conf
Robert Bonomi bon...@mail.r-bonomi.com writes: I have been having problems with several different programs lately. Would there be any serious drawback to simply setting: WITH_DEBUG= in the /etc/make.conf file to force everything I build/rebuild to be built with debug symbols? I am assuming that I can simply place that flag in the make.conf file. Do I have to also give it a value; i.e =1 or =yes also? What's wrong with the traditional way of doing this -- i.e., setting the environment variable CFLAGS to -g befoe your start make-inthings? Because you need to define empty STRIP, too. OTOH, setting WITH_DEBUG or DEBUG_FLAGS does this for you. ___ 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: TEKEN_UTF8 TEKEN_XTERM
Chris Telting christopher...@telting.org writes: Just wondering if anyone else has played with this? I compiled it into the kernel but the terms are still cons25. I think you need to change `cons25' to `xterm' in /etc/ttys, too. ___ 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: how to find my memory size?
On 8/3/10, Jason lisen1...@gmail.com wrote: hi,all: which one is the memory size? This would depend on what you want to find out, the total memory, the amount available to the system and what is allocated for the user? And what's the meaning of these three variable? hw.physmem: 2138476544 The physical memory available to the system after removing sharing like a video card taking up some memory. hw.usermem: 1886236672 The memory available/allocated for the user(yourself) hw.realmem: 2147430400 The total amount of memory (not including sharing, like video card) Hope this helps. Please correct me if I am wrong, but that is the way I interpret the results :) Regards, Antonio ___ 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: How to confirm/deny ntp is working?
On 2010-08-02 22:31, Volodymyr Kostyrko wrote: 02.08.2010 23:23, Ed Flecko wrote: 1.) Do I need to manually create the driftfile (/var/db/ntpd.drift)? Nope. 2.) Do I need to manually create the logfile (/var/log/ntp.log)? Nope. 3.) How do you confirm that FreeeBSD is, in fact, keeping time? pgrep ntp ntpq -p echo daily_status_ntpd_enable=yes /etc/periodic.conf Shouoldn't it be YES and so that it do not overwrite your present file? echo daily_status_ntpd_enable=YES /etc/periodic.conf /Leslie ___ 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: How to confirm/deny ntp is working?
03.08.2010 07:28, Leslie Jensen wrote: Shouoldn't it be YES and so that it do not overwrite your present file? echo daily_status_ntpd_enable=YES /etc/periodic.conf Really it doesn't matter about quotes or letter case since this is just simple shell file. But yes, sorry for incorrect redirect. -- Sphinx of black quartz judge my vow. ___ 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