Re: 7.0 installation, and Xorg in particular
Frank Staals wrote: Freminlins wrote: snip Err, yeah. Look through hundreds of packages to see which dependencies they have. Helpful. Not. This way of doing X11 is seriously unhelpful to end users. If having individual packages for everything is so good, please tell me why everything in /bin, /usr/bin and so on is not an individual package. It's because the idea of doing so is dumb. Frem. Allthough I think the modular approach to Xorg is a good thing, I have to agree the xorg-meta port installs A LOT of ports. A xorg-lite port an xorg-lite port would be usefull for a user who is planning on installing a low-end X windows environment. I thought I read at the freebsd-ports list such thing was being worked on some time ago. But I haven't heard anything about it anymore for quite some time now. What happened to that idea ? I suppose because it's not needed: # cd /usr/ports/x11/xorg # make config-recursive will allow you to make all your choices. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for suggestions: multiple users on the same desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: but I don't want to logout and login back in and/or have to invoke the app from the cmd line (i.e. xhost +; setenv DISPLAY :0; app cmd line)... I am looking for a way to make it so I can launch apps from a desktop panel and/or icon on the desktop and make it ask what user to run it under (or somehow or another make it aware that not everything is to be ruin as aryeh) Even though not very flexible or elegant (in the long run) what I ended up doing was just sticking a backgrounded gnome-panel into the .cshrc for each acct - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUUQB358R5LPuPvsRAjDzAKCjg+kh4WXmIS6A+TQiw1wYOQbwDgCbBSYd 3v5Q+O+7CPH2+aPnG7qh/qk= =hCFf -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Schedule
Hi, I saw that someone updated the schedule pages for FBSD-7: Thank you!!! David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD7 - PAE and nVidia
Hi, I have googled, looked though the mailing archives and the FreeBSD Handbook but I have not found out how to build a PAE FreeBSD kernel with nVidia graphics drivers included. This is for an Asus P5N-E system with 4GB of RAM and SLI graphics cards. Any help will be greatly appreciated. Thanks in advance David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named.conf - unable to set control bit
On Fri, November 30, 2007 20:11, David Robillard wrote: Hi list, I have got the following issue. I have added the following settings in named.conf but am unable to get it working. If I read the man page it seems that what I have put in is completely correct. REason to put it in is that I want the DHCP server to automatically update the DNS zone. the error I get is: Nov 30 14:09:31 hulk named[6848]: reloading configuration failed: failure Nov 30 14:09:45 hulk named[6848]: /etc/namedb/named.conf:20: expected 'allow' near ';' Nov 30 14:09:45 hulk named[6848]: reloading configuration failed: unexpected token head -n 25 /etc/named/named.conf # generated with dnssec-keygen -a HMAC-MD5 -b 128 -n USER DHCP_UPDATER key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; secret hashedstring==; }; acl home {10.202.77.0/24;127.0.0.1;}; options { // Relative to the chroot directory, if any directory /etc/namedb; pid-file/var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; allow-query {home; }; }; controls { inet 127.0.0.1 port 953; allow { 127.0.0.1;10.202.77.110; } keys { DHCP_UPDATER; }; }; Line 20 is where controls start. Any help much appreciated. rgds, Patrick Patrick, When you update your named.conf file, make sure you run a syntax check before (re)starting named. Here's how you do it: named-checkconf /path/to/your/named.conf echo $? Thanks for the command. If echo returns zero, then you're good to go. Otherwise, fix whatever problem is displayed. In your case, you need to remove one semi-colomn (;) to fix your problem. Here's what your control statement should look like: controls { inet 127.0.0.1 port 953 allow { 127.0.0.1;10.202.77.110; } keys { DHCP_UPDATER; }; }; Ok. I was in the impression that the inet line had to be a seperate line. Changing it on one line and removing the ; solved it for me. Thanks Cheers, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD7 - PAE and nVidia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Naylor wrote: Hi, I have googled, looked though the mailing archives and the FreeBSD Handbook but I have not found out how to build a PAE FreeBSD kernel with nVidia graphics drivers included. This is for an Asus P5N-E system with 4GB of RAM and SLI graphics cards. - From my experience PAE is ok for 4GB but over it stuff get weird... I use amd64 with the nv driver - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUVDl358R5LPuPvsRAqHqAJ9qb74cuN3vqCVIv5v7Ju0g0giTcQCfcvbT XP1KNhpnVQ16r+bkySuK5wg= =3jbA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD7 - PAE and nVidia
On Saturday 01 December 2007, David Naylor wrote: I have googled, looked though the mailing archives and the FreeBSD Handbook but I have not found out how to build a PAE FreeBSD kernel with nVidia graphics drivers included. This is for an Asus P5N-E system with 4GB of RAM and SLI graphics cards. PAE is not supported by the nvidia driver. I quote from pkg-message.in: Note that this driver does not support PAE-enabled kernels. - Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the point of the shell choice in single user mode?
On Sat, Dec 01, 2007 at 04:44:27AM +, John Murphy wrote: I've just successfully done the world and kernel upgrade from 7 beta2 to beta3. I've always had a mergemaster phobia, but it didn't seem too bad this time. I thought I'd broken it after choosing /bin/tcsh as my shell in single user mode. It grumbled about termcap (I think) and then gave me a simple shell with a % prompt. fsck and mount were unknown commands and even though I could change directory to /usr or /home they were (apparently) empty! Scary! I now realise it was because they were not mounted of course. I'll know to always accept the suggested /bin/sh in future, but I was wondering if the only reason a choice of a different shell is offered is to scare the unwary. On possible scenario is that /bin/sh has - somehow - been corrupted, deleted or otherwise made unusable. In that situation it is very nice to be able to choose some other shell so you can at least try to fix the problem. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the point of the shell choice in single user mode?
On Sat, Dec 01, 2007 at 02:15:26PM +0100, Erik Trulsson wrote: On Sat, Dec 01, 2007 at 04:44:27AM +, John Murphy wrote: I've just successfully done the world and kernel upgrade from 7 beta2 to beta3. I've always had a mergemaster phobia, but it didn't seem too bad this time. I thought I'd broken it after choosing /bin/tcsh as my shell in single user mode. It grumbled about termcap (I think) and then gave me a simple shell with a % prompt. fsck and mount were unknown commands and even though I could change directory to /usr or /home they were (apparently) empty! Scary! I now realise it was because they were not mounted of course. I'll know to always accept the suggested /bin/sh in future, but I was wondering if the only reason a choice of a different shell is offered is to scare the unwary. On possible scenario is that /bin/sh has - somehow - been corrupted, deleted or otherwise made unusable. In that situation it is very nice to be able to choose some other shell so you can at least try to fix the problem. And some individuals even seem to prefer [t]csh over sh! I know, what's that all about? ;-P (runs to a safe distance to watch the fireworks...) John - you would have had the same experience had you selected sh - only the root file system is mounted if you come up into single user, which is why the installworld instructions tell you to mount all your other local file systems. As for fsck and mount being unknown, I suspect that's due to a very conservative initial PATH under tcsh, but as I don't use it, I don't know for sure. And the termcap grumble is because /etc/termcap is actually a symlink to /usr/share/misc/termcap, which on your system is evidently not on your / fs. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp70mFQf4TXJ.pgp Description: PGP signature
Re: What's the point of the shell choice in single user mode?
On Sat, 1 Dec 2007 06:18:13 + RW [EMAIL PROTECTED] wrote: On Sat, 1 Dec 2007 04:44:27 + John Murphy [EMAIL PROTECTED] wrote: I've just successfully done the world and kernel upgrade from 7 beta2 to beta3. I've always had a mergemaster phobia, but it didn't seem too bad this time. I thought I'd broken it after choosing /bin/tcsh as my shell in single user mode. It grumbled about termcap (I think) and then gave me a simple shell with a % prompt. ... I'll know to always accept the suggested /bin/sh in future, but I was wondering if the only reason a choice of a different shell is offered is to scare the unwary. Selecting /bin/[t]csh always works for me. I just tried it again with exactly the same results (FreeBSD-7.0 beta3): [after pressing 4 at the Beasty menu] Trying to mount root from ufs:/dev/ad4s2a Enter full path name of shell or RETURN for /bin/sh: /bin/tcsh sh: Cannot open /etc/termcap sh: using dumb terminal settings %fsck -p fsck: Command not found %mount -u / mount: Command not found %reboot reboot: Command not found %exit logout ... continues to a Login prompt. Pressing RETURN or typing /bin/sh gets a '#' prompt and working fsck etc. Is your /etc/termcap a symlink? ll /etc/termcap lrwxrwxrwx 1 root wheel 23 Nov 15 20:27 /etc/termcap - /usr/share/misc/termcap -- Thanks, John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the point of the shell choice in single user mode?
On Sat, 1 Dec 2007 13:46:12 + Daniel Bye [EMAIL PROTECTED] wrote: On Sat, Dec 01, 2007 at 02:15:26PM +0100, Erik Trulsson wrote: On Sat, Dec 01, 2007 at 04:44:27AM +, John Murphy wrote: I've just successfully done the world and kernel upgrade from 7 beta2 to beta3. I've always had a mergemaster phobia, but it didn't seem too bad this time. I thought I'd broken it after choosing /bin/tcsh as my shell in single user mode. It grumbled about termcap (I think) and then gave me a simple shell with a % prompt. fsck and mount were unknown commands and even though I could change directory to /usr or /home they were (apparently) empty! Scary! I now realise it was because they were not mounted of course. I'll know to always accept the suggested /bin/sh in future, but I was wondering if the only reason a choice of a different shell is offered is to scare the unwary. On possible scenario is that /bin/sh has - somehow - been corrupted, deleted or otherwise made unusable. In that situation it is very nice to be able to choose some other shell so you can at least try to fix the problem. And some individuals even seem to prefer [t]csh over sh! I know, what's that all about? ;-P (runs to a safe distance to watch the fireworks...) John - you would have had the same experience had you selected sh - only the root file system is mounted if you come up into single user, which is why the installworld instructions tell you to mount all your other local file systems. As for fsck and mount being unknown, I suspect that's due to a very conservative initial PATH under tcsh, but as I don't use it, I don't know for sure. And the termcap grumble is because /etc/termcap is actually a symlink to /usr/share/misc/termcap, which on your system is evidently not on your / fs. Ah, that explains it. /usr is indeed elsewhere ad4s2f in fact. [t]csh always gets my vote. (The government still seems to win though) :) -- Thanks, John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's the point of the shell choice in single user mode?
On Sat, 1 Dec 2007 14:06:19 + John Murphy [EMAIL PROTECTED] wrote: On Sat, 1 Dec 2007 06:18:13 + RW [EMAIL PROTECTED] wrote: Selecting /bin/[t]csh always works for me. I just tried it again with exactly the same results (FreeBSD-7.0 beta3): [after pressing 4 at the Beasty menu] Trying to mount root from ufs:/dev/ad4s2a Enter full path name of shell or RETURN for /bin/sh: /bin/tcsh sh: Cannot open /etc/termcap sh: using dumb terminal settings %fsck -p fsck: Command not found I see what you mean - I do get that. I thought you were saying that /bin/tcsh wasn't starting. Personally I just put all the commands for the single-user mode install into a simple script and run that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(OT) thunderbird + enigmail + gmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am running Thunderbird (2.0.0.7) and enigmail (0.95.5) to access my gmail and since last night I get a SSL certificate out of date message (says gmail's cert expired jan. 30 2005). Just for verification the output of date(1) on my end is: Sat Dec 1 11:01:29 EST 2007 Any ideas on how to make this go away? - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUYV1358R5LPuPvsRAr3NAJ41z/tDYlb4O+nkdDmIf/pZzketzgCffO/Q F2ybvUg4QFN+zd+5WJ4/6wk= =a8FO -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.3-PRERELEASE build error
After a sucessfull build of the kernel and world, make installworld gives the following errors: install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install-info: /usr/share/info/dir: empty file *** Error code 1 Stop in /usr/src/lib/libcom_err/doc. *** Error code 1 Stop in /usr/src/lib/libcom_err. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. FreeBSD 6.3-PRERELEASE source files: december 1 at 13:00 hours DUtch local time (using cvsup) Who can help? Jack Raats ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD7 - PAE and nVidia
Thanks for the info. Also from what I can see PAE does not support USB. The reason why I am using i386 is because I'm not going to sacrifice my gaming :-) which means nvidia. Thanks David p.s. I'm volunteering to do any testing for an amd64 version of the nvidia driver... On 01/12/2007, Pieter de Goeje [EMAIL PROTECTED] wrote: On Saturday 01 December 2007, David Naylor wrote: I have googled, looked though the mailing archives and the FreeBSD Handbook but I have not found out how to build a PAE FreeBSD kernel with nVidia graphics drivers included. This is for an Asus P5N-E system with 4GB of RAM and SLI graphics cards. PAE is not supported by the nvidia driver. I quote from pkg-message.in: Note that this driver does not support PAE-enabled kernels. - Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Still Seeing A Problem Building dmx
Has anyone found a work around for this? It's been a problem for several months: ../../config/libconfig.a(hal.o)(.text+0x774): In function `connect_hook': : undefined reference to `libhal_ctx_set_device_removed' ../../config/libconfig.a(hal.o)(.text+0x78b): In function `connect_hook': : undefined reference to `libhal_find_device_by_capability' ../../config/libconfig.a(hal.o)(.text+0x7b8): In function `connect_hook': : undefined reference to `libhal_free_string_array' ../../config/libconfig.a(hal.o)(.text+0x7c3): In function `connect_hook': : undefined reference to `dbus_error_free' ../../config/libconfig.a(hal.o)(.text+0x7e2): In function `connect_hook': : undefined reference to `libhal_ctx_free' ../../config/libconfig.a(hal.o)(.text+0x7ed): In function `connect_hook': : undefined reference to `dbus_error_free' ../../config/libconfig.a(hal.o)(.text+0x819): In function `connect_hook': : undefined reference to `libhal_ctx_new' ../../config/libconfig.a(hal.o)(.text+0x853): In function `connect_hook': : undefined reference to `libhal_ctx_shutdown' *** Error code 1 Stop in /usr/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw/dmx. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw/dmx. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-dmx/work/xorg-server-1.4. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-dmx. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.14826.101 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xorg-dmx-1.2.0,1 UPGRADE_PORT_VER=1.2.0,1 make BATCH=yes -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acx100 under 7.0-BETA3
Hi all, I have a wireless card with the Texas Instruments ACX 111 chipset that appears to be supported by the acx100 driver. However, when I run make install in /usr/ports/net/acx100, I get an error message: $ sudo make install === acx100-20040701_1 is marked as broken: Does not compile on FreeBSD = 6.x. *** Error code 1 On the developers web page http://dev.kewl.org/acx100+111/, he indicates that it has been tested under CURRENT and source tarballs are available dated 29 October. What would be the best strategy at this point? Try to compile it outside the port tree? Wait until the latter has been updated? Send a message to the maintainer? Thanks. -- Colin Brace Amsterdam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using dd to duplicate disks/partitions of slightly different sizes - works?
I've got two 160GB disks. Different manufacturers, so different # bytes. One is FreeBSD, the other blank. I'd like to backup my system for the fastest possible recovery after a crash - move the plug and power up. I have gmirrored before, but I just wanted to do a quick dd, since I don't want to abuse my cheapo powersupply (has 4 disks already on it). Two questions: (1) If I dd from the smaller to the larger, will it work? What happens to the extra, say 5MB of unused space - will my partition info be messed up? (2) If I dd from the larger to the smaller (df reports only 50% used anyway) is there a way to make sure there is no info in the 5MB at the end that will overflow the smaller, and again, will my partitions be ok? The other option is just to fdisk label the other disk, then rsync everything to it. Is that the wiser choice? Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Diagnosing an unstable machine
I'm currently using FreeBSD 6.2 to run as a fileserver and gateway for my home. It's been incredibly unstable and I'm trying to figure out why. What can I do to try and figure out what is causing these crashes? Apparently the machine just rebooted 20min ago looking at the uptime. They're seemingly random to me as there is definitely no usage pattern that is obviously bringing these crashes about. Any help I could get would be greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
System Reboots with Bittorrent Use
Hi! I have had this problem before, so let me narrate the history (quickly). I used to use the rtorrent port. However, when running rtorrent (never any other time) the system would spontaneously reboot. I couldn't figure out what exactly the problem was, but when I switched to deluge (another bittorrent port) the problem seemed to go away. I have since reformatted my computer. I began using deluge again a couple weeks ago, but am again experiencing spontaneous reboots, now when using deluge (I don't have rtorrent installed). I don't get any message in /var/logs/messages (is there a way to make the computer log more? Are there other logs I should check?). In general the file system needs to be cleaned after the reboot. Could this be a driver problem, by any chance? I use Deluge version 0.5.6.2, freeBSD version 6.3 Prerelease. If any more information would help, I'd be happy to provide it. Thanks if you can offer any help at all! I'm still fairly new to *BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Diagnosing an unstable machine
At 11:42 AM 12/1/2007, Ross Penner wrote: I'm currently using FreeBSD 6.2 to run as a fileserver and gateway for my home. It's been incredibly unstable and I'm trying to figure out why. What can I do to try and figure out what is causing these crashes? Apparently the machine just rebooted 20min ago looking at the uptime. They're seemingly random to me as there is definitely no usage pattern that is obviously bringing these crashes about. Any help I could get would be greatly appreciated. The first thing I would do is make sure you are running 6.2 release with the generic kernel. Look at the last log entries prior to a crash for all the logs in /var/log Run any diagnostics you have for the hardware (motherboard, memory, hard drives, NIC.) Check your dmesg hardware found to the supported hardware list. If you are still getting random crashes, post back with your dmesg output included. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System Reboots with Bittorrent Use
At 11:53 AM 12/1/2007, [EMAIL PROTECTED] wrote: Hi! I have had this problem before, so let me narrate the history (quickly). I used to use the rtorrent port. However, when running rtorrent (never any other time) the system would spontaneously reboot. I couldn't figure out what exactly the problem was, but when I switched to deluge (another bittorrent port) the problem seemed to go away. I have since reformatted my computer. I began using deluge again a couple weeks ago, but am again experiencing spontaneous reboots, now when using deluge (I don't have rtorrent installed). I don't get any message in /var/logs/messages (is there a way to make the computer log more? Are there other logs I should check?). In general the file system needs to be cleaned after the reboot. Could this be a driver problem, by any chance? I use Deluge version 0.5.6.2, freeBSD version 6.3 Prerelease. If any more information would help, I'd be happy to provide it. Thanks if you can offer any help at all! I'm still fairly new to *BSD. It could be anything that relates to bad hardware. But since you believe it is related to the network, and bittorrent use, I would first suspect the NIC. If possible I would swap NIC's and see it the problem still is there. In swapping NIC's I would avail using any with realtek chips and opt for a better supported NIC chip like one of the intel NICs. Otherwise you can run any diagnostic software you have for your hardware, and if you post back include the full dmesg output. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System Reboots with Bittorrent Use
On Sat, Dec 01, 2007 at 11:53:52AM -0600, [EMAIL PROTECTED] wrote: Hi! I have had this problem before, so let me narrate the history (quickly). I used to use the rtorrent port. However, when running rtorrent (never any other time) the system would spontaneously reboot. I couldn't figure out what exactly the problem was, but when I switched to deluge (another bittorrent port) the problem seemed to go away. I have since reformatted my computer. I began using deluge again a couple weeks ago, but am again experiencing spontaneous reboots, now when using deluge (I don't have rtorrent installed). I don't get any message in /var/logs/messages (is there a way to make the computer log more? Are there other logs I should check?). In general the file system needs to be cleaned after the reboot. There's a bug in the kernel with 6-STABLE with Bittorrent clients that use multiple threads. This includes the latest deluge and azureus ports. I've filed a PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=117717 but it's been getting no love from the developers. You could try poking freebsd-stable@ for help. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror array not unmounting at shutdown
I have a mirror with two 500GB SATA drives for storage. The system is on a gmirror of two 18GB SCSIs. the SATA mirror mounts under /u2 and is in fstab. If I reboot, when the machine comes back up I get a notice that /u2 was not unmounted properly. I go into single user, unmount /u2 and do a fsck on /dev/mirror/datas1d. It usually finds some issues and corrects them. Sooner or later it's going to fail at the repair. I thought that by having the array in fstab that the system would take it down properly upon a reboot, but that doesn't appear to be the case. Where can I put a sync ; umount /u2 where it will take place late enough that /u2 actually will unmount? I've looked at rc.shutdown but can't find a place where such a line actually seems to be executed. thx, r ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using dd to duplicate disks/partitions of slightly different sizes - works?
Steve Franks wrote: I've got two 160GB disks. Different manufacturers, so different # bytes. One is FreeBSD, the other blank. I'd like to backup my system for the fastest possible recovery after a crash - move the plug and power up. I have gmirrored before, but I just wanted to do a quick dd, since I don't want to abuse my cheapo powersupply (has 4 disks already on it). Two questions: (1) If I dd from the smaller to the larger, will it work? What happens to the extra, say 5MB of unused space - will my partition info be messed up? (2) If I dd from the larger to the smaller (df reports only 50% used anyway) is there a way to make sure there is no info in the 5MB at the end that will overflow the smaller, and again, will my partitions be ok? The other option is just to fdisk label the other disk, then rsync everything to it. Is that the wiser choice? Thanks, Steve Giorgos Keramidas made a great post dealing with this a while back. Here 'tis, quoted for your enjoyment and potential enlightenment (also quoted is Martin McCormack): --- It turns out that dd defaults to 512-byte blocks so I didn't really need the bs=512, but I am not sure I haven't made some other type of mistake. The dd command has been running for about 4 hours on a very fast system, with a 1-gig processor, 1 gig of RAM and two 31-GB drives. One would think it should have finished by now, but it is still running. Is this a valid method of copying the entire contents of one drive to another? Thank you. Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk: newfs -U /dev/ad1s1a mount /dev/ad1s1a /mnt dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - ) Copying with dd(1) is not as fast :) -- HTH, Kevin Kinsey -- There is no royal road to geometry. -- Euclid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linux /proc on FreeBSD
Hey everyone, i am going to port a server that i am currently working on to FreeBSD. I don't have much experience with FreeBSD yet. The only real big thing i have to change is the way some data is fetched. In the Linux version i read in data like the hostname, the domainname, the kernel version etc from /proc. Is there a central point to look for those values in FreeBSD? If not, where do i get those values? I _don't_ want to use external binaries like sysctl etc... Thank you! Lennart Koopmann -- FSF Member #5673 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux /proc on FreeBSD
On Sunday 02 December 2007, Lennart Koopmann wrote: Hey everyone, i am going to port a server that i am currently working on to FreeBSD. I don't have much experience with FreeBSD yet. The only real big thing i have to change is the way some data is fetched. In the Linux version i read in data like the hostname, the domainname, the kernel version etc from /proc. Sysctls kern.hostname and kern.version. Is there a central point to look for those values in FreeBSD? Yes, the sysctl MIB tree. If not, where do i get those values? I _don't_ want to use external binaries like sysctl etc... man 3 sysctl :) Hope this helps, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using dd to duplicate disks/partitions of slightly different sizes - works?
On December 1, 2007 03:19:59 pm Kevin Kinsey wrote: Steve Franks wrote: I've got two 160GB disks. Different manufacturers, so different # bytes. One is FreeBSD, the other blank. I'd like to backup my system for the fastest possible recovery after a crash - move the plug and power up. I have gmirrored before, but I just wanted to do a quick dd, since I don't want to abuse my cheapo powersupply (has 4 disks already on it). Two questions: (1) If I dd from the smaller to the larger, will it work? What happens to the extra, say 5MB of unused space - will my partition info be messed up? (2) If I dd from the larger to the smaller (df reports only 50% used anyway) is there a way to make sure there is no info in the 5MB at the end that will overflow the smaller, and again, will my partitions be ok? The other option is just to fdisk label the other disk, then rsync everything to it. Is that the wiser choice? Thanks, Steve Giorgos Keramidas made a great post dealing with this a while back. Here 'tis, quoted for your enjoyment and potential enlightenment (also quoted is Martin McCormack): --- It turns out that dd defaults to 512-byte blocks so I didn't really need the bs=512, but I am not sure I haven't made some other type of mistake. The dd command has been running for about 4 hours on a very fast system, with a 1-gig processor, 1 gig of RAM and two 31-GB drives. One would think it should have finished by now, but it is still running. Is this a valid method of copying the entire contents of one drive to another? Thank you. Bah! That's too slow for my taste. I would usually go for a newfs, dump, and restore option. For instance, to create a copy of /usr on a second disk: newfs -U /dev/ad1s1a mount /dev/ad1s1a /mnt dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - ) Copying with dd(1) is not as fast :) -- HTH, Kevin Kinsey I tried using dd with two 80GB disks, using a much larger block size (512M), booting Knoppix to make sure the filesystems on the 'input' disk were quiescent. It worked, but took an amazing 14 hours, which is only about 1.5 Mb/sec. The 'output' drive was on an IDE connector shared with the CD device, so that may have been a cause of the poor performance. Anyway, read 'man dd'. You can specify very large blocksizes. I suspect it might take very many hours with a blocksize of 512. -- Mike Jeays http://www.jeays.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall Redirect
Lucas Neves Martins wrote: 422 ipfw add 950 divert 8082 tcp from any to any 80 via em0 Hi! I do something similar, except with a small home-grown server used to serve 'You are banned' pages to people who insist on driving my poor little webserver into swap. The directive you're looking for is 'fwd'. ipfw add 44001 fwd 127.0.0.44 tcp from ${luser} to any 80 in recv fxp0 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using dd to duplicate disks/partitions of slightly different sizes - works?
On Sat, 1 Dec 2007 20:53:41 -0500 Mike Jeays [EMAIL PROTECTED] wrote: I tried using dd with two 80GB disks, using a much larger block size (512M), booting Knoppix to make sure the filesystems on the 'input' disk were quiescent. It worked, but took an amazing 14 hours, which is only about 1.5 Mb/sec. The 'output' drive was on an IDE connector shared with the CD device, so that may have been a cause of the poor performance. Probably that was the cause, I've done a few: dd if=/dev/random of=disc bs=1m recently, and they all went an order of magnitude faster than that, even on PATA drives. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using dd to duplicate disks/partitions of slightly different sizes - works?
On Sat, Dec 01, 2007 at 10:29:15AM -0700, Steve Franks wrote: I've got two 160GB disks. Different manufacturers, so different # bytes. One is FreeBSD, the other blank. I'd like to backup my system for the fastest possible recovery after a crash - move the plug and power up. I have gmirrored before, but I just wanted to do a quick dd, since I don't want to abuse my cheapo powersupply (has 4 disks already on it). Two questions: (1) If I dd from the smaller to the larger, will it work? What happens to the extra, say 5MB of unused space - will my partition info be messed up? (2) If I dd from the larger to the smaller (df reports only 50% used anyway) is there a way to make sure there is no info in the 5MB at the end that will overflow the smaller, and again, will my partitions be ok? The other option is just to fdisk label the other disk, then rsync everything to it. Is that the wiser choice? Either rsync or dump/restore. skip the dd. It is not a good use of dd. jerry Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2007-11-11 - 2007-12-01
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
setting up slave server with Zoneedit need help
I have a `internal' network visible only internally. Let say: hanhnhu.local. This is my master for the local zone. I registered 'vuhanhnhu.com' domain with my registrar and pointed it to zoneedit nameservers: ns3.zoneedit.com and ns9.zoneedit.com. I'm using NAT. So how can I set up slave with zoneedit for vuhanhnhu.com zone? Thanks you very much. below is my files related to local internal DNS: File named.conf: options { directory /etc/namedb; pid-file/var/run/named/pid; dump-file /var/dump/named_dump.db; statistics-file /var/stats/named.stats; listen-on { 192.168.0.1; 127.0.0.1; }; forwarders { 210.245.0.131; }; }; zone hanhnhu.local in { typemaster; filegrv.zone; }; zone 0.168.192.in-addr.arpa in { typemaster; filegrv.rev; }; zone localhost in { typemaster; filelocal.zone; }; zone 0.0.127.in-addr.arpa in { typemaster; filelocal.rev; }; zone . { typehint; filenamed.root; }; -- File grv.zone $TTL3600 @ IN SOA hanhnhu.local. root.hanhnhu.local. ( 212201 ; Selial 10800 ; Refresh 3 hours 3600; Retry 1 hour 360 ; Expire 1000 hours 86400 ; Minimum 24 hours ) IN NS hanhnhu.local. IN A 192.168.0.1 ; hosts localhost IN A 127.0.0.1 windows1IN A 192.168.0.253 windows2IN A 192.168.0.254 ; aliases www IN CNAME hanhnhu.local. ftp IN CNAME hanhnhu.local. mailIN CNAME hanhnhu.local. - File grv.rev: $TTL3600 @ IN SOA hanhnhu.local. root.hanhnhu.local. ( 212201 ; Selial 10800 ; Refresh 3 hours 3600; Retry 1 hour 360 ; Expire 1000 hours 86400 ; Minimum 24 hours ) IN NS hanhnhu.local. ; hosts 1 IN PTR hanhnhu.local. 253 IN PTR windows1.hanhnhu.local. 254 IN PTR windows2.hanhnhu.local. -- View this message in context: http://www.nabble.com/setting-up-slave-server-with-Zoneedit-need-help-tf4930698.html#a14112921 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: CD Audio on D975XBX2 mobo
[EMAIL PROTECTED] schrieb: I bought the board without looking at the audio parts, because every board has a CD in port. Turns out this one doesn't, it uses digital CD Audio and doesn't use the connector anymore ([1][2]http://www.intel.com/support/motherboards/desktop/sb/CS-014753. htm ). Are there any options for playing CDs with FBSD on this board? I can rip the disk to MP3, then play that; but are there any ways to just play the disk? As long as you can rip it to mp3, you should be able to play it with e.g. vlc or any other cd player. Rg, Tino I figured that would work, was kind of wondering if there were any players that would play directly from the CD reading the digital data instead of through the analog audio output. Joe. References 1. http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyallfolder=INBOX.Freebsd-Questionsuid=18921#Compose 2. http://www.intel.com/support/motherboards/desktop/sb/CS-014753.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System Reboots with Bittorrent Use
On Sat, Dec 01, 2007 at 10:14:27PM -0600, [EMAIL PROTECTED] wrote: Date: Sun, 2 Dec 2007 07:48:20 +1300 From: Jonathan Chen [EMAIL PROTECTED] I have since reformatted my computer. I began using deluge again a couple weeks ago, but am again experiencing spontaneous reboots, now when using deluge (I don't have rtorrent installed). I don't get any message in /var/logs/messages (is there a way to make the computer log more? Are there other logs I should check?). In general the file system needs to be cleaned after the reboot. There's a bug in the kernel with 6-STABLE with Bittorrent clients that use multiple threads. This includes the latest deluge and azureus ports. I've filed a PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=117717 but it's been getting no love from the developers. You could try poking freebsd-stable@ for help. Thanks a lot, that sounds like it could very well be the problem. I don't think it's a physical hardware problem, because I have no problem using bittorrent in Windows, and the behavior went away (previously) when switching from rTorrent to an older version of Deluge. I don't think I have the dmesg from after the crash anymore -- I don't want to replicate it because I'm kind of worried that something will go terribly wrong with the disk... Is there a bittorrent client someone would like to recommend? If you could downgrade to deluge-0.5.5, that was the last one that worked. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Beer. Now there's a temporary solution. - Homer Simpson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]