From herbert.raimund at gmx.net Sun Nov 1 01:42:31 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Sun Nov 1 01:42:39 2009 Subject: vim Keybindings In-Reply-To: <4AEC8E77.40704@mykitchentable.net> References: <4AEC8E77.40704@mykitchentable.net> Message-ID: <20091101014220.GA4310@sandcat> The original vi is doing this as well? If not you should write to the port maintainer and the developers. Cheers herb langhans On Sat, Oct 31, 2009 at 12:22:31PM -0700, Drew Tomlinson wrote: > I'm experiencing an annoying problem with vim on FBSD 8 that I don't > have on FBSD 7. Whenever I start vim, if I press the down arrow as the > first key, it deletes the first line of my file and enters insert mode. > All the other keys work fine and even the down arrow works fine after > the first press. > > I've searched for help but haven't turned up anything relevant. Any > ideas on what I can check? > > Thanks, > > Drew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From chuckr at telenix.org Sun Nov 1 03:45:49 2009 From: chuckr at telenix.org (Chuck Robey) Date: Sun Nov 1 03:45:57 2009 Subject: vim Keybindings In-Reply-To: <4AEC8E77.40704@mykitchentable.net> References: <4AEC8E77.40704@mykitchentable.net> Message-ID: <4AECFE46.30104@telenix.org> Drew Tomlinson wrote: > I'm experiencing an annoying problem with vim on FBSD 8 that I don't > have on FBSD 7. Whenever I start vim, if I press the down arrow as the > first key, it deletes the first line of my file and enters insert mode. > All the other keys work fine and even the down arrow works fine after > the first press. > > I've searched for help but haven't turned up anything relevant. Any > ideas on what I can check? Hmm. Don't know if your machine is exactly set up as mine, so 1st, does hitting the escape key as the first key fix things? And, on a shell, hit control-V (the common shell escape key for control keys), then the down arrow, what does it print? Not sure I would be able to help, but there is often a timing issue on special function key decoding (like all of the arrow keys, or the function keys, etc) and this may tell what your down key is set for in Vim. Beyond that, Vim's environment is extremely programmable, so one would really have to look carefully through all of your environment files, beginning with vim's ~/.vimrc. If you are using any of vim's huge store of extensions, your .vimrc probably has statements to include subdirectories (perhaps of your homedir). Those files are also candidates for trouble sources. Are you having this problem on ttys, or under X11? Tried both? It's most likely *something* dealing with Vim, because it's unreported on FreeBSD (I know, I love vim and been using it on FreeBSD-current for years). Vim's IRC channel ("vim") is extremely good about helping on problems, like bad keymapping, they are just as good as we here on this mailing list are, but they obviously concentrate on vim. Anyways, if you answer these questions on the list or channel, folks are far more likely to be able to help you here (or on the vim channel). From gibblertron at gmail.com Sun Nov 1 05:34:07 2009 From: gibblertron at gmail.com (patrick) Date: Sun Nov 1 05:34:15 2009 Subject: Get the cwd of a process? In-Reply-To: References: <20091030034812.GU29215@dan.emsphone.com> Message-ID: I've made some headway... perl supports "sitecustomize.pl" which can be used to execute code when any perl script is run. It doesn't seem to be enabled by default, so I had to add the following line to /usr/ports/lang/perl5.8/Makefile's CONFIGURE_ARGS: -Dusesitecustomize \ As a temporary measure, my sitecustomize.pl has: system "echo $$ $ENV{'PWD'} $0 ". (localtime) . " >>/tmp/scripts_used.lst"; (found this in another thread somewhere) So, hopefully the next time this spammer comes back, I will see the original working directory, etc. before the process forks itself. Fingers crossed! Patrick On Sat, Oct 31, 2009 at 9:13 AM, patrick wrote: > Thanks for the info! It works in my test case, but this spammer popped > again, and unfortunately, I still couldn't reveal the source: > > The ps listing shows: > > www ? ? ? ? ? ?29488 ?5.7 ?0.2 14144 ?5360 ??? ?Ss ? ?7:47AM ?37:24.83 > ./jug.pl (perl5.8.8) > > And the lsof -p 29488 -a -d cwd only shows: > > COMMAND ? ? PID USER ? FD ? TYPE DEVICE SIZE/OFF NODE NAME > perl5.8.8 29488 ?www ?cwd ? VDIR ? 0,83 ? ? ?512 ? ?2 / > > I don't understand how the cwd could be /, as there was no jug.pl > there, and the www user cannot write to the root. > > Could there be another trick being employed? I'm actually a little > puzzled by the ps listing. It shows the interpreter at the end in > parentheses, but if I invoke a similarly-named script from the shell, > it lists it as "/usr/bin/perl ./jug.pl". > > I also cannot find any traces of these perl scripts anywhere on the > machine, though my tests show that you can safely delete the script > after it is loaded by the interpreter. > > *trying something...* > > Okay, so I've written a little script to reproduce what I'm seeing: > > #!/usr/bin/perl > > $pid = fork(); > > if ($pid) > { > ? ? ? unlink("test.pl"); > ? ? ? exit(0); > } > else > { > ? ? ? chdir "/"; > ? ? ? print "Hello world\n"; > ? ? ? sleep 300; > } > > This must be what is happening. When I do an lsof, I get: > > COMMAND ? ? PID ? ?USER ? FD ? TYPE DEVICE SIZE/OFF NODE NAME > perl5.8.8 95492 patrick ?cwd ? VDIR ? 0,83 ? ? ?512 ? ?2 / > > And there's no trace left of my script because I unlink()ed it. > > This seems like it's going to be awfully hard to track down. I've gone > through every access_log to see if I can see anything suspicious. So > far, nothing yet, but I guess I'll keep plugging away at it. > > *sigh* > > Patrick > > > On Thu, Oct 29, 2009 at 8:48 PM, Dan Nelson wrote: >> In the last episode (Oct 29), patrick said: >>> Is there any way to get the cwd of a process? We had the situation >>> recently where a perl script was called from an infiltrated Wordpress >>> installation, but we weren't able to determine which of the hundreds of >>> Wordpress blogs was the source. ?The ps listing showed: >>> >>> www ? ? ? ? ? ? 63968 ?2.4 ?0.2 26092 ?5008 ??? ?Rs ? ?5:36PM 93:10.67 ./mrf.pl (perl5.8.8) >>> >>> The procfs entry was no help because it does not seem to provide a cwd. >>> The cmdline entry just showed "/usr/local/bin/perl ./mrf.pl". >>> >>> We had to kill the process, and who ever was responsible did a good job of >>> hiding their tracks. ?But should this happen again (and we expect it >>> will), we'd like to be able to find the source. >> >> /usr/bin/fstat will tell you the inode of the cwd, and you can use "find >> ?-inum" to locate it. ?You can also install lsof from ports, which will dig >> into the kernel and try and fetch the name itself: >> >> (dan@dan.21) /home/dan> fstat -p $$ | grep wd >> dan ? ? ?zsh ? ? ? ?77611 ? wd / ? ? ? ?474264 drwxr-xr-x ? ? 533 ?r >> (dan@dan.21) /home/dan> lsof -p $$ -a -d cwd >> COMMAND ? PID USER ? FD ? TYPE ? ? ? DEVICE SIZE/OFF ? NODE NAME >> zsh ? ? 77611 ?dan ?cwd ? VDIR 60,504234031 ? ? ?533 474264 /usr/home/dan >> >> >> -- >> ? ? ? ?Dan Nelson >> ? ? ? ?dnelson@allantgroup.com >> > From gibblertron at gmail.com Sun Nov 1 05:35:38 2009 From: gibblertron at gmail.com (patrick) Date: Sun Nov 1 05:35:45 2009 Subject: vim Keybindings In-Reply-To: <4AEC8E77.40704@mykitchentable.net> References: <4AEC8E77.40704@mykitchentable.net> Message-ID: Try creating /usr/local/share/vim/vimrc with the following: set nomodeline set nocompatible Patrick On Sat, Oct 31, 2009 at 12:22 PM, Drew Tomlinson wrote: > I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on > FBSD 7. ?Whenever I start vim, if I press the down arrow as the first key, > it deletes the first line of my file and enters insert mode. ?All the other > keys work fine and even the down arrow works fine after the first press. > > I've searched for help but haven't turned up anything relevant. ?Any ideas > on what I can check? > > Thanks, > > Drew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From gibblertron at gmail.com Sun Nov 1 06:07:09 2009 From: gibblertron at gmail.com (patrick) Date: Sun Nov 1 06:07:17 2009 Subject: dhcpd related issue In-Reply-To: <82804.79685.qm@web30804.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> Message-ID: What happens if you disable pf temporarily? 2009/10/31 D?nielisz L?szl? : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > ?1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 ?netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on ? Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > Thanks! > Laci > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From laszlo_danielisz at yahoo.com Sun Nov 1 07:34:04 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 07:34:11 2009 Subject: dhcpd related issue In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> Message-ID: <516971.12872.qm@web30807.mail.mud.yahoo.com> It's the same, I still don't got any IP address. ________________________________ From: patrick To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 D?nielisz L?szl? : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > Thanks! > Laci > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From hselasky at c2i.net Sun Nov 1 09:00:35 2009 From: hselasky at c2i.net (Hans Petter Selasky) Date: Sun Nov 1 09:00:42 2009 Subject: Gnokii with USB2 In-Reply-To: <4AEC94A9.1050309@quis.cx> References: <4AEC94A9.1050309@quis.cx> Message-ID: <200911011001.44377.hselasky@c2i.net> On Saturday 31 October 2009 20:48:57 Jille Timmermans wrote: > I'm trying to read the SMS of my telephone using comms/gnokii. But I > can't figure out which 'port' (thing in /dev) I must pass to gnokii. > /dev/usb/0.2.{0,1,2}, /dev/ugen0.2, /dev/da0, /dev/pass0 all didn't work > (Yes, I know trying da0 was not a really smart/safe idea). But those are > the only new devices which showed up after connecting the USB-cable. > I think that "connection = serial" is wrong. You should not have to specify port for USB. Also check that your device shows up when you type "usbconfig" as the user you are running gnokiirc. Also make sure gnokiirc is compiled with USB support. --HPS > > My ~/.gnokiirc: > [global] > port = /dev/usb/0.2.1 > model = AT > connection = serial > > [logging] > debug = on > > OS: > FreeBSD 8.0-CURRENT r193930 of June 10 > > Telephone: > LG K800 > > > -- Jille From laszlo_danielisz at yahoo.com Sun Nov 1 10:06:38 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 10:06:46 2009 Subject: dhcpd related issue In-Reply-To: <516971.12872.qm@web30807.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> Message-ID: <806321.83601.qm@web30807.mail.mud.yahoo.com> I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: $ telnet 192.168.1.1 67 Trying 192.168.1.1... telnet: connect to address 192.168.1.1: Connection refused telnet: Unable to connect to remote host Than I disabled pf # pfctl -d No ALTQ support in kernel ALTQ related functions disabled pf disabled Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: # ps ax|grep dhcp 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease Any idea? ________________________________ From: D?nielisz L?szl? To: patrick Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 8:34:03 AM Subject: Re: dhcpd related issue It's the same, I still don't got any IP address. ________________________________ From: patrick To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 D?nielisz L?szl? : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > Thanks! > Laci > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From laszlo_danielisz at yahoo.com Sun Nov 1 11:00:52 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 11:00:59 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <806321.83601.qm@web30807.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> Message-ID: <49594.91061.qm@web30806.mail.mud.yahoo.com> I don't give it up, doing some tcpdump on my BSD I can see the dhcp request reaches the machine, the dhcpd is running, but why doesn't gives any IP? # tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 ________________________________ From: D?nielisz L?szl? To: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 11:06:36 AM Subject: Re: dhcpd related issue I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: $ telnet 192.168.1.1 67 Trying 192.168.1.1... telnet: connect to address 192.168.1.1: Connection refused telnet: Unable to connect to remote host Than I disabled pf # pfctl -d No ALTQ support in kernel ALTQ related functions disabled pf disabled Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: # ps ax|grep dhcp 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease Any idea? ________________________________ From: D?nielisz L?szl? To: patrick Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 8:34:03 AM Subject: Re: dhcpd related issue It's the same, I still don't got any IP address. ________________________________ From: patrick To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 D?nielisz L?szl? : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > Thanks! > Laci > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From kraduk at googlemail.com Sun Nov 1 11:09:32 2009 From: kraduk at googlemail.com (krad) Date: Sun Nov 1 11:09:40 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <49594.91061.qm@web30806.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: 2009/11/1 D?nielisz L?szl? > I don't give it up, doing some tcpdump on my BSD I can see the dhcp request > reaches the machine, the dhcpd is running, but why doesn't gives any IP? > > # tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 > 11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > 11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > 11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > 11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > 11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > 11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:23:6c:86:41:d9, length 300 > > > > > > > ________________________________ > From: D?nielisz L?szl? > To: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 11:06:36 AM > Subject: Re: dhcpd related issue > > I had one more idea: try nmap on my dhcp server, and port 67 does not seems > to be opened, after I tried telneting in and my connection was refused: > > $ telnet 192.168.1.1 67 > Trying 192.168.1.1... > telnet: connect to address 192.168.1.1: Connection refused > telnet: Unable to connect to remote host > > Than I disabled pf > # pfctl -d > No ALTQ support in kernel > ALTQ related functions disabled > pf disabled > > Than I checked telnet/nmap again but still don't found any 67 port ever > there. I checked again that the dhcpd is running, and its up: > # ps ax|grep dhcp > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf > /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > Any idea? > > > > > ________________________________ > From: D?nielisz L?szl? > To: patrick > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 8:34:03 AM > Subject: Re: dhcpd related issue > > It's the same, I still don't got any IP address. > > > > > ________________________________ > From: patrick > To: D?nielisz L?szl? > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 6:38:31 AM > Subject: Re: dhcpd related issue > > What happens if you disable pf temporarily? > > 2009/10/31 D?nielisz L?szl? : > > Hello, > > > > I just configured my dhcpd but it gives no IP-s. > > What had I done until now: > > > > 1. Installed isc-dhcp via ports > > > > 2. edited the /usr/local/etc/dhcpd.conf > > > > option domain-name "bsd"; > > option domain-name-servers ; > > option subnet-mask 255.255.255.0; > > authoritative; > > > > default-lease-time 3600; > > max-lease-time 86400; > > ddns-update-style none; > > > > subnet 192.168.1.0 netmask 255.255.255.0 { > > range 192.168.1.129 192.168.1.250; > > option routers 192.168.1.1; > > } > > > > 3. Added the following ones to /etc/rc.conf > > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > > dhcpd_enable="YES" > > dhcpd_conf="/usr/local/etc/dhcpd.conf" > > dhcpd_ifaces="rl1" > > > > > > 4. Opened the adequate port in pf > > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 > port = bootps flags S/SA keep state > > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 > port = bootps keep state > > > > 5.. When I start de daemon: > > # /usr/local/etc/rc.d/isc-dhcpd start > > Starting dhcpd. > > Internet Systems Consortium DHCP Server V3.0.7 > > Copyright 2004-2008 Internet Systems Consortium. > > All rights reserved. > > For info, please visit http://www.isc.org/sw/dhcp/ > > Wrote 0 leases to leases file. > > Listening on Socket/rl1/192.168.1/24 > > Sending on Socket/rl1/192.168.1/24 > > > > Everythings looks to be ok there but on the client (I tried OS-X and > Nokia symbian) I can not obtain the IP address, do you have any idea what > should I check? > > > > > > Thanks! > > Laci > > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > start with the silly stuff what does ifconfig say for that interface From guy at posteurs.com Sun Nov 1 11:18:13 2009 From: guy at posteurs.com (Guy Marcenac) Date: Sun Nov 1 11:18:20 2009 Subject: best way to install/update software and firewall choice In-Reply-To: <4AEC1729.6000307@posteurs.com> References: <4AEC1729.6000307@posteurs.com> Message-ID: <4AED6E87.1090009@posteurs.com> Thanks to all -- Guy From laszlo_danielisz at yahoo.com Sun Nov 1 11:28:24 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 11:28:32 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: <367136.24680.qm@web30807.mail.mud.yahoo.com> Well, it says: rl1: flags=8943 metric 0 mtu 1500 options=8 ether 00:13:8f:86:2f:64 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active ________________________________ From: krad To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:09:30 PM Subject: Re: dhcpd related issue - not giving up 2009/11/1 D?nielisz L?szl? >I don't give it up, doing some tcpdump on my BSD I can see the dhcp request reaches the machine, the dhcpd is running, but why doesn't gives any IP? > >># tcpdump -i rl1 -n port 67 or port 68 >>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >>listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >>11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 > > > > > > >>________________________________ >>From: D?nielisz L?szl? >>To: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 11:06:36 AM >>Subject: Re: dhcpd related issue > >>I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: > >>$ telnet 192.168.1.1 67 >>Trying 192.168.1.1... >>telnet: connect to address 192.168.1.1: Connection refused >>telnet: Unable to connect to remote host > >>Than I disabled pf >># pfctl -d >>No ALTQ support in kernel >>ALTQ related functions disabled >>pf disabled > >>Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: >># ps ax|grep dhcp >> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > >>Any idea? > > > > >>________________________________ >>From: D?nielisz L?szl? >>To: patrick >>Cc: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 8:34:03 AM >>Subject: Re: dhcpd related issue > >>It's the same, I still don't got any IP address. > > > > >>________________________________ >>From: patrick >>To: D?nielisz L?szl? >>Cc: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 6:38:31 AM >>Subject: Re: dhcpd related issue > >>What happens if you disable pf temporarily? > >>2009/10/31 D?nielisz L?szl? : >>> Hello, >>> >>> I just configured my dhcpd but it gives no IP-s. >>> What had I done until now: >>> >>> 1. Installed isc-dhcp via ports >>> >>> 2. edited the /usr/local/etc/dhcpd.conf >>> >>> option domain-name "bsd"; >>> option domain-name-servers ; >>> option subnet-mask 255.255.255.0; >>> authoritative; >>> >>> default-lease-time 3600; >>> max-lease-time 86400; >>> ddns-update-style none; >>> >>> subnet 192.168.1.0 netmask 255.255.255.0 { >>> range 192.168.1.129 192.168.1.250; >>> option routers 192.168.1.1; >>> } >>> >>> 3. Added the following ones to /etc/rc.conf >>> ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" >>> dhcpd_enable="YES" >>> dhcpd_conf="/usr/local/etc/dhcpd.conf" >>> dhcpd_ifaces="rl1" >>> >>> >>> 4. Opened the adequate port in pf >>> pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state >>> pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state >>> >>> 5.. When I start de daemon: >>> # /usr/local/etc/rc.d/isc-dhcpd start >>> Starting dhcpd. >>> Internet Systems Consortium DHCP Server V3.0.7 >>> Copyright 2004-2008 Internet Systems Consortium. >>> All rights reserved. >>> For info, please visit http://www.isc.org/sw/dhcp/ >>> Wrote 0 leases to leases file. >>> Listening on Socket/rl1/192.168.1/24 >>> Sending on Socket/rl1/192.168.1/24 >>> >>> Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? >>> >>> >>> Thanks! >>> Laci >>> >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > >>_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > start with the silly stuff what does ifconfig say for that interface From Trond.Endrestol at fagskolen.gjovik.no Sun Nov 1 11:31:13 2009 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Sun Nov 1 11:31:25 2009 Subject: dhcpd related issue In-Reply-To: <806321.83601.qm@web30807.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 1 Nov 2009 02:06-0800, D?nielisz L?szl? wrote: > I had one more idea: try nmap on my dhcp server, and port 67 does > not seems to be opened, after I tried telneting in and my connection > was refused: > > $ telnet 192.168.1.1 67 > Trying 192.168.1.1... > telnet: connect to address 192.168.1.1: Connection refused > telnet: Unable to connect to remote host DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. Do you have bpf (Berkeley packet filter) compiled in the kernel? dhcpd relies on bpf. Just a thought, although dhcpd would probably shut down if bpf is unavailable. As others have suggested, please post the output from ifconfig rl1, and from netstat -rnf inet. > Than I disabled pf > # pfctl -d > No ALTQ support in kernel > ALTQ related functions disabled > pf disabled Just another (silly) thought, does your pf setup allow UDP from 192.168.1.1:67 to *:68 over the rl1 interface? > Than I checked telnet/nmap again but still don't found any 67 port > ever there. I checked again that the dhcpd is running, and its up: > > # ps ax|grep dhcp > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > Any idea? Did you restart dhcpd? What's the output from fstat with respect to dhcpd? The output should be something resembling: dhcpd dhcpd 18990 root / 2 drwxr-xr-x 1024 r dhcpd dhcpd 18990 wd / 6 drwxr-xr-x 1024 r dhcpd dhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r dhcpd dhcpd 18990 0 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 1 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 2 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 3* local dgram c32224b4 <-> c32228bc dhcpd dhcpd 18990 4* internet raw icmp c32d8b2c dhcpd dhcpd 18990 5* internet dgram udp c3173974 dhcpd dhcpd 18990 6 /var 70999 -rw-r--r-- 93335 w dhcpd dhcpd 18990 7 /dev 7 crw------- bpf rw If you happen to have lsof installed, it should yield something like this: dhcpd 18990 1 dhcpd cwd VDIR 0,98 1024 6 /root dhcpd 18990 1 dhcpd rtd VDIR 0,98 1024 2 / dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 /usr/local/sbin/dhcpd dhcpd 18990 1 dhcpd txt VREG 0,98 220136 26684 /libexec/ld-elf.so.1 dhcpd 18990 1 dhcpd txt VREG 0,98 1143792 1327 /lib/libc.so.7 dhcpd 18990 1 dhcpd 0u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 1u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 2u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 3u unix 0xc31719a8 0t0 ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 SS=ISCONNECTED) dhcpd 18990 1 dhcpd 4u IPv4 0xc32d8b2c 0t0 ICMP *:* (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) dhcpd 18990 1 dhcpd 5u IPv4 0xc3175060 0t0 UDP *:bootps (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) dhcpd 18990 1 dhcpd 6w VREG 0,104 94061 70999 /var (/dev/ufs/var) dhcpd 18990 1 dhcpd 7u VCHR 0,7 0t26744985 7 /dev/bpf HTH, Trond. > ________________________________ > From: D?nielisz L?szl? > To: patrick > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 8:34:03 AM > Subject: Re: dhcpd related issue > > It's the same, I still don't got any IP address. > > > > > ________________________________ > From: patrick > To: D?nielisz L?szl? > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 6:38:31 AM > Subject: Re: dhcpd related issue > > What happens if you disable pf temporarily? > > 2009/10/31 D?nielisz L?szl? : > > Hello, > > > > I just configured my dhcpd but it gives no IP-s. > > What had I done until now: > > > > 1. Installed isc-dhcp via ports > > > > 2. edited the /usr/local/etc/dhcpd.conf > > > > option domain-name "bsd"; > > option domain-name-servers ; > > option subnet-mask 255.255.255.0; > > authoritative; > > > > default-lease-time 3600; > > max-lease-time 86400; > > ddns-update-style none; > > > > subnet 192.168.1.0 netmask 255.255.255.0 { > > range 192.168.1.129 192.168.1.250; > > option routers 192.168.1.1; > > } > > > > 3. Added the following ones to /etc/rc.conf > > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > > dhcpd_enable="YES" > > dhcpd_conf="/usr/local/etc/dhcpd.conf" > > dhcpd_ifaces="rl1" > > > > > > 4. Opened the adequate port in pf > > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > > > 5.. When I start de daemon: > > # /usr/local/etc/rc.d/isc-dhcpd start > > Starting dhcpd. > > Internet Systems Consortium DHCP Server V3.0.7 > > Copyright 2004-2008 Internet Systems Consortium. > > All rights reserved. > > For info, please visit http://www.isc.org/sw/dhcp/ > > Wrote 0 leases to leases file. > > Listening on Socket/rl1/192.168.1/24 > > Sending on Socket/rl1/192.168.1/24 > > > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > > > > Thanks! > > Laci - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 7.2-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrtcXsACgkQbYWZalUoElvP0gCeLU+/YYnZ07hy2K5atOeN35kj yk4Ani+Ip66CWpzIzp8986tIu9Ya172n =ksU6 -----END PGP SIGNATURE----- From Trond.Endrestol at fagskolen.gjovik.no Sun Nov 1 11:48:57 2009 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Sun Nov 1 11:49:04 2009 Subject: dhcpd related issue In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 1 Nov 2009 12:30+0100, Trond Endrest?l wrote: > On Sun, 1 Nov 2009 02:06-0800, D?nielisz L?szl? wrote: > > > I had one more idea: try nmap on my dhcp server, and port 67 does > > not seems to be opened, after I tried telneting in and my connection > > was refused: > > > > $ telnet 192.168.1.1 67 > > Trying 192.168.1.1... > > telnet: connect to address 192.168.1.1: Connection refused > > telnet: Unable to connect to remote host > > DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. > > Do you have bpf (Berkeley packet filter) compiled in the kernel? > dhcpd relies on bpf. Just a thought, although dhcpd would probably > shut down if bpf is unavailable. > > As others have suggested, please post the output from ifconfig rl1, > and from netstat -rnf inet. > > > Than I disabled pf > > # pfctl -d > > No ALTQ support in kernel > > ALTQ related functions disabled > > pf disabled > > Just another (silly) thought, does your pf setup allow UDP from > 192.168.1.1:67 to *:68 over the rl1 interface? Initially the DHCP client uses 0.0.0.0 as its IP address and broadcasts the DHCP requests to 255.255.255.255. I know you have disabled pf, but you should later allow the clients and dhcpd to send DHCP messages using the above addresses, i.e. dhcpd will broadcast back the offerings using its own IP-address as source (192.168.1.1 in your case) and the broadcast address 255.255.255.255 as destination. You should probably also allow for the use of 192.168.1.255 as broadcast address in your pf setup with respect to DHCP messages. More ranting on my part, Trond. > > Than I checked telnet/nmap again but still don't found any 67 port > > ever there. I checked again that the dhcpd is running, and its up: > > > > # ps ax|grep dhcp > > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > > > Any idea? > > Did you restart dhcpd? > What's the output from fstat with respect to dhcpd? > > The output should be something resembling: > > dhcpd dhcpd 18990 root / 2 drwxr-xr-x 1024 r > dhcpd dhcpd 18990 wd / 6 drwxr-xr-x 1024 r > dhcpd dhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r > dhcpd dhcpd 18990 0 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 1 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 2 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 3* local dgram c32224b4 <-> c32228bc > dhcpd dhcpd 18990 4* internet raw icmp c32d8b2c > dhcpd dhcpd 18990 5* internet dgram udp c3173974 > dhcpd dhcpd 18990 6 /var 70999 -rw-r--r-- 93335 w > dhcpd dhcpd 18990 7 /dev 7 crw------- bpf rw > > If you happen to have lsof installed, it should yield something like > this: > > dhcpd 18990 1 dhcpd cwd VDIR 0,98 1024 6 /root > dhcpd 18990 1 dhcpd rtd VDIR 0,98 1024 2 / > dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 /usr/local/sbin/dhcpd > dhcpd 18990 1 dhcpd txt VREG 0,98 220136 26684 /libexec/ld-elf.so.1 > dhcpd 18990 1 dhcpd txt VREG 0,98 1143792 1327 /lib/libc.so.7 > dhcpd 18990 1 dhcpd 0u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 1u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 2u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 3u unix 0xc31719a8 0t0 ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 SS=ISCONNECTED) > dhcpd 18990 1 dhcpd 4u IPv4 0xc32d8b2c 0t0 ICMP *:* (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) > dhcpd 18990 1 dhcpd 5u IPv4 0xc3175060 0t0 UDP *:bootps (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) > dhcpd 18990 1 dhcpd 6w VREG 0,104 94061 70999 /var (/dev/ufs/var) > dhcpd 18990 1 dhcpd 7u VCHR 0,7 0t26744985 7 /dev/bpf > > > HTH, > Trond. > > > ________________________________ > > From: D?nielisz L?szl? > > To: patrick > > Cc: freebsd-questions@freebsd.org > > Sent: Sun, November 1, 2009 8:34:03 AM > > Subject: Re: dhcpd related issue > > > > It's the same, I still don't got any IP address. > > > > > > > > > > ________________________________ > > From: patrick > > To: D?nielisz L?szl? > > Cc: freebsd-questions@freebsd.org > > Sent: Sun, November 1, 2009 6:38:31 AM > > Subject: Re: dhcpd related issue > > > > What happens if you disable pf temporarily? > > > > 2009/10/31 D?nielisz L?szl? : > > > Hello, > > > > > > I just configured my dhcpd but it gives no IP-s. > > > What had I done until now: > > > > > > 1. Installed isc-dhcp via ports > > > > > > 2. edited the /usr/local/etc/dhcpd.conf > > > > > > option domain-name "bsd"; > > > option domain-name-servers ; > > > option subnet-mask 255.255.255.0; > > > authoritative; > > > > > > default-lease-time 3600; > > > max-lease-time 86400; > > > ddns-update-style none; > > > > > > subnet 192.168.1.0 netmask 255.255.255.0 { > > > range 192.168.1.129 192.168.1.250; > > > option routers 192.168.1.1; > > > } > > > > > > 3. Added the following ones to /etc/rc.conf > > > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > > > dhcpd_enable="YES" > > > dhcpd_conf="/usr/local/etc/dhcpd.conf" > > > dhcpd_ifaces="rl1" > > > > > > > > > 4. Opened the adequate port in pf > > > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > > > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > > > > > 5.. When I start de daemon: > > > # /usr/local/etc/rc.d/isc-dhcpd start > > > Starting dhcpd. > > > Internet Systems Consortium DHCP Server V3.0.7 > > > Copyright 2004-2008 Internet Systems Consortium. > > > All rights reserved. > > > For info, please visit http://www.isc.org/sw/dhcp/ > > > Wrote 0 leases to leases file. > > > Listening on Socket/rl1/192.168.1/24 > > > Sending on Socket/rl1/192.168.1/24 > > > > > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > > > > > > > Thanks! > > > Laci - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 7.2-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrtdaIACgkQbYWZalUoElsSkgCdFCF8uxSXyw4tckkrz8/sE2vI xb0An1AKlAoBKrcBYfEXPfXGGRKuYefU =QnuU -----END PGP SIGNATURE----- From laszlo_danielisz at yahoo.com Sun Nov 1 11:50:18 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 11:50:26 2009 Subject: dhcpd related issue In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> Message-ID: <362244.82968.qm@web30804.mail.mud.yahoo.com> The output of: # ifconfig rl1 rl1: flags=8943 metric 0 mtu 1500 options=8 ether 00:13:8f:86:2f:64 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active And: # netstat -rnf inet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default UGS 0 116905 tun0 link#4 UHS 0 0 lo0 link#6 UHS 0 0 tun0 127.0.0.1 link#4 UH 0 327 lo0 192.168.1.0/24 link#2 U 1 99038 rl1 192.168.1.1 link#4 UHS 0 0 lo0 I'm usinf FreeBSD 8.0, right now I try to figure out how to check if bpf is comipled in the generic kernel; just to mention: # /usr/local/etc/rc.d/isc-dhcpd status dhcpd is running as pid 3716. ________________________________ From: Trond Endrest?l To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:30:52 PM Subject: Re: dhcpd related issue -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 1 Nov 2009 02:06-0800, D?nielisz L?szl? wrote: > I had one more idea: try nmap on my dhcp server, and port 67 does > not seems to be opened, after I tried telneting in and my connection > was refused: > > $ telnet 192.168.1.1 67 > Trying 192.168.1.1... > telnet: connect to address 192.168.1.1: Connection refused > telnet: Unable to connect to remote host DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. Do you have bpf (Berkeley packet filter) compiled in the kernel? dhcpd relies on bpf. Just a thought, although dhcpd would probably shut down if bpf is unavailable. As others have suggested, please post the output from ifconfig rl1, and from netstat -rnf inet. > Than I disabled pf > # pfctl -d > No ALTQ support in kernel > ALTQ related functions disabled > pf disabled Just another (silly) thought, does your pf setup allow UDP from 192.168.1.1:67 to *:68 over the rl1 interface? > Than I checked telnet/nmap again but still don't found any 67 port > ever there. I checked again that the dhcpd is running, and its up: > > # ps ax|grep dhcp > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > Any idea? Did you restart dhcpd? What's the output from fstat with respect to dhcpd? The output should be something resembling: dhcpd dhcpd 18990 root / 2 drwxr-xr-x 1024 r dhcpd dhcpd 18990 wd / 6 drwxr-xr-x 1024 r dhcpd dhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r dhcpd dhcpd 18990 0 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 1 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 2 /dev 14 crw-rw-rw- null rw dhcpd dhcpd 18990 3* local dgram c32224b4 <-> c32228bc dhcpd dhcpd 18990 4* internet raw icmp c32d8b2c dhcpd dhcpd 18990 5* internet dgram udp c3173974 dhcpd dhcpd 18990 6 /var 70999 -rw-r--r-- 93335 w dhcpd dhcpd 18990 7 /dev 7 crw------- bpf rw If you happen to have lsof installed, it should yield something like this: dhcpd 18990 1 dhcpd cwd VDIR 0,98 1024 6 /root dhcpd 18990 1 dhcpd rtd VDIR 0,98 1024 2 / dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 /usr/local/sbin/dhcpd dhcpd 18990 1 dhcpd txt VREG 0,98 220136 26684 /libexec/ld-elf.so.1 dhcpd 18990 1 dhcpd txt VREG 0,98 1143792 1327 /lib/libc.so.7 dhcpd 18990 1 dhcpd 0u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 1u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 2u VCHR 0,14 0t0 14 /dev/null dhcpd 18990 1 dhcpd 3u unix 0xc31719a8 0t0 ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 SS=ISCONNECTED) dhcpd 18990 1 dhcpd 4u IPv4 0xc32d8b2c 0t0 ICMP *:* (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) dhcpd 18990 1 dhcpd 5u IPv4 0xc3175060 0t0 UDP *:bootps (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) dhcpd 18990 1 dhcpd 6w VREG 0,104 94061 70999 /var (/dev/ufs/var) dhcpd 18990 1 dhcpd 7u VCHR 0,7 0t26744985 7 /dev/bpf HTH, Trond. > ________________________________ > From: D?nielisz L?szl? > To: patrick > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 8:34:03 AM > Subject: Re: dhcpd related issue > > It's the same, I still don't got any IP address. > > > > > ________________________________ > From: patrick > To: D?nielisz L?szl? > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 6:38:31 AM > Subject: Re: dhcpd related issue > > What happens if you disable pf temporarily? > > 2009/10/31 D?nielisz L?szl? : > > Hello, > > > > I just configured my dhcpd but it gives no IP-s. > > What had I done until now: > > > > 1. Installed isc-dhcp via ports > > > > 2. edited the /usr/local/etc/dhcpd.conf > > > > option domain-name "bsd"; > > option domain-name-servers ; > > option subnet-mask 255.255.255.0; > > authoritative; > > > > default-lease-time 3600; > > max-lease-time 86400; > > ddns-update-style none; > > > > subnet 192.168.1.0 netmask 255.255.255.0 { > > range 192.168.1.129 192.168.1.250; > > option routers 192.168.1.1; > > } > > > > 3. Added the following ones to /etc/rc.conf > > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > > dhcpd_enable="YES" > > dhcpd_conf="/usr/local/etc/dhcpd.conf" > > dhcpd_ifaces="rl1" > > > > > > 4. Opened the adequate port in pf > > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > > > 5.. When I start de daemon: > > # /usr/local/etc/rc.d/isc-dhcpd start > > Starting dhcpd. > > Internet Systems Consortium DHCP Server V3.0.7 > > Copyright 2004-2008 Internet Systems Consortium. > > All rights reserved. > > For info, please visit http://www.isc.org/sw/dhcp/ > > Wrote 0 leases to leases file. > > Listening on Socket/rl1/192.168.1/24 > > Sending on Socket/rl1/192.168.1/24 > > > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > > > > Thanks! > > Laci - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 7.2-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrtcXsACgkQbYWZalUoElvP0gCeLU+/YYnZ07hy2K5atOeN35kj yk4Ani+Ip66CWpzIzp8986tIu9Ya172n =ksU6 -----END PGP SIGNATURE----- From laszlo_danielisz at yahoo.com Sun Nov 1 12:14:39 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 12:14:47 2009 Subject: dhcpd related issue In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> Message-ID: <905594.22832.qm@web30802.mail.mud.yahoo.com> Thank you Trond! True and I'll implement this to my pf.conf just first I want to make work this dhcpd :-) ________________________________ From: Trond Endrest?l To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:48:45 PM Subject: Re: dhcpd related issue -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 1 Nov 2009 12:30+0100, Trond Endrest?l wrote: > On Sun, 1 Nov 2009 02:06-0800, D?nielisz L?szl? wrote: > > > I had one more idea: try nmap on my dhcp server, and port 67 does > > not seems to be opened, after I tried telneting in and my connection > > was refused: > > > > $ telnet 192.168.1.1 67 > > Trying 192.168.1.1... > > telnet: connect to address 192.168.1.1: Connection refused > > telnet: Unable to connect to remote host > > DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. > > Do you have bpf (Berkeley packet filter) compiled in the kernel? > dhcpd relies on bpf. Just a thought, although dhcpd would probably > shut down if bpf is unavailable. > > As others have suggested, please post the output from ifconfig rl1, > and from netstat -rnf inet. > > > Than I disabled pf > > # pfctl -d > > No ALTQ support in kernel > > ALTQ related functions disabled > > pf disabled > > Just another (silly) thought, does your pf setup allow UDP from > 192.168.1.1:67 to *:68 over the rl1 interface? Initially the DHCP client uses 0.0.0.0 as its IP address and broadcasts the DHCP requests to 255.255.255.255. I know you have disabled pf, but you should later allow the clients and dhcpd to send DHCP messages using the above addresses, i.e. dhcpd will broadcast back the offerings using its own IP-address as source (192.168.1.1 in your case) and the broadcast address 255.255.255.255 as destination. You should probably also allow for the use of 192.168.1.255 as broadcast address in your pf setup with respect to DHCP messages. More ranting on my part, Trond. > > Than I checked telnet/nmap again but still don't found any 67 port > > ever there. I checked again that the dhcpd is running, and its up: > > > > # ps ax|grep dhcp > > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > > > Any idea? > > Did you restart dhcpd? > What's the output from fstat with respect to dhcpd? > > The output should be something resembling: > > dhcpd dhcpd 18990 root / 2 drwxr-xr-x 1024 r > dhcpd dhcpd 18990 wd / 6 drwxr-xr-x 1024 r > dhcpd dhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r > dhcpd dhcpd 18990 0 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 1 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 2 /dev 14 crw-rw-rw- null rw > dhcpd dhcpd 18990 3* local dgram c32224b4 <-> c32228bc > dhcpd dhcpd 18990 4* internet raw icmp c32d8b2c > dhcpd dhcpd 18990 5* internet dgram udp c3173974 > dhcpd dhcpd 18990 6 /var 70999 -rw-r--r-- 93335 w > dhcpd dhcpd 18990 7 /dev 7 crw------- bpf rw > > If you happen to have lsof installed, it should yield something like > this: > > dhcpd 18990 1 dhcpd cwd VDIR 0,98 1024 6 /root > dhcpd 18990 1 dhcpd rtd VDIR 0,98 1024 2 / > dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 /usr/local/sbin/dhcpd > dhcpd 18990 1 dhcpd txt VREG 0,98 220136 26684 /libexec/ld-elf.so.1 > dhcpd 18990 1 dhcpd txt VREG 0,98 1143792 1327 /lib/libc.so.7 > dhcpd 18990 1 dhcpd 0u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 1u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 2u VCHR 0,14 0t0 14 /dev/null > dhcpd 18990 1 dhcpd 3u unix 0xc31719a8 0t0 ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 SS=ISCONNECTED) > dhcpd 18990 1 dhcpd 4u IPv4 0xc32d8b2c 0t0 ICMP *:* (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) > dhcpd 18990 1 dhcpd 5u IPv4 0xc3175060 0t0 UDP *:bootps (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) > dhcpd 18990 1 dhcpd 6w VREG 0,104 94061 70999 /var (/dev/ufs/var) > dhcpd 18990 1 dhcpd 7u VCHR 0,7 0t26744985 7 /dev/bpf > > > HTH, > Trond. > > > ________________________________ > > From: D?nielisz L?szl? > > To: patrick > > Cc: freebsd-questions@freebsd.org > > Sent: Sun, November 1, 2009 8:34:03 AM > > Subject: Re: dhcpd related issue > > > > It's the same, I still don't got any IP address. > > > > > > > > > > ________________________________ > > From: patrick > > To: D?nielisz L?szl? > > Cc: freebsd-questions@freebsd.org > > Sent: Sun, November 1, 2009 6:38:31 AM > > Subject: Re: dhcpd related issue > > > > What happens if you disable pf temporarily? > > > > 2009/10/31 D?nielisz L?szl? : > > > Hello, > > > > > > I just configured my dhcpd but it gives no IP-s. > > > What had I done until now: > > > > > > 1. Installed isc-dhcp via ports > > > > > > 2. edited the /usr/local/etc/dhcpd.conf > > > > > > option domain-name "bsd"; > > > option domain-name-servers ; > > > option subnet-mask 255.255.255.0; > > > authoritative; > > > > > > default-lease-time 3600; > > > max-lease-time 86400; > > > ddns-update-style none; > > > > > > subnet 192.168.1.0 netmask 255.255.255.0 { > > > range 192.168.1.129 192.168.1.250; > > > option routers 192.168.1.1; > > > } > > > > > > 3. Added the following ones to /etc/rc.conf > > > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > > > dhcpd_enable="YES" > > > dhcpd_conf="/usr/local/etc/dhcpd.conf" > > > dhcpd_ifaces="rl1" > > > > > > > > > 4. Opened the adequate port in pf > > > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state > > > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state > > > > > > 5.. When I start de daemon: > > > # /usr/local/etc/rc.d/isc-dhcpd start > > > Starting dhcpd. > > > Internet Systems Consortium DHCP Server V3.0.7 > > > Copyright 2004-2008 Internet Systems Consortium. > > > All rights reserved. > > > For info, please visit http://www.isc.org/sw/dhcp/ > > > Wrote 0 leases to leases file. > > > Listening on Socket/rl1/192.168.1/24 > > > Sending on Socket/rl1/192.168.1/24 > > > > > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? > > > > > > > > > Thanks! > > > Laci - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 7.2-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrtdaIACgkQbYWZalUoElsSkgCdFCF8uxSXyw4tckkrz8/sE2vI xb0An1AKlAoBKrcBYfEXPfXGGRKuYefU =QnuU -----END PGP SIGNATURE----- From kraduk at googlemail.com Sun Nov 1 12:39:15 2009 From: kraduk at googlemail.com (krad) Date: Sun Nov 1 12:39:23 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <367136.24680.qm@web30807.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <367136.24680.qm@web30807.mail.mud.yahoo.com> Message-ID: 2009/11/1 D?nielisz L?szl? > Well, it says: > > rl1: flags=8943 metric 0 > mtu 1500 > options=8 > ether 00:13:8f:86:2f:64 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > > ------------------------------ > *From:* krad > > *To:* D?nielisz L?szl? > *Cc:* freebsd-questions@freebsd.org > *Sent:* Sun, November 1, 2009 12:09:30 PM > *Subject:* Re: dhcpd related issue - not giving up > > > > 2009/11/1 D?nielisz L?szl? > >> I don't give it up, doing some tcpdump on my BSD I can see the dhcp >> request reaches the machine, the dhcpd is running, but why doesn't gives any >> IP? >> >> # tcpdump -i rl1 -n port 67 or port 68 >> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >> listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >> 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:24:03:f1:bd:36, length 300 >> 11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> 11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >> from 00:23:6c:86:41:d9, length 300 >> >> >> >> >> >> >> ________________________________ >> From: D?nielisz L?szl? >> To: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 11:06:36 AM >> Subject: Re: dhcpd related issue >> >> I had one more idea: try nmap on my dhcp server, and port 67 does not >> seems to be opened, after I tried telneting in and my connection was >> refused: >> >> $ telnet 192.168.1.1 67 >> Trying 192.168.1.1... >> telnet: connect to address 192.168.1.1: Connection refused >> telnet: Unable to connect to remote host >> >> Than I disabled pf >> # pfctl -d >> No ALTQ support in kernel >> ALTQ related functions disabled >> pf disabled >> >> Than I checked telnet/nmap again but still don't found any 67 port ever >> there. I checked again that the dhcpd is running, and its up: >> # ps ax|grep dhcp >> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf >> /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease >> >> Any idea? >> >> >> >> >> ________________________________ >> From: D?nielisz L?szl? >> To: patrick >> Cc: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 8:34:03 AM >> Subject: Re: dhcpd related issue >> >> It's the same, I still don't got any IP address. >> >> >> >> >> ________________________________ >> From: patrick >> To: D?nielisz L?szl? >> Cc: freebsd-questions@freebsd.org >> Sent: Sun, November 1, 2009 6:38:31 AM >> Subject: Re: dhcpd related issue >> >> What happens if you disable pf temporarily? >> >> 2009/10/31 D?nielisz L?szl? : >> > Hello, >> > >> > I just configured my dhcpd but it gives no IP-s. >> > What had I done until now: >> > >> > 1. Installed isc-dhcp via ports >> > >> > 2. edited the /usr/local/etc/dhcpd.conf >> > >> > option domain-name "bsd"; >> > option domain-name-servers ; >> > option subnet-mask 255.255.255.0; >> > authoritative; >> > >> > default-lease-time 3600; >> > max-lease-time 86400; >> > ddns-update-style none; >> > >> > subnet 192.168.1.0 netmask 255.255.255.0 { >> > range 192.168.1.129 192.168.1.250; >> > option routers 192.168.1.1; >> > } >> > >> > 3. Added the following ones to /etc/rc.conf >> > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" >> > dhcpd_enable="YES" >> > dhcpd_conf="/usr/local/etc/dhcpd.conf" >> > dhcpd_ifaces="rl1" >> > >> > >> > 4. Opened the adequate port in pf >> > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 >> port = bootps flags S/SA keep state >> > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 >> port = bootps keep state >> > >> > 5.. When I start de daemon: >> > # /usr/local/etc/rc.d/isc-dhcpd start >> > Starting dhcpd. >> > Internet Systems Consortium DHCP Server V3.0.7 >> > Copyright 2004-2008 Internet Systems Consortium. >> > All rights reserved. >> > For info, please visit http://www.isc.org/sw/dhcp/ >> > Wrote 0 leases to leases file. >> > Listening on Socket/rl1/192.168.1/24 >> > Sending on Socket/rl1/192.168.1/24 >> > >> > Everythings looks to be ok there but on the client (I tried OS-X and >> Nokia symbian) I can not obtain the IP address, do you have any idea what >> should I check? >> > >> > >> > Thanks! >> > Laci >> > >> > >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > start with the silly stuff what does ifconfig say for that interface > > looks good are you using a managed or unmanaged switch . If its managed check the settings on it, VLANs, and whether it is forwarding broadcasts etc From usleepless at gmail.com Sun Nov 1 13:17:36 2009 From: usleepless at gmail.com (usleepless@gmail.com) Date: Sun Nov 1 13:17:43 2009 Subject: system() call causes core dump In-Reply-To: <4AEC5E02.8040705@FreeBSD.org> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> Message-ID: On Sat, Oct 31, 2009 at 4:55 PM, Kris Kennaway wrote: > Peter Steele wrote: > >> I have an application running a number of threads. I've had recent >> instances where the code below is causing a core dump to occur: >> >> char fstatCmd[200]; >> char *fstatOut = "/tmp/fstat.out"; >> sprintf(fstatCmd, "fstat | grep -v USER | wc -l >%s", fstatOut); >> rc = system(fstatCmd); >> >> The call is simply intended to get a count of the current open handles. >> The system call though causes a core: >> >> #0 0x0000000801058307 in _spinunlock () from /lib/libthr.so.3 >> #1 0x00000008011d0afb in _malloc_postfork () from /lib/libc.so.7 >> #2 0x000000080105c5fb in fork () from /lib/libthr.so.3 >> #3 0x0000000801191aae in system () from /lib/libc.so.7 >> #4 0x00000008010553aa in system () from /lib/libthr.so.3 >> #5 0x000000000040b6f9 in mythread at myapp.c:461 >> #6 0x0000000801056a88 in pthread_getprio () from /lib/libthr.so.3 >> >> There appears to be some kind of thread-safe issue going on. I have a >> number of threads that are monitoring various items, waking up a differing >> intervals to do their respective tasks. Do I need to put in a global mutex >> so that the threads never attempt to make simultaneous system() calls? >> Curiously, only this particular system() call appears to be causing a core. >> > > In UNIX it is not safe to perform arbitrary actions after forking a > multi-threaded process. You're basically expected to call exec soon after > the fork, although you can do certain other work if you are very careful. > > The reason for this is that after the fork, only one thread will be running > in the child, and if that thread tries to acquire a lock or other > formerly-shared resource it may deadlock or crash, because the child process > is no longer accessing the same memory location as the threads in the parent > process (it gets a separate copy of the address space at the time of fork, > which may not be in a consistent state from the point of view of the thread > library). > Are you saying system/popen can't be used in threads? Is there a workaround? ( forking manual and executing exec? ) Would calling 'system("exec fstat | ... > result.txt")' make any difference? just curious, kind regards, usleep From laszlo_danielisz at yahoo.com Sun Nov 1 13:22:55 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 13:23:03 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <367136.24680.qm@web30807.mail.mud.yahoo.com> Message-ID: <590678.95241.qm@web30803.mail.mud.yahoo.com> Right now I'm using a layer 3 switch but I also tried with direct UTP connection between BSD-s rl1 port and MacBook's en0 port and I experience the same. ________________________________ From: krad To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 1:39:13 PM Subject: Re: dhcpd related issue - not giving up 2009/11/1 D?nielisz L?szl? Well, it says: > >rl1: flags=8943 metric 0 mtu 1500 > options=8 >> ether 00:13:8f:86:2f:64 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > > > > ________________________________ From: krad > >To: D?nielisz L?szl? > >Cc: freebsd-questions@freebsd.org >Sent: Sun, November 1, 2009 12:09:30 PM >Subject: Re: dhcpd related issue - not giving up > > > > > >2009/11/1 D?nielisz L?szl? > >>> >>I don't give it up, doing some tcpdump on my BSD I can see the dhcp request reaches the machine, the dhcpd is running, but why doesn't gives any IP? >> >>>># tcpdump -i rl1 -n port 67 or port 68 >>>>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >>>>listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >>>>11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 >>>>11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>>>11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>>>11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>>>11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>>>11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >>>>11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 >> >> >> >> >> >> >>>>________________________________ >>>>From: D?nielisz L?szl? >>>>To: freebsd-questions@freebsd.org >>>>Sent: Sun, November 1, 2009 11:06:36 AM >>>>Subject: Re: dhcpd related issue >> >>>>I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: >> >>>>$ telnet 192.168.1.1 67 >>>>Trying 192.168.1.1... >>>>telnet: connect to address 192.168.1.1: Connection refused >>>>telnet: Unable to connect to remote host >> >>>>Than I disabled pf >>>># pfctl -d >>>>No ALTQ support in kernel >>>>ALTQ related functions disabled >>>>pf disabled >> >>>>Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: >>>># ps ax|grep dhcp >>>> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease >> >>>>Any idea? >> >> >> >> >>>>________________________________ >>>>From: D?nielisz L?szl? >>>>To: patrick >>>>Cc: freebsd-questions@freebsd.org >>>>Sent: Sun, November 1, 2009 8:34:03 AM >>>>Subject: Re: dhcpd related issue >> >>>>It's the same, I still don't got any IP address. >> >> >> >> >>>>________________________________ >>>>From: patrick >>>>To: D?nielisz L?szl? >>>>Cc: freebsd-questions@freebsd.org >>>>Sent: Sun, November 1, 2009 6:38:31 AM >>>>Subject: Re: dhcpd related issue >> >>>>What happens if you disable pf temporarily? >> >>>>2009/10/31 D?nielisz L?szl? : >>>>> Hello, >>>>> >>>>> I just configured my dhcpd but it gives no IP-s. >>>>> What had I done until now: >>>>> >>>>> 1. Installed isc-dhcp via ports >>>>> >>>>> 2. edited the /usr/local/etc/dhcpd.conf >>>>> >>>>> option domain-name "bsd"; >>>>> option domain-name-servers ; >>>>> option subnet-mask 255.255.255.0; >>>>> authoritative; >>>>> >>>>> default-lease-time 3600; >>>>> max-lease-time 86400; >>>>> ddns-update-style none; >>>>> >>>>> subnet 192.168.1.0 netmask 255.255.255.0 { >>>>> range 192.168.1.129 192.168.1.250; >>>>> option routers 192.168.1.1; >>>>> } >>>>> >>>>> 3. Added the following ones to /etc/rc.conf >>>>> ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" >>>>> dhcpd_enable="YES" >>>>> dhcpd_conf="/usr/local/etc/dhcpd.conf" >>>>> dhcpd_ifaces="rl1" >>>>> >>>>> >>>>> 4. Opened the adequate port in pf >>>>> pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state >>>>> pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state >>>>> >>>>> 5.. When I start de daemon: >>>>> # /usr/local/etc/rc.d/isc-dhcpd start >>>>> Starting dhcpd. >>>>> Internet Systems Consortium DHCP Server V3.0.7 >>>>> Copyright 2004-2008 Internet Systems Consortium. >>>>> All rights reserved. >>>>> For info, please visit http://www.isc.org/sw/dhcp/ >>>>> Wrote 0 leases to leases file. >>>>> Listening on Socket/rl1/192.168.1/24 >>>>> Sending on Socket/rl1/192.168.1/24 >>>>> >>>>> Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? >>>>> >>>>> >>>>> Thanks! >>>>> Laci >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>>>> >>>>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >>>>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >>>>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >>>>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >start with the silly stuff what does ifconfig say for that interface > > looks good are you using a managed or unmanaged switch . If its managed check the settings on it, VLANs, and whether it is forwarding broadcasts etc From yuri at rawbw.com Sun Nov 1 15:57:22 2009 From: yuri at rawbw.com (Yuri) Date: Sun Nov 1 15:57:31 2009 Subject: Why after packages update my 'startx' gives me a message: Protocol not supported by server. Message-ID: <4AEDAFE0.5070900@rawbw.com> It keeps repeating this line in original terminal, putting line ".." in between. So it looks like this: Protocol not supported by server. .. Protocol not supported by server. .. Protocol not supported by server. .. Now I have to start just 'Xorg', it starts bare X. And from another terminal I have to start kde: "DISPLAY=localhost:0.0 /usr/local/kde4/bin/kde" Then it works ok. My .xinitrc looks like this: export LANG=en_US.UTF-8 export XMODIFIERS='@im=SCIM' export GTK_IM_MODULE=scim export QT_IM_MODULE=scim export XIM=SCIM export XIM_PROGRAM=SCIM exec scim -d & /usr/local/kde4/bin/startkde Yuri From tajudd at gmail.com Sun Nov 1 16:42:35 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Nov 1 16:42:46 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <49594.91061.qm@web30806.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: is your dhcpd authoritative? From laszlo_danielisz at yahoo.com Sun Nov 1 16:53:17 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 16:53:23 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: <479349.15334.qm@web30804.mail.mud.yahoo.com> It's the only one on the network. ________________________________ From: Tim Judd To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 5:41:58 PM Subject: Re: dhcpd related issue - not giving up is your dhcpd authoritative? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From nightrecon at hotmail.com Sun Nov 1 17:28:32 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Nov 1 17:28:39 2009 Subject: dhcpd related issue - not giving up References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: D?nielisz L?szl? wrote: > I don't give it up, doing some tcpdump on my BSD I can see the dhcp > request reaches the machine, the dhcpd is running, but why doesn't gives > any IP? > > # tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 > > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 [snip] I only have a couple if ideas. First, is it possible to substitute some other non rl or re NIC for rl1? I seem to recall something about these cards having some sort of problem like this. This test would eliminate that idea. Also, right after a client machine requests a lease examine your arp tables on both machines. Maybe the dhcpd server is confused and sending the reply out the wrong interface? sockstat -4l can confirm which/what interface dhcpd is listening on, compare with arp results. Theoretically if dhcpd is bound to and listening on rl1 there shouldn't be any replies going out rl0. Check to eliminate. Wrt to a managed switch blocking ports, I think you probably ruled this out by connecting the machines to each other. Note that for GigE, or NICs that do MDI-X properly any cable will work. However, on many older 100baseTX cards this would need to be using a crossover cable to function correctly. You can also broaden your tcpdump to include arp traffic. When the output files become cumbersome to examine it's easier to look at them in Wireshark. I have a hunch if rl1 could be replaced with some old fxp or sk card lying around it might work. YMMV -Mike From nightrecon at hotmail.com Sun Nov 1 18:01:20 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Nov 1 18:01:27 2009 Subject: Why after packages update my 'startx' gives me a message: Protocol not supported by server. References: <4AEDAFE0.5070900@rawbw.com> Message-ID: Yuri wrote: > It keeps repeating this line in original terminal, putting line ".." in > between. So it looks like this: > Protocol not supported by server. > .. > Protocol not supported by server. > .. > Protocol not supported by server. > .. > > > Now I have to start just 'Xorg', it starts bare X. And from another > terminal I have to start kde: "DISPLAY=localhost:0.0 > /usr/local/kde4/bin/kde" > Then it works ok. > > My .xinitrc looks like this: > > export LANG=en_US.UTF-8 > export XMODIFIERS='@im=SCIM' > export GTK_IM_MODULE=scim > export QT_IM_MODULE=scim > export XIM=SCIM > export XIM_PROGRAM=SCIM > exec scim -d & > /usr/local/kde4/bin/startkde > My first wild guess would be take out all the scim lines in your .xinitrc and see if the messages disappear. I know xorg.conf isn't supposed to be 'needed' any longer, what with Xorg's supposed ability to auto configure, but you might want to look at the Xorg docs for configuring scim in Xorg. I don't use it myself but have seen something about it in the docs. Once the support has been added/configured then look in the KDE desktop config utility and set it up there too. -Mike From bahamasfranks at gmail.com Sun Nov 1 18:04:26 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Sun Nov 1 18:04:33 2009 Subject: dvdauthor can't find fribidi headers? Message-ID: <539c60b90911011004u745830f3r187c73155e9859f6@mail.gmail.com> Seems as dvdauthor is broken on 8-rc1...anything I might have done? Steve [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean ===> Building for dvdauthor-0.6.14_4 Making all in doc gmake[1]: Entering directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' Making all in src gmake[1]: Entering directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' gmake all-am gmake[2]: Entering directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f ".deps/subreader.Tpo"; exit 1; fi subreader.c: In function 'sub_read_line_aqt': subreader.c:661: warning: comparison with string literal results in unspecified behaviour subreader.c:661: warning: comparison with string literal results in unspecified behaviour subreader.c: In function 'sub_read_line_subrip09': subreader.c:717: warning: comparison with string literal results in unspecified behaviour subreader.c: In function 'sub_fribidi': subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function) subreader.c:1082: error: (Each undeclared identifier is reported only once subreader.c:1082: error: for each function it appears in.) subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function) subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from incompatible pointer type gmake[2]: *** [subreader.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/multimedia/dvdauthor. [steve@fyre /usr/ports/multimedia/dvdauthor]$ From laszlo_danielisz at yahoo.com Sun Nov 1 18:27:49 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Sun Nov 1 18:27:57 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> Message-ID: <981633.62756.qm@web30802.mail.mud.yahoo.com> I also though that maybe the rl NIC can be wrong, I will try another branded NIC as soon as it will be possible, until than I looked for arp an socksat right after dhcp request, these are my results: mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 no answer bsd# tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:32:dc:72:19, length 250 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:32:dc:72:19, length 250 bsd# arp -a ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my MacBook ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is the layer 3 switch # sockstat -4l | grep dhcp dhcpd dhcpd 4747 7 udp4 *:67 *:* mac# arp -a .pool.hdsnet.hu () at 4a:55:88:7c:44:4f on tap0 ifscope [ethernet] bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet] ________________________________ From: Michael Powell To: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:29:04 PM Subject: Re: dhcpd related issue - not giving up D?nielisz L?szl? wrote: > I don't give it up, doing some tcpdump on my BSD I can see the dhcp > request reaches the machine, the dhcpd is running, but why doesn't gives > any IP? > > # tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 > > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 [snip] I only have a couple if ideas. First, is it possible to substitute some other non rl or re NIC for rl1? I seem to recall something about these cards having some sort of problem like this. This test would eliminate that idea. Also, right after a client machine requests a lease examine your arp tables on both machines. Maybe the dhcpd server is confused and sending the reply out the wrong interface? sockstat -4l can confirm which/what interface dhcpd is listening on, compare with arp results. Theoretically if dhcpd is bound to and listening on rl1 there shouldn't be any replies going out rl0. Check to eliminate. Wrt to a managed switch blocking ports, I think you probably ruled this out by connecting the machines to each other. Note that for GigE, or NICs that do MDI-X properly any cable will work. However, on many older 100baseTX cards this would need to be using a crossover cable to function correctly. You can also broaden your tcpdump to include arp traffic. When the output files become cumbersome to examine it's easier to look at them in Wireshark. I have a hunch if rl1 could be replaced with some old fxp or sk card lying around it might work. YMMV -Mike _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From peter.piggybox at virgin.net Sun Nov 1 19:14:10 2009 From: peter.piggybox at virgin.net (Peter Harrison) Date: Sun Nov 1 19:14:17 2009 Subject: dvdauthor can't find fribidi headers? In-Reply-To: <539c60b90911011004u745830f3r187c73155e9859f6@mail.gmail.com> References: <539c60b90911011004u745830f3r187c73155e9859f6@mail.gmail.com> Message-ID: <20091101181407.GA2423@laptop.piggybox> Sunday, 1 November 2009 at 11:04:26 -0700, Steve Franks said: > Seems as dvdauthor is broken on 8-rc1...anything I might have done? > > Steve > > [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean > ===> Building for dvdauthor-0.6.14_4 > Making all in doc > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > Making all in src > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake all-am > gmake[2]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > ".deps/subreader.Tpo"; exit 1; fi > subreader.c: In function 'sub_read_line_aqt': > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_read_line_subrip09': > subreader.c:717: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_fribidi': > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function) > subreader.c:1082: error: (Each undeclared identifier is reported only once > subreader.c:1082: error: for each function it appears in.) > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function) > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' > from incompatible pointer type > gmake[2]: *** [subreader.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake: *** [all-recursive] Error 1 > *** Error code 1 > > Stop in /usr/ports/multimedia/dvdauthor. > [steve@fyre /usr/ports/multimedia/dvdauthor]$ Just a "me too" I'm afraid. I'm having the same problem on 7.2-STABLE, but: pkg_info | grep fribidi fribidi-0.19.2_1 A Free Implementation of the Unicode Bidirectional Algorith Peter Harrison > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From psteele at maxiscale.com Sun Nov 1 20:12:53 2009 From: psteele at maxiscale.com (Peter Steele) Date: Sun Nov 1 20:13:00 2009 Subject: Example of using mount() function? Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375EB60@MBX03.exg5.exghost.com> I want to call the mount() function to perform the same action as running the following mount command from the command line: mount -t ufs -o noatime /dev/adXXX /mnt The man page lists the signature of mount() as int mount(const char *type, const char *dir, int flags, void *data); The problem is that the last parameter, data, apparently has to be in a special structure based on the file system type and it does not describe what this structure is for ufs. It says "The format for these argument structures is described in the manual page for each file system", then it follows this up saying that there is no man page for ufs? I did some searches but could not find a single example of what needs to be plugged into this parameter. Can anyone fill in the missing info? From marcus at marcuscom.com Sun Nov 1 20:24:19 2009 From: marcus at marcuscom.com (Joe Marcus Clarke) Date: Sun Nov 1 20:24:40 2009 Subject: Example of using mount() function? In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375EB60@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375EB60@MBX03.exg5.exghost.com> Message-ID: <1257107064.14555.58.camel@shumai.marcuscom.com> On Sun, 2009-11-01 at 14:12 -0600, Peter Steele wrote: > I want to call the mount() function to perform the same action as running the following mount command from the command line: > > mount -t ufs -o noatime /dev/adXXX /mnt > > The man page lists the signature of mount() as > > int mount(const char *type, const char *dir, int flags, void *data); > > The problem is that the last parameter, data, apparently has to be in a special structure based on the file system type and it does not describe what this structure is for ufs. It says "The format for these argument structures is described in the manual page for each file system", then it follows this up saying that there is no man page for ufs? > > I did some searches but could not find a single example of what needs to be plugged into this parameter. Can anyone fill in the missing info? See /usr/src/sbin/mount/mount_ufs.c from RELENG_6. Essentially, this argument should be a ufs_args struct as defined in /usr/include/ufs/ufs/ufsmount.h. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091101/e7b35a74/attachment.pgp From engage at ideasforchange.tv Sun Nov 1 20:38:21 2009 From: engage at ideasforchange.tv (IdeasForChange.TV) Date: Sun Nov 1 20:38:29 2009 Subject: Ideas For Change launches in closed beta today Message-ID: <1112117.BIIKANQA@ideasforchange.tv> We are very proud to have finalized the first step in building this platform that will become an active tool to improve our world. Against all good advice that we should build first and then connect the world, we decided that we are nothing without your knowledge. Without your input. And we said that we wanted to build this project from a different angle. We have the tools, we have the team, we have some funding but we need you guys to engage and tell us what your community needs. How we can help. We will build the biggest online community on sustainable topics, we will give you access and the keys to build your own subgroups both closed and public. But without taking this first step to ask for your opinion we would be working with old obsolete models. The films you see are just a fragment of what will come, the texts are just a start. If you need a login please ask us, if you want to contribute otherwise, sponsor a subcategory or need anything more please don?t hesitate to ask. So please enjoy, spread the word and engage! The Ideas For Change Global Team Visit the web site IdeasForChange.TV To unsubscribe, please reply with the word unsubscribe. Sorry if we bothered you! Project and website by Dabber.tv From usleepless at gmail.com Sun Nov 1 23:14:26 2009 From: usleepless at gmail.com (usleepless@gmail.com) Date: Sun Nov 1 23:14:35 2009 Subject: Problem installing dvdauthor... In-Reply-To: <20091031191820.GA4547@laptop.piggybox> References: <20091031191820.GA4547@laptop.piggybox> Message-ID: Dear Peter, On Sat, Oct 31, 2009 at 8:18 PM, Peter Harrison wrote: > Hi all, > > Can anyone advise what I'm doing wrong trying to install > multimedia/dvdauthor. Here's the end of the error: > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF > ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > ".deps/subreader.Tpo"; exit 1; fi > subreader.c: In function 'sub_read_line_aqt': > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_read_line_subrip09': > subreader.c:717: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_fribidi': > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > function) > subreader.c:1082: error: (Each undeclared identifier is reported only once > subreader.c:1082: error: for each function it appears in.) > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > function) > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from > incompatible pointer type > gmake[2]: *** [subreader.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake: *** [all-recursive] Error 1 > *** Error code 1 > > This is on: > > FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10 > 13:54:52 BST 2009 root@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP > i386 > > With a ports tree updated last night. > > What am I missing? > i don't think you are missing anything: i have a slighty older ports tree from september, and it fails as well. i assume the port is "broken". ( i will take a look if i can identitfy the problem ) regards, usleep From psteele at maxiscale.com Mon Nov 2 01:22:13 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon Nov 2 01:22:20 2009 Subject: Example of using mount() function? In-Reply-To: <1257107064.14555.58.camel@shumai.marcuscom.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375EB60@MBX03.exg5.exghost.com> <1257107064.14555.58.camel@shumai.marcuscom.com> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375EB70@MBX03.exg5.exghost.com> > See /usr/src/sbin/mount/mount_ufs.c from RELENG_6. Essentially, this argument should be a ufs_args struct as defined in /usr/include/ufs/ufs/ufsmount.h. Okay, got it. Thanks very much! From alexus at gmail.com Mon Nov 2 02:16:54 2009 From: alexus at gmail.com (alexus) Date: Mon Nov 2 02:17:00 2009 Subject: ntp Message-ID: <6ae50c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com> this is my ntp.conf su-3.2# cat /usr/local/etc/ntp.conf server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp.org su-3.2# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== mx .RMOT. 16 u - 1024 0 0.000 0.000 0.000 su-3.2# this isn't the first time, but after a while my ntp stops working :( i dont know what to do... any suggestions? -- http://alexus.org/ From liontaur at gmail.com Mon Nov 2 02:24:12 2009 From: liontaur at gmail.com (Liontaur) Date: Mon Nov 2 02:24:19 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <981633.62756.qm@web30802.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <981633.62756.qm@web30802.mail.mud.yahoo.com> Message-ID: 2009/11/1 D?nielisz L?szl? > I also though that maybe the rl NIC can be wrong, I will try another > branded NIC as soon as it will be possible, until than I looked for arp an > socksat right after dhcp request, these are my results: > mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 > no answer > > bsd# tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > > bsd# arp -a > ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my > MacBook > ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is > the layer 3 switch > So your switch and your rl1 interface have the same IP? That can't be good, can't see why it would affect things when the switch isn't in action though. # sockstat -4l | grep dhcp > dhcpd dhcpd 4747 7 udp4 *:67 *:* > > mac# arp -a > .pool.hdsnet.hu () at 4a:55:88:7c:44:4f on tap0 > ifscope [ethernet] > bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet] > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From bahamasfranks at gmail.com Mon Nov 2 02:56:24 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Mon Nov 2 02:56:31 2009 Subject: korean & english on same box? Message-ID: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> My Korean mother-in-law is visiting USA for the first time. I don't know the first thing about what it will take to make it so she can email home, so I'm hoping someone on the list is familiar with this? I can start firefox for her, so my installation could theoretically stay in english, but I have a spare drive I could install korean fbsd on if needed, although I don't know if it's been translated well enough to understand sysinstall or bootup in Korean? Thanks, Steve From bahamasfranks at gmail.com Mon Nov 2 03:27:05 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Mon Nov 2 03:27:17 2009 Subject: korean & english on same box? In-Reply-To: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> References: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> Message-ID: <539c60b90911011927q2261b2a2yba26c14008e3b7f7@mail.gmail.com> On Sun, Nov 1, 2009 at 7:56 PM, Steve Franks wrote: > My Korean mother-in-law is visiting USA for the first time. ?I don't > know the first thing about what it will take to make it so she can > email home, so I'm hoping someone on the list is familiar with this? > I can start firefox for her, so my installation could theoretically > stay in english, but I have a spare drive I could install korean fbsd > on if needed, although I don't know if it's been translated well > enough to understand sysinstall or bootup in Korean? > > Thanks, > Steve > Ok, well, fooling around, it's quite obvious that firefox has things nicely wrapped up, as long as I can get a korean keyboard to work, that should be interesting....hopefully opeoffice is as robust... Best, Steve From jimmiejaz at gmail.com Mon Nov 2 03:45:53 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Mon Nov 2 03:46:01 2009 Subject: dvdauthor can't find fribidi headers? Message-ID: <4AEE55EB.4020400@gmail.com> > Seems as dvdauthor is broken on 8-rc1...anything I might have done? > > Steve > > [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean > ===> Building for dvdauthor-0.6.14_4 > Making all in doc > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > Making all in src > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/> Seems as dvdauthor is broken on 8-rc1...anything I might have done? > > Steve > > [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean > ===> Building for dvdauthor-0.6.14_4 > Making all in doc > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > Making all in src > gmake[1]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake all-am > gmake[2]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > ".deps/subreader.Tpo"; exit 1; fi > subreader.c: In function 'sub_read_line_aqt': > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_read_line_subrip09': > subreader.c:717: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_fribidi': > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function) > subreader.c:1082: error: (Each undeclared identifier is reported only once > subreader.c:1082: error: for each function it appears in.) > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function) > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' > from incompatible pointer type > gmake[2]: *** [subreader.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake: *** [all-recursive] Error 1 > *** Error code 1 dvdauthor-0.6.14/src' > gmake all-am > gmake[2]: Entering directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > ".deps/subreader.Tpo"; exit 1; fi > subreader.c: In function 'sub_read_line_aqt': > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c:661: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_read_line_subrip09': > subreader.c:717: warning: comparison with string literal results in > unspecified behaviour > subreader.c: In function 'sub_fribidi': > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this function) > subreader.c:1082: error: (Each undeclared identifier is reported only once > subreader.c:1082: error: for each function it appears in.) > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this function) > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' > from incompatible pointer type > gmake[2]: *** [subreader.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > gmake: *** [all-recursive] Error 1 > *** Error code 1 Hate to pop in with a "me too", but me too. I've reinstalled all of it's depends, no joy. I've removed them all, along with dvdauthor and no joy. Tried commenting out fribidi from the Makefile, no joy. FreeBSD 7.2-STABLE #0: Thu Oct 15 19:19:47 EDT 2009 root@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO dvdauthor-0.6.14_3 pkg_info -r dvdauthor-0.6.14_3 Information for dvdauthor-0.6.14_3: Depends on: Dependency: libdvdcss-1.2.10_1 Dependency: libdvdread-4.1.3_1 Dependency: png-1.2.40 Dependency: pkg-config-0.23_1 Dependency: freetype2-2.3.9_1 Dependency: libiconv-1.13.1 Dependency: libxml2-2.7.6 From bh at izb.knu.ac.kr Mon Nov 2 03:50:12 2009 From: bh at izb.knu.ac.kr (=?utf-8?B?54mb57Kl?=) Date: Mon Nov 2 03:50:24 2009 Subject: korean & english on same box? In-Reply-To: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> (Steve Franks's message of "Sun, 1 Nov 2009 19:56:24 -0700") References: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> Message-ID: <86zl757fh5.fsf@betla.izb.knu.ac.kr> Steve Franks writes: > My Korean mother-in-law is visiting USA for the first time. I don't > know the first thing about what it will take to make it so she can > email home, so I'm hoping someone on the list is familiar with this? > I can start firefox for her, so my installation could theoretically > stay in english, but I have a spare drive I could install korean fbsd > on if needed, although I don't know if it's been translated well > enough to understand sysinstall or bootup in Korean? IMHO, your mother-in-law won't use computer, i guess. In general, Korean women (above 40 years old) don't know about computer and Internet. Though if you have to prepare that, discuss with your wife in first. Your wife will know very well about the state of your mother-in-law's computing general. The following is just normal case. Korean need only Input Method program such as Nabi under default X-Window system. That's enough to make checking (writing) emails. Have a look korean/nabi in ports. Sincerely, -- "You still owe me two hundred dollars." -- Fanucci, "Chapter 14", page 202 From Fluffy at fluffy.khv.ru Mon Nov 2 04:13:49 2009 From: Fluffy at fluffy.khv.ru (Dima Panov) Date: Mon Nov 2 04:13:58 2009 Subject: dvdauthor can't find fribidi headers? In-Reply-To: <4AEE55EB.4020400@gmail.com> References: <4AEE55EB.4020400@gmail.com> Message-ID: <200911021413.42663.Fluffy@fluffy.khv.ru> On Monday 02 November 2009 13:45:47 Jimmie James wrote: > > Seems as dvdauthor is broken on 8-rc1...anything I might have done? > > > > > > [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean > > ===> Building for dvdauthor-0.6.14_4 > > Making all in doc > > gmake[1]: Entering directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > > gmake[1]: Nothing to be done for `all'. > > gmake[1]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > > Making all in src > > gmake[1]: Entering directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake all-am > > gmake[2]: Entering directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > > -I/usr/local/include/libxml2 -I/usr/local/include > > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > > ".deps/subreader.Tpo"; exit 1; fi > > subreader.c: In function 'sub_read_line_aqt': > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_read_line_subrip09': > > subreader.c:717: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_fribidi': > > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > > function) subreader.c:1082: error: (Each undeclared identifier is > > reported only once subreader.c:1082: error: for each function it appears > > in.) > > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > > function) subreader.c:1102: warning: passing argument 3 of > > 'fribidi_log2vis' from incompatible pointer type > > gmake[2]: *** [subreader.o] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake[1]: *** [all] Error 2 > > gmake[1]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake: *** [all-recursive] Error 1 > > *** Error code 1 > > dvdauthor-0.6.14/src' > > > gmake all-am > > gmake[2]: Entering directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > > -I/usr/local/include/libxml2 -I/usr/local/include > > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > > ".deps/subreader.Tpo"; exit 1; fi > > subreader.c: In function 'sub_read_line_aqt': > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_read_line_subrip09': > > subreader.c:717: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_fribidi': > > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > > function) subreader.c:1082: error: (Each undeclared identifier is > > reported only once subreader.c:1082: error: for each function it appears > > in.) > > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > > function) subreader.c:1102: warning: passing argument 3 of > > 'fribidi_log2vis' from incompatible pointer type > > gmake[2]: *** [subreader.o] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake[1]: *** [all] Error 2 > > gmake[1]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake: *** [all-recursive] Error 1 > > *** Error code 1 > > Hate to pop in with a "me too", but me too. I've reinstalled all of it's > depends, no joy. I've removed them all, along with dvdauthor and no joy. > Tried commenting out fribidi from the Makefile, no joy. > It always try to use fribidi if it installed on the system, but broken with new fribidi. -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/834788c1/attachment-0001.pgp From tajudd at gmail.com Mon Nov 2 05:03:52 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Nov 2 05:03:59 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <479349.15334.qm@web30804.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> Message-ID: On 11/1/09, D?nielisz L?szl? wrote: > It's the only one on the network. Doesn't mean that it will answer. I saw your previous posts which has the authoritative declaration. Authoritative (from my experience) means that if a client had previously gotten an address, a non-authoritative server won't correct the client's lease. Think of a roaming laptop or a PDA with wifi. An authoritative server will say "No, that won't work", then the client will release any knowledge of the previous IP, and search for new dhcp servers. Since you weren't getting leases when your firewall was disabled, I would lean toward a misconfigured dhcpd.conf. I don't think I've seen in the same post: ifconfig rl1 cat /usr/local/etc/dhcpd.conf Please provide these. Thanks. > ________________________________ > From: Tim Judd > To: D?nielisz L?szl? > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 5:41:58 PM > Subject: Re: dhcpd related issue - not giving up > > > > is your dhcpd authoritative? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > From jonc at chen.org.nz Mon Nov 2 06:10:47 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Mon Nov 2 06:11:01 2009 Subject: korean & english on same box? In-Reply-To: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> References: <539c60b90911011856u57a13782mb025bded0d19386c@mail.gmail.com> Message-ID: <20091102061044.GA8334@osiris.chen.org.nz> On Sun, Nov 01, 2009 at 07:56:24PM -0700, Steve Franks wrote: > My Korean mother-in-law is visiting USA for the first time. I don't > know the first thing about what it will take to make it so she can > email home, so I'm hoping someone on the list is familiar with this? I had a similar situation with Japanese in-laws. Fortunately, I'm using GNOME, which has localisation for Japanese. I had to tweak their ~/.dmrc and add/alter: Language=ja_JP.UTF-8 Once they got past the English gdm login, they were presented with a Japanese lanaguage desktop. The ports which I had to install were: www/firefox35 www/firefox35-i18n mail/thunderbird mail/thunderbird-i18n japanese/scim-anthy I'm guessing that you'll have to do something similar for Korean, adding to ~/.dmrc: Language=ko-KR.UTF-8 and installing korean/scim-hangul; as well as firefox and thunderbird and their internationalisation support. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "If everything's under control, you're going too slow" - Mario Andretti From m.seaman at infracaninophile.co.uk Mon Nov 2 07:26:04 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Nov 2 07:26:12 2009 Subject: ntp In-Reply-To: <6ae50c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com> References: <6ae50c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com> Message-ID: <4AEE897E.4070805@infracaninophile.co.uk> alexus wrote: > this is my ntp.conf > > su-3.2# cat /usr/local/etc/ntp.conf > server 0.us.pool.ntp.org > server 1.us.pool.ntp.org > server 2.us.pool.ntp.org > server 3.us.pool.ntp.org > su-3.2# ntpq -p > remote refid st t when poll reach delay offset jitter > ============================================================================== > mx .RMOT. 16 u - 1024 0 0.000 0.000 0.000 > su-3.2# > > this isn't the first time, but after a while my ntp stops working :( > i dont know what to do... > > any suggestions? It's /etc/ntp.conf if you're using the ntpd that comes with the base system in FreeBSD. Unless you're running you own PPS clock or engaged in developing NTP, there's much point in installing the ports version. Even so, it seems you have a problem connecting to a remote NTP server. Can you do the following: First, choose one of the IPs returned from one of those pool.ntp.org addresses: % host 0.us.pool.ntp.org 0.us.pool.ntp.org has address 216.45.57.38 0.us.pool.ntp.org has address 64.22.86.210 0.us.pool.ntp.org has address 69.36.241.112 0.us.pool.ntp.org has address 69.56.251.238 0.us.pool.ntp.org has address 169.229.70.201 Then test that you can get NTP packets to and from between that machine and your own by using ntpq(8): % ntpq -p 216.45.57.38 remote refid st t when poll reach delay offset jitter ============================================================================== +clock.via.net .GPS. 1 u 698 1024 377 8.832 0.232 0.125 -timekeeper.isi. .GPS. 1 u 1915 1024 376 7.509 0.416 18.394 +clock.sjc.he.ne .CDMA. 1 u 109 1024 377 10.085 0.262 0.066 -nist1.symmetric .ACTS. 1 u 73 1024 377 13.380 -0.470 0.172 -rrcs-64-183-55- .GPS. 1 u 645 1024 377 25.310 -3.634 2.929 -rrcs-64-183-56- .GPS. 1 u 625 1024 377 13.364 -3.183 1.270 -nist1.aol-ca.tr .ACTS. 1 u 947 1024 377 9.860 3.786 0.029 -clock.isc.org .GPS. 1 u 98 1024 377 10.025 -6.679 0.005 -gps.layer42.net .GPS. 1 u 113 1024 377 12.315 0.042 0.388 -gatekeeper.no-s .PPS. 1 u 662 1024 377 27.165 3.409 78.001 -nist1-sj.witime .ACTS. 1 u 675 1024 377 9.204 5.834 0.780 *clepsydra.dec.c .GPS. 1 u 867 1024 377 9.988 0.283 0.123 -time.nist.gov .ACTS. 1 u 933 1024 377 33.453 -1.888 1.615 ntp2.lax-noc.co 204.123.2.5 2 u 935 1024 377 0.122 0.467 0.015 LOCAL(0) .LOCL. 9 l 23 64 377 0.000 0.000 0.002 If you don't get output like this showing a list of reference servers from any of the available addresses, then I'd suspect something like over restrictive firewall rules blocking the traffic. If you do get a response then the problem is localised on your machine. In which case, try stripping out and NTP related ports you've installed, configure the base system ntpd(8) and see if that works better for you. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/1dcba9b1/signature.pgp From laszlo_danielisz at yahoo.com Mon Nov 2 10:04:33 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Nov 2 10:04:40 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <981633.62756.qm@web30802.mail.mud.yahoo.com> Message-ID: <244792.67501.qm@web30808.mail.mud.yahoo.com> Sorry, I misspell it, (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- actually this is my rl1 interface on BSD ________________________________ From: Liontaur To: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 3:24:10 AM Subject: Re: dhcpd related issue - not giving up 2009/11/1 D?nielisz L?szl? > I also though that maybe the rl NIC can be wrong, I will try another > branded NIC as soon as it will be possible, until than I looked for arp an > socksat right after dhcp request, these are my results: > mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 > no answer > > bsd# tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > > bsd# arp -a > ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my > MacBook > ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is > the layer 3 switch > So your switch and your rl1 interface have the same IP? That can't be good, can't see why it would affect things when the switch isn't in action though. # sockstat -4l | grep dhcp > dhcpd dhcpd 4747 7 udp4 *:67 *:* > > mac# arp -a > .pool.hdsnet.hu () at 4a:55:88:7c:44:4f on tap0 > ifscope [ethernet] > bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet] > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From laszlo_danielisz at yahoo.com Mon Nov 2 10:07:22 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Nov 2 10:07:29 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> Message-ID: <356499.59817.qm@web30803.mail.mud.yahoo.com> I tried about 10 conf, here is the actual one: # cat /usr/local/etc/dhcpd.conf authoritative; ddns-update-style none; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; pool { option domain-name-servers cns01.hdsnet.hu; max-lease-time 300; range 192.168.1.200 192.168.1.253; allow unknown-clients; } } ________________________________ From: Tim Judd To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 6:03:51 AM Subject: Re: dhcpd related issue - not giving up On 11/1/09, D?nielisz L?szl? wrote: > It's the only one on the network. Doesn't mean that it will answer. I saw your previous posts which has the authoritative declaration. Authoritative (from my experience) means that if a client had previously gotten an address, a non-authoritative server won't correct the client's lease. Think of a roaming laptop or a PDA with wifi. An authoritative server will say "No, that won't work", then the client will release any knowledge of the previous IP, and search for new dhcp servers. Since you weren't getting leases when your firewall was disabled, I would lean toward a misconfigured dhcpd.conf. I don't think I've seen in the same post: ifconfig rl1 cat /usr/local/etc/dhcpd.conf Please provide these. Thanks. > ________________________________ > From: Tim Judd > To: D?nielisz L?szl? > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 5:41:58 PM > Subject: Re: dhcpd related issue - not giving up > > > > is your dhcpd authoritative? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > From communication at linkedin.com Mon Nov 2 11:15:50 2009 From: communication at linkedin.com (LinkedIn Communication) Date: Mon Nov 2 11:16:00 2009 Subject: LinkedIn Messages, 11/02/2009 Message-ID: <465658076.47479068.1257158870238.JavaMail.app@ech3-cdn09.prod> LinkedIn ------------ REMINDERS: Invitation Reminders: * View Invitation from lokesh bevara http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1518943135_2/39vdjcNcPgVe34RckALqnpPbOYWrSlI/svi/ PENDING MESSAGES: There are a total of 66 messages awaiting your response. Visit your InBox now: http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/inb/ ------ Don't want to receive email notifications? Adjust your message settings: https://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/prv/ LinkedIn values your privacy. At no time has LinkedIn made your email address available to any other LinkedIn user without your permission. (c) 2009, LinkedIn Corporation. From M.S.Powell at salford.ac.uk Mon Nov 2 12:51:45 2009 From: M.S.Powell at salford.ac.uk (Mark Powell) Date: Mon Nov 2 12:51:52 2009 Subject: command to dump entire server config Message-ID: Hi, I seem to recall a command was added recently to FreeBSD which provides a dump of the entire server config, in one go. A google for this yields nothing. Anyone tell me this timesaving command? Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 6624 www.pgp.com for PGP key From smithi at nimnet.asn.au Mon Nov 2 13:25:54 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Nov 2 13:26:01 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <20091102120022.939F910657E4@hub.freebsd.org> References: <20091102120022.939F910657E4@hub.freebsd.org> Message-ID: <20091102234435.O35366@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 283, Issue 2, Message: 4 On Mon, 2 Nov 2009 02:04:31 -0800 (PST) D?nielisz L?szl? wrote: > Sorry, I misspell it, (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 > permanent [ethernet] <- actually this is my rl1 interface on BSD Ok. Chomping heavily .. I've just reviewed this thread through four digests, rather a top-posting, multi-tail-quoting mess. Please trim quotes to the necessary then add your response; we've seen the rest. > > mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 > > no answer > > > > bsd# tcpdump -i rl1 -n port 67 or port 68 > > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > > 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > > from 00:23:32:dc:72:19, length 250 > > 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > > from 00:23:32:dc:72:19, length 250 You could perhaps usefully add 'or arp' to that tcpdump. Like your earlier tcpdump; the Mac's asking and 192.168.1.1 is not responding. I don't think anyone's asked yet what you get from: # netstat -finet -an | grep 67 ie, is dhcpd really listening? something like .. udp4 0 0 192.168.1.1.67 *.* If not, there's your problem .. if so, looks like your firewall might be blocking those packets from reaching 192.168.1.1 (OR its responses back) If dhcpd is running, even if it's misconfigured, I'd expect to see some response if it's receiving requests. > > bsd# arp -a > > ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my > > MacBook > > ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is > > the layer 3 switch > > > > So your switch and your rl1 interface have the same IP? That can't be good, > can't see why it would affect things when the switch isn't in action though. > > # sockstat -4l | grep dhcp > > dhcpd dhcpd 4747 7 udp4 *:67 *:* Yeah sockstat's always useful too; both it and netstat -a will show udp port 67 listening if dhcpd's running (right). >From a later message .. > pool { > option domain-name-servers cns01.hdsnet.hu; > max-lease-time 300; > range 192.168.1.200 192.168.1.253; > allow unknown-clients; > } > } .. it seems from the arp -a above that the Mac already has 192.168.1.234 which is within that range? However, concentrate on getting as far as seeing return responses from dhcpd on port 67 to clients with tcpdump, with your firewall momentarily disabled if need be .. HTH, Ian From david at farmington.k12.mo.us Mon Nov 2 13:35:51 2009 From: david at farmington.k12.mo.us (David Patton) Date: Mon Nov 2 13:35:58 2009 Subject: issues with email migration In-Reply-To: Message-ID: <20091102133551.62B22986025@mail.farmington.k12.mo.us> This morning, I tried adding this to rc.conf and moved my link for /www from local to the nfs . rpc_lockd_enable="YES" rpc_statd_enable="YES" and I experienced the same issues I had before. It would seem that postfix and other assorted mail programs have no issue with accessing /mail on an nfs share but everything residing in /www don't seem to like it at all. I have no choice but to leave this as it is and set up a similar arrangement on my new server. Thank you to everyone who responded. -----Original Message----- From: Tim Judd [mailto:tajudd@gmail.com] Sent: Saturday, October 31, 2009 10:51 AM To: david@farmington.k12.mo.us Cc: freebsd-questions@freebsd.org Subject: Re: issues with email migration On 10/31/09, david@farmington.k12.mo.us wrote: > only one issue with that. The server in question is an emc clereon(sorry > not at work to look at the specifics) and at this point the only access I > have to it is a web interface and am unable to access a command line. > > Also a stupid question my plan is to set up another server to access the > nfs share to provide better email service. > > would this impact it in any way? Not if file locking and the daemons take care of everything like they should. Remember, file locking is mandatory for some things, especially mbox files, password files, or anything else that requires exclusive access to a file. If two systems try to access the same locked file, the 2nd will be told it won't be able to get an exclusive lock, because the 1st already has it locked. You're on the right track. Keep it going. From apseudoutopia at gmail.com Mon Nov 2 14:27:41 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Nov 2 14:27:47 2009 Subject: command to dump entire server config In-Reply-To: References: Message-ID: <27ade5280911020627q5b338ec1u5b76165daaf8ff28@mail.gmail.com> On Mon, Nov 2, 2009 at 7:25 AM, Mark Powell wrote: > Hi, > ?I seem to recall a command was added recently to FreeBSD which provides a > dump of the entire server config, in one go. > ?A google for this yields nothing. > ?Anyone tell me this timesaving command? > ?Cheers. > Maybe dump(8) is what you're looking for? I don't know of any command to dump the configuration of a server. Although, it still may exist, I just don't know of it. From glarkin at FreeBSD.org Mon Nov 2 14:30:10 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Nov 2 14:30:17 2009 Subject: command to dump entire server config In-Reply-To: References: Message-ID: <4AEEECE9.1080304@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Powell wrote: > Hi, > I seem to recall a command was added recently to FreeBSD which > provides a dump of the entire server config, in one go. > A google for this yields nothing. > Anyone tell me this timesaving command? > Cheers. > Hi Mark, Check out the SysInfo script - I think that's what you saw: http://bit.ly/bkHb0 Cheers, 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/ iD8DBQFK7uzp0sRouByUApARAlAcAKCFLBndE1TEird0G10cIQyr2dvQPgCfVsLf lCvl45mct1ZTdxrDuuh6K0E= =7zia -----END PGP SIGNATURE----- From M.S.Powell at salford.ac.uk Mon Nov 2 14:31:04 2009 From: M.S.Powell at salford.ac.uk (Mark Powell) Date: Mon Nov 2 14:31:11 2009 Subject: command to dump entire server config In-Reply-To: <27ade5280911020627q5b338ec1u5b76165daaf8ff28@mail.gmail.com> References: <27ade5280911020627q5b338ec1u5b76165daaf8ff28@mail.gmail.com> Message-ID: On Mon, 2 Nov 2009, APseudoUtopia wrote: > On Mon, Nov 2, 2009 at 7:25 AM, Mark Powell wrote: >> Hi, >> ?I seem to recall a command was added recently to FreeBSD which provides a >> dump of the entire server config, in one go. >> ?A google for this yields nothing. >> ?Anyone tell me this timesaving command? >> ?Cheers. > > Maybe dump(8) is what you're looking for? I don't know of any command > to dump the configuration of a server. Although, it still may exist, I > just don't know of it. Thanks for the response. Why is it that you always discover something just after posting? :( It was the port sysutils/sysinfo that I was thinking of. Apologies for the noise. Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 6624 www.pgp.com for PGP key From M.S.Powell at salford.ac.uk Mon Nov 2 14:32:09 2009 From: M.S.Powell at salford.ac.uk (Mark Powell) Date: Mon Nov 2 14:32:16 2009 Subject: command to dump entire server config In-Reply-To: <4AEEECE9.1080304@FreeBSD.org> References: <4AEEECE9.1080304@FreeBSD.org> Message-ID: On Mon, 2 Nov 2009, Greg Larkin wrote: > Check out the SysInfo script - I think that's what you saw: > http://bit.ly/bkHb0 That's the fella. Cheers. -- Mark Powell - UNIX System Administrator - The University of Salford Information & Learning Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 6843 Fax: +44 161 295 6624 www.pgp.com for PGP key From a.huth at tmr.net Mon Nov 2 15:57:29 2009 From: a.huth at tmr.net (Alex Huth) Date: Mon Nov 2 15:58:57 2009 Subject: Eclipse & Java 1.5 Message-ID: <20091102153740.GD12766@borusse.borussiapark> Hi! I want to change my laptop system from Debian to FreeBSD. After installing 8.0 RC2 in a virtual machine i have tried to install eclipse and changed the Java version in the makefile to 1.5, but it still want to install the 1.6 jdk. I need the 1.5 version for several reasons, for example VPN account. How can i solve the problem? Is java 1.5 also available if i install it on AMD64? On debian this is a Problem. Thx Alex Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic. ? unknow From amvandemore at gmail.com Mon Nov 2 16:03:31 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Nov 2 16:04:46 2009 Subject: Eclipse & Java 1.5 In-Reply-To: <20091102153740.GD12766@borusse.borussiapark> References: <20091102153740.GD12766@borusse.borussiapark> Message-ID: <6201873e0911020803g2bc00523i4aef01d3aec9dc37@mail.gmail.com> On Mon, Nov 2, 2009 at 9:37 AM, Alex Huth wrote: > Hi! > > I want to change my laptop system from Debian to FreeBSD. After installing > 8.0 > RC2 in a virtual machine i have tried to install eclipse and changed the > Java > version in the makefile to 1.5, but it still want to install the 1.6 jdk. > > I need the 1.5 version for several reasons, for example VPN account. > > How can i solve the problem? Is java 1.5 also available if i install it on > AMD64? On debian this is a Problem. > > Thx > > Alex > > Never be afraid to try something new. > Remember, amateurs built the ark. > Professionals built the Titanic. ? unknow > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Does /usr/ports/java/jdk15 not work for you? Can you not install both and tell eclipse to use the 15 jdk? You can try editing /usr/ports/java/eclipse/Makefile to JAVA_VERSION= 1.5 but I have no idea if that will work. jdk15 does work on amd64 -- Adam Vande More From tajudd at gmail.com Mon Nov 2 16:09:44 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Nov 2 16:09:52 2009 Subject: issues with email migration In-Reply-To: <20091102133551.62B22986025@mail.farmington.k12.mo.us> References: <20091102133551.62B22986025@mail.farmington.k12.mo.us> Message-ID: On 11/2/09, David Patton wrote: > This morning, I tried adding this to rc.conf and moved my link for /www from > local to the nfs . > > rpc_lockd_enable="YES" > rpc_statd_enable="YES" Adding them alone just tells the system at startup to start these............. > > and I experienced the same issues I had before. It would seem that postfix > and other assorted mail programs have no issue with accessing /mail on an > nfs share but everything residing in /www don't seem to like it at all. > Did you start statd and lockd by hand before trying the /www again? > I have no choice but to leave this as it is and set up a similar arrangement > on my new server. > > Thank you to everyone who responded. > > -----Original Message----- > From: Tim Judd [mailto:tajudd@gmail.com] > Sent: Saturday, October 31, 2009 10:51 AM > To: david@farmington.k12.mo.us > Cc: freebsd-questions@freebsd.org > Subject: Re: issues with email migration > > On 10/31/09, david@farmington.k12.mo.us wrote: >> only one issue with that. The server in question is an emc clereon(sorry >> not at work to look at the specifics) and at this point the only access I >> have to it is a web interface and am unable to access a command line. >> >> Also a stupid question my plan is to set up another server to access the >> nfs share to provide better email service. >> >> would this impact it in any way? > > > > > Not if file locking and the daemons take care of everything like they > should. Remember, file locking is mandatory for some things, > especially mbox files, password files, or anything else that requires > exclusive access to a file. > > If two systems try to access the same locked file, the 2nd will be > told it won't be able to get an exclusive lock, because the 1st > already has it locked. > > You're on the right track. Keep it going. > > > > > > From tajudd at gmail.com Mon Nov 2 16:16:59 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Nov 2 16:17:07 2009 Subject: dhcpd related issue - not giving up In-Reply-To: <356499.59817.qm@web30803.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> <356499.59817.qm@web30803.mail.mud.yahoo.com> Message-ID: On 11/2/09, D?nielisz L?szl? wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { > option domain-name-servers cns01.hdsnet.hu; > max-lease-time 300; > range 192.168.1.200 192.168.1.253; > allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. From david at farmington.k12.mo.us Mon Nov 2 16:52:46 2009 From: david at farmington.k12.mo.us (David Patton) Date: Mon Nov 2 16:52:53 2009 Subject: issues with email migration In-Reply-To: Message-ID: <20091102165233.9DFE7986013@mail.farmington.k12.mo.us> Yes sir, I added them to the rc.conf, changed the links to point where I wanted them and rebooted, same issues. I cant waste anymore time with what I wanted to do. I will leave /mail on the nfs share and just build a new server. I have 2 days and hopefully I will keep my job. Wish me luck... -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Tim Judd Sent: Monday, November 02, 2009 10:10 AM To: David Patton Cc: freebsd-questions@freebsd.org Subject: Re: issues with email migration On 11/2/09, David Patton wrote: > This morning, I tried adding this to rc.conf and moved my link for /www from > local to the nfs . > > rpc_lockd_enable="YES" > rpc_statd_enable="YES" Adding them alone just tells the system at startup to start these............. > > and I experienced the same issues I had before. It would seem that postfix > and other assorted mail programs have no issue with accessing /mail on an > nfs share but everything residing in /www don't seem to like it at all. > Did you start statd and lockd by hand before trying the /www again? > I have no choice but to leave this as it is and set up a similar arrangement > on my new server. > > Thank you to everyone who responded. > > -----Original Message----- > From: Tim Judd [mailto:tajudd@gmail.com] > Sent: Saturday, October 31, 2009 10:51 AM > To: david@farmington.k12.mo.us > Cc: freebsd-questions@freebsd.org > Subject: Re: issues with email migration > > On 10/31/09, david@farmington.k12.mo.us wrote: >> only one issue with that. The server in question is an emc clereon(sorry >> not at work to look at the specifics) and at this point the only access I >> have to it is a web interface and am unable to access a command line. >> >> Also a stupid question my plan is to set up another server to access the >> nfs share to provide better email service. >> >> would this impact it in any way? > > > > > Not if file locking and the daemons take care of everything like they > should. Remember, file locking is mandatory for some things, > especially mbox files, password files, or anything else that requires > exclusive access to a file. > > If two systems try to access the same locked file, the 2nd will be > told it won't be able to get an exclusive lock, because the 1st > already has it locked. > > You're on the right track. Keep it going. > > > > > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From af.gourmet at videotron.ca Mon Nov 2 16:55:16 2009 From: af.gourmet at videotron.ca (PJ) Date: Mon Nov 2 16:56:08 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 Message-ID: <4AEF0D33.7000008@videotron.ca> I have posted to Xorg, but I find this list most reassuring and competent ;-) I have searched the web, followed the instructions in the manual, the man pages and suggestions on the web. Nothing, nada. And I see there is a lot of frustration out there and not solutions discernible. I can post the config files... If anyone has any ideas, I'd appreciate it... but please, don't waste your time telling me to read the manual or search the web... I have done all that and if there is something I have missed - maybe hal (that seems to be the most absurd addition to Xorg as it seems to produce no visible advantages but only problems) maybe someone will have an idea what was my blind spot? From mail25 at bzerk.org Mon Nov 2 17:13:04 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Mon Nov 2 17:13:10 2009 Subject: Eclipse & Java 1.5 In-Reply-To: <6201873e0911020803g2bc00523i4aef01d3aec9dc37@mail.gmail.com> References: <20091102153740.GD12766@borusse.borussiapark> <6201873e0911020803g2bc00523i4aef01d3aec9dc37@mail.gmail.com> Message-ID: <20091102171258.GA50559@ei.bzerk.org> On Mon, Nov 02, 2009 at 10:03:30AM -0600, Adam Vande More typed: > On Mon, Nov 2, 2009 at 9:37 AM, Alex Huth wrote: > > > Hi! > > > > I want to change my laptop system from Debian to FreeBSD. After installing > > 8.0 > > RC2 in a virtual machine i have tried to install eclipse and changed the > > Java > > version in the makefile to 1.5, but it still want to install the 1.6 jdk. > > > > I need the 1.5 version for several reasons, for example VPN account. > > > > How can i solve the problem? Is java 1.5 also available if i install it on > > AMD64? On debian this is a Problem. > > > > Thx > > > > Alex > > > > Never be afraid to try something new. > > Remember, amateurs built the ark. > > Professionals built the Titanic. ? unknow > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > Does /usr/ports/java/jdk15 not work for you? > > Can you not install both and tell eclipse to use the 15 jdk? > > You can try editing /usr/ports/java/eclipse/Makefile to JAVA_VERSION= 1.5 > but I have no idea if that will work. I've been bitten by this as well. Of course eclipse works well with java versions <1.6, as it does on all other platforms. Such restrictions in the Makefiles (= instead of >=) are really a showstopper for people who just want to get things done. Ruben From rsmith at xs4all.nl Mon Nov 2 18:02:18 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Nov 2 18:02:28 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <4AEF0D33.7000008@videotron.ca> References: <4AEF0D33.7000008@videotron.ca> Message-ID: <20091102180215.GA10648@slackbox.xs4all.nl> On Mon, Nov 02, 2009 at 12:47:47PM -0400, PJ wrote: > I have posted to Xorg, but I find this list most reassuring and > competent ;-) > I have searched the web, followed the instructions in the manual, the > man pages and suggestions on the web. > Nothing, nada. And I see there is a lot of frustration out there and not > solutions discernible. Most modern monitors Just Work IMO, just specify the resolution you want. The X server should then be able to get the required modeline from the monitor. How you you know it isn't working? Do you get back to the command prompt? Note that by default you get a black screen with the current Xorg. You have to put commands in ~/.xinitrc to set a background, launch a window manager etc. > I can post the config files... Better post the Xorg logfile, /var/log/Xorg.0.log > If anyone has any ideas, I'd appreciate it... but please, don't waste > your time telling me to read the manual or search the web... I have done > all that and if there is something I have missed - maybe hal (that seems > to be the most absurd addition to Xorg as it seems to produce no visible > advantages but only problems) maybe someone will have an idea what was > my blind spot? Find out what the native resolution is for this monitor, it should be 1920x1080 according to http://milo.com/lg-23-widescreen-flat-panel-lcd-hd-monitor-black# Put that in the "Display" subsection of your "Screen" section in /etc/X11/xorg.conf, like this: Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1080" EndSubSection SubSection "Display" Depth 16 Modes "1920x1080" EndSubSection EndSection Make sure that the Device and Monitor names match yours. :-) And check if your video card is capable of driving this monitor. Your /var/log/Xorg.0.log should give you some clues there. Good luck! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/55b44c71/attachment.pgp From yuri at rawbw.com Mon Nov 2 18:19:41 2009 From: yuri at rawbw.com (Yuri) Date: Mon Nov 2 18:19:48 2009 Subject: How to set up WEP network on 8.0 in rc.conf? Message-ID: <4AEF22BD.9080500@rawbw.com> I use this working script to start WEP network: ifconfig wlan0 create wlandev ath0 ifconfig wlan0 ssid "xyz abc" weptxkey 1 deftxkey 1 wepmode on wepkey 0xXXXXXXXXXX up dhcpcd wlan0 How do I write an equivalent line into rc.conf? Section 31.3.3.1.4 in http://www.freebsd.org/doc/en/books/handbook/network-wireless.html suggests this: # ifconfig /ath0/ ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \ inet /192.168.1.100/ netmask /255.255.255.0/ So I wrote: ifconfig_ath0="ssid xyz\ abc weptxkey 1 deftxkey 1 wepmode on wepkey 0xXXXXXXXXXX DHCP" and it doesn't work. This line: ifconfig wlan0 create wlandev ath0 became necessary in 8.0 and it creates wlan0 device, which is missing when I use the above line in rc.conf. There's also a space in ssid. So what would be the correct rc.conf in my case? Yuri From laszlo_danielisz at yahoo.com Mon Nov 2 19:49:16 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Nov 2 19:49:23 2009 Subject: dhcpd related issue - not giving up In-Reply-To: References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> <356499.59817.qm@web30803.mail.mud.yahoo.com> Message-ID: <177578.41675.qm@web30805.mail.mud.yahoo.com> Thank you for your advice, I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s. Right now it's reinstalling the port. ________________________________ From: Tim Judd To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 5:16:58 PM Subject: Re: dhcpd related issue - not giving up On 11/2/09, D?nielisz L?szl? wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { > option domain-name-servers cns01.hdsnet.hu; > max-lease-time 300; > range 192.168.1.200 192.168.1.253; > allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From af.gourmet at videotron.ca Mon Nov 2 20:21:18 2009 From: af.gourmet at videotron.ca (PJ) Date: Mon Nov 2 20:21:26 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <20091102180215.GA10648@slackbox.xs4all.nl> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> Message-ID: <4AEF3F3E.7000204@videotron.ca> Roland Smith wrote: > On Mon, Nov 02, 2009 at 12:47:47PM -0400, PJ wrote: > >> I have posted to Xorg, but I find this list most reassuring and >> competent ;-) >> I have searched the web, followed the instructions in the manual, the >> man pages and suggestions on the web. >> Nothing, nada. And I see there is a lot of frustration out there and not >> solutions discernible. >> > > Most modern monitors Just Work IMO, just specify the resolution you want. The > X server should then be able to get the required modeline from the monitor. > > How you you know it isn't working? Do you get back to the command prompt? > No. The only way is by hitting the SysRq/PrintScreen key if the "AllowEmptyInput" is not "off", otherwise you have to reboot. > Note that by default you get a black screen with the current Xorg. Yes, but you are supposed to see the x for the mouse. Doesn't happen... as I mentioned, on one try when doing ctl/alt/del the X appeared and then - shutdown. > You have to > put commands in ~/.xinitrc to set a background, launch a window manager etc. > I use fluxbox and for some years now, I have never had to put anything into .xinitrc except "startfluxbox" of just plain "fluxbox" and it always worked. > >> I can post the config files... >> > > Better post the Xorg logfile, /var/log/Xorg.0.log > > >> If anyone has any ideas, I'd appreciate it... but please, don't waste >> your time telling me to read the manual or search the web... I have done >> all that and if there is something I have missed - maybe hal (that seems >> to be the most absurd addition to Xorg as it seems to produce no visible >> advantages but only problems) maybe someone will have an idea what was >> my blind spot? >> > > Find out what the native resolution is for this monitor, it should be > 1920x1080 according to > http://milo.com/lg-23-widescreen-flat-panel-lcd-hd-monitor-black# > I was aware of all that plus all the timings etc that one can find in the log. I tried all that and nothing clicks. > Put that in the "Display" subsection of your "Screen" > section in /etc/X11/xorg.conf, like this: > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > SubSection "Display" > Depth 24 > Modes "1920x1080" > EndSubSection > SubSection "Display" > Depth 16 > Modes "1920x1080" > EndSubSection > EndSection > > Make sure that the Device and Monitor names match yours. :-) > > And check if your video card is capable of driving this monitor. Your > /var/log/Xorg.0.log should give you some clues there. I also have tried with the monitor in digital mode as well as in analog... neither works. It seems to me that the options for flatpanel must be activated... bin there, done that... And that is because I saw those kinds of directions activated under the display management in XP. O:-) So, here's my log: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE i386 Current Operating System: FreeBSD grendl.my.domain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 21 August 2009 12:40:03PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 2 11:07:26 2009 (++) Using config file: "xorg.conf1" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Automatically adding devices (==) Automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, built-ins (**) ModulePath set to "/usr/local/lib/xorg/modules" (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (II) Loader magic: 0x7a0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on freebsd (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI:*(0@1:0:0) nVidia Corporation NV31 [GeForce FX 5600] rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, BIOS @ 0x????????/65536 (II) System resource ranges: [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) "extmod" will be loaded by default. (II) "dbe" will be loaded by default. (II) "glx" will be loaded by default. (II) "record" will be loaded by default. (II) "dri" will be loaded by default. (II) "dri2" will be loaded by default. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "nv" (II) Loading /usr/local/lib/xorg/modules/drivers//nv_drv.so (II) Module nv: vendor="X.Org Foundation" compiled for 1.6.1, module version = 2.1.13 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64, Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400, GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go, GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 Ultra, Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420, GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go, GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL, GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL, GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X, GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X, GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580 XGL, Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI, GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3, GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600, GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 XGL, Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X, GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL, Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra, GeForce FX 5800, Quadro FX 2000, Quadro FX 1000, GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT, GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700, GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200, GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250, GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M, Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI, GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900 Ultra, GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra, GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700, GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE, GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700, Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce 6800, GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800 GT, GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX 4000, GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400, Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT, GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, GeForce Go 6600, GeForce Go 6600 GT, Quadro FX 550, Quadro FX 550, Quadro FX 540, GeForce 6200, GeForce 6500, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM), GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go 6400, GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800 GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go 7800, GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7300 LE, GeForce 7300 SE, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400, GeForce Go 7400 GS, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, GeForce 7500 LE, Quadro FX 350, GeForce 7300 GS, GeForce 7600 GT, GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce 7300 GT, GeForce Go 7700, GeForce Go 7600, GeForce Go 7600 GT, Quadro NVS 300M, GeForce Go 7900 SE, Quadro FX 550M, Quadro FX 560, GeForce 7900 GTX, GeForce 7900 GT, GeForce 7900 GS, GeForce Go 7900 GS, GeForce Go 7900 GTX, Quadro FX 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quadro FX 1500, Quadro FX 4500 X2, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeForce Go 6150, GeForce Go 6100, GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce 8600 GTS, GeForce 8600 GT, GeForce 8600 GT, GeForce 8600 GS, GeForce 8400 GS, GeForce 9500M GS, GeForce 8600M GT, GeForce 9650M GS, GeForce 8700M GT, Quadro FX 370, Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M, Quadro FX 570, Quadro FX 1700, GeForce 8400 SE, GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS, GeForce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M, Quadro NVS 135M, GeForce 9400 GT, Quadro FX 360M, GeForce 9300M G, Quadro NVS 290, GeForce GTX 280, GeForce GTX 260, GeForce 8800 GTS 512, GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS, GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS, GeForce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX, GeForce 9800 GTK+, GeForce 9800 GT, Quadro FX 3700, Quadro FX 3600M, GeForce 9600 GT, GeForce 9600 GS, GeForce 9800M GTS, GeForce 9700M GTS, GeForce 9800M GTS, GeForce 9500 GT, GeForce 9600M GT, GeForce 9600M GS, GeForce 9600M GT, GeForce 9500M G, GeForce 9300 GS, GeForce 8400 GS, GeForce 9300M GS, GeForce 9200M GS, GeForce 9300M GS, Quadro NVS 150M, Quadro NVS 160M (II) Primary Device is: PCI 01@00:00:0 (--) NV: Found NVIDIA GeForce FX 5600 at 01@00:00:0 (II) resource ranges after probing: [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules//libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org Video Driver, version 5.0 (II) NV(0): Initializing int10 (==) NV(0): Write-combining range (0xa0000,0x20000) was already clear (==) NV(0): Write-combining range (0xc0000,0x40000) was already clear (II) NV(0): Primary V_BIOS segment is: 0xc000 (==) NV(0): Write-combining range (0x0,0x1000) was already clear (--) NV(0): Chipset: "GeForce FX 5600" (==) NV(0): Depth 24, (--) framebuffer bpp 32 (==) NV(0): RGB weight 888 (==) NV(0): Default visual is TrueColor (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/local/lib/xorg/modules//libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.6.1, module version = 0.1.0 ABI class: X.Org Video Driver, version 5.0 (**) NV(0): Option "FlatPanel" "True" (**) NV(0): Option "FPScale" "True" (==) NV(0): Using HW cursor (**) NV(0): Flat panel scaling on (**) NV(0): forcing DFP usage (--) NV(0): Linear framebuffer at 0xE0000000 (--) NV(0): MMIO registers at 0xFD000000 (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) NV(0): I2C bus "DDC" initialized. (II) NV(0): Probing for analog device on output A... (--) NV(0): ...found one (II) NV(0): Probing for analog device on output B... (--) NV(0): ...can't find one (II) NV(0): Probing for EDID on I2C bus A... (II) NV(0): I2C device "DDC:E-EDID segment register" registered at address 0x60. (II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0. (--) NV(0): DDC detected a CRT: (II) NV(0): Manufacturer: GSM Model: 56f9 Serial#: 232215 (II) NV(0): Year: 2009 Week: 4 (II) NV(0): EDID Version: 1.3 (II) NV(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V (II) NV(0): Sync: Separate SyncOnGreen (II) NV(0): Max Image Size [cm]: horiz.: 51 vert.: 29 (II) NV(0): Gamma: 2.20 (II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display (II) NV(0): First detailed timing is preferred mode (II) NV(0): redX: 0.635 redY: 0.342 greenX: 0.292 greenY: 0.611 (II) NV(0): blueX: 0.147 blueY: 0.070 whiteX: 0.313 whiteY: 0.329 (II) NV(0): Supported VESA Video Modes: (II) NV(0): 720x400@70Hz (II) NV(0): 640x480@60Hz (II) NV(0): 640x480@75Hz (II) NV(0): 800x600@56Hz (II) NV(0): 800x600@60Hz (II) NV(0): 800x600@75Hz (II) NV(0): 832x624@75Hz (II) NV(0): 1024x768@60Hz (II) NV(0): 1024x768@75Hz (II) NV(0): 1280x1024@75Hz (II) NV(0): 1152x870@75Hz (II) NV(0): Manufacturer's mask: 0 (II) NV(0): Supported Future Video Modes: (II) NV(0): #0: hsize: 1680 vsize 1050 refresh: 60 vid: 179 (II) NV(0): #1: hsize: 1280 vsize 1024 refresh: 75 vid: 36737 (II) NV(0): #2: hsize: 1280 vsize 1024 refresh: 60 vid: 32897 (II) NV(0): #3: hsize: 1152 vsize 864 refresh: 75 vid: 20337 (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 148.5 MHz Image Size: 510 x 290 mm (II) NV(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0 (II) NV(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0 (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 146.2 MHz Image Size: 474 x 296 mm (II) NV(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 (II) NV(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0 (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 150 MHz (II) NV(0): Monitor name: W2361 (II) NV(0): EDID (in hex): (II) NV(0): 00ffffffffffff001e6df956178b0300 (II) NV(0): 041301036a331d78eaaec5a2574a9c25 (II) NV(0): 125054a76b80b300818f8180714f0101 (II) NV(0): 010101010101023a801871382d40582c (II) NV(0): 4500fe221100001e21399030621a2740 (II) NV(0): 68b03600da281100001c000000fd0038 (II) NV(0): 4b1e530f000a202020202020000000fc (II) NV(0): 0057323336310a2020202020202000b6 (II) NV(0): Probing for EDID on I2C bus B... (--) NV(0): DDC detected a DFP: (II) NV(0): Manufacturer: GSM Model: 56fa Serial#: 232215 (II) NV(0): Year: 2009 Week: 4 (II) NV(0): EDID Version: 1.3 (II) NV(0): Digital Display Input (II) NV(0): Max Image Size [cm]: horiz.: 51 vert.: 29 (II) NV(0): Gamma: 2.20 (II) NV(0): DPMS capabilities: StandBy Suspend Off (II) NV(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) NV(0): First detailed timing is preferred mode (II) NV(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600 (II) NV(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329 (II) NV(0): Supported VESA Video Modes: (II) NV(0): 720x400@70Hz (II) NV(0): 640x480@60Hz (II) NV(0): 640x480@75Hz (II) NV(0): 800x600@56Hz (II) NV(0): 800x600@60Hz (II) NV(0): 800x600@75Hz (II) NV(0): 832x624@75Hz (II) NV(0): 1024x768@60Hz (II) NV(0): 1024x768@75Hz (II) NV(0): 1280x1024@75Hz (II) NV(0): 1152x870@75Hz (II) NV(0): Manufacturer's mask: 0 (II) NV(0): Supported Future Video Modes: (II) NV(0): #0: hsize: 1680 vsize 1050 refresh: 60 vid: 179 (II) NV(0): #1: hsize: 1280 vsize 1024 refresh: 75 vid: 36737 (II) NV(0): #2: hsize: 1280 vsize 1024 refresh: 60 vid: 32897 (II) NV(0): #3: hsize: 1152 vsize 864 refresh: 75 vid: 20337 (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 138.5 MHz Image Size: 510 x 290 mm (II) NV(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0 (II) NV(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0 (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 148.5 MHz Image Size: 510 x 290 mm (II) NV(0): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0 (II) NV(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 0 (II) NV(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 150 MHz (II) NV(0): Monitor name: W2361 (II) NV(0): EDID (in hex): (II) NV(0): 00ffffffffffff001e6dfa56178b0300 (II) NV(0): 0413010380331d78eaee91a3544c9926 (II) NV(0): 0f5054a76b80b300818f8180714f0101 (II) NV(0): 0101010101011a3680a070381f403020 (II) NV(0): 3500fe221100001e023a801871382d40 (II) NV(0): 582c4500fe221100001e000000fd0038 (II) NV(0): 4b1e530f000a202020202020000000fc (II) NV(0): 0057323336310a2020202020202000c7 (--) NV(0): CRTC 1 is currently programmed for DFP (**) NV(0): Forcing display type to DFP as specified (II) NV(0): Using DFP on CRTC 1 (--) NV(0): Panel size is 1920 x 1080 (II) NV(0): NOTE: This driver cannot reconfigure the BIOS-programmed size. (II) NV(0): These dimensions will be used as the panel size for mode validation. (II) NV(0): EDID vendor "GSM", prod id 22266 (II) NV(0): Using hsync ranges from config file (II) NV(0): Using vrefresh ranges from config file (II) NV(0): Printing DDC gathered Modelines: (II) NV(0): Modeline "1920x1080"x0.0 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync +vsync (66.6 kHz) (II) NV(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) (II) NV(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) NV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) NV(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) NV(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) NV(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) NV(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) NV(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (II) NV(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) NV(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) NV(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) NV(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) NV(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) (II) NV(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) NV(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz) (II) NV(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) NV(0): Panel is TMDS (--) NV(0): VideoRAM: 131072 kBytes (==) NV(0): Using gamma correction (1.0, 1.0, 1.0) (II) NV(0): Monitor0: Using hsync range of 30.00-83.00 kHz (II) NV(0): Monitor0: Using vrefresh range of 56.00-75.00 Hz (II) NV(0): Monitor0: Using maximum pixel clock of 150.00 MHz (II) NV(0): Clock range: 12.00 to 400.00 MHz (II) NV(0): Not using default mode "640x350" (vrefresh out of range) (II) NV(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "640x400" (vrefresh out of range) (II) NV(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "720x400" (vrefresh out of range) (II) NV(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "640x480" (vrefresh out of range) (II) NV(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "800x600" (vrefresh out of range) (II) NV(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1024x768" (vrefresh out of range) (II) NV(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1280x960" (hsync out of range) (II) NV(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1280x1024" (hsync out of range) (II) NV(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1600x1200" (exceeds panel dimensions) (II) NV(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1600x1200" (exceeds panel dimensions) (II) NV(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1600x1200" (exceeds panel dimensions) (II) NV(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1600x1200" (exceeds panel dimensions) (II) NV(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1600x1200" (exceeds panel dimensions) (II) NV(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1792x1344" (exceeds panel dimensions) (II) NV(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1792x1344" (exceeds panel dimensions) (II) NV(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1856x1392" (exceeds panel dimensions) (II) NV(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1856x1392" (exceeds panel dimensions) (II) NV(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1920x1440" (exceeds panel dimensions) (II) NV(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1920x1440" (exceeds panel dimensions) (II) NV(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "416x312" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1400x1050" (mode clock too high) (II) NV(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "1920x1440" (exceeds panel dimensions) (II) NV(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "2048x1536" (exceeds panel dimensions) (II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "2048x1536" (exceeds panel dimensions) (II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) NV(0): Not using default mode "2048x1536" (exceeds panel dimensions) (II) NV(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (--) NV(0): Virtual size is 1920x1080 (pitch 1920) (**) NV(0): *Driver mode "1920x1080": 138.5 MHz, 66.6 kHz, 59.9 Hz (II) NV(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync +vsync (66.6 kHz) (**) NV(0): Driver mode "1920x1080": 148.5 MHz, 67.5 kHz, 60.0 Hz (II) NV(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) (**) NV(0): Driver mode "1920x1080": 138.5 MHz, 66.6 kHz, 59.9 Hz (II) NV(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz) (**) NV(0): Driver mode "1680x1050": 119.0 MHz, 64.7 kHz, 59.9 Hz (II) NV(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) (**) NV(0): Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz (II) NV(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz) (**) NV(0): Driver mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (**) NV(0): Driver mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (**) NV(0): Driver mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz (II) NV(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz) (**) NV(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz (II) NV(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (**) NV(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz (II) NV(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz) (**) NV(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz (II) NV(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz) (**) NV(0): Driver mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (**) NV(0): Driver mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (**) NV(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz (II) NV(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (**) NV(0): Driver mode "1024x768": 78.8 MHz, 60.0 kHz, 75.0 Hz (II) NV(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (**) NV(0): Driver mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (**) NV(0): Default mode "1024x768": 78.8 MHz, 60.0 kHz, 75.0 Hz (II) NV(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (**) NV(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz (II) NV(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (**) NV(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz (II) NV(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (**) NV(0): Driver mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (**) NV(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz (II) NV(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (**) NV(0): Driver mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (**) NV(0): Driver mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (**) NV(0): Driver mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (**) NV(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz (II) NV(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (**) NV(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz (II) NV(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (**) NV(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz (II) NV(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (**) NV(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz (II) NV(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (**) NV(0): Driver mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (**) NV(0): Driver mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz (II) NV(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (**) NV(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz (II) NV(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (**) NV(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz (II) NV(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) (**) NV(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz (II) NV(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (**) NV(0): Driver mode "720x400": 28.3 MHz, 31.5 kHz, 70.1 Hz (II) NV(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (**) NV(0): Display dimensions: (510, 290) mm (**) NV(0): DPI set to (95, 94) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules//libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "xaa" (II) LoadModule: "xaa" (II) Loading /usr/local/lib/xorg/modules//libxaa.so (II) Module xaa: vendor="X.Org Foundation" compiled for 1.6.1, module version = 1.2.1 ABI class: X.Org Video Driver, version 5.0 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (==) NV(0): Write-combining range (0x0,0x1000) was already clear (--) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (==) NV(0): Write-combining range (0xa0000,0x10000) was already clear (II) NV(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Scanline Image Writes Setting up tile and stipple cache: 32 128x128 slots 32 256x256 slots 16 512x512 slots (==) NV(0): Backing store disabled (==) NV(0): Silken mouse enabled (**) Option "dpms" (**) NV(0): DPMS enabled (==) RandR enabled (II) Initializing built-in extension Generic Event Extension (II) Initializing built-in extension SHAPE (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension BIG-REQUESTS (II) Initializing built-in extension SYNC (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-MISC (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 From laszlo_danielisz at yahoo.com Mon Nov 2 20:27:10 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Nov 2 20:27:17 2009 Subject: dhcpd related issue <- solved In-Reply-To: <177578.41675.qm@web30805.mail.mud.yahoo.com> References: <82804.79685.qm@web30804.mail.mud.yahoo.com> <516971.12872.qm@web30807.mail.mud.yahoo.com> <806321.83601.qm@web30807.mail.mud.yahoo.com> <49594.91061.qm@web30806.mail.mud.yahoo.com> <479349.15334.qm@web30804.mail.mud.yahoo.com> <356499.59817.qm@web30803.mail.mud.yahoo.com> <177578.41675.qm@web30805.mail.mud.yahoo.com> Message-ID: <836747.62146.qm@web30805.mail.mud.yahoo.com> One of my friend brings the solution, it was reinstalling ports/net/isc-dhcp31-server instead of ports/net/isc-dhcp30-server. Now everything work fine! $ sudo dhcping -v -h 00:23:6c:86:41:e3 -s 192.168.1.1 Got answer from: 192.168.1.1 # tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 20:54:15.403871 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:e3, length 250 20:54:15.404320 IP 192.168.1.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300 20:54:15.409016 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:e3, length 244 20:55:19.960973 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 20:55:19.963275 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 300 20:57:49.958270 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 20:57:49.960509 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 300 Thanks for all of you to your help! Laci ________________________________ From: D?nielisz L?szl? To: Tim Judd Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 8:49:15 PM Subject: Re: dhcpd related issue - not giving up Thank you for your advice, I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s. Right now it's reinstalling the port. ________________________________ From: Tim Judd To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 5:16:58 PM Subject: Re: dhcpd related issue - not giving up On 11/2/09, D?nielisz L?szl? wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { > option domain-name-servers cns01.hdsnet.hu; > max-lease-time 300; > range 192.168.1.200 192.168.1.253; > allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. From chuckr at telenix.org Mon Nov 2 20:44:31 2009 From: chuckr at telenix.org (Chuck Robey) Date: Mon Nov 2 20:44:38 2009 Subject: Eclipse & Java 1.5 In-Reply-To: <20091102153740.GD12766@borusse.borussiapark> References: <20091102153740.GD12766@borusse.borussiapark> Message-ID: <4AEF44D0.2060600@telenix.org> Alex Huth wrote: > Hi! > > I want to change my laptop system from Debian to FreeBSD. After installing 8.0 > RC2 in a virtual machine i have tried to install eclipse and changed the Java > version in the makefile to 1.5, but it still want to install the 1.6 jdk. > > I need the 1.5 version for several reasons, for example VPN account. > This surprises me a bit, as I'd understood that the differences between 1.5 and 1.6 were strictly limited to bugfixes, and changed the interface not at all. Reason that this might make some difference to you is that, at least for me (using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely rock stable. Do you really have some reports saying that jdk16 doesn't work in your situation? > How can i solve the problem? Is java 1.5 also available if i install it on > AMD64? On debian this is a Problem. > > Thx > > Alex > > Never be afraid to try something new. > Remember, amateurs built the ark. > Professionals built the Titanic. ? unknow > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From freebsd at edvax.de Mon Nov 2 20:49:38 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Nov 2 20:49:45 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <4AEF3F3E.7000204@videotron.ca> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> Message-ID: <20091102214935.bd92c2ce.freebsd@edvax.de> On Mon, 02 Nov 2009 16:21:18 -0400, PJ wrote: > No. The only way is by hitting the SysRq/PrintScreen key if the > "AllowEmptyInput" is not "off", otherwise you have to reboot. Reboot isn't needed to fix things - that's a misbelief from "Windows" land. :-) Simply SSH into the box and kill X. > Yes, but you are supposed to see the x for the mouse. Doesn't happen... > as I mentioned, on one try when doing ctl/alt/del the X appeared and > then - shutdown. Strange. Ctrl+Alt+Del isn't supposed to have an effect in X, if I remember correctly. Ctrl+Alt+Backspace should kill the X server, but doesn't obviously work when no input is accepted. There's the "DontZap" setting in xorg.conf. > I use fluxbox and for some years now, I have never had to put anything > into .xinitrc except "startfluxbox" of just plain "fluxbox" and it > always worked. That's correct. Your ~/.xinitrc should at leas contain an interpreter command, and then the commands you want to run, e. g. #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xsetroot -solid rgb:3b/4c/7a exec fluxbox Note that the fluxbox call is to be preceeded by "exec". > It seems to me that the options for flatpanel must be activated... bin > there, done that... Separate options? For flat panel? I must have slept for many centuries... Let's have a look at the log: > (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or > 'vmmouse' will be disabled. > (WW) Disabling Mouse0 > (WW) Disabling Keyboard0 Okay, no input for you. I can't see any further warnings (WW) or errors (EE) in this log. Seems that X is up and running, and nothing more? Check .xinitrc and .xsession respectively. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From peter.piggybox at virgin.net Mon Nov 2 20:52:10 2009 From: peter.piggybox at virgin.net (Peter Harrison) Date: Mon Nov 2 20:52:17 2009 Subject: Problem installing dvdauthor... In-Reply-To: References: <20091031191820.GA4547@laptop.piggybox> Message-ID: <20091102205114.GA1156@ideapad.piggybox> Sunday, 1 November 2009 at 23:43:26 +0100, usleepless@gmail.com said: > Dear Peter, > > On Sat, Oct 31, 2009 at 8:18 PM, Peter Harrison > wrote: > > > Hi all, > > > > Can anyone advise what I'm doing wrong trying to install > > multimedia/dvdauthor. Here's the end of the error: > > > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > > -I/usr/local/include/libxml2 -I/usr/local/include > > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF > > ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > > ".deps/subreader.Tpo"; exit 1; fi > > subreader.c: In function 'sub_read_line_aqt': > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c:661: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_read_line_subrip09': > > subreader.c:717: warning: comparison with string literal results in > > unspecified behaviour > > subreader.c: In function 'sub_fribidi': > > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > > function) > > subreader.c:1082: error: (Each undeclared identifier is reported only once > > subreader.c:1082: error: for each function it appears in.) > > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > > function) > > subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from > > incompatible pointer type > > gmake[2]: *** [subreader.o] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake[1]: *** [all] Error 2 > > gmake[1]: Leaving directory > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > gmake: *** [all-recursive] Error 1 > > *** Error code 1 > > > > This is on: > > > > FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10 > > 13:54:52 BST 2009 root@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP > > i386 > > > > With a ports tree updated last night. > > > > What am I missing? > > > > i don't think you are missing anything: i have a slighty older ports tree > from september, and it fails as well. > > i assume the port is "broken". ( i will take a look if i can identitfy the > problem ) Thanks - good to know it's not just me. I'll drop a line to the maintainer. Peter. > > regards, > > usleep From rsmith at xs4all.nl Mon Nov 2 21:13:14 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Nov 2 21:13:30 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <4AEF3F3E.7000204@videotron.ca> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> Message-ID: <20091102211311.GA14933@slackbox.xs4all.nl> On Mon, Nov 02, 2009 at 04:21:18PM -0400, PJ wrote: > I also have tried with the monitor in digital mode as well as in > analog... neither works. Do you mean with a VGA and DVI connector? > It seems to me that the options for flatpanel must be activated... bin > there, done that... Why? > And that is because I saw those kinds of directions activated under the > display management in XP. O:-) And since when is XP a good example of how to configure X? ;-) > So, here's my log: > > X.Org X Server 1.6.1 > Release Date: 2009-4-14 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 7.2-RELEASE i386 > Current Operating System: FreeBSD grendl.my.domain 7.2-RELEASE FreeBSD > 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 > root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > Build Date: 21 August 2009 12:40:03PM > > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 2 11:07:26 2009 > (++) Using config file: "xorg.conf1" > (==) ServerLayout "X.org Configured" > (**) |-->Screen "Screen0" (0) > (**) | |-->Monitor "Monitor0" > (**) | |-->Device "Card0" > (**) |-->Input Device "Mouse0" > (**) |-->Input Device "Keyboard0" > (==) Automatically adding devices > (==) Automatically enabling devices > (**) ModulePath set to "/usr/local/lib/xorg/modules" > (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or > 'vmmouse' will be disabled. > (WW) Disabling Mouse0 > (WW) Disabling Keyboard0 This could be the reason why you are not seeing a mouse cursor... Try adding Option "AutoAddDevices" "off" to your "ServerLayout" section, and remove any AllowEmptyInput lines. Or install and configure and start sysutils/hal before starting Xorg. For myself I find it easier to build the Xorg server without hal support and use the option shown above, so I don't have to deal with hald. > (--) NV(0): Virtual size is 1920x1080 (pitch 1920) > (**) NV(0): *Driver mode "1920x1080": 138.5 MHz, 66.6 kHz, 59.9 Hz > (II) NV(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 It looks like a correct resolution is found and activated. As an aside, and not related to your problem, you might want to try the xf86-video-nouveau instead of nv. It is under heavier development and is working toward supporting 3D accelleration and supporting newer chips. > (II) Initializing built-in extension DAMAGE > (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so > (II) GLX: Initialized DRISWRAST GL provider for screen 0 Normally, you'd expext to see some stuff from the mouse and keyboard drivers last in the logfile... Since theay are missing, and seeing the warning printed above, your problem isn't what it seems to be. I think the server gets stuck because it can't find a keyboard and mouse. That would explain why you don't see a cursor. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/c615b8b5/attachment.pgp From perrin at apotheon.com Mon Nov 2 21:22:02 2009 From: perrin at apotheon.com (Chad Perrin) Date: Mon Nov 2 21:22:13 2009 Subject: WPA: specify alternate config file in rc.conf Message-ID: <20091102221422.GA7482@guilt.hydra> If I want to start wpa_supplicant directly, and specify a particular configuration file, I can do something like this: wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf ifconfig line, rather than just going with the default /etc/wpa_supplicant.conf file? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/0fc7202f/attachment.pgp From chrisstankevitz at yahoo.com Mon Nov 2 21:22:36 2009 From: chrisstankevitz at yahoo.com (Chris Stankevitz) Date: Mon Nov 2 21:22:48 2009 Subject: please help me make sense of top's CPU output Message-ID: <330157.31913.qm@web52911.mail.re2.yahoo.com> Hello, I recently performed a CPU intensive task with Xorg. When I completed the task and Xorg no longer was using the CPU, I got this result from top: === last pid: 1201; load averages: 0.24, 0.10, 0.09 up 0+00:29:42 63 processes: 1 running, 62 sleeping CPU: 1.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.0% idle Mem: 161M Active, 67M Inact, 68M Wired, 1240K Cache, 41M Buf, 1676M Free Swap: 4060M Total, 4060M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU 1017 cstankevitz 1 104 0 366M 331M select 0 3:25 35.89% Xorg === Note that the "CPU" row reports 99% idle. Note that the "CPU" column reports 36% Xorg I have two questions: 1. Why do these two numbers seem to not agree? One reports the CPU is not being used, the other reports Xorg is using the CPU. 2. How can I change my system so that these two numbers seem to agree? Thank you, Chris PS: conky does the same thing -- I assume this means the seemingly disagreeing numbers are coming from the FreeBSD kernel. From engage at ideasforchange.tv Mon Nov 2 21:26:27 2009 From: engage at ideasforchange.tv (IdeasForChange.TV) Date: Mon Nov 2 21:26:41 2009 Subject: Ideas For Change launches in closed beta today Message-ID: <112226.TVUHIRJO@ideasforchange.tv> We are very proud to have finalized the first step in building this platform that will become an active tool to improve our world. Against all good advice that we should build first and then connect the world, we decided that we are nothing without your knowledge. Without your input. And we said that we wanted to build this project from a different angle. We have the tools, we have the team, we have some funding but we need you guys to engage and tell us what your community needs. How we can help. We will build the biggest online community on sustainable topics, we will give you access and the keys to build your own subgroups both closed and public. But without taking this first step to ask for your opinion we would be working with old obsolete models. The films you see are just a fragment of what will come, the texts are just a start. If you need a login please ask us, if you want to contribute otherwise, sponsor a subcategory or need anything more please don?t hesitate to ask. So please enjoy, spread the word and engage! The Ideas For Change Global Team Visit the web site IdeasForChange.TV To unsubscribe, please reply with the word unsubscribe. Sorry if we bothered you! Project and website by Dabber.tv From dnelson at allantgroup.com Mon Nov 2 21:34:37 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Nov 2 21:34:44 2009 Subject: please help me make sense of top's CPU output In-Reply-To: <330157.31913.qm@web52911.mail.re2.yahoo.com> References: <330157.31913.qm@web52911.mail.re2.yahoo.com> Message-ID: <20091102213432.GY29215@dan.emsphone.com> In the last episode (Nov 02), Chris Stankevitz said: > I recently performed a CPU intensive task with Xorg. When I completed the > task and Xorg no longer was using the CPU, I got this result from top: > > === > > last pid: 1201; load averages: 0.24, 0.10, 0.09 up 0+00:29:42 > 63 processes: 1 running, 62 sleeping > CPU: 1.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.0% idle > Mem: 161M Active, 67M Inact, 68M Wired, 1240K Cache, 41M Buf, 1676M Free > Swap: 4060M Total, 4060M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU > 1017 cstankevitz 1 104 0 366M 331M select 0 3:25 35.89% Xorg The CPU column in the process list is a decaying average (more useful to the kernel scheduler than an instantaneous value). You'll see it slowly drop to 0 over 10-15 seconds. Junior Hacker Project: add an instantaneous-CPU value (calculated by subtracting successive ki_runtime values) to the list of things top calculates and toggle it and weighted-CPU when pressing C. The toggling code is already there; it just toggles between two different weighted-cpu values at the moment. -- Dan Nelson dnelson@allantgroup.com From rsmith at xs4all.nl Mon Nov 2 22:07:35 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Nov 2 22:07:43 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <4AEF507F.4080601@tatteredcover.com> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> <20091102211311.GA14933@slackbox.xs4all.nl> <4AEF507F.4080601@tatteredcover.com> Message-ID: <20091102220727.GA17251@slackbox.xs4all.nl> On Mon, Nov 02, 2009 at 02:34:55PM -0700, Reed Loefgren wrote: > Did you ever run X with hal installed? No. X always worked fine for me without hal, so I don't see a compelling reason to use it. I'll keep disabling it as long as I can. > But these days digikam can't talk worth a damn to > my digital camera and it used to fine. I've used gtkam but not digikam. These days I just use the command line program gphoto2 to copy pictures from my camera to my computer. That is fast and efficient. And it produces an error message when there is something wrong on the USB bus. Maybe digikam has a logfile where you can check for errors? Or a --verbose flag that lets you see errors when starting it from a temninal. > I am wondering if my use of hal > might be the culprit, but I never log when I change things and don't want > to accuse if I don't have cause. According to /usr/ports/sysutils/hal/Makefile, hal is built without USB support (configure flag --disable-usb) on FreeBSD. So I would be suprised if it is a cause of USB problems. But since I know squat about hald, I could be talking out of my ass right now. :-) > I also don't want to re-re-compile, as a > test, all the stuff that I re-compiled when I started using hal. Have you > noticed any USB issues on your machine that you can't blame hal for > (because you don't use it)? Not really. Some umass devices cannot handle full-speed data transfers, but that seems to be a "feature" of a crappy USB chipset in the device in question. The USB stack in 8.x seems to be an improvement over the one in 7.x though. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091102/a5ceb31d/attachment.pgp From onemda at gmail.com Mon Nov 2 22:27:33 2009 From: onemda at gmail.com (Paul B Mahol) Date: Mon Nov 2 22:27:40 2009 Subject: WPA: specify alternate config file in rc.conf In-Reply-To: <20091102221422.GA7482@guilt.hydra> References: <20091102221422.GA7482@guilt.hydra> Message-ID: <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> On 11/2/09, Chad Perrin wrote: > If I want to start wpa_supplicant directly, and specify a particular > configuration file, I can do something like this: > > wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf > > How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf > ifconfig line, rather than just going with the default > /etc/wpa_supplicant.conf file? Look into /etc/defaults/rc.conf for hint. From jhell at DataIX.net Mon Nov 2 23:57:55 2009 From: jhell at DataIX.net (jhell) Date: Mon Nov 2 23:58:02 2009 Subject: WPA: specify alternate config file in rc.conf In-Reply-To: <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> Message-ID: On Mon, 2 Nov 2009 17:27, onemda@ wrote: > On 11/2/09, Chad Perrin wrote: >> If I want to start wpa_supplicant directly, and specify a particular >> configuration file, I can do something like this: >> >> wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf >> >> How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf >> ifconfig line, rather than just going with the default >> /etc/wpa_supplicant.conf file? > > Look into /etc/defaults/rc.conf for hint. > This is not a option in rc.conf default or otherwise ATM. The proper place to look for changing this: etc/rc.d/wpa_supplicant where it is hard-written to the start-up script/routine. This should probably be something that is handled in the default rc.conf through wpa_supplicant_flags and a default set for them to start from so it can at least be changed on a per use basis. I could have swore this was already in place in earlier sources. Best regards. -- Mon Nov 2 18:49:34 2009 -0500 jhell From bobmc_net at rogers.com Tue Nov 3 01:14:59 2009 From: bobmc_net at rogers.com (Bob McIsaac) Date: Tue Nov 3 01:15:05 2009 Subject: Support for Hauppauge 950Q USB tuner Message-ID: <4AEF7DA2.4030402@rogers.com> Can the 950Q HDTV tuner be made to work with FreeBSD? The device is identified by dmesg but of course the Hauppauge firmware must be somehow transfered to the device and then something like the Linux dvb-apps must be used for tuning and streaming. My intent is use the 950 with Zotac IONITX mobo which has Intel ION and Nvidia chipsets. Mplayer must have vdpau enabled. I am not fond of MythTv, in case anyone is wondering. =Bob From fbsdq at peterk.org Tue Nov 3 01:16:00 2009 From: fbsdq at peterk.org (Peter) Date: Tue Nov 3 01:16:07 2009 Subject: xen or virtualbox or vmware ? Message-ID: iH, Trying to setup a new 'virtual' environment. Goal is to run freebsd in a virtual environment for ease of management and just because I've finally got _new_ hardware that isn't ~7++ years old. So far thinking of going netbsd -> xen -> freebsd/whatever [if it'll work] or would the following be better? linux -> xen -> freebsd/whatever or freebsd -> virtualbox -> freebsd/whatever or [don't really care for] linux -> vmware workstation -> freebsd/whatever [my generic hardware doesn't work with esx[i]] Has anyone done something similar, especially the xen type of setup or would one recommend a freebsd and virtualbox ? What dom0 have you found to work best with xen? Just looking for thoughts/ideas/experience. ]Peter[ From glen.j.barber at gmail.com Tue Nov 3 02:08:06 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Nov 3 02:09:09 2009 Subject: xen or virtualbox or vmware ? In-Reply-To: References: Message-ID: <4ad871310911021808x1927581ak437f2cbc55648507@mail.gmail.com> Hi On Mon, Nov 2, 2009 at 8:15 PM, Peter wrote: > iH, > ? Trying to setup a new 'virtual' environment. > Goal is to run freebsd in a virtual environment for ease of management and > just because I've finally got _new_ hardware that isn't ~7++ years old. > > So far thinking of going > ?netbsd -> xen -> freebsd/whatever [if it'll work] > or would the following be better? > ?linux -> xen -> freebsd/whatever > or > ?freebsd -> virtualbox -> freebsd/whatever > or [don't really care for] > ?linux -> vmware workstation -> freebsd/whatever > ? ?[my generic hardware doesn't work with esx[i]] > > Has anyone done something similar, especially the xen type of setup or > would one recommend a freebsd and virtualbox ? > What dom0 have you found to work best with xen? > > Just looking for thoughts/ideas/experience. If your end result is to run FreeBSD, why not use jails? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html -- Glen Barber From amvandemore at gmail.com Tue Nov 3 02:16:12 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Nov 3 02:16:18 2009 Subject: xen or virtualbox or vmware ? In-Reply-To: References: Message-ID: <6201873e0911021816k14ec30fbi6f0b3201d257b9dd@mail.gmail.com> On Mon, Nov 2, 2009 at 7:15 PM, Peter wrote: > iH, > Trying to setup a new 'virtual' environment. > Goal is to run freebsd in a virtual environment for ease of management and > just because I've finally got _new_ hardware that isn't ~7++ years old. > > So far thinking of going > netbsd -> xen -> freebsd/whatever [if it'll work] > or would the following be better? > linux -> xen -> freebsd/whatever > or > freebsd -> virtualbox -> freebsd/whatever > or [don't really care for] > linux -> vmware workstation -> freebsd/whatever > [my generic hardware doesn't work with esx[i]] > > Has anyone done something similar, especially the xen type of setup or > would one recommend a freebsd and virtualbox ? > What dom0 have you found to work best with xen? > > Just looking for thoughts/ideas/experience. > > ]Peter[ > > Building my own similar setup right now actually. I've got an OpenSolaris, NetBSD, and FreeBSD cd burned and ready to go. In days gone by, you'd answer use Xen of course. However, VBox has made a great deal of progress lately making my decision more difficult. At this point, I'm leaning towards OpenSolaris because of Dom0 support and ZFS. At work I use Debian Lenny w/ Xen and ganeti which is good. However, I'm used to better documentation and a more consistent layout which IMO the Penguin sucks at, and I mean get ready for a world class donkey punch because if you're not already a skilled user you'll need to become one to figure out any sort of non-standard customization you might want. Also have to use grub when running xen. Grub config is pretty easy but full of gotchas. As also mentioned, jails are great and way more efficient than either xen or vbox, but sometimes you can't run fbsd. -- Adam Vande More From fbsdq at peterk.org Tue Nov 3 02:23:39 2009 From: fbsdq at peterk.org (Peter) Date: Tue Nov 3 02:23:46 2009 Subject: xen or virtualbox or vmware ? In-Reply-To: <4ad871310911021808x1927581ak437f2cbc55648507@mail.gmail.com> References: <4ad871310911021808x1927581ak437f2cbc55648507@mail.gmail.com> Message-ID: <12521765e8ea424f9c78a5465a32f6f3.squirrel@webmail.pknet.net> > Hi > > On Mon, Nov 2, 2009 at 8:15 PM, Peter wrote: >> iH, >> ? Trying to setup a new 'virtual' environment. >> Goal is to run freebsd in a virtual environment for ease of management >> and >> just because I've finally got _new_ hardware that isn't ~7++ years old. >> >> So far thinking of going >> ?netbsd -> xen -> freebsd/whatever [if it'll work] >> or would the following be better? >> ?linux -> xen -> freebsd/whatever >> or >> ?freebsd -> virtualbox -> freebsd/whatever >> or [don't really care for] >> ?linux -> vmware workstation -> freebsd/whatever >> ? ?[my generic hardware doesn't work with esx[i]] >> >> Has anyone done something similar, especially the xen type of setup or >> would one recommend a freebsd and virtualbox ? >> What dom0 have you found to work best with xen? >> >> Just looking for thoughts/ideas/experience. > > If your end result is to run FreeBSD, why not use jails? > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html > > > -- > Glen Barber Have jails now, wanted to try something new - and prolly run freebsd/windows/linux/whatever on that box also for the fun of it. ]Peter[ From y6wb32 at hotmail.com Tue Nov 3 02:04:44 2009 From: y6wb32 at hotmail.com (aa) Date: Tue Nov 3 02:54:29 2009 Subject: is there difference between VTY and vty in sysinstall? Message-ID: hi i'm unclear that the sysintall show "Go to VTY4 now by typing ALT-F4" when I press "2 CDROM/DVD Use the live filesystem CDROM/DVD" under Fixit menu. however, i scroll the screen up to see booting message, it shows: /stand/sysinstall running as init on vty0. as such, if vty0 is coresponding to keystroke 'ALT-F1' then , is it that vty4 coresponding to 'ALT-F5'? or is there defference between VTY(uppercase) and vty(lowercase)? ---- dmesg snippet ---- ... Trying to mount root from ufs:/dev/md0 /stand/sysinstall running as init on vty0 ... ---- press ALT-F4 or sysinstall call it 'VTY4' ---- ... Good Luck! Fixit# tcsh # echo $tty ttyv3 # _________________________________________________________________ ?????????????????msn????? http://ditu.live.com/?form=TL&swm=1 From kennethcf at earthlink.net Tue Nov 3 04:13:02 2009 From: kennethcf at earthlink.net (Kenneth Freidank) Date: Tue Nov 3 04:13:10 2009 Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else Message-ID: <18273839.1257221581200.JavaMail.root@wamui-cynical.atl.sa.earthlink.net> Here are partial listings of my config files. Add these entries to your config files and see if that does the trick. I can't be 100% sure that everything is required, but it is what I have, and it works. Attached is the xorg.conf file I generated. Place it in the directory /etc/X11/. When you have done these things, make sure your user belongs to the group "wheel", then login. To start X, give the command: startx You should get 3 windows, one of them labeled "login" in the title bar. If you type "exit" while inside this window, then return, that will end your X session. You will have some "fatal error" messages in your console window when X finishes. Also, make sure you have installed the nvidia drivers per my other postings. You can check if you have the package installed by typing: pkg_info | grep nvidia You should see at a minimum: nidia-driver-185.18.29 NVidia graphics card binary drivers for hardware OpenGL ren You have to build this packages and install it. This process is documented in the NetBSD documents and my other postings for installing FreeBSD on a Compaq Presario CQ60. File /etc/rc.conf linux_enable="YES" moused_enable="YES" keyrate="fast" saver="star" hald_enable="YES" dbus_enable="YES" vesa_load="YES" File /boot/loader.conf nvidia_load="YES" -----Original Message----- >From: Henry Olyer >Sent: Oct 26, 2009 2:53 AM >To: freebsd-questions@freebsd.org >Cc: Kenneth , Chris Whitehouse >Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else > >'everything; is dying in /usr/ports/lang/gcc44 > >I know, (in all likelihood,) I'll have to scratch this area and do a >complete re-install. Fine. The thing is, I didn't change anything to mess >this area up in the first place. > >I've just been going to various directories in /usr/ports and saying, "make >install clean" and now this... I was trying to put up octave when this >happened. > >So I could use a little help here, please... > >I also want/need to run X, and my X session (just put up,) doesn't yet let >me move the mouse. I installed hal and dbus but what do I do now? > >And where or where do I put the "ServerFlags" entry in my xorg.conf file. > I'm sorry, I just don't know these things... > > > > >===> Building for gcc-4.4.2.20091006 >echo stage3 > stage_final >gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build' >rm -f stage_current >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty' >gmake[4]: Entering directory >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' >gmake[4]: Nothing to be done for `all'. >gmake[4]: Leaving directory >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl' >gmake[3]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' >gmake[4]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' >gmake[4]: Nothing to be done for `all'. >gmake[4]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' >gmake[3]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' >gmake[3]: Entering directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib' >true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g -fkeep-inline-functions" >"CXXFLAGS=-g -fkeep-inline-functions" "CFLAGS_FOR_BUILD=-O2 >-fno-strict-aliasing -pipe -I/usr/l >ocal/include" "CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe >-I/usr/local/include" "INSTALL=/usr/bin/install -c -o root -g wheel" >"INSTALL_DATA=install -o root - >g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" >"INSTALL_SCRIPT=install -o root -g wheel -m 555" "LDFLAGS=" "LIBCFLAGS=-g >-O2 -fno-strict-aliasin >g -pipe -I/usr/local/include" "LIBCFLAGS_FOR_TARGET=-g -O2 >-fno-strict-aliasing -pipe -I/usr/local/include" "MAKE=gmake" >"MAKEINFO=makeinfo --no-split --split-size=5000 >000 --split-size=5000000 --split-size=5000000" "PICFLAG=" >"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" >"RUNTESTFLAGS=" "exec_prefix=/usr/loca >l" "infodir=/usr/local/info/gcc44" "libdir=/usr/local/lib/gcc44" >"prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd7.2" "AR=ar" >"AS=as" "CC=cc" "CXX=c++" "LD= >/usr/bin/ld" "LIBCFLAGS=-g -O2 -fno-strict-aliasing -pipe >-I/usr/local/include" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all >multi-do # gmake >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/zlib' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libcpp' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libcpp' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/gcc' >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/gcc' -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg.conf Type: application/octet-stream Size: 2568 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091103/80c90f09/xorg.obj From ohartman at mail.zedat.fu-berlin.de Tue Nov 3 09:06:44 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Tue Nov 3 09:06:53 2009 Subject: 'make release' on ZFS filesystem fails: chflags: operation not permitted Message-ID: <4AEFEE9C.5000200@mail.zedat.fu-berlin.de> I followed the steps making a release on FreeBSD 8.0-RC2/AMD64 on my box, the target CHROOTDIR is located on a ZFS volume. I searched the list for a solution, but did not find any. sysctl kern.securelevel shows kern.securelevel: -1 Is there any solution? I guess those with complete ZFS infrastructure will not be able performing a make release, or do they? Thanks in advance, Oliver From vince at unsane.co.uk Tue Nov 3 09:55:47 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Nov 3 09:55:54 2009 Subject: 'make release' on ZFS filesystem fails: chflags: operation not permitted In-Reply-To: <4AEFEE9C.5000200@mail.zedat.fu-berlin.de> References: <4AEFEE9C.5000200@mail.zedat.fu-berlin.de> Message-ID: <4AEFFE21.8040803@unsane.co.uk> O. Hartmann wrote: > I followed the steps making a release on FreeBSD 8.0-RC2/AMD64 on my > box, the target CHROOTDIR is located on a ZFS volume. I searched the > list for a solution, but did not find any. > sysctl kern.securelevel shows > kern.securelevel: -1 > > Is there any solution? I guess those with complete ZFS infrastructure > will not be able performing a make release, or do they? > > Odd I though flags were now supported on the newer zfs versions. Try NO_SCHG=yes in /etc/make.conf as a workaround. Vince > Thanks in advance, > Oliver > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From axelbsd at ymail.com Tue Nov 3 11:51:48 2009 From: axelbsd at ymail.com (Alexandre L.) Date: Tue Nov 3 11:51:56 2009 Subject: SLIM and XFCE4 Message-ID: <591867.64364.qm@web24802.mail.ird.yahoo.com> Hi all, I want to use SLIM (Graphical login manager for X11) with XFCE4. After the installation, I have enabled it with the line slim_enable="YES" in /etc/rc.conf When I log in (from SLIM), the language in XFCE is english. If I don't use SLIM, I log in on TTY and use %startx, XFCE language is in French (I have configured it). Here my config files : .dmrc (of my user) [Desktop] Session=Xfce4 Language=fr_FR.UTF-8 .login_conf (of my user) me:\ :charset=ISO-8859-15:\ :lang=fr_FR.ISO8859-15:\ .xinitrc (of my user) /usr/local/bin/startxfce4 I want to use SLIM to launch XFCE4 in French. Thanks for your help. Alexandre. From carmel_ny at hotmail.com Tue Nov 3 11:57:15 2009 From: carmel_ny at hotmail.com (carmel_ny) Date: Tue Nov 3 11:57:28 2009 Subject: /etc/fstab + embedded spaces Message-ID: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //user@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. I did some Googling and discovered that I am not the only one annoyed by this behavior. I discovered this patch that had been submitted awhile ago. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html Changing the share name is not really an option. Is there some way of making this work in 'fstab'? I can use the name including spaces in 'mount_smbfs' so that is how I am currently mounting the share. It just seems strange that 'fstab' by not accepting the use of quoting is not in step with how FreeBSD usually operates. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | It is much easier to suggest solutions when you know nothing about the problem. From perrin at apotheon.com Tue Nov 3 11:57:16 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Nov 3 11:57:29 2009 Subject: WPA: specify alternate config file in rc.conf In-Reply-To: References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> Message-ID: <20091103124940.GA96874@guilt.hydra> On Mon, Nov 02, 2009 at 06:57:41PM -0500, jhell wrote: > > This is not a option in rc.conf default or otherwise ATM. > > The proper place to look for changing this: etc/rc.d/wpa_supplicant where > it is hard-written to the start-up script/routine. This should probably be > something that is handled in the default rc.conf through > wpa_supplicant_flags and a default set for them to start from so it can at > least be changed on a per use basis. I could have swore this was already > in place in earlier sources. Thanks. In retrospect, I probably should have looked in /etc/rc.d on my own. Thanks for pointing me in the right direction. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091103/587e16bb/attachment.pgp From henry.olyer at gmail.com Tue Nov 3 13:21:15 2009 From: henry.olyer at gmail.com (Henry Olyer) Date: Tue Nov 3 13:23:18 2009 Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else In-Reply-To: <18273839.1257221581200.JavaMail.root@wamui-cynical.atl.sa.earthlink.net> References: <18273839.1257221581200.JavaMail.root@wamui-cynical.atl.sa.earthlink.net> Message-ID: <1d7089c40911030521q106c66ffm79a2df6a372d787b@mail.gmail.com> I'm sorry fellows. You guys have given me great support and apparently I didn't get back to you. I'm sorry, I'm not very polite some times. I will try to be more careful about this. Okay -- I was able to get my mouse working. I made a ServerFlags section in my xorg.conf and suddenly!, my mouse moved. (Here you can assume a remark not in evidence...) Next, I have wonderful X sessions now. Next, I am prepared to nuke the /usr/ports area if I am told to do that -- I know it can be mechanically rebuilt in about an hour. (A past note from Kenneth gave me this instruction and while I was a little nervous I did it; And wow!, I was so impressed as I watched it come back.) Question: Does the rebuild process examine the pkg_info results and load up the directory appropriately?. or is it "one size fits all?" Question: Does anyone have a solution for doing a general machine backup to one file? So that I can back the machine up and later, subsequently, perform a simple restore. Because I've been using the machine very heavily now, and I usually find that my own manual backups miss one thing or another... You've probably had the same experience. Now, I see others asking for such a feature/mechanism. What's possible? As for gcc44, I am fairly certain that it's actually broken -- that the port itself is broken and that it isn't my incompetence, that the port itself is mis-configured or mis-coded. Oh., and in a conversation with an HP technical representative recently, he told me that my taking down windoz to install FreeBSD constituted a "machine downgrade." On Mon, Nov 2, 2009 at 11:13 PM, Kenneth Freidank wrote: > Here are partial listings of my config files. Add these entries to your > config files and see if that does the trick. I can't be 100% sure that > everything is required, but it is what I have, and it works. Attached is > the xorg.conf file I generated. Place it in the directory /etc/X11/. When > you have done these things, make sure your user belongs to the group > "wheel", then login. To start X, give the command: > startx > You should get 3 windows, one of them labeled "login" in the title bar. If > you type "exit" while inside this window, then return, that will end your X > session. You will have some "fatal error" messages in your console window > when X finishes. > > Also, make sure you have installed the nvidia drivers per my other > postings. You can check if you have the package installed by typing: > pkg_info | grep nvidia > You should see at a minimum: > nidia-driver-185.18.29 NVidia graphics card binary drivers for hardware > OpenGL ren > > You have to build this packages and install it. This process is documented > in the NetBSD documents and my other postings for installing FreeBSD on a > Compaq Presario CQ60. > > > File /etc/rc.conf > > linux_enable="YES" > moused_enable="YES" > keyrate="fast" > saver="star" > hald_enable="YES" > dbus_enable="YES" > vesa_load="YES" > > File /boot/loader.conf > > nvidia_load="YES" > > > > > -----Original Message----- > >From: Henry Olyer > >Sent: Oct 26, 2009 2:53 AM > >To: freebsd-questions@freebsd.org > >Cc: Kenneth , Chris Whitehouse < > cwhiteh@onetel.com> > >Subject: am I the only one, wrt gcc44 -- it is failing and I can't build > octave or much else > > > >'everything; is dying in /usr/ports/lang/gcc44 > > > >I know, (in all likelihood,) I'll have to scratch this area and do a > >complete re-install. Fine. The thing is, I didn't change anything to > mess > >this area up in the first place. > > > >I've just been going to various directories in /usr/ports and saying, > "make > >install clean" and now this... I was trying to put up octave when this > >happened. > > > >So I could use a little help here, please... > > > >I also want/need to run X, and my X session (just put up,) doesn't yet let > >me move the mouse. I installed hal and dbus but what do I do now? > > > >And where or where do I put the "ServerFlags" entry in my xorg.conf file. > > I'm sorry, I just don't know these things... > > > > > > > > > >===> Building for gcc-4.4.2.20091006 > >echo stage3 > stage_final > >gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build' > >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build' > >rm -f stage_current > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build' > >gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build' > >gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty' > >gmake[4]: Entering directory > >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' > >gmake[4]: Nothing to be done for `all'. > >gmake[4]: Leaving directory > >`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl' > >gmake[3]: Nothing to be done for `all'. > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl' > >gmake[3]: Entering directory > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' > >gmake[4]: Entering directory > > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' > >gmake[4]: Nothing to be done for `all'. > >gmake[4]: Leaving directory > > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite' > >gmake[3]: Leaving directory > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty' > >gmake[3]: Entering directory > > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' > >gmake[3]: Nothing to be done for `all'. > >gmake[3]: Leaving directory > > >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib' > >true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g -fkeep-inline-functions" > >"CXXFLAGS=-g -fkeep-inline-functions" "CFLAGS_FOR_BUILD=-O2 > >-fno-strict-aliasing -pipe -I/usr/l > >ocal/include" "CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe > >-I/usr/local/include" "INSTALL=/usr/bin/install -c -o root -g wheel" > >"INSTALL_DATA=install -o root - > >g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" > >"INSTALL_SCRIPT=install -o root -g wheel -m 555" "LDFLAGS=" "LIBCFLAGS=-g > >-O2 -fno-strict-aliasin > >g -pipe -I/usr/local/include" "LIBCFLAGS_FOR_TARGET=-g -O2 > >-fno-strict-aliasing -pipe -I/usr/local/include" "MAKE=gmake" > >"MAKEINFO=makeinfo --no-split --split-size=5000 > >000 --split-size=5000000 --split-size=5000000" "PICFLAG=" > >"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" > >"RUNTESTFLAGS=" "exec_prefix=/usr/loca > >l" "infodir=/usr/local/info/gcc44" "libdir=/usr/local/lib/gcc44" > >"prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd7.2" "AR=ar" > >"AS=as" "CC=cc" "CXX=c++" "LD= > >/usr/bin/ld" "LIBCFLAGS=-g -O2 -fno-strict-aliasing -pipe > >-I/usr/local/include" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all > >multi-do # gmake > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/zlib' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libcpp' > >gmake[3]: Nothing to be done for `all'. > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libcpp' > >gmake[3]: Entering directory > `/usr/ports/lang/gcc44/work/build/libdecnumber' > >gmake[3]: Nothing to be done for `all'. > >gmake[3]: Leaving directory > `/usr/ports/lang/gcc44/work/build/libdecnumber' > >gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/gcc' > >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/gcc' > From a.huth at tmr.net Tue Nov 3 14:17:39 2009 From: a.huth at tmr.net (Alex Huth) Date: Tue Nov 3 14:28:04 2009 Subject: Eclipse & Java 1.5 In-Reply-To: <4AEF44D0.2060600@telenix.org> References: <20091102153740.GD12766@borusse.borussiapark> <4AEF44D0.2060600@telenix.org> Message-ID: <20091103131736.GA92201@borusse.borussiapark> * Chuck Robey schrieb: > Alex Huth wrote: > > Hi! > > > > I want to change my laptop system from Debian to FreeBSD. After installing 8.0 > > RC2 in a virtual machine i have tried to install eclipse and changed the Java > > version in the makefile to 1.5, but it still want to install the 1.6 jdk. > > > > I need the 1.5 version for several reasons, for example VPN account. > > > > This surprises me a bit, as I'd understood that the differences between 1.5 and > 1.6 were strictly limited to bugfixes, and changed the interface not at all. > Reason that this might make some difference to you is that, at least for me > (using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely > rock stable. > > Do you really have some reports saying that jdk16 doesn't work in your situation? > Yes, for example access over Juniper Netscreen VPN requires flash and java 1.5. Alex From freejove at gmail.com Tue Nov 3 15:34:12 2009 From: freejove at gmail.com (Jove James) Date: Tue Nov 3 15:47:42 2009 Subject: ask for help on a strange question Message-ID: Hi friend, I've set up a FreeBSD virtual machine with VmWare Player. After configuring networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I got "command not found" error: jove# pwd /opt/lampp jove# ls RELEASENOTES error lampp logs sbin backup etc lib modules share bin htdocs libexec phpmyadmin tmp cgi-bin icons licenses phpsqliteadmin var jove# ./lampp start ./lampp: Command not found. jove# If you know the reason which caused the error could you please kindly tell me by replying this email? Many thanks, Jove From mak at kolybabi.com Tue Nov 3 16:15:50 2009 From: mak at kolybabi.com (Mak Kolybabi) Date: Tue Nov 3 16:15:57 2009 Subject: ask for help on a strange question In-Reply-To: References: Message-ID: <20091103161559.GA12929@brisbane.gateway.2wire.net> On 2009-11-03 23:08, Jove James wrote: > jove# ./lampp start > ./lampp: Command not found. I'm assuming that you've ensured that lampp has the executable bit set. When I ran into this myself, it was because I was trying to run an executable that the kernel didn't recognize (x86_64 on x86). Try running "file lampp" to see what kind of file it is. -- Matthew Anthony Kolybabi (Mak) () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From wblock at wonkity.com Tue Nov 3 16:45:17 2009 From: wblock at wonkity.com (Warren Block) Date: Tue Nov 3 16:45:25 2009 Subject: ask for help on a strange question In-Reply-To: References: Message-ID: On Tue, 3 Nov 2009, Jove James wrote: > > I've set up a FreeBSD virtual machine with VmWare Player. After configuring > networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I > got "command not found" error: > > jove# pwd > /opt/lampp > jove# ls > RELEASENOTES error lampp logs sbin > backup etc lib modules share > bin htdocs libexec phpmyadmin tmp > cgi-bin icons licenses phpsqliteadmin var > jove# ./lampp start > ./lampp: Command not found. > jove# > > If you know the reason which caused the error could you please kindly tell > me by replying this email? There's probably a FAQ entry, but I couldn't find it. In the meantime, the short version (third entry): http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3252+0+archive/2009/freebsd-chat/20091018.freebsd-chat More detail: man -P 'less +/rehash' csh -Warren Block * Rapid City, South Dakota USA From amvandemore at gmail.com Tue Nov 3 16:57:40 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Nov 3 16:57:47 2009 Subject: ask for help on a strange question In-Reply-To: References: Message-ID: <6201873e0911030857q68a728b4n63e271c50f190233@mail.gmail.com> On Tue, Nov 3, 2009 at 9:08 AM, Jove James wrote: > Hi friend, > > I've set up a FreeBSD virtual machine with VmWare Player. After configuring > networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I > got "command not found" error: > > jove# pwd > /opt/lampp > jove# ls > RELEASENOTES error lampp logs sbin > backup etc lib modules share > bin htdocs libexec phpmyadmin tmp > cgi-bin icons licenses phpsqliteadmin var > jove# ./lampp start > ./lampp: Command not found. > jove# > > If you know the reason which caused the error could you please kindly tell > me by replying this email? > > Many thanks, > Jove > If you really want to run a web server plus script lang plus on freebsd, you should just install the native packages and ports. There is the handbook which covers installation and configuration of each part of the stack, perhaps this is unlike you're previous os. http://www.freebsd.org/doc/en/books/handbook/network-apache.html You might even check for the port of the particular app you're trying to run and install that directly. It should pull in the dependencies directly. -- Adam Vande More From nightrecon at hotmail.com Tue Nov 3 17:12:55 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Tue Nov 3 17:13:02 2009 Subject: /etc/fstab + embedded spaces References: Message-ID: carmel_ny wrote: > I was attempting to create this entry in the /etc/fstab file. It is to > a WinXP machine. > > //user@bios/My Documents /laptop smbfs rw,noauto 0 0 > > It fails because 'fstab' does not allow embedded spaces in device > names, not does it allow enclosing the name in quotes. > > I did some Googling and discovered that I am not the only one annoyed > by this behavior. I discovered this patch that had been submitted awhile > ago. > > http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html > > Changing the share name is not really an option. Is there some way of > making this work in 'fstab'? I can use the name including spaces in > 'mount_smbfs' so that is how I am currently mounting the share. It just > seems strange that 'fstab' by not accepting the use of quoting is not in > step with how FreeBSD usually operates. > Don't know if this works for fstab, but the normal way to escape spaces is with a \, like this: //user@bios/My\ Documents /laptop smbfs rw,noauto 0 0 May not work in fstab but you can try it and see. -Mike From cstankevitz at toyon.com Tue Nov 3 17:13:49 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Tue Nov 3 17:13:56 2009 Subject: please help me make sense of top's CPU output In-Reply-To: <20091102213432.GY29215@dan.emsphone.com> References: <330157.31913.qm@web52911.mail.re2.yahoo.com> <20091102213432.GY29215@dan.emsphone.com> Message-ID: <4AF064B5.6050008@toyon.com> Dan Nelson wrote: > Junior Hacker Project: add an instantaneous-CPU value (calculated by > subtracting successive ki_runtime values) to the list of things top > calculates and toggle it and weighted-CPU when pressing C. The toggling > code is already there; it just toggles between two different weighted-cpu > values at the moment. > Makes sense, thank you. If I want to hack a port program, I go to the "work" directory, edit the source, and rebuild. How do I hack a non-port program like top? Chris From utisoft at googlemail.com Tue Nov 3 17:23:53 2009 From: utisoft at googlemail.com (Chris Rees) Date: Tue Nov 3 17:24:00 2009 Subject: please help me make sense of top's CPU output In-Reply-To: <4AF064B5.6050008@toyon.com> References: <330157.31913.qm@web52911.mail.re2.yahoo.com> <20091102213432.GY29215@dan.emsphone.com> <4AF064B5.6050008@toyon.com> Message-ID: 2009/11/3 Chris Stankevitz : > Dan Nelson wrote: >> >> Junior Hacker Project: add an instantaneous-CPU value (calculated by >> subtracting successive ki_runtime values) to the list of things top >> calculates and toggle it and weighted-CPU when pressing C. ?The toggling >> code is already there; it just toggles between two different weighted-cpu >> values at the moment. >> > > Makes sense, thank you. ?If I want to hack a port program, I go to the > "work" directory, edit the source, and rebuild. ?How do I hack a non-port > program like top? > > Chris Look in the Makefile for /usr/src/usr.bin/top, and you'll see the source is in /usr/src/contrib/top Hack away! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? From gesbbb at yahoo.com Tue Nov 3 18:00:08 2009 From: gesbbb at yahoo.com (Jerry) Date: Tue Nov 3 18:00:14 2009 Subject: /etc/fstab + embedded spaces In-Reply-To: References: Message-ID: <20091103130005.5ea3f832@scorpio.seibercom.net> On Tue, 03 Nov 2009 12:13:24 -0500 Michael Powell replied: >carmel_ny wrote: > >> I was attempting to create this entry in the /etc/fstab file. It is >> to a WinXP machine. >> >> //user@bios/My Documents /laptop smbfs rw,noauto 0 0 >> >> It fails because 'fstab' does not allow embedded spaces in device >> names, not does it allow enclosing the name in quotes. >> >> I did some Googling and discovered that I am not the only one annoyed >> by this behavior. I discovered this patch that had been submitted >> awhile ago. >> >> http://lists.freebsd.org/pipermail/freebsd-bugs/2007-October/026469.html >> >> Changing the share name is not really an option. Is there some way of >> making this work in 'fstab'? I can use the name including spaces in >> 'mount_smbfs' so that is how I am currently mounting the share. It >> just seems strange that 'fstab' by not accepting the use of quoting >> is not in step with how FreeBSD usually operates. >> > >Don't know if this works for fstab, but the normal way to escape >spaces is with a \, like this: > >//user@bios/My\ Documents /laptop smbfs rw,noauto 0 0 > >May not work in fstab but you can try it and see. Thanks for the suggestion. Unfortunately, it doesn't work either. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | The most winning woman I ever knew was hanged for poisoning three little children for their insurance money. Sherlock Holmes From ryallsd at gmail.com Tue Nov 3 18:08:28 2009 From: ryallsd at gmail.com (Derrick Ryalls) Date: Tue Nov 3 18:08:36 2009 Subject: ZFS disk replacement questions Message-ID: Hello list, I plan on rebuilding my home fileserver next month with FreeBSD 8.0 x64 and will be using 4x 2TB drives in an external eSATA hotswap enclosure using RAIDZ. I have played around with FreeBSD in VirtualBox just to see how easy it is to deal with ZFS, but a few questions have come up for this configuration. 1) In the event of a disk failure, how do I trace back the name such as adX to a physical drive in the enclosure? Is there a way to take the drive offline then use atacontrol to spin it down or something so it is easy to identify? 2) In the event that I do experience a failure and manage to replace a working disk instead of the failed disk, am I now completely hosed or can I put the working disk back in and try pulling another drive which is hopefully the bad drive? 3) Finally, does the extra load of resilvering the replaced drive 'age' the good drives causing them to fail quicker? Any tips would be greatly appreciated. Thanks. From korvus at comcast.net Tue Nov 3 18:21:08 2009 From: korvus at comcast.net (Steve Polyack) Date: Tue Nov 3 18:21:15 2009 Subject: ZFS disk replacement questions In-Reply-To: References: Message-ID: <4AF07493.7050208@comcast.net> Derrick Ryalls wrote: > 1) In the event of a disk failure, how do I trace back the name such > as adX to a physical drive in the enclosure? Is there a way to take > the drive offline then use atacontrol to spin it down or something so > it is easy to identify? > In my opinion you are best off using glabel(8) to give names to the disks. This way you can name them in a way that makes sense to you. Additionally, when you create the ZFS pool you will use the glabel'd names. This means that the pool will still come up properly if something causes your devices to be numbered differently (i.e. a drive dies and you happen to reboot the system). Depending on your controller it is also probably worth it to use one of the SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and siis(4). While the generic ata(4) driver will work for pretty much everything, the updated AHCI drivers can take advantage of some more features. Enable the modules at boot to use them. > Any tips would be greatly appreciated. > > From yuri at rawbw.com Tue Nov 3 18:56:26 2009 From: yuri at rawbw.com (Yuri) Date: Tue Nov 3 18:56:33 2009 Subject: Does hybernate/wakeup work? In-Reply-To: <3a142e750910231610l367c7ecfnbc4fd85301c3862c@mail.gmail.com> References: <4AE20909.4060808@rawbw.com> <3a142e750910231610l367c7ecfnbc4fd85301c3862c@mail.gmail.com> Message-ID: <4AF07CD8.1070005@rawbw.com> Paul B Mahol wrote: > On 10/23/09, Yuri wrote: > >> I tried to make system hybernate with 'acpiconf -s4' on my laptop. >> It quickly turned off, but when I press the power button it boots like >> no hybernate and begins to check disks. >> >> What can be wrong? >> > > OS S4 is not implemented, but BIOS S4 is possible on some machines ... > And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). > 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins to flash, when I press any button there is some disk activity, power button light turns on. And nothing happens. 'apm -z' produces similar result. Maybe it's better to ask what works? Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? Yuri From chris.chambers at gmx.com Tue Nov 3 19:23:12 2009 From: chris.chambers at gmx.com (Christopher Chambers) Date: Tue Nov 3 19:29:09 2009 Subject: linux-firefox Message-ID: <8E5E42C8E2DF41BAA8D5247B29AF216D@acerd4e827cfd3> Hi, I have ran into a problem that I haven't encountered yet. I'm in process of reinstalling BSD after a hardware failure. I was using www/linux-firefox-devel at first because I wanted verision 3. After discouving www/linux-firefox has been changed from 2 to 3, I uninstalled the devel version and replaced it with linux-firefox. The devel version did worked. However when I type linux-firefox in xterm, nothing happens. It doesn't start and I receive no error messages. Now what do I do? I am using kernal 7.1, linprocfs is mounted, all of the listed dependences are meet and the ports tree is the most current version. I would try www/firefox35 but I am plugin happy. Thank you for help. Chris From ryallsd at gmail.com Tue Nov 3 19:32:41 2009 From: ryallsd at gmail.com (Derrick Ryalls) Date: Tue Nov 3 19:32:47 2009 Subject: ZFS disk replacement questions In-Reply-To: <4AF07493.7050208@comcast.net> References: <4AF07493.7050208@comcast.net> Message-ID: On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack wrote: > Derrick Ryalls wrote: >> >> 1) In the event of a disk failure, how do I trace back the name such >> as adX to a physical drive in the enclosure? ?Is there a way to take >> the drive offline then use atacontrol to spin it down or something so >> it is easy to identify? >> > > In my opinion you are best off using glabel(8) to give names to the disks. > ?This way you can name them in a way that makes sense to you. ?Additionally, > when you create the ZFS pool you will use the glabel'd names. ?This means > that the pool will still come up properly if something causes your devices > to be numbered differently (i.e. a drive dies and you happen to reboot the > system). I believe ZFS does this automatically. Supposedly, if you take a working set of RAIDZ drives from one machine and put it in another, ZFS will figure out the drives since they get labelled by ZFS internally. My question concerns how to identify the physical disk in question based on the adX or glabel name? Different name in software is fine, but if the drive fails I want to make sure I pull the correct drive. > > Depending on your controller it is also probably worth it to use one of the > SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and > siis(4). ?While the generic ata(4) driver will work for pretty much > everything, the updated AHCI drivers can take advantage of some more > features. ?Enable the modules at boot to use them. I will look into it, thanks. The machine in question is 2 year old hardware currently with a 3ware raid card. I will be going software raid only, but FreeBSD already recognizes the eSATA drive I have attached as a backup device so I know the O/S can at least talk to sata drives attached to the mobo. >> >> Any tips would be greatly appreciated. >> >> > > > From korvus at comcast.net Tue Nov 3 19:53:40 2009 From: korvus at comcast.net (Steve Polyack) Date: Tue Nov 3 19:53:46 2009 Subject: ZFS disk replacement questions In-Reply-To: References: <4AF07493.7050208@comcast.net> Message-ID: <4AF08A42.9000900@comcast.net> Derrick Ryalls wrote: > On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack wrote: > >> Derrick Ryalls wrote: >> >>> 1) In the event of a disk failure, how do I trace back the name such >>> as adX to a physical drive in the enclosure? Is there a way to take >>> the drive offline then use atacontrol to spin it down or something so >>> it is easy to identify? >>> >>> >> In my opinion you are best off using glabel(8) to give names to the disks. >> This way you can name them in a way that makes sense to you. Additionally, >> when you create the ZFS pool you will use the glabel'd names. This means >> that the pool will still come up properly if something causes your devices >> to be numbered differently (i.e. a drive dies and you happen to reboot the >> system). >> > > I believe ZFS does this automatically. Supposedly, if you take a > working set of RAIDZ drives from one machine and put it in another, > ZFS will figure out the drives since they get labelled by ZFS > internally. My question concerns how to identify the physical disk in > question based on the adX or glabel name? Different name in software > is fine, but if the drive fails I want to make sure I pull the correct > drive. > > This is possible, but I don't remember reading that ZFS handles this anywhere, and I've seen glabel(8) recommended elsewhere for the same reason. Either way, you can add your drives one-by-one and label them on the enclosure "arraydrive00" and then glabel the individual disks with the same name. This way when ZFS tells you "arraydrive03" is dead/offline, you can look at your enclosure and pull the drive with the arraydrive03 label. >> Depending on your controller it is also probably worth it to use one of the >> SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and >> siis(4). While the generic ata(4) driver will work for pretty much >> everything, the updated AHCI drivers can take advantage of some more >> features. Enable the modules at boot to use them. >> > > I will look into it, thanks. The machine in question is 2 year old > hardware currently with a 3ware raid card. I will be going software > raid only, but FreeBSD already recognizes the eSATA drive I have > attached as a backup device so I know the O/S can at least talk to > sata drives attached to the mobo. > > From mail at ozzmosis.com Tue Nov 3 20:02:06 2009 From: mail at ozzmosis.com (andrew clarke) Date: Tue Nov 3 20:02:15 2009 Subject: /etc/fstab + embedded spaces In-Reply-To: References: Message-ID: <20091103200202.GA20480@ozzmosis.com> On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel_ny@hotmail.com) wrote: > I was attempting to create this entry in the /etc/fstab file. It is to > a WinXP machine. > > //user@bios/My Documents /laptop smbfs rw,noauto 0 0 > > It fails because 'fstab' does not allow embedded spaces in device > names, not does it allow enclosing the name in quotes. A workaround may be to run mount_smbfs from /etc/crontab (or perhaps the root user's crontab), eg. @reboot /usr/sbin/mount_smbfs -N "//user@bios/My Documents" /laptop or similar. Regards Andrew From amvandemore at gmail.com Tue Nov 3 20:07:38 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Nov 3 20:07:45 2009 Subject: /etc/fstab + embedded spaces In-Reply-To: <20091103200202.GA20480@ozzmosis.com> References: <20091103200202.GA20480@ozzmosis.com> Message-ID: <6201873e0911031207v9aa739aq49e342009f0b0da1@mail.gmail.com> On Tue, Nov 3, 2009 at 2:02 PM, andrew clarke wrote: > On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel_ny@hotmail.com) > wrote: > > > I was attempting to create this entry in the /etc/fstab file. It is to > > a WinXP machine. > > > > //user@bios/My Documents /laptop smbfs rw,noauto 0 0 > > > > It fails because 'fstab' does not allow embedded spaces in device > > names, not does it allow enclosing the name in quotes. > > A workaround may be to run mount_smbfs from /etc/crontab (or perhaps > the root user's crontab), eg. > > @reboot /usr/sbin/mount_smbfs -N "//user@bios/My Documents" > /laptop > > or similar. > > Regards > Andrew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > windows path's have alternate eg c:\Test~1 -- Adam Vande More From mail at ozzmosis.com Tue Nov 3 20:20:12 2009 From: mail at ozzmosis.com (andrew clarke) Date: Tue Nov 3 20:20:19 2009 Subject: /etc/fstab + embedded spaces In-Reply-To: <6201873e0911031207v9aa739aq49e342009f0b0da1@mail.gmail.com> References: <20091103200202.GA20480@ozzmosis.com> <6201873e0911031207v9aa739aq49e342009f0b0da1@mail.gmail.com> Message-ID: <20091103202009.GA20680@ozzmosis.com> On Tue 2009-11-03 14:07:37 UTC-0600, Adam Vande More (amvandemore@gmail.com) wrote: > windows path's have alternate eg c:\Test~1 Yes, files and paths may all have an MS-DOS 8.3 equivalent (I think this option can be disabled in NTFS), however Windows SMB shares do not. "\\host\My Documents" is valid, but not "\\host\MYDOCU~1". From amvandemore at gmail.com Tue Nov 3 20:29:08 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Nov 3 20:29:14 2009 Subject: /etc/fstab + embedded spaces In-Reply-To: <20091103202009.GA20680@ozzmosis.com> References: <20091103200202.GA20480@ozzmosis.com> <6201873e0911031207v9aa739aq49e342009f0b0da1@mail.gmail.com> <20091103202009.GA20680@ozzmosis.com> Message-ID: <6201873e0911031229q235b46e7w7934fa933873a611@mail.gmail.com> On Tue, Nov 3, 2009 at 2:20 PM, andrew clarke wrote: > On Tue 2009-11-03 14:07:37 UTC-0600, Adam Vande More ( > amvandemore@gmail.com) wrote: > > > windows path's have alternate eg c:\Test~1 > > Yes, files and paths may all have an MS-DOS 8.3 equivalent (I think > this option can be disabled in NTFS), however Windows SMB shares do > not. > > "\\host\My Documents" is valid, but not "\\host\MYDOCU~1". > google also say use \040 in place of space -- Adam Vande More From c.kworr at gmail.com Tue Nov 3 20:36:38 2009 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Tue Nov 3 20:37:13 2009 Subject: SLIM and XFCE4 In-Reply-To: <591867.64364.qm@web24802.mail.ird.yahoo.com> References: <591867.64364.qm@web24802.mail.ird.yahoo.com> Message-ID: Alexandre L. wrote: > Hi all, > > I want to use SLIM (Graphical login manager for X11) with XFCE4. > After the installation, I have enabled it with the line slim_enable="YES" in /etc/rc.conf > When I log in (from SLIM), the language in XFCE is english. > > If I don't use SLIM, I log in on TTY and use %startx, XFCE language is in French (I have configured it). > > Here my config files : > > .dmrc (of my user) > [Desktop] > Session=Xfce4 > Language=fr_FR.UTF-8 > > > > .login_conf (of my user) > me:\ > :charset=ISO-8859-15:\ > :lang=fr_FR.ISO8859-15:\ > > > .xinitrc (of my user) export LANG fr_FR.UTF-8 > /usr/local/bin/startxfce4 > > I want to use SLIM to launch XFCE4 in French. -- Sphinx of black quartz judge my vow. From cosmic17 at yandex.ru Tue Nov 3 20:41:50 2009 From: cosmic17 at yandex.ru (=?koi8-r?B?5M3VyMEg7snLz8zByg==?=) Date: Tue Nov 3 20:41:59 2009 Subject: Packets delays Message-ID: <4631257280024@webmail77.yandex.ru> Hello! We have a problem... Dlink 3426 is core of our network. DGS 3612 - routers, which are connected to core (users). Core is connected to bridge. There are three interfaces igb0, igb1, igb2 on bridge: igb0 - local network igb1 - border1 igb2 - border2 Bridge is are shaper (ipfw). border1 and border2 are connected to bridge. Border1: FreeBSD 7.0-STABLE-200807 i386 Border2: FreeBSD 7.2-STABLE-200906 i386 Bridge: FreeBSD 7.2-STABLE-200906 amd64 Traffic is devided between two borders. We have not got any problems with border2. But on border1 we have: ping through border1 from users and from bridge ping ya.ru PING ya.ru (93.158.134.8): 56 data bytes 64 bytes from 93.158.134.8: icmp_seq=0 ttl=58 time=95.083 ms 64 bytes from 93.158.134.8: icmp_seq=1 ttl=58 time=102.876 ms 64 bytes from 93.158.134.8: icmp_seq=2 ttl=58 time=113.630 ms 64 bytes from 93.158.134.8: icmp_seq=3 ttl=58 time=90.352 ms 64 bytes from 93.158.134.8: icmp_seq=4 ttl=58 time=127.349 ms 64 bytes from 93.158.134.8: icmp_seq=5 ttl=58 time=115.942 ms 64 bytes from 93.158.134.8: icmp_seq=6 ttl=58 time=103.753 ms 64 bytes from 93.158.134.8: icmp_seq=7 ttl=58 time=124.507 ms But in border1 we have: ping ya.ru PING ya.ru (213.180.204.8): 56 data bytes 64 bytes from 213.180.204.8: icmp_seq=0 ttl=61 time=3.130 ms 64 bytes from 213.180.204.8: icmp_seq=1 ttl=61 time=2.909 ms 64 bytes from 213.180.204.8: icmp_seq=2 ttl=61 time=3.791 ms 64 bytes from 213.180.204.8: icmp_seq=3 ttl=61 time=2.953 ms 64 bytes from 213.180.204.8: icmp_seq=4 ttl=61 time=3.298 ms 64 bytes from 213.180.204.8: icmp_seq=5 ttl=61 time=3.096 ms bridge: 1). netstat -w1d -I igb0 input (igb0) output packets errs bytes packets errs bytes colls 32442 0 19375201 29681 0 23220291 0 31894 0 19334182 29124 0 23043942 0 31566 0 18885017 28558 0 22390016 0 31810 0 19200993 28768 0 22270687 0 31879 0 19347245 29145 0 22795440 0 31697 0 18997706 29274 0 22651927 0 32042 0 18963695 29634 0 23508103 0 30674 0 18123997 28432 0 22890282 0 31654 0 18519433 28860 0 22918799 0 31961 0 19145696 29418 0 23238031 0 32056 0 19053994 29723 0 23775215 0 32367 0 18952231 29771 0 23774054 0 2). netstat -w1d -I igb1 input (igb1) output packets errs bytes packets errs bytes colls 21378 0 19903174 21410 0 9866489 0 21444 0 19948761 21752 0 10266869 0 21435 0 19972984 21825 0 10289265 0 21318 0 19748715 21431 0 10238696 0 21606 0 19855988 21467 0 10483023 0 21825 0 19956737 21750 0 10452641 0 21665 0 19805016 21980 0 10711357 0 20937 0 18983521 21357 0 10506764 0 21241 0 19280484 21992 0 10713008 0 21469 0 19652542 21667 0 10391424 0 21235 0 19538130 21524 0 10757572 0 20779 0 18963762 21003 0 10525245 0 20853 0 18854491 21312 0 10559890 0 Those commands on border1: 1). internal netstat -w1d -I em1 input (em1) output packets errs bytes packets errs bytes colls 9862 0 8286463 8226 0 4172860 0 10060 0 8603460 7209 0 3184874 0 9290 0 7781648 7709 0 3672720 0 9720 0 8311391 7208 0 3545028 0 10256 0 8669129 8232 0 4678531 0 9509 0 8140150 7715 0 3878637 0 9554 0 8081766 7199 0 3512477 0 9426 0 8046217 7721 0 3867273 0 9795 0 8177803 7721 0 3729722 0 9637 0 8297993 7199 0 3766607 0 9671 0 8275210 7202 0 3510855 0 9451 0 8306122 7196 0 3535604 0 9324 0 8009044 7202 0 3092661 0 9715 0 8265237 7364 0 3575433 0 9908 0 8215978 7499 0 3911766 0 9776 0 8270432 8086 0 4178572 0 2). external netstat -w1d -I em0 input (em0) output packets errs bytes packets errs bytes colls 8253 0 4640677 9803 0 8495567 0 7897 0 4878726 10041 0 7322200 0 8368 0 4776220 9832 0 8565609 0 7650 0 4285985 9283 0 7717595 0 7891 0 4352473 9797 0 8134889 0 8606 0 5018218 9657 0 8289548 0 8460 0 4720658 10207 0 8397786 0 7543 0 4085187 9277 0 8059337 0 9376 0 6040976 11500 0 8860064 0 8181 0 4552212 10295 0 8582838 0 8774 0 5079266 10062 0 8494193 0 8193 0 4674008 10295 0 8520010 0 10170 0 7212068 10813 0 8596957 0 8499 0 4936674 10828 0 9090783 0 8416 0 4409607 10297 0 9050824 0 7613 0 3960242 9280 0 8231506 0 A few month ago border1 in this configuration worked succsessfully.. On border1 there is yandex driver for em. loader.conf: hw.em.rxd="4096" hw.em.txd="4096" /etc/sysctl.conf ?? border1: net.inet.tcp.recvspace=262144 net.inet.tcp.sendspace=62144 net.inet.udp.recvspace=1048576 kern.ipc.maxsockbuf=4194304 kern.ipc.nmbclusters=262144 net.inet.ip.portrange.first=5700 kern.ipc.somaxconn=65535 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.icmp.icmplim=30 net.inet.ip.intr_queue_maxlen=4096 net.inet.tcp.delayed_ack=0 net.inet.tcp.delacktime=10 net.inet.tcp.newreno=0 net.inet.tcp.msl=2500 net.inet.ip.rtmaxcache=1024 net.inet.raw.recvspace=65536 net.inet.ip.dummynet.hash_size=65536 net.inet.ip.fw.dyn_ack_lifetime=60 net.inet.ip.fw.dyn_syn_lifetime=10 net.inet.ip.fw.dyn_fin_lifetime=10 net.inet.ip.fw.dyn_max=16192 net.inet.ip.fastforwarding=1 net.isr.direct=1 net.inet.icmp.drop_redirect=1 dev.em.0.rx_kthreads=4 dev.em.1.rx_kthreads=4 dev.em.2.rx_kthreads=4 I have made the same options in sysctl on border1 like on border2: kern.ipc.nmbclusters=262144 net.inet.icmp.icmplim=200 I have added a new option net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.recvbuf_max=16777216 net.bpf.bufsize=4194304 net.bpf.maxbufsize=8388608 But have no ane good results. dmesg: Border2 external: em0: Excessive collisions = 0 em0: Sequence errors = 0 em0: Defer count = 0 em0: Missed Packets = 0 em0: Receive No Buffers = 0 em0: Receive Length Errors = 0 em0: Receive errors = 0 em0: Crc errors = 0 em0: Alignment errors = 0 em0: Collision/Carrier extension errors = 0 em0: RX overruns = 0 em0: watchdog timeouts = 0 em0: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 em0: XON Rcvd = 0 em0: XON Xmtd = 0 em0: XOFF Rcvd = 0 em0: XOFF Xmtd = 0 em0: Good Packets Rcvd = 5018002561 em0: Good Packets Xmtd = 5133609771 em0: TSO Contexts Xmtd = 0 em0: TSO Contexts Failed = 0 Border1 internal: em0: Excessive collisions = 0 em0: Sequence errors = 0 em0: Defer count = 0 em0: Missed Packets = 9975 em0: Receive No Buffers = 7099 em0: Receive Length Errors = 0 em0: Receive errors = 0 em0: Crc errors = 0 em0: Alignment errors = 0 em0: Collision/Carrier extension errors = 0 em0: RX overruns = 1 em0: watchdog timeouts = 0 em0: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 em0: XON Rcvd = 0 em0: XON Xmtd = 0 em0: XOFF Rcvd = 0 em0: XOFF Xmtd = 0 em0: Good Packets Rcvd = 2639750787 em0: Good Packets Xmtd = 2455117624 em0: TSO Contexts Xmtd = 18 em0: TSO Contexts Failed = 0 Border2 internal: em1: Excessive collisions = 0 em1: Sequence errors = 0 em1: Defer count = 0 em1: Missed Packets = 0 em1: Receive No Buffers = 0 em1: Receive Length Errors = 0 em1: Receive errors = 0 em1: Crc errors = 0 em1: Alignment errors = 0 em1: Collision/Carrier extension errors = 0 em1: RX overruns = 0 em1: watchdog timeouts = 0 em1: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 em1: XON Rcvd = 0 em1: XON Xmtd = 0 em1: XOFF Rcvd = 0 em1: XOFF Xmtd = 0 em1: Good Packets Rcvd = 5189211824 em1: Good Packets Xmtd = 4995412107 em1: TSO Contexts Xmtd = 16447 em1: TSO Contexts Failed = 0 Border1 internal: em1: Excessive collisions = 0 em1: Sequence errors = 0 em1: Defer count = 0 em1: Missed Packets = 0 em1: Receive No Buffers = 0 em1: Receive Length Errors = 0 em1: Receive errors = 0 em1: Crc errors = 0 em1: Alignment errors = 0 em1: Collision/Carrier extension errors = 0 em1: RX overruns = 0 em1: watchdog timeouts = 0 em1: RX MSIX IRQ = 0 TX MSIX IRQ = 0 LINK MSIX IRQ = 0 em1: XON Rcvd = 0 em1: XON Xmtd = 0 em1: XOFF Rcvd = 0 em1: XOFF Xmtd = 0 em1: Good Packets Rcvd = 2469872680 em1: Good Packets Xmtd = 2578357516 em1: TSO Contexts Xmtd = 14174 em1: TSO Contexts Failed = 0 Bridge: internal igb0: Adapter hardware address = 0xffffff00012f0528 igb0: CTRL = 0xc00241 RCTL = 0x801a igb0: Packet buffer = Tx=0k Rx=0k igb0: Flow control watermarks high = 63488 low = 61988 igb0: Queue(0) tdh = 154, tdt = 154 igb0: no descriptors avail event = 0 igb0: TX(0) MSIX IRQ Handled = 26582786007 igb0: TX(0) Packets sent = 69466117227 igb0: Queue(1) tdh = 0, tdt = 0 igb0: no descriptors avail event = 0 igb0: TX(1) MSIX IRQ Handled = 0 igb0: TX(1) Packets sent = 0 igb0: Queue(2) tdh = 0, tdt = 0 igb0: no descriptors avail event = 0 igb0: TX(2) MSIX IRQ Handled = 0 igb0: TX(2) Packets sent = 0 igb0: Queue(3) tdh = 0, tdt = 0 igb0: no descriptors avail event = 0 igb0: TX(3) MSIX IRQ Handled = 0 igb0: TX(3) Packets sent = 0 igb0: Queue(0) rdh = 186, rdt = 185 igb0: RX(0) Packets received = 18340736258 igb0: RX(0) Split Packets = 0 igb0: RX(0) Byte count = 12477314664354 igb0: RX(0) MSIX IRQ Handled = 11343806385 igb0: RX(0) LRO Queued= 0 igb0: RX(0) LRO Flushed= 0 igb0: Queue(1) rdh = 150, rdt = 149 igb0: RX(1) Packets received = 18360157016 igb0: RX(1) Split Packets = 0 igb0: RX(1) Byte count = 12474408387147 igb0: RX(1) MSIX IRQ Handled = 11362784395 igb0: RX(1) LRO Queued= 0 igb0: RX(1) LRO Flushed= 0 igb0: Queue(2) rdh = 142, rdt = 140 igb0: RX(2) Packets received = 18122235444 igb0: RX(2) Split Packets = 0 igb0: RX(2) Byte count = 12331139081653 igb0: RX(2) MSIX IRQ Handled = 11268633644 igb0: RX(2) LRO Queued= 0 igb0: RX(2) LRO Flushed= 0 igb0: Queue(3) rdh = 95, rdt = 94 igb0: RX(3) Packets received = 18379433903 igb0: RX(3) Split Packets = 0 igb0: RX(3) Byte count = 12407828772109 igb0: RX(3) MSIX IRQ Handled = 11387935869 igb0: RX(3) LRO Queued= 0 igb0: RX(3) LRO Flushed= 0 igb0: LINK MSIX IRQ Handled = 5 igb0: Mbuf defrag failed = 0 igb0: Std mbuf header failed = 0 igb0: Std mbuf packet failed = 0 igb0: Driver dropped packets = 0 igb0: Driver tx dma failure in xmit = 0 border1 igb1: Adapter hardware address = 0xffffff000451a528 igb1: CTRL = 0x18c00241 RCTL = 0x801a igb1: Packet buffer = Tx=0k Rx=0k igb1: Flow control watermarks high = 63488 low = 61988 igb1: Queue(0) tdh = 150, tdt = 151 igb1: no descriptors avail event = 1 igb1: TX(0) MSIX IRQ Handled = 9053729033 igb1: TX(0) Packets sent = 15117561092 igb1: Queue(1) tdh = 0, tdt = 0 igb1: no descriptors avail event = 0 igb1: TX(1) MSIX IRQ Handled = 0 igb1: TX(1) Packets sent = 0 igb1: Queue(2) tdh = 0, tdt = 0 igb1: no descriptors avail event = 0 igb1: TX(2) MSIX IRQ Handled = 0 igb1: TX(2) Packets sent = 0 igb1: Queue(3) tdh = 0, tdt = 0 igb1: no descriptors avail event = 0 igb1: TX(3) MSIX IRQ Handled = 0 igb1: TX(3) Packets sent = 0 igb1: Queue(0) rdh = 253, rdt = 251 igb1: RX(0) Packets received = 3887801598 igb1: RX(0) Split Packets = 0 igb1: RX(0) Byte count = 3419307814950 igb1: RX(0) MSIX IRQ Handled = 2880414195 igb1: RX(0) LRO Queued= 0 igb1: RX(0) LRO Flushed= 0 igb1: Queue(1) rdh = 119, rdt = 118 igb1: RX(1) Packets received = 3908297847 igb1: RX(1) Split Packets = 0 igb1: RX(1) Byte count = 3460826092933 igb1: RX(1) MSIX IRQ Handled = 2888114773 igb1: RX(1) LRO Queued= 0 igb1: RX(1) LRO Flushed= 0 igb1: Queue(2) rdh = 152, rdt = 151 igb1: RX(2) Packets received = 3922202264 igb1: RX(2) Split Packets = 0 igb1: RX(2) Byte count = 3503326896463 igb1: RX(2) MSIX IRQ Handled = 2886529770 igb1: RX(2) LRO Queued= 0 igb1: RX(2) LRO Flushed= 0 igb1: Queue(3) rdh = 92, rdt = 91 igb1: RX(3) Packets received = 3887004765 igb1: RX(3) Split Packets = 0 igb1: RX(3) Byte count = 3441233186193 igb1: RX(3) MSIX IRQ Handled = 2879712428 igb1: RX(3) LRO Queued= 0 igb1: RX(3) LRO Flushed= 0 igb1: LINK MSIX IRQ Handled = 10 igb1: Mbuf defrag failed = 0 igb1: Std mbuf header failed = 0 igb1: Std mbuf packet failed = 0 igb1: Driver dropped packets = 0 igb1: Driver tx dma failure in xmit = 0 Border2: igb2: Adapter hardware address = 0xffffff0004575528 igb2: CTRL = 0x18c00241 RCTL = 0x801a igb2: Packet buffer = Tx=0k Rx=0k igb2: Flow control watermarks high = 63488 low = 61988 igb2: Queue(0) tdh = 74, tdt = 74 igb2: no descriptors avail event = 3117 igb2: TX(0) MSIX IRQ Handled = 22305812305 igb2: TX(0) Packets sent = 57738555533 igb2: Queue(1) tdh = 0, tdt = 0 igb2: no descriptors avail event = 0 igb2: TX(1) MSIX IRQ Handled = 0 igb2: TX(1) Packets sent = 0 igb2: Queue(2) tdh = 0, tdt = 0 igb2: no descriptors avail event = 0 igb2: TX(2) MSIX IRQ Handled = 0 igb2: TX(2) Packets sent = 0 igb2: Queue(3) tdh = 0, tdt = 0 igb2: no descriptors avail event = 0 igb2: TX(3) MSIX IRQ Handled = 0 igb2: TX(3) Packets sent = 0 igb2: Queue(0) rdh = 246, rdt = 245 igb2: RX(0) Packets received = 13727912438 igb2: RX(0) Split Packets = 0 igb2: RX(0) Byte count = 10677902707967 igb2: RX(0) MSIX IRQ Handled = 8730210616 igb2: RX(0) LRO Queued= 0 igb2: RX(0) LRO Flushed= 0 igb2: Queue(1) rdh = 51, rdt = 50 igb2: RX(1) Packets received = 13676394291 igb2: RX(1) Split Packets = 0 igb2: RX(1) Byte count = 10622417591526 igb2: RX(1) MSIX IRQ Handled = 8706454649 igb2: RX(1) LRO Queued= 0 igb2: RX(1) LRO Flushed= 0 igb2: Queue(2) rdh = 194, rdt = 193 igb2: RX(2) Packets received = 13687518658 igb2: RX(2) Split Packets = 0 igb2: RX(2) Byte count = 10608204213317 igb2: RX(2) MSIX IRQ Handled = 8716002420 igb2: RX(2) LRO Queued= 0 igb2: RX(2) LRO Flushed= 0 igb2: Queue(3) rdh = 131, rdt = 130 igb2: RX(3) Packets received = 13660077699 igb2: RX(3) Split Packets = 0 igb2: RX(3) Byte count = 10588060857368 igb2: RX(3) MSIX IRQ Handled = 8692141405 igb2: RX(3) LRO Queued= 0 igb2: RX(3) LRO Flushed= 0 igb2: LINK MSIX IRQ Handled = 32 igb2: Mbuf defrag failed = 0 igb2: Std mbuf header failed = 0 igb2: Std mbuf packet failed = 0 igb2: Driver dropped packets = 0 We have changed the cable between bridge and borfer1...but haven`t got any results From gnemmi at gmail.com Tue Nov 3 22:12:48 2009 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Tue Nov 3 22:12:54 2009 Subject: Does hybernate/wakeup work? In-Reply-To: <4AF07CD8.1070005@rawbw.com> References: <4AE20909.4060808@rawbw.com> <3a142e750910231610l367c7ecfnbc4fd85301c3862c@mail.gmail.com> <4AF07CD8.1070005@rawbw.com> Message-ID: <19e9a5dc0911031412h5ac2d92aq1d1acabf83761232@mail.gmail.com> On Tue, Nov 3, 2009 at 7:56 PM, Yuri wrote: > Paul B Mahol wrote: > >> On 10/23/09, Yuri wrote: >> >> >>> I tried to make system hybernate with 'acpiconf -s4' on my laptop. >>> It quickly turned off, but when I press the power button it boots like >>> no hybernate and begins to check disks. >>> >>> What can be wrong? >>> >>> >> >> OS S4 is not implemented, but BIOS S4 is possible on some machines ... >> And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). >> >> > > 'acpiconf -s4' also brings laptop to unwakeable state. Power button begins > to flash, when I press any button there is some disk activity, power button > light turns on. And nothing happens. > 'apm -z' produces similar result. > > > Maybe it's better to ask what works? > Is there any way I can use suspend/sleep mode? Any basic way to make it > sleep? > > Yuri > acpiconf -s3 should put it to sleep .. you can also set hw.acpi.lid_switch_state: S3 in /etc/sysctl.conf so you can close the lid and send the laptop to S3 ... the problem might be getting the system to resume .. Best Regards Gonzalo From super_bisquit at yahoo.com Tue Nov 3 22:08:17 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Tue Nov 3 22:16:34 2009 Subject: need help with nvidia drivers Message-ID: <277326.60324.qm@web110105.mail.gq1.yahoo.com> I'm not able to use the glx settings on my computer. RGB comes back as a double buffer error. From super_bisquit at yahoo.com Tue Nov 3 22:09:40 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Tue Nov 3 22:16:47 2009 Subject: mounting media with policykit and hald Message-ID: <140879.66068.qm@web110105.mail.gq1.yahoo.com> How do I mount smartmedia and other media types without the use of camcontrol? From super_bisquit at yahoo.com Tue Nov 3 22:10:55 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Tue Nov 3 22:29:16 2009 Subject: linux emulation problems Message-ID: <13645.44698.qm@web110109.mail.gq1.yahoo.com> I'm using linux_base-f10. During the installation of ports. The error comes to to use at least base-f8. Ports have been updated. From jonc at chen.org.nz Tue Nov 3 23:24:46 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Tue Nov 3 23:24:53 2009 Subject: ask for help on a strange question In-Reply-To: References: Message-ID: <20091103232442.GA70555@osiris.chen.org.nz> On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote: > Hi friend, > > I've set up a FreeBSD virtual machine with VmWare Player. After configuring > networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I > got "command not found" error: > > jove# pwd > /opt/lampp > jove# ls > RELEASENOTES error lampp logs sbin > backup etc lib modules share > bin htdocs libexec phpmyadmin tmp > cgi-bin icons licenses phpsqliteadmin var > jove# ./lampp start > ./lampp: Command not found. Assuming that "lampp" is a script with the exec bit set, you may want to check that the first line references a script-interpreter that exists, eg "#!/usr/bin/perl". Cheers. -- Jonathan Chen ----------------------------------------------------------------------- "One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted." -- Thomas B. Reed From psteele at maxiscale.com Tue Nov 3 23:40:38 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Nov 3 23:40:45 2009 Subject: OpenWBEM for FreeBSD? Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375F355@MBX03.exg5.exghost.com> Anyone know if there is a port for OpenWBEM for FreeBSD? I did some searching but couldn't find anything, although I did find references saying that there is a FreeBSD port. I couldn't find anything in the usual places though... From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Nov 4 00:32:42 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Nov 4 00:32:48 2009 Subject: WPA: specify alternate config file in rc.conf In-Reply-To: References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> Message-ID: <200911040132.39064.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 03 November 2009 00:57:41 jhell wrote: > On Mon, 2 Nov 2009 17:27, onemda@ wrote: > > On 11/2/09, Chad Perrin wrote: > >> If I want to start wpa_supplicant directly, and specify a particular > >> configuration file, I can do something like this: > >> > >> wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf > >> > >> How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf > >> ifconfig line, rather than just going with the default > >> /etc/wpa_supplicant.conf file? > > > > Look into /etc/defaults/rc.conf for hint. > > This is not a option in rc.conf default or otherwise ATM. It is on 8. Looks pretty safe to apply: svn diff -c 178022 svn://svn.freebsd.org/base/stable/8 -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Nov 4 00:49:51 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Nov 4 00:49:59 2009 Subject: system() call causes core dump In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> Message-ID: <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 31 October 2009 21:52:37 Peter Steele wrote: > >In UNIX it is not safe to perform arbitrary actions after forking a > > multi-threaded process. You're basically expected to call exec soon > > after the fork, although you can do certain other work if you are very > > careful. > > > >The reason for this is that after the fork, only one thread will be > > running in the child, and if that thread tries to acquire a lock or other > > formerly-shared resource it may deadlock or crash, because the child > > process is no longer accessing the same memory location as the threads in > > the parent process (it gets a separate copy of the address space at the > > time of fork, which may not be in a consistent state from the point of > > view of the thread library). > > I am not calling fork explicitly. The thread I'm running in was created > with pthread_create(). The fork() in the stack trace in my original email > is being called by the system() function as it spawns off the process it > is supposed want to run. Is there a safe way to call system() within a > pthread? Either I'm very lucky, or popen is better suited for this, as I have this running on various machines, 24/7: #define PING_CMD \ "ping -n -c 50 %s 2>/dev/null|egrep 'round-trip|packets received'" /* worker thread main loop */ void *monitor_host(void *data) { ... if( -1 == asprintf(&cmd, PING_CMD, ip) ) { warnl("Failed to construct command"); *ex = EX_OSERR; return(ex); } .... while( !signalled ) { if( (cmd_p = popen(cmd, "r")) == NULL ) { warnl("Failed to run command %s", cmd); *ex = EX_OSERR; return(ex); } EV_SET(&ch, fileno(cmd_p), EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, NULL); for( ;; ) { int nev; if( signalled || (nev = kevent(kq, &ch, 1, &ev, 1, &timeout)) == -1 ) { if( signalled == SIGHUP ) goto closeproc; else goto cleanup; } if( nev ) break; } /* read fp, store in db */ } } -- Mel From yuri at rawbw.com Wed Nov 4 00:51:46 2009 From: yuri at rawbw.com (Yuri) Date: Wed Nov 4 00:51:53 2009 Subject: Why trying to create file on ntfs-mounted directory always causes "No such file or directory" error? Message-ID: <4AF0D020.8060707@rawbw.com> I have r/w mounted ntfs. And 'touch x' there produces an error. Why would this be? 8.0-RC2 Yuri From noc at hdk5.net Wed Nov 4 01:16:10 2009 From: noc at hdk5.net (Al Plant) Date: Wed Nov 4 01:16:18 2009 Subject: Linux-realplayer missing from ports Message-ID: <4AF0D5D9.8030604@hdk5.net> Aloha, I am trying to get Linux-RealPlayer to install from updated ports collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed fine on this test box.) Error says it cannot be found in our ports collection. Is there a way to locate the maintainer? This port is missing some components. Or can it be down loaded into distfiles? If so from where? Or has this been replaced by something else to play audio in ports. I would be glad to try any port for playing audio from web or files that is known to work. Thanks.... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From rob1940 at gmail.com Wed Nov 4 01:16:26 2009 From: rob1940 at gmail.com (Rob Hurle) Date: Wed Nov 4 01:16:33 2009 Subject: Why trying to create file on ntfs-mounted directory always causes "No such file or directory" error? In-Reply-To: <4AF0D020.8060707@rawbw.com> References: <4AF0D020.8060707@rawbw.com> Message-ID: Hi Yuri, You wrote: > I have r/w mounted ntfs. > And 'touch x' there produces an error. > > Why would this be? I've had this too. The standard ntfs does not allow rw on the file system. You have to install fuse-ntfs from /usr/ports/sysutils (please check this on your system - I do not have a FreeBSD system in front of me just now). Then it must be mounted from the command line: ntfs-3g /dev/disc_whatever /mount_point I could not get it to work from /etc/fstab. I'll check exactly how I do it tonight when I get home and re-post with more details. Cheers, Rob Hurle -- ----------------------------- Rob Hurle ANU, College of Asia and the Pacific School of Culture, History and Language e-mail: rob1940@gmail.com Telephone (ANU): +61 2 6125 3169 Mobile (in VN): +84 948 243 538 (Currently in Australia) Mobile (in OZ): +61 417 293 603 (Currently in Australia) ----------------------------- From steven.samuel.cole at gmail.com Wed Nov 4 01:53:14 2009 From: steven.samuel.cole at gmail.com (Steven Samuel Cole) Date: Wed Nov 4 01:53:21 2009 Subject: ZFS non-zero checksum and permanent error with deleted file Message-ID: <4AF0D7A4.3070705@gmail.com> Hello, I couldn't find a dedicated FreeBSD/ZFS mailing list, so I hope this is the right place to ask. I'd like some advice if I should rely on one of my ZFS pools: [user@host ~]$ sudo zpool clear zpool01 ... [user@host ~]$ sudo zpool scrub zpool01 ... [user@host ~]$ sudo zpool status -v zpool01 pool: zpool01 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none requested config: NAME STATE READ WRITE CKSUM zpool01 ONLINE 0 0 4 raidz1 ONLINE 0 0 4 ad12 ONLINE 0 0 0 ad14 ONLINE 0 0 0 ad16 ONLINE 0 0 0 ad18 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: zpool01:<0x3736a> How can there be an error in a file that does not seem to exist ? How can I clear / recover from the error ? I have read the corresponding documentation and did the obligatory research, but so far, the only option I can see is a full destroy/create cycle - which seems an overkill, considering the pool size and the fact that there seems to be only one (deleted ?) file involved. [user@host ~]$ df -h /mnt/zpool01/ Filesystem Size Used Avail Capacity Mounted on zpool01 1.3T 1.2T 133G 90% /mnt/zpool01 [user@host ~]$ uname -a FreeBSD host.domain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Cheers, ssc From kline at thought.org Wed Nov 4 02:05:22 2009 From: kline at thought.org (Gary Kline) Date: Wed Nov 4 02:05:29 2009 Subject: 100.0% OT [almost] Message-ID: <20091104020514.GA5360@thought.org> will anybody interested in checkiing out my html/php [koff, koff] "skills" please look at http://journey.thought.org/home and get back to me *offlist*? need help. Any ideas why this renders slightly differently in freebsd and the linux on my laptop? both using firefox3. it isn't critical that this renders Exactly the same regardless, but it wouldn't hurt. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From rwmaillists at googlemail.com Wed Nov 4 02:34:14 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Nov 4 02:34:22 2009 Subject: Salvage files from harddrive In-Reply-To: References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Message-ID: <20091104023407.1fb2983a@gumby.homeunix.com> On Tue, 6 Oct 2009 20:50:39 -0400 jhell wrote: > If you can mount this disk in single user mode your best bet to be > safe is just glabel it to something else that your second system is > not before you take the disk out of the machine. > > Even though I don't think it should/would be a problem I can not > speak of a authoritative nature on this subject because I have not > had to test such cases. Personally, I don't think this practise of labelling partitions with names like var makes any sense. fstab exists to keep track of what devices map to which mount points, the point of glabel is to give those devices unique names that are independent of where and when they are detected. I think people get the idea that if they use labels like var they'll never need to edit fstab again. The benefit of that is negligible, it's much easier and less confusing to make minor changes to fstab when you copy it to a new disk than it is to shuffle labels around. From kennethcf at earthlink.net Wed Nov 4 03:01:00 2009 From: kennethcf at earthlink.net (Kenneth Freidank) Date: Wed Nov 4 03:01:12 2009 Subject: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else Message-ID: <24656683.1257303658000.JavaMail.root@wamui-hunyo.atl.sa.earthlink.net> I believe ports and packages to be 2 separate items. pkg_info has to do with what packages you have installed. The ports system has to Different mechanisms are available to manage the source tree that t he ports system uses to create packages. I believe each of these diff directory, an published changes. Yo at any time, even if you don or never install the built port.&nbs your 1st question is that you begin wit followed by updates that you manage. So far, I have not talked about installing yet. Once a port has been built, you can install it. Unless you save th built port as a package (the 'make package' command), you will not be abl command).&n want. command), the packag database is what pkg_in Some commands in the different mechanisms you have available&n manage your ports source, can be used to help select which pack ages need updating when you install an update to a package. About your 2nd question, I have no idea. I keep track of how to bu ild a system, keeping copies of config files, then I make backups file or data systems on an ongoing basis. Re gc44. FreeBSD 7.2 comes with 4.2 already installed. Maybe you installed 4.4 on top of it, something got messed up, or an option must be set for both to co-exist. I don't know, but I would try to k eep with the version that came with the system ( just an unjustified p binaries -----Original Message----- From: Henry Olyer Sent: Nov 3, 2009 8:21 AM To: Kenneth Freidank Cc: freebsd-questions@freebsd.org, Chris Whitehouse Subject: Re: am I the only one, wrt gcc44 -- it is fa can't build octave or much else I'm sorry fellows. You guys have given me great support and apparently I didn't get back be more careful about this. Okay -- I was able to get my mouse working. I made a ServerFlags section in my xorg.conf and suddenly!, my mouse m Next, I have wonderful X sessions now. Next, I am prepared to nuke the /usr/ports area if I am told to do tha past little nervous it come back.) Question: Does the rebuild process examine the pkg_info results load up the directory appropriately?. or is it "one size fits all?" Question: Does anyone have a solution for doing a general machin backup to one file? So that I can back the machine up and later, su bsequently, perform a simple restore. Because I've been using the mac backups miss o experience. What's possib As for gcc44, I am fairly certain that it's actually broken -- that th the port it Oh., and in a conversation with an HP technical representative recentl constituted a " On Mon, Nov 2, 2009 at 11:13 PM, Kenneth Freidank <[1]kennethcf@earthlink.net> wrote: Here are partial listings of my co to your config files and see if that do 100% sure that everything is required, but i it works. Attached is the xorg.conf file I gene in the directory /etc/X11/. When you have done make sure your user belongs to the group "wheel", then login. start X, give the command: startx You should get 3 wi title bar. If you type "exi return, that will end your X session. &nb "fatal error" messages in your console window when X Also, make sure you have installed the nvidia drivers per other postings. You can check if you have the package installed by pkg_info | grep nvidia You should see at a minimum: nidia-driver-185.18.29 NVidia graphics card binary drivers for hardw You have to build this packages and install it. documented in the NetBSD documents and my other postings f installing FreeBSD on a Compaq Presario CQ60. File /etc/rc.co linux_enable="YES" moused_enable="YES" keyrate="fast" saver="star" hald_enable="YES" dbus_enable="YES" vesa_lo File /boot/loader.conf nvidia_load="YES" -----Original Message----- >From: Henry Olyer <[2]henry.olyer@gmail.com >Sent: Oct 26, 2009 2:53 AM >To: [3]freebsd-questions@freebsd.org>Cc: Kenneth <[4]kennethcf@earthlink.net>, Chris Whitehouse <[5]cwhiteh@onetel.com> >Su can't build &nbs > >'everything; is dying i > >I know, (in all likelihood,) I'll ha do a >complete re-install. Fine. &n anything to mess >this area up in t > >I've just been going to various directories saying, "make >install clean" and now this... when this >happened. > >So > >I also want/need doesn't yet let >me move th now? > &g xorg.conf file. > I'm sorry, I just don't know these things... > > &g > >===> Building for gcc-4.4.2.20091006 &g >gmake[1]: Entering directory `/usr/po >gmake[2]: Entering directory `/usr/ports/ >gmake[3]: Entering directory `/usr/ports/lang >rm -f stage_current >gmake[3]: Leaving dire >gmake[2]: Leaving directory >gmake[2]: Entering directory `/u >gmake[3]: Entering directory `/usr/p orts/lang/gcc44/work/build/libiberty' >gmake[4]: Entering directory>`/usr/ports/lang/gcc44/work/build/libiberty/testsuite' >gmake[4 >gmake[4]: Leaving directory > >gmake[3]: Lea `/usr/ports/lang/gcc44/work/build/libiberty' >gmake[3] `/usr/ports/lang/gcc44/work/build/intl' >gmake[3 >gmake[3]: Leaving directory `/usr/p orts/lang/gcc44/work/build/intl' >gmake[3]: Entering directory > ;`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/li biberty' >gmake[4]: Entering directory >`/usr/ports/lang/gcc44/work/bui ld/build-i386-portbld-freebsd7.2/libiberty/testsuite' >gmake[4]: Noth >gmake[4]: Leaving directory >`/usr/p orts/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/ testsuit >gmake[3]: Leaving directory >`/usr/ports/lang/gcc44/work/bu ild/build-i386-portbld-freebsd7.2/libiberty' >gmake[3]: Entering dire >`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7. 2/fixincludes' >gmake[3]: Nothing to be done for `all'. >gmake[ >`/usr/ports/lang/gcc44/work/build/build-i386-p ortbld-freebsd7.2/fixincludes' >gmake[3]: Entering directory `/usr/po rts/lang/gcc44/work/build/zlib' >true "AR_FLAGS=rc" "CC_FOR_BUILD -fkeep-inline-functions" >"CXXFLAGS=-g -fkeep-i >-fno-strict-aliasing -pipe >ocal/include" "CFLAGS_FOR_TARGET=-g -O2 -fno-strict-alias -pipe >-I/usr/local/include" "INSTALL=/usr/bin/install -c -o ro wheel" >"INSTALL_DATA=install -o root - >g wheel -m 555" > "LDFLAGS=" "LIB >-O2 -fno-strict-aliasin >g -pipe -I/usr/local/incl >-fno-strict-aliasing -pipe -I/us >"MAKEINFO=makeinfo --no-split --sp >000 --split-size=5000000 --split-size=5000000" " >"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expe "RUNTEST=runtest" >"RUNTESTFLAGS=" "exec_prefix=/usr/loca>l" "infodir=/usr/local/info/gcc44" "libdir=/usr/local/lib/gcc44"< BR>>"prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd7.2" >"AS=as" "CC=cc" "CXX=c++" "LD= >/usr/bin/ld >-I/usr/local/includ "DESTDIR=" DO=all >mu >gmake[3]: Leaving directory `/usr/ports/lang/gcc44/wo rk/build/zlib' >gmake[3]: Entering directory `/usr/ports/lang/gcc44/w ork/build/libcpp' >gmake[3]: Nothing to be done for `all'. >gma `/usr/ports/lang/gcc44/work/build/libcpp' >g `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving di `/usr/ports/lang/gcc44/work/build/libdecnumber' >gmake[3]: En `/usr/ports/lang/gcc44/work/build/gcc' >gmake[3]: Le `/usr/ports/lang/gcc44/work/build/gcc' References 1. 3D"mailto:kennethcf@earthlink.net" 2. ="mailto:henry.olyer@gmail.com" 3. 3D"mailto:freebsd 4. 3D"mailto:kennethcf@earthlink.net" 5. file://localhost/tmp/3D"mail From matts at bmihosting.com Wed Nov 4 03:10:46 2009 From: matts at bmihosting.com (Matt Szubrycht) Date: Wed Nov 4 03:10:52 2009 Subject: 7.x on Dell R900? Message-ID: <819447F5-689F-4750-A222-77CC713E0B53@bmihosting.com> Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht From amvandemore at gmail.com Wed Nov 4 03:11:53 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Nov 4 03:12:00 2009 Subject: OpenWBEM for FreeBSD? In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375F355@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3375F355@MBX03.exg5.exghost.com> Message-ID: <6201873e0911031911r27b9b1c2te0c554803c3eead6@mail.gmail.com> On Tue, Nov 3, 2009 at 5:40 PM, Peter Steele wrote: > Anyone know if there is a port for OpenWBEM for FreeBSD? I did some > searching but couldn't find anything, although I did find references saying > that there is a FreeBSD port. I couldn't find anything in the usual places > though... > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Supported platforms say no. Have you tried zabbix? I've had decent experience with it. -- Adam Vande More From matts at bmihosting.com Wed Nov 4 03:22:22 2009 From: matts at bmihosting.com (Matt Szubrycht) Date: Wed Nov 4 03:22:30 2009 Subject: [SPAM] FreeBSD 7.2 ia64 In-Reply-To: <283971.8260.qm@web56201.mail.re3.yahoo.com> References: <283971.8260.qm@web56201.mail.re3.yahoo.com> Message-ID: That's not normal... but then, what is these days? You probably saved some webpage instead of the actual iso (or whatever other format you were trying for) As old video games used to say: 'Try again?' Cheers, Matt On Oct 30, 2009, at 3:09 PM, Clayton Wilhelm da Rosa wrote: > Hi my name is Clayton Wilhelm da Rosa, > > I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal > the files of disc 2 and 3 have only 364Kb size. > > thank you very much. > > > > > > ____________________________________________________________________________________ > Veja quais s?o os assuntos do momento no Yahoo! +Buscados > http://br.maisbuscados.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From amvandemore at gmail.com Wed Nov 4 03:29:05 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Nov 4 03:29:14 2009 Subject: 100.0% OT [almost] In-Reply-To: <20091104020514.GA5360@thought.org> References: <20091104020514.GA5360@thought.org> Message-ID: <6201873e0911031929l5fe0b88ble8c0d3c7c4b958c6@mail.gmail.com> On Tue, Nov 3, 2009 at 8:05 PM, Gary Kline wrote: > > will anybody interested in checkiing out my html/php [koff, koff] > "skills" please look at http://journey.thought.org/home and get back to > me *offlist*? need help. > > Any ideas why this renders slightly differently in freebsd and the > linux on my laptop? both using firefox3. it isn't critical that this > renders Exactly the same regardless, but it wouldn't hurt. > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > http://jottings.thought.org http://transfinite.thought.org > The 7.31a release of Jottings: http://jottings.thought.org/index.php > firefox firebug extension is the easiest method I have found of resolving this type of issue. -- Adam Vande More From smithi at nimnet.asn.au Wed Nov 4 04:04:48 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Wed Nov 4 04:04:55 2009 Subject: Does hybernate/wakeup work? In-Reply-To: <20091104005002.6B49F1065714@hub.freebsd.org> References: <20091104005002.6B49F1065714@hub.freebsd.org> Message-ID: <20091104143039.J35366@sola.nimnet.asn.au> In freebsd-questions Digest, Vol 283, Issue 5, Message 13 On Tue, 03 Nov 2009 10:56:24 -0800 Yuri wrote: > Paul B Mahol wrote: > > On 10/23/09, Yuri wrote: > > > >> I tried to make system hybernate with 'acpiconf -s4' on my laptop. > >> It quickly turned off, but when I press the power button it boots like > >> no hybernate and begins to check disks. > >> > >> What can be wrong? > >> > > > > OS S4 is not implemented, but BIOS S4 is possible on some machines ... > > And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). > 'acpiconf -s4' also brings laptop to unwakeable state. Power button > begins to flash, when I press any button there is some disk activity, > power button light turns on. And nothing happens. 'apm -z' produces > similar result. > > Maybe it's better to ask what works? > Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian From matts at bmihosting.com Wed Nov 4 04:07:23 2009 From: matts at bmihosting.com (Matt Szubrycht) Date: Wed Nov 4 04:07:29 2009 Subject: 7.x on Dell R900? Message-ID: Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht From matts at bmihosting.com Wed Nov 4 04:17:22 2009 From: matts at bmihosting.com (Matt Szubrycht) Date: Wed Nov 4 04:17:29 2009 Subject: 7.x on Dell R900? Message-ID: Hello List, I cannot find any fresh information on compatibility of Dell PowerEdge R900 and FreeBSD after googling for several hours, so I decided to ask here. If this is not the right place, please redirect me to. All of our servers run FreeBSD with one exception - a CentOS machine, which adds to the overall maintenance workload and keeping up to date. Back in the day, after getting the R900 (without prior OS compatibility research), the word was that FreeBSD will not run on this hardware and we ended up installing CentOS. That was well over a year ago and I am wondering if anyone could share some insight into the current compatibility status, installation/operation pitfalls and any other tips that would allow me to get away from Linux on this R900 box and create a homogeneous server-space environment with FreeBSD 7.x. Here are some basic specs, I can provide more details if needed: 4 x 4-core 3.0 GHz Intel Xeon CPU's 32GB RAM LSILogic PERC 4e/Di Firmware 516A, BIOS H418, 256MB RAM PERC 6/i Rev: 1.11 Any creative help will be appreciated. Thank you. Best Regards, Matthew Szubrycht From matts at bmihosting.com Wed Nov 4 04:32:23 2009 From: matts at bmihosting.com (Matt Szubrycht) Date: Wed Nov 4 04:32:30 2009 Subject: Rebuild instructions for amd64 systems In-Reply-To: <4AEA62E6.1080506@gehlbach.com> References: <4AEA62E6.1080506@gehlbach.com> Message-ID: <0A7ECB22-0CF9-44CF-BD37-7ED072F65FB1@bmihosting.com> Hi Richard, Kernel recompilation part of the handbook is fairly straightforward and should walk you through step-by-step without any snags: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Just remember to use amd64 instead i386 in the examples @ the link above. You will need full source tree to play with kernel (sysinstall to the rescue if you don't). Disclaimer - the below worked for me multiple times and may or may not work for you. If you decide to follow the steps outlined below and it breaks your box, spills your coffee or converts the datacenter into a recycling center, you are responsible for it and I cannot be held accountable in any way. In other words - use at your own risk. The way I do it (6.0-RELEASE) - at this point you must be root: cd mkdir kernels cd /usr/src/sys/amd64/conf cp GENERIC ~/kernels/GENERIC.ORIG cp GENERIC NEWKERNEL vim NEWKERNEL, search for ident GENERIC and change to NEWKERNEL then, add the following line below all other 'options' lines: options PAE # large memory (>4G) support then, find and comment out these two lines to avoid a conflict with PAE: device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters I am not sure about the Advansys conflict in versions newer than 6.0. A total of 4 lines to edit on of my stock 6.0-RELEASE GENERIC kernel. Then: cd /usr/src make buildkernel KERNCONF=NEWKERNEL if compiles, install: make installkernel KERNCONF=NEWKERNEL once that's done, reboot and you should see your new kernel Here's a diff from my 6.0: [root@banksy /usr/src/sys/i386/conf]# diff BANKSYPAE GENERIC 25c25 < ident BANKSYPAE --- > ident GENERIC 65c65 < options PAE # 2006-12-12 Large memory support matts@bmihosting.com --- > 96,97c96,97 < # conflicts with PAE device adv # Advansys SCSI adapters < # conflicts with PAE device adw # Advansys wide SCSI adapters --- > device adv # Advansys SCSI adapters > device adw # Advansys wide SCSI adapters Good luck. Cheers, Matthew Szubrycht On Oct 29, 2009, at 8:52 PM, Richard Gehlbach wrote: > I am installing FreeBSD 7.2 / amd64 on a new server (HP DL370 G6) > with 2 quad Xeon processors and 16GB memory. I have worked with the > i386 versions since version 3.x, but this is the first server large > enough to need amd64. > > I have been trying to determine the correct procedures for > rebuilding the world and kernel. I have not been able to find a > location that had step by step instructions, similar to the > handbook, for properly working with the amd64 version. Searches > have turned up so many fragments of what needs to be done, that I > cannot feel confident trying to put the pieces together. > > I need instructions for the command line compile options, conf file > additions, and any special instructions. > > If anyone can point me to some applicable links or some specific > instructions, it would be appreciated. > > TIA > Richard > > -- > Richard D. Gehlbach Gehlbach Consulting Services > rdgehlba@gehlbach.com 3321 Pepperhill Ct. > 859.269.6658 Fax 859.266.7446 Lexington, KY 40502 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From lordofhyphens at gmail.com Wed Nov 4 05:29:53 2009 From: lordofhyphens at gmail.com (LoH) Date: Wed Nov 4 05:30:02 2009 Subject: 8.0RC custom kernel not installing? Message-ID: <4AF1114D.4000206@gmail.com> I compiled a custom kernel with ZFS enabled and installed it. Everything appeared to work fine, then I realized that I needed to make some more modifications (ALTQ, disabling ulpt). I made those configuration changes to the existing ZFS kernel config. After running make buildkernel kernconf=ZFS and make installkernel kernconf=ZFS (ZFS is the name of the kernel config file) I rebooted the machine but didn't see any change in the system config. I've also made sure I did the build/install as root. I doubled-checked the config in the kernel directory, the config is properly done. Any ideas? --Joseph From yuri at rawbw.com Wed Nov 4 05:43:58 2009 From: yuri at rawbw.com (Yuri) Date: Wed Nov 4 05:44:04 2009 Subject: Does hybernate/wakeup work? In-Reply-To: <20091104143039.J35366@sola.nimnet.asn.au> References: <20091104005002.6B49F1065714@hub.freebsd.org> <20091104143039.J35366@sola.nimnet.asn.au> Message-ID: <4AF1149C.2070408@rawbw.com> Ian Smith wrote: > As Paul said, hibernation only works if the machine's BIOS supports it > (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, > usually a separate slice (DOS partition) or as a file in a 'doze slice. > > To make even a vaguely informed guess as to whether hibernation and/or > acpiconf -s3 (suspend/resume) might work, we'd need to know: > > What version of FreeBSD on which architecture? (output of 'uname -a') > > What make and model of laptop? (someone may know if that one works) > > Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) > > The output of 'sysctl hw.acpi' ? > > cheers, Ian > Here is this information: FreeBSD-8.0-RC2 Laptop is Lenovo S10-2, single CPU, Intel Atom. --- sysctl hw.acpi output --- hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 43.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 102.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: 300 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.cpu.cx_lowest: C1 Yuri From smithi at nimnet.asn.au Wed Nov 4 07:25:56 2009 From: smithi at nimnet.asn.au (Ian Smith) Date: Wed Nov 4 07:26:03 2009 Subject: Does hybernate/wakeup work? In-Reply-To: <4AF1149C.2070408@rawbw.com> References: <20091104005002.6B49F1065714@hub.freebsd.org> <20091104143039.J35366@sola.nimnet.asn.au> <4AF1149C.2070408@rawbw.com> Message-ID: <20091104173234.X35366@sola.nimnet.asn.au> On Tue, 3 Nov 2009, Yuri wrote: > Ian Smith wrote: > > As Paul said, hibernation only works if the machine's BIOS supports it > > (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, > > usually a separate slice (DOS partition) or as a file in a 'doze slice. > > > > To make even a vaguely informed guess as to whether hibernation and/or > > acpiconf -s3 (suspend/resume) might work, we'd need to know: > > > > What version of FreeBSD on which architecture? (output of 'uname -a') > > > > What make and model of laptop? (someone may know if that one works) > > > > Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) > > > > The output of 'sysctl hw.acpi' ? > > > > cheers, Ian > > > > Here is this information: > FreeBSD-8.0-RC2 i386 or amd64? It matters, which is why we ask for uname -a .. obscure your hostname etc if needed. Some Atom models (230 and 330, I read) have feature 'LM' and so can run amd64; others don't and must run i386. > Laptop is Lenovo S10-2, single CPU, Intel Atom. But with hyperthreading enabled or not? How many CPUs launched (dmesg)? Again, it matters. As I understand it, on 8.0 amd64 SMP suspend/resume (S3) should work, i386 SMP is currently broken, i386 non-SMP should (still) work, but I'm really not sure about the Atoms. head -50 /var/run/dmesg.boot (or so) should clear this up. We don't need the whole thing, but show anything to do with ACPI and CPU(s). > --- sysctl hw.acpi output --- > > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S3 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: NONE > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 So, hibernate won't work. There was talk of someone doing that for a Google SoC project but I've heard no more about it for a long while. > hw.acpi.verbose: 0 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > hw.acpi.reset_video: 0 > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 43.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 0 Slightly surprising, but again I know nothing about Atom BIOSes. > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: -1 > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 102.0C > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: -1 > hw.acpi.thermal.tz0._TC2: -1 > hw.acpi.thermal.tz0._TSP: 300 > hw.acpi.battery.life: -1 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 7 > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 > hw.acpi.acline: 1 > hw.acpi.cpu.cx_lowest: C1 If this is either i386 uniprocessor or amd64 SMP, suspend/resume should work, though possibly needing some settings tweaked and/or some modules unloaded/reloaded in /etc/rc.{suspend,resume} to do so successfully. If so, I'd next try the freebsd-mobile@ list where several people who should be able to advise on this tend to hang out. If not, you may be out of luck at this stage. cheers, Ian From fazaeli at sepehrs.com Wed Nov 4 08:48:19 2009 From: fazaeli at sepehrs.com (H.Fazaeli) Date: Wed Nov 4 08:48:28 2009 Subject: DL360 G6 Reboot Message-ID: <4AF13142.4060504@sepehrs.com> On a HP DL360 G6 freebsd 6.4-RELEASE installs but reboots right before login prompt. 7.2 installs and works fine but unfortunately I can not use 7.2 due to some restrictions. Any hints? -- Best regards. Hooman Fazaeli From kraduk at googlemail.com Wed Nov 4 09:19:15 2009 From: kraduk at googlemail.com (krad) Date: Wed Nov 4 09:19:22 2009 Subject: ZFS disk replacement questions In-Reply-To: <4AF08A42.9000900@comcast.net> References: <4AF07493.7050208@comcast.net> <4AF08A42.9000900@comcast.net> Message-ID: 2009/11/3 Steve Polyack > Derrick Ryalls wrote: > >> On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack >> wrote: >> >> >>> Derrick Ryalls wrote: >>> >>> >>>> 1) In the event of a disk failure, how do I trace back the name such >>>> as adX to a physical drive in the enclosure? Is there a way to take >>>> the drive offline then use atacontrol to spin it down or something so >>>> it is easy to identify? >>>> >>>> >>>> >>> In my opinion you are best off using glabel(8) to give names to the >>> disks. >>> This way you can name them in a way that makes sense to you. >>> Additionally, >>> when you create the ZFS pool you will use the glabel'd names. This means >>> that the pool will still come up properly if something causes your >>> devices >>> to be numbered differently (i.e. a drive dies and you happen to reboot >>> the >>> system). >>> >>> >> >> I believe ZFS does this automatically. Supposedly, if you take a >> working set of RAIDZ drives from one machine and put it in another, >> ZFS will figure out the drives since they get labelled by ZFS >> internally. My question concerns how to identify the physical disk in >> question based on the adX or glabel name? Different name in software >> is fine, but if the drive fails I want to make sure I pull the correct >> drive. >> >> >> > This is possible, but I don't remember reading that ZFS handles this > anywhere, and I've seen glabel(8) recommended elsewhere for the same reason. > > Either way, you can add your drives one-by-one and label them on the > enclosure "arraydrive00" and then glabel the individual disks with the same > name. This way when ZFS tells you "arraydrive03" is dead/offline, you can > look at your enclosure and pull the drive with the arraydrive03 label. > > Depending on your controller it is also probably worth it to use one of >>> the >>> SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and >>> siis(4). While the generic ata(4) driver will work for pretty much >>> everything, the updated AHCI drivers can take advantage of some more >>> features. Enable the modules at boot to use them. >>> >>> >> >> I will look into it, thanks. The machine in question is 2 year old >> hardware currently with a 3ware raid card. I will be going software >> raid only, but FreeBSD already recognizes the eSATA drive I have >> attached as a backup device so I know the O/S can at least talk to >> sata drives attached to the mobo. >> >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > One thing to note about resilvering; unlike most raid systems zfs knows what is going on at the filesystem level as well as block level. Therefore when a drive has to be resilvered, only the data on the drive is rebuilt rather than every block as with most other raid subsystems. eg if you have a 1TB hd but only have 20 Gig of data, only 20 gig is copied/rebuilt rather than 1 TB of data if you were using gvinum/gmirror. This massively speeds up rebuild times and stress on the other drives. However the fuller the drive the less the benefits From frank at shute.org.uk Wed Nov 4 09:40:11 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Nov 4 09:40:20 2009 Subject: Linux-realplayer missing from ports In-Reply-To: <4AF0D5D9.8030604@hdk5.net> References: <4AF0D5D9.8030604@hdk5.net> Message-ID: <20091104094001.GA81064@orange.esperance-linux.co.uk> On Tue, Nov 03, 2009 at 03:16:09PM -1000, Al Plant wrote: > > Aloha, > > I am trying to get Linux-RealPlayer to install from updated ports > collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed > fine on this test box.) > > Error says it cannot be found in our ports collection. Is there a way to > locate the maintainer? This port is missing some components. Or can it > be down loaded into distfiles? If so from where? > > Or has this been replaced by something else to play audio in ports. I > would be glad to try any port for playing audio from web or files that > is known to work. > > Thanks.... > /usr/ports/multimedia/linux-realplayer on my box. I guess you're using portupgrade; sometimes it can't find ports without using wildcards. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From bsam at ipt.ru Wed Nov 4 09:42:06 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Nov 4 09:42:14 2009 Subject: linux emulation problems In-Reply-To: <13645.44698.qm@web110109.mail.gq1.yahoo.com> (Super Biscuit's message of "Tue\, 3 Nov 2009 13\:58\:19 -0800 \(PST\)") References: <13645.44698.qm@web110109.mail.gq1.yahoo.com> Message-ID: <42068292@h30.sp.ipt.ru> On Tue, 3 Nov 2009 13:58:19 -0800 (PST) Super Biscuit wrote: > I'm using linux_base-f10. How do you? > During the installation of ports. The error comes to to use at least base-f8. Ports have been updated. Did you pay attention at /usr/ports/UPDATING? -- WBR, bsam From bsam at ipt.ru Wed Nov 4 09:47:29 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Nov 4 09:47:36 2009 Subject: Linux-realplayer missing from ports In-Reply-To: <4AF0D5D9.8030604@hdk5.net> (Al Plant's message of "Tue\, 03 Nov 2009 15\:16\:09 -1000") References: <4AF0D5D9.8030604@hdk5.net> Message-ID: <75987969@h30.sp.ipt.ru> On Tue, 03 Nov 2009 15:16:09 -1000 Al Plant wrote: > I am trying to get Linux-RealPlayer to install from updated ports > collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed > fine on this test box.) > Error says it cannot be found in our ports collection. Please, show the exact command you use and the error you get. > Is there a way > to locate the maintainer? This port is missing some components. Or can > it be down loaded into distfiles? If so from where? > Or has this been replaced by something else to play audio in ports. I > would be glad to try any port for playing audio from web or files that > is known to work. Don't think so: ----- % whereis linux-realplayer linux-realplayer: /usr/ports/multimedia/linux-realplayer ----- -- WBR, bsam From dcdowse at gmx.net Wed Nov 4 09:52:19 2009 From: dcdowse at gmx.net (Daniel C. Dowse) Date: Wed Nov 4 09:52:26 2009 Subject: need help with nvidia drivers In-Reply-To: <277326.60324.qm@web110105.mail.gq1.yahoo.com> References: <277326.60324.qm@web110105.mail.gq1.yahoo.com> Message-ID: <20091104105211.187b1782.dcdowse@gmx.net> On Tue, 3 Nov 2009 13:55:34 -0800 (PST) Super Biscuit wrote: > I'm not able to use the glx settings on my computer. > RGB comes back as a double buffer error. > Hi, sorry but with that kind of questioning you won`t get any response, that includes your other posts as well. you should all ways try to describe the problem more specified. you should post your configs (/etc./X11/xorg.conf) and hardware specs (dmesg) and os release version( uname -a ) ,and the driver version you have installed, too. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" greets daniel -- [ The only reality is virtual ] From suman.wind at gmail.com Wed Nov 4 10:45:27 2009 From: suman.wind at gmail.com (suman wind) Date: Wed Nov 4 10:45:34 2009 Subject: Mockup Design For Your Site. Message-ID: <63dec0ef0911040218t403ce759q7d0b2a4505fb1839@mail.gmail.com> Hi, I am Suman from buytemplates.net. Hope you and your business are doing great! We are into website designing and development for more than 5 years for now and we are here with an idea to make lendersmark.org more appealing for your customer. Worried about budgets? No need for that! You can just get it done starting from $49! Please have a look in the following link: http://www.buytemplates.net/template-host738.aspx You can pickup any template, they are 100% editable. You can put your own images, texts etc... and your website is ready with brand new design ! Just join our template membership starting from $49. Not sure of editing the template? We can do it at an affordable fee! Need a custom unique design? Yes we can certainly do it and more than that we can a free mockup design for lendersmark.org We can get started with the Project once you are okay with the design. Note: Need more details? Discounts? Free downloads? Just reply back to me. Hope we can work together shortly. Regards, Suman, Sales Executive. http://www.buytemplates.net G-Talk ID: suman.wind@gmail.com From axelbsd at ymail.com Wed Nov 4 11:01:51 2009 From: axelbsd at ymail.com (Alexandre L.) Date: Wed Nov 4 11:02:00 2009 Subject: linux emulation problems In-Reply-To: <13645.44698.qm@web110109.mail.gq1.yahoo.com> Message-ID: <248127.63702.qm@web24812.mail.ird.yahoo.com> Which version of FreeBSD do you use ? With the version 8, linux-f10 infrastructure port is used With the version 7, linux-f4 is the default infrastructure port used. linux-f8 can be used but it is not completely operational See : http://lists.freebsd.org/pipermail/freebsd-ports/2009-April/054046.html --- En date de?: Mar 3.11.09, Super Biscuit a ?crit?: > De: Super Biscuit > Objet: linux emulation problems > ?: freebsd-questions@freebsd.org > Date: Mardi 3 Novembre 2009, 21h58 > I'm using linux_base-f10. During the > installation of ports. The error comes to to use at least > base-f8. Ports have been updated. > > > > ? ? ? > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From a.huth at tmr.net Wed Nov 4 12:16:42 2009 From: a.huth at tmr.net (Alex Huth) Date: Wed Nov 4 12:16:50 2009 Subject: Xfce4 on 8.0 RC2 Message-ID: <20091104111642.GB15739@borusse.borussiapark> Hi! Is anyone running this combination? I am having trouble with two points> 1. When i close a ssh connection in a terminal, the prompt does not come back. I have to close the tab. Without X the connections are ok and i had Debian lenny earlier on the laptop also with Xfce4. There was everything ok. 2. When switching between the desktops i have to wait up to 3 seconds before it is done, depending on what app there is running. For example: Desk1: Terminal with several tabs Desk2: firefox35 Desk3: Openoffice3 calc Desk4: atunes Desk1 --> Desk2 ok Desk2 --> Desk3 ok Desk1 --> Desk4 3 sec Desk4 --> Desk1 3 sec Desk2 --> Desk1 3 sec I am running it on Dell Latitude E6500 with 4GB Ram. Any idea? thx Alex From super_bisquit at yahoo.com Wed Nov 4 12:29:17 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Wed Nov 4 12:29:25 2009 Subject: need help with nvidia drivers Message-ID: <169823.90552.qm@web110103.mail.gq1.yahoo.com> The reason for multiple posts and the titles is because The original post was considered spam by the freebsd-questions mailing list and webmaster. It had all of the relevant information in it. Next time you may want ask me why I do something before making an uninformed and asinine response. Here is the information you asked for: %uname -a FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May? 1 08:49:13 UTC 2009???? root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC? i386 --- On Wed, 11/4/09, Daniel C. Dowse wrote: From: Daniel C. Dowse Subject: Re: need help with nvidia drivers To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Wednesday, November 4, 2009, 9:52 AM On Tue, 3 Nov 2009 13:55:34 -0800 (PST) Super Biscuit wrote: > I'm not able to use the glx settings on my computer. > RGB comes back as a double buffer error. > Hi, sorry but with that kind of questioning you won`t get any response, that includes your other posts as well. you should all ways try to describe the problem more specified. you should post your configs (/etc./X11/xorg.conf) and hardware specs (dmesg) and os release version( uname -a ) ,and the driver version you have installed, too. > > >? ? ??? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" greets daniel -- [ The only reality is virtual ]? ??? ??? -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg.conf Type: application/octet-stream Size: 2506 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091104/a48c5258/xorg.obj -------------- next part -------------- Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC module_register: module dc/miibus already exists! Module dc/miibus failed to register: 17 module_register: module pci/dc already exists! Module pci/dc failed to register: 17 module_register: module cardbus/dc already exists! Module cardbus/dc failed to register: 17 module_register: module miibus/dcphy already exists! Module miibus/dcphy failed to register: 17 module_register: module miibus/pnphy already exists! Module miibus/pnphy failed to register: 17 module_register: module uhub/ums already exists! Module uhub/ums failed to register: 17 module_register: module rl/miibus already exists! Module rl/miibus failed to register: 17 module_register: module cardbus/rl already exists! Module cardbus/rl failed to register: 17 module_register: module pci/rl already exists! Module pci/rl failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) Processor 3400+ (1989.82-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1877934080 (1790 MB) avail memory = 1818591232 (1734 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 6fdf0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 vgapci0: port 0xef00-0xef7f mem 0xfa000000-0xfaffffff,0xd0000000-0xdfffffff,0xf8000000-0xf9ffffff irq 18 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f1ff irq 22 at device 18.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ohci0: mem 0xfe02e000-0xfe02efff at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfe02d000-0xfe02dfff at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xfe02c000-0xfe02cfff at device 19.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 8 ports with 8 removable, self powered pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf900-0xf90f at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 rl0: port 0xda00-0xdaff mem 0xfddff000-0xfddff0ff irq 21 at device 3.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:f2:7a:dc:83 rl0: [ITHREAD] fwohci0: port 0xdf00-0xdf7f mem 0xfddfe000-0xfddfe7ff at device 5.0 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:d8:00:00:85:04:0b fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:d8:85:04:0b fwe0: Ethernet address: 02:11:d8:85:04:0b fwip0: on firewire0 fwip0: Firewire address: 00:11:d8:00:00:85:04:0b @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1adc000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode emu10kx0: port 0xde00-0xde1f irq 16 at device 8.0 on pci2 emu10kx0: [ITHREAD] pcm0: on emu10kx0 pcm0: pcm1: on emu10kx0 dc0: port 0xd800-0xd8ff mem 0xfddfd000-0xfddfd3ff irq 17 at device 9.0 on pci2 miibus1: on dc0 acphy0: PHY 1 on miibus1 acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:04:5a:4f:ab:db dc0: [ITHREAD] acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 cpu0: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcc7ff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 umass0: on uhub0 Timecounter "TSC" frequency 1989824981 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acd0: CDRW at ata1-master UDMA33 ad4: 95396MB at ata2-master SATA150 GEOM_LABEL: Label for provider ad4s1a is ufsid/4ae6f122c8d5fbde. GEOM_LABEL: Label for provider ad4s1d is ufsid/4ae6f1235071c123. GEOM_LABEL: Label for provider ad4s1e is ufsid/4ae6f125b3b4ea41. GEOM_LABEL: Label for provider ad4s1f is ufsid/4ae6f1228fd52d52. GEOM_LABEL: Label for provider ad4s1g is ufsid/4ae6f12375b5629b. (probe7:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe7:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe7:umass-sim0:0:0:0): SCSI Status: Check Condition (probe7:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (probe7:umass-sim0:0:0:0): Medium not present (probe7:umass-sim0:0:0:0): Unretryable error (probe7:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe7:umass-sim0:0:0:1): CAM Status: SCSI Status Error (probe7:umass-sim0:0:0:1): SCSI Status: Check Condition (probe7:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (probe7:umass-sim0:0:0:1): Medium not present (probe7:umass-sim0:0:0:1): Unretryable error (probe7:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe7:umass-sim0:0:0:2): CAM Status: SCSI Status Error (probe7:umass-sim0:0:0:2): SCSI Status: Check Condition (probe7:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (probe7:umass-sim0:0:0:2): Medium not present (probe7:umass-sim0:0:0:2): Unretryable error (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 (probe0:umass-sim0:0:0:3): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:3): SCSI Status: Check Condition (probe0:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (probe0:umass-sim0:0:0:3): Medium not present (probe0:umass-sim0:0:0:3): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a GEOM_LABEL: Label ufsid/4ae6f122c8d5fbde removed. GEOM_LABEL: Label for provider ad4s1a is ufsid/4ae6f122c8d5fbde. GEOM_LABEL: Label ufsid/4ae6f1228fd52d52 removed. GEOM_LABEL: Label for provider ad4s1f is ufsid/4ae6f1228fd52d52. GEOM_LABEL: Label ufsid/4ae6f1235071c123 removed. GEOM_LABEL: Label for provider ad4s1d is ufsid/4ae6f1235071c123. GEOM_LABEL: Label ufsid/4ae6f12375b5629b removed. GEOM_LABEL: Label for provider ad4s1g is ufsid/4ae6f12375b5629b. GEOM_LABEL: Label ufsid/4ae6f125b3b4ea41 removed. GEOM_LABEL: Label for provider ad4s1e is ufsid/4ae6f125b3b4ea41. GEOM_LABEL: Label ufsid/4ae6f122c8d5fbde removed. GEOM_LABEL: Label ufsid/4ae6f1228fd52d52 removed. GEOM_LABEL: Label ufsid/4ae6f1235071c123 removed. GEOM_LABEL: Label ufsid/4ae6f12375b5629b removed. GEOM_LABEL: Label ufsid/4ae6f125b3b4ea41 removed. From super_bisquit at yahoo.com Wed Nov 4 12:36:32 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Wed Nov 4 12:36:40 2009 Subject: linux emulation problems In-Reply-To: <42068292@h30.sp.ipt.ru> Message-ID: <619370.25854.qm@web110102.mail.gq1.yahoo.com> The problem is solved. I used a recent reply to fix an error. Yes, I followed and yes, thanks for the help from everyone. --- On Wed, 11/4/09, Boris Samorodov wrote: From: Boris Samorodov Subject: Re: linux emulation problems To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Wednesday, November 4, 2009, 9:42 AM On Tue, 3 Nov 2009 13:58:19 -0800 (PST) Super Biscuit wrote: > I'm using linux_base-f10. How do you? > During the installation of ports. The error comes to to use at least base-f8. Ports have been updated. Did you pay attention at /usr/ports/UPDATING? -- WBR, bsam From amvandemore at gmail.com Wed Nov 4 13:12:03 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Nov 4 13:12:31 2009 Subject: Rebuild instructions for amd64 systems In-Reply-To: <0A7ECB22-0CF9-44CF-BD37-7ED072F65FB1@bmihosting.com> References: <4AEA62E6.1080506@gehlbach.com> <0A7ECB22-0CF9-44CF-BD37-7ED072F65FB1@bmihosting.com> Message-ID: <6201873e0911040512n411cf939w5e254c4744c39c59@mail.gmail.com> > > > then, add the following line below all other 'options' lines: > options PAE # large memory (>4G) support > > then, find and comment out these two lines to avoid a conflict with PAE: > > device adv # Advansys SCSI adapters > device adw # Advansys wide SCSI adapter > > This is unnecessary and bad. pae should be used on i386 for large memory support, amd64 in some ways exists so you don't have to run pae which is a considerable performance hit. I'm surprised that actually works. -- Adam Vande More From af.gourmet at videotron.ca Wed Nov 4 13:18:15 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Nov 4 13:18:22 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <20091102214935.bd92c2ce.freebsd@edvax.de> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> <20091102214935.bd92c2ce.freebsd@edvax.de> Message-ID: <4AF17105.3040500@videotron.ca> Polytropon wrote: > On Mon, 02 Nov 2009 16:21:18 -0400, PJ wrote: > >> No. The only way is by hitting the SysRq/PrintScreen key if the >> "AllowEmptyInput" is not "off", otherwise you have to reboot. >> > > Reboot isn't needed to fix things - that's a misbelief > from "Windows" land. :-) Simply SSH into the box and kill > X. > > Well, unfortunately it was like trying to fly a dead plane... the controls were absolutly useless... no keyboard, no mouse, nada... nothing! > >> Yes, but you are supposed to see the x for the mouse. Doesn't happen... >> as I mentioned, on one try when doing ctl/alt/del the X appeared and >> then - shutdown. >> > > Strange. Ctrl+Alt+Del isn't supposed to have an effect in > X, if I remember correctly. Ctrl+Alt+Backspace should kill > the X server, but doesn't obviously work when no input is > accepted. There's the "DontZap" setting in xorg.conf. > > Right, but it has never worked for me on any computer or installation - since the advent of happy hal. > > >> I use fluxbox and for some years now, I have never had to put anything >> into .xinitrc except "startfluxbox" of just plain "fluxbox" and it >> always worked. >> > > That's correct. Your ~/.xinitrc should at leas contain > an interpreter command, and then the commands you want to > run, e. g. > > #!/bin/sh > [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc > xsetroot -solid rgb:3b/4c/7a > exec fluxbox > > Note that the fluxbox call is to be preceeded by "exec". > > Well, again, in my case, it used to work with just plain "fluxbox"; then startfluxxbox and that's how it works now. =-O > > >> It seems to me that the options for flatpanel must be activated... bin >> there, done that... >> > > Separate options? For flat panel? I must have slept for many > centuries... > > > > Let's have a look at the log: > > >> (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or >> 'vmmouse' will be disabled. >> (WW) Disabling Mouse0 >> (WW) Disabling Keyboard0 >> > > Okay, no input for you. > > I can't see any further warnings (WW) or errors (EE) in this > log. Seems that X is up and running, and nothing more? > > Check .xinitrc and .xsession respectively. > > Ok, I finally did get it running... here's my shot at the Xorg mailing list: I quote: Well, I did get it up and running, but no thanks to any information in either the xorg or freebsd manuals... I accidentally ran startx and to my great surprise the screen came up with fluxbox and did work, albeit very sporadically... it kept going black and sort-of flickered. I shutdown and checked the log and lo and behold, the configuration file was one I had forgotten about that came from another computer from where the current disk was cloned. So, with a little tweaking, the thing now works - but the what and the why excape me completely. The configurations does not need any parameters for horiz or vertical scanning - only the screen depth and monitor size. I guess the name of the manufacturer and the model are irrelevant. Oh yes, the AllowEmptyInput had to be "off" ; the DontZap was also "off" Setting the FlatPanel settings (3 of them) to "True" does not seem to make any difference whether they are T of F. So, although it now works, configuration is still a total mystery. Does anyone understand just what is going on or are we just groping in the dark along with our blind leaders? From af.gourmet at videotron.ca Wed Nov 4 13:21:36 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Nov 4 13:21:43 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <20091102211311.GA14933@slackbox.xs4all.nl> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> <20091102211311.GA14933@slackbox.xs4all.nl> Message-ID: <4AF171CE.8020806@videotron.ca> Roland Smith wrote: > On Mon, Nov 02, 2009 at 04:21:18PM -0400, PJ wrote: > >> I also have tried with the monitor in digital mode as well as in >> analog... neither works. >> > > Do you mean with a VGA and DVI connector? > You got it... right! > >> It seems to me that the options for flatpanel must be activated... bin >> there, done that... >> > > Why? > Had to try anything I could. > >> And that is because I saw those kinds of directions activated under the >> display management in XP. O:-) >> > > And since when is XP a good example of how to configure X? ;-) > You're making an assumption... see above. > >> So, here's my log: >> >> X.Org X Server 1.6.1 >> Release Date: 2009-4-14 >> X Protocol Version 11, Revision 0 >> Build Operating System: FreeBSD 7.2-RELEASE i386 >> Current Operating System: FreeBSD grendl.my.domain 7.2-RELEASE FreeBSD >> 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 >> root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> Build Date: 21 August 2009 12:40:03PM >> >> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 2 11:07:26 2009 >> (++) Using config file: "xorg.conf1" >> (==) ServerLayout "X.org Configured" >> (**) |-->Screen "Screen0" (0) >> (**) | |-->Monitor "Monitor0" >> (**) | |-->Device "Card0" >> (**) |-->Input Device "Mouse0" >> (**) |-->Input Device "Keyboard0" >> (==) Automatically adding devices >> (==) Automatically enabling devices >> > > >> (**) ModulePath set to "/usr/local/lib/xorg/modules" >> (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or >> 'vmmouse' will be disabled. >> (WW) Disabling Mouse0 >> (WW) Disabling Keyboard0 >> > > This could be the reason why you are not seeing a mouse cursor... > > Try adding > > Option "AutoAddDevices" "off" > > to your "ServerLayout" section, and remove any AllowEmptyInput lines. Or > install and configure and start sysutils/hal before starting Xorg. For myself > I find it easier to build the Xorg server without hal support and use the > option shown above, so I don't have to deal with hald. > > >> (--) NV(0): Virtual size is 1920x1080 (pitch 1920) >> (**) NV(0): *Driver mode "1920x1080": 138.5 MHz, 66.6 kHz, 59.9 Hz >> (II) NV(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 >> > > It looks like a correct resolution is found and activated. > > As an aside, and not related to your problem, you might want to try the > xf86-video-nouveau instead of nv. It is under heavier development and is > working toward supporting 3D accelleration and supporting newer chips. > > >> (II) Initializing built-in extension DAMAGE >> (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so >> (II) GLX: Initialized DRISWRAST GL provider for screen 0 >> > > Normally, you'd expext to see some stuff from the mouse and keyboard drivers > last in the logfile... Since theay are missing, and seeing the warning printed > above, your problem isn't what it seems to be. I think the server gets stuck > because it can't find a keyboard and mouse. That would explain why you don't > see a cursor. > My quote from my dig at xorg mailing list: Well, I did get it up and running, but no thanks to any information in either the xorg or freebsd manuals... I accidentally ran startx and to my great surprise the screen came up with fluxbox and did work, albeit very sporadically... it kept going black and sort-of flickered. I shutdown and checked the log and lo and behold, the configuration file was one I had forgotten about that came from another computer from where the current disk was cloned. So, with a little tweaking, the thing now works - but the what and the why excape me completely. The configurations does not need any parameters for horiz or vertical scanning - only the screen depth and monitor size. I guess the name of the manufacturer and the model are irrelevant. Oh yes, the AllowEmptyInput had to be "off" ; the DontZap was also "off" Setting the FlatPanel settings (3 of them) to "True" does not seem to make any difference whether they are T of F. So, although it now works, configuration is still a total mystery. Does anyone understand just what is going on or are we just groping in the dark along with our blind leaders? From af.gourmet at videotron.ca Wed Nov 4 13:50:07 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Nov 4 13:50:14 2009 Subject: anybody manage to get Xorg to work with LG flat panel W2361 In-Reply-To: <20091102211311.GA14933@slackbox.xs4all.nl> References: <4AEF0D33.7000008@videotron.ca> <20091102180215.GA10648@slackbox.xs4all.nl> <4AEF3F3E.7000204@videotron.ca> <20091102211311.GA14933@slackbox.xs4all.nl> Message-ID: <4AF1787E.8010908@videotron.ca> Oh, yes... I forgot to mention that although I got it to work... it works only in DVI mode (digital) - on FreeBSD, anyway. This makes me wonder how I could ever set up two of these babies on the same video card. Like for video editing? On XP it only works in DSUB (analog) mode. The DSUB mode just give a bunch of horizontal bars. It's a faabulous display, I must say. The resolution is superb, contrast is highest I?m seen on any display. Connection to both DVI and DSUB are simultaneous - one merely chooses which to use by touch of a button. From dcdowse at gmx.net Wed Nov 4 13:50:13 2009 From: dcdowse at gmx.net (Daniel C. Dowse) Date: Wed Nov 4 13:50:23 2009 Subject: need help with nvidia drivers In-Reply-To: <169823.90552.qm@web110103.mail.gq1.yahoo.com> References: <169823.90552.qm@web110103.mail.gq1.yahoo.com> Message-ID: <20091104145009.89d4b598.dcdowse@gmx.net> Hi in xorg.conf Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" Load "dri" <-- REMOVE THIS ! Have you checked out this link before ? http://us.download.nvidia.com/freebsd/173.14.12/README/index.html On Wed, 4 Nov 2009 04:29:14 -0800 (PST) Super Biscuit wrote: > The reason for multiple posts and the titles is because The original post was considered spam by the freebsd-questions mailing list and webmaster. It had all of the relevant information in it. > Next time you may want ask me why I do something before making an uninformed and asinine response. > > Here is the information you asked for: %uname -a > FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May? 1 08:49:13 UTC 2009???? root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC? i386 > > > --- On Wed, 11/4/09, Daniel C. Dowse wrote: > > From: Daniel C. Dowse > Subject: Re: need help with nvidia drivers > To: "Super Biscuit" > Cc: freebsd-questions@freebsd.org > Date: Wednesday, November 4, 2009, 9:52 AM > > On Tue, 3 Nov 2009 13:55:34 -0800 (PST) > Super Biscuit wrote: > > > I'm not able to use the glx settings on my computer. > > RGB comes back as a double buffer error. > > best regards daniel -- [ The only reality is virtual ] From wblock at wonkity.com Wed Nov 4 15:15:48 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Nov 4 15:15:55 2009 Subject: Xfce4 on 8.0 RC2 In-Reply-To: <20091104111642.GB15739@borusse.borussiapark> References: <20091104111642.GB15739@borusse.borussiapark> Message-ID: On Wed, 4 Nov 2009, Alex Huth wrote: > Is anyone running this combination? I am having trouble with two points> Yes. xfce4-4.6.1, 8.0-RC2 (i386) as of Monday. > 1. When i close a ssh connection in a terminal, the prompt does not come back. > I have to close the tab. Without X the connections are ok and i had Debian > lenny earlier on the laptop also with Xfce4. There was everything ok. No problems with ssh here, but that's with multiple Terminal windows rather than multiple tabs in one Terminal window. > 2. When switching between the desktops i have to wait up to 3 seconds before > it is done, depending on what app there is running. For example: Sorry, I don't use multiple desktops. -Warren Block * Rapid City, South Dakota USA From Albert.Shih at obspm.fr Wed Nov 4 15:24:13 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Wed Nov 4 15:24:20 2009 Subject: 7.x on Dell R900? In-Reply-To: References: Message-ID: <20091104152407.GG2395@obspm.fr> Le 03/11/2009 ? 16:39:25-0800, Matt Szubrycht a ?crit > Hello List, > > I cannot find any fresh information on compatibility of Dell PowerEdge > R900 and FreeBSD after googling for several hours, so I decided to ask > here. If this is not the right place, please redirect me to. > > All of our servers run FreeBSD with one exception - a CentOS machine, > which adds to the overall maintenance workload and keeping up to date. > Back in the day, after getting the R900 (without prior OS > compatibility research), the word was that FreeBSD will not run on > this hardware and we ended up installing CentOS. That was well over a > year ago and I am wondering if anyone could share some insight into > the current compatibility status, installation/operation pitfalls and > any other tips that would allow me to get away from Linux on this R900 > box and create a homogeneous server-space environment with FreeBSD 7.x. Can you specify what don't work ? What's the problem. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 4 nov 2009 16:23:57 CET From illoai at gmail.com Wed Nov 4 15:28:05 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Wed Nov 4 15:28:12 2009 Subject: [SPAM] FreeBSD 7.2 ia64 In-Reply-To: References: <283971.8260.qm@web56201.mail.re3.yahoo.com> Message-ID: 2009/10/30 Matt Szubrycht : > That's not normal... but then, what is these days? > You probably saved some webpage instead of the actual iso (or whatever other > format you were trying for) > > As old video games used to say: 'Try again?' > > Cheers, > Matt > > On Oct 30, 2009, at 3:09 PM, Clayton Wilhelm da Rosa wrote: > >> Hi my name is Clayton Wilhelm da Rosa, >> >> I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal the >> files of disc 2 and 3 have only 364Kb size. >> >> thank you very much. I am going to guess, that (1) as ia64 has quite a small installed base as compared with i386 & amd64, and (2) as disks 2 & 3 are merely packages (many of which may not build for ia64 in any case (I do not know, excoriate me not for my ignorance) and utterly unneeded to install the basic system, the maintainers, developers, or packagers may see building and distributing such a large number of rarely used or perhaps broken packages as a poor use of their time. Summary: those are empty iso images and appear to be so on all of the mirrors I checked. Don't worry about it, use disk1 to install and build your 3rd party applications from ports. -- -- From whereisalext at gmail.com Wed Nov 4 16:54:49 2009 From: whereisalext at gmail.com (Alex Teslik) Date: Wed Nov 4 16:54:55 2009 Subject: ipfw breaking smtp conversations Message-ID: Hi List, I'm having trouble with mail deliveries. I'm getting lots of error messages like: timeout writing message to mx3.comcast.net.: Broken pipe timeout writing message to mailserver2.telmex.net.co.: Resource temporarily unavailable After looking elsewhere I decided to try changing my ipfw.rules - the problems went away immediately. Unfortunately, the change caused http connections from outside to stall mid-conversation. So I changed it back. But I'm clearly doing something wrong. Here is what my network looks like (fairly basic): Direct to Internet ^ | Dual-Homed Host (em0 external interface) NAT,DHCP (sk0 internal interface) | v Internal LAN Here are my current rules: #!/bin/sh IPFW="ipfw -q add" ipfw -q -f flush $IPFW 10 allow all from any to any via sk0 $IPFW 20 allow all from any to any via lo0 $IPFW 30 divert natd ip from any to any in via em0 $IPFW 50 check-state $IPFW 60 skipto 500 all from any to any out via em0 setup keep-state $IPFW 70 allow all from any to me in via em0 setup limit src-addr 50 $IPFW 500 divert natd ip from any to any out via em0 $IPFW 600 allow ip from any to any $IPFW 800 deny all from any to any Here are the rules that fixed smtp, but broke http: #!/bin/sh IPFW="/sbin/ipfw -q add" ipfw -q -f flush $IPFW 990 divert natd ip from any to any in via em0 $IPFW 995 divert natd ip from any to any out via em0 $IPFW 1000 allow tcp from any to any established $IPFW 1010 allow all from any to any via em0 $IPFW 1020 allow all from any to any via sk0 $IPFW 1030 allow all from any to any via lo0 $IPFW 1050 allow tcp from any to any out $IPFW 1060 allow udp from any to any out $IPFW 1070 allow udp from any to any frag $IPFW 1090 allow ip from any to any $IPFW 9999 deny all from any to any Somewhere between these two sets is the right thing, but I'm not certain where to look. In english, here is what (I think) I'm trying to do: Allow all incoming traffic on all ports on em0 Allow all outbound traffic on all ports on em0 Divert incoming NAT'd packets on em0 to sk0 Divert outbound NAT'd packets on sk0 to em0 Thanks, Alex From noc at hdk5.net Wed Nov 4 18:00:22 2009 From: noc at hdk5.net (Al Plant) Date: Wed Nov 4 18:00:29 2009 Subject: Linux-realplayer missing from ports In-Reply-To: <20091104094001.GA81064@orange.esperance-linux.co.uk> References: <4AF0D5D9.8030604@hdk5.net> <20091104094001.GA81064@orange.esperance-linux.co.uk> Message-ID: <4AF1C134.5090307@hdk5.net> Frank Shute wrote: > On Tue, Nov 03, 2009 at 03:16:09PM -1000, Al Plant wrote: >> Aloha, >> >> I am trying to get Linux-RealPlayer to install from updated ports >> collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed >> fine on this test box.) >> >> Error says it cannot be found in our ports collection. Is there a way to >> locate the maintainer? This port is missing some components. Or can it >> be down loaded into distfiles? If so from where? >> >> Or has this been replaced by something else to play audio in ports. I >> would be glad to try any port for playing audio from web or files that >> is known to work. >> >> Thanks.... >> > > /usr/ports/multimedia/linux-realplayer > > on my box. > > I guess you're using portupgrade; sometimes it can't find ports > without using wildcards. > > Regards, > ########### Yes Frank, That's what should work. But it doesnt. There is a false old version in the port on the server. This is apparently a known issue as there are two (2) PR's with this issue reported in the last few days. If someone on our list knows the maintainer I think it could be corrected easily. It may be an upgrade that failed to take as the two versions are 2004 and 2007 is what I think should be there now. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From noc at hdk5.net Wed Nov 4 18:05:38 2009 From: noc at hdk5.net (Al Plant) Date: Wed Nov 4 18:05:45 2009 Subject: Linux-realplayer missing from ports In-Reply-To: <75987969@h30.sp.ipt.ru> References: <4AF0D5D9.8030604@hdk5.net> <75987969@h30.sp.ipt.ru> Message-ID: <4AF1C271.2030800@hdk5.net> Boris Samorodov wrote: > On Tue, 03 Nov 2009 15:16:09 -1000 Al Plant wrote: > >> I am trying to get Linux-RealPlayer to install from updated ports >> collection on a FreeBSD 9 desktop box. (Xorg and www etc all installed >> fine on this test box.) > >> Error says it cannot be found in our ports collection. > > Please, show the exact command you use and the error you get. > >> Is there a way >> to locate the maintainer? This port is missing some components. Or can >> it be down loaded into distfiles? If so from where? > >> Or has this been replaced by something else to play audio in ports. I >> would be glad to try any port for playing audio from web or files that >> is known to work. > > Don't think so: > ----- > % whereis linux-realplayer > linux-realplayer: /usr/ports/multimedia/linux-realplayer > ----- Aloha Boris, The error is "not found" on server for the 2007 version. The above line is what should work. But it doesnt. There is a false old version in the port list from the update on the server. This is apparently a known issue as there are two (2) PR's with this issue reported in the last few days. If someone on our list knows the maintainer I think it could be corrected easily. It may be an upgrade that failed to take as the two versions are 2004 and 2007. I think 2007 should be there now. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From kristaps at kristaps.lv Wed Nov 4 18:49:57 2009 From: kristaps at kristaps.lv (=?UTF-8?Q?Kristaps_K=C5=ABlis?=) Date: Wed Nov 4 18:50:05 2009 Subject: X11 reboots on key press Message-ID: <89eddcd80911041026g1f9201e4hd6665458721ee733@mail.gmail.com> Hello! When I press key (like backspace or) Ctrl and keep it pressed, X11 restarts and returns to KDM. I suspect that problem arose when I used nvidia-settings to configure dual monitor setup . Temporary workaround - disable key repeat GPU : 9600GT Version: 7.2-RELEASE-p3 kdm-log complains about xkbcomp errors > Warning: Multiple doodads named "" > Using first definition The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols > Ignoring extra symbols and at the end: The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols > Ignoring extra symbols Xorg.conf # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (root@lielais.kristaps.lv) Tue Nov 3 08:19:11 UTC 2009 Section "ServerLayout" # Removed Option "Xinerama" "0" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AllowEmptyInput" "off" Option "Xinerama" "1" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" Load "record" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "lv" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Samsung SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 EndSection Section "Monitor" Identifier "Monitor1" VendorName "Unknown" ModelName "Samsung SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "G94 [GeForce 9600 GT]" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9600 GT" BusID "PCI:1:0:0" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 9600 GT" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" # Removed Option "TwinView" "1" # Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1600+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-0: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-1: 1600x1200 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection --- Kristaps K?lis If you fool around with something long enough, it will eventually break. From perrin at apotheon.com Wed Nov 4 19:16:55 2009 From: perrin at apotheon.com (Chad Perrin) Date: Wed Nov 4 19:17:02 2009 Subject: WPA: specify alternate config file in rc.conf In-Reply-To: <200911040132.39064.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> <200911040132.39064.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20091104200915.GA22692@guilt.hydra> On Wed, Nov 04, 2009 at 01:32:39AM +0100, Mel Flynn wrote: > On Tuesday 03 November 2009 00:57:41 jhell wrote: > > > > This is not a option in rc.conf default or otherwise ATM. > > It is on 8. That's good news. I'll look for it when 8.0 goes into RELEASE, since I don't really want the laptop I use for work to run a release candidate OS. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091104/9e1a985d/attachment.pgp From maciej at suszko.eu Wed Nov 4 20:08:35 2009 From: maciej at suszko.eu (Maciej Suszko) Date: Wed Nov 4 20:08:42 2009 Subject: 8.0RC custom kernel not installing? In-Reply-To: <4AF1114D.4000206@gmail.com> References: <4AF1114D.4000206@gmail.com> Message-ID: <20091104210826.22a9d21c@suszko.eu> LoH wrote: > I compiled a custom kernel with ZFS enabled and installed it. > Everything appeared to work fine, then I realized that I needed to > make some more modifications (ALTQ, disabling ulpt). I made those > configuration changes to the existing ZFS kernel config. > > After running > make buildkernel kernconf=ZFS > and > make installkernel kernconf=ZFS KERNCONF ? > (ZFS is the name of the kernel config file) > I rebooted the machine but didn't see any change in the system > config. I've also made sure I did the build/install as root. > > I doubled-checked the config in the kernel directory, the config is > properly done. > > Any ideas? -- regards, Maciej Suszko. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091104/ebec63bb/signature.pgp From kraduk at googlemail.com Wed Nov 4 20:45:07 2009 From: kraduk at googlemail.com (krad) Date: Wed Nov 4 20:45:14 2009 Subject: ipfw breaking smtp conversations In-Reply-To: References: Message-ID: 2009/11/4 Alex Teslik > Hi List, > > I'm having trouble with mail deliveries. I'm getting lots of error > messages like: > > timeout writing message to mx3.comcast.net.: Broken pipe > timeout writing message to mailserver2.telmex.net.co.: Resource > temporarily > unavailable > > After looking elsewhere I decided to try changing my ipfw.rules - the > problems went away immediately. Unfortunately, the change caused http > connections from outside to stall mid-conversation. So I changed it back. > But I'm clearly doing something wrong. > > Here is what my network looks like (fairly basic): > > Direct to Internet > ^ > | > Dual-Homed Host (em0 external interface) > NAT,DHCP (sk0 internal interface) > | > v > Internal LAN > > Here are my current rules: > > #!/bin/sh > IPFW="ipfw -q add" > ipfw -q -f flush > > $IPFW 10 allow all from any to any via sk0 > $IPFW 20 allow all from any to any via lo0 > $IPFW 30 divert natd ip from any to any in via em0 > $IPFW 50 check-state > $IPFW 60 skipto 500 all from any to any out via em0 setup keep-state > $IPFW 70 allow all from any to me in via em0 setup limit src-addr 50 > $IPFW 500 divert natd ip from any to any out via em0 > $IPFW 600 allow ip from any to any > $IPFW 800 deny all from any to any > > > Here are the rules that fixed smtp, but broke http: > > #!/bin/sh > IPFW="/sbin/ipfw -q add" > ipfw -q -f flush > > $IPFW 990 divert natd ip from any to any in via em0 > $IPFW 995 divert natd ip from any to any out via em0 > $IPFW 1000 allow tcp from any to any established > $IPFW 1010 allow all from any to any via em0 > $IPFW 1020 allow all from any to any via sk0 > $IPFW 1030 allow all from any to any via lo0 > $IPFW 1050 allow tcp from any to any out > $IPFW 1060 allow udp from any to any out > $IPFW 1070 allow udp from any to any frag > $IPFW 1090 allow ip from any to any > $IPFW 9999 deny all from any to any > > > Somewhere between these two sets is the right thing, but I'm not certain > where to look. In english, here is what (I think) I'm trying to do: > > Allow all incoming traffic on all ports on em0 > Allow all outbound traffic on all ports on em0 > Divert incoming NAT'd packets on em0 to sk0 > Divert outbound NAT'd packets on sk0 to em0 > > Thanks, > Alex > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I'm not sure what the problem is but if you are freebsd 5+, which I assume you will be as its be out for years, I would highly recommend switching to pf. The rule sets are really easy and you can do a lot more far more easily than ipfw. I always found getting the rule order a bit fidgety in ipfw, not the case with pf From super_bisquit at yahoo.com Wed Nov 4 21:59:51 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Wed Nov 4 21:59:58 2009 Subject: need help with nvidia drivers In-Reply-To: <20091104145009.89d4b598.dcdowse@gmx.net> Message-ID: <478646.99497.qm@web110103.mail.gq1.yahoo.com> The following files do not exist on my system /compat/linux/sbin/modprobe /dev/nvidia1 /dev/nvidia2 %nvidia-settings --glxinfo GLX Information for pocket-peoples.net.:0.0: Segmentation fault --- On Wed, 11/4/09, Daniel C. Dowse wrote: From: Daniel C. Dowse Subject: Re: need help with nvidia drivers To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Wednesday, November 4, 2009, 1:50 PM Hi in xorg.conf Section "Module" ? ? Load? ? ? ? ???"dbe" ? ? Load? ? ? ? ???"extmod" ? ? Load? ? ? ? ???"type1" ? ? Load? ? ? ? ???"freetype" ? ? Load? ? ? ? ???"glx" ? ? Load? ? ? ? ???"dri" <-- REMOVE THIS ! Have you checked out this link before ? http://us.download.nvidia.com/freebsd/173.14.12/README/index.html On Wed, 4 Nov 2009 04:29:14 -0800 (PST) Super Biscuit wrote: > The reason for multiple posts and the titles is because The original post was considered spam by the freebsd-questions mailing list and webmaster. It had all of the relevant information in it. > Next time you may want ask me why I do something before making an uninformed and asinine response. > > Here is the information you asked for: %uname -a > FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May? 1 08:49:13 UTC 2009???? root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC? i386 > > > --- On Wed, 11/4/09, Daniel C. Dowse wrote: > > From: Daniel C. Dowse > Subject: Re: need help with nvidia drivers > To: "Super Biscuit" > Cc: freebsd-questions@freebsd.org > Date: Wednesday, November 4, 2009, 9:52 AM > > On Tue, 3 Nov 2009 13:55:34 -0800 (PST) > Super Biscuit wrote: > > > I'm not able to use the glx settings on my computer. > > RGB comes back as a double buffer error. > > best regards daniel -- [ The only reality is virtual ]? ??? ??? From kohls at e.kohls.com Wed Nov 4 22:08:04 2009 From: kohls at e.kohls.com (Kohls.com) Date: Wed Nov 4 22:08:11 2009 Subject: 50% Off SALE + Extra 15% Off Holiday Decor Message-ID: To view the HTML version of this e-mail, copy and paste the link below into the Address field of your Internet browser: http://e.kohls.com/a/tBK79ULBBZVhBB724FRBVGUbBA9/kohl1?t=BK79ULBBZVhBB724FRBVGUbBA9&email=freebsd-questions@freebsd.org&i_equity=0 ************************************************************************ 99? Standard Shipping on every item!* Surcharges still apply. ************************************************************************ Take an EXTRA 15% Off** Entire Stock Holiday Decor! Simply enter Promo Code HOLIDAYHOME when you checkout online now through November 5 during our 50% Off Sale! 50% Off Selected Holiday Dinnerware & Table Linens 50% Off Selected Candles & Decorative Accents 50% Off Entire Stock St. Nicholas Square Trim-A-Tree & Home Decor ************************************************************************ Skechers Shape-Ups Shape up while you walk! Designed to: -Promote weight loss -Tone muscles -Improve posture ************************************************************************ Find Kohl's on Facebook! Become a fan to connect with friends and get insider info. ************************************************************************ *Surcharges may apply due to size, weight or special handling required. If your item has a surcharge, it will appear on the product page. **OFFER IS VALID ONLINE ONLY. Offer is not valid in conjunction with any other percent-off discounts. Offer is nontransferable. Promo Code must be entered during checkout on Kohls.com to receive discount. Offer good on all sale-, regular- and clearance-priced merchandise. Offer not valid for price adjustments on prior purchases, on gift card purchases, for payment on a Kohl's Charge account or in conjunction with any other percent-off discounts, including the senior citizen discount. Offer also not valid on purchases of Kohl's Cares for Kids merchandise or other charitable items. Excludes sales tax. This mailbox is unattended, so please do not reply to this message. Instead, e-mail us at myaccount.help@kohls.com, or write to us at Kohl's Department Stores, Attention: Customer Service, N54 W13600 Woodale Drive, Menomonee Falls, WI 53051. If you no longer wish to receive e-mails from Kohls.com, unsubscribe by pasting this link into the Address field of your Internet browser: http://e.kohls.com/a/tBK79ULBBZVhBB724FRBVGUbBA9/kohl14?email=freebsd-questions@freebsd.org&email=freebsd-questions@freebsd.org Please allow up to seven days for your e-mail address to be removed. 99? Standard Shipping per item offer good now through November 5, 2009. 50% Off Sale prices good now through November 5, 2009. Extra 15% Off Holiday Decor offer good now through November 5, 2009. From freebsd at edvax.de Wed Nov 4 23:16:37 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Nov 4 23:16:44 2009 Subject: SLIM and XFCE4 In-Reply-To: <591867.64364.qm@web24802.mail.ird.yahoo.com> References: <591867.64364.qm@web24802.mail.ird.yahoo.com> Message-ID: <20091105001628.3cd0319a.freebsd@edvax.de> On Tue, 3 Nov 2009 03:25:07 -0800 (PST), "Alexandre L." wrote: > .xinitrc (of my user) > /usr/local/bin/startxfce4 Shouldn't it be #!/bin/sh exec /usr/local/bin/startxfce4 ? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From super_bisquit at yahoo.com Wed Nov 4 23:22:43 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Wed Nov 4 23:22:51 2009 Subject: need help with nvidia drivers In-Reply-To: <20091104145009.89d4b598.dcdowse@gmx.net> Message-ID: <369881.67353.qm@web110106.mail.gq1.yahoo.com> I downloaded and installed the driver from nvidia with better results. Now, I have a problem of a broken screen and a workable area of 320x240. I added the the Modes to the xorg.conf file with no change in results. --- On Wed, 11/4/09, Daniel C. Dowse wrote: From: Daniel C. Dowse Subject: Re: need help with nvidia drivers To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Wednesday, November 4, 2009, 1:50 PM Hi in xorg.conf Section "Module" ? ? Load? ? ? ? ???"dbe" ? ? Load? ? ? ? ???"extmod" ? ? Load? ? ? ? ???"type1" ? ? Load? ? ? ? ???"freetype" ? ? Load? ? ? ? ???"glx" ? ? Load? ? ? ? ???"dri" <-- REMOVE THIS ! Have you checked out this link before ? http://us.download.nvidia.com/freebsd/173.14.12/README/index.html On Wed, 4 Nov 2009 04:29:14 -0800 (PST) Super Biscuit wrote: > The reason for multiple posts and the titles is because The original post was considered spam by the freebsd-questions mailing list and webmaster. It had all of the relevant information in it. > Next time you may want ask me why I do something before making an uninformed and asinine response. > > Here is the information you asked for: %uname -a > FreeBSD pocket-peoples.xxx.xxx.xxx.xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May? 1 08:49:13 UTC 2009???? root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC? i386 > > > --- On Wed, 11/4/09, Daniel C. Dowse wrote: > > From: Daniel C. Dowse > Subject: Re: need help with nvidia drivers > To: "Super Biscuit" > Cc: freebsd-questions@freebsd.org > Date: Wednesday, November 4, 2009, 9:52 AM > > On Tue, 3 Nov 2009 13:55:34 -0800 (PST) > Super Biscuit wrote: > > > I'm not able to use the glx settings on my computer. > > RGB comes back as a double buffer error. > > best regards daniel -- [ The only reality is virtual ]? ??? ??? From af.gourmet at videotron.ca Wed Nov 4 23:26:21 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Nov 4 23:26:27 2009 Subject: and now for conky & gremlins Message-ID: <4AF1FF76.60808@videotron.ca> conky is still working ok...but the calendar is limping... rather strange here's the .conkyrc: snip... ${color green}CALENDAR ${hr 2}$color #${execi 300 ~/bin/calendar.sh} ${execi 300 cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ &/' -e "s/\ `date +%d`/\[`date +%d`\]/"} output should be: 1 2 3 [4] 5 6 7 etc. is: 1 2 3 4 5 6.... the calendar.sh is exactly: #!/bin/sh cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ &/' -e "s/\ `date +%d`/\[`date +%d`\]/" I upgraded ports and now the calendar.sh cannot be found - it exists; bash no longer wishes to execute or recognize it... I am puzzled as to what is going on? I seem to be chasing after gremlins ... again ... and again.. like, even firefox can't be upgraded on one system (identical) but can on another... bugs & gremlins... oooooooh, gadzooks! From petros789 at live.com Wed Nov 4 22:37:24 2009 From: petros789 at live.com (Petros Ring) Date: Wed Nov 4 23:33:35 2009 Subject: FreeBSD Source Code Message-ID: I would like you to send a copy of all the source code of FreeBSD so I may use it for a project that will allow the running of applacations from a different os to run on FreeBSD. Please send a attachment of the full source code in the reply email. Thank you, Petros From alex at mailinglist.ahhyes.net Wed Nov 4 23:35:44 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Wed Nov 4 23:35:51 2009 Subject: FreeBSD Source Code In-Reply-To: References: Message-ID: <4AF20FCC.6060407@mailinglist.ahhyes.net> Petros Ring wrote: > I would like you to send a copy of all the source code of FreeBSD so I > may use it for a project that will allow the running of applacations > from a different os to run on FreeBSD. Please send a attachment of the > full source code in the reply email. > > Thank you, > Petros > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Petros, Download the FreeBSD cd/dvd for whatever architecture you need. The source packages are on the disc. From kalin at el.net Wed Nov 4 23:46:05 2009 From: kalin at el.net (kalin m) Date: Wed Nov 4 23:46:20 2009 Subject: ral driver In-Reply-To: <4AEFB781.90409@el.net> References: <4AEFB781.90409@el.net> Message-ID: <4AF211A1.3090007@el.net> just a follow up on this. any ideas. can i just get newer/fixed driver? thanks... kalin m wrote: > > > hi all.... > > is this resolved in current or head? > > http://lists.freebsd.org/pipermail/freebsd-bugs/2009-May/035231.html > > i have this ral card that drops off after about 15 min or so and have > the same symptoms as described in that bug report.. > > > thank you... > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From dcdowse at gmx.net Thu Nov 5 00:01:53 2009 From: dcdowse at gmx.net (Daniel C. Dowse) Date: Thu Nov 5 00:02:00 2009 Subject: need help with nvidia drivers In-Reply-To: <369881.67353.qm@web110106.mail.gq1.yahoo.com> References: <20091104145009.89d4b598.dcdowse@gmx.net> <369881.67353.qm@web110106.mail.gq1.yahoo.com> Message-ID: <20091105010146.4b7c3d9e.dcdowse@gmx.net> On Wed, 4 Nov 2009 15:22:42 -0800 (PST) Super Biscuit wrote: > I downloaded and installed the driver from nvidia with better results. > Now, I have a problem of a broken screen and a workable area of 320x240. > I added the the Modes to the xorg.conf file with no change in results. > > Have you run nvidia-xconfig ? best regards daniel -- [ The only reality is virtual ] From steven.samuel.cole at gmail.com Thu Nov 5 00:05:33 2009 From: steven.samuel.cole at gmail.com (Steven Samuel Cole) Date: Thu Nov 5 00:05:40 2009 Subject: [zfs-discuss] ZFS non-zero checksum and permanent error with deleted file In-Reply-To: <4AF1F1A8.7030309@eagle.co.nz> References: <4AF11670.7010603@gmail.com> <4AF1F1A8.7030309@eagle.co.nz> Message-ID: <4AF216C6.8000708@gmail.com> Thank you very much for your reply! :-) Trevor Pretty schrieb: > Steven > > I had a similar problem back in 2006 when I was first playing with ZFS. > Jeff Bronwick sent me this. It may (or not) help. I'm not sure if the > number is still the inode. If it is a please let zfs-discuss know. > > >> > I've a non-mirrored zfs file systems which shows the status below. I saw >> > the thread in the archives about working this out but it looks like ZFS >> > messages have changed. How do I find out what file(s) this is? >> > [...] >> > errors: The following persistent errors have been detected: >> > >> > DATASET OBJECT RANGE >> > LOCAL 28905 3262251008-3262382080 >> > > I realize this is a bit lame, but currently the answer is: > > find /LOCAL -mount -inum 28905 > > And yes, we do indeed plan to automate this. ;-) > > Jeff Did your output come from a Solaris system ? I couldn't find anything about a -mount parameter in the find man page, what does it do ? [user@host ~]$ sudo zpool status -v zpool01 ... errors: Permanent errors have been detected in the following files: zpool01:<0x3736a> [user@host ~]$ sudo find /mnt/zpool01/ -inum 3736a find: -inum: 3736a: illegal trailing character [user@host ~]$ sudo find /mnt/zpool01/ -inum 0x3736a find: -inum: 0x3736a: illegal trailing character Apparently, the -inum parameter needs a decimal number: [user@host ~]$ sudo find /mnt/zpool01/ -inum 226154 [user@host ~]$ How could find ever find anything ? The file at that inode as deleted after all. And even if it did find anything, what would I do with the result ? From super_bisquit at yahoo.com Thu Nov 5 00:15:48 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Thu Nov 5 00:15:55 2009 Subject: need help with nvidia drivers In-Reply-To: <20091105010146.4b7c3d9e.dcdowse@gmx.net> Message-ID: <428581.79224.qm@web110116.mail.gq1.yahoo.com> Yes, I did. I'm thinking that it may be the metamode option. --- On Thu, 11/5/09, Daniel C. Dowse wrote: From: Daniel C. Dowse Subject: Re: need help with nvidia drivers To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Thursday, November 5, 2009, 12:01 AM On Wed, 4 Nov 2009 15:22:42 -0800 (PST) Super Biscuit wrote: > I downloaded and installed the driver from nvidia with better results. > Now, I have a problem of a broken screen and a workable area of 320x240. > I added the the Modes to the xorg.conf file with no change in results. > > Have you run nvidia-xconfig ? best regards daniel -- [ The only reality is virtual ]? ??? ??? From ghirai at ghirai.com Thu Nov 5 00:26:40 2009 From: ghirai at ghirai.com (Ghirai) Date: Thu Nov 5 00:26:49 2009 Subject: Xfce4 on 8.0 RC2 In-Reply-To: <20091104111642.GB15739@borusse.borussiapark> References: <20091104111642.GB15739@borusse.borussiapark> Message-ID: <20091105020727.8c4cfbe8.ghirai@ghirai.com> On Wed, 4 Nov 2009 12:16:42 +0100 Alex Huth wrote: > Hi! > > Is anyone running this combination? I am having trouble with two > points> Since a couple days. Both points work perfectly fine for me. It sounds to me like a video driver/xorg problem though :/ -- Regards, Ghirai. From dcdowse at gmx.net Thu Nov 5 00:39:22 2009 From: dcdowse at gmx.net (Daniel C. Dowse) Date: Thu Nov 5 00:39:28 2009 Subject: need help with nvidia drivers In-Reply-To: <428581.79224.qm@web110116.mail.gq1.yahoo.com> References: <20091105010146.4b7c3d9e.dcdowse@gmx.net> <428581.79224.qm@web110116.mail.gq1.yahoo.com> Message-ID: <20091105013919.191b5c7f.dcdowse@gmx.net> On Wed, 4 Nov 2009 16:15:46 -0800 (PST) Super Biscuit wrote: > Yes, I did. > I'm thinking that it may be the metamode option. > > --- On Thu, 11/5/09, Daniel C. Dowse wrote: > Hi, well i don`t know, i don`t have any modes specified in xorg.conf here is what my xorg.conf looks like with geforce fx5500 . Sorry but i think i can`t help you any further :-( , maybe you can join #nvidia on irc.freenode and ask there or use some freebsd related irc channel on any irc network you may like. # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder65) Thu Jul 17 18:26:36 PDT 2008 [snip] Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Option "NvAGP" "1" Option "Coolbits" "1" Option "TripleBuffer" "True" Option "RenderAccel" "True" Option "AllowGLXWithComposite" "True" Option "EnableAGPSBA" "1" Option "EnableAGPFW" "0" Option "GLX" "1" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "PixmapCacheSize" "200000" Option "AllowSHMPixmaps" "0" SubSection "Display" EndSubSection EndSection P.S. i noticed that your quoting is not very good, try to tell your mail-user-agent to quote a lil` better ;-) bye daniel -- [ The only reality is virtual ] From nealhogan at gmail.com Thu Nov 5 00:49:43 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Nov 5 00:49:50 2009 Subject: FreeBSD Source Code In-Reply-To: References: Message-ID: On Wed, Nov 4, 2009 at 4:26 PM, Petros Ring wrote: > I would like you to send a copy of all the source code of FreeBSD so I may > use it for a project that will allow the running of applacations from a > different os to run on FreeBSD. Please send a attachment of the full source > code in the reply email. This is all you need: http://www.freebsd.org/where.html From glen.j.barber at gmail.com Thu Nov 5 00:52:29 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Nov 5 00:52:36 2009 Subject: FreeBSD Source Code In-Reply-To: References: Message-ID: <4ad871310911041652o7254f426tb032c52445de0c2d@mail.gmail.com> Hi Petros On Wed, Nov 4, 2009 at 5:26 PM, Petros Ring wrote: > I would like you to send a copy of all the source code of FreeBSD so I may > use it for a project that will allow the running of applacations from a > different os to run on FreeBSD. Please send a attachment of the full source > code in the reply email. > In addition to the two previous suggestions on how to obtain the code, you can checkout the source tree using subversion from: http://svn.freebsd.org/base/ Cheers, -- Glen Barber From freebsd at edvax.de Thu Nov 5 01:30:54 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 5 01:31:06 2009 Subject: and now for conky & gremlins In-Reply-To: <4AF1FF76.60808@videotron.ca> References: <4AF1FF76.60808@videotron.ca> Message-ID: <20091105023045.9a3d90ab.freebsd@edvax.de> On Wed, 04 Nov 2009 18:25:58 -0400, PJ wrote: > output should be: 1 2 3 [4] 5 6 7 etc. > is: 1 2 3 4 5 6.... > > the calendar.sh is exactly: > #!/bin/sh > cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ > &/' -e "s/\ `date +%d`/\[`date +%d`\]/" It's quite obviously. Let's try the last substitution argument in plain shell: % date +%d 05 But the command creates this: Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 The leading zero is missing, so there's no substition that changes "5" into "[5]", because the search pattern is "05". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From super_bisquit at yahoo.com Thu Nov 5 02:08:25 2009 From: super_bisquit at yahoo.com (Super Biscuit) Date: Thu Nov 5 02:08:33 2009 Subject: need help with nvidia drivers In-Reply-To: <20091105013919.191b5c7f.dcdowse@gmx.net> Message-ID: <671267.91220.qm@web110113.mail.gq1.yahoo.com> I fixed by using the following method. Opened the properties and set the screen resolution. Opened firefox and downloaded the old xorg.conf I sent you earlier. Logged out and then back in as root. Used kate to copy the screen layout from the downloaded file to the active xorg.conf file. Saved and restarted x. Believe it or not, I did need you to walk me through the process. There were quite a few things I wasn't able to notice on my own. Thanks a lot and all that. --- On Thu, 11/5/09, Daniel C. Dowse wrote: From: Daniel C. Dowse Subject: Re: need help with nvidia drivers To: "Super Biscuit" Cc: freebsd-questions@freebsd.org Date: Thursday, November 5, 2009, 12:39 AM On Wed, 4 Nov 2009 16:15:46 -0800 (PST) Super Biscuit wrote: > Yes, I did. > I'm thinking that it may be the metamode option. > > --- On Thu, 11/5/09, Daniel C. Dowse wrote: > Hi, well i don`t know, i don`t have any modes specified in xorg.conf here is what my xorg.conf looks like with geforce fx5500 . Sorry but i think i can`t help you any further :-( , maybe you can join #nvidia on irc.freenode and ask there or use some freebsd related irc channel on any irc network you may like. # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig:? version 1.0? (buildmeister@builder65)? Thu Jul 17 18:26:36 PDT 2008 [snip] Section "Monitor" ? ? Identifier? ???"Monitor0" ? ? VendorName? ???"Unknown" ? ? ModelName? ? ? "Unknown" ? ? HorizSync? ? ???30.0 - 110.0 ? ? VertRefresh? ???50.0 - 150.0 ? ? Option? ? ? ???"DPMS" EndSection Section "Device" ? ? Identifier? ???"Device0" ? ? Driver? ? ? ???"nvidia" ? ? VendorName? ???"NVIDIA Corporation" ? ? Option??? ?????? ?????"NvAGP" "1" ? ? Option ??? ?????? ?????"Coolbits" "1" ? ? Option? ? ? ???"TripleBuffer" "True" ? ? Option? ? ? ???"RenderAccel"? "True" ? ? Option? ? ? ???"AllowGLXWithComposite" "True" ? ? Option? ? ? ???"EnableAGPSBA" "1" ? ? Option? ?????? ???"EnableAGPFW"? "0" ? ? Option??? ?????? ?????"GLX"??? ? "1" EndSection Section "Screen" ? ? Identifier? ???"Screen0" ? ? Device? ? ? ???"Device0" ? ? Monitor? ? ? ? "Monitor0" ? ? DefaultDepth? ? 24 ? ? Option? ? ? ???"PixmapCacheSize" "200000" ? ? Option? ? ? ???"AllowSHMPixmaps" "0" ? ? SubSection? ???"Display"??? ? ? EndSubSection EndSection P.S. i noticed that your quoting is not very good, try to tell your mail-user-agent to quote a lil` better ;-) bye daniel -- [ The only reality is virtual ]? ??? ??? From steven.samuel.cole at gmail.com Thu Nov 5 03:04:13 2009 From: steven.samuel.cole at gmail.com (Steven Samuel Cole) Date: Thu Nov 5 03:04:21 2009 Subject: [zfs-discuss] ZFS non-zero checksum and permanent error with deleted file In-Reply-To: References: <4AF11670.7010603@gmail.com> <4AF2148E.4090200@gmail.com> Message-ID: <4AF240A6.5010001@gmail.com> Bob Friesenhahn schrieb: > On Thu, 5 Nov 2009, Steven Samuel Cole wrote: > >>> Definitely do >>> >>> zpool scrub zpool01 >>> >>> to see if there is any other decay. >> >> I have done that prior to getting the status, several times actually, >> tried to indicate that in my OP. IIRC, all checksums are zero after >> clearing; after scrubbing, the total checksum goes back up to 4. The >> error is not cleared, though. > > Strange. I do recall that there was one OpenSolaris development release > which did produce spurious checksum errors which looked weird like > that. Hopefully you are not using that particular release. I am using ZFS as it comes with the official FreeBSD 7.2 64bit, no patches, no dev releases, all binary out of the box, nothing self-built. IIRC, that's ZFS version 6. > Your 'zpool status' output did not indicate that a scrub was done. You are correct, my mistake. I reproduced the 3 zpool command lines in my OP from memory. I have gone through many clear/scrub/status, export/import, wash/rinse/repeat cycles now, the 'last scrub' info must have gone lost in one of them. A scrub on that pool takes ~8 hours, so I refrained from running it again just for demonstration purposes. Hmmm. Just as I want to double-check, I get this: [user@host ~]$ sudo zpool history History for 'zpool01': 2008-05-31.22:16:22 zpool create -m /mnt/zpool01 zpool01 raidz1 ad12 ad14 ad16 ad18 2008-12-28.15:06:54 zpool import zpool01 2008-12-28.18:37:42 zpool export zpool01 2008-12-28.18:51:39 zpool import zpool01 2009-01-05.17:31:51 zpool export zpool01 2009-01-05.19:55:27 zpool import -d /dev/disk/by-id zpool01 2009-08-25.00:50:31 zpool clear zpool01 Assertion failed: ((null)), function nvlist_lookup_string(records[i], ZPOOL_HIST_CMD, &cmdstr) == 0, file /usr/src/cddl/sbin/zpool/../../../cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 3338. Abort trap: 6 (core dumped) Sigh. Maybe I should take that as another indication that something is just not right and I should rebuild the pool, afterwise there'll always be that nagging thought if my data is actually safe... > > Bob > -- > Bob Friesenhahn > bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ From drew at mykitchentable.net Thu Nov 5 04:47:04 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Thu Nov 5 04:47:10 2009 Subject: vim Keybindings In-Reply-To: <20091101014220.GA4310@sandcat> References: <4AEC8E77.40704@mykitchentable.net> <20091101014220.GA4310@sandcat> Message-ID: <4AF258C1.1000708@mykitchentable.net> herbert langhans wrote: > The original vi is doing this as well? If not you should write to the port maintainer and the developers. > The original vi does *not* have this behavior. Thanks, Drew > On Sat, Oct 31, 2009 at 12:22:31PM -0700, Drew Tomlinson wrote: > >> I'm experiencing an annoying problem with vim on FBSD 8 that I don't >> have on FBSD 7. Whenever I start vim, if I press the down arrow as the >> first key, it deletes the first line of my file and enters insert mode. >> All the other keys work fine and even the down arrow works fine after >> the first press. >> >> I've searched for help but haven't turned up anything relevant. Any >> ideas on what I can check? >> >> Thanks, >> >> Drew >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > From drew at mykitchentable.net Thu Nov 5 04:55:03 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Thu Nov 5 04:55:10 2009 Subject: vim Keybindings In-Reply-To: <4AECFE46.30104@telenix.org> References: <4AEC8E77.40704@mykitchentable.net> <4AECFE46.30104@telenix.org> Message-ID: <4AF25AA0.1060300@mykitchentable.net> Chuck Robey wrote: > Drew Tomlinson wrote: > >> I'm experiencing an annoying problem with vim on FBSD 8 that I don't >> have on FBSD 7. Whenever I start vim, if I press the down arrow as the >> first key, it deletes the first line of my file and enters insert mode. >> All the other keys work fine and even the down arrow works fine after >> the first press. >> >> I've searched for help but haven't turned up anything relevant. Any >> ideas on what I can check? >> > > Hmm. Don't know if your machine is exactly set up as mine, so 1st, does hitting > the escape key as the first key fix things? Yes. > And, on a shell, hit control-V (the > common shell escape key for control keys), then the down arrow, what does it > print? ^[[B > Not sure I would be able to help, but there is often a timing issue on > special function key decoding (like all of the arrow keys, or the function keys, > etc) and this may tell what your down key is set for in Vim. Beyond that, Vim's > environment is extremely programmable, so one would really have to look > carefully through all of your environment files, beginning with vim's ~/.vimrc. > If you are using any of vim's huge store of extensions, your .vimrc probably > has statements to include subdirectories (perhaps of your homedir). Those files > are also candidates for trouble sources. > This is a default 7.2 install from ports. In my home directory, I have created a .vimrc and tried various items from Google searches, trying to remedy this problem. Currently, it contains: syntax on set background=dark set nocompatible set esckeys > Are you having this problem on ttys, or under X11? Tried both? > I guess on ttys. Specifically, I'm using SecureCRT from a windows machine. The terminal emulation is set to Xterm. I'm not sure I ever specifically set that but I use this same software from this same machine without problems on vim 7.2 on a FBSD 6.2 install and a FBSD 7.3 install. > It's most likely *something* dealing with Vim, because it's unreported on > FreeBSD (I know, I love vim and been using it on FreeBSD-current for years). > Vim's IRC channel ("vim") is extremely good about helping on problems, like bad > keymapping, they are just as good as we here on this mailing list are, but they > obviously concentrate on vim. Anyways, if you answer these questions on the > list or channel, folks are far more likely to be able to help you here (or on > the vim channel). > Thanks for your help. I'd really like to remove this annoyance. :) Cheers, Drew From drew at mykitchentable.net Thu Nov 5 05:24:19 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Thu Nov 5 05:24:27 2009 Subject: vim Keybindings In-Reply-To: References: <4AEC8E77.40704@mykitchentable.net> Message-ID: <4AF25B3B.6070303@mykitchentable.net> patrick wrote: > Try creating /usr/local/share/vim/vimrc with the following: > > set nomodeline > set nocompatible > Thanks. nocompatible was already there. I added nomodeline but the problem persists. Cheers, Drew > On Sat, Oct 31, 2009 at 12:22 PM, Drew Tomlinson > wrote: > >> I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on >> FBSD 7. Whenever I start vim, if I press the down arrow as the first key, >> it deletes the first line of my file and enters insert mode. All the other >> keys work fine and even the down arrow works fine after the first press. >> >> I've searched for help but haven't turned up anything relevant. Any ideas >> on what I can check? >> >> Thanks, >> >> Drew >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > > From jzfk9 at aol.com Thu Nov 5 06:41:46 2009 From: jzfk9 at aol.com (Jozsef) Date: Thu Nov 5 06:41:54 2009 Subject: vim Keybindings In-Reply-To: <4AF25B3B.6070303@mykitchentable.net> References: <4AEC8E77.40704@mykitchentable.net> <4AF25B3B.6070303@mykitchentable.net> Message-ID: <20091105064143.GA4563@eltorito.ÐèK> On Wed, 04 Nov 2009, Drew Tomlinson wrote: > patrick wrote: > >Try creating /usr/local/share/vim/vimrc with the following: > > > >set nomodeline > >set nocompatible > > Thanks. nocompatible was already there. I added nomodeline but the > problem persists. > > Cheers, > > Drew > > If this can help you, here is my .vimrc: http://dpaste.com/116504/ -- Best, Jozsef Kurucity | Web & Graphic Designer +971 50 6783113 | jzfk9@aol.com From axelbsd at ymail.com Thu Nov 5 07:01:21 2009 From: axelbsd at ymail.com (Alexandre L.) Date: Thu Nov 5 07:01:28 2009 Subject: SLIM and XFCE4 In-Reply-To: <20091105001628.3cd0319a.freebsd@edvax.de> Message-ID: <424233.42925.qm@web24816.mail.ird.yahoo.com> mmm. I don't know. But with this config file, XFCE4 launch is OK (or seems OK). I have found this line in the handbook at the XFCE section http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html --- En date de?: Mer 4.11.09, Polytropon a ?crit?: > De: Polytropon > Objet: Re: SLIM and XFCE4 > ?: "Alexandre L." > Cc: "FreeBSD Question" > Date: Mercredi 4 Novembre 2009, 23h16 > On Tue, 3 Nov 2009 03:25:07 -0800 > (PST), "Alexandre L." > wrote: > > .xinitrc (of my user) > > /usr/local/bin/startxfce4 > > Shouldn't it be > > ??? #!/bin/sh > ??? exec /usr/local/bin/startxfce4 > > ? > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From axelbsd at ymail.com Thu Nov 5 07:04:19 2009 From: axelbsd at ymail.com (Alexandre L.) Date: Thu Nov 5 07:04:29 2009 Subject: SLIM and XFCE4 In-Reply-To: Message-ID: <61253.29640.qm@web24817.mail.ird.yahoo.com> Thanks Volodymyr for the tips. I have hade the following lines to my .xinitrc file and it's now OK : XFCE is in French language. Thanks again. export LC_ALL=fr_FR.UTF-8 export LANGUAGE=fr_FR.UTF-8 export LANG=fr_FR.UTF-8 /usr/local/bin/startxfce4 Alexandre. --- En date de?: Mar 3.11.09, Volodymyr Kostyrko a ?crit?: > De: Volodymyr Kostyrko > Objet: Re: SLIM and XFCE4 > ?: freebsd-questions@freebsd.org > Date: Mardi 3 Novembre 2009, 20h36 > Alexandre L. wrote: > > Hi all, > > > > I want to use SLIM (Graphical login manager for X11) > with XFCE4. > > After the installation, I have enabled it with the > line slim_enable="YES" in /etc/rc.conf > > When I log in (from SLIM), the language in XFCE is > english. > > > > If I don't use SLIM, I log in on TTY and use %startx, > XFCE language is in French (I have configured it). > > > > Here my config files : > > > > .dmrc (of my user) > > [Desktop] > > Session=Xfce4 > > Language=fr_FR.UTF-8 > > > > > > > > .login_conf (of my user) > > me:\ :charset=ISO-8859-15:\ > > :lang=fr_FR.ISO8859-15:\ > > > > .xinitrc (of my user) > > export LANG fr_FR.UTF-8 > > > /usr/local/bin/startxfce4 > > > > I want to use SLIM to launch XFCE4 in French. > > -- 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-unsubscribe@freebsd.org" > From a.huth at tmr.net Thu Nov 5 12:33:26 2009 From: a.huth at tmr.net (Alex Huth) Date: Thu Nov 5 12:33:34 2009 Subject: FreeBSD, Juniper netscreen & Java Message-ID: <20091105121355.GA26230@borusse.borussiapark> Hi! I am actual at a problem i had also with Debian on the same Laptop. I need to make a VPN connect to a Juniper netscreen. As far as i know Juniper only works with java from sun. On Debian i had to use java 1.5, with 1.6 it did not work. Is it right that the native jdk port is a patched sun java? I can?t get it working, even with the jdk 1.5. The linux-sun-jdk 1.5 will not install because someother ports are to new for it. I get the login and the applet to execute, but the final applet where the VPN is setup will not appear. Anyone using VPN with Juniper netscreen on FreeBSD? thx Alex From guru at unixarea.de Thu Nov 5 13:13:41 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Nov 5 13:13:49 2009 Subject: splitting Mbox file thread-sorted Message-ID: <20091105131339.GA3804@current.Sisis.de> Hello, Is there some tool or something in the ports which could split a Mbox file into various pieces, but having the threads together? I could do it by hand with mutt, but I think it must be some tool for this too; Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From af.gourmet at videotron.ca Thu Nov 5 14:26:16 2009 From: af.gourmet at videotron.ca (PJ) Date: Thu Nov 5 14:26:23 2009 Subject: and now for conky & gremlins In-Reply-To: <20091105023045.9a3d90ab.freebsd@edvax.de> References: <4AF1FF76.60808@videotron.ca> <20091105023045.9a3d90ab.freebsd@edvax.de> Message-ID: <4AF2D277.3090406@videotron.ca> Polytropon wrote: > On Wed, 04 Nov 2009 18:25:58 -0400, PJ wrote: > >> output should be: 1 2 3 [4] 5 6 7 etc. >> is: 1 2 3 4 5 6.... >> >> the calendar.sh is exactly: >> #!/bin/sh >> cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ >> &/' -e "s/\ `date +%d`/\[`date +%d`\]/" >> > > It's quite obviously. Let's try the last substitution > argument in plain shell: > > % date +%d > 05 > > But the command creates this: > > Su Mo Tu We Th Fr Sa > 1 2 3 4 5 6 7 > > The leading zero is missing, so there's no substition that > changes "5" into "[5]", because the search pattern is "05". > Ok, I see... I'm not too good in programming. I guess I didn't notice the previous to the first days of November the date was always 2 digits.. how do I get rid of the zero? Regex substitution or something like that? From mail25 at bzerk.org Thu Nov 5 14:46:16 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu Nov 5 14:46:25 2009 Subject: and now for conky & gremlins In-Reply-To: <4AF2D277.3090406@videotron.ca> References: <4AF1FF76.60808@videotron.ca> <20091105023045.9a3d90ab.freebsd@edvax.de> <4AF2D277.3090406@videotron.ca> Message-ID: <20091105144609.GA28950@ei.bzerk.org> On Thu, Nov 05, 2009 at 09:26:15AM -0400, PJ typed: > Polytropon wrote: > > On Wed, 04 Nov 2009 18:25:58 -0400, PJ wrote: > > > >> output should be: 1 2 3 [4] 5 6 7 etc. > >> is: 1 2 3 4 5 6.... > >> > >> the calendar.sh is exactly: > >> #!/bin/sh > >> cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ > >> &/' -e "s/\ `date +%d`/\[`date +%d`\]/" > >> > > > > It's quite obviously. Let's try the last substitution > > argument in plain shell: > > > > % date +%d > > 05 > > > > But the command creates this: > > > > Su Mo Tu We Th Fr Sa > > 1 2 3 4 5 6 7 > > > > The leading zero is missing, so there's no substition that > > changes "5" into "[5]", because the search pattern is "05". > > > Ok, I see... I'm not too good in programming. I guess I didn't notice > the previous to the first days of November the date was always 2 > digits.. how do I get rid of the zero? Regex substitution or something > like that? date "+%e" should do it. Ruben From olivermahmoudi at gmail.com Thu Nov 5 15:21:49 2009 From: olivermahmoudi at gmail.com (Oliver Mahmoudi) Date: Thu Nov 5 15:21:55 2009 Subject: FreeBSD Source Code In-Reply-To: References: Message-ID: <6b4b2d2c0911050721g1db57187s6dc0ae25399ea9dc@mail.gmail.com> On Wed, Nov 4, 2009 at 11:26 PM, Petros Ring wrote: > I would like you to send a copy of all the source code of FreeBSD so I may > use it for a project that will allow the running of applacations from a > different os to run on FreeBSD. Please send a attachment of the full source > code in the reply email. > > Thank you, > Petros > > > You might also be interested in taking a look at: http://fxr.watson.org/ greetings, Oliver From af.gourmet at videotron.ca Thu Nov 5 15:41:24 2009 From: af.gourmet at videotron.ca (PJ) Date: Thu Nov 5 15:41:31 2009 Subject: and now for conky & gremlins In-Reply-To: <20091105144609.GA28950@ei.bzerk.org> References: <4AF1FF76.60808@videotron.ca> <20091105023045.9a3d90ab.freebsd@edvax.de> <4AF2D277.3090406@videotron.ca> <20091105144609.GA28950@ei.bzerk.org> Message-ID: <4AF2E413.2080907@videotron.ca> Ruben de Groot wrote: > On Thu, Nov 05, 2009 at 09:26:15AM -0400, PJ typed: > >> Polytropon wrote: >> >>> On Wed, 04 Nov 2009 18:25:58 -0400, PJ wrote: >>> >>> >>>> output should be: 1 2 3 [4] 5 6 7 etc. >>>> is: 1 2 3 4 5 6.... >>>> >>>> the calendar.sh is exactly: >>>> #!/bin/sh >>>> cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ >>>> &/' -e "s/\ `date +%d`/\[`date +%d`\]/" >>>> >>>> >>> It's quite obviously. Let's try the last substitution >>> argument in plain shell: >>> >>> % date +%d >>> 05 >>> >>> But the command creates this: >>> >>> Su Mo Tu We Th Fr Sa >>> 1 2 3 4 5 6 7 >>> >>> The leading zero is missing, so there's no substition that >>> changes "5" into "[5]", because the search pattern is "05". >>> >>> >> Ok, I see... I'm not too good in programming. I guess I didn't notice >> the previous to the first days of November the date was always 2 >> digits.. how do I get rid of the zero? Regex substitution or something >> like that? >> > > date "+%e" should do it. > Sure did.... For the moment, I changed the [ ] to just plain > maybe that will avoid the disjointed row. But changing the color of the current date sure would be nice... but is there a way to do that? From jhell at DataIX.net Thu Nov 5 17:25:55 2009 From: jhell at DataIX.net (jhell) Date: Thu Nov 5 17:26:02 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <20091105131339.GA3804@current.Sisis.de> References: <20091105131339.GA3804@current.Sisis.de> Message-ID: On Thu, 5 Nov 2009 08:13, guru@ wrote: > > Hello, > > Is there some tool or something in the ports which could split a Mbox > file into various pieces, but having the threads together? I could do > it by hand with mutt, but I think it must be some tool for this too; > Thx > > matthias > To my best belief mail/procmail should be able to do what you want with the proper recipe and then just re-filtering your mail from your mbox. Best of luck. -- Thu Nov 5 12:18:27 2009 -0500 jhell From bcook at poughkeepsieschools.org Thu Nov 5 17:54:44 2009 From: bcook at poughkeepsieschools.org (B. Cook) Date: Thu Nov 5 17:54:51 2009 Subject: zfs :: i386 or amd64 and less than 4GB.. Message-ID: <4AF31162.1030001@poughkeepsieschools.org> I have a few machines that have less than 4GB of ram, but they are adm64.. does zfs make sense/work in that case? 7.x or 8.rc From mark at summersault.com Thu Nov 5 18:15:54 2009 From: mark at summersault.com (Mark Stosberg) Date: Thu Nov 5 18:16:02 2009 Subject: solution: getting a Motorola Razr V3 to work as a GSM modem on FreeBSD Message-ID: <20091105131524.3967515f@summersault.com> Here's an answer without a direct question: I've been working on a project send out pages from Nagios directly unto cell network as SMS messages. The "modem" used for now is a Motorola Razr V3 phone, which is a GSM phone. We have a "Qwert Corp" texting plan, which provides unlimited text messages for about $20/month, without paying for a voice plan we don't need. It is serviced by T-Mobile's network. The phone connects to the server via USB cable which (I presume) also charges the phone at the same time. No special settings needed on the phone to make it work as a modem On the FreeBSD side (with the old FreeBSD 6.1 release), I initially got a failure when I plugged it in: Nov 5 09:45:57 azz kernel: uhub0: device problem (SET_ADDR_FAILED), disabling port 1 Nov 5 09:46:06 azz kernel: uhub0: port 1, set config at addr 2 failed Nov 5 09:46:06 azz kernel: uhub0: device problem (IOERROR), disabling port 1 Nov 5 09:46:10 azz kernel: ugen0: Motorola Inc. Motorola Phone (V3), rev 1.10/0.01, addr 2 ### This initial problem was solved by loading the "ucom" and "umodem" modules: kldload ucom kldload umodem To make sure these will be loaded on boot, I added some lines to /boot/loader.conf (still need to be tested): ucom_load="YES" umodem_load="YES" Then when I plugin the phone to FreeBSD, I get a more successful message: ### Nov 5 11:10:25 azz kernel: ucom0: Motorola Inc. Motorola Phone (V3), rev 1.10/0.01, addr 2, iclass 2/2 Nov 5 11:10:25 azz kernel: ucom0: data interface 1, has CM over data, has no break Nov 5 11:10:25 azz kernel: ucom0: status change notification available ### The related device file for us is: /dev/cuaU0 For software to send the pages, I use the "gammu" port. I ran "gammu-config" for the initial setup, and then moved the resulting file from /root/.gammurc to the more standard location: /etc/gammurc During the setup, I used the device file mentioned above. I found that the device file could be reality-checked like this: stty -f /dev/cuaU0 -a That prints out some details including this hint that it's a modem: "speed 9600 baud" Finally, I could send a successful test with Gammu: echo "sms test" | gammu --sendsms TEXT +1XXXYYYZZZZ From here, there are already references on integrating Gammu with Nagios, as well as the possibility of using "gammu-smsd" for higher-volume paging loads. I thought I would share this in case anyone else ran into the same problem I did trying to get a USB modem to work when they plugged into FreeBSD! Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer mark@summersault.com Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . From stanb at panix.com Thu Nov 5 20:07:41 2009 From: stanb at panix.com (stan) Date: Thu Nov 5 20:07:48 2009 Subject: Help with CUPS reconfiguration Message-ID: <20091105200730.GA12331@teddy.fas.com> I am trying to reconfigure a bunch of machine to acomodate new domain names. One of these machines is a fairly old FreeBSD machine (6.3). We have done a search through all the files of these machines looking for references to the old domain name. One of these is in /etc/printcap/ /etc/printcap has a comment in it that says it is auto generated by cops. It refers to /usr/local/etc/cups/printers.conf as the source file. However, this file does not have a reference to the old domain. My guess is that this is picked up automatically from the machine name, when it is built. Therein lies the issue. I cant connect remotely port 631 on this machine as the certificate is no longer valid, as the domain has changed. When I go to the machine an try to connect to localhost:631, it gets connected, but no combination of username password works. How can I force cups to reconfigure? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From amvandemore at gmail.com Thu Nov 5 20:27:17 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Nov 5 20:27:24 2009 Subject: Help with CUPS reconfiguration In-Reply-To: <20091105200730.GA12331@teddy.fas.com> References: <20091105200730.GA12331@teddy.fas.com> Message-ID: <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> > Therein lies the issue. I cant connect remotely port 631 on this machine as > the certificate is no longer valid, as the domain has changed. Normally, a browser will let you proceed if you give it the correct instructions. > When I > go to the machine an try to connect to localhost:631, it gets connected, > but no combination of username password works. > root should work. > > How can I force cups to reconfigure? > > man cupsd.conf -- Adam Vande More From troy at kocherfamily.org Thu Nov 5 20:28:28 2009 From: troy at kocherfamily.org (Troy Kocher) Date: Thu Nov 5 20:28:38 2009 Subject: Gvinum mirror & growfs broken HELP, 7.2 RELEASE Message-ID: <1e3f5d680911051228v6f773e02u9fd5576199f2257@mail.gmail.com> Could anyone give me some input on this. . Issue: Trying to grow an existing mirrored filesystem with growfs fails. . : Given: FreeBSD 7.2-RELEASE (GENERIC) #0: Fri May 1 07:18:07 UTC 2000 ----- 2 drives: D data1 State: up /dev/da1s1 A: 432325/1430506 MB (30%) D data0 State: up /dev/da0s1g A: 408351/1406532 MB (29%) 9 volumes: .. V support_mirror State: up Plexes: 2 Size: 2048 MB .. 18 plexes: .. P support_mirror.p0 C State: up Subdisks: 1 Size: 2048 MB P support_mirror.p1 C State: up Subdisks: 1 Size: 2048 MB .. 18 subdisks: S support_mirror.p0.s0 State: up D: data0 Size: 2048 MB S support_mirror.p1.s0 State: up D: data1 Size: 2048 MB ... -------- Problem Description: Here are is the list after I made the update of 's1' 9 volumes: V support_mirror State: up Plexes: 2 Size: 4096 MB 18 plexes: .. P support_mirror.p0 C State: up Subdisks: 2 Size: 4096 MB P support_mirror.p1 C State: up Subdisks: 2 Size: 4096 MB .. 20 subdisks: .. S support_mirror.p1.s1 State: up D: data1 Size: 2048 MB S support_mirror.p0.s1 State: up D: data0 Size: 2048 MB S support_mirror.p0.s0 State: up D: data0 Size: 2048 MB S support_mirror.p1.s0 State: up D: data1 Size: 2048 MB .. Then when I try to grow the file system it complains and won't. . [tao] #growfs /dev/gvinum/support_mirror We strongly recommend you to make a backup before growing the Filesystem Did you backup your data (Yes/No) ? Yes new file systemsize is: 2097152 frags growfs: wtfs: write error: 8388607: Device not configured Any help you can provide would be really appreciated . . From freebsd at edvax.de Thu Nov 5 21:49:47 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 5 21:49:54 2009 Subject: SLIM and XFCE4 In-Reply-To: <424233.42925.qm@web24816.mail.ird.yahoo.com> References: <20091105001628.3cd0319a.freebsd@edvax.de> <424233.42925.qm@web24816.mail.ird.yahoo.com> Message-ID: <20091105224944.a6ce3874.freebsd@edvax.de> On Wed, 4 Nov 2009 23:01:19 -0800 (PST), "Alexandre L." wrote: > mmm. I don't know. > But with this config file, XFCE4 launch is OK (or seems OK). That may be possible, as well as correct. I have learned - many many years ago, so it may already have changed - that .xinitrc is a SHELL SCRIPT that is executed on X startup. So all the "rules" for shell scripts do apply, such as declaring the interpreter with the #! special comment. Furthermore, .xinitrc serves as a kind of "init process", so that the "exec" statement is needed to replace the .xinitrc process by the window manager. See that .xsession serves a similar process and needs a certain form so that programs that use it (e. g. xdm) do the right thing. My .xsession does look like this: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It is needed so that xterms running csh inherit the settings from my .cshrc, and then .xsession continues running as .xinitrc, which finally runs as the window manager (here: WindowMaker, last line "exec wmaker"). But as I said, it may be handled completely differently today. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From sfourman at gmail.com Thu Nov 5 21:58:23 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Thu Nov 5 21:59:45 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: References: <20091105131339.GA3804@current.Sisis.de> Message-ID: <11167f520911051358o3581b15x2c73e616df3bf9e3@mail.gmail.com> On Thu, Nov 5, 2009 at 11:20 AM, jhell wrote: > > On Thu, 5 Nov 2009 08:13, guru@ wrote: >> >> Hello, >> >> Is there some tool or something in the ports which could split a Mbox >> file into various pieces, but having the threads together? I could do >> it by hand with mutt, but I think it must be some tool for this too; >> Thx >> >> ? ? ? ?matthias >> > > > ? ?To my best belief mail/procmail should be able to do what you want with > the proper recipe and then just re-filtering your mail from your mbox. if anyone could post a procmail recipe that would be GREAT. I have been wanting to do this. Sam Fourman Jr. Fourman Networks From freebsd at edvax.de Thu Nov 5 21:59:46 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 5 22:00:43 2009 Subject: solution: getting a Motorola Razr V3 to work as a GSM modem on FreeBSD In-Reply-To: <20091105131524.3967515f@summersault.com> References: <20091105131524.3967515f@summersault.com> Message-ID: <20091105225944.c0c84177.freebsd@edvax.de> Allow me a quite formal addition: On Thu, 5 Nov 2009 13:15:24 -0500, Mark Stosberg wrote: > For software to send the pages, I use the "gammu" port. > ^^^^ > I ran "gammu-config" for the initial setup, and then moved the > resulting file from /root/.gammurc to the more standard > location: /etc/gammurc ^^^^ FreeBSD separates configuration files for the system (/etc subtree) and for additional ports (/usr/local/etc subtree), so /usr/local/etc/gammurc would, in my opinion, be the correct place for this file. > I thought I would share this in case anyone else ran into the same > problem I did trying to get a USB modem to work when they plugged into > FreeBSD! Many thanks, Mark, this really sounds interesting and useful, a very good combination. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From stanb at panix.com Thu Nov 5 22:22:41 2009 From: stanb at panix.com (stan) Date: Thu Nov 5 22:22:48 2009 Subject: Help with CUPS reconfiguration In-Reply-To: <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> References: <20091105200730.GA12331@teddy.fas.com> <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> Message-ID: <20091105222239.GA18238@teddy.fas.com> On Thu, Nov 05, 2009 at 02:27:17PM -0600, Adam Vande More wrote: > > Therein lies the issue. I cant connect remotely port 631 on this machine as > > the certificate is no longer valid, as the domain has changed. > > > Normally, a browser will let you proceed if you give it the correct > instructions. OK, but it doesn't. > > > > When I > > go to the machine an try to connect to localhost:631, it gets connected, > > but no combination of username password works. > > > > root should work. I agree, it _should_ but as I stated, it _does_ not. > > > > > > How can I force cups to reconfigure? > > > > > man cupsd.conf OK, I read that. It tells me how to configure cups, but as far as I can tell, it does not tell me how to get cups to regenerate /etc/printcap, which is what I need to do. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From frank at shute.org.uk Thu Nov 5 22:36:13 2009 From: frank at shute.org.uk (Frank Shute) Date: Thu Nov 5 22:36:21 2009 Subject: linux-firefox In-Reply-To: <8E5E42C8E2DF41BAA8D5247B29AF216D@acerd4e827cfd3> References: <8E5E42C8E2DF41BAA8D5247B29AF216D@acerd4e827cfd3> Message-ID: <20091105223611.GA85924@orange.esperance-linux.co.uk> On Tue, Nov 03, 2009 at 11:22:53AM -0800, Christopher Chambers wrote: > > Hi, > > I have ran into a problem that I haven't encountered yet. I'm in > process of reinstalling BSD after a hardware failure. I was using > www/linux-firefox-devel at first because I wanted verision 3. After > discouving www/linux-firefox has been changed from 2 to 3, I > uninstalled the devel version and replaced it with linux-firefox. > > The devel version did worked. However when I type linux-firefox in > xterm, nothing happens. It doesn't start and I receive no error > messages. > > Now what do I do? > > I am using kernal 7.1, linprocfs is mounted, all of the listed > dependences are meet and the ports tree is the most current version. > > I would try www/firefox35 but I am plugin happy. > > Thank you for help. > Assuming you're calling it with the correct name, then you probably just have to rehash your shell: $ hash $ rehash IIRC. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From kraduk at googlemail.com Thu Nov 5 23:09:41 2009 From: kraduk at googlemail.com (krad) Date: Thu Nov 5 23:09:48 2009 Subject: zfs :: i386 or amd64 and less than 4GB.. In-Reply-To: <4AF31162.1030001@poughkeepsieschools.org> References: <4AF31162.1030001@poughkeepsieschools.org> Message-ID: 2009/11/5 B. Cook > I have a few machines that have less than 4GB of ram, but they are adm64.. > > does zfs make sense/work in that case? > > 7.x or 8.rc > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > works fine on my 2 gig box. We use many boxes at work with 2g of ram as well, and they have plenty of io From freebsd at edvax.de Thu Nov 5 23:23:53 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 5 23:24:00 2009 Subject: Help with CUPS reconfiguration In-Reply-To: <20091105222239.GA18238@teddy.fas.com> References: <20091105200730.GA12331@teddy.fas.com> <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> <20091105222239.GA18238@teddy.fas.com> Message-ID: <20091106002351.97c5ea38.freebsd@edvax.de> On Thu, 5 Nov 2009 17:22:39 -0500, stan wrote: > It tells me how to configure cups, but as far as I can > tell, it does not tell me how to get cups to regenerate /etc/printcap, > which is what I need to do. I have very few experience with CUPS (prefer apsfilter or PS), but as far as I understood, the printcap file is altered every time a printer is changed. So when you remove the existing printer and create it again, all files should be regenerated, both the /etc/printcap file as well as the files in the /usr/local/etc/cups subtree. Deleting and recreating still sounds like the "Windows" way of doing things, but due to my impression that CUPS is designed in a way that it appeals this special kind of users' expectations, this may be the only way to achieve your goal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at optimis.net Thu Nov 5 23:48:05 2009 From: freebsd at optimis.net (George Davidovich) Date: Thu Nov 5 23:48:21 2009 Subject: SLIM and XFCE4 In-Reply-To: <20091105224944.a6ce3874.freebsd@edvax.de> References: <20091105001628.3cd0319a.freebsd@edvax.de> <424233.42925.qm@web24816.mail.ird.yahoo.com> <20091105224944.a6ce3874.freebsd@edvax.de> Message-ID: <20091105234804.GA24198@marvin.optimis.net> On Thu, Nov 05, 2009 at 10:49:44PM +0100, Polytropon wrote: > On Wed, 4 Nov 2009 23:01:19 -0800 (PST), Alexandre L. wrote: > > mmm. I don't know. But with this config file, XFCE4 launch is OK > > (or seems OK). > > That may be possible, as well as correct. > > I have learned - many many years ago, so it may already have changed - > that .xinitrc is a SHELL SCRIPT that is executed on X startup. So all > the "rules" for shell scripts do apply, such as declaring the > interpreter with the #! special comment. Furthermore, .xinitrc serves > as a kind of "init process", so that the "exec" statement is needed to > replace the .xinitrc process by the window manager. That's always been my understanding, but if you examine the startx script, you'll see otherwise. From xinit(1): If no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run as a shell script to start up client programs ... ^^^^^^^^^^^^^^^^^ The interpretation being that .xinitrc can be an ordinary file, but should be written to follow certain syntax rules (not unlike /etc/rc.conf). An example to illustrate: $ echo 'var="Hello World"; echo $var' > filename $ sh filename Hello World Put simply, .xinitrc does not need a shebang line, and does not need to be executable. A simple 'exec ...' statement as the final line will suffice. -- George From freebsd-questions-2 at voidcaptain.com Fri Nov 6 00:53:01 2009 From: freebsd-questions-2 at voidcaptain.com (Pete) Date: Fri Nov 6 00:53:07 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <11167f520911051358o3581b15x2c73e616df3bf9e3@mail.gmail.com> References: <20091105131339.GA3804@current.Sisis.de> <11167f520911051358o3581b15x2c73e616df3bf9e3@mail.gmail.com> Message-ID: <4AF370CA.6000307@voidcaptain.com> Sam Fourman Jr. wrote: > On Thu, Nov 5, 2009 at 11:20 AM, jhell wrote: >> On Thu, 5 Nov 2009 08:13, guru@ wrote: >>> Hello, >>> >>> Is there some tool or something in the ports which could split a Mbox >>> file into various pieces, but having the threads together? I could do >>> it by hand with mutt, but I think it must be some tool for this too; >>> Thx >>> >>> matthias >>> >> >> To my best belief mail/procmail should be able to do what you want with >> the proper recipe and then just re-filtering your mail from your mbox. > > if anyone could post a procmail recipe that would be GREAT. I have > been wanting to do this. > > Sam Fourman Jr. > Fourman Networks Dunno about procmail, but it's easy to resort with maildrop: reformail -s maildrop < mbox_file will cause the whole mbox_file to be broken into individual messages that are then (re)processed by your current maildrop configuration (using your current .mailfilter). The reformail program comes with maildrop; see the man page. From mark at summersault.com Fri Nov 6 02:41:11 2009 From: mark at summersault.com (Mark Stosberg) Date: Fri Nov 6 02:41:19 2009 Subject: solution: getting a Motorola Razr V3 to work as a GSM modem on FreeBSD In-Reply-To: <20091105225944.c0c84177.freebsd@edvax.de> References: <20091105131524.3967515f@summersault.com> <20091105225944.c0c84177.freebsd@edvax.de> Message-ID: <20091105211428.30a43954@mark-x41> > On Thu, 5 Nov 2009 13:15:24 -0500, Mark Stosberg wrote: > > For software to send the pages, I use the "gammu" port. > > ^^^^ > > I ran "gammu-config" for the initial setup, and then moved the > > resulting file from /root/.gammurc to the more standard > > location: /etc/gammurc > ^^^^ > FreeBSD separates configuration files for the system (/etc > subtree) and for additional ports (/usr/local/etc subtree), > so /usr/local/etc/gammurc would, in my opinion, be the > correct place for this file. I agree. However, the related man pages didn't reference this option. This seems like a place where the code and docs could use a small patch to work this way on FreeBSD. (Or maybe it already works this way, and the docs don't reflect it). I suppose in my case, I could still move the config file to /usr/local/etc/ and then symlink it from /etc/, which would meet the requirements of the software, and also meet the expectations of someone expecting a standard FreeBSD layout. > Many thanks, Mark, this really sounds interesting and useful, > a very good combination. :-) You are welcome. I have been running a hosting business on FreeBSD since about 1997 and it has worked very well for us. Mark -- http://mark.stosberg.com/ From Olivier.Nicole at cs.ait.ac.th Fri Nov 6 07:30:59 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Fri Nov 6 07:31:08 2009 Subject: How to configure sendmail Message-ID: <200911060730.nA67Uu2O037135@banyan.cs.ait.ac.th> Hi, I have this stupide little configuration that I cannot manage to get working. I have one machine a.domain.net that I want to be able to deliver system mail (like cron and so on) with the following rules: - user1 on a.domain.net has the same username as on domain.net; I want that mail sent to user1 is delivered to user1@domain.net; - user2 on a.domain.net has no corresponding user on domain.net, but it has an alias defined; I want to mail sent to user2 is delivered to the alias. - of course, mail addressed to a full address x@y.z should be delivered accordingly, eventually using a mail relay. I tried using masquerade in submit.mc, user1 is then rewritten as user1.domain.net, but the alias for user2 is not parsed and user2 is also rewritten as user2@domain.net. How can I solve my problem? TIA, Olivier From m.seaman at infracaninophile.co.uk Fri Nov 6 07:57:57 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Nov 6 07:58:07 2009 Subject: How to configure sendmail In-Reply-To: <200911060730.nA67Uu2O037135@banyan.cs.ait.ac.th> References: <200911060730.nA67Uu2O037135@banyan.cs.ait.ac.th> Message-ID: <4AF3D6EF.3000108@infracaninophile.co.uk> Olivier Nicole wrote: > Hi, > > I have this stupide little configuration that I cannot manage to get > working. > > I have one machine a.domain.net that I want to be able to deliver > system mail (like cron and so on) with the following rules: > > - user1 on a.domain.net has the same username as on domain.net; I > want that mail sent to user1 is delivered to user1@domain.net; > > - user2 on a.domain.net has no corresponding user on domain.net, but > it has an alias defined; I want to mail sent to user2 is delivered > to the alias. > > - of course, mail addressed to a full address x@y.z should be > delivered accordingly, eventually using a mail relay. > > I tried using masquerade in submit.mc, user1 is then rewritten as > user1.domain.net, but the alias for user2 is not parsed and user2 is > also rewritten as user2@domain.net. > > How can I solve my problem? virtusertable will certainly help with the first case, and it might help with the second case. It depends if the alias in the 2nd expands to multiple recipients (which virtusertable can't do). virtusertable is a lot like alias expansion, but with the following important differences: * The address match is against both the username and the host part of an e-mail address. aliases only match against the username part. * The username part can be wild-carded, and the matched wild text can be used to modify the destination address. * virtusertable only provides a 1-to-1 mapping -- aliases provide a 1-to-many mapping. virtusertable just changes the envelope addresses: it doesn't change any of the addresses in the mail header so the mail in the first case will still show 'user1@a.domain.net' as the destination address when read in a mail client. To change that, you could also use genericstable. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091106/8c472bad/signature.pgp From guru at unixarea.de Fri Nov 6 08:56:43 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri Nov 6 08:56:49 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <4AF370CA.6000307@voidcaptain.com> References: <20091105131339.GA3804@current.Sisis.de> <11167f520911051358o3581b15x2c73e616df3bf9e3@mail.gmail.com> <4AF370CA.6000307@voidcaptain.com> Message-ID: <20091106085644.GA1974@current.Sisis.de> El d?a Thursday, November 05, 2009 a las 04:41:46PM -0800, Pete escribi?: > >>> Is there some tool or something in the ports which could split a Mbox > >>> file into various pieces, but having the threads together? I could do > >>> it by hand with mutt, but I think it must be some tool for this too; > >>> Thx > >>> > >>> matthias > >>> > >> ... > > reformail -s maildrop < mbox_file > > will cause the whole mbox_file to be broken into individual > messages that are then (re)processed by your current maildrop > configuration (using your current .mailfilter). The reformail program > comes with maildrop; see the man page. I have no reformail(1) or maildrop(1) installed; so I checked the man page here: http://www.courier-mta.org/maildrop/reformail.html and understand what the above is doing (breaking the mbox into single mails and piping them again through a local MDA maildrop(1)). But this is not I was looking for. I want to break a big mbox file into pieces of lets say 1000 mails, and not in the order the mails are in the source file, but thread sorted; i.e. if the 1st and the last mail of this big 10.000 mbox file belong to one thread, they should be in one file; don't see how this would be possible with maildrop(1); any idea is welcome; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From masoom.shaikh at gmail.com Fri Nov 6 12:03:04 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Fri Nov 6 12:03:11 2009 Subject: FreeBSD-8.0-RC2 problems Message-ID: Hello, Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 installation. building and installing was smooth as always has been. Then I pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with my experience problem # 1 The problem is KDE4 is not able to display anti aliased fonts. I have made the required changes to make it work, of course, in System Settings -> Appearance -> Fonts Hinting -> Full, and there is is one more option, the name i cannot recall ATM, I have set it to RGB. DPI to 96......this is has worked for all combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 problem # 2 I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due to no reason. The pain is I don't get a core dump. When it freezes the only option is to hard boot by reseting the power. This might need more information to guess the cause. I will give basic info. This is Dell Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi driver, no proof, just my gut feeling. problem # 3 starting with 8.0 wpi driver no longer is the interface, wlanX is to be created. this is not news, but every time I manually create the wlan0 interface and spawn wpa_supplicant. This shuould be automatic, as I have followed the guidelines of rc.conf(5). I can provide output of rc_debug="YES" if someone is willing. How can i install all files under /etc from the source ? Masoom Shaikh From stanb at panix.com Fri Nov 6 13:50:40 2009 From: stanb at panix.com (stan) Date: Fri Nov 6 13:50:47 2009 Subject: Help with CUPS reconfiguration In-Reply-To: <20091106002351.97c5ea38.freebsd@edvax.de> References: <20091105200730.GA12331@teddy.fas.com> <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> <20091105222239.GA18238@teddy.fas.com> <20091106002351.97c5ea38.freebsd@edvax.de> Message-ID: <20091106135039.GB8186@teddy.fas.com> On Fri, Nov 06, 2009 at 12:23:51AM +0100, Polytropon wrote: > On Thu, 5 Nov 2009 17:22:39 -0500, stan wrote: > > It tells me how to configure cups, but as far as I can > > tell, it does not tell me how to get cups to regenerate /etc/printcap, > > which is what I need to do. > > I have very few experience with CUPS (prefer apsfilter or PS), > but as far as I understood, the printcap file is altered > every time a printer is changed. So when you remove the > existing printer and create it again, all files should be > regenerated, both the /etc/printcap file as well as the > files in the /usr/local/etc/cups subtree. > > Deleting and recreating still sounds like the "Windows" > way of doing things, but due to my impression that CUPS > is designed in a way that it appeals this special kind > of users' expectations, this may be the only way to achieve > your goal. I agree with everthing you said. The question I am sking, though, is "How can I modify the CUPS configuration, without using the web based interface (which is not working, in such a manner that the /etc/printcap file gets rebuilt. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From rnejdl at ringofsaturn.com Fri Nov 6 15:10:29 2009 From: rnejdl at ringofsaturn.com (Rusty Nejdl) Date: Fri Nov 6 15:10:35 2009 Subject: [kde-freebsd] FreeBSD-8.0-RC2 problems In-Reply-To: References: Message-ID: <07c4f4ba46c2c97a1092fe2cc108f375@ringofsaturn.com> On Fri, 6 Nov 2009 17:33:00 +0530, Masoom Shaikh wrote: Hello, Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 installation. building and installing was smooth as always has been. Then I pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with my experience problem # 1 The problem is KDE4 is not able to display anti aliased fonts. I have made the required changes to make it work, of course, in System Settings -> Appearance -> Fonts Hinting -> Full, and there is is one more option, the name i cannot recall ATM, I have set it to RGB. DPI to 96......this is has worked for all combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 problem # 2 I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due to no reason. The pain is I don't get a core dump. When it freezes the only option is to hard boot by reseting the power. This might need more information to guess the cause. I will give basic info. This is Dell Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi driver, no proof, just my gut feeling. problem # 3 starting with 8.0 wpi driver no longer is the interface, wlanX is to be created. this is not news, but every time I manually create the wlan0 interface and spawn wpa_supplicant. This shuould be automatic, as I have followed the guidelines of rc.conf(5). I can provide output of rc_debug="YES" if someone is willing. How can i install all files under /etc from the source ? Masoom Shaikh Regarding #2, I suggest disabling ACPI. I also had system freezes happen on my computer until I did this but this has always been an ongoing issue with my system and I lose nothing by turning it off. Sincerely, Rusty Nejdl http://networking.ringofsaturn.com From wblock at wonkity.com Fri Nov 6 15:12:27 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Nov 6 15:12:35 2009 Subject: How to configure sendmail Message-ID: Olivier Nicole wrote: > I have this stupide little configuration that I cannot manage to get > working. > > I have one machine a.domain.net that I want to be able to deliver > system mail (like cron and so on) with the following rules: > > - user1 on a.domain.net has the same username as on domain.net; I > want that mail sent to user1 is delivered to user1@domain.net; An alias will do that. > - user2 on a.domain.net has no corresponding user on domain.net, but > it has an alias defined; I want to mail sent to user2 is delivered > to the alias. Creating an alias for a nonexistent user seems to work here. > - of course, mail addressed to a full address x@y.z should be > delivered accordingly, eventually using a mail relay. > I tried using masquerade in submit.mc, I don't edit submit.mc, just .mc. > user1 is then rewritten as user1.domain.net, That's the masquerade... Wait, is that a typo? Should be "user1@domain.net"? > but the alias for user2 is not parsed newaliases(1) is needed after editing /etc/mail/aliases. And there is a bug if you're using 8.0: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/139870 > and user2 is also rewritten as user2@domain.net. Masquerade again. Not clear whether that's what you want. -Warren Block * Rapid City, South Dakota USA From psteele at maxiscale.com Fri Nov 6 15:20:02 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Nov 6 15:20:08 2009 Subject: system() call causes core dump In-Reply-To: <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> > Either I'm very lucky, or popen is better suited for this, as I have this running on various machines, 24/7: ... I could try popen as a next step. What we tried first was to replace our system calls with a function called vsys() which does exactly the same thing but uses vfork() underneath instead of fork(). If this problem had been due to resource conflicts due to the fork() performed by system(), we figured this would solve the problem. Unfortunately, we are still getting the exact same core with the identical stack trace. #0 0x0000000801058307 in _spinunlock () from /lib/libthr.so.3 #1 0x00000008011d0afb in _malloc_postfork () from /lib/libc.so.7 #2 0x000000080105c5fb in fork () from /lib/libthr.so.3 #3 0x0000000801191aae in system () from /lib/libc.so.7 #4 0x00000008010553aa in system () from /lib/libthr.so.3 #5 0x000000000040b6f9 in mythread at myapp.c:461 #6 0x0000000801056a88 in pthread_getprio () from /lib/libthr.so.3 I don't know much about the internal implementation of popen but I suspect that at its core it still likely ends up doing a fork(). Still, it's worth a try. Curiously, we have several other threads in our application running in threads that periodically make system calls. For some reason only this call to fstat causes a core to occur. Seems that something fishy is going on here.... From usleepless at gmail.com Fri Nov 6 15:43:20 2009 From: usleepless at gmail.com (usleepless@gmail.com) Date: Fri Nov 6 15:43:27 2009 Subject: system() call causes core dump In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> Message-ID: On Fri, Nov 6, 2009 at 4:19 PM, Peter Steele wrote: > > Either I'm very lucky, or popen is better suited for this, as I have this > running on various machines, 24/7: > ... > > I could try popen as a next step. What we tried first was to replace our > system calls with a function called vsys() which does exactly the same thing > but uses vfork() underneath instead of fork(). If this problem had been due > to resource conflicts due to the fork() performed by system(), we figured > this would solve the problem. Unfortunately, we are still getting the exact > same core with the identical stack trace. > > #0 0x0000000801058307 in _spinunlock () from /lib/libthr.so.3 > #1 0x00000008011d0afb in _malloc_postfork () from /lib/libc.so.7 > #2 0x000000080105c5fb in fork () from /lib/libthr.so.3 > #3 0x0000000801191aae in system () from /lib/libc.so.7 > #4 0x00000008010553aa in system () from /lib/libthr.so.3 > #5 0x000000000040b6f9 in mythread at myapp.c:461 > #6 0x0000000801056a88 in pthread_getprio () from /lib/libthr.so.3 > > I don't know much about the internal implementation of popen but I suspect > that at its core it still likely ends up doing a fork(). Still, it's worth a > try. Curiously, we have several other threads in our application running in > threads that periodically make system calls. For some reason only this call > to fstat causes a core to occur. Seems that something fishy is going on > here.... > > I am following this thread since i find it interesting ( playing around with popen & threads at times ). I am still trying to understand what Kris said. He says it is not safe to fork from a multithread proces. And he suggests using execve. You stacktrace btw is consistent with what Kris says: "and if that thread tries to acquire a lock or other formerly-shared resource it may deadlock or crash, because the child process is no longer accessing the same memory location as the threads in the parent process". -> that's probably the spinlock in malloc. I think you need to 1. (v)fork, 2. run execve on your fstat ( make it a sh script ) Something along the lines of this << your current thread code here >> // rc = system(fstatCmd); childpid = fork(); if (childpid >= 0) /* fork succeeded */ { if (childpid == 0) /* fork() returns 0 to the child process */ { execve("/usr/local/app/myscript", NULL, NULL); } } else { // didn't work, log something } << rest of your code here >> regards, usleep > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From amvandemore at gmail.com Fri Nov 6 15:58:45 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Nov 6 15:58:51 2009 Subject: hplip3 on fbsd 8 Message-ID: <6201873e0911060758q7b03097dm2c5f79f9569e50d3@mail.gmail.com> Does anyone have hplip3 working on freebsd 8 where usb detection is working? What did you need to do to get it working? -- Adam Vande More From freebsd at edvax.de Fri Nov 6 16:20:47 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Nov 6 16:20:55 2009 Subject: Help with CUPS reconfiguration In-Reply-To: <20091106135039.GB8186@teddy.fas.com> References: <20091105200730.GA12331@teddy.fas.com> <6201873e0911051227n7ba9e1c1ta091fbccffc23cb@mail.gmail.com> <20091105222239.GA18238@teddy.fas.com> <20091106002351.97c5ea38.freebsd@edvax.de> <20091106135039.GB8186@teddy.fas.com> Message-ID: <20091106172043.a6de08ca.freebsd@edvax.de> On Fri, 6 Nov 2009 08:50:39 -0500, stan wrote: > The question I am sking, though, is "How can I modify the CUPS > configuration, without using the web based interface (which is not working, > in such a manner that the /etc/printcap file gets rebuilt. The problem is that hte web interface seems to be a very integrated part of the CUPS configuration which isn't intended to be "not used". An option would maybe be to rewrite the files in /usr/local/etc/cups as well as /etc/printcap manually to reflect the desired changes, but I am not sure that this will be sufficient - maybe there are other files that are touched by automated processes during the printer installation / reconfiguration through the web interface... I think the only important parts in /etc/printcap are those that reference to the printer filter and those that set some specific values (resolution etc.); everything else is kept in the CUPS files, and both places of settings should contain the same individual data (e. g. same spool dir reference). If you could take the following example as a starting point and correct the settings manually so they show the same settings as what you already have configured in CUPS. Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: I'm not sure if cap_mkdb has to be run for /etc/printcap. If you're using a network attached printer, a reference to its name (known through /etc/hosts mechanism) should be okay. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From psteele at maxiscale.com Fri Nov 6 16:52:27 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Nov 6 16:52:34 2009 Subject: system() call causes core dump In-Reply-To: References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394EDDF@MBX03.exg5.exghost.com> >I am following this thread since i find it interesting ( playing around with popen & threads at times ). > >I am still trying to understand what Kris said. He says it is not safe to fork from a multithread proces. And he suggests using execve. > >You stacktrace btw is consistent with what Kris says: "and if that thread tries to acquire a lock or other formerly-shared resource it may deadlock or crash, because the child process is >no longer accessing the same memory location as the threads in the parent process". -> that's probably the spinlock in malloc. This is why we switched to vsys/vfork, assuming it would effectively do the same thing as execve. Perhaps not not. I can give it a try. I am still curious though why only this one particular system call is causing a crash. We have many calls running in other threads and none have ever caused a problem. They all do the same thing, run a command and save the output in a file, and then we process the output. The only thing different is the command we run in this case-fstat. From usleepless at gmail.com Fri Nov 6 17:31:15 2009 From: usleepless at gmail.com (usleepless@gmail.com) Date: Fri Nov 6 17:31:22 2009 Subject: system() call causes core dump In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394EDDF@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394EDDF@MBX03.exg5.exghost.com> Message-ID: On Fri, Nov 6, 2009 at 5:52 PM, Peter Steele wrote: > >I am following this thread since i find it interesting ( playing around > with popen & threads at times ). > > > >I am still trying to understand what Kris said. He says it is not safe to > fork from a multithread proces. And he suggests using execve. > > > >You stacktrace btw is consistent with what Kris says: "and if that thread > tries to acquire a lock or other formerly-shared resource it may deadlock or > crash, because the child process is > >no longer accessing the same memory location as the threads in the parent > process". -> that's probably the spinlock in malloc. > > This is why we switched to vsys/vfork, assuming it would effectively do the > same thing as execve. Perhaps not not. I can give it a try. I am still > curious though why only this one particular system call is causing a crash. > We have many calls running in other threads and none have ever caused a > problem. They all do the same thing, run a command and save the output in a > file, and then we process the output. The only thing different is the > command we run in this case-fstat. > Actually, i have just read the implementation of system() ( /usr/src/lib/libc/system.c ), It does fork() and then execl(). So my suggestion is not going to work. Then i read some of the malloc code ( /usr/src/lib/libstd/malloc.c ). It uses spinlocks alright, and they need to be initialized. My guess is that are not reinitialized in your forked process. I have no clue how to fix that. Another thought was that your application is compiled as multithreaded, but fstat, grep etc are probably not. But from what i can see, they use the same malloc implementation. I think the crash in the malloc is from a malloc in fstat or grep ( there is no malloc in system() ). regards, usleep > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From rnodal at gmail.com Fri Nov 6 17:58:23 2009 From: rnodal at gmail.com (Roger) Date: Fri Nov 6 17:58:30 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) Message-ID: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Hello all, I'm coming from Linux and I would appreciate it if I could get some help understanding some basic FreeBSD concepts. Here is the output of 'uname -r' is "7.2-RELEASE-p4". My first concerned is how do I keep FreeBSD up to date. According to the FreeBSD site, the lastest production release is 7.2. Is this the version that is recommended to have in a production server? According to what I have read from the Handbook and searches in google, the way to stay up to date binary wise is to use "freebsd-update", is this correct? I believe freebsd-update will update the base system but not the ports. Please correct me if I'm wrong. My second concerned is the ports. In the file "ports-supfile" there is one option, "*default release=cvs tag=.". I believe this specifies which cvs tag to use when pulling files from the ports. At one point I had "*default release=cvs tag=RELEASE_7_2_0". When I pulled the ports using the "RELEASE_7_2_0" tag and tried to build "portsupgrade" the installation failed because the ruby version that was going to be installed I believe had a security problem. (I love the fact that I was stopped from installing software that is KNOWN to be vulnerable). I figured that maybe I needed to get the latest version. So I went ahead and changed the cvs tag to "." (which I believe means the head version). I updated the ports and then tried the installation again, this time the installation went further but failed again due to the fact that my libtool (I can't remember the exact name) was older than what the installation required. So that threw me off. I believe that libtool is part of the base system and not the ports, correct? So that made me think that maybe because of using the latest version of the ports I can build certain ports if my base is not concurrent (in terms of what the ports requires and what my system offers) with the port system. So my question is this, if my FreeBSD release is 7.2-RELEASE-p4 which tag should I set for the ports system? Should I put the tag "RELEASE_7_2_0" and then wait for a security fix of the particular port (ruby) and then proceed to install? What is the recommended approach if your aim is to have your system up to date and stable? Another question that I have about the port system is, if LibX has a security update (or simply a bug fix) and programs from the ports programA, programB and programC depend on that library what is the recommended way to perform the upgrade that will also handle upgrading those programs? My third item is jails. I currently have only one external IP. I would like to setup two jails, one for apache and the other for postfix. Would that require more external IPs? If I wanted to have ssh access to the host and the jails that would definitely will require 3 external IPs right? Thank you very much for your time and patience, -r From sonicy at otenet.gr Fri Nov 6 18:12:40 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Fri Nov 6 18:12:48 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Message-ID: <4AF4670F.7040103@otenet.gr> Roger wrote: > Hello all, > > I'm coming from Linux and I would appreciate it if I could get some > help understanding some basic FreeBSD concepts. > Here is the output of 'uname -r' is "7.2-RELEASE-p4". > > My first concerned is how do I keep FreeBSD up to date. > According to the FreeBSD site, the lastest production release is 7.2. > Is this the version that is recommended to have in a production > server? > Yes. > According to what I have read from the Handbook and searches in > google, the way to stay up to date > binary wise is to use "freebsd-update", is this correct? > Yes, and... > I believe freebsd-update will update the base system but not the > ports. Please correct me if I'm wrong. > > you are right! > My second concerned is the ports. In the file "ports-supfile" there is > one option, "*default release=cvs tag=.". > I believe this specifies which cvs tag to use when pulling files from > the ports. At one point I had "*default release=cvs > tag=RELEASE_7_2_0". > When I pulled the ports using the "RELEASE_7_2_0" tag and tried to > build "portsupgrade" the installation failed because the ruby version > that was going to be installed I believe had a security problem. (I > love the fact that I was stopped from installing software that is > KNOWN to be vulnerable). > I figured that maybe I needed to get the latest version. So I went > ahead and changed the cvs tag to "." (which I believe means the head > version). > This is correct. For a ports supfile you would want to always get the latest ports version, so tag=. will do it. > I updated the ports and then tried the installation again, this time > the installation went further but failed again due to the fact that > my libtool (I can't remember the exact name) was older than what the > installation required. So that threw me off. > You have installed some ports from the DVD or compiled them using the default (non-updated) ports tree. Your libtool (a port) is out of date and you need to upgrade it. Use ports-mgmt/portupgrade to perform port upgrades and read /usr/ports/UPDATING for special notes regarding specific ports. You will find a note on libtool in there too. > I believe that libtool is part of the base system and not the ports, correct? > No, this is a port. If it were a base system component it would already be up to date as you are running -p4 > So that made me think that maybe because of using the latest version > of the ports I can build certain ports if my base is not > concurrent (in terms of what the ports requires and what my system > offers) with the port system. > So my question is this, if my FreeBSD release is 7.2-RELEASE-p4 which > tag should I set for the ports system? > Always use tag=. for the ports supfile. Your problem comes from the fact you have already installed some older programs. > Should I put the tag "RELEASE_7_2_0" and then wait for a security fix > of the particular port (ruby) and then proceed to install? > What is the recommended approach if your aim is to have your system up > to date and stable? > No. What I would recommend is to install a base system from CD, do not install any packages from it (except maybe linux_base, the linux emulation) and then after installation, proceed to update your ports tree and install everything else from ports. The packages in the official media get outdated very fast, and if you are installing packages from a several months old release chances are some of them will have to be upgraded before you can install other packages from the updated ports tree. Spare yourself the time and install everything from your updated ports tree. > Another question that I have about the port system is, if LibX has a > security update (or simply a bug fix) and programs from the ports > programA, programB and programC depend on that library what is the > recommended way to perform the upgrade that will also handle upgrading > those programs? > > Yes, portupgrade (and other programs in the ports-mgmt/* category) can handle this type of problem. Specific instructions for upgrading in this case are listed in /usr/ports/UPDATING. These are usually something like portupgrade -Rf pkg-x-y-z > My third item is jails. I currently have only one external IP. I would > like to setup two jails, one for apache and the other for postfix. > Would that require more external IPs? If I wanted to have ssh access > to the host and the jails that would definitely will require 3 > external IPs right? > > Not much experience with jails here, someone else will hopefully answer this for you! From wmoran at potentialtech.com Fri Nov 6 18:22:34 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Fri Nov 6 18:22:42 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <4AF4670F.7040103@otenet.gr> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <4AF4670F.7040103@otenet.gr> Message-ID: <20091106132232.303cf7c3.wmoran@potentialtech.com> In response to Manolis Kiagias : > Roger wrote: > > > My third item is jails. I currently have only one external IP. I would > > like to setup two jails, one for apache and the other for postfix. > > Would that require more external IPs? If I wanted to have ssh access > > to the host and the jails that would definitely will require 3 > > external IPs right? You can do some funky address aliasing with (for example) pf or ipfw, but it gets rather complex. So, the answer is, "No, you don't need multiple IPs, but the setup gets rather complicated if you don't have multiple IPs. As a result, most people who do this will have multiple IPs." -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From cstankevitz at toyon.com Fri Nov 6 18:27:55 2009 From: cstankevitz at toyon.com (Chris Stankevitz) Date: Fri Nov 6 18:28:02 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Message-ID: <4AF46AA9.3040806@toyon.com> Roger wrote: > Hello all, > > I'm coming from Linux and I would appreciate it if I could get some > help understanding some basic FreeBSD concepts. Roger, I had a hard time with ports and core apps. Here is a summary of what I learned (taken from a post I made months ago): === Applications on a FreeBSD machine are broken into two categories: 1. Applications installed under /bin, /usr/bin, etc 2. Applications installed under /usr/local The first group is called "core OS applications". The second is called "ports applications." FreeBSD developers think carefully before deciding in which group to place a new application. Update applications in the first group using freebsd-update but first decide whether you want RELEASE, STABLE, or CURRENT. Update applications in the second group using CVS on the ports tree. Sometimes applications in the second group will require an update to the first group with a message like "Does not compile on FreeBSD < 7.0" Some applications are in both groups and can exist simultaneously, such as GCC. === Chris From batarzell at googlemail.com Fri Nov 6 18:39:52 2009 From: batarzell at googlemail.com (Batarzell Namura) Date: Fri Nov 6 18:45:18 2009 Subject: freebsd.cz domain sponzoring Message-ID: Hello, I think you have domain http://www.freebsd.cz/ but is nothing special there and I planet to make new, big and fresh portal about BSD based systems under this domain because in czech/slovak republic doesn?t exist something like this. If you like and you can, please sponsor for me this domain and I make this web there (hosting I already have). Thanks! P.S: I give you there some adversing if you like for this sponsorship. From jhelfman at e-e.com Fri Nov 6 19:32:39 2009 From: jhelfman at e-e.com (Jason) Date: Fri Nov 6 19:32:46 2009 Subject: install.cfg scripting issue Message-ID: <20091106193137.GA73071@eggman.experts-exchange.com> Hi, I am having a heck of a time getting an automated installation to get a couple of commands done, and was wondering if anyone would be able to offer any assistance. Everything works, but post does not. I know we will more than likely move to a post pkg for configuration, but due to the time-frame to deliver, what follows below will suit needs just fine. command='echo sshd_enable="YES" >> /etc/rc.conf.local' system command=cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime system command=/sbin/reboot system I've tried the first command, and it fails, with a "command not found," and I have yet to get past those command to the last commands. I have been using single ticks, and double-quotes, but nothing is seeming to work. In addition to this, I have also escaped the quotes. Any help is much appreciated. Thanks, Jason From psteele at maxiscale.com Fri Nov 6 19:33:08 2009 From: psteele at maxiscale.com (Peter Steele) Date: Fri Nov 6 19:33:15 2009 Subject: system() call causes core dump In-Reply-To: References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D11A9@MBX03.exg5.exghost.com> <200911040149.48701.mel.flynn+fbsd.questions@mailing.thruhere.net> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394ED41@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394EDDF@MBX03.exg5.exghost.com> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394EED3@MBX03.exg5.exghost.com> > I think the crash in the malloc is from a malloc in fstat or grep ( there is no malloc in system() ). As a test I changed the 'fstat|wc -l' call we use now to 'ps aux|wc -l'. The problem does not occur all the time but the QA group is seeing it periodically during their test runs. I'm going to let the alternative version got through some days of testing to see if the problem occurs again. If it doesn't, it may very well be something to do with fstat. If it does, well, I guess we have more digging to do... From m.seaman at infracaninophile.co.uk Fri Nov 6 19:59:39 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Nov 6 19:59:46 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <20091106132232.303cf7c3.wmoran@potentialtech.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <4AF4670F.7040103@otenet.gr> <20091106132232.303cf7c3.wmoran@potentialtech.com> Message-ID: <4AF4801E.9050806@infracaninophile.co.uk> Bill Moran wrote: > In response to Manolis Kiagias : > >> Roger wrote: >> >>> My third item is jails. I currently have only one external IP. I would >>> like to setup two jails, one for apache and the other for postfix. >>> Would that require more external IPs? If I wanted to have ssh access >>> to the host and the jails that would definitely will require 3 >>> external IPs right? > > You can do some funky address aliasing with (for example) pf or ipfw, but > it gets rather complex. > > So, the answer is, "No, you don't need multiple IPs, but the setup gets > rather complicated if you don't have multiple IPs. As a result, most > people who do this will have multiple IPs." > Oh, it's not so complex as all that[*]. You will need at least an IP per jail *but* these don't have to be on the external, world visible network interface. You can create aliases on the loopback interface for this purpose. The downside is that you have to use pf to redirect traffic into the jail from the outside interface based on some unique combination of IP number and network port, which means that you can't have eg. sshd(8) in the host system and in the jail both listening on the external port 22. You either have to hop through the host system or you have to redirect traffic to some other some other ports (eg 2201 for the first jail, 2202 for the second) into the jailed sshd's. I sketched out how to do this sort of thing in a post a year or so back: http://lists.freebsd.org/pipermail/freebsd-questions/2008-March/171748.html it should be fairly easy to generalise that to multiple jails. Cheers, Matthew [*] Well, alright, yes, it is quite an advanced topic and probably not something you should be trying before you've got a bit more FreeBSD experience under your belt. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091106/e11f346d/signature.pgp From lists at rhavenn.net Fri Nov 6 22:00:24 2009 From: lists at rhavenn.net (Henrik Hudson) Date: Fri Nov 6 22:00:31 2009 Subject: Rebuild instructions for amd64 systems In-Reply-To: <0A7ECB22-0CF9-44CF-BD37-7ED072F65FB1@bmihosting.com> References: <4AEA62E6.1080506@gehlbach.com> <0A7ECB22-0CF9-44CF-BD37-7ED072F65FB1@bmihosting.com> Message-ID: <20091106220022.GA7209@alucard.int.rhavenn.net> On Thu, 29 Oct 2009, Matt Szubrycht wrote: > Hi Richard, > > then, add the following line below all other 'options' lines: > options PAE # large memory (>4G) support Yeah, don't use this if running an amd64 install. This is only meant for x86 systems. Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From lists at rhavenn.net Fri Nov 6 22:05:04 2009 From: lists at rhavenn.net (Henrik Hudson) Date: Fri Nov 6 22:05:11 2009 Subject: Xfce4 on 8.0 RC2 In-Reply-To: <20091104111642.GB15739@borusse.borussiapark> References: <20091104111642.GB15739@borusse.borussiapark> Message-ID: <20091106220502.GB7209@alucard.int.rhavenn.net> On Wed, 04 Nov 2009, Alex Huth wrote: > Hi! > > Is anyone running this combination? I am having trouble with two points> > > 1. When i close a ssh connection in a terminal, the prompt does not come back. > I have to close the tab. Without X the connections are ok and i had Debian > lenny earlier on the laptop also with Xfce4. There was everything ok. How are you logging out of your ssh sessions? Is this using xterm or the XFCE terminal app? Try it with xterm and see what happens. Personally, try using rxvt-unicode as it allows most of the "mods", just no tabs. > 2. When switching between the desktops i have to wait up to 3 seconds before > it is done, depending on what app there is running. For example: > > Desk1: Terminal with several tabs > Desk2: firefox35 > Desk3: Openoffice3 calc > Desk4: atunes > > Desk1 --> Desk2 ok > Desk2 --> Desk3 ok > Desk1 --> Desk4 3 sec > Desk4 --> Desk1 3 sec > Desk2 --> Desk1 3 sec This sounds like a graphics driver issue and the screen redraw rate? What video card are you using and what X driver? Did you turn on compositing mode? Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From bennett at cs.niu.edu Sat Nov 7 00:48:34 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Sat Nov 7 00:48:43 2009 Subject: freebsd-questions Digest, Vol 282, Issue 13 Message-ID: <200911070048.nA70mVk4023595@mp.cs.niu.edu> On Thu, 29 Oct 2009 09:57:12 +0100 Beat Gaetzi wrote: >Scott Bennett wrote: >> For the first time so far, I managed to get emulators/virtualbox to >> compile and install from ports a few hours ago. Following the pkg-messages, >> I attempted to "kldload vboxdrv" or whatever it was called, which resulted >> in an immediate crash and automatic system reboot. :-( > >This is a known problem and documented on the wiki page: >http://wiki.freebsd.org/VirtualBox Okay. I have often had this problem with other loadable kernel modules, too, so I wasn't particularly surprised. > >> However, I had already added >> >> vboxdrv_load="YES" >> vboxnetflt_load="YES" >> >> to /boot/loader.conf and so was expecting it to fail, but it didn't. I even >> started up VirtualBox and looked at a couple of things, then looked around >> in it for a few minutes. Aside from the fact that the help subsystem was >> MIA, I didn't notice anything untoward. >> Except for the recurring console messages, which began during system >> startup and have continued ever since. Here's what a few of them look >> like. >> >> Oct 28 17:00:00 hellas newsyslog[1939]: logfile turned over due to size>100K >> Oct 28 17:02:03 hellas kernel: VBoxDrvFreeBSDClone: pszName=pts ppDev=0xe84bea14 >> Oct 28 17:02:36 hellas kernel: VBoxDrvFreeBSDClone: pszName=input ppDev=0xe84e2948 >> Oct 28 17:02:36 hellas kernel: VBoxDrvFreeBSDClone: pszName=dsp ppDev=0xe84e2948 > >Do you have build VirtualBox with debug option? > I apologize for the delay in getting back to you on this. When I saw your question, I didn't recall whether I had selected the debug option or not, and it was several days before I had time to rebuild it and several more until I rebooted the system. It turned out that I had indeed selected the debug option, so I cancelled it on the rebuild. After rebooting, the messages were no longer present, even during and after running VirtualBox briefly. It's kind of a nuisance that the GUI's help stuff doesn't work. I'll dig around on-line to see what sort of documentation may be available. I haven't used VirtualBox before, so I need something to read to learn how to work with it. Thanks much for pointing to the debug option as the likely cause of the messages. It's good to have them gone. :-) Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From bsdsys_x86 at comcast.net Sat Nov 7 14:41:03 2009 From: bsdsys_x86 at comcast.net (Bryan Cassidy) Date: Sat Nov 7 14:41:09 2009 Subject: Remote Desktop for Fedora 11 on External Hard Drive Message-ID: <20091107182734.GA22936@.hsd1.tn.comcast.net.> I am currently using FreebSD 7.2 and I have just installed and configured Fedora 11 on an external hard drive so I can do some printing and other things. I was wondering how can I get full access to the Desktop (GUI) on FreeBSD for Fedora 11 on my external hard drive? Any ideas? From theultramage at gmail.com Sat Nov 7 14:30:24 2009 From: theultramage at gmail.com (umage) Date: Sat Nov 7 15:16:20 2009 Subject: networking won't come back up until reboot after ISP outage Message-ID: <4AF57EB4.3070104@gmail.com> Hello. I have had 3 network outages this week, and everytime it happened, I found that my freebsd8rc1 machine/router was unable to communicate over the WAN interface even after the outages ended. A reboot helps, but that's not an acceptable solution. The symptoms are very weird: even though dhclient successfully receives a dhcp lease and sets up the interface, I am unable to ping the gateway. The ifconfig utility says the interface is up and configured correctly; netstat -arn says routes are set up as they should be; and tcpdump reports random network traffic arriving on the interface (so the network itself is up and running). Taking the interface down and back up doesn't help, reloading ipfw rules doesn't help. I have some more things to test - whether tcpdump reports any attempts at outgoing traffic, and whether disconnecting/reconnecting the network cable will do anything. And maybe reverting ipfw rules to what I've been using before. Other than this, I have no idea what else to do... From frank at shute.org.uk Sat Nov 7 15:41:18 2009 From: frank at shute.org.uk (Frank Shute) Date: Sat Nov 7 15:41:25 2009 Subject: install.cfg scripting issue In-Reply-To: <20091106193137.GA73071@eggman.experts-exchange.com> References: <20091106193137.GA73071@eggman.experts-exchange.com> Message-ID: <20091107145223.GA91904@orange.esperance-linux.co.uk> On Fri, Nov 06, 2009 at 11:31:39AM -0800, Jason wrote: > > Hi, > > I am having a heck of a time getting an automated installation to get a > couple of commands done, and was wondering if anyone would be able to offer > any assistance. > > Everything works, but post does not. I know we will more than likely move to > a post pkg for configuration, but due to the time-frame to deliver, what > follows below will suit needs just fine. > > command='echo sshd_enable="YES" >> /etc/rc.conf.local' > system > command=cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime > system > command=/sbin/reboot > system > > I've tried the first command, and it fails, with a "command not found," and > I have yet to get past those command to the last commands. I have been using > single ticks, and double-quotes, but nothing is seeming to work. In > addition to this, I have also escaped the quotes. > > Any help is much appreciated. > > Thanks, > Jason I'm not familiar with install.cfg but have you tried using the full path for your command? E.g: command='/bin/echo sshd_enable=\"YES\" >> /etc/rc.conf.local' Ditto with your other commands. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From pstreem at gmail.com Sat Nov 7 15:56:24 2009 From: pstreem at gmail.com (PstreeM China) Date: Sat Nov 7 15:56:32 2009 Subject: about Intel 3945 wlan card in Freebsd 8-CURRENT Message-ID: <2c66535d0911070756y2a95c16ds9ad3527c8e498f5d@mail.gmail.com> hi , everyone : some time ago , i use Freebsd7.2 and the wpi driver for my Inter 3945 wlan card .. after that , i upgrade to FreeBSD8-current ,but i find that my wlan is not work . i want to know that is a bug or the driver is not wall on 8-current ??? anyone can tell me ?? thank ! the /boot/loader.conf ; #### legal.intel_wpi.license_ack=1 if_wpi_load="YES" wlan_load="YES" wlan_amrr_load="YES" firmware_load="YES" wpifw_load="YES" #### and after the command #/etc/rc.d/netif restart ### bsd# /etc/rc.d/netif restart wpa_supplicant not running? (check /var/run/wpa_supplicant/wpi0.pid). Stopping Network: lo0 wpi0 bge0 plip0. lo0: flags=8048 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 wpi0: flags=8802 metric 0 mtu 2290 ether 00:18:de:bc:31:7b media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier bge0: flags=8802 metric 0 mtu 1500 options=9b ether 00:17:a4:d2:67:b6 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810 metric 0 mtu 1500 Starting wpa_supplicant. ioctl[SIOCG80211, op 98, len 32]: Invalid argument ELOOP: remaining socket: sock=5 eloop_data=0x28407140 user_data=0x2840e040 handler=0x8069f40 /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Starting Network: lo0 wpi0 bge0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 wpi0: flags=8802 metric 0 mtu 2290 ether 00:18:de:bc:31:7b media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:17:a4:d2:67:b6 media: Ethernet autoselect (none) status: no carrier ###### From rnodal at gmail.com Sat Nov 7 16:40:02 2009 From: rnodal at gmail.com (Roger) Date: Sat Nov 7 16:41:41 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Message-ID: <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> Hello all, I have another concept that I'm confused about, the source distribution. Some ports, like "lsof" require the existence of /usr/src. What I don't understand is which version to use to keep synchronized with the production release. When the installed was performed the release was 7.2 but after doing "freebsd-update" the release is now 7.2-p4. According to the documentation, I can track CURRENT, STABLE plus other. Which one is the recommended one for a production server. I have not build that many packages that need the sources present so now would be a good time to find out which one I should use. Thank you for your time and patience, -r From amvandemore at gmail.com Sat Nov 7 16:57:55 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Sat Nov 7 16:58:03 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> Message-ID: <6201873e0911070857j231331a3n1b9c6fdc53e08bcd@mail.gmail.com> On Sat, Nov 7, 2009 at 10:39 AM, Roger wrote: > Hello all, > > I have another concept that I'm confused about, the source distribution. > Some ports, like "lsof" require the existence of /usr/src. > What I don't understand is which version to use to keep synchronized > with the production release. > When the installed was performed the release was 7.2 but after doing > "freebsd-update" the release is now > 7.2-p4. According to the documentation, I can track CURRENT, STABLE plus > other. > Which one is the recommended one for a production server. I have not > build that many > packages that need the sources present so now would be a good time to > find out which one > I should use. > > Thank you for your time and patience, > > There are three basic branches, CURRENT STABLE RELEASE You want release. You shouldn't run anything else unless you're willing and able to help with testing, debugging, and development. -- Adam Vande More From vince at unsane.co.uk Sat Nov 7 17:49:38 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Sat Nov 7 17:49:45 2009 Subject: about Intel 3945 wlan card in Freebsd 8-CURRENT In-Reply-To: <2c66535d0911070756y2a95c16ds9ad3527c8e498f5d@mail.gmail.com> References: <2c66535d0911070756y2a95c16ds9ad3527c8e498f5d@mail.gmail.com> Message-ID: <4AF5B32F.6030106@unsane.co.uk> PstreeM China wrote: > hi , everyone : > > some time ago , i use Freebsd7.2 and the wpi driver for my Inter 3945 > wlan card .. > after that , i upgrade to FreeBSD8-current ,but i find that my wlan is > not work . > > i want to know that is a bug or the driver is not wall on 8-current ??? > anyone can tell me ?? thank ! > 8.x and later uses a different format for the wireless interfaces. See the entry dated 20080420 in /usr/src/UPDATING Vince > the /boot/loader.conf ; > #### > legal.intel_wpi.license_ack=1 > if_wpi_load="YES" > wlan_load="YES" > wlan_amrr_load="YES" > firmware_load="YES" > wpifw_load="YES" > #### > and after the command #/etc/rc.d/netif restart > ### > bsd# /etc/rc.d/netif restart > wpa_supplicant not running? (check /var/run/wpa_supplicant/wpi0.pid). > Stopping Network: lo0 wpi0 bge0 plip0. > lo0: flags=8048 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > wpi0: flags=8802 metric 0 mtu 2290 > ether 00:18:de:bc:31:7b > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:17:a4:d2:67:b6 > media: Ethernet autoselect (none) > status: no carrier > plip0: flags=8810 metric 0 mtu 1500 > Starting wpa_supplicant. > ioctl[SIOCG80211, op 98, len 32]: Invalid argument > ELOOP: remaining socket: sock=5 eloop_data=0x28407140 user_data=0x2840e040 > handler=0x8069f40 > /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant > Starting Network: lo0 wpi0 bge0. > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > wpi0: flags=8802 metric 0 mtu 2290 > ether 00:18:de:bc:31:7b > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > bge0: flags=8843 metric 0 mtu 1500 > options=9b > ether 00:17:a4:d2:67:b6 > media: Ethernet autoselect (none) > status: no carrier > ###### > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From nightrecon at hotmail.com Sat Nov 7 17:59:47 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Nov 7 17:59:55 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> Message-ID: Roger wrote: > Hello all, > > I have another concept that I'm confused about, the source distribution. > Some ports, like "lsof" require the existence of /usr/src. > What I don't understand is which version to use to keep synchronized > with the production release. > When the installed was performed the release was 7.2 but after doing > "freebsd-update" the release is now > 7.2-p4. A RELEASE such as 7.2 has a maintenance period during which the security team will apply security patches to the OS. Only the patches are applied, the rest of the bulk of /usr/src is untouched. This is what the -p4 means. The security support period for different releases can be located on the web site. Some releases are designated "extended support", while others have shorter time frames. > According to the documentation, I can track CURRENT, STABLE plus > other. Which one is the recommended one for a production server. I have > not build that many > packages that need the sources present so now would be a good time to > find out which one > I should use. > I don't use the binary freebsd-update myself, but still use the old csup the source in /usr/src and the make buildworld/buildkernel/install dance. So I tend to think in terms of CVS tags. The tag RELENG_7_2_0_RELEASE would fetch the original release bits that never change. The tag RELENG_7_2 would fetch the /usr/src that has the security patches applied. The -p4 you observed means that freebsd-update used binaries built with security patches applied. If there exists any question as to whether your /usr/src is in sync you can simply csup your source with the RELENG_7_2 tag in the supfile. There is also another way to patch, and that is to apply patches manually. Let's say, for example, the built in bind had a file or two that got patched. You could rebuild just this one thing and after installing the bits simply restart the daemon. Sometimes this is preferred when one needs to prevent a security hole but doesn't want to reboot a server. A downside is when you do this it does not register the "-p4" like you noticed. For a production server I feel it is best to use production release. IMHO there is one possible cause to consider STABLE for a production server and that is if there is new code "Merged From Current" that addresses and corrects a very specific problem. Let's say you have a particular NIC in your server that is exhibiting an exact same (and reproducible) condition as described in a bug report. If code which fixes this exact problem becomes available it will be written in CURRENT, and after some testing if deemed to be of sufficient quality it will be merged back to STABLE. Upgrading to STABLE will then pull in this fix. IMHO I wouldn't normally consider this unless there is an exact match between problem and fix. -Mike From jhelfman at e-e.com Sat Nov 7 18:07:12 2009 From: jhelfman at e-e.com (Jason) Date: Sat Nov 7 18:07:19 2009 Subject: networking won't come back up until reboot after ISP outage In-Reply-To: <4AF57EB4.3070104@gmail.com> References: <4AF57EB4.3070104@gmail.com> Message-ID: <20091107180710.GA1056@jason-helfmans-macbook-pro.local> Have you tried restarting routing? /etc/rc.d/routing restart I have found the same symptoms with other outages and not performing the above. I have done "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart". Wtih using these commands, I have found this to be successful in restoring network interfaces communication, without having to reboot. Hope this helps. On Sat, Nov 07, 2009 at 03:05:40PM +0100, umage thus spake: >Hello. I have had 3 network outages this week, and everytime it >happened, I found that my freebsd8rc1 machine/router was unable to >communicate over the WAN interface even after the outages ended. A >reboot helps, but that's not an acceptable solution. > >The symptoms are very weird: even though dhclient successfully >receives a dhcp lease and sets up the interface, I am unable to ping >the gateway. The ifconfig utility says the interface is up and >configured correctly; netstat -arn says routes are set up as they >should be; and tcpdump reports random network traffic arriving on the >interface (so the network itself is up and running). Taking the >interface down and back up doesn't help, reloading ipfw rules doesn't >help. > >I have some more things to test - whether tcpdump reports any >attempts at outgoing traffic, and whether disconnecting/reconnecting >the network cable will do anything. And maybe reverting ipfw rules to >what I've been using before. Other than this, I have no idea what >else to do... >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From theultramage at gmail.com Sat Nov 7 18:24:03 2009 From: theultramage at gmail.com (umage) Date: Sat Nov 7 18:24:09 2009 Subject: networking won't come back up until reboot after ISP outage In-Reply-To: <20091107180710.GA1056@jason-helfmans-macbook-pro.local> References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> Message-ID: <4AF5BB31.5090304@gmail.com> On 7. 11. 2009 19:07, Jason wrote: > Have you tried restarting routing? > > /etc/rc.d/routing restart > > I have found the same symptoms with other outages and not performing the > above. > > I have done "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart". > > Wtih using these commands, I have found this to be successful in > restoring > network interfaces communication, without having to reboot. > > Hope this helps. > > > On Sat, Nov 07, 2009 at 03:05:40PM +0100, umage thus spake: >> Hello. I have had 3 network outages this week, and everytime it >> happened, I found that my freebsd8rc1 machine/router was unable to >> communicate over the WAN interface even after the outages ended. A >> reboot helps, but that's not an acceptable solution. >> >> The symptoms are very weird: even though dhclient successfully >> receives a dhcp lease and sets up the interface, I am unable to ping >> the gateway. The ifconfig utility says the interface is up and >> configured correctly; netstat -arn says routes are set up as they >> should be; and tcpdump reports random network traffic arriving on the >> interface (so the network itself is up and running). Taking the >> interface down and back up doesn't help, reloading ipfw rules doesn't >> help. >> >> I have some more things to test - whether tcpdump reports any >> attempts at outgoing traffic, and whether disconnecting/reconnecting >> the network cable will do anything. And maybe reverting ipfw rules to >> what I've been using before. Other than this, I have no idea what >> else to do... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> Thank you for the hint, I will try it when this happens again. Note: the output of netstat -r was identical to what it is currently... FYI: I've been using freebsd 6.2 -> 7.2 until now, and I never had to intervene - the system resumed networking as usual. It might have something to do with migrating to 8rc1 (most likely not), or that I'm now using DHCP and there's a glitch somewhere (maybe). From nightrecon at hotmail.com Sat Nov 7 18:49:01 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sat Nov 7 18:49:08 2009 Subject: networking won't come back up until reboot after ISP outage References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> Message-ID: umage wrote: > On 7. 11. 2009 19:07, Jason wrote: >> Have you tried restarting routing? >> >> /etc/rc.d/routing restart >> >> I have found the same symptoms with other outages and not performing the >> above. >> >> I have done "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart". >> [snip] >>> > Thank you for the hint, I will try it when this happens again. > Note: the output of netstat -r was identical to what it is currently... > FYI: I've been using freebsd 6.2 -> 7.2 until now, and I never had to > intervene - the system resumed networking as usual. It might have > something to do with migrating to 8rc1 (most likely not), or that I'm > now using DHCP and there's a glitch somewhere (maybe). My configuration is most likely different from yours in that my DSL modem- router is configured for split-bridge. This allows the DSL modem to handle the PPPoE connection and login but passes the WAN IP to my FreeBSD gateway box via DHCP. So the NIC on my gateway is getting it's lease from the DSL modem instead of directly from Verizon. Your DHCP lease is probably coming directly from the ISP I would presume. When the connection goes down and comes back up it will take 5 minutes before my FreeBSD gateway box checks the lease and decides if a renewal is in order. This is automatic. If I am sitting in front of my computer and I want to speed this up I issue /etc/rc.d/netif restart on the gateway and it will come up and be happy in about 10 seconds, rather than waiting out the 5 minute time out. -Mike From jabidan at gmail.com Sat Nov 7 18:51:59 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Sat Nov 7 18:52:07 2009 Subject: Hi! a question about log in dmesg Message-ID: Hi, there, i am a pretty good user in linux and i don't know i am getting some strange info in my dmesg file: at_matroute: v=(16)100000ff007f000000000000000000 at_matroute: head=0xc42c1700 at_matroute: returnr rn=0xc45b126c at_matroute: v=(16)100000ff007f000000000000000000 at_matroute: head=0xc42c1700 at_matroute: returnr rn=0xc45b126c at_matroute: v=(16)100000ff007f000000000000000000 at_matroute: head=0xc42c1700 at_matroute: returnr rn=0xc45b126c at_matroute: v=(16)100000ff007f000000000000000000 at_matroute: head=0xc42c1700 at_matroute: returnr rn=0xc45b126c at_addroute: v=(16)100000fffe00000000000000000000 at_addroute: n=(16)100000ffff00000000000000000000 at_addroute: head=0xc42c1700 treenodes=0xc45b12e8 at_addroute: returns rn=0xc45b12e8 at_addroute: v=(16)100000ff007f000000000000000000 at_addroute: n=null at_addroute: head=0xc42c1700 treenodes=0xc45b126c at_addroute: returns rn=0xc45b126c at_delroute: v=(16)100000ff0000000000000000000000 at_delroute: n=(16)100000ff8000000000000000000000 at_delroute: head=0xc42c1700 at_delroute: returns rn=0xc45b2e88 at_delroute: v=(16)100000ff8000000000000000000000 at_delroute: n=(16)100000ffc000000000000000000000 at_delroute: head=0xc42c1700 at_delroute: returns rn=0xc45b2e0c and calcru: runtime went backwards from 229 usec to 114 usec for pid 690 (devd) calcru: runtime went backwards from 551 usec to 468 usec for pid 376 (dhclient) calcru: runtime went backwards from 1999 usec to 999 usec for pid 360 (dhclient) calcru: runtime went backwards from 39486 usec to 19742 usec for pid 360 (dhclient) calcru: runtime went backwards from 668 usec to 334 usec for pid 146 (adjkerntz) calcru: runtime went backwards from 57078 usec to 47420 usec for pid 51 (sh) calcru: runtime went backwards from 1964549 usec to 1411651 usec for pid 51 (sh) i know there is an issue about acpi and intel chipset or something like that but i have no results about changing things in bios. I have desactivate udma and no results. the firs message about at_matroute and delroute issues i have no idea. Anyone has a clue??? greetings to everyone out there! From frank at shute.org.uk Sat Nov 7 20:20:59 2009 From: frank at shute.org.uk (Frank Shute) Date: Sat Nov 7 20:21:12 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> Message-ID: <20091107202052.GA92497@orange.esperance-linux.co.uk> On Sat, Nov 07, 2009 at 11:39:41AM -0500, Roger wrote: > > Hello all, > > I have another concept that I'm confused about, the source distribution. > Some ports, like "lsof" require the existence of /usr/src. > What I don't understand is which version to use to keep synchronized > with the production release. > When the installed was performed the release was 7.2 but after doing > "freebsd-update" the release is now > 7.2-p4. According to the documentation, I can track CURRENT, STABLE plus other. > Which one is the recommended one for a production server. I have not > build that many > packages that need the sources present so now would be a good time to > find out which one > I should use. > > Thank you for your time and patience, > > -r You mentioned lsof but there is a utility in base which you probably don't know about called fstat(1), which does a lot of what lsof does. IIRC, the sources for 7.2 should be on the CD (run sysinstall(8) after sticking the CD in). That will save you from downloading all the sources. Then update the sources with csup(1) using the correct tag: RELENG_7_2 There's a supfile, /usr/share/examples/cvsup/standard-supfile, which you can change the default host and cvs tag of and it should work. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html goes into the details. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From tajudd at gmail.com Sat Nov 7 21:37:00 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat Nov 7 21:37:07 2009 Subject: Hi! a question about log in dmesg In-Reply-To: References: Message-ID: On 11/7/09, Jes?s Abidan wrote: > Hi, there, i am a pretty good user in linux and i don't know i am getting > some strange info in my dmesg file: > > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_addroute: v=(16)100000fffe00000000000000000000 > at_addroute: n=(16)100000ffff00000000000000000000 > at_addroute: head=0xc42c1700 treenodes=0xc45b12e8 > at_addroute: returns rn=0xc45b12e8 > at_addroute: v=(16)100000ff007f000000000000000000 > at_addroute: n=null > at_addroute: head=0xc42c1700 treenodes=0xc45b126c > at_addroute: returns rn=0xc45b126c > at_delroute: v=(16)100000ff0000000000000000000000 > at_delroute: n=(16)100000ff8000000000000000000000 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e88 > at_delroute: v=(16)100000ff8000000000000000000000 > at_delroute: n=(16)100000ffc000000000000000000000 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e0c What is your /boot/loader.conf Do you boot with any options? (such as verbose boot, as an example) > > > and > > calcru: runtime went backwards from 229 usec to 114 usec for pid 690 (devd) > calcru: runtime went backwards from 551 usec to 468 usec for pid 376 > (dhclient) > calcru: runtime went backwards from 1999 usec to 999 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 39486 usec to 19742 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 668 usec to 334 usec for pid 146 > (adjkerntz) > calcru: runtime went backwards from 57078 usec to 47420 usec for pid 51 (sh) > calcru: runtime went backwards from 1964549 usec to 1411651 usec for pid 51 > (sh) Symtoms like this would indicate you're running this in a virtual machine. The virtual machine's hardware clock and BSD is unable to detect, or USE that clock. So the kern.hz set at 1000 by default is screwing up the virtual machine's "hardware" clock. > > > i know there is an issue about acpi and intel chipset or something like that > but i have no results about changing things in bios. I have desactivate udma > and no results. the firs message about at_matroute and delroute issues i > have no idea. > > Anyone has a clue??? > > greetings to everyone out there! From david.chanters at googlemail.com Sat Nov 7 22:05:27 2009 From: david.chanters at googlemail.com (David Chanters) Date: Sat Nov 7 22:05:34 2009 Subject: Migrating from Linux (keeping partitions at install time) Message-ID: Hi all, I am considering switching from Debian Linux to FreeBSD. I am wondering if at install time, sysinstall is able to allow me to keep "/home" from my Debian installation. "/home" on Debian is currently a separate partition in its own right, mounted as RXT3. I only have the one hard disk in my machine. So, questions: 1. Can the installer be told to not touch "/home" at install time (I appreciate I would have to ensure I mapped the current /dev/hda2 terminology to slices in BSD parlance) 2. Does the fact that this is an EXT3 partition matter? (I have read FreeBSD supports ext2, and ext3 is just ext2 with a journal, so it can be mounted as ext2 if needed). 3. Is it possible/beneficial to convert this to UFS once FreeBSD is installed? Thanks in advance for any help. David From ertr1013 at student.uu.se Sat Nov 7 22:07:38 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sat Nov 7 22:07:46 2009 Subject: Hi! a question about log in dmesg In-Reply-To: References: Message-ID: <20091107220728.GA94383@owl.midgard.homeip.net> On Sat, Nov 07, 2009 at 12:27:26PM -0600, Jes?s Abidan wrote: > Hi, there, i am a pretty good user in linux and i don't know i am getting > some strange info in my dmesg file: > > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_matroute: v=(16)100000ff007f000000000000000000 > at_matroute: head=0xc42c1700 > at_matroute: returnr rn=0xc45b126c > at_addroute: v=(16)100000fffe00000000000000000000 > at_addroute: n=(16)100000ffff00000000000000000000 > at_addroute: head=0xc42c1700 treenodes=0xc45b12e8 > at_addroute: returns rn=0xc45b12e8 > at_addroute: v=(16)100000ff007f000000000000000000 > at_addroute: n=null > at_addroute: head=0xc42c1700 treenodes=0xc45b126c > at_addroute: returns rn=0xc45b126c > at_delroute: v=(16)100000ff0000000000000000000000 > at_delroute: n=(16)100000ff8000000000000000000000 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e88 > at_delroute: v=(16)100000ff8000000000000000000000 > at_delroute: n=(16)100000ffc000000000000000000000 > at_delroute: head=0xc42c1700 > at_delroute: returns rn=0xc45b2e0c The above is (far too verbose) information about Appletalk routing. You presumably have the sysutils/netatalk port installed and activated. > > > and > > calcru: runtime went backwards from 229 usec to 114 usec for pid 690 (devd) > calcru: runtime went backwards from 551 usec to 468 usec for pid 376 > (dhclient) > calcru: runtime went backwards from 1999 usec to 999 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 39486 usec to 19742 usec for pid 360 > (dhclient) > calcru: runtime went backwards from 668 usec to 334 usec for pid 146 > (adjkerntz) > calcru: runtime went backwards from 57078 usec to 47420 usec for pid 51 (sh) > calcru: runtime went backwards from 1964549 usec to 1411651 usec for pid 51 > (sh) > > > i know there is an issue about acpi and intel chipset or something like that > but i have no results about changing things in bios. I have desactivate udma > and no results. the firs message about at_matroute and delroute issues i > have no idea. > > Anyone has a clue??? > > greetings to everyone out there! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se From jerrymc at msu.edu Sat Nov 7 22:37:59 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sat Nov 7 22:38:13 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: References: Message-ID: <20091107223558.GB61756@gizmo.acns.msu.edu> On Sat, Nov 07, 2009 at 09:34:48PM +0000, David Chanters wrote: > Hi all, > > I am considering switching from Debian Linux to FreeBSD. I am > wondering if at install time, sysinstall is able to allow me to keep > "/home" from my Debian installation. "/home" on Debian is currently a > separate partition in its own right, mounted as RXT3. I only have the > one hard disk in my machine. > > So, questions: > > 1. Can the installer be told to not touch "/home" at install time (I > appreciate I would have to ensure I mapped the current /dev/hda2 > terminology to slices in BSD parlance) If you have enough other room to install FreeBSD on the disk and that /dev/hda2 partition is not right in the middle of space you need for installing FreeBSD. eg, as long as it is in some ignorable place/space on the disk. > > 2. Does the fact that this is an EXT3 partition matter? (I have read > FreeBSD supports ext2, and ext3 is just ext2 with a journal, so it can > be mounted as ext2 if needed). I don't know if ext2 vs ext3 matters. It might. I would be inclined to want to make a backup of everthing on that partition and keep it somewhere you can get back to after FreeBSD is installed. Either tar or rsync it all to somewhere. Dump(8) is sensitive to OS, so it is one circumstance in which I do not recommend dump/restore for this type of backup. Now, providing that ext3 thing is not a problem, you can probably leave that filesystem/partition there if you have plenty of other space to install FreeBSD and set things up. Then you would probably want to copy everything from that old /home to a new one in FreeBSD space. You would just mount the old one as something like /oldhome and copy the stuff from it to whereever you have space in FreeBSD - maybe a new /home filesystem. Not so sure I did anything for your most important question - if ext2 s ext3 is a problem, but I hope the rest is helpful. > > 3. Is it possible/beneficial to convert this to UFS once FreeBSD is installed? Yes, absolutely - mount it and copy it to a FreeBSD filesystem if you plan to use it any amount. Good luck, ////jerry > > Thanks in advance for any help. > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From frank at shute.org.uk Sat Nov 7 22:57:51 2009 From: frank at shute.org.uk (Frank Shute) Date: Sat Nov 7 22:58:57 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: References: Message-ID: <20091107225748.GA92805@orange.esperance-linux.co.uk> On Sat, Nov 07, 2009 at 09:34:48PM +0000, David Chanters wrote: > > Hi all, > > I am considering switching from Debian Linux to FreeBSD. I am > wondering if at install time, sysinstall is able to allow me to keep > "/home" from my Debian installation. "/home" on Debian is currently a > separate partition in its own right, mounted as RXT3. I only have the > one hard disk in my machine. > > So, questions: > > 1. Can the installer be told to not touch "/home" at install time (I > appreciate I would have to ensure I mapped the current /dev/hda2 > terminology to slices in BSD parlance) Yes. Your Linux partitions will be shown when you get to fdisk, IIRC. Don't touch them and just create further slices for your FreeBSD installation. I assume you've got space on your disk to create further slices. If not and your Debian installation takes up your whole disk, you'll have to create space within Debian....or buy another disk. > > 2. Does the fact that this is an EXT3 partition matter? (I have read > FreeBSD supports ext2, and ext3 is just ext2 with a journal, so it can > be mounted as ext2 if needed). You can mount your ext3 partition as ext2 from within FreeBSD. Have a look at ext2fs(5). > > 3. Is it possible/beneficial to convert this to UFS once FreeBSD is installed? You can't convert it to UFS without losing your data AFAIK, so your best bet is to mount it somewhere from within FreeBSD and just copy your data over to your FreeBSD /home (/home is symlinked to /usr/home). > > Thanks in advance for any help. > > David Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From frank at shute.org.uk Sat Nov 7 23:07:21 2009 From: frank at shute.org.uk (Frank Shute) Date: Sat Nov 7 23:07:27 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: <20091107223558.GB61756@gizmo.acns.msu.edu> References: <20091107223558.GB61756@gizmo.acns.msu.edu> Message-ID: <20091107230703.GA94028@orange.esperance-linux.co.uk> On Sat, Nov 07, 2009 at 05:35:58PM -0500, Jerry McAllister wrote: > [snip] > > Not so sure I did anything for your most important question - if ext2 s ext3 > is a problem, but I hope the rest is helpful. > No, it's not a problem Jerry. ext3 is basically ext2 + journal, so you can mount it at as ext2 from within FreeBSD (or Linux). The journal sorts itself out when you boot Linux and it mounts the filesystem as ext3. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From freebsd01 at dgmm.net Sat Nov 7 23:18:05 2009 From: freebsd01 at dgmm.net (dgmm) Date: Sat Nov 7 23:18:12 2009 Subject: dvdauthor can't find fribidi headers? In-Reply-To: <200911021413.42663.Fluffy@fluffy.khv.ru> References: <4AEE55EB.4020400@gmail.com> <200911021413.42663.Fluffy@fluffy.khv.ru> Message-ID: <200911072304.52469.freebsd01@dgmm.net> On Monday 02 November 2009, Dima Panov wrote: > On Monday 02 November 2009 13:45:47 Jimmie James wrote: > > > Seems as dvdauthor is broken on 8-rc1...anything I might have done? > > > > > > > > > [steve@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean > > > ===> Building for dvdauthor-0.6.14_4 > > > Making all in doc > > > gmake[1]: Entering directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > > > gmake[1]: Nothing to be done for `all'. > > > gmake[1]: Leaving directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc' > > > Making all in src > > > gmake[1]: Entering directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > gmake all-am > > > gmake[2]: Entering directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > > > -I/usr/local/include/libxml2 -I/usr/local/include > > > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > > > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > > > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > > > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > > > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > > > ".deps/subreader.Tpo"; exit 1; fi > > > subreader.c: In function 'sub_read_line_aqt': > > > subreader.c:661: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c:661: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c: In function 'sub_read_line_subrip09': > > > subreader.c:717: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c: In function 'sub_fribidi': > > > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > > > function) subreader.c:1082: error: (Each undeclared identifier is > > > reported only once subreader.c:1082: error: for each function it > > > appears in.) > > > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > > > function) subreader.c:1102: warning: passing argument 3 of > > > 'fribidi_log2vis' from incompatible pointer type > > > gmake[2]: *** [subreader.o] Error 1 > > > gmake[2]: Leaving directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > gmake[1]: *** [all] Error 2 > > > gmake[1]: Leaving directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > gmake: *** [all-recursive] Error 1 > > > *** Error code 1 > > > > dvdauthor-0.6.14/src' > > > > > gmake all-am > > > gmake[2]: Entering directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/usr/local/etc\"" > > > -I/usr/local/include/libxml2 -I/usr/local/include > > > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2 > > > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include > > > -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP > > > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \ > > > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f > > > ".deps/subreader.Tpo"; exit 1; fi > > > subreader.c: In function 'sub_read_line_aqt': > > > subreader.c:661: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c:661: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c: In function 'sub_read_line_subrip09': > > > subreader.c:717: warning: comparison with string literal results in > > > unspecified behaviour > > > subreader.c: In function 'sub_fribidi': > > > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this > > > function) subreader.c:1082: error: (Each undeclared identifier is > > > reported only once subreader.c:1082: error: for each function it > > > appears in.) > > > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this > > > function) subreader.c:1102: warning: passing argument 3 of > > > 'fribidi_log2vis' from incompatible pointer type > > > gmake[2]: *** [subreader.o] Error 1 > > > gmake[2]: Leaving directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > gmake[1]: *** [all] Error 2 > > > gmake[1]: Leaving directory > > > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src' > > > gmake: *** [all-recursive] Error 1 > > > *** Error code 1 > > > > Hate to pop in with a "me too", but me too. I've reinstalled all of it's > > depends, no joy. I've removed them all, along with dvdauthor and no joy. > > Tried commenting out fribidi from the Makefile, no joy. > > It always try to use fribidi if it installed on the system, but broken with > new fribidi. Based on the above, I just did (as root) : pkg_delete -f fribidi-0.19.2_1 portupgrade dvdauthor portinstall fribidi It worked. Whether dvdauthor might have problems now I don't know, but at least it compiled and installed. -- Dave From rnodal at gmail.com Sun Nov 8 00:37:53 2009 From: rnodal at gmail.com (Roger) Date: Sun Nov 8 00:37:59 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <20091107202052.GA92497@orange.esperance-linux.co.uk> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> <20091107202052.GA92497@orange.esperance-linux.co.uk> Message-ID: <9d972bed0911071637i5c33e38crc64c021a1890e218@mail.gmail.com> On Sat, Nov 7, 2009 at 3:20 PM, Frank Shute wrote: > You mentioned lsof but there is a utility in base which you probably > don't know about called fstat(1), which does a lot of what lsof does. > Thank you for the tip. I will definitely look into it. > IIRC, the sources for 7.2 should be on the CD (run sysinstall(8) after > sticking the CD in). That will save you from downloading all the > sources. > > Then update the sources with csup(1) using the correct tag: RELENG_7_2 > > There's a supfile, /usr/share/examples/cvsup/standard-supfile, which > you can change the default host and cvs tag of and it should work. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > goes into the details. > > > Regards, > > -- > > ?Frank > > ?Contact info: http://www.shute.org.uk/misc/contact.html > > > From bennett at cs.niu.edu Sun Nov 8 01:21:26 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Sun Nov 8 01:21:33 2009 Subject: math/py-numpy vs. math/atlas-devel Message-ID: <200911080121.nA81LKhQ005228@mp.cs.niu.edu> I would like to install science/gnudatalanguage but have been running into various obstacles. Lars Engels very kindly just fixed one of them (devel/lasi) (Thanks, Lars!), so now I'm on to the next one, which may not be a showstopper, but it's at least a nuisance. One of the gnudatalanguage dependencies is math/py-numpy, which, in turn, depends upon math/atlas. However, I have math/atlas-devel installed and do not wish to revert to an older, slower version of the ATLAS library. Adding a "-x atlas-\*" onto the portmaster command to build math/py-numpy fails to prevent portmaster from trying to build math/atlas. Creating a /var/db/pkg/atlas-3.8.3_1,1/+IGNOREME file in addition doesn't help. How can I force math/py-numpy to accept the already installed math/atlas-devel libraries? Thanks in advance for any help! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From kline at thought.org Sun Nov 8 02:40:46 2009 From: kline at thought.org (Gary Kline) Date: Sun Nov 8 02:40:53 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] Message-ID: <20091108024038.GA23704@thought.org> hey guys, my last e-troubles happened a few months ago, or several weeks ago, when my old KVM unit began flaking out. the one computer buddy i have in the seattle area suggested i order a 4-port iogear. i did and he installed it. it was .LT. sixty bux and next-to-worthless given my disability.[*] altho i did type down the conversation between iogear and my friend, i'll spare you. nutshell: they refused to swap and upgrade for something i could more readily use. --i'll post the entire story on my freebsd pages in time. my new/used dell inspiron-530 is here. it is installed to as far as i can install it. trouble is that i see on the dell screen "Keyboard failure" and a message to press F2 to setup. the kvm has the old ps2 plugs and no adaptors to USB. i have the dell kybd here, come to think of it, but i'm waaay the hell beyond achy to get down and muck around and test. what's your best guess, folks? the computer parts stores around here have largely shut down ...but if ordering an adaptor or two will fix things, i'll do it. any thoughts on this? i think i would need at least 547 pain meds to get back down there and plug in the kyboard; i might drowse off gary [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- 0.000000000001s:) to change ports. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From noc at hdk5.net Sun Nov 8 03:17:24 2009 From: noc at hdk5.net (Al Plant) Date: Sun Nov 8 03:17:31 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108024038.GA23704@thought.org> References: <20091108024038.GA23704@thought.org> Message-ID: <4AF63843.1000403@hdk5.net> Gary Kline wrote: > hey guys, > > my last e-troubles happened a few months ago, or several weeks > ago, when my old KVM unit began flaking out. the one computer > buddy i have in the seattle area suggested i order a 4-port > iogear. i did and he installed it. it was .LT. sixty bux > and next-to-worthless given my disability.[*] altho i did type > down the conversation between iogear and my friend, i'll spare > you. nutshell: they refused to swap and upgrade for something > i could more readily use. --i'll post the entire story on my > freebsd pages in time. > > my new/used dell inspiron-530 is here. it is installed to as far > as i can install it. trouble is that i see on the dell screen > > "Keyboard failure" > > and a message to press F2 to setup. the kvm has the old ps2 > plugs and no adaptors to USB. i have the dell kybd here, come > to think of it, but i'm waaay the hell beyond achy to get down > and muck around and test. > > what's your best guess, folks? the computer parts stores > around here have largely shut down ...but if ordering an > adaptor or two will fix things, i'll do it. > > any thoughts on this? i think i would need at least 547 pain > meds to get back down there and plug in the kyboard; i might > drowse off > > gary > > > [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- 0.000000000001s:) > to change ports. > Aloha Gary, Radio Shack has a converter from PS2 to usb for stuff like that. I bought a kit of converters from Home Depot her in Honolulu for the same purpose. The KVM switch I have in the server room is PS2 but has little switches on the front that change the mouse , monitor and keyboard with a light pressure. Even a pencil with an eraser on it could be used to change from one of any of eight ports. Send me a picture of the setup you have and I'll see if I can figure out a way to work it for you. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From randi at freebsd.org Sun Nov 8 03:19:53 2009 From: randi at freebsd.org (Randi Harper) Date: Sun Nov 8 03:20:03 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Message-ID: On Fri, Nov 6, 2009 at 9:31 AM, Roger wrote: > > My second concerned is the ports. In the file "ports-supfile" there is > one option, "*default release=cvs tag=.". > I believe this specifies which cvs tag to use when pulling files from > the ports. At one point I had "*default release=cvs > tag=RELEASE_7_2_0". > When I pulled the ports using the "RELEASE_7_2_0" tag and tried to > build "portsupgrade" the installation failed because the ruby version > that was going to be installed I believe had a security problem. (I > love the fact that I was stopped from installing software that is > KNOWN to be vulnerable). > I figured that maybe I needed to get the latest version. So I went > ahead and changed the cvs tag to "." (which I believe means the head > version). > Don't bother with any of that. Just use portsnap. It's also part of base, and was written by the same person that wrote freebsd-update. It's lovely and much faster, although some people may argue with me on that. I updated the ports and then tried the installation again, this time > the installation went further but failed again due to the fact that > my libtool (I can't remember the exact name) was older than what the > installation required. So that threw me off. > I believe that libtool is part of the base system and not the ports, > correct? > So that made me think that maybe because of using the latest version > of the ports I can build certain ports if my base is not > concurrent (in terms of what the ports requires and what my system > offers) with the port system. > So my question is this, if my FreeBSD release is 7.2-RELEASE-p4 which > tag should I set for the ports system? > Should I put the tag "RELEASE_7_2_0" and then wait for a security fix > of the particular port (ruby) and then proceed to install? > What is the recommended approach if your aim is to have your system up > to date and stable? > For your system, use freebsd-update. For your ports tree, use portsnap. For installed ports, use portupgrade or portmanager. I'm more fond of portmanager, but it seems portupgrade has many more users. Both portupgrade and portmanager are available in the ports tree, not base. -- randi From amvandemore at gmail.com Sun Nov 8 03:42:35 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Sun Nov 8 03:42:43 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108024038.GA23704@thought.org> References: <20091108024038.GA23704@thought.org> Message-ID: <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> On Sat, Nov 7, 2009 at 8:40 PM, Gary Kline wrote: > hey guys, > > my last e-troubles happened a few months ago, or several weeks > ago, when my old KVM unit began flaking out. the one computer > buddy i have in the seattle area suggested i order a 4-port > iogear. i did and he installed it. it was .LT. sixty bux > and next-to-worthless given my disability.[*] altho i did type > down the conversation between iogear and my friend, i'll spare > you. nutshell: they refused to swap and upgrade for something > i could more readily use. --i'll post the entire story on my > freebsd pages in time. > > my new/used dell inspiron-530 is here. it is installed to as far > as i can install it. trouble is that i see on the dell screen > > "Keyboard failure" > > and a message to press F2 to setup. the kvm has the old ps2 > plugs and no adaptors to USB. i have the dell kybd here, come > to think of it, but i'm waaay the hell beyond achy to get down > and muck around and test. > > what's your best guess, folks? the computer parts stores > around here have largely shut down ...but if ordering an > adaptor or two will fix things, i'll do it. > > any thoughts on this? i think i would need at least 547 pain > meds to get back down there and plug in the kyboard; i might > drowse off > > gary > > > [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- > 0.000000000001s:) > to change ports. > > PS/2 keyboards are still plentiful and cheap... http://www.newegg.com/Product/Product.aspx?Item=N82E16823201029 I've had varied luck with adapters and since they're about the same price just as easy to keep a ps/2 around. -- Adam Vande More From masoom.shaikh at gmail.com Sun Nov 8 04:40:29 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Sun Nov 8 04:40:37 2009 Subject: KDE4 + FreeBSD-8.0-RC2, no anti aliasing Message-ID: here is my ~/.fonts.conf rgb true hintfull true fonts look good, just little blurry From kline at thought.org Sun Nov 8 06:15:05 2009 From: kline at thought.org (Gary Kline) Date: Sun Nov 8 06:15:12 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> References: <20091108024038.GA23704@thought.org> <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> Message-ID: <20091108061459.GE23851@thought.org> On Sat, Nov 07, 2009 at 09:42:34PM -0600, Adam Vande More wrote: > On Sat, Nov 7, 2009 at 8:40 PM, Gary Kline wrote: > > > hey guys, > > > > my last e-troubles happened a few months ago, or several weeks > > ago, when my old KVM unit began flaking out. the one computer > > buddy i have in the seattle area suggested i order a 4-port > > iogear. i did and he installed it. it was .LT. sixty bux > > and next-to-worthless given my disability.[*] altho i did type > > down the conversation between iogear and my friend, i'll spare > > you. nutshell: they refused to swap and upgrade for something > > i could more readily use. --i'll post the entire story on my > > freebsd pages in time. > > > > my new/used dell inspiron-530 is here. it is installed to as far > > as i can install it. trouble is that i see on the dell screen > > > > "Keyboard failure" > > > > and a message to press F2 to setup. the kvm has the old ps2 > > plugs and no adaptors to USB. i have the dell kybd here, come > > to think of it, but i'm waaay the hell beyond achy to get down > > and muck around and test. > > > > what's your best guess, folks? the computer parts stores > > around here have largely shut down ...but if ordering an > > adaptor or two will fix things, i'll do it. > > > > any thoughts on this? i think i would need at least 547 pain > > meds to get back down there and plug in the kyboard; i might > > drowse off > > > > gary > > > > > > [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- > > 0.000000000001s:) > > to change ports. > > > > > PS/2 keyboards are still plentiful and cheap... > > http://www.newegg.com/Product/Product.aspx?Item=N82E16823201029 > > I've had varied luck with adapters and since they're about the same price > just as easy to keep a ps/2 around. > > -- > Adam Vande More the keybd isn't the problem. it is in the box with a bunch of misc stuff i don't need. problem is that on my KVM switch are only ps2 plugs. on the back of the dell are USB jacks. i need something to convert from the PS2 plug to fit into the USB .... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From roberthuff at rcn.com Sun Nov 8 06:51:28 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Nov 8 06:51:35 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108061459.GE23851@thought.org> References: <20091108024038.GA23704@thought.org> <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> <20091108061459.GE23851@thought.org> Message-ID: <19190.27203.38204.354646@jerusalem.litteratus.org> Gary Kline writes: > the keybd isn't the problem. it is in the box with a bunch of > misc stuff i don't need. problem is that on my KVM switch are > only ps2 plugs. on the back of the dell are USB jacks. i > need something to convert from the PS2 plug to fit into the > USB .... Have you actually tried this elsewhere and had it work? Because I'm certainly no expert on KVMs, but that sounds like a "more likely to fail than succeed" scenario. (I use a StarTech four port USB KVM, and would be interested in a good model that handles DVI/HDMI as opposed to 15 pin VGA video.) Respectfully, Robert Huff From kline at thought.org Sun Nov 8 08:26:18 2009 From: kline at thought.org (Gary Kline) Date: Sun Nov 8 08:26:24 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <19190.27203.38204.354646@jerusalem.litteratus.org> References: <20091108024038.GA23704@thought.org> <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> <20091108061459.GE23851@thought.org> <19190.27203.38204.354646@jerusalem.litteratus.org> Message-ID: <20091108082611.GC24511@thought.org> On Sun, Nov 08, 2009 at 01:50:43AM -0500, Robert Huff wrote: > > Gary Kline writes: > > > the keybd isn't the problem. it is in the box with a bunch of > > misc stuff i don't need. problem is that on my KVM switch are > > only ps2 plugs. on the back of the dell are USB jacks. i > > need something to convert from the PS2 plug to fit into the > > USB .... > > Have you actually tried this elsewhere and had it work? > Because I'm certainly no expert on KVMs, but that sounds like a > "more likely to fail than succeed" scenario. > (I use a StarTech four port USB KVM, and would be interested in > a good model that handles DVI/HDMI as opposed to 15 pin VGA video.) > indeed not; and that is why i asked here. i DID find some ps2 <-> usb ... somewhere. google that and you see what i did. unless i was hallucinating! gents, i am and have been years behind the bleeding-edge stuff. the intel duo stuff has been around awhile so while it isn't that bloody, it is new to me. it may be my KVM Stuff or not. that's the $64.0 question. gary > Respectfully, > > > Robert Huff > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From perryh at pluto.rain.com Sun Nov 8 08:40:54 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Nov 8 08:41:01 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108061459.GE23851@thought.org> References: <20091108024038.GA23704@thought.org> <6201873e0911071942v1fe13da3p5ec126c08ea2a53c@mail.gmail.com> <20091108061459.GE23851@thought.org> Message-ID: <4af683f3.8UDK3d38ibQpED4i%perryh@pluto.rain.com> Gary Kline wrote: > the keybd isn't the problem ... problem is that on my KVM > switch are only ps2 plugs. on the back of the dell are USB > jacks. i need something to convert from the PS2 plug to > fit into the USB .... Such things do exist: http://www.amazon.com/Adesso-Adapter-connects-connectors-ADP-PU21/dp/B00008ZPED http://www.amazon.com/TRENDnet-USB-PS-2-Converter/dp/B0007T27HI http://www.amazon.com/Ultra-USB-Male-Female-Adapter/dp/B000658ETS http://www.frys.com/product/3470803 http://www.frys.com/product/3866207 http://www.frys.com/product/4161343 From fbsdq at peterk.org Sun Nov 8 09:52:59 2009 From: fbsdq at peterk.org (Peter) Date: Sun Nov 8 09:53:06 2009 Subject: freebsd partitions on a dos/fat slice? Message-ID: iH, Pulled an old disk lying around... and started mounting partitions in it. The weird thing is that the first slice [~15GB] is said to be fat, but I do have freebsd partitions on it: denver:#mount|grep ad10 /dev/ad10s1a on /maxtor500GB (ufs, NFS exported, local, soft-updates) /dev/ad10s1d on /maxtor500GB/var (ufs, local, soft-updates) /dev/ad10s1f on /maxtor500GB/usr (ufs, local, soft-updates) /dev/ad10s1e on /maxtor500GB/tmp (ufs, local, soft-updates) /dev/ad10s3d on /maxtor500GB/data (ufs, NFS exported, local, soft-updates) /dev/ad10s2d on /maxtor500GB/data2 (ufs, local, soft-updates) denver:#fdisk /dev/ad10 ******* Working on device /dev/ad10 ******* parameters extracted from in-core disklabel are: cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6 (0x06),(Primary DOS, 16 bit FAT (>= 32MB)) start 63, size 31455207 (15358 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 31455270, size 31455270 (15359 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 62910540, size 913857525 (446219 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: denver:# There are what appears to be a freebsd base install from Jul 19/20th 2007 on /dev/ad10s1{a,d,e,f} denver:#ls -l /maxtor500GB/tmp/ total 2 drwxrwxr-x 2 root operator 512 Jul 20 2007 .snap denver:#ls -l /maxtor500GB/ total 38 drwxrwxr-x 2 root operator 512 Jul 20 2007 .snap drwxr-xr-x 2 root wheel 1024 Jul 19 2007 bin drwxr-xr-x 7 root wheel 512 Jul 19 2007 boot .. .... denver:#df -hl|grep ad10 /dev/ad10s1a 496M 11M 445M 2% /maxtor500GB /dev/ad10s1d 989M 106K 910M 0% /maxtor500GB/var /dev/ad10s1f 16G 97M 15G 1% /maxtor500GB/usr /dev/ad10s1e 727M 580K 668M 0% /maxtor500GB/tmp /dev/ad10s3d 422G 384G 4.0G 99% /maxtor500GB/data /dev/ad10s2d 15G 11G 2.5G 81% /maxtor500GB/data2 running sysinstall also show s1 as 'fat' I've been writing/reading a lot of data from it just fine - Curios why s1 is being detect as a 'fat' partition and not a fbsd slice. Have not tried to put this disk into a windows/another box... ]Peter[ From carlj at peak.org Sun Nov 8 10:31:08 2009 From: carlj at peak.org (Carl Johnson) Date: Sun Nov 8 10:32:30 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: <20091107230703.GA94028@orange.esperance-linux.co.uk> (Frank Shute's message of "Sat\, 7 Nov 2009 23\:07\:03 +0000") References: <20091107223558.GB61756@gizmo.acns.msu.edu> <20091107230703.GA94028@orange.esperance-linux.co.uk> Message-ID: <87639lpmj6.fsf@cjlinux.localnet> Frank Shute writes: > On Sat, Nov 07, 2009 at 05:35:58PM -0500, Jerry McAllister wrote: >> > [snip] >> >> Not so sure I did anything for your most important question - if ext2 s ext3 >> is a problem, but I hope the rest is helpful. >> > > No, it's not a problem Jerry. ext3 is basically ext2 + journal, so you > can mount it at as ext2 from within FreeBSD (or Linux). > > The journal sorts itself out when you boot Linux and it mounts the > filesystem as ext3. I haven't been able to mount some ext3 filesystems. When I experimented, it appears that most new ext3 filesystems default to 256 byte inodes. When I created a filesystem with 128 byte inodes then FreeBSD could mount it just fine. I didn't try ext2, but I think the inode is independent of ext2 or ext3. This is for FreeBSD 7.1-RELEASE, so maybe things have changed for 7.2 or 8.0. -- Carl Johnson carlj@peak.org From mail25 at bzerk.org Sun Nov 8 10:48:44 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Sun Nov 8 10:49:38 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: <87639lpmj6.fsf@cjlinux.localnet> References: <20091107223558.GB61756@gizmo.acns.msu.edu> <20091107230703.GA94028@orange.esperance-linux.co.uk> <87639lpmj6.fsf@cjlinux.localnet> Message-ID: <20091108104837.GA64633@ei.bzerk.org> On Sat, Nov 07, 2009 at 10:18:21PM -0800, Carl Johnson typed: > Frank Shute writes: > > > On Sat, Nov 07, 2009 at 05:35:58PM -0500, Jerry McAllister wrote: > >> > > [snip] > >> > >> Not so sure I did anything for your most important question - if ext2 s ext3 > >> is a problem, but I hope the rest is helpful. > >> > > > > No, it's not a problem Jerry. ext3 is basically ext2 + journal, so you > > can mount it at as ext2 from within FreeBSD (or Linux). > > > > The journal sorts itself out when you boot Linux and it mounts the > > filesystem as ext3. > > I haven't been able to mount some ext3 filesystems. When I > experimented, it appears that most new ext3 filesystems default to 256 > byte inodes. When I created a filesystem with 128 byte inodes then > FreeBSD could mount it just fine. I didn't try ext2, but I think the > inode is independent of ext2 or ext3. This is for FreeBSD > 7.1-RELEASE, so maybe things have changed for 7.2 or 8.0. This has been patched: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Ruben From keramida at ceid.upatras.gr Sun Nov 8 11:11:04 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Nov 8 11:11:11 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: (David Chanters's message of "Sat, 7 Nov 2009 21:34:48 +0000") References: Message-ID: <87hbt546gs.fsf@kobe.laptop> On Sat, 7 Nov 2009 21:34:48 +0000, David Chanters wrote: > Hi all, > > I am considering switching from Debian Linux to FreeBSD. I am wondering > if at install time, sysinstall is able to allow me to keep "/home" from > my Debian installation. "/home" on Debian is currently a separate > partition in its own right, mounted as RXT3. I only have the one hard > disk in my machine. > > So, questions: > > 1. Can the installer be told to not touch "/home" at install time (I > appreciate I would have to ensure I mapped the current /dev/hda2 > terminology to slices in BSD parlance) Hi David, Yes, you can use sysinstall to _carefully_ partition and label only parts of an existing disk. It is certainly possible, but it is also slightly risky. One mistake and you can wipe tons of useful data. My own advice would be to *wait* until you have at least some way to backup your existing data. First make sure that you have a working and reliable copy of your existing data (meaning "you can read *all* of it from the backup medium and verify that it matches the existing files"). Then you can start experimenting with partitioning tools. We will be glad to have you as a FreeBSD user, and you asked at the right place. But losing data is always a bad thing, so it's ok if you keep using Debian for a while, until you have a reliable backup of everything. > 2. Does the fact that this is an EXT3 partition matter? (I have read > FreeBSD supports ext2, and ext3 is just ext2 with a journal, so it can be > mounted as ext2 if needed). I've seen ext3 partitions that are not mountable by our ext2fs driver. So your mileage may vary a lot here, depending on the exact on-disk format of your partition. You should probably keep this in mind when you prepare your backup mediums too. If at all possible, try to use a filesystem for the backup storage that is readable by both Linux *and* FreeBSD. VFAT is a possibility, but its file size limitations and partition size limitations are often annoying. Network-accessible storage is better. If nothing else works, you can always dump a "raw" tarball on a disk: linux# tar cf - / | dd bs=4m of=/dev/sda3 Then you can simply untar the "raw device" from FreeBSD. > 3. Is it possible/beneficial to convert this to UFS once FreeBSD is > installed? There are a few benefits indeed. The native filesystems of FreeBSD are these days UFS and ZFS. They are actively maintained, so you get the benefit of bugfixes and extensive testing from everyone else who uses the same filesystems. From mail at ozzmosis.com Sun Nov 8 14:50:22 2009 From: mail at ozzmosis.com (andrew clarke) Date: Sun Nov 8 14:50:31 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Message-ID: <20091108145018.GA44576@ozzmosis.com> On Sat 2009-11-07 19:19:52 UTC-0800, Randi Harper (randi@freebsd.org) wrote: > Don't bother with any of that. Just use portsnap. It's also part of > base, and was written by the same person that wrote freebsd-update. > It's lovely and much faster, although some people may argue with me on > that. > For your system, use freebsd-update. Seconded. Portsnap and freebsd-update are a cinch to use. > For your ports tree, use portsnap. For installed ports, use > portupgrade or portmanager. I'm more fond of portmanager, but it seems > portupgrade has many more users. Both portupgrade and portmanager are > available in the ports tree, not base. I use portmaster and find it easy to use. Not familiar with portmanager. /usr/ports/UPDATING will often provide portmaster commands where necessary and these can useful for upgrading some ports. Maybe it's easy to translate those commands to their equivalent portmanager commands. Regards Andrew From jeronimocalvop at googlemail.com Sun Nov 8 15:07:08 2009 From: jeronimocalvop at googlemail.com (Jeronimo Calvo) Date: Sun Nov 8 15:07:15 2009 Subject: devel/py-gobject error when pkgdb -F --- FREEBSD 7.2 STABLE --- Message-ID: Hi Folks, Running pkgdb -F Im getting the following error: I tried reinstalling devel/py-gobject, but did not help. All dependencies are linked to py25-gobject-2.16.1, so I can not remove that package as well. Can somebody give me a workaround?? ===> py26-gobject-2.16.1 depends on file: /usr/local/lib/gio/modules/libgiofam.so - found ===> Generating temporary packing list ===> Checking if devel/py-gobject already installed ===> An older version of devel/py-gobject is already installed (py25-gobject-2.16.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/py-gobject without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/devel/py-gobject. *** Error code 1 -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From roberthuff at rcn.com Sun Nov 8 15:11:53 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Nov 8 15:12:00 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <20091108145018.GA44576@ozzmosis.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <20091108145018.GA44576@ozzmosis.com> Message-ID: <19190.57270.682460.836498@jerusalem.litteratus.org> andrew clarke writes: > > Don't bother with any of that. Just use portsnap. It's also part of > > base, and was written by the same person that wrote freebsd-update. > > It's lovely and much faster, although some people may argue with me on > > that. > > > For your system, use freebsd-update. > > Seconded. Portsnap and freebsd-update are a cinch to use. As for freebsd-update: It has limitations; /inter alia/ see the DESCRIPTION section of the man page. If that's something one can live with, use it. If it's not, then the OP really needs to get familiar with the update-from-source method as described in the Handbook. It's scary at first (actually, it's still a teeny bit scary after ten years). but it helps one understand what goes into making a working system ... which is a really good thing if something does manage to go Horribly Wrong(tm). Robert Huff From sven at hazejager.nl Sun Nov 8 18:57:55 2009 From: sven at hazejager.nl (Sven Hazejager) Date: Sun Nov 8 18:58:03 2009 Subject: 7.2-p4 serial console not showing kernel messages? Message-ID: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> All, I'm having trouble getting 7.2-p4 to run. I'm using nanoBSD, either under VMware using a virtual serial null-modem or on an Alix Soekris-like serial-only CF-based device, both show this problem: my serial console does not display kernel messages, they all go to the VGA console! I'm using the nanoBSD cust_comsole function to enable the console. Relevant files are shown here: /boot.config: -h -S57600 /etc/ttys, only one line is "on": ttyd0 "/usr/libexec/getty std.57600" xterm on secure These are still in my kernel conf, if I remove these I get no kernel messages at all (kernel boots fine with this though): device atkbdc # AT keyboard controller device atkbd # AT keyboard device kbdmux # keyboard multiplexer device vga # VGA video card driver I have also tried to set this in the loader, no luck: hint.sio.0.flags="0x30" On the serial console, I see the boot manager (boot0) and the loader just fine. "show" in the loader says "console=comconsole" so that seems to be fine. However all kernel output goes to the VGA console. I *do* get a login prompt after a while on the serial console though. If I boot the same kernel over PXE on the ALIX, the kernel messages *do* go to the serial console... What am I overlooking? Thanks, Sven From jabidan at gmail.com Sun Nov 8 19:25:37 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Sun Nov 8 19:25:43 2009 Subject: kernel trap Message-ID: sorry for bothering guys, but i have a big problem here, i recently installed freebsd on a box and i was very happy updating ports, when i realized the system suddenly reboot, when i saw the dmesg it says: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x828dee24 fault code = supervisor write, page not present instruction pointer = 0x20:0xc0a27b0b stack pointer = 0x28:0xe4f2fb80 frame pointer = 0x28:0xe4f2fb94 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 48 (vnlru) trap number = 12 panic: page fault cpuid = 1 Uptime: 18m45s Physical memory: 1522 MB Dumping 203 MB: 188 172 156 140 124 108 92 76 60 44 28 12 Dump complete Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... I searched in google for something but it seems i need to dump the kernel, i guess if it could be an HD issue. By the way, the current process line has little variations (g_down, fsck_ufs, vnlru Any clue? From tkjacobsen at gmail.com Sun Nov 8 19:27:35 2009 From: tkjacobsen at gmail.com (Troels Kofoed Jacobsen) Date: Sun Nov 8 19:27:42 2009 Subject: Tracking commit messages from cli Message-ID: <20091108190613.GA1486@photon.std> Hi all With pkg_version I can easily see which installed ports has newer versions available, but what I miss is a way to see what has changed. The reason for this is that commit messages often say that only the pkg-plist has changed or something that does not make me want to update. Right now I'm reading the commit messages from the cvs web frontend, but it would be awesome with a program that could say: gd-2.0.35_1,1 < needs updating (index has 2.0.35_2,1) Commit messages between the versions: blah blah blah blah ... ... ... I know freshports exist, but I would rather not have to open a web browser. Does such a program exist or do I have to write my own. In the latter case can anyone point me to an easy way to get raw-text versions of commit messages without having to track the whole tree. Does freshports e.g. have an api -- it has all the necessary information, just not available in a suitable form (to my knowledge) Best regards Troels Kofoed Jacobsen From walt at wump.org Sun Nov 8 20:05:43 2009 From: walt at wump.org (Walt Pawley) Date: Sun Nov 8 20:05:50 2009 Subject: and now for conky & gremlins In-Reply-To: <4AF2E413.2080907@videotron.ca> References: <4AF1FF76.60808@videotron.ca> <20091105023045.9a3d90ab.freebsd@edvax.de> <4AF2D277.3090406@videotron.ca> <20091105144609.GA28950@ei.bzerk.org> <4AF2E413.2080907@videotron.ca> Message-ID: At 10:41 AM -0400 11/5/09, PJ wrote: >Ruben de Groot wrote: >> On Thu, Nov 05, 2009 at 09:26:15AM -0400, PJ typed: >> >>> Polytropon wrote: >>> >>>> On Wed, 04 Nov 2009 18:25:58 -0400, PJ wrote: >>>> >>>> >>>>> output should be: 1 2 3 [4] 5 6 7 etc. >>>>> is: 1 2 3 4 5 6.... >>>>> >>>>> the calendar.sh is exactly: >>>>> #!/bin/sh >>>>> cal | awk 'NR>1' | sed -e 's/ / /g' -e 's/[^ ] /& /g' -e 's/..*/ >>>>> &/' -e "s/\ `date +%d`/\[`date +%d`\]/" >>>>> >>>>> >>>> It's quite obviously. Let's try the last substitution >>>> argument in plain shell: >>>> >>>> % date +%d >>>> 05 >>>> >>>> But the command creates this: >>>> >>>> Su Mo Tu We Th Fr Sa >>>> 1 2 3 4 5 6 7 >>>> >>>> The leading zero is missing, so there's no substition that >>>> changes "5" into "[5]", because the search pattern is "05". >>>> >>>> >>> Ok, I see... I'm not too good in programming. I guess I didn't notice >>> the previous to the first days of November the date was always 2 >>> digits.. how do I get rid of the zero? Regex substitution or something >>> like that? >>> >> >> date "+%e" should do it. >> >Sure did.... For the moment, I changed the [ ] to just plain > >maybe that will avoid the disjointed row. Not quite what you're looking for but ... cal | perl -pe 's/^/ /;s/$/ /;s/ '"$(date "+%e")"' /\['"$(date "+%e")"']/' ... generated ... November 2009 S M Tu W Th F S 1 2 3 4 5 6 7 [ 8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97471 541-672-8975 From freebsd at edvax.de Sun Nov 8 20:45:42 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Nov 8 20:45:53 2009 Subject: Help understanding basic FreeBSD concepts (ports, updates, jails) In-Reply-To: <6201873e0911070857j231331a3n1b9c6fdc53e08bcd@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> <9d972bed0911070839q3f9ded02q40de4637278bcec9@mail.gmail.com> <6201873e0911070857j231331a3n1b9c6fdc53e08bcd@mail.gmail.com> Message-ID: <20091108214540.dd9901c5.freebsd@edvax.de> On Sat, 7 Nov 2009 10:57:54 -0600, Adam Vande More wrote: > There are three basic branches, CURRENT STABLE RELEASE > > You want release. You shouldn't run anything else unless you're willing and > able to help with testing, debugging, and development. That's a quite generic answer, but basically I agree. On a production system, in most cases RELEASE is the branch you want to follow, beginning from X.Y-RELEASE and then tacking the security updates X.Y-RELEASE-pZ. The tool freebsd-update is very good for this task, especially when you're not running a custom kernel. STABLE is a good solution when you want to use a stable system, but are interested in additions between the releases. Things that are tested and found working are present in STABLE and will often appear in the upcoming RELEASE. CURRENT is interesting for you - as Adam said - for testing and development, and if you are intendedly interested in "bleeding edge" software. Note that it can happen that a CURRENT system of today won't build, but will tomorrow. It's the development branch. In any case: You should re-install or re-compile ALL of your applications when you perform the step to a new release (e. g. 7.2 -> 8.0). You can install the 7-compat port to avoid this (downward compatibility libraries). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Nov 8 20:57:16 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Nov 8 20:57:23 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108024038.GA23704@thought.org> References: <20091108024038.GA23704@thought.org> Message-ID: <20091108215713.aabc3e1f.freebsd@edvax.de> On Sat, 7 Nov 2009 18:40:41 -0800, Gary Kline wrote: > it was .LT. sixty bux > and next-to-worthless given my disability.[*] > [...] > [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- 0.000000000001s:) > to change ports. What happended to the "old" fahioned way of having a simple knob that you can turn to one of the 4 positions? Too mechanically? Not "modern" enough? Not prone enough to errors? I sill have such a switch here, but I'm lacking the cables; they are maybe triple as expensive as a new "modern" switch including cables which requires a race across the keyboard in order to switch the targets. Man, I sound sooo oooold... :-) Back on topic: With the use of an USB->PS/2 adaptor, you could be lucky; most USB keyboards function as intended in such a setting, but I've already found that not all of them do. Strangely, the older ones (such as IBM model M) do, but I had a "modern" Dell keyboard that didn't work with a converter as mentioned above, allthoug it should (and worked correct plugged in directly, and other keyboards workeed correct with the adaptor). Strange stuff, produced by "modern" IT manufacturers... You'll end up having to try it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Nov 8 22:10:01 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Nov 8 22:10:08 2009 Subject: Remote Desktop for Fedora 11 on External Hard Drive In-Reply-To: <20091107182734.GA22936@.hsd1.tn.comcast.net.> References: <20091107182734.GA22936@.hsd1.tn.comcast.net.> Message-ID: <20091108230958.79f2b9a1.freebsd@edvax.de> On Sat, 7 Nov 2009 12:27:34 -0600, Bryan Cassidy wrote: > I am currently using FreebSD 7.2 and I have just installed and > configured Fedora 11 on an external > hard drive so I can do some printing and other things. I was > wondering how can I get full access > to the Desktop (GUI) on FreeBSD for Fedora 11 on my external > hard drive? Any ideas? I hope I am not misunderstanding you... If you have installed Fedora on a hard disk and you're running this Linux from this hard disk (in a PC), and want to connect to it and use its UI (on another PC that runs FreeBSD), you can easily set the environmental variable DISPLAY so it does correspond to the Linux PC and then run its applications (there) and view them on the FreeBSD PC; this is mostly done through a SSH connection, e. g. freebsd% ssh -X myusername@192.168.84.101 Password: fedora$ export DISPLAY=192.168.84.100 fedora$ krita (now see krita runnin on Fedora on your FreeBSD's X) In this example, 192.168.84.100 is the FreeBSD system, and 192.168.84.101 is the Fedora system. You can as well run a complete window manager or desktop environment. There are other tools in the ports collection that allow things like full remote-desktopping. BUT if you want to run programs from the Fedora disk on your FreeBSD system, things get more complicated, allthough FreeBSD has a Linux ABI (alternative binary interface). In this case, you would mount your external hard disk and then execute programs from it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From neuhauser at sigpipe.cz Sun Nov 8 22:16:55 2009 From: neuhauser at sigpipe.cz (Roman Neuhauser) Date: Sun Nov 8 22:17:02 2009 Subject: Tracking commit messages from cli In-Reply-To: <20091108190613.GA1486@photon.std> References: <20091108190613.GA1486@photon.std> Message-ID: <20091108222640.GH54137@isis.sigpipe.cz> On Sun, Nov 08, 2009 at 08:06:13PM +0100, Troels Kofoed Jacobsen wrote: > With pkg_version I can easily see which installed ports has newer > versions available, but what I miss is a way to see what has changed. > The reason for this is that commit messages often say that only the > pkg-plist has changed or something that does not make me want to update. ... > I know freshports exist, but I would rather not have to open a web > browser. > > Does such a program exist or do I have to write my own. sorry to point out the obvious, but why not use svn (or cvs)? From cwhiteh at onetel.com Sun Nov 8 22:41:21 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun Nov 8 22:41:28 2009 Subject: x11/lxpanel build fails - wrong linux base? Message-ID: <4AF7490F.80703@onetel.com> Hi I am trying to build x11/lxde-meta in a 8.0RC2 tinderbox. lxpanel fails because it depends on linux-alsa-lib. linux-alsa-lib fails because eco# make ===> linux-alsa-lib-1.0.10.3_2 bsd.linux-rpm.mk test failed: default package building at OSVERSION>=800076 was changed to linux-f10 ports, please define OVERRIDE_LINUX_NONBASE_PORTS to build other linux infrastructure ports. *** Error code 1 [the above is make in /usr/ports/audio/linux-alsa-lib. Ports and source for the host are exactly the same as the tinderbox.] I have WITHOUT_ALSA=true in lxpanel's options and I have even changed the line in lxpanel/Makefile: eco# diff Makefile Makefile.original 31c31 < WITH_ALSA= off --- > WITH_ALSA= yes so how do I stop lxpanel calling linux-alsa-lib? Alternatively can I make it use linux-f10-alsa-lib by changing the Makefile to point to linux-f10-alsa-lib? thanks Chris From freebsd at edvax.de Sun Nov 8 23:03:40 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Nov 8 23:03:47 2009 Subject: x11/lxpanel build fails - wrong linux base? In-Reply-To: <4AF7490F.80703@onetel.com> References: <4AF7490F.80703@onetel.com> Message-ID: <20091109000338.25765d02.freebsd@edvax.de> On Sun, 08 Nov 2009 22:41:19 +0000, Chris Whitehouse wrote: > I have WITHOUT_ALSA=true in lxpanel's options and I have even changed > the line in lxpanel/Makefile: > > eco# diff Makefile Makefile.original > 31c31 > < WITH_ALSA= off > --- > > WITH_ALSA= yes Maybe that's the reason. The symbol WITH_ALSA is defined. It does not matter with which value it is defined, so even WITH_ALSA=I_DONT_WANT_ALSA would be equivalent to WITH_ALSA=yes; try removing the whole line in order to not define the symbol. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From neuhauser at sigpipe.cz Mon Nov 9 00:41:33 2009 From: neuhauser at sigpipe.cz (Roman Neuhauser) Date: Mon Nov 9 00:41:40 2009 Subject: FreeBSD-8.0-RC2 problems In-Reply-To: References: Message-ID: <20091109004106.GI54137@isis.sigpipe.cz> On Fri, Nov 06, 2009 at 05:33:00PM +0530, Masoom Shaikh wrote: > Hello, > > Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 > installation. building and installing was smooth as always has been. Then I > pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with > my experience > > problem # 1 > The problem is KDE4 is not able to display anti aliased fonts. i don't use kde, sorry. > problem # 2 > I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due to > no reason. The pain is I don't get a core dump. When it freezes the only > option is to hard boot by reseting the power. This might need more > information to guess the cause. I will give basic info. This is Dell > Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi > driver, no proof, just my gut feeling. it might be the kbdmux, or hald. these two things were troublemakers during my recent upgrade from 7.x to 9.0. kbdmux is in GENERIC, but causes missed interrupts, which may make the machine appear dead. hald is used by xorg. hald may spin busily when it's out of sync with the kernel. > problem # 3 > starting with 8.0 wpi driver no longer is the interface, wlanX is to be > created. this is not news, but every time I manually create the wlan0 > interface and spawn wpa_supplicant. This shuould be automatic, as I have > followed the guidelines of rc.conf(5). I can provide output of > rc_debug="YES" if someone is willing. my wlan0 is created for wpi0 (I start the wifi with /etc/rc.d/wpa_supplicant onestart wlan0): wlans_wpi0=wlan0 ifconfig_wlan0="NOAUTO DHCP WPA" what's in your rc.conf? > How can i install all files under /etc from the source ? cd /usr/src && mergemaster -i From theultramage at gmail.com Mon Nov 9 00:28:37 2009 From: theultramage at gmail.com (umage) Date: Mon Nov 9 01:02:11 2009 Subject: networking won't come back up until reboot after ISP outage In-Reply-To: <4AF5BB31.5090304@gmail.com> References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> Message-ID: <4AF7620A.9010709@gmail.com> > When the connection goes down and comes back up it will take 5 minutes > before my FreeBSD gateway box checks the lease and decides if a renewal is > in order. This is automatic. If I am sitting in front of my computer and I > want to speed this up I issue /etc/rc.d/netif restart on the gateway and it > will come up and be happy in about 10 seconds, rather than waiting out the 5 > minute time out. In my case the router does get the renewed ip, as I described earlier. However, even after waiting 8+ hours, the system will not recover from the outage properly (reason unknown). That's what this thread is all about. From vogelke+unix at pobox.com Mon Nov 9 01:39:36 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Mon Nov 9 01:39:42 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <20091105131339.GA3804@current.Sisis.de> (message from Matthias Apitz on Thu, 5 Nov 2009 14:13:39 +0100) Message-ID: <20091109013816.5B1A5BE92@kev.msw.wpafb.af.mil> >> On Thu, 5 Nov 2009 14:13:39 +0100, >> Matthias Apitz said: M> Is there some tool or something in the ports which could split a Mbox M> file into various pieces, but having the threads together? Mail::Thread is a Perl implementation of Jamie Zawinski's mail threading algorithm, as described by http://www.jwz.org/doc/threading.html. See http://search.cpan.org/ to track it down. -- Karl Vogel I don't speak for the USAF or my company Cute Celebrity Couple Names #4: Naomi Watts + Paul Newman = WattsNew From jwdevel at gmail.com Mon Nov 9 01:42:57 2009 From: jwdevel at gmail.com (John W) Date: Mon Nov 9 01:43:04 2009 Subject: csup a single file? Message-ID: I'm trying to use csup to get a single file at a certain date. In particular, I'm trying to get /usr/ports/UPDATING. I made a copy of /usr/share/examples/cvsup/ports-supfile and made the following changes: # pick a server *default host=cvsup9.FreeBSD.org # Date to sync to # (jw) I use this so I can gradually update ports, instead of # getting too many things changing at once causing upgrade pain date=2009.11.12.00.00.00 I then run the command: csup -L2 -i 'UPDATING' path/to/my/supfile I have also tried 'UPDATING*', '*UPDATING*', and '/UPDATING*' since i'm not sure from the docs exactly what the -i pattern should look like. However, none of those work. What I want is to get the single file /usr/ports/UPDATING as of the date given in the supfile. What am I missing? Am I going about it entirely wrong? Thanks -John From jwdevel at gmail.com Mon Nov 9 01:47:02 2009 From: jwdevel at gmail.com (John W) Date: Mon Nov 9 01:47:08 2009 Subject: csup a single file? In-Reply-To: References: Message-ID: On Sun, Nov 8, 2009 at 5:42 PM, John W wrote: > > ?date=2009.11.12.00.00.00 > Oh, ignore that the date given is not-happened-yet. I have tried it with various real dates too, I assure you (: From jwdevel at gmail.com Mon Nov 9 01:54:14 2009 From: jwdevel at gmail.com (John W) Date: Mon Nov 9 01:54:21 2009 Subject: csup a single file? In-Reply-To: References: Message-ID: On Sun, Nov 8, 2009 at 5:42 PM, John W wrote: > > In particular, I'm trying to get /usr/ports/UPDATING. > FIXED I needed to specify 'ports/UPDATING' *slaps forehead* -John From Olivier.Nicole at cs.ait.ac.th Mon Nov 9 02:26:04 2009 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Mon Nov 9 02:26:13 2009 Subject: How to configure sendmail In-Reply-To: (message from Warren Block on Fri, 6 Nov 2009 08:12:14 -0700 (MST)) References: Message-ID: <200911090225.nA92PxYp079632@banyan.cs.ait.ac.th> Hi, I apologize if I was not clear enough. I answer youe questions and try to be more clear at the bottom. > > I have this stupide little configuration that I cannot manage to get > > working. > > > > I have one machine a.domain.net that I want to be able to deliver > > system mail (like cron and so on) with the following rules: > > > > - user1 on a.domain.net has the same username as on domain.net; I > > want that mail sent to user1 is delivered to user1@domain.net; > An alias will do that. Only I don't want to define an alias for each and every user. > > - user2 on a.domain.net has no corresponding user on domain.net, but > > it has an alias defined; I want to mail sent to user2 is delivered > > to the alias. > > Creating an alias for a nonexistent user seems to work here. user2 aliases to an existing account on some other place. > > - of course, mail addressed to a full address x@y.z should be > > delivered accordingly, eventually using a mail relay. > > > I tried using masquerade in submit.mc, > I don't edit submit.mc, just .mc. I shall try that. > > user1 is then rewritten as user1.domain.net, > That's the masquerade... Wait, is that a typo? Should be > "user1@domain.net"? Right, that was a typo. > > but the alias for user2 is not parsed > > newaliases(1) is needed after editing /etc/mail/aliases. And there is a > bug if you're using 8.0: Yes I did newaliases and the version of sendmail is the default with FreeBSD, that must be 8.14.3 > Masquerade again. Not clear whether that's what you want. How to configure sendmail on a.domain.net so that: 1) users with an alias defined in /etc/mail/aliases have their messages sent to the alias; 2) users with no alias have their mail sent to user@domain.net (same username). It seems that masquerade does the part 2) but users in 1) are not sent to the alias. Best regards, Olivier From lordofhyphens at gmail.com Mon Nov 9 02:27:43 2009 From: lordofhyphens at gmail.com (LoH) Date: Mon Nov 9 02:27:50 2009 Subject: 8.0RC custom kernel not installing? In-Reply-To: <4AF1114D.4000206@gmail.com> References: <4AF1114D.4000206@gmail.com> Message-ID: <4AF77E0F.3030308@gmail.com> Problem solved, I didn't use the proper casing on the command line. I needed KERNCONF=ZFS, not kernconf=ZFS. LoH wrote: > I compiled a custom kernel with ZFS enabled and installed it. > Everything appeared to work fine, then I realized that I needed to > make some more modifications (ALTQ, disabling ulpt). I made those > configuration changes to the existing ZFS kernel config. > > After running > make buildkernel kernconf=ZFS > and > make installkernel kernconf=ZFS > > (ZFS is the name of the kernel config file) > I rebooted the machine but didn't see any change in the system config. > I've also made sure I did the build/install as root. > > I doubled-checked the config in the kernel directory, the config is > properly done. > > Any ideas? > > --Joseph > From wblock at wonkity.com Mon Nov 9 03:03:58 2009 From: wblock at wonkity.com (Warren Block) Date: Mon Nov 9 03:04:07 2009 Subject: How to configure sendmail In-Reply-To: <200911090225.nA92PxYp079632@banyan.cs.ait.ac.th> References: <200911090225.nA92PxYp079632@banyan.cs.ait.ac.th> Message-ID: On Mon, 9 Nov 2009, Olivier Nicole wrote: >>> but the alias for user2 is not parsed >> >> newaliases(1) is needed after editing /etc/mail/aliases. And there is a >> bug if you're using 8.0: > > Yes I did newaliases and the version of sendmail is the default with > FreeBSD, that must be 8.14.3 I mean there is a bug with sendmail not always sending to aliases on FreeBSD 8.0-RC2: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/139870 >> Masquerade again. Not clear whether that's what you want. > > How to configure sendmail on a.domain.net so that: > > 1) users with an alias defined in /etc/mail/aliases have their > messages sent to the alias; > > 2) users with no alias have their mail sent to user@domain.net (same > username). > > It seems that masquerade does the part 2) but users in 1) are not sent > to the alias. Maybe a mail hub setup in addition to the aliases will do what you need. /usr/share/sendmail/cf/README has more information. -Warren Block * Rapid City, South Dakota USA From aaflatooni at yahoo.com Mon Nov 9 03:52:20 2009 From: aaflatooni at yahoo.com (Aflatoon Aflatooni) Date: Mon Nov 9 04:01:10 2009 Subject: What happened to the colors in VIM 7.2? Message-ID: <556060.58336.qm@web56205.mail.re3.yahoo.com> It looks like the color schemas in VIM 7.2 are missing? Any ideas? Thanks From glen.j.barber at gmail.com Mon Nov 9 04:04:26 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Nov 9 04:04:32 2009 Subject: What happened to the colors in VIM 7.2? In-Reply-To: <556060.58336.qm@web56205.mail.re3.yahoo.com> References: <556060.58336.qm@web56205.mail.re3.yahoo.com> Message-ID: <4ad871310911082004m29ff7e97tf378eb6ea319fef7@mail.gmail.com> On Sun, Nov 8, 2009 at 10:52 PM, Aflatoon Aflatooni wrote: > It looks like the color schemas in VIM 7.2 are missing? > > Any ideas? > Errors? Symptoms? $HOME/.vimrc ? -- Glen Barber From aryeh.friedman at gmail.com Mon Nov 9 04:16:24 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Nov 9 04:16:32 2009 Subject: What happened to the colors in VIM 7.2? In-Reply-To: <4ad871310911082004m29ff7e97tf378eb6ea319fef7@mail.gmail.com> References: <556060.58336.qm@web56205.mail.re3.yahoo.com> <4ad871310911082004m29ff7e97tf378eb6ea319fef7@mail.gmail.com> Message-ID: <4AF79795.9080000@gmail.com> Glen Barber wrote: > On Sun, Nov 8, 2009 at 10:52 PM, Aflatoon Aflatooni > wrote: > >> It looks like the color schemas in VIM 7.2 are missing? >> >> Any ideas? >> >> > > Errors? Symptoms? $HOME/.vimrc ? > > > Related question does anyone know why elflord incorrectly identifies certain words that are not keywords (per se) in JavaScript (document, top, parent are the ones I can think of the top of my head) [at least I assume thats "yellow" {I am color blind so not sure if it is yellow or not} means]?... an other side question has anyone had any luck with using any other color scheme on a transparent xfce4 term window (everyone I tried blacks out the background {I make it transaperent because the pattern is easier on my eyes then a solid color}) From aryeh.friedman at gmail.com Mon Nov 9 04:18:09 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Nov 9 04:18:15 2009 Subject: What happened to the colors in VIM 7.2? In-Reply-To: <556060.58336.qm@web56205.mail.re3.yahoo.com> References: <556060.58336.qm@web56205.mail.re3.yahoo.com> Message-ID: <4AF797FD.3030208@gmail.com> Aflatoon Aflatooni wrote: > It looks like the color schemas in VIM 7.2 are missing? > > Any ideas? > The seem to work for me: VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Apr 25 2009 13:00:07) my ~/.vimrc: colorscheme elflord syntax enable set backspace=indent,eol,start From carlj at peak.org Mon Nov 9 04:31:09 2009 From: carlj at peak.org (Carl Johnson) Date: Mon Nov 9 04:31:17 2009 Subject: Migrating from Linux (keeping partitions at install time) In-Reply-To: <20091108104837.GA64633@ei.bzerk.org> (Ruben de Groot's message of "Sun\, 8 Nov 2009 11\:48\:37 +0100") References: <20091107223558.GB61756@gizmo.acns.msu.edu> <20091107230703.GA94028@orange.esperance-linux.co.uk> <87639lpmj6.fsf@cjlinux.localnet> <20091108104837.GA64633@ei.bzerk.org> Message-ID: <87skcoo007.fsf@cjlinux.localnet> Ruben de Groot writes: > On Sat, Nov 07, 2009 at 10:18:21PM -0800, Carl Johnson typed: >> Frank Shute writes: >> >> > On Sat, Nov 07, 2009 at 05:35:58PM -0500, Jerry McAllister wrote: >> >> >> > [snip] >> >> >> >> Not so sure I did anything for your most important question - if ext2 s ext3 >> >> is a problem, but I hope the rest is helpful. >> >> >> > >> > No, it's not a problem Jerry. ext3 is basically ext2 + journal, so you >> > can mount it at as ext2 from within FreeBSD (or Linux). >> > >> > The journal sorts itself out when you boot Linux and it mounts the >> > filesystem as ext3. >> >> I haven't been able to mount some ext3 filesystems. When I >> experimented, it appears that most new ext3 filesystems default to 256 >> byte inodes. When I created a filesystem with 128 byte inodes then >> FreeBSD could mount it just fine. I didn't try ext2, but I think the >> inode is independent of ext2 or ext3. This is for FreeBSD >> 7.1-RELEASE, so maybe things have changed for 7.2 or 8.0. > > This has been patched: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 Thanks for the information, but I notice that it was put into stable *very* recently, so I hope it gets into 8.0-RELEASE. I wasn't too worried about it since the workaround was obvious once I identified the problem. I actually prefer to use Reiserfs, but it appears that nobody is working on rw access for it. Like the original poster, I am a Debian user who is experimenting with it, but from VirtualBox for now. I will probably try setting up dual boot when 8.0 comes out. -- Carl Johnson carlj@peak.org From henry.olyer at gmail.com Mon Nov 9 05:20:52 2009 From: henry.olyer at gmail.com (Henry Olyer) Date: Mon Nov 9 05:20:58 2009 Subject: a javascript issue wrt FreeBSD Message-ID: <1d7089c40911082120x93cb145k9e04d6e2a7afe990@mail.gmail.com> A FreeBSD machine I have has caught a scripting virus; And I'd rather not save what I must and rebuild it -- though if I have to I will of course. Anyone got any ideas to find/isolate the virus? Please copy me directly, my email service is limited until I can fix this. From aryeh.friedman at gmail.com Mon Nov 9 05:41:25 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Nov 9 05:41:32 2009 Subject: a javascript issue wrt FreeBSD In-Reply-To: <1d7089c40911082120x93cb145k9e04d6e2a7afe990@mail.gmail.com> References: <1d7089c40911082120x93cb145k9e04d6e2a7afe990@mail.gmail.com> Message-ID: <4AF7AB81.7070102@gmail.com> It is *EXTREMELY* unlike the issue is with JavaScript because JS can not call on any kind of OS service (at least on the client side).... are you running a web server that allows files/arbitary text to be uploaded (I'll bet thats where it came from)... now if the virus effects your browser only then what you described is possible... in that case (I am assuming your using firefox here) erase the ".mozilla" directory in your home directory (this will reset ff to all defaults) Henry Olyer wrote: > A FreeBSD machine I have has caught a scripting virus; And I'd rather > not save what I must and rebuild it -- though if I have to I will of > course. > > Anyone got any ideas to find/isolate the virus? > > Please copy me directly, my email service is limited until I can fix this. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From kline at thought.org Mon Nov 9 06:52:20 2009 From: kline at thought.org (Gary Kline) Date: Mon Nov 9 06:52:27 2009 Subject: stuff and even more problems.... [ to mostly the hard core ] In-Reply-To: <20091108215713.aabc3e1f.freebsd@edvax.de> References: <20091108024038.GA23704@thought.org> <20091108215713.aabc3e1f.freebsd@edvax.de> Message-ID: <20091109065210.GA28861@thought.org> On Sun, Nov 08, 2009 at 09:57:13PM +0100, Polytropon wrote: > On Sat, 7 Nov 2009 18:40:41 -0800, Gary Kline wrote: > > it was .LT. sixty bux > > and next-to-worthless given my disability.[*] > > [...] > > [*] gotta type CTRL-ALT-Shift at just the right keyrate (+/- 0.000000000001s:) > > to change ports. > > What happended to the "old" fahioned way of having a simple > knob that you can turn to one of the 4 positions? Too > mechanically? Not "modern" enough? Not prone enough to > errors? > hah. i had no idea what i was ordering--well, other than a KVM switch. doubt if my college friend did either. what i bought was around sixty bux; the model with buttons Plus cables was around $150. und, zo, i guess do you get what pay for. except that:: there was nothing in the ad about having to hit ctrl-alt-shift so precisely. live 'n' learn, guys. they are looking to gouge you out of every last penny every which way they can. > I sill have such a switch here, but I'm lacking the cables; > they are maybe triple as expensive as a new "modern" switch > including cables which requires a race across the keyboard > in order to switch the targets. i was typing the three keys in about 1/15th sec. too fast. about 1/5th sec is too slow. i can't guess the rate, but it's hard to get just-right! (here is where i would pull out my hair and yell AARGH ... but i'm too fried:) > > Man, I sound sooo oooold... :-) > > Back on topic: With the use of an USB->PS/2 adaptor, you > could be lucky; most USB keyboards function as intended in > such a setting, but I've already found that not all of them > do. Strangely, the older ones (such as IBM model M) do, but > I had a "modern" Dell keyboard that didn't work with a > converter as mentioned above, allthoug it should (and worked > correct plugged in directly, and other keyboards workeed > correct with the adaptor). i think you have it backwards, polyt. the kvm switch has PS/2 plugs; the dell has [[i think female]] slots/jacks. tomorrow [OR monday/ here:)], i'll dig out the keyboard and plug its usb connector. see if the crapy/bleepy "os" boots. LOL. > > Strange stuff, produced by "modern" IT manufacturers... > > You'll end up having to try it. > i copy that, man. gary PS: One solid bit of good news is that Zeus is answering my prayers. no power-outs here > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From bf1783 at googlemail.com Mon Nov 9 06:56:15 2009 From: bf1783 at googlemail.com (b. f.) Date: Mon Nov 9 06:56:23 2009 Subject: math/py-numpy vs. math/atlas-devel Message-ID: Scott Bennett wrote: >I would like to install science/gnudatalanguage but have been running >into various obstacles. Lars Engels very kindly just fixed one of them >(devel/lasi) (Thanks, Lars!), so now I'm on to the next one, which may not >be a showstopper, but it's at least a nuisance. One of the gnudatalanguage >dependencies is math/py-numpy, which, in turn, depends upon math/atlas. >However, I have math/atlas-devel installed and do not wish to revert to an >older, slower version of the ATLAS library. Adding a "-x atlas-\*" onto >the portmaster command to build math/py-numpy fails to prevent portmaster >from trying to build math/atlas. Creating a >/var/db/pkg/atlas-3.8.3_1,1/+IGNOREME file in addition doesn't help. How >can I force math/py-numpy to accept the already installed math/atlas-devel >libraries? >Thanks in advance for any help! Congratulations, you've managed to defeat three sets of safeguards in portmaster. Problem #1 math/atlas and math/atlas-devel don't have proper CONFLICTS entries in their Makefiles (this should be fixed), so the following code in portmaster, from dependency_check (): 1612 conflicts='' 1613 if pm_cd $d_port; then 1614 grep -ql ^CONFLICTS Makefile && 1615 conflicts=`pm_make_b -V CONFLICTS` 1616 else 1617 fail "Cannot cd to $d_port" 1618 fi 1619 for glob in $conflicts; do 1620 confl_p=`pkg_info -I $glob 2>/dev/null` 1621 if [ -n "$confl_p" ]; then 1622 confl_p=${confl_p%% *} 1623 echo '' 1624 echo "===>>> The dependency for ${origin}" 1625 echo " seems to be handled by $confl_p" 1626 echo '' 1627 d_port="$pd/`origin_from_pdb $confl_p`" 1628 fi 1629 done doesn't substitute your alternative dependency, math/atlas-devel, for math/atlas. Problem #2: You're using the -x flag incorrectly. Or portmaster isn't implementing it properly when the port to be excluded is not actually installed, take your pick. It's not completely fool-proof. Since you don't have math/atlas installed, the code in portmaster's dependency_check (): 1632 origin="${d_port#$pd/}" ; iport=`iport_from_origin ${origin}` 1633 1634 if [ -n "$iport" ]; then 1635 check_exclude $iport || continue 1636 else 1637 check_exclude $origin || continue 1638 fi gives origin="math/atlas", and then uses: 385 iport_from_origin () { 386 local dir 387 dir=`grep -l "@comment ORIGIN:${1}$" $pdb/*/+CONTENTS` 388 389 # It should not happen that more than one port meets this 390 # requirement, but it can if the pkg data is corrupted. 391 dir="${dir%%/+CONTENTS*}" 392 echo ${dir#$pdb/} 393 } to find that iport="" , so "check_exclude math/atlas" is called. Then, in accordance with: 1483 check_exclude () { 1484 [ -n "$PM_EXCL" ] || return 0 1485 1486 local pat 1487 1488 for pat in $PM_EXCL; do 1489 case "$1" in 1490 *${pat}*) 1491 if [ -n "$PM_VERBOSE" ]; then 1492 echo "===>>> Skipping $1" 1493 echo " because it matches the pattern: *${pat}*" 1494 echo '' 1495 fi 1496 return 1 ;; 1497 esac 1498 done 1499 1500 return 0 1501 } check_exclude tries to match your patterns in PM_EXCL against "math/atlas". But you've got "atlas-" in PM_EXCL (after portmaster's globstrip removed the trailing asterisk, negating your attempt protect it with quotes), which won't match because of the hyphen. It would have matched if math/atlas were actually installed, in which case iport="atlas-3.8.3_1,1" and portmaster would have compared iport with *atlas-*. You must use a port origin glob with the -x flag when the port that you wish to exclude isn't installed. Problem #3: The +IGNOREME checks in portmaster aren't properly implemented for this case, so they fail to prevent math/atlas from being built. To see this, Continue along in dependency_check (). Here, since iport="", dependency_check () next calls "check_interactive math/atlas": 1459 check_interactive () { 1460 [ -n "$INTERACTIVE_UPDATE" ] || return 0 1461 1462 local update_to 1463 1464 [ -n "$2" ] && update_to=" to $2" 1465 1466 case "$INTERACTIVE_YES" in *:${1}:*) return 0 ;; esac 1467 case "$INTERACTIVE_NO" in *:${1}:*) return 1 ;; esac 1468 1469 if [ -e "$pdb/$1/+IGNOREME" ]; then 1470 echo '' 1471 echo "===>>> +IGNOREME file is present for $1" 1472 fi 1473 1474 echo '' ; echo -n "===>>> Update ${1}${update_to}? [y] " 1475 local answer ; read answer 1476 case "$answer" in 1477 [nN]*) INTERACTIVE_NO="${INTERACTIVE_NO}${1}:" ; return 1 ;; 1478 *) INTERACTIVE_YES="${INTERACTIVE_YES}${1}:" ;; 1479 esac 1480 return 0 1481 } This subroutine can only fail if you've specified an interactive update and you decline to update math/atlas. If that case, portmaster will start to build math/py-numpy, and if math/atlas-devel is installed with the needed static libraries, then math/py-numpy should build normally. Apparently this didn't happen during your attempts. The +IGNOREME check is useless here because the subroutine checks only for /var/db/pkg/math/atlas/+IGNOREME, not the usual /var/db/pkg/atlas-3.8.3_1,1/+IGNOREME. Returning to dependency_check (), "update_port math/atlas" is called next, which then recursively calls "portmaster math/atlas" with many of your original flags. This jumps to 1943 # Figure out what we are going to be working on Shortly afterwards, portdir is found to be ="math/atlas", and 2020 [ -z "$upg_port" -a -z "$REPLACE_ORIGIN" ] && 2021 upg_port=`iport_from_origin ${portdir}` gives upg_port="", as before when computing iport in dependency_check (). Hence 2023 if [ -e "$pdb/$upg_port/+IGNOREME" ]; then is false, and another +IGNOREME check is bypassed. math/atlas is then built. So what can you do while these problems are being fixed? You could either: 1) Install math/atlas-devel, and use -x math/atlas on the portmaster command line; or 2) Install math/atlas-devel, and use only interactive portmaster builds in which you decline to build math/atlas; or 3) Install math/atlas-devel, and patch the math/atlas Makefile: --- ports/math/atlas/Makefile.orig 2009-11-09 01:19:21.000000000 -0500 +++ ports/math/atlas/Makefile 2009-11-09 01:15:55.000000000 -0500 @@ -22,6 +22,7 @@ USE_GMAKE= yes WRKSRC= ${WRKDIR}/ATLAS USE_LDCONFIG= yes +CONFLICTS= atlas-devel-[0-9]* .include ; or 4) Patch the math/py-numpy Makefile: --- ports/math/py-numpy/Makefile.orig 2009-11-08 20:49:13.000000000 -0500 +++ ports/math/py-numpy/Makefile 2009-11-08 20:49:30.000000000 -0500 @@ -35,7 +35,7 @@ .include .if defined(WITH_ATLAS) -LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas-devel .if !exists(${LOCALBASE}/lib/libalapack.a) IGNORE= atlas needs to be built with WITH_STATICLIB for numpy to function properly .endif ; or 5) Use portupgrade for science/gnudatalanguage and math/py-numpy, instead of portmaster, with ALT_PKGDEP set to substitute math/atlas-devel for math/atlas in pkgtools.conf; or 6) Put an +IGNOREME in directories for science/gnudatalanguage and math/py-numpy as well as math/atlas, and update these ports by hand, with make -C ... deinstall clean install ... ; or 7) (Ugly hack) Install math/atlas-devel, and then math/py-numpy, by hand. Thereafter, before each invocation of portmaster involving math/py-numpy, edit that port's registration information, switching it's math/atlas-related entries in +CONTENTS to math/atlas-devel. b. From tkjacobsen at gmail.com Mon Nov 9 07:07:44 2009 From: tkjacobsen at gmail.com (Troels Kofoed Jacobsen) Date: Mon Nov 9 07:08:17 2009 Subject: Tracking commit messages from cli In-Reply-To: <20091108222640.GH54137@isis.sigpipe.cz> References: <20091108190613.GA1486@photon.std> <20091108222640.GH54137@isis.sigpipe.cz> Message-ID: <6a3173850911082307i472e600dp111b6e9a83e85086@mail.gmail.com> On Sun, Nov 8, 2009 at 11:26 PM, Roman Neuhauser wrote: > On Sun, Nov 08, 2009 at 08:06:13PM +0100, Troels Kofoed Jacobsen wrote: >> With pkg_version I can easily see which installed ports has newer >> versions available, but what I miss is a way to see what has changed. >> The reason for this is that commit messages often say that only the >> pkg-plist has changed or something that does not make me want to update. > > ... > >> I know freshports exist, but I would rather not have to open a web >> browser. >> >> Does such a program exist or do I have to write my own. > > sorry to point out the obvious, but why not use svn (or cvs)? > As I said: "without having to track the whole tree". I know this would be a possibility, but would rather not use the convenience of portsnap. Also if the solution should be more usable for other people I would like it to be as simple as possible and not require so much overhead. Anyway, thanks for the answer -- maybe I'll just do that eventually. -- Med Venlig Hilsen Troels Kofoed Jacobsen From dougb at FreeBSD.org Mon Nov 9 07:59:32 2009 From: dougb at FreeBSD.org (Doug Barton) Date: Mon Nov 9 07:59:38 2009 Subject: math/py-numpy vs. math/atlas-devel In-Reply-To: References: Message-ID: <4AF7CBE1.70704@FreeBSD.org> First, sorry I missed the original problem report, I'm not subscribed to -questions. Usually ports questions (including those about tools) are handled on freebsd-ports@freebsd.org, but OTOH if you're not sure where to send a question it's always better to start on the -questions list. :) Second, thanks to b.f. for the very thorough analysis of the problem. I will respond and trim a bit as I go. Third, I've cc'ed maho@ since the genesis of the problem is that math/atlas and math/atlas-devel aren't setting CONFLICTS when apparently they should be. maho, if you need any help with this let me know. b. f. wrote: > Scott Bennett wrote: >> I would like to install science/gnudatalanguage but have been running >> into various obstacles. Lars Engels very kindly just fixed one of them >> (devel/lasi) (Thanks, Lars!), so now I'm on to the next one, which may not >> be a showstopper, but it's at least a nuisance. One of the gnudatalanguage >> dependencies is math/py-numpy, which, in turn, depends upon math/atlas. >> However, I have math/atlas-devel installed and do not wish to revert to an >> older, slower version of the ATLAS library. Adding a "-x atlas-\*" onto >> the portmaster command to build math/py-numpy fails to prevent portmaster >>from trying to build math/atlas. As was pointed out, that definitely won't work. With the glob patterns for exclusions, or specifying ports on the command line you want to be as conservative as possible. Also, it's not necessary to include a * at the end, portmaster will handle that for you. >> Creating a >> /var/db/pkg/atlas-3.8.3_1,1/+IGNOREME file in addition doesn't help. +IGNOREME files are only relevant to installed ports. >> How >> can I force math/py-numpy to accept the already installed math/atlas-devel >> libraries? >> Thanks in advance for any help! The easiest way for you to accomplish this would have been to use '-x atlas', the second-easiest would have been to use the -i command line option. See the man page for more information on that. > Congratulations, you've managed to defeat three sets of safeguards in > portmaster. > > Problem #1 > > math/atlas and math/atlas-devel don't have proper CONFLICTS entries in > their Makefiles (this should be fixed), Yes, this analysis was essentially correct. > Problem #2: > > You're using the -x flag incorrectly. Or portmaster isn't > implementing it properly when the port to be excluded is not actually > installed, take your pick. The way that -x is implemented currently really depends on the user's definition of the exclude pattern, and is designed to exclude things as early as possible so as to avoid what would ultimately become wasted effort. It's hard to justify modifying the code to guess that something we've already started working on might match what we think the user MEANT instead of what they SAID. > Problem #3: > > The +IGNOREME checks in portmaster aren't properly implemented for > this case, so they fail to prevent math/atlas from being built. s/properly implemented for/designed to handle/ If you think about this for a second, the entries in /var/db/pkg are exclusively related to installed ports, so trying to use an +IGNOREME file for this purpose doesn't make sense, although I can sympathize with the OPs sense of desperation here. :) > So what can you do while these problems are being fixed? Just to be clear, I didn't see anything that needs to be fixed in your message, and I hope my explanation makes it clear why. If you think that there are actual bugs that need to be fixed please feel free to create a thread on -ports to discuss them. hope this helps, Doug PS, Can't resist ... http://dougbarton.us/portmaster-proposal.html -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From guru at unixarea.de Mon Nov 9 08:37:29 2009 From: guru at unixarea.de (Matthias Apitz) Date: Mon Nov 9 08:37:37 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <20091109013816.5B1A5BE92@kev.msw.wpafb.af.mil> References: <20091105131339.GA3804@current.Sisis.de> <20091109013816.5B1A5BE92@kev.msw.wpafb.af.mil> Message-ID: <20091109083730.GA1976@current.Sisis.de> El d?a Sunday, November 08, 2009 a las 08:38:15PM -0500, Karl Vogel escribi?: > >> On Thu, 5 Nov 2009 14:13:39 +0100, > >> Matthias Apitz said: > > M> Is there some tool or something in the ports which could split a Mbox > M> file into various pieces, but having the threads together? > > Mail::Thread is a Perl implementation of Jamie Zawinski's mail threading > algorithm, as described by http://www.jwz.org/doc/threading.html. > See http://search.cpan.org/ to track it down. Hello Karl, Thanks for the pointer to that piece of code; do you know if there is some implementation of this into a cmdline tool for splitting a Mbox based on this Perl methods? Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From ohartman at zedat.fu-berlin.de Mon Nov 9 08:50:43 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Nov 9 08:50:55 2009 Subject: Installer: missing GEOM/gpart capabilities slicing disk? Message-ID: <4AF7D802.7030401@zedat.fu-berlin.de> Hello. I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a barndnew harddrive. As far as I recall partitioning a disk is now done via gpart and the limitation of having only 8 (-2) partitions from a through h except b and c is now obsoleted. When dropping into the installation process, I realised that the 8 partition boundary is still present. Is there a howto (I searched the wiki and lists without success)? I read a lot about how to install FreeBSD on op of a complete ZFS infrastructure, but key issue seems to be a hands-on partitioning of the target haddrive via the fixit procedure. Any help is appreciated. Thanks in advance, Oliver From bf1783 at googlemail.com Mon Nov 9 10:01:21 2009 From: bf1783 at googlemail.com (b. f.) Date: Mon Nov 9 10:01:34 2009 Subject: math/py-numpy vs. math/atlas-devel In-Reply-To: <4AF7CBE1.70704@FreeBSD.org> References: <4AF7CBE1.70704@FreeBSD.org> Message-ID: On 11/9/09, Doug Barton wrote: > First, sorry I missed the original problem report, I'm not subscribed > to -questions. Usually ports questions (including those about tools) > are handled on freebsd-ports@freebsd.org, but OTOH if you're not sure > where to send a question it's always better to start on the -questions > list. :) > > Second, thanks to b.f. for the very thorough analysis of the problem. > I will respond and trim a bit as I go. > > Third, I've cc'ed maho@ since the genesis of the problem is that > math/atlas and math/atlas-devel aren't setting CONFLICTS when > apparently they should be. maho, if you need any help with this let me > know. > > b. f. wrote: >> Scott Bennett wrote: >>> I would like to install science/gnudatalanguage but have been running >>> into various obstacles. Lars Engels very kindly just fixed one of them >>> (devel/lasi) (Thanks, Lars!), so now I'm on to the next one, which may >>> not >>> be a showstopper, but it's at least a nuisance. One of the >>> gnudatalanguage >>> dependencies is math/py-numpy, which, in turn, depends upon math/atlas. >>> However, I have math/atlas-devel installed and do not wish to revert to >>> an >>> older, slower version of the ATLAS library. Adding a "-x atlas-\*" onto >>> the portmaster command to build math/py-numpy fails to prevent portmaster >>>from trying to build math/atlas. > > As was pointed out, that definitely won't work. With the glob patterns > for exclusions, or specifying ports on the command line you want to be > as conservative as possible. Also, it's not necessary to include a * > at the end, portmaster will handle that for you. > >>> Creating a >>> /var/db/pkg/atlas-3.8.3_1,1/+IGNOREME file in addition doesn't help. > > +IGNOREME files are only relevant to installed ports. > >>> How >>> can I force math/py-numpy to accept the already installed >>> math/atlas-devel >>> libraries? >>> Thanks in advance for any help! > > The easiest way for you to accomplish this would have been to use '-x > atlas', the second-easiest would have been to use the -i command line > option. See the man page for more information on that. > >> Congratulations, you've managed to defeat three sets of safeguards in >> portmaster. >> >> Problem #1 >> >> math/atlas and math/atlas-devel don't have proper CONFLICTS entries in >> their Makefiles (this should be fixed), > > Yes, this analysis was essentially correct. > >> Problem #2: >> >> You're using the -x flag incorrectly. Or portmaster isn't >> implementing it properly when the port to be excluded is not actually >> installed, take your pick. > > The way that -x is implemented currently really depends on the user's > definition of the exclude pattern, and is designed to exclude things > as early as possible so as to avoid what would ultimately become > wasted effort. It's hard to justify modifying the code to guess that > something we've already started working on might match what we think > the user MEANT instead of what they SAID. > >> Problem #3: >> >> The +IGNOREME checks in portmaster aren't properly implemented for >> this case, so they fail to prevent math/atlas from being built. > > s/properly implemented for/designed to handle/ > > If you think about this for a second, the entries in /var/db/pkg are > exclusively related to installed ports, so trying to use an +IGNOREME > file for this purpose doesn't make sense, although I can sympathize > with the OPs sense of desperation here. :) > >> So what can you do while these problems are being fixed? > > Just to be clear, I didn't see anything that needs to be fixed in your > message, and I hope my explanation makes it clear why. If you think > that there are actual bugs that need to be fixed please feel free to > create a thread on -ports to discuss them. > The CONFLICTS for math/atlas* should be fixed, as you remarked. As for portmaster, I'll allow that your choices were reasonable, but it would be wise to note in the manpage that: 1) +IGNOREME files only work with installed ports (just because the package database is naturally associated with installed ports doesn't mean that someone won't create an +IGNOREME for one that isn't installed), and 2) when trying to prevent the build or installation of a port that is not currently installed, the exclusion glob will be compared with the port directory, rather than the PKGNAME, as is done for installed packages. Using something like: #!/bin/sh for _dir in `make -C /usr/ports -V SUBDIR` ; do for _dir2 in `make -C /usr/ports/${_dir} -V SUBDIR` ; do _pkgname=`make -C /usr/ports/${_dir}/${_dir2} -V PKGNAME` case "${_dir}/${_dir2}" in *${_pkgname%%-[0-9]*}*) ;; *) echo "${_dir}/${_dir2} ${_pkgname}" ;; esac ; done ; done one can find a number of ports that might surprise a user that was not aware of this fact. And with regard to the selection of exclusion globs, we should note that a glob that matches too many ports may be as problematic as one that matches too few. b. From ohartman at zedat.fu-berlin.de Mon Nov 9 10:16:23 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Nov 9 10:16:30 2009 Subject: MSI RAdeon R4670/512 and xf86-video-ati/xf86-video-radeonhd-devel crashes! Message-ID: <4AF7EC16.6050707@zedat.fu-berlin.de> Hello. Please respond also to my eMail address, since I'm not subscriber of these lists! Thanks. Since I utilise a MSI Radeon R4670/512 RV730-based graphics card, I'im incapable of using either x11-drivers/xf86-video-ati or x11-drivers/xf86-video-radeonhd[-devel] The box is a ASUS P5K-Premium based system (Intel P35 chipset, CPU Intel Q6600), running FreeBSD 8.0-RC2/amd64 successfully. The X11 subsystem ist the most recent as one can find in the ports collection. I'll attach the logfile of the currently running Xserver. My box got a new 24 inch TFT display so using VESA driver or lower resolutions than 1920x1200 isn't acceptable. The situation is as follows: In all cases it doesn't matter wheter kernel module 'drm.ko' is loaded or not. Driver 'radeon' (x11-drivers/xf86-video-ati) crashes the box immediately without any messages. I can see the xdm-login requester, but just before this shows up, I realise that the mousepointer sprite gets a kind of 'distorted', it shows up some 'stripes'. They vanish. When log in and the desktop is about to show up (using windowmaker), the screen stays black, the box crahes and in some lucky situations, it reboots, in less lucky situations it remains frozen. Driver 'radeonhd' (xf86-video-radeonhd-1.2.5_2) works, but without 'options EXA' and without 'options DRI'. It is bumpy, but shows a 1920x1200 pixel screen in full colours. Driver 'radeonhd' (xf86-video-radeonhd-1.3.0) doesn't work, it shows the same behaviour as 'radeon' (xf86-video-ati). I can wathc the mouse pointer sprite getting striped and a kind of distorted, then the box crashes. Those crashes occur mostly when switching from xdm-login requester to desktop. In some cases I can switch to the console (pressing ctrl-alt-[F1--F7]), but at some point, this also freezes/crashes the box. I'm a little bit confused, since the ATi-RV730LE chipset is supposed to be supported. I run another box, an older nVidia CK804-based Athlon3500+ box equipted with a MSI R4830/512 graphics card. The same base OS (FreeBSD 8.0-RC2/amd64. The graphics board runs perfectly with ALL(!) radeon-type drivers, options EXA and DRI enabled, kernel module drm.ko loaded. Can someone help? Since I do not have Windows XP/Vista/7 running on the box in question, I can not update the firmware of the MSI R4760 with a potentially existing firmware-update (since those tasks can only be performed via a special software from MSI running on XP/Vista as far as I know). Thanks in advance, Oliver From bennett at cs.niu.edu Mon Nov 9 10:37:56 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Mon Nov 9 10:38:04 2009 Subject: math/py-numpy vs. math/atlas-devel Message-ID: <200911091037.nA9Abq9b021278@mp.cs.niu.edu> On Sun, 08 Nov 2009 23:59:29 -0800 Doug Barton wrote: >First, sorry I missed the original problem report, I'm not subscribed >to -questions. Usually ports questions (including those about tools) >are handled on freebsd-ports@freebsd.org, but OTOH if you're not sure >where to send a question it's always better to start on the -questions >list. :) The responses I got the last time I posted something to -ports convinced me not to post there anymore. I'm still subscribed, however, so I still see what transpires there. > >Second, thanks to b.f. for the very thorough analysis of the problem. Yes, indeed, thanks. It was fascinating. >I will respond and trim a bit as I go. > >Third, I've cc'ed maho@ since the genesis of the problem is that >math/atlas and math/atlas-devel aren't setting CONFLICTS when >apparently they should be. maho, if you need any help with this let me >know. I've left the Cc in as well because IIRC, Maho was heavily involved in the upgrade of immense numbers of ports to gfortran42. The next obstacle in math/py-numpy outlined further below may well be a missed relic of that effort. > >b. f. wrote: >> Scott Bennett wrote: >>> I would like to install science/gnudatalanguage but have been running >>> into various obstacles. Lars Engels very kindly just fixed one of them >>> (devel/lasi) (Thanks, Lars!), so now I'm on to the next one, which may not >>> be a showstopper, but it's at least a nuisance. One of the gnudatalanguage >>> dependencies is math/py-numpy, which, in turn, depends upon math/atlas. >>> However, I have math/atlas-devel installed and do not wish to revert to an >>> older, slower version of the ATLAS library. Adding a "-x atlas-\*" onto >>> the portmaster command to build math/py-numpy fails to prevent portmaster >>>from trying to build math/atlas. > >As was pointed out, that definitely won't work. With the glob patterns >for exclusions, or specifying ports on the command line you want to be >as conservative as possible. Also, it's not necessary to include a * >at the end, portmaster will handle that for you. > >>> Creating a >>> /var/db/pkg/atlas-3.8.3_1,1/+IGNOREME file in addition doesn't help. > >+IGNOREME files are only relevant to installed ports. > >>> How >>> can I force math/py-numpy to accept the already installed math/atlas-devel >>> libraries? >>> Thanks in advance for any help! > >The easiest way for you to accomplish this would have been to use '-x >atlas', the second-easiest would have been to use the -i command line >option. See the man page for more information on that. Yes, thanks much to both of you. Cutting the option back to just "-x atlas" did the trick, allowing math/atlas to be skipped. Here's what it looks like giving the desired action: ===>>> Port directory: /usr/ports/math/py-numpy ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for math/py-numpy in background ===>>> Gathering dependency list for math/py-numpy from ports ===>>> Starting recursive 'make config' check ===>>> Checking dependency: devel/py-nose ===>>> Launching child to update devel/py-nose math/py-numpy >> devel/py-nose ===>>> Port directory: /usr/ports/devel/py-nose ===>>> Launching 'make checksum' for devel/py-nose in background ===>>> Gathering dependency list for devel/py-nose from ports ===>>> Starting recursive 'make config' check ===>>> Checking dependency: devel/py-setuptools ===>>> Checking dependency: lang/python26 ===>>> Recursive 'make config' check complete for devel/py-nose math/py-numpy >> devel/py-nose ===>>> Continuing 'make config' dependency check for math/py-numpy ===>>> Checking dependency: lang/gcc44 ===>>> Checking dependency: lang/python26 ===>>> Checking dependency: math/atlas ===>>> Skipping math/atlas because it matches the pattern: *atlas* ===>>> Checking dependency: math/suitesparse ===>>> Recursive 'make config' check complete for math/py-numpy ===>>> Starting build for math/py-numpy <<<=== ===>>> Starting check for build dependencies ===>>> Gathering dependency list for math/py-numpy from ports ===>>> Starting dependency check ===>>> Checking dependency: lang/gcc44 ===>>> Checking dependency: lang/python26 ===>>> Checking dependency: math/atlas ===>>> Skipping math/atlas because it matches the pattern: *atlas* ===>>> Checking dependency: math/suitesparse ===>>> Dependency check complete for math/py-numpy ===> Cleaning for py26-numpy-1.3.0_2,1 ===> Found saved configuration for py26-numpy-1.3.0_2,1 ===> Extracting for py26-numpy-1.3.0_2,1 > >> Congratulations, you've managed to defeat three sets of safeguards in >> portmaster. Sigh. It has *always* been that way for me. By age 15 I was already stumbling over compiler bugs, library bugs, operating system bugs, and even the occasional, very peculiar sort of hardware bug. It's enough to make one believe in gremlins developing interests in areas other than aviation. :-} In the great majority of those cases, I wasn't doing anything out of the ordinary, but somehow I managed to trigger the bugs anyway. >> >> Problem #1 >> >> math/atlas and math/atlas-devel don't have proper CONFLICTS entries in >> their Makefiles (this should be fixed), > >Yes, this analysis was essentially correct. Okay. > >> Problem #2: >> >> You're using the -x flag incorrectly. Or portmaster isn't >> implementing it properly when the port to be excluded is not actually >> installed, take your pick. > >The way that -x is implemented currently really depends on the user's >definition of the exclude pattern, and is designed to exclude things >as early as possible so as to avoid what would ultimately become >wasted effort. It's hard to justify modifying the code to guess that >something we've already started working on might match what we think >the user MEANT instead of what they SAID. > Understood. As noted above, it does work correctly with the shorter string. >> Problem #3: >> >> The +IGNOREME checks in portmaster aren't properly implemented for >> this case, so they fail to prevent math/atlas from being built. > >s/properly implemented for/designed to handle/ > >If you think about this for a second, the entries in /var/db/pkg are >exclusively related to installed ports, so trying to use an +IGNOREME >file for this purpose doesn't make sense, although I can sympathize >with the OPs sense of desperation here. :) Actually, it does make sense, or at least I thought so. If a directory for atlas exists in /var/db/pkg, presumably portmaster will think that the port *is* installed, even if it is not, in fact, installed. Then the +IGNOREME file in that directory ought to prevent further action on that port. > >> So what can you do while these problems are being fixed? > >Just to be clear, I didn't see anything that needs to be fixed in your >message, and I hope my explanation makes it clear why. If you think >that there are actual bugs that need to be fixed please feel free to >create a thread on -ports to discuss them. > Anyway, the math/py-numpy port now proceeds to build without bothering with math/atlas. It quickly goes astray when it doesn't recognize that any of gfortran4[345] has been installed--I guess there no longer is a FORTRAN compiler included in the base system--and instead tries to use lang/g95, which has also been installed. Of course, this won't work because the ATLAS library needs to have been compiled with the same compiler as the programs that use it. ===> Configuring for py26-numpy-1.3.0_2,1 Running from numpy source directory. F2PY Version 2 blas_opt_info: blas_mkl_info:  libraries mkl,vml,guide not found in /usr/lib  libraries mkl,vml,guide not found in /usr/local/lib  libraries mkl,vml,guide not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../  NOT AVAILABLE  atlas_blas_threads_info: Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS  FOUND:  libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r']  library_dirs = ['/usr/local/lib']  language = c  include_dirs = ['/usr/local/include']  /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/command/config.py:361: DeprecationWarning: +++++++++++++++++++++++++++++++++++++++++++++++++ Usage of get_output is deprecated: please do not use it anymore, and avoid configuration checks involving running executable on the target machine. +++++++++++++++++++++++++++++++++++++++++++++++++ DeprecationWarning) customize GnuFCompiler Found executable /usr/local/bin/gfortran44 gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using config compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 -fPIC  compile options: '-c' gcc44: _configtest.c gcc44 _configtest.o -L/usr/local/lib -lalapack_r -lf77blas_r -lcblas_r -latlas_r -o _configtest /usr/bin/ld: _configtest: hidden symbol `__powisf2' in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) is referenced by DSO collect2: ld returned 1 exit status /usr/bin/ld: _configtest: hidden symbol `__powisf2' in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) is referenced by DSO collect2: ld returned 1 exit status failure. removing: _configtest.c _configtest.o Status: 255 Output:   FOUND:  libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r']  library_dirs = ['/usr/local/lib']  language = c  define_macros = [('NO_ATLAS_INFO', 2)]  include_dirs = ['/usr/local/include']  lapack_opt_info: lapack_mkl_info: mkl_info:  libraries mkl,vml,guide not found in /usr/lib  libraries mkl,vml,guide not found in /usr/local/lib  libraries mkl,vml,guide not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../  NOT AVAILABLE   NOT AVAILABLE  atlas_threads_info: Setting PTATLAS=ATLAS  libraries lapack_atlas not found in /usr/local/lib numpy.distutils.system_info.atlas_threads_info Setting PTATLAS=ATLAS /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/system_info.py:999: UserWarning: ********************************************************************* Lapack library (from ATLAS) is probably incomplete: size of /usr/local/lib/libalapack_r.so is 3832k (expected >4000k) Follow the instructions in the KNOWN PROBLEMS section of the file numpy/INSTALL.txt. ********************************************************************* warnings.warn(message) The above sequence gets more or less repeated several more times, and after much compiling, running of python26, and other activities, the process runs aground as follows. creating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft compile options: '-Inumpy/core/include -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' gcc44: numpy/fft/fftpack_litemodule.c gcc44: numpy/fft/fftpack.c cc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_litemodule.o build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack.o -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -o build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_lite.so building 'numpy.linalg.lapack_lite' extension compiling C sources C compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 -fPIC  creating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg compile options: '-DATLAS_INFO="\"3.9.11\"" -I/usr/local/include -Inumpy/core/include -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' gcc44: numpy/linalg/lapack_litemodule.c gcc44: numpy/linalg/python_xerbla.c cc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so /usr/bin/ld: cannot find -lgfortran /usr/bin/ld: cannot find -lgfortran error: Command "cc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so" failed with exit status 1 *** Error code 1 Stop in /usr/ports/math/py-numpy. ===>>> make failed for math/py-numpy ===>>> Aborting update I looked in /usr/local/lib and didn't spot libraries by name for gfortran[345], so I assume they have either been renamed or included in with the corresponding gcc libraries. What is the best way to proceed? Will simply deleting the instances of "-lgfortran" do the job? Or do I need to specify the library explicitly? Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From communication at linkedin.com Mon Nov 9 11:50:39 2009 From: communication at linkedin.com (LinkedIn Communication) Date: Mon Nov 9 11:50:51 2009 Subject: LinkedIn Messages, 11/09/2009 Message-ID: <55818555.5004086.1257765754131.JavaMail.app@ech3-cdn09.prod> LinkedIn ------------ REMINDERS: Invitation Reminders: * View Invitation from Leandro Silva http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1497860734_2/39vd3cTc3oUdPAQckALqnpPbOYWrSlI/svi/ * View Invitation from Artem Kazakov http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1507158794_2/39vd3ATe3kNdP0RckALqnpPbOYWrSlI/svi/ * View Invitation from Andrew Falanga http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536239637_2/39vdPcSejcOdzcRckALqnpPbOYWrSlI/svi/ * View Invitation from Siju George http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536383359_2/39vejkPcPwPdzcRckALqnpPbOYWrSlI/svi/ PENDING MESSAGES: There are a total of 66 messages awaiting your response. Visit your InBox now: http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/inb/ ------ Don't want to receive email notifications? Adjust your message settings: https://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/prv/ LinkedIn values your privacy. At no time has LinkedIn made your email address available to any other LinkedIn user without your permission. (c) 2009, LinkedIn Corporation. From rnoland at FreeBSD.org Mon Nov 9 12:38:33 2009 From: rnoland at FreeBSD.org (Robert Noland) Date: Mon Nov 9 12:38:42 2009 Subject: MSI RAdeon R4670/512 and xf86-video-ati/xf86-video-radeonhd-devel crashes! In-Reply-To: <4AF7EC16.6050707@zedat.fu-berlin.de> References: <4AF7EC16.6050707@zedat.fu-berlin.de> Message-ID: <1257770304.27939.24.camel@balrog.2hip.net> On Mon, 2009-11-09 at 10:16 +0000, O. Hartmann wrote: > Hello. > > Please respond also to my eMail address, since I'm not subscriber of > these lists! Thanks. > > Since I utilise a MSI Radeon R4670/512 RV730-based graphics card, I'im > incapable of using either > > x11-drivers/xf86-video-ati or > x11-drivers/xf86-video-radeonhd[-devel] Try updating xf86-video-ati, patch attached. robert. > > The box is a ASUS P5K-Premium based system (Intel P35 chipset, CPU Intel > Q6600), running FreeBSD 8.0-RC2/amd64 successfully. The X11 subsystem > ist the most recent as one can find in the ports collection. I'll attach > the logfile of the currently running Xserver. > > My box got a new 24 inch TFT display so using VESA driver or lower > resolutions than 1920x1200 isn't acceptable. The situation is as follows: > > In all cases it doesn't matter wheter kernel module 'drm.ko' is loaded > or not. > > Driver 'radeon' (x11-drivers/xf86-video-ati) crashes the box immediately > without any messages. I can see the xdm-login requester, but just > before this shows up, I realise that the mousepointer sprite gets a kind > of 'distorted', it shows up some 'stripes'. They vanish. When log in and > the desktop is about to show up (using windowmaker), the screen stays > black, the box crahes and in some lucky situations, it reboots, in less > lucky situations it remains frozen. > > Driver 'radeonhd' (xf86-video-radeonhd-1.2.5_2) works, but without > 'options EXA' and without 'options DRI'. It is bumpy, but shows a > 1920x1200 pixel screen in full colours. > > Driver 'radeonhd' (xf86-video-radeonhd-1.3.0) doesn't work, it shows the > same behaviour as 'radeon' (xf86-video-ati). I can wathc the mouse > pointer sprite getting striped and a kind of distorted, then the box > crashes. > > Those crashes occur mostly when switching from xdm-login requester to > desktop. In some cases I can switch to the console (pressing > ctrl-alt-[F1--F7]), but at some point, this also freezes/crashes the box. > > I'm a little bit confused, since the ATi-RV730LE chipset is supposed to > be supported. I run another box, an older nVidia CK804-based Athlon3500+ > box equipted with a MSI R4830/512 graphics card. The same base OS > (FreeBSD 8.0-RC2/amd64. The graphics board runs perfectly with ALL(!) > radeon-type drivers, options EXA and DRI enabled, kernel module drm.ko > loaded. > > Can someone help? Since I do not have Windows XP/Vista/7 running on the > box in question, I can not update the firmware of the MSI R4760 with a > potentially existing firmware-update (since those tasks can only be > performed via a special software from MSI running on XP/Vista as far as > I know). > > Thanks in advance, > Oliver > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Robert Noland FreeBSD -------------- next part -------------- A non-text attachment was scrubbed... Name: xf86-video-ati.patch Type: text/x-patch Size: 1264 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091109/bfaad2c4/xf86-video-ati.bin From claytonwilhelm_r at yahoo.com.br Mon Nov 9 12:27:56 2009 From: claytonwilhelm_r at yahoo.com.br (Clayton Wilhelm da Rosa) Date: Mon Nov 9 12:54:00 2009 Subject: amd64 Message-ID: <977915.10686.qm@web56206.mail.re3.yahoo.com> Hi, i made the download of FreeBSD amd64 and i wanna know if the amd64 is the same as x86_x64. thank you very much. ____________________________________________________________________________________ Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com From bruce at cran.org.uk Mon Nov 9 13:21:14 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Mon Nov 9 13:21:22 2009 Subject: amd64 In-Reply-To: <977915.10686.qm@web56206.mail.re3.yahoo.com> References: <977915.10686.qm@web56206.mail.re3.yahoo.com> Message-ID: <20091109131954.00006b53@unknown> On Mon, 9 Nov 2009 04:27:54 -0800 (PST) Clayton Wilhelm da Rosa wrote: > Hi, > > i made the download of FreeBSD amd64 and i wanna know if the amd64 is > the same as x86_x64. Yes, it's the same. amd64, x86_64 and x64 are all the same architecture. -- Bruce Cran From doconnor at gsoft.com.au Mon Nov 9 15:40:48 2009 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Mon Nov 9 15:40:56 2009 Subject: Installer: missing GEOM/gpart capabilities slicing disk? In-Reply-To: <4AF7D802.7030401@zedat.fu-berlin.de> References: <4AF7D802.7030401@zedat.fu-berlin.de> Message-ID: <200911091640.35419.doconnor@gsoft.com.au> [ -current CC dropped ] On Mon, 9 Nov 2009, O. Hartmann wrote: > I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a > barndnew harddrive. As far as I recall partitioning a disk is now > done via gpart and the limitation of having only 8 (-2) partitions > from a through h except b and c is now obsoleted. When dropping into > the installation process, I realised that the 8 partition boundary is > still present. > Is there a howto (I searched the wiki and lists without success)? I > read a lot about how to install FreeBSD on op of a complete ZFS > infrastructure, but key issue seems to be a hands-on partitioning of > the target haddrive via the fixit procedure. sysinstall does not [yet] do GPT partitions, I believe someone is working on patches but I have no idea what state they are in. Also, I didn't think that bsdlabel was limited to 8 partitions, however I'm not certain. BTW gpart does many partition types not just MBR and GPT. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091109/1a2a1bae/attachment.pgp From korvus at comcast.net Mon Nov 9 15:48:55 2009 From: korvus at comcast.net (Steve Polyack) Date: Mon Nov 9 15:49:08 2009 Subject: mfi(4) lockups and the adapter event log Message-ID: <4AF839E5.10303@comcast.net> Hello, We saw an odd crash (more of a lockup) on one of our Dell's with a PERC5/i RAID controller (running 6.3-RELEASE-p10): mfi0: COMMAND 0xffffffff89dab0e8 TIMEOUT AFTER 31 SECONDS (repeated many times with different commands) mfi0: 3325 (310696326s/0x0020/4) - Type 18: Fatal firmware error: Line 1091 in ../../raid/verdeMain.c After some troubleshooting with Dell, they determined that there was no problem. An OpenManage live CD was used to run their diagnostic utilities, which turned up nothing. However, after rebooting the system and checking dmesg(8), it could be seen that the adapter was doing some weird things during initialization. It seemed to be going through the whole initialization cycle (Firmware initialization started....) up to five times. This does not jive with our other mfi/PERC5 systems. In addition to the multiple init cycles it was also printing weeks worth of messages from the adapter's event log (mostly battery relearns). Checking the event log with linux-megacli showed TONS of messages. Trying to clear them using linux-megacli seemed to cause a similar lockup, filled with command timeouts, but no fatal firmware error. We ended up clearing the event log using a linux live CD and the linux native MegaCLI binaries. The system hasn't locked up again since, but we're not sure what caused it in the first place. Has anyone else seen any kind of oddities with the PERC series of controllers and the adapter's event log? Does it just fill up after a while and start to cause trouble? I seem to remember a similar post recommending a cleaning of the event logs every so often. Thanks, Steve From npapke at acm.org Mon Nov 9 16:41:46 2009 From: npapke at acm.org (Norbert Papke) Date: Mon Nov 9 16:41:53 2009 Subject: FreeBSD-8.0-RC2 problems In-Reply-To: References: Message-ID: <200911090841.44250.npapke@acm.org> On November 6, 2009, Masoom Shaikh wrote: > problem # 1 > The problem is KDE4 is not able to display anti aliased fonts. I have made > the required changes to make it work, of course, in System Settings -> > Appearance -> Fonts > Hinting -> Full, and there is is one more option, the name i cannot recall > ATM, I have set it to RGB. DPI to 96......this is has worked for all > combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to > KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 My guess is that "print/freetype2" is not built with anti-aliasing support. Rebuild it specifying "WITH_LCD_FILTERING" . See also http://www.freebsd.org/cgi/query-pr.cgi?pr=139603 Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field From freebsd-questions-local at be-well.ilk.org Mon Nov 9 16:52:33 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon Nov 9 16:52:41 2009 Subject: 7.2-p4 serial console not showing kernel messages? In-Reply-To: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> (Sven Hazejager's message of "Sun, 8 Nov 2009 19:27:59 +0100") References: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> Message-ID: <44y6mftzch.fsf@be-well.ilk.org> Sven Hazejager writes: > I'm having trouble getting 7.2-p4 to run. I'm using nanoBSD, either > under VMware using a virtual serial null-modem or on an Alix > Soekris-like serial-only CF-based device, both show this problem: my > serial console does not display kernel messages, they all go to the > VGA console! > > I'm using the nanoBSD cust_comsole function to enable the console. > Relevant files are shown here: > > /boot.config: > -h -S57600 > > /etc/ttys, only one line is "on": > ttyd0 "/usr/libexec/getty std.57600" xterm on secure > > These are still in my kernel conf, if I remove these I get no kernel > messages at all (kernel boots fine with this though): > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device kbdmux # keyboard multiplexer > device vga # VGA video card driver > > I have also tried to set this in the loader, no luck: > hint.sio.0.flags="0x30" > > On the serial console, I see the boot manager (boot0) and the loader > just fine. "show" in the loader says "console=comconsole" so that > seems to be fine. However all kernel output goes to the VGA console. I > *do* get a login prompt after a while on the serial console though. > > If I boot the same kernel over PXE on the ALIX, the kernel messages > *do* go to the serial console... > > What am I overlooking? Checking the obvious: syslog.conf is configured to send the messages to the console? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From rsmith at xs4all.nl Mon Nov 9 17:16:45 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Nov 9 17:16:52 2009 Subject: MSI RAdeon R4670/512 and xf86-video-ati/xf86-video-radeonhd-devel crashes! In-Reply-To: <4AF7EC16.6050707@zedat.fu-berlin.de> References: <4AF7EC16.6050707@zedat.fu-berlin.de> Message-ID: <20091109171642.GB42159@slackbox.xs4all.nl> On Mon, Nov 09, 2009 at 10:16:54AM +0000, O. Hartmann wrote: > Hello. > > Please respond also to my eMail address, since I'm not subscriber of > these lists! Thanks. > > Since I utilise a MSI Radeon R4670/512 RV730-based graphics card, I'im > incapable of using either Support for this chip is still developing. Accellerated 3D is not available yet, and EXA might not be complete yet. > In all cases it doesn't matter wheter kernel module 'drm.ko' is loaded > or not. You also need radeon.ko and agp.ko for accelleration. As far as I can tell, agp.ko is used for memory management for the card/driver and is necessary even if your card is PCI-E. > Driver 'radeonhd' (xf86-video-radeonhd-1.2.5_2) works, but without > 'options EXA' and without 'options DRI'. It is bumpy, but shows a > 1920x1200 pixel screen in full colours. DRI for R7xx isn't there yet. If you want to test a more recent radeonhd driver than the one in ports, you might have to use the drm and radeon modules from the Xorg git repository as well. > I'm a little bit confused, since the ATi-RV730LE chipset is supposed to > be supported. I run another box, an older nVidia CK804-based Athlon3500+ > box equipted with a MSI R4830/512 graphics card. That is an RV770, not a RV730. The Xorg developers are working on the drivers for the R7xx series. Full documentation wasn't available until a couple of months ago IIRC, so some patience is required. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091109/3a73a489/attachment.pgp From masoom.shaikh at gmail.com Mon Nov 9 17:26:27 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Mon Nov 9 17:26:36 2009 Subject: FreeBSD-8.0-RC2 problems In-Reply-To: <20091109004106.GI54137@isis.sigpipe.cz> References: <20091109004106.GI54137@isis.sigpipe.cz> Message-ID: > > my wlan0 is created for wpi0 (I start the wifi with > /etc/rc.d/wpa_supplicant onestart wlan0): > > wlans_wpi0=wlan0 > ifconfig_wlan0="NOAUTO DHCP WPA" > > what's in your rc.conf? > wlans_wpi0="wlan0" ifconfig_wlan0="DHCP WPA" do I really need to put wlan0 in quotes ? cud that be the problem ? will try now removing them > > > How can i install all files under /etc from the source ? > > cd /usr/src && mergemaster -i > thanks, i was thinking my /etc was fu*ked From sven at hazejager.nl Mon Nov 9 17:28:12 2009 From: sven at hazejager.nl (Sven Hazejager) Date: Mon Nov 9 17:28:19 2009 Subject: 7.2-p4 serial console not showing kernel messages? In-Reply-To: <44y6mftzch.fsf@be-well.ilk.org> References: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> <44y6mftzch.fsf@be-well.ilk.org> Message-ID: <8ffccde70911090927uffa842ewabb50d8826027d3a@mail.gmail.com> On Mon, Nov 9, 2009 at 17:52, Lowell Gilbert wrote: > Checking the obvious: syslog.conf is configured to send the messages to > the console? Haven't touched syslog.conf but this all happens before syslog is even starting. The problem is that the console is VGA, even though I have "console=comconsole" AND boot.config containing "-h" AND sio.0.flags 0x30. Has anyone actually gotten a serial console to work with FreeBSD 7.2-release? I'm having the same problems with 7-STABLE. Sven From masoom.shaikh at gmail.com Mon Nov 9 17:46:08 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Mon Nov 9 17:46:15 2009 Subject: [kde-freebsd] FreeBSD-8.0-RC2 problems In-Reply-To: <07c4f4ba46c2c97a1092fe2cc108f375@ringofsaturn.com> References: <07c4f4ba46c2c97a1092fe2cc108f375@ringofsaturn.com> Message-ID: On Fri, Nov 6, 2009 at 2:41 PM, Rusty Nejdl wrote: > On Fri, 6 Nov 2009 17:33:00 +0530, Masoom Shaikh > wrote: > > Hello, > > Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 > installation. building and installing was smooth as always has been. Then I > pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with > my experience > > problem # 1 > The problem is KDE4 is not able to display anti aliased fonts. I have made > the required changes to make it work, of course, in System Settings -> > Appearance -> Fonts > Hinting -> Full, and there is is one more option, the name i cannot recall > ATM, I have set it to RGB. DPI to 96......this is has worked for all > combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to > KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 > > problem # 2 > I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due > to no reason. The pain is I don't get a core dump. When it freezes the only > option is to hard boot by reseting the power. This might need more > information to guess the cause. I will give basic info. This is Dell > Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi > driver, no proof, just my gut feeling. > > problem # 3 > starting with 8.0 wpi driver no longer is the interface, wlanX is to be > created. this is not news, but every time I manually create the wlan0 > interface and spawn wpa_supplicant. This shuould be automatic, as I have > followed the guidelines of rc.conf(5). I can provide output of > rc_debug="YES" if someone is willing. How can i install all files under /etc > from the source ? > > Masoom Shaikh > > Regarding #2, I suggest disabling ACPI. I also had system freezes > happen on my computer until I did this but this has always been an ongoing > issue with my system and I lose nothing by turning it off. > > Sincerely, > Rusty Nejdl > http://networking.ringofsaturn.com > how do we disable acpi ? is it hw.acpi.disable_on_reboot ? if it is I guess I shud set it to 1 in loader.conf, it still remains 0 From dougb at FreeBSD.org Mon Nov 9 18:08:45 2009 From: dougb at FreeBSD.org (Doug Barton) Date: Mon Nov 9 18:09:18 2009 Subject: math/py-numpy vs. math/atlas-devel In-Reply-To: References: <4AF7CBE1.70704@FreeBSD.org> Message-ID: <4AF85AAB.2050305@FreeBSD.org> b. f. wrote: > 1) +IGNOREME files only work with installed ports (just because the > package database is naturally associated with installed ports doesn't > mean that someone won't create an +IGNOREME for one that isn't > installed), and > 2) when trying to prevent the build or installation of a port that is > not currently installed, the exclusion glob will be compared with the > port directory, rather than the PKGNAME, as is done for installed > packages. I've updated my working copy of the man page with these suggestions, thanks! > And with regard to the selection of exclusion > globs, we should note that a glob that matches too many ports may be > as problematic as one that matches too few. But, of course. :) Regexp creation is both one of the rites of passage for all system administrators and a never-ending journey. If the -x or other glob option is not suitable there are always other options. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From rnejdl at ringofsaturn.com Mon Nov 9 18:18:40 2009 From: rnejdl at ringofsaturn.com (Rusty Nejdl) Date: Mon Nov 9 18:18:58 2009 Subject: [kde-freebsd] FreeBSD-8.0-RC2 problems In-Reply-To: References: <07c4f4ba46c2c97a1092fe2cc108f375@ringofsaturn.com> Message-ID: <4ead54d2413c6d18bf7bcc4c00d21d5b@ringofsaturn.com> On Mon, 9 Nov 2009 17:46:06 +0000, Masoom Shaikh wrote: On Fri, Nov 6, 2009 at 2:41 PM, Rusty Nejdl wrote: On Fri, 6 Nov 2009 17:33:00 +0530, Masoom Shaikh wrote: Hello, Last Saturday I installed 8.0-RC2 from source by compiling on 7.1 installation. building and installing was smooth as always has been. Then I pkg_add'ed xorg and KDE4, this was painless too. I am very disappointed with my experience problem # 1 The problem is KDE4 is not able to display anti aliased fonts. I have made the required changes to make it work, of course, in System Settings -> Appearance -> Fonts Hinting -> Full, and there is is one more option, the name i cannot recall ATM, I have set it to RGB. DPI to 96......this is has worked for all combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 problem # 2 I observed that both FreeBSD8.0-RC1 and FreeBSD8.0-RC2, simply freeze due to no reason. The pain is I don't get a core dump. When it freezes the only option is to hard boot by reseting the power. This might need more information to guess the cause. I will give basic info. This is Dell Inspiron 1525 Laptop, with Intel Core2. My suspect mostly goes to wpi driver, no proof, just my gut feeling. problem # 3 starting with 8.0 wpi driver no longer is the interface, wlanX is to be created. this is not news, but every time I manually create the wlan0 interface and spawn wpa_supplicant. This shuould be automatic, as I have followed the guidelines of rc.conf(5). I can provide output of rc_debug="YES" if someone is willing. How can i install all files under /etc from the source ? Masoom Shaikh Regarding #2, I suggest disabling ACPI. I also had system freezes happen on my computer until I did this but this has always been an ongoing issue with my system and I lose nothing by turning it off. Sincerely, Rusty Nejdl http://networking.ringofsaturn.com [3] how do we disable acpi ? is it hw.acpi.disable_on_reboot ? if it is I guess I shud set it to 1 in loader.conf, it still remains 0 You can disable APIC support with hint.apic.0.disabled="1" in loader.conf. http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html Sincerely, Rusty Nejdl http://networking.ringofsaturn.com Links: ------ [1] mailto:rnejdl@ringofsaturn.com [2] mailto:masoom.shaikh@gmail.com [3] http://networking.ringofsaturn.com From kdk at daleco.biz Mon Nov 9 18:34:03 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Mon Nov 9 18:34:20 2009 Subject: Remote ssh tunnel in background or script? Message-ID: <4AF85FC9.10103@daleco.biz> Greetings! I have a client who recently dropped static IP service in favor of a "cheaper" solution, so they're now on a DHCP network blocking port 25, etc. In order to continue to allow them to connect to an outbound SMTP box on the LAN, I've done this on their server: sudo ssh -L thisbox:24:remotebox:52525 me@remotebox I've got Sendmail listening there on 52525, and it works fine; the local clients are told to connect to "thisbox" port 24. The only issue is that I have to run it from a terminal session. When I tried to bg the process ("cmdstring &") it doesn't work, exactly. I've gotten an error message at times*, and at other times I apparently get "thisbox" listening on port 24 but it's not an SMTP daemon that's listening. I have a feeling it's cause I'm in csh, which is notorious for backgrounding issues. At any rate, what I'd like to do is have a script set up the connection, or write some daemon that would monitor the connection and fix it if it gets reset. At any rate, if I could get this SSH process to detach from a terminal, it'd be great. Any suggestions? Kevin Kinsey * I'm sorry, but I can't reproduce the error message this morning. IIRC, something to the effect of "I can't do nothing, give me a command please?" From psteele at maxiscale.com Mon Nov 9 18:56:34 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon Nov 9 18:56:41 2009 Subject: Converting a bootable USB stick in to bootable CD-ROM Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F260@MBX03.exg5.exghost.com> I have a FreeBSD image that I install on USB sticks to build new systems. When the stick boots it automatically clones itself on the system's hard drive, creating partitions and other configuration parameters that are programmed into the stick's cloning logic. I want to create a similar mechanism using a bootable CD-ROM. The biggest difference in the process of course is that the CD-ROM itself is read-only so clearly there needs to be an mfsroot involved in the process. I looked at how the FreeBSD Live CD is setup and the loader.conf file has these lines: mfsroot_load="YES" mfsroot_type="mfs_root" mfsroot_name="/boot/mfsroot" along with the file /boot/mfsroot.gz and no /etc/fstab. I copied this into my BSD image and duplicated the mfsroot settings in my loader.conf. I use the command below to create the iso file from the BSD image I've prepared. mkisofs -R -no-emul-boot -o /tmp/bsd.iso -b boot/cdboot /bsd When this iso is copied to a CD, it does boot. However, it doesn't seem to be picking up the mfsroot config and complains that the system is running from on a read-only file system. What step am I missing? From jeronimocalvop at googlemail.com Mon Nov 9 19:04:31 2009 From: jeronimocalvop at googlemail.com (Jeronimo Calvo) Date: Mon Nov 9 19:04:47 2009 Subject: devel/py-gobject error when pkgdb -F --- FREEBSD 7.2 STABLE --- In-Reply-To: References: Message-ID: Hi folks, I know that dealing with that cases is a pain in the neck! but can somebody point me to a reference or a how to even better? Cheers! 2009/11/8 Jeronimo Calvo : > Hi Folks, > > Running pkgdb -F Im getting the following error: > I tried reinstalling devel/py-gobject, but did not help. > All dependencies are linked to py25-gobject-2.16.1, so I can not > remove that package as well. > Can somebody give me a workaround?? > > > ===> py26-gobject-2.16.1 depends on file: > /usr/local/lib/gio/modules/libgiofam.so - found > ===> Generating temporary packing list > ===> Checking if devel/py-gobject already installed > ===> An older version of devel/py-gobject is already installed > (py25-gobject-2.16.1) > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/py-gobject > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/py-gobject. > *** Error code 1 > > > > -- > () ASCII Ribbon Campaign | Against HTML e-mail > /\ www.asciiribbon.org | Against proprietary extensions > -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From adrien.fontaine at gmail.com Mon Nov 9 19:06:06 2009 From: adrien.fontaine at gmail.com (adrienfirst) Date: Mon Nov 9 19:06:15 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: <4AF85FC9.10103@daleco.biz> References: <4AF85FC9.10103@daleco.biz> Message-ID: <4AF8623D.9070801@gmail.com> Kevin Kinsey a ?crit : > Greetings! > > I have a client who recently dropped static IP service in > favor of a "cheaper" solution, so they're now on a DHCP network > blocking port 25, etc. > > In order to continue to allow them to connect to an outbound > SMTP box on the LAN, I've done this on their server: > > sudo ssh -L thisbox:24:remotebox:52525 me@remotebox > > I've got Sendmail listening there on 52525, and it works > fine; the local clients are told to connect to "thisbox" > port 24. The only issue is that I have to run it from > a terminal session. When I tried to bg the process ("cmdstring &") > it doesn't work, exactly. I've gotten an error message > at times*, and at other times I apparently get "thisbox" > listening on port 24 but it's not an SMTP daemon that's > listening. > > I have a feeling it's cause I'm in csh, which is notorious > for backgrounding issues. At any rate, what I'd > like to do is have a script set up the connection, or > write some daemon that would monitor the connection and > fix it if it gets reset. At any rate, if I could get this > SSH process to detach from a terminal, it'd be great. > > Any suggestions? > > Kevin Kinsey > > * I'm sorry, but I can't reproduce the error message > this morning. IIRC, something to the effect of > "I can't do nothing, give me a command please?" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Try screen ( /usr/ports/sysutils/screen ) screen -S to run the session Ctrl-a Ctrl-z to get out of this session and let it run in background screen -r to return in this session. From lavalamp at spiritual-machines.org Mon Nov 9 19:18:57 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon Nov 9 19:19:44 2009 Subject: mfi(4) lockups and the adapter event log In-Reply-To: <4AF839E5.10303@comcast.net> References: <4AF839E5.10303@comcast.net> Message-ID: <1257792652.20787.372.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> > with linux-megacli showed TONS of messages. Trying to clear them using > linux-megacli seemed to cause a similar lockup, filled with command > timeouts, but no fatal firmware error. Also, does anyone know if the mfiutil(8) util in RELENG_8 has the ability to purge the event log? Man page 'clear' command nukes the volume configuration >:} We don't have RELENG_8 on a PowerEdge system yet. ~BAS From gibblertron at gmail.com Mon Nov 9 19:36:52 2009 From: gibblertron at gmail.com (patrick) Date: Mon Nov 9 19:37:00 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: <4AF85FC9.10103@daleco.biz> References: <4AF85FC9.10103@daleco.biz> Message-ID: Check out /usr/ports/security/autossh autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The original idea and the mechanism were from rstunnel (Reliable SSH Tunnel). With this version the method changes: autossh uses ssh to construct a loop of ssh forwardings (one from local to remote, one from remote to local), and then sends test data that it expects to get back. (The idea is thanks to Terrence Martin.) WWW: http://www.harding.motd.ca/autossh/ Patrick On Mon, Nov 9, 2009 at 10:30 AM, Kevin Kinsey wrote: > Greetings! > > I have a client who recently dropped static IP service in > favor of a "cheaper" solution, so they're now on a DHCP network > blocking port 25, etc. > > In order to continue to allow them to connect to an outbound > SMTP box on the LAN, I've done this on their server: > > sudo ssh -L thisbox:24:remotebox:52525 me@remotebox > > I've got Sendmail listening there on 52525, and it works > fine; the local clients are told to connect to "thisbox" > port 24. ?The only issue is that I have to run it from > a terminal session. ?When I tried to bg the process ("cmdstring &") > it doesn't work, exactly. ?I've gotten an error message > at times*, and at other times I apparently get "thisbox" > listening on port 24 but it's not an SMTP daemon that's > listening. > > I have a feeling it's cause I'm in csh, which is notorious > for backgrounding issues. ? ?At any rate, what I'd > like to do is have a script set up the connection, or > write some daemon that would monitor the connection and > fix it if it gets reset. ?At any rate, if I could get this > SSH process to detach from a terminal, it'd be great. > > Any suggestions? > > Kevin Kinsey > > * I'm sorry, but I can't reproduce the error message > this morning. ?IIRC, something to the effect of > "I can't do nothing, give me a command please?" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From peter at boosten.org Mon Nov 9 19:45:24 2009 From: peter at boosten.org (Peter Boosten) Date: Mon Nov 9 19:45:31 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: References: <4AF85FC9.10103@daleco.biz> Message-ID: <8E0BC73D-5A7E-4AA7-A07B-A0F9959D5F3A@boosten.org> On 9 nov 2009, at 20:36, patrick wrote: > Check out /usr/ports/security/autossh > > autossh is a program to start a copy of ssh and monitor it, restarting > it as necessary should it die or stop passing traffic. > > The original idea and the mechanism were from rstunnel (Reliable SSH > Tunnel). With this version the method changes: autossh uses ssh to > construct a loop of ssh forwardings (one from local to remote, one > from remote to local), and then sends test data that it expects to > get back. (The idea is thanks to Terrence Martin.) > > WWW: http://www.harding.motd.ca/autossh/ > You don't need additional software for that: you can easily spawn a ssh session from ttys, which re-establishes itself when it fails: http://old.nabble.com/Re%3A-mysql-connection-through-ssl-tunnel-p20077382.html -- http://www.boosten.org From tajudd at gmail.com Mon Nov 9 20:00:01 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Nov 9 20:00:07 2009 Subject: 7.2-p4 serial console not showing kernel messages? In-Reply-To: <8ffccde70911090927uffa842ewabb50d8826027d3a@mail.gmail.com> References: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> <44y6mftzch.fsf@be-well.ilk.org> <8ffccde70911090927uffa842ewabb50d8826027d3a@mail.gmail.com> Message-ID: On 11/9/09, Sven Hazejager wrote: > On Mon, Nov 9, 2009 at 17:52, Lowell Gilbert > wrote: >> Checking the obvious: syslog.conf is configured to send the messages to >> the console? > > Haven't touched syslog.conf but this all happens before syslog is even > starting. The problem is that the console is VGA, even though I have > "console=comconsole" AND boot.config containing "-h" AND sio.0.flags > 0x30. > > Has anyone actually gotten a serial console to work with FreeBSD > 7.2-release? I'm having the same problems with 7-STABLE. > FWIW, I do lots of serial consoles. Biggest issue I have is the boot.config options. Personally, the switches to "detect" (-P) and "switch" (-h) don't always seem to work (for me). If I have to see anything at the console, not only do I setup /boot/loader.conf but I will always use -D in /boot.config -- Dual setup. It pushes to both COM1 and VGA. Please try that. From sjk at ankeborg.nu Mon Nov 9 20:14:42 2009 From: sjk at ankeborg.nu (Svante Kvarnstrom) Date: Mon Nov 9 20:14:50 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: <4AF85FC9.10103@daleco.biz> References: <4AF85FC9.10103@daleco.biz> Message-ID: Hello Have you tried -f (for background) and -N for "Do not execute a remote command"? See man 1 ssh for more details. Svante On Nov 9, 2009, at 7:30 PM, Kevin Kinsey wrote: > Greetings! > > I have a client who recently dropped static IP service in > favor of a "cheaper" solution, so they're now on a DHCP network > blocking port 25, etc. > > In order to continue to allow them to connect to an outbound > SMTP box on the LAN, I've done this on their server: > > sudo ssh -L thisbox:24:remotebox:52525 me@remotebox > > I've got Sendmail listening there on 52525, and it works > fine; the local clients are told to connect to "thisbox" > port 24. The only issue is that I have to run it from > a terminal session. When I tried to bg the process ("cmdstring &") > it doesn't work, exactly. I've gotten an error message > at times*, and at other times I apparently get "thisbox" > listening on port 24 but it's not an SMTP daemon that's > listening. > > I have a feeling it's cause I'm in csh, which is notorious > for backgrounding issues. At any rate, what I'd > like to do is have a script set up the connection, or > write some daemon that would monitor the connection and > fix it if it gets reset. At any rate, if I could get this > SSH process to detach from a terminal, it'd be great. > > Any suggestions? > > Kevin Kinsey > > * I'm sorry, but I can't reproduce the error message > this morning. IIRC, something to the effect of > "I can't do nothing, give me a command please?" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " Best wishes, Svante J. Kvarnstr?m http://sjk.ankeborg.nu/ Mob.: +46 702 38 34 00 From bf1783 at googlemail.com Mon Nov 9 20:26:18 2009 From: bf1783 at googlemail.com (b. f.) Date: Mon Nov 9 20:26:25 2009 Subject: math/py-numpy vs. math/atlas-devel In-Reply-To: <200911091037.nA9Abq9b021278@mp.cs.niu.edu> References: <200911091037.nA9Abq9b021278@mp.cs.niu.edu> Message-ID: On 11/9/09, Scott Bennett wrote: > On Sun, 08 Nov 2009 23:59:29 -0800 Doug Barton > wrote: ... > Anyway, the math/py-numpy port now proceeds to build without bothering > with math/atlas. It quickly goes astray when it doesn't recognize that any > of gfortran4[345] has been installed--I guess there no longer is a FORTRAN > compiler included in the base system--and instead tries to use lang/g95, > which has also been installed. Of course, this won't work because the ATLAS > library needs to have been compiled with the same compiler as the programs > that use it. > > ===> Configuring for py26-numpy-1.3.0_2,1 > Running from numpy source directory. > [39mF2PY Version 2 [0m > [39mblas_opt_info: [0m > [39mblas_mkl_info: [0m > [39m libraries mkl,vml,guide not found in /usr/lib [0m > [39m libraries mkl,vml,guide not found in /usr/local/lib [0m > [39m libraries mkl,vml,guide not found in > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m > [39m NOT AVAILABLE [0m > [39m [0m > [39matlas_blas_threads_info: [0m > [39mSetting PTATLAS=ATLAS [0m > [39mSetting PTATLAS=ATLAS [0m > [39mSetting PTATLAS=ATLAS [0m > [39m FOUND: [0m > [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m > [39m library_dirs = ['/usr/local/lib'] [0m > [39m language = c [0m > [39m include_dirs = ['/usr/local/include'] [0m > [39m [0m > /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/command/config.py:361: > DeprecationWarning: > +++++++++++++++++++++++++++++++++++++++++++++++++ > Usage of get_output is deprecated: please do not > use it anymore, and avoid configuration checks > involving running executable on the target machine. > +++++++++++++++++++++++++++++++++++++++++++++++++ > > DeprecationWarning) > [39mcustomize GnuFCompiler [0m > [32mFound executable /usr/local/bin/gfortran44 [0m > [31mgnu: no Fortran 90 compiler found [0m > [31mgnu: no Fortran 90 compiler found [0m > [39mcustomize Gnu95FCompiler [0m > [39mcustomize Gnu95FCompiler [0m > [39mcustomize Gnu95FCompiler using config [0m > compiling '_configtest.c': > > /* This file is generated from numpy/distutils/system_info.py */ > void ATL_buildinfo(void); > int main(void) { > ATL_buildinfo(); > return 0; > } > [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe > -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 > -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 > -fPIC > [0m > [39mcompile options: '-c' [0m > [39mgcc44: _configtest.c [0m > [39mgcc44 _configtest.o -L/usr/local/lib -lalapack_r -lf77blas_r -lcblas_r > -latlas_r -o _configtest [0m > /usr/bin/ld: _configtest: hidden symbol `__powisf2' in > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) > is referenced by DSO > collect2: ld returned 1 exit status > /usr/bin/ld: _configtest: hidden symbol `__powisf2' in > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) > is referenced by DSO > collect2: ld returned 1 exit status > [39mfailure. [0m > [39mremoving: _configtest.c _configtest.o [0m > [39mStatus: 255 [0m > [39mOutput: [0m > [39m FOUND: [0m > [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m > [39m library_dirs = ['/usr/local/lib'] [0m > [39m language = c [0m > [39m define_macros = [('NO_ATLAS_INFO', 2)] [0m > [39m include_dirs = ['/usr/local/include'] [0m > [39m [0m > [39mlapack_opt_info: [0m > [39mlapack_mkl_info: [0m > [39mmkl_info: [0m > [39m libraries mkl,vml,guide not found in /usr/lib [0m > [39m libraries mkl,vml,guide not found in /usr/local/lib [0m > [39m libraries mkl,vml,guide not found in > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m > [39m NOT AVAILABLE [0m > [39m [0m > [39m NOT AVAILABLE [0m > [39m [0m > [39matlas_threads_info: [0m > [39mSetting PTATLAS=ATLAS [0m > [39m libraries lapack_atlas not found in /usr/local/lib [0m > [39mnumpy.distutils.system_info.atlas_threads_info [0m > [39mSetting PTATLAS=ATLAS [0m > /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/system_info.py:999: > UserWarning: > ********************************************************************* > Lapack library (from ATLAS) is probably incomplete: > size of /usr/local/lib/libalapack_r.so is 3832k (expected >4000k) > > Follow the instructions in the KNOWN PROBLEMS section of the file > numpy/INSTALL.txt. > ********************************************************************* > > warnings.warn(message) > > > The above sequence gets more or less repeated several more times, and > after much compiling, running of python26, and other activities, the > process runs aground as follows. > > > [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft [0m > [39mcompile options: '-Inumpy/core/include > -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy > -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m > [39mgcc44: numpy/fft/fftpack_litemodule.c [0m > [39mgcc44: numpy/fft/fftpack.c [0m > [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott > -Wl,-rpath=/usr/local/lib/gcc44 > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_litemodule.o > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack.o > -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -o > build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_lite.so [0m > [39mbuilding 'numpy.linalg.lapack_lite' extension [0m > [39mcompiling C sources [0m > [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe > -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 > -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 > -fPIC > [0m > [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg [0m > [39mcompile options: '-DATLAS_INFO="\"3.9.11\"" -I/usr/local/include > -Inumpy/core/include > -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy > -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m > [39mgcc44: numpy/linalg/lapack_litemodule.c [0m > [39mgcc44: numpy/linalg/python_xerbla.c [0m > [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott > -Wl,-rpath=/usr/local/lib/gcc44 > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o > -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r > -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o > build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so [0m > /usr/bin/ld: cannot find -lgfortran > /usr/bin/ld: cannot find -lgfortran > error: Command "cc -shared -pthread -O2 -fno-strict-aliasing -pipe > -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o > build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o > -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r > -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o > build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so" failed > with exit status 1 > *** Error code 1 > > Stop in /usr/ports/math/py-numpy. > > ===>>> make failed for math/py-numpy > ===>>> Aborting update > > I looked in /usr/local/lib and didn't spot libraries by name for > gfortran[345], so I assume they have either been renamed or included in > with the corresponding gcc libraries. What is the best way to proceed? > Will simply deleting the instances of "-lgfortran" do the job? Or do I > need to specify the library explicitly? > The port is broken WITH_ATLAS=yes on your system: it reverts to using the base system C compiler, cc, when it should be using gcc44. You trimmed off some relevant parts, so it is difficult to tell at a glance whether this is because something is wrong with your system, or with the port itself, although the port has a history of problems with this non-default option. If I have some time later, I may play with it, but at the moment, I don't have atlas installed. You should send a full build transcript to me and the math/py-numpy maintainer via private email. The libraries in question should be in /usr/local/lib/gcc44. When searching for registered shared libraries, it is easier to do something like: ldconfig -vr | grep -ie fortran and for static libraries or unregistered shared libraries, locate(1) and find(1) are your friends. b. From xcllnt at mac.com Mon Nov 9 20:37:06 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Mon Nov 9 20:37:12 2009 Subject: Installer: missing GEOM/gpart capabilities slicing disk? In-Reply-To: <4AF7D802.7030401@zedat.fu-berlin.de> References: <4AF7D802.7030401@zedat.fu-berlin.de> Message-ID: <32916A26-60CF-457A-9F61-67DB295A4D9C@mac.com> On Nov 9, 2009, at 12:51 AM, O. Hartmann wrote: > Hello. > I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on > a barndnew harddrive. As far as I recall partitioning a disk is now > done via gpart and the limitation of having only 8 (-2) partitions > from a through h except b and c is now obsoleted. When dropping into > the installation process, I realised that the 8 partition boundary > is still present. sysinstall does not use gpart nor the kernel interface that GEOM_PART exposes. FYI, -- Marcel Moolenaar xcllnt@mac.com From kdk at daleco.biz Mon Nov 9 20:48:03 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Mon Nov 9 20:48:10 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: References: <4AF85FC9.10103@daleco.biz> Message-ID: <4AF87F39.7070403@daleco.biz> Svante Kvarnstrom wrote: > Hello > > Have you tried -f (for background) and -N for "Do not execute a remote > command"? See man 1 ssh for more details. > > Svante Cheers for you! It was "-f" without "-N" that produced the error. I'm guessing I got down the manpage about as far as "-f" and didn't go any further. *beats head on desk* Thanks, Svante! For the archives: SMTP OVER SSH TUNNEL FREEBSD sudo ssh -f -N -L localname:24:remotename:52525 me@remotename When SMTP is listening on "remotename" port 52525. "sudo" is needed to open the tunnel on the "localname" side on port 24 (a privileged port). You could do this as "root" on the local side, but shouldn't connect *to* root on the remote computer. > On Nov 9, 2009, at 7:30 PM, Kevin Kinsey wrote: > >> Greetings! >> >> >> sudo ssh -L thisbox:24:remotebox:52525 me@remotebox >> >> I've got Sendmail listening there on 52525, and it works >> fine; the local clients are told to connect to "thisbox" >> port 24. The only issue is that I have to run it from >> a terminal session. When I tried to bg the process ("cmdstring &") >> it doesn't work, exactly. I've gotten an error message >> at times*, and at other times I apparently get "thisbox" >> listening on port 24 but it's not an SMTP daemon that's >> listening. >> >> I have a feeling it's cause I'm in csh, which is notorious >> for backgrounding issues. At any rate, what I'd >> like to do is have a script set up the connection, or >> write some daemon that would monitor the connection and >> fix it if it gets reset. At any rate, if I could get this >> SSH process to detach from a terminal, it'd be great. >> >> Any suggestions? >> >> Kevin Kinsey >> From lconrad at Go2France.com Mon Nov 9 20:58:12 2009 From: lconrad at Go2France.com (Len Conrad) Date: Mon Nov 9 20:58:24 2009 Subject: how to show "make configure" menu after initial make Message-ID: <200911092158.AA2606170292@mail.Go2France.com> subsequent "make configure" simply uses the original menu choices with no re-display of the menu to change the options Len From m.seaman at infracaninophile.co.uk Mon Nov 9 21:06:11 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Nov 9 21:06:19 2009 Subject: how to show "make configure" menu after initial make In-Reply-To: <200911092158.AA2606170292@mail.Go2France.com> References: <200911092158.AA2606170292@mail.Go2France.com> Message-ID: <4AF8842E.8090206@infracaninophile.co.uk> Len Conrad wrote: > subsequent "make configure" simply uses the original menu choices with no re-display of the menu to change the options make rmconfig ; make config -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091109/3d3dcf53/signature.pgp From bennett at cs.niu.edu Mon Nov 9 21:08:47 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Mon Nov 9 21:08:59 2009 Subject: math/py-numpy vs. math/atlas-devel Message-ID: <200911092107.nA9L7tHX029304@mp.cs.niu.edu> On Mon, 9 Nov 2009 20:26:15 +0000 "b. f." wrote: >On 11/9/09, Scott Bennett wrote: >> On Sun, 08 Nov 2009 23:59:29 -0800 Doug Barton >> wrote: > >... > >> Anyway, the math/py-numpy port now proceeds to build without bothering >> with math/atlas. It quickly goes astray when it doesn't recognize that any >> of gfortran4[345] has been installed--I guess there no longer is a FORTRAN >> compiler included in the base system--and instead tries to use lang/g95, >> which has also been installed. Of course, this won't work because the ATLAS >> library needs to have been compiled with the same compiler as the programs >> that use it. >> >> ===> Configuring for py26-numpy-1.3.0_2,1 >> Running from numpy source directory. >> [39mF2PY Version 2 [0m >> [39mblas_opt_info: [0m >> [39mblas_mkl_info: [0m >> [39m libraries mkl,vml,guide not found in /usr/lib [0m >> [39m libraries mkl,vml,guide not found in /usr/local/lib [0m >> [39m libraries mkl,vml,guide not found in >> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m >> [39m NOT AVAILABLE [0m >> [39m [0m >> [39matlas_blas_threads_info: [0m >> [39mSetting PTATLAS=ATLAS [0m >> [39mSetting PTATLAS=ATLAS [0m >> [39mSetting PTATLAS=ATLAS [0m >> [39m FOUND: [0m >> [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m >> [39m library_dirs = ['/usr/local/lib'] [0m >> [39m language = c [0m >> [39m include_dirs = ['/usr/local/include'] [0m >> [39m [0m >> /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/command/config.py:361: >> DeprecationWarning: >> +++++++++++++++++++++++++++++++++++++++++++++++++ >> Usage of get_output is deprecated: please do not >> use it anymore, and avoid configuration checks >> involving running executable on the target machine. >> +++++++++++++++++++++++++++++++++++++++++++++++++ >> >> DeprecationWarning) >> [39mcustomize GnuFCompiler [0m >> [32mFound executable /usr/local/bin/gfortran44 [0m >> [31mgnu: no Fortran 90 compiler found [0m >> [31mgnu: no Fortran 90 compiler found [0m >> [39mcustomize Gnu95FCompiler [0m >> [39mcustomize Gnu95FCompiler [0m >> [39mcustomize Gnu95FCompiler using config [0m >> compiling '_configtest.c': >> >> /* This file is generated from numpy/distutils/system_info.py */ >> void ATL_buildinfo(void); >> int main(void) { >> ATL_buildinfo(); >> return 0; >> } >> [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe >> -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 >> -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >> -fPIC >> [0m >> [39mcompile options: '-c' [0m >> [39mgcc44: _configtest.c [0m >> [39mgcc44 _configtest.o -L/usr/local/lib -lalapack_r -lf77blas_r -lcblas_r >> -latlas_r -o _configtest [0m >> /usr/bin/ld: _configtest: hidden symbol `__powisf2' in >> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) >> is referenced by DSO >> collect2: ld returned 1 exit status >> /usr/bin/ld: _configtest: hidden symbol `__powisf2' in >> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) >> is referenced by DSO >> collect2: ld returned 1 exit status >> [39mfailure. [0m >> [39mremoving: _configtest.c _configtest.o [0m >> [39mStatus: 255 [0m >> [39mOutput: [0m >> [39m FOUND: [0m >> [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m >> [39m library_dirs = ['/usr/local/lib'] [0m >> [39m language = c [0m >> [39m define_macros = [('NO_ATLAS_INFO', 2)] [0m >> [39m include_dirs = ['/usr/local/include'] [0m >> [39m [0m >> [39mlapack_opt_info: [0m >> [39mlapack_mkl_info: [0m >> [39mmkl_info: [0m >> [39m libraries mkl,vml,guide not found in /usr/lib [0m >> [39m libraries mkl,vml,guide not found in /usr/local/lib [0m >> [39m libraries mkl,vml,guide not found in >> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m >> [39m NOT AVAILABLE [0m >> [39m [0m >> [39m NOT AVAILABLE [0m >> [39m [0m >> [39matlas_threads_info: [0m >> [39mSetting PTATLAS=ATLAS [0m >> [39m libraries lapack_atlas not found in /usr/local/lib [0m >> [39mnumpy.distutils.system_info.atlas_threads_info [0m >> [39mSetting PTATLAS=ATLAS [0m >> /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/system_info.py:999: >> UserWarning: >> ********************************************************************* >> Lapack library (from ATLAS) is probably incomplete: >> size of /usr/local/lib/libalapack_r.so is 3832k (expected >4000k) >> >> Follow the instructions in the KNOWN PROBLEMS section of the file >> numpy/INSTALL.txt. >> ********************************************************************* >> >> warnings.warn(message) >> >> >> The above sequence gets more or less repeated several more times, and >> after much compiling, running of python26, and other activities, the >> process runs aground as follows. >> >> >> [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft [0m >> [39mcompile options: '-Inumpy/core/include >> -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy >> -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m >> [39mgcc44: numpy/fft/fftpack_litemodule.c [0m >> [39mgcc44: numpy/fft/fftpack.c [0m >> [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott >> -Wl,-rpath=/usr/local/lib/gcc44 >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_litemodule.o >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack.o >> -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -o >> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_lite.so [0m >> [39mbuilding 'numpy.linalg.lapack_lite' extension [0m >> [39mcompiling C sources [0m >> [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe >> -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 >> -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >> -fPIC >> [0m >> [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg [0m >> [39mcompile options: '-DATLAS_INFO="\"3.9.11\"" -I/usr/local/include >> -Inumpy/core/include >> -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy >> -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m >> [39mgcc44: numpy/linalg/lapack_litemodule.c [0m >> [39mgcc44: numpy/linalg/python_xerbla.c [0m >> [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott >> -Wl,-rpath=/usr/local/lib/gcc44 >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o >> -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r >> -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o >> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so [0m >> /usr/bin/ld: cannot find -lgfortran >> /usr/bin/ld: cannot find -lgfortran >> error: Command "cc -shared -pthread -O2 -fno-strict-aliasing -pipe >> -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o >> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o >> -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r >> -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o >> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so" failed >> with exit status 1 >> *** Error code 1 >> >> Stop in /usr/ports/math/py-numpy. >> >> ===>>> make failed for math/py-numpy >> ===>>> Aborting update >> >> I looked in /usr/local/lib and didn't spot libraries by name for >> gfortran[345], so I assume they have either been renamed or included in >> with the corresponding gcc libraries. What is the best way to proceed? >> Will simply deleting the instances of "-lgfortran" do the job? Or do I >> need to specify the library explicitly? >> > >The port is broken WITH_ATLAS=yes on your system: it reverts to using >the base system C compiler, cc, when it should be using gcc44. You >trimmed off some relevant parts, so it is difficult to tell at a >glance whether this is because something is wrong with your system, or >with the port itself, although the port has a history of problems >with this non-default option. If I have some time later, I may play >with it, but at the moment, I don't have atlas installed. You should Okay, but be advised that the ATLAS library takes around six hours to build on a 3.4 GHz Prescott with little else active on the machine at the time. (ATLAS should be built on a very quiet machine, so that its timing tests will be fairly accurate. The build is likely to die if several runs of a timing test yield a variance greater than what the build procedure wants.) >send a full build transcript to me and the math/py-numpy maintainer >via private email. Will do, but probably not till tonight sometime. > >The libraries in question should be in /usr/local/lib/gcc44. When >searching for registered shared libraries, it is easier to do >something like: > >ldconfig -vr | grep -ie fortran 1046:-lgfortran.3 => /usr/local/lib/gcc43/libgfortran.so.3 1056:-lgfortran.3 => /usr/local/lib/gcc44/libgfortran.so.3 1068:-lgfortran.3 => /usr/local/lib/gcc45/libgfortran.so.3 > >and for static libraries or unregistered shared libraries, locate(1) >and find(1) are your friends. > Well, locate(1) *ought* to be, you're right. However, although it worked fine on FreeBSD 5, I've never succeeded in getting FreeBSD 6 or 7 to build the locate database properly. It would be nice, but I've already spent too many hours on too many occasions trying to track down the trouble, so I just use find(1). find(1) turns up the following. /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/libgfortranbegin.la /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/libgfortranbegin.a /usr/local/lib/gcc43/libgfortran.so.3 /usr/local/lib/gcc43/libgfortran.so /usr/local/lib/gcc43/libgfortran.a /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgfortranbegin.la /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgfortranbegin.a /usr/local/lib/gcc44/libgfortran.so.3 /usr/local/lib/gcc44/libgfortran.so /usr/local/lib/gcc44/libgfortran.a /usr/local/lib/gcc45/gcc/i386-portbld-freebsd7.2/4.5.0/libgfortranbegin.la /usr/local/lib/gcc45/gcc/i386-portbld-freebsd7.2/4.5.0/libgfortranbegin.a /usr/local/lib/gcc45/libgfortran.so.3 /usr/local/lib/gcc45/libgfortran.so /usr/local/lib/gcc45/libgfortran.a I'll get the rest of the stuff off to you later tonight. Thank you very much for looking at all of this. I wonder if I'm the only person trying to install science/gnudatalanguage. There have been enough obstacles to getting that done that I have to wonder how the maintainer managed to test it. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From keramida at ceid.upatras.gr Mon Nov 9 21:14:14 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Nov 9 21:14:22 2009 Subject: how to show "make configure" menu after initial make In-Reply-To: <200911092158.AA2606170292@mail.Go2France.com> (Len Conrad's message of "Mon, 9 Nov 2009 21:58:16 +0100") References: <200911092158.AA2606170292@mail.Go2France.com> Message-ID: <87ljif9za3.fsf@kobe.laptop> On Mon, 9 Nov 2009 21:58:16 +0100, "Len Conrad" wrote: > subsequent "make configure" simply uses the original menu choices with > no re-display of the menu to change the options There is a subtle but important difference between 'make config' and 'make configure' for ports: * 'make configure' runs any autoconf scripts included in the port. * 'make config', on the other hand, launches the port menu. So you can re-configure a port by typing 'make config'. This will load any options from the /var/db/ports/PORTNAME/options file, launch the menu you are looking for, and save the new options when you are done. From cwhiteh at onetel.com Mon Nov 9 21:27:09 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Nov 9 21:27:16 2009 Subject: x11/lxpanel build fails - wrong linux base? In-Reply-To: <20091109000338.25765d02.freebsd@edvax.de> References: <4AF7490F.80703@onetel.com> <20091109000338.25765d02.freebsd@edvax.de> Message-ID: <4AF8892B.9050003@onetel.com> Polytropon wrote: > On Sun, 08 Nov 2009 22:41:19 +0000, Chris Whitehouse wrote: >> I have WITHOUT_ALSA=true in lxpanel's options and I have even changed >> the line in lxpanel/Makefile: >> >> eco# diff Makefile Makefile.original >> 31c31 >> < WITH_ALSA= off >> --- >>> WITH_ALSA= yes > > Maybe that's the reason. The symbol WITH_ALSA is defined. > It does not matter with which value it is defined, so even > WITH_ALSA=I_DONT_WANT_ALSA would be equivalent to WITH_ALSA=yes; > try removing the whole line in order to not define the symbol. > You're right of course and I should have known, thanks for the memory jogger. In fact I changed the line to WITHOUT_ALSA=true as per the lxpanel options file (I guess the 'true' can be any value :) Chris From rfg at tristatelogic.com Mon Nov 9 22:38:46 2009 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon Nov 9 22:38:53 2009 Subject: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE Message-ID: <17331.1257805180@tristatelogic.com> I've just been installing 7.2-RELEASE/amd64 on a fresh/wiped system that I plan to use as my future "main" workstation. Anyway, I've already noticed a couple of things that seem to be different from prior release that I need to ask about, i.e.: 1) It appears that CNTL-ALT-DEL now causes a shutdown/reboot. (I don't know what release this new feature started in... I only just noticed it now.) Anyway, I'd like to know how I can disable this particular bit of functionality. How do I do that? 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an immediate shutdown of the X server, but now, that doesn't see to work anymore. How can I (re-)enable this functionality? Thanks in advance for any answers. Regards, rfg P.S. Please send replies to the list. Otherwise, I may never see them due to my draconian and haphazard local spam filtering. Thanks. From tajudd at gmail.com Mon Nov 9 22:43:23 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon Nov 9 22:43:30 2009 Subject: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE In-Reply-To: <17331.1257805180@tristatelogic.com> References: <17331.1257805180@tristatelogic.com> Message-ID: On 11/9/09, Ronald F. Guilmette wrote: > > I've just been installing 7.2-RELEASE/amd64 on a fresh/wiped system > that I plan to use as my future "main" workstation. > > Anyway, I've already noticed a couple of things that seem to be different > from prior release that I need to ask about, i.e.: > > 1) It appears that CNTL-ALT-DEL now causes a shutdown/reboot. (I don't > know what release this new feature started in... I only just noticed it > now.) Anyway, I'd like to know how I can disable this particular bit of > functionality. How do I do that? # sysctl -d hw.syscons.kbd_reboot hw.syscons.kbd_reboot: enable keyboard reboot > > 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an > immediate shutdown of the X server, but now, that doesn't see to work > anymore. How can I (re-)enable this functionality? Thanks to the new versions of xorg, they removed that functionality. A config file with "DontZap" equal to "off" re-enables it. Google for DontZap to find where to put it in the config. > > Thanks in advance for any answers. From sonicy at otenet.gr Mon Nov 9 22:48:33 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Mon Nov 9 22:48:40 2009 Subject: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE In-Reply-To: <17331.1257805180@tristatelogic.com> References: <17331.1257805180@tristatelogic.com> Message-ID: <4AF89C3E.3030407@otenet.gr> Ronald F. Guilmette wrote: > I've just been installing 7.2-RELEASE/amd64 on a fresh/wiped system > that I plan to use as my future "main" workstation. > > Anyway, I've already noticed a couple of things that seem to be different > from prior release that I need to ask about, i.e.: > > 1) It appears that CNTL-ALT-DEL now causes a shutdown/reboot. (I don't > know what release this new feature started in... I only just noticed it > now.) Anyway, I'd like to know how I can disable this particular bit of > functionality. How do I do that? > Add: hw.syscons.kbd_reboot=0 to /etc/sysctl.conf. Activate immediately by executing sysctl hw.syscons.kbd_reboot=0 > 2) Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an > immediate shutdown of the X server, but now, that doesn't see to work > anymore. How can I (re-)enable this functionality? > > Welcome to the new Xorg and HAL... Please read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html There is a note that describes how to re-enable CTRL+ALT+BKSP functionality. From apseudoutopia at gmail.com Mon Nov 9 22:56:18 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Mon Nov 9 22:56:25 2009 Subject: Tracking commit messages from cli In-Reply-To: <20091108190613.GA1486@photon.std> References: <20091108190613.GA1486@photon.std> Message-ID: <27ade5280911091455u7b82dd83qa6813414754b867c@mail.gmail.com> On Sun, Nov 8, 2009 at 2:06 PM, Troels Kofoed Jacobsen wrote: > Hi all > > With pkg_version I can easily see which installed ports has newer > versions available, but what I miss is a way to see what has changed. > The reason for this is that commit messages often say that only the > pkg-plist has changed or something that does not make me want to update. > > Right now I'm reading the commit messages from the cvs web frontend, but > it would be awesome with a program that could say: > gd-2.0.35_1,1 < ? needs updating (index has 2.0.35_2,1) > Commit messages between the versions: > blah blah blah > blah ... ... > ... > > I know freshports exist, but I would rather not have to open a web > browser. > > Does such a program exist or do I have to write my own. In the latter > case can anyone point me to an easy way to get raw-text versions of > commit messages without having to track the whole tree. Does freshports > e.g. have an api -- it has all the necessary information, just not > available in a suitable form (to my knowledge) > > Best regards > Troels Kofoed Jacobsen I asked this question some time ago and never got a response. I currently just use a browser and visit www.freebsd.org/ports/ and read the commit log there. So far, I haven't found any other alternative. From kline at thought.org Tue Nov 10 00:12:42 2009 From: kline at thought.org (Gary Kline) Date: Tue Nov 10 00:12:49 2009 Subject: OT:: chapter cut-down.... Message-ID: <20091110001146.GA81076@thought.org> sorry for this completely OT post guys but by editor gave me what-for about Chapter one, so i took an exacto knife to cut and cut a thousand words. same place. http://journey.thought.org will jump you directly to the begin ing. i'd be much obliged for feedback from those you commented on my original 7 chapters. Does this launch faster? i'm asking you before i should it to my editor because i trust your judgement. obligator on-topic post: i cannot get keyboard to the new dell. i would have to pull loose everything, unscrew a plug. foo. -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From vogelke+unix at pobox.com Tue Nov 10 01:39:12 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Tue Nov 10 01:39:19 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <20091109083730.GA1976@current.Sisis.de> (message from Matthias Apitz on Mon, 9 Nov 2009 09:37:30 +0100) References: <20091105131339.GA3804@current.Sisis.de> <20091109013816.5B1A5BE92@kev.msw.wpafb.af.mil> <20091109083730.GA1976@current.Sisis.de> Message-ID: <20091110013730.BC5BDBE93@kev.msw.wpafb.af.mil> >> On Mon, 9 Nov 2009 09:37:30 +0100, >> Matthias Apitz said: M> Thanks for the pointer to [Mail::Thread]; do you know if there is some M> implementation of this into a cmdline tool for splitting a Mbox based on M> this Perl methods? Unfortunately, I haven't been able to find a decent example for either the Perl or Python implementation of JZ's threading method. I'm going to be archiving a lot of mail in the near future, so I'll try something really slimy and see if it works: install Mailman, import some mbox files, and see if I can use pipermail to generate the threading information I need. -- Karl Vogel I don't speak for the USAF or my company If men ruled the world #4: Instead of beer belly, you'd get "beer biceps." From jhelfman at e-e.com Tue Nov 10 01:42:31 2009 From: jhelfman at e-e.com (Jason) Date: Tue Nov 10 01:42:39 2009 Subject: splitting Mbox file thread-sorted In-Reply-To: <20091110013730.BC5BDBE93@kev.msw.wpafb.af.mil> References: <20091105131339.GA3804@current.Sisis.de> <20091109013816.5B1A5BE92@kev.msw.wpafb.af.mil> <20091109083730.GA1976@current.Sisis.de> <20091110013730.BC5BDBE93@kev.msw.wpafb.af.mil> Message-ID: <20091110014128.GC239@eggman.experts-exchange.com> This may be helpful. I used this many years ago, and it worked great. http://mboxgrep.sourceforge.net/ mail/mboxgrep -jgh On Mon, Nov 09, 2009 at 08:37:29PM -0500, Karl Vogel thus spake: >>> On Mon, 9 Nov 2009 09:37:30 +0100, >>> Matthias Apitz said: > >M> Thanks for the pointer to [Mail::Thread]; do you know if there is some >M> implementation of this into a cmdline tool for splitting a Mbox based on >M> this Perl methods? > > Unfortunately, I haven't been able to find a decent example for either > the Perl or Python implementation of JZ's threading method. > > I'm going to be archiving a lot of mail in the near future, so I'll try > something really slimy and see if it works: install Mailman, import some > mbox files, and see if I can use pipermail to generate the threading > information I need. > >-- >Karl Vogel I don't speak for the USAF or my company >If men ruled the world #4: Instead of beer belly, you'd get "beer biceps." >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From admin at mixriot.com Tue Nov 10 04:01:05 2009 From: admin at mixriot.com (MIXRIOT) Date: Tue Nov 10 04:01:12 2009 Subject: MIXRIOT NEWS - NOV 9TH, 2009 - SASHA CLASSIC ESSENTIAL MIX Message-ID: <20091110033916.208AD1031@mail.mixriot.com> MIXRIOT NEWS - NOV 9TH, 2009 SASHA CLASSIC ESSENTIAL MIX [http://www.mixriot.com/content/sasha-classic-em-2009-10-31] join MIXRIOT Please paste this link into your browser to manage subscriptions for questions@freebsd.org: http://www.mixriot.com/mailout/subscriptions/878068/1257824356/6f316dcdfe5b295b26aff5026666c08b From arek at wup-katowice.pl Tue Nov 10 06:38:43 2009 From: arek at wup-katowice.pl (Arek Czereszewski) Date: Tue Nov 10 06:38:49 2009 Subject: php4-gd Message-ID: <4AF90A6E.3040907@wup-katowice.pl> Hello, I have on some web servers php4-gd port installed and I am totally confused. Portaudit says Affected package: php4-gd-4.4.9 Type of problem: gd -- '_gdGetColors' remote buffer overflow vulnerability. Reference: On this site is info about: 5.2.11 and 5.3.0 On Securityfocus is info also about 4.4.9 but on cve.mitre.org is not. Any idea where is the true? Are my servers with php4-gd are secure or not? Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From m.seaman at infracaninophile.co.uk Tue Nov 10 06:59:31 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Nov 10 06:59:39 2009 Subject: php4-gd In-Reply-To: <4AF90A6E.3040907@wup-katowice.pl> References: <4AF90A6E.3040907@wup-katowice.pl> Message-ID: <4AF90F44.1070509@infracaninophile.co.uk> Arek Czereszewski wrote: > Hello, > > I have on some web servers php4-gd port installed > and I am totally confused. > Portaudit says > > Affected package: php4-gd-4.4.9 > Type of problem: gd -- '_gdGetColors' remote buffer overflow > vulnerability. > Reference: > > > On this site is info about: 5.2.11 and 5.3.0 > > On Securityfocus is info also about 4.4.9 > but on cve.mitre.org is not. > > Any idea where is the true? > Are my servers with php4-gd are secure or not? This is a bug in the underlying gd library rather than in PHP itself. There are fixes to two related ports: if you've updated graphics/gd to the latest version (gd-2.0.35_2,1), and built the latest port revision of the php5-gd module (which is php5-gd-5.2.11_2) then those should have been secured. However, the PHP4 version of the gd module is still at version php4-gd-4.4.9, and doesn't seem to have been patched -- there is no patch for CVE-2009-3546 in the php4 sources -- so it seems you are still vulnerable when using PHP4. This is to be expected: the PHP project is deprecating PHP4 and putting all their effort in to developing PHP5 instead. Patches may be forthcoming eventually, but who knows when? Basically, if you're running PHP4 on a public site then you should be making plans to upgrade to PHP5 ASAP. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091110/330a99aa/signature.pgp From chat95 at mac.com Tue Nov 10 07:13:21 2009 From: chat95 at mac.com (Maho NAKATA) Date: Tue Nov 10 07:13:29 2009 Subject: math/py-numpy vs. math/atlas-devel In-Reply-To: <200911092107.nA9L7tHX029304@mp.cs.niu.edu> References: <200911092107.nA9L7tHX029304@mp.cs.niu.edu> Message-ID: <20091110.154105.769051484062721846.chat95@mac.com> Hi all, I'm willing to apply patches to atlas ports if available. I talked with Goto Kazushige (author of GotoBLAS), he told me that L2 cache handling on FreeBSD is very bad. It may be a reason why ATLAS build is so fragile. On Linux machines, it takes only 20 min or so. Thanks for good discussions! Best, Nakata Maho From: Scott Bennett Subject: Re: math/py-numpy vs. math/atlas-devel Date: Mon, 09 Nov 2009 15:07:55 -0600 (CST) > On Mon, 9 Nov 2009 20:26:15 +0000 "b. f." > wrote: >>On 11/9/09, Scott Bennett wrote: >>> On Sun, 08 Nov 2009 23:59:29 -0800 Doug Barton >>> wrote: >> >>... >> >>> Anyway, the math/py-numpy port now proceeds to build without bothering >>> with math/atlas. It quickly goes astray when it doesn't recognize that any >>> of gfortran4[345] has been installed--I guess there no longer is a FORTRAN >>> compiler included in the base system--and instead tries to use lang/g95, >>> which has also been installed. Of course, this won't work because the ATLAS >>> library needs to have been compiled with the same compiler as the programs >>> that use it. >>> >>> ===> Configuring for py26-numpy-1.3.0_2,1 >>> Running from numpy source directory. >>> [39mF2PY Version 2 [0m >>> [39mblas_opt_info: [0m >>> [39mblas_mkl_info: [0m >>> [39m libraries mkl,vml,guide not found in /usr/lib [0m >>> [39m libraries mkl,vml,guide not found in /usr/local/lib [0m >>> [39m libraries mkl,vml,guide not found in >>> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m >>> [39m NOT AVAILABLE [0m >>> [39m [0m >>> [39matlas_blas_threads_info: [0m >>> [39mSetting PTATLAS=ATLAS [0m >>> [39mSetting PTATLAS=ATLAS [0m >>> [39mSetting PTATLAS=ATLAS [0m >>> [39m FOUND: [0m >>> [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m >>> [39m library_dirs = ['/usr/local/lib'] [0m >>> [39m language = c [0m >>> [39m include_dirs = ['/usr/local/include'] [0m >>> [39m [0m >>> /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/command/config.py:361: >>> DeprecationWarning: >>> +++++++++++++++++++++++++++++++++++++++++++++++++ >>> Usage of get_output is deprecated: please do not >>> use it anymore, and avoid configuration checks >>> involving running executable on the target machine. >>> +++++++++++++++++++++++++++++++++++++++++++++++++ >>> >>> DeprecationWarning) >>> [39mcustomize GnuFCompiler [0m >>> [32mFound executable /usr/local/bin/gfortran44 [0m >>> [31mgnu: no Fortran 90 compiler found [0m >>> [31mgnu: no Fortran 90 compiler found [0m >>> [39mcustomize Gnu95FCompiler [0m >>> [39mcustomize Gnu95FCompiler [0m >>> [39mcustomize Gnu95FCompiler using config [0m >>> compiling '_configtest.c': >>> >>> /* This file is generated from numpy/distutils/system_info.py */ >>> void ATL_buildinfo(void); >>> int main(void) { >>> ATL_buildinfo(); >>> return 0; >>> } >>> [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe >>> -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 >>> -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >>> -fPIC >>> [0m >>> [39mcompile options: '-c' [0m >>> [39mgcc44: _configtest.c [0m >>> [39mgcc44 _configtest.o -L/usr/local/lib -lalapack_r -lf77blas_r -lcblas_r >>> -latlas_r -o _configtest [0m >>> /usr/bin/ld: _configtest: hidden symbol `__powisf2' in >>> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) >>> is referenced by DSO >>> collect2: ld returned 1 exit status >>> /usr/bin/ld: _configtest: hidden symbol `__powisf2' in >>> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgcc.a(_powisf2.o) >>> is referenced by DSO >>> collect2: ld returned 1 exit status >>> [39mfailure. [0m >>> [39mremoving: _configtest.c _configtest.o [0m >>> [39mStatus: 255 [0m >>> [39mOutput: [0m >>> [39m FOUND: [0m >>> [39m libraries = ['alapack_r', 'f77blas_r', 'cblas_r', 'atlas_r'] [0m >>> [39m library_dirs = ['/usr/local/lib'] [0m >>> [39m language = c [0m >>> [39m define_macros = [('NO_ATLAS_INFO', 2)] [0m >>> [39m include_dirs = ['/usr/local/include'] [0m >>> [39m [0m >>> [39mlapack_opt_info: [0m >>> [39mlapack_mkl_info: [0m >>> [39mmkl_info: [0m >>> [39m libraries mkl,vml,guide not found in /usr/lib [0m >>> [39m libraries mkl,vml,guide not found in /usr/local/lib [0m >>> [39m libraries mkl,vml,guide not found in >>> /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/../../../ [0m >>> [39m NOT AVAILABLE [0m >>> [39m [0m >>> [39m NOT AVAILABLE [0m >>> [39m [0m >>> [39matlas_threads_info: [0m >>> [39mSetting PTATLAS=ATLAS [0m >>> [39m libraries lapack_atlas not found in /usr/local/lib [0m >>> [39mnumpy.distutils.system_info.atlas_threads_info [0m >>> [39mSetting PTATLAS=ATLAS [0m >>> /usr/ports/math/py-numpy/work/numpy-1.3.0/numpy/distutils/system_info.py:999: >>> UserWarning: >>> ********************************************************************* >>> Lapack library (from ATLAS) is probably incomplete: >>> size of /usr/local/lib/libalapack_r.so is 3832k (expected >4000k) >>> >>> Follow the instructions in the KNOWN PROBLEMS section of the file >>> numpy/INSTALL.txt. >>> ********************************************************************* >>> >>> warnings.warn(message) >>> >>> >>> The above sequence gets more or less repeated several more times, and >>> after much compiling, running of python26, and other activities, the >>> process runs aground as follows. >>> >>> >>> [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft [0m >>> [39mcompile options: '-Inumpy/core/include >>> -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy >>> -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m >>> [39mgcc44: numpy/fft/fftpack_litemodule.c [0m >>> [39mgcc44: numpy/fft/fftpack.c [0m >>> [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott >>> -Wl,-rpath=/usr/local/lib/gcc44 >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_litemodule.o >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack.o >>> -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -o >>> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/fft/fftpack_lite.so [0m >>> [39mbuilding 'numpy.linalg.lapack_lite' extension [0m >>> [39mcompiling C sources [0m >>> [39mC compiler: gcc44 -DNDEBUG -O2 -fno-strict-aliasing -pipe >>> -march=prescott -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O2 >>> -fno-strict-aliasing -pipe -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >>> -fPIC >>> [0m >>> [39mcreating build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg [0m >>> [39mcompile options: '-DATLAS_INFO="\"3.9.11\"" -I/usr/local/include >>> -Inumpy/core/include >>> -Ibuild/src.freebsd-7.2-STABLE-i386-2.6/numpy/core/include/numpy >>> -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.6 -c' [0m >>> [39mgcc44: numpy/linalg/lapack_litemodule.c [0m >>> [39mgcc44: numpy/linalg/python_xerbla.c [0m >>> [39mcc -shared -pthread -O2 -fno-strict-aliasing -pipe -march=prescott >>> -Wl,-rpath=/usr/local/lib/gcc44 >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o >>> -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r >>> -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o >>> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so [0m >>> /usr/bin/ld: cannot find -lgfortran >>> /usr/bin/ld: cannot find -lgfortran >>> error: Command "cc -shared -pthread -O2 -fno-strict-aliasing -pipe >>> -march=prescott -Wl,-rpath=/usr/local/lib/gcc44 >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o >>> build/temp.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/python_xerbla.o >>> -L/usr/local/lib -Lbuild/temp.freebsd-7.2-STABLE-i386-2.6 -lalapack_r >>> -lalapack_r -lf77blas_r -lcblas_r -latlas_r -lgfortran -lm -lpthread -o >>> build/lib.freebsd-7.2-STABLE-i386-2.6/numpy/linalg/lapack_lite.so" failed >>> with exit status 1 >>> *** Error code 1 >>> >>> Stop in /usr/ports/math/py-numpy. >>> >>> ===>>> make failed for math/py-numpy >>> ===>>> Aborting update >>> >>> I looked in /usr/local/lib and didn't spot libraries by name for >>> gfortran[345], so I assume they have either been renamed or included in >>> with the corresponding gcc libraries. What is the best way to proceed? >>> Will simply deleting the instances of "-lgfortran" do the job? Or do I >>> need to specify the library explicitly? >>> >> >>The port is broken WITH_ATLAS=yes on your system: it reverts to using >>the base system C compiler, cc, when it should be using gcc44. You >>trimmed off some relevant parts, so it is difficult to tell at a >>glance whether this is because something is wrong with your system, or >>with the port itself, although the port has a history of problems >>with this non-default option. If I have some time later, I may play >>with it, but at the moment, I don't have atlas installed. You should > > Okay, but be advised that the ATLAS library takes around six hours > to build on a 3.4 GHz Prescott with little else active on the machine > at the time. (ATLAS should be built on a very quiet machine, so that > its timing tests will be fairly accurate. The build is likely to die > if several runs of a timing test yield a variance greater than what the > build procedure wants.) > >>send a full build transcript to me and the math/py-numpy maintainer >>via private email. > > Will do, but probably not till tonight sometime. >> >>The libraries in question should be in /usr/local/lib/gcc44. When >>searching for registered shared libraries, it is easier to do >>something like: >> >>ldconfig -vr | grep -ie fortran > > 1046:-lgfortran.3 => /usr/local/lib/gcc43/libgfortran.so.3 > 1056:-lgfortran.3 => /usr/local/lib/gcc44/libgfortran.so.3 > 1068:-lgfortran.3 => /usr/local/lib/gcc45/libgfortran.so.3 >> >>and for static libraries or unregistered shared libraries, locate(1) >>and find(1) are your friends. >> > Well, locate(1) *ought* to be, you're right. However, although it > worked fine on FreeBSD 5, I've never succeeded in getting FreeBSD 6 or 7 > to build the locate database properly. It would be nice, but I've already > spent too many hours on too many occasions trying to track down the trouble, > so I just use find(1). > find(1) turns up the following. > > /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/libgfortranbegin.la > /usr/local/lib/gcc43/gcc/i386-portbld-freebsd7.2/4.3.5/libgfortranbegin.a > /usr/local/lib/gcc43/libgfortran.so.3 > /usr/local/lib/gcc43/libgfortran.so > /usr/local/lib/gcc43/libgfortran.a > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgfortranbegin.la > /usr/local/lib/gcc44/gcc/i386-portbld-freebsd7.2/4.4.3/libgfortranbegin.a > /usr/local/lib/gcc44/libgfortran.so.3 > /usr/local/lib/gcc44/libgfortran.so > /usr/local/lib/gcc44/libgfortran.a > /usr/local/lib/gcc45/gcc/i386-portbld-freebsd7.2/4.5.0/libgfortranbegin.la > /usr/local/lib/gcc45/gcc/i386-portbld-freebsd7.2/4.5.0/libgfortranbegin.a > /usr/local/lib/gcc45/libgfortran.so.3 > /usr/local/lib/gcc45/libgfortran.so > /usr/local/lib/gcc45/libgfortran.a > > I'll get the rest of the stuff off to you later tonight. Thank you > very much for looking at all of this. I wonder if I'm the only person > trying to install science/gnudatalanguage. There have been enough > obstacles to getting that done that I have to wonder how the maintainer > managed to test it. > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at cs.niu.edu * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > From arek at wup-katowice.pl Tue Nov 10 07:47:02 2009 From: arek at wup-katowice.pl (Arek Czereszewski) Date: Tue Nov 10 07:47:09 2009 Subject: php4-gd In-Reply-To: <4AF90F44.1070509@infracaninophile.co.uk> References: <4AF90A6E.3040907@wup-katowice.pl> <4AF90F44.1070509@infracaninophile.co.uk> Message-ID: <4AF91A73.7080904@wup-katowice.pl> W dniu 2009-11-10 07:59, Matthew Seaman pisze: > Arek Czereszewski wrote: >> Hello, >> >> I have on some web servers php4-gd port installed >> and I am totally confused. >> Portaudit says >> >> Affected package: php4-gd-4.4.9 >> Type of problem: gd -- '_gdGetColors' remote buffer overflow >> vulnerability. >> Reference: >> >> >> On this site is info about: 5.2.11 and 5.3.0 >> >> On Securityfocus is info also about 4.4.9 >> but on cve.mitre.org is not. >> >> Any idea where is the true? >> Are my servers with php4-gd are secure or not? > > This is a bug in the underlying gd library rather than in PHP itself. There > are fixes to two related ports: if you've updated graphics/gd to the latest > version (gd-2.0.35_2,1), and built the latest port revision of the php5-gd > module (which is php5-gd-5.2.11_2) then those should have been secured. > > However, the PHP4 version of the gd module is still at version > php4-gd-4.4.9, and doesn't seem to have been patched -- there is no patch > for CVE-2009-3546 in the php4 sources -- so it seems you are still > vulnerable > when using PHP4. This is to be expected: the PHP project is deprecating > PHP4 > and putting all their effort in to developing PHP5 instead. Patches may > be forthcoming eventually, but who knows when? > > Basically, if you're running PHP4 on a public site then you should be > making > plans to upgrade to PHP5 ASAP. > Cheers, > > Matthew > Hi, So I need to upgrade php4 to php5. Thank you for information. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From bennett at cs.niu.edu Tue Nov 10 07:58:16 2009 From: bennett at cs.niu.edu (Scott Bennett) Date: Tue Nov 10 07:59:05 2009 Subject: math/atlas-devel build times (was Re: math/py-numpy vs. math/atlas-devel) Message-ID: <200911100757.nAA7vqJL009352@mp.cs.niu.edu> On Tue, 10 Nov 2009 15:41:05 +0900 (JST) Maho NAKATA wrote: >I'm willing to apply patches to atlas ports if available. Thanks, Maho. It appears that the most critical change is to make sure the tools can know that math/atlas and math/atlas-devel conflict with each other, so that if one is already installed, the tools won't try to install the other. >I talked with Goto Kazushige (author of GotoBLAS), he told me >that L2 cache handling on FreeBSD is very bad. It may be a reason I would be very interested in knowing in detail why he thinks that. The ATLAS build procedure, however, does use a very crude algorithm for detecting the sizes of L1 and L2 caches that "detects" cache sizes much smaller than they actually are. I think there are some ways of correcting the "detected" sizes, but they involve editing source files and making decisions that go way beyond anything that the FreeBSD ports system is equipped to handle. Assuming cache sizes that are typically 1/2 or 1/4 of the actual sizes will quite naturally give less than optimal results. It is worth noting, though, that this same algorithm for cache size detection is used for building ATLAS on any operating system on i386 or amd64 architectures. >why ATLAS build is so fragile. On Linux machines, it takes only 20 min or so. > As I wrote before, the sensitivity is based upon the variance of a run times. The sample size is quite small, so any sizable differences in even one or two run times can put the variance over the build procedure's tolerance threshhold. On my machine, I always had to edit a source file to increase the number of iterations of each test from 10 to either 100 or 1000 in order to get the sensitivity down to where occasional other activity in the system wouldn't kill the ATLAS build. However, math/atlas-devel in FreeBSD 7.2 surprised me by building cleanly with no such intervention required, which pleased me greatly, of course. I don't know what the authors changed to make this happen. In any case, the variance sensitivity problem ought to be the same, regardless of operating system. The ATLAS build procedure builds an unthreaded version of the library on any system. If more than one logical/physical CPU is detected, it also builds a threaded version. You didn't mention the system configuration that can allegedly build ATLAS in only 20 minutes. I'm building it on a Dell Inspiron XPS, which has a 3.4 GHz P4 Prescott CPU. The L1 caches are 64 KB each, IIRC, and the L2 cache is 1 MB, but ATLAS's build procedure typically decides that the L1 size is 16 KB or less and the L2 size is 256 KB. I have hyperthreading enabled, so the build procedure sees two (logical) CPUs, but the gains from the hyperthreading are very small in this situation. Building ATLAS on a truly dual-cored system ought to give much shorter build times, and building it on a Core i7 system ought to be tremendously faster with or without enabling the i7's reputedly better implemented HT. The P4 Prescott is now a very old chip model. (I bought this machine new five years ago.) The last time I checked, the LINUX kernel still didn't know the difference between logical CPUs and physical CPUs, so it's difficult to see how its cache management in a HT environment could be any better than FreeBSD's. Maybe LINUX has been updated to understand five-year-old technology since I last checked, but that still should only make it closer to FreeBSD's performance, not radically faster than FreeBSD. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From kraduk at googlemail.com Tue Nov 10 11:18:58 2009 From: kraduk at googlemail.com (krad) Date: Tue Nov 10 11:19:06 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: <4AF87F39.7070403@daleco.biz> References: <4AF85FC9.10103@daleco.biz> <4AF87F39.7070403@daleco.biz> Message-ID: 2009/11/9 Kevin Kinsey > Svante Kvarnstrom wrote: > >> Hello >> >> Have you tried -f (for background) and -N for "Do not execute a remote >> command"? See man 1 ssh for more details. >> >> Svante >> > > Cheers for you! > > It was "-f" without "-N" that produced the error. > > I'm guessing I got down the manpage about as far as > "-f" and didn't go any further. *beats head on desk* > > Thanks, Svante! > > For the archives: > > SMTP OVER SSH TUNNEL FREEBSD > > sudo ssh -f -N -L localname:24:remotename:52525 me@remotename > > When SMTP is listening on "remotename" port 52525. "sudo" is needed > to open the tunnel on the "localname" side on port 24 (a privileged > port). You could do this as "root" on the local side, but shouldn't > connect *to* root on the remote computer. > > On Nov 9, 2009, at 7:30 PM, Kevin Kinsey wrote: >> >> Greetings! >>> >>> >>> sudo ssh -L thisbox:24:remotebox:52525 me@remotebox >>> >>> I've got Sendmail listening there on 52525, and it works >>> fine; the local clients are told to connect to "thisbox" >>> port 24. The only issue is that I have to run it from >>> a terminal session. When I tried to bg the process ("cmdstring &") >>> it doesn't work, exactly. I've gotten an error message >>> at times*, and at other times I apparently get "thisbox" >>> listening on port 24 but it's not an SMTP daemon that's >>> listening. >>> >>> I have a feeling it's cause I'm in csh, which is notorious >>> for backgrounding issues. At any rate, what I'd >>> like to do is have a script set up the connection, or >>> write some daemon that would monitor the connection and >>> fix it if it gets reset. At any rate, if I could get this >>> SSH process to detach from a terminal, it'd be great. >>> >>> Any suggestions? >>> >>> Kevin Kinsey >>> >>> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > if you put it on a port > 1024 instead of 24 you wont need to run it as root so can drop the sudo bit From carmel_ny at hotmail.com Tue Nov 10 13:43:00 2009 From: carmel_ny at hotmail.com (carmel_ny) Date: Tue Nov 10 13:43:07 2009 Subject: Does FreeBSD support the Ralink RT73 chipset Message-ID: I just got my hands on a Belkin Wireless device that uses a Ralink RT73 chipset. Rather than waste a lot of time attempting to get it to work, I thought I would ask if anyone here has succeed in doing so. I see that FreeBSD supports: Atheros and Intersil Prism components;however, I did not see any mention of the Ralink RT73 chipset. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Like the ski resort of girls looking for husbands and husbands looking for girls, the situation is not as symmetrical as it might seem. Alan McKay From laszlo_danielisz at yahoo.com Tue Nov 10 14:52:23 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Tue Nov 10 14:52:33 2009 Subject: pppoe related Message-ID: <160386.35197.qm@web30805.mail.mud.yahoo.com> Hi, What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? Thank you! L?szl? From guru at unixarea.de Tue Nov 10 15:02:00 2009 From: guru at unixarea.de (Matthias Apitz) Date: Tue Nov 10 15:02:07 2009 Subject: FreeBSD && remote MS ACCESS database Message-ID: <20091110150158.GA6500@current.Sisis.de> Hello, Is there any chance to read and update a remote MS ACCSESS database from FreeBSD 8-CURRENT, via ODBC? Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From cyb. at gmx.net Tue Nov 10 15:04:39 2009 From: cyb. at gmx.net (Andreas Rudisch) Date: Tue Nov 10 15:04:46 2009 Subject: pppoe related In-Reply-To: <160386.35197.qm@web30805.mail.mud.yahoo.com> References: <160386.35197.qm@web30805.mail.mud.yahoo.com> Message-ID: <20091110160427.5a91c3b2.cyb.@gmx.net> On Tue, 10 Nov 2009 06:52:22 -0800 (PST) D?nielisz L?szl? wrote: > What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? man ppp -ddial Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091110/a8ebddd4/attachment.pgp From glarkin at FreeBSD.org Tue Nov 10 15:17:19 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Nov 10 15:17:26 2009 Subject: FreeBSD && remote MS ACCESS database In-Reply-To: <20091110150158.GA6500@current.Sisis.de> References: <20091110150158.GA6500@current.Sisis.de> Message-ID: <4AF983F4.5090605@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthias Apitz wrote: > Hello, > > Is there any chance to read and update a remote MS ACCSESS database from > FreeBSD 8-CURRENT, via ODBC? Thanks in advance > > matthias Hi Matthias, I haven't used it before, but perhaps the unixODBC port would help you? http://bit.ly/2MejSv Best regards, 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/ iD8DBQFK+YP00sRouByUApARAorNAKCujTYRRFoRmaZsBCD1Fye+Z+VxcQCfY1af q2Xw/MKKJFbGsUDTWBDgqQI= =7NtD -----END PGP SIGNATURE----- From dnelson at allantgroup.com Tue Nov 10 15:18:05 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Nov 10 15:18:11 2009 Subject: FreeBSD && remote MS ACCESS database In-Reply-To: <20091110150158.GA6500@current.Sisis.de> References: <20091110150158.GA6500@current.Sisis.de> Message-ID: <20091110151800.GG89052@dan.emsphone.com> In the last episode (Nov 10), Matthias Apitz said: > Is there any chance to read and update a remote MS ACCSESS database from > FreeBSD 8-CURRENT, via ODBC? Thanks in advance With samba, wine, and a local install of Office, sure. ODBC is a programming API, not a networking protocol, so you need direct access to the .mdb file. MS Access is the only thing that can read .mdb files, so that's why you need wine and a local Office install. If you really need remote access to the data, move the tables into a client-server database (mysql, postgres, etc) so you can get to them directly from Unix, and use linked tables in your .mdb file so Access itself will still work. -- Dan Nelson dnelson@allantgroup.com From bahamasfranks at gmail.com Tue Nov 10 15:26:04 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Tue Nov 10 15:26:10 2009 Subject: x input method question Message-ID: <539c60b90911100726p2a291c32vc19d3eeed5608b4a@mail.gmail.com> I'm trying to type hangul/korean in any X app. No luck so far. I'm on a paired-down desktop on xfwm, and I've installed nabi and scim-hangul, but neither one seems to do anything....I'm on 8-RC1 if it makes any difference...I'm actually an english speaker, so the nabi www pages are a little hard to look at for help ;) Thanks, Steve From henry.olyer at gmail.com Tue Nov 10 16:09:56 2009 From: henry.olyer at gmail.com (Henry Olyer) Date: Tue Nov 10 16:10:03 2009 Subject: libjpeg.so.9 missing from my installation of FBSD 7.2 Message-ID: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> I very much appreciate the help I get here. And boy!, do I need it. Undoubtedly I did something wrong when I was putting my system together. But I just can't throw it away -- I'm trying to get some things done. So, awk! help! From wmoran at potentialtech.com Tue Nov 10 16:12:56 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Nov 10 16:13:03 2009 Subject: FreeBSD && remote MS ACCESS database In-Reply-To: <20091110151800.GG89052@dan.emsphone.com> References: <20091110150158.GA6500@current.Sisis.de> <20091110151800.GG89052@dan.emsphone.com> Message-ID: <20091110111253.343d9962.wmoran@potentialtech.com> In response to Dan Nelson : > In the last episode (Nov 10), Matthias Apitz said: > > Is there any chance to read and update a remote MS ACCSESS database from > > FreeBSD 8-CURRENT, via ODBC? Thanks in advance > > With samba, wine, and a local install of Office, sure. ODBC is a > programming API, not a networking protocol, so you need direct access to the > .mdb file. MS Access is the only thing that can read .mdb files, so that's why > you need wine and a local Office install. Not quite accurate. The .mdb format is supported by a number of Microsoft products. In particular, MS offers an ODBC driver that read/writes the .mdb files and makes it look like any other ODBC device. I don't know if there's an equivalent for FreeBSD (or anything other than Windows). > If you really need remote access to the data, move the tables into a > client-server database (mysql, postgres, etc) so you can get to them > directly from Unix, and use linked tables in your .mdb file so Access itself > will still work. Connecting to a .mdb-based database remotely is fraught with peril. I've seen dozens of .mdb databases corrupted over my years because some weird file locking glitch or network glitch caused the files to become mangled. Add to that the fact that an .mdb database has absolutely no security (to the degree that any user could simply delete the entire thing) and I have to agree with Dan's assertion that you'll be much better off, long run, to move this onto a read DB server. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From frank at shute.org.uk Tue Nov 10 16:44:02 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue Nov 10 16:44:10 2009 Subject: libjpeg.so.9 missing from my installation of FBSD 7.2 In-Reply-To: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> References: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> Message-ID: <20091110164359.GA33433@orange.esperance-linux.co.uk> On Tue, Nov 10, 2009 at 11:09:55AM -0500, Henry Olyer wrote: > > I very much appreciate the help I get here. And boy!, do I need it. > > Undoubtedly I did something wrong when I was putting my system together. > But I just can't throw it away -- I'm trying to get some things done. > > So, awk! help! $ pkg_info -W /usr/local/lib/libjpeg.so.9 /usr/local/lib/libjpeg.so.9 was installed by package jpeg-6b_7 Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From randi at freebsd.org Tue Nov 10 16:57:51 2009 From: randi at freebsd.org (Randi Harper) Date: Tue Nov 10 16:57:58 2009 Subject: Installer: missing GEOM/gpart capabilities slicing disk? In-Reply-To: <200911091640.35419.doconnor@gsoft.com.au> References: <4AF7D802.7030401@zedat.fu-berlin.de> <200911091640.35419.doconnor@gsoft.com.au> Message-ID: On Mon, Nov 9, 2009 at 7:40 AM, Daniel O'Connor wrote: > [ -current CC dropped ] > On Mon, 9 Nov 2009, O. Hartmann wrote: > > I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on a > > barndnew harddrive. As far as I recall partitioning a disk is now > > done via gpart and the limitation of having only 8 (-2) partitions > > from a through h except b and c is now obsoleted. When dropping into > > the installation process, I realised that the 8 partition boundary is > > still present. > > Is there a howto (I searched the wiki and lists without success)? I > > read a lot about how to install FreeBSD on op of a complete ZFS > > infrastructure, but key issue seems to be a hands-on partitioning of > > the target haddrive via the fixit procedure. > > sysinstall does not [yet] do GPT partitions, I believe someone is > working on patches but I have no idea what state they are in. > > Progressing nicely, but still quite a ways off from being ready. ;) -- randi From rodperson at rodperson.com Tue Nov 10 17:02:13 2009 From: rodperson at rodperson.com (Rod Person) Date: Tue Nov 10 17:02:19 2009 Subject: FreeBSD && remote MS ACCESS database In-Reply-To: <20091110150158.GA6500@current.Sisis.de> References: <20091110150158.GA6500@current.Sisis.de> Message-ID: <20091110113652.56a68963@atomizer> On Tue, 10 Nov 2009 16:01:58 +0100 Matthias Apitz wrote: > > Hello, > > Is there any chance to read and update a remote MS ACCSESS database from > FreeBSD 8-CURRENT, via ODBC? Thanks in advance > > matthias If you are familiar with python you could use py-odbc to read the access .mdb file as a normal database. A connection string of an Acess 2007 db without a password would look like this, where fileName is the complete path and file name of the access mdb file. cntString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=%s; User Id=admin;Password=;" % (fileName) I've not tried it over an internet connection, though. -- Rod Person http://www.rodperson.com Religion is what keeps the poor from murdering the rich. -Napoleon From jeronimocalvop at googlemail.com Tue Nov 10 17:17:13 2009 From: jeronimocalvop at googlemail.com (Jeronimo Calvo) Date: Tue Nov 10 17:17:22 2009 Subject: Does FreeBSD support the Ralink RT73 chipset In-Reply-To: References: Message-ID: Hi there, I am using RT61, so makes me wonder that RT73 does. Cheers! 2009/11/10 carmel_ny : > I just got my hands on a Belkin Wireless device that uses a Ralink > RT73 chipset. Rather than waste a lot of time attempting to get it to > work, I thought I would ask if anyone here has succeed in doing so. I > see that FreeBSD supports: Atheros and Intersil Prism > components;however, I did not see any mention of the Ralink RT73 > chipset. > > -- > Carmel > carmel_ny@hotmail.com > > |::::======= > |::::======= > |=========== > |=========== > | > > Like the ski resort of girls looking for husbands and husbands looking > for girls, the situation is not as symmetrical as it might seem. > > ? ? ? ?Alan McKay > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From sonicy at otenet.gr Tue Nov 10 17:21:20 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue Nov 10 17:21:28 2009 Subject: libjpeg.so.9 missing from my installation of FBSD 7.2 In-Reply-To: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> References: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> Message-ID: <4AF9A10E.5090603@otenet.gr> Henry Olyer wrote: > I very much appreciate the help I get here. And boy!, do I need it. > > Undoubtedly I did something wrong when I was putting my system together. > But I just can't throw it away -- I'm trying to get some things done. > > So, awk! help! > Where you performing an upgrade of an existing system? AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. This was (fairly) recently upgraded, and if you did not follow the /usr/ports/UPDATING instructions carefully, you probably ended up with some dependent apps still linked to the old version of the library. See /usr/ports/UPDATING: 20090719: AFFECTS: users of graphics/jpeg AUTHOR: dinoex@FreeBSD.org The IJG jpeg library has been updated to version 7.0. Please rebuild all ports that depend on it. In short, try the following (assuming you use portupgrade): portupgrade -fr graphics/jpeg From davidcollins001 at gmail.com Tue Nov 10 18:19:23 2009 From: davidcollins001 at gmail.com (David Collins) Date: Tue Nov 10 18:19:29 2009 Subject: Remote ssh tunnel in background or script? In-Reply-To: <4AF85FC9.10103@daleco.biz> References: <4AF85FC9.10103@daleco.biz> Message-ID: <4af9ae95.RHunUtG9FYOTtwfD%davidcollins001@gmail.com> Kevin Kinsey wrote: > Greetings! > > In order to continue to allow them to connect to an outbound > SMTP box on the LAN, I've done this on their server: > > sudo ssh -L thisbox:24:remotebox:52525 me@remotebox I wrote a script to get around my home firewall, it doesn't do exactly as you want but that only requires changing the ssh bit. I call it from cron so it stays alive, if it dies it will re-connect otherwise it just checks a lock file. It may be of use David -------------- next part -------------- #!/usr/bin/perl ## ## PURPOSE: ## run reverse ssh to work ## ## designed to be run from crontab. creates a lock file so that ## not more than one instance of the process is started ## use strict; use warnings; ## user crontab doesn't have permission in /var for lock file ## or for ports below 1024 my $username='username'; my $hostname="hostname"; my $address=$hostname.".somewhere.com"; my $port=$ARGV[0]; #2022; my $lckfile="/tmp/revssh.${hostname}.pid"; sub start_ssh { ## fork process to start ssh defined( my $pid=fork ) or die "cannot fork process: $!"; ## parent - open lock file with child pid if($pid) { print "Starting process: $pid\n"; open(LOCKFILE,">$lckfile") or die "Cannot create lock file: $!"; print LOCKFILE "${pid}"; close(LOCKFILE); } else { ## child - start ssh process exec("ssh -qnNCX -R ${port}:localhost:22 ". "${username}\@${address}") or die "cannot exec process\n"; } } ## main if(! -e $lckfile) { start_ssh(); } else { ## get running(?) pid from pid file @ARGV = ($lckfile);my $old_pid = ; my $running = kill 0, $old_pid; ## lock file exists - is process still running? if ( $running == 1 ) { die "Process running: $old_pid\n"; } else { ## check lockfile was deleted! if(! unlink $lckfile) { die "Lockfile not deleted\n"; } print "Orphan lock file - Lock file deleted\n\t"; start_ssh(); } } From laszlo_danielisz at yahoo.com Tue Nov 10 18:52:05 2009 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Tue Nov 10 18:52:12 2009 Subject: pppoe related In-Reply-To: <20091110160427.5a91c3b2.cyb.@gmx.net> References: <160386.35197.qm@web30805.mail.mud.yahoo.com> <20091110160427.5a91c3b2.cyb.@gmx.net> Message-ID: <880132.36621.qm@web30808.mail.mud.yahoo.com> Thank you! Found out! ________________________________ From: Andreas Rudisch To: D?nielisz L?szl? Cc: freebsd-questions@freebsd.org Sent: Tue, November 10, 2009 4:04:27 PM Subject: Re: pppoe related On Tue, 10 Nov 2009 06:52:22 -0800 (PST) D?nielisz L?szl? wrote: > What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? man ppp -ddial Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 From jabidan at gmail.com Tue Nov 10 19:01:38 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Tue Nov 10 19:01:44 2009 Subject: FATAL TRAP 12 Message-ID: Someone has had problems with this type of issues? what it is related to? From carmel_ny at hotmail.com Tue Nov 10 19:04:59 2009 From: carmel_ny at hotmail.com (carmel_ny) Date: Tue Nov 10 19:05:08 2009 Subject: Does FreeBSD support the Ralink RT73 chipset In-Reply-To: References: Message-ID: On Tue, 10 Nov 2009 17:17:12 +0000 Jeronimo Calvo replied: >I am using RT61, so makes me wonder that RT73 does. I contacted Belkin to make sure I had the proper information. They responded: Chipset information for F5D9050 version 4000 is Ralink RT2671F, RT2528L (RT73) -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Increased knowledge will help you now. Have mate's phone bugged. From konstantinos.pac at gmail.com Tue Nov 10 19:08:56 2009 From: konstantinos.pac at gmail.com (Konstantinos Pachnis) Date: Tue Nov 10 19:09:03 2009 Subject: Ruby Enterprise Edition 1.8.7 Apache / Passenger on FreeBSD 7.2 Message-ID: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> Hello, I was trying to use Apache/Passenger with Ruby Enterprise Edition 1.8.7 (both versions) on a FreeBSD 7.2 (i386 and x86_64), and Apache reports the following error: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with Suhosin-Patch Phusion_Passenger/2.2.5 configured -- resuming normal operations Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) Has anyone come across to that ? Thanks in advance, Konstantinos From roberthuff at rcn.com Tue Nov 10 19:33:19 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Nov 10 19:33:25 2009 Subject: libjpeg.so.9 missing from my installation of FBSD 7.2 In-Reply-To: <4AF9A10E.5090603@otenet.gr> References: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> <4AF9A10E.5090603@otenet.gr> Message-ID: <19193.49116.848405.783871@jerusalem.litteratus.org> Manolis Kiagias writes: > Where you performing an upgrade of an existing system? > AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. > This was (fairly) recently upgraded, and if you did not follow the > /usr/ports/UPDATING instructions carefully, you probably ended up with > some dependent apps still linked to the old version of the library. > > In short, try the following (assuming you use portupgrade): > > portupgrade -fr graphics/jpeg graphics/jpeg is a dependency for a _lot_ of ports. (100+ on my system.) Were I in the OP's shoes, I'd run pkg_info -R to find out which ones and feed the (edited) results through pkg_sort. Otherwise I might find myself rebuilding something like OpenOffice at an inopportune moment .... Robert "thirty six hours and counting, tra-la" Huff From jnatola at familycareintl.org Tue Nov 10 17:17:00 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Tue Nov 10 20:11:23 2009 Subject: g4u option Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> Hi all, I'm trying to figure out ,if possible, how to get g4u to only clone data, i.e. I have an 80 gig drive but my OS and applications only come to about 6gigs that?s what I want to clone to the new drive. Is there a way to accomplish this? ? TIA J From freebsd at edvax.de Tue Nov 10 20:28:34 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Nov 10 20:28:41 2009 Subject: g4u option In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> Message-ID: <20091110212831.788385aa.freebsd@edvax.de> On Tue, 10 Nov 2009 12:00:56 -0500, "Jean-Paul Natola" wrote: > Hi all, > > I'm trying to figure out ,if possible, how to get g4u to only clone data, > i.e. > I have an 80 gig drive but my OS and applications only come to about 6gigs > that?s what I want to clone to the new drive. > > Is there a way to accomplish this? Yes: using the proper tool for this job. :-) In case of FreeBSD, dump + restore are excellent tools for the task you seem to be describing. Refer to the mailing list archive (or the Handbook) for examples how to use it - it's quite easy. Using dump and restore involves some other tools to prepare the target disk (e. g. fdisk, bsdlabel, newfs), but everything can easily be scripted so it runs without any human interaction. Sadly, I can't answer your question about "g4u" because I've never heared of it, and I don't see it in the ports collection, so my anser is relatively FreeBSD-specific (but those tools are the standard tools for such jobs in nearly all UNIX and Linux environments). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From carmel_ny at hotmail.com Tue Nov 10 20:33:49 2009 From: carmel_ny at hotmail.com (Carmel) Date: Tue Nov 10 20:33:57 2009 Subject: Cut/Paste with USB mouse inoperative Message-ID: I just switched from a regular mouse to a USB mouse wireless mouse. The mouse works fine except that the cut/paste middle button feature is inoperative. The scroll feature works correctly though. I removed all references to 'mouse' in the /etc/rc.conf file and rebooted; however, nothing changed. I then tried to change mouse port from the default: moused_port="/dev/psm0" to moused_port="/dev/usm0" That did no help either. Is there anyway to get this to work? -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Living in California is like living in a bowl of granola. What ain't flakes and nuts is fruits. From sonicy at otenet.gr Tue Nov 10 20:57:13 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue Nov 10 20:57:20 2009 Subject: libjpeg.so.9 missing from my installation of FBSD 7.2 In-Reply-To: <19193.49116.848405.783871@jerusalem.litteratus.org> References: <1d7089c40911100809l3f71c819lf7febcf139407c8f@mail.gmail.com> <4AF9A10E.5090603@otenet.gr> <19193.49116.848405.783871@jerusalem.litteratus.org> Message-ID: <4AF9D3A7.1060806@otenet.gr> Robert Huff wrote: > Manolis Kiagias writes: > > >> Where you performing an upgrade of an existing system? >> AFAIK libjpeg.so.* libraries get installed by the graphics/jpeg port. >> This was (fairly) recently upgraded, and if you did not follow the >> /usr/ports/UPDATING instructions carefully, you probably ended up with >> some dependent apps still linked to the old version of the library. >> >> In short, try the following (assuming you use portupgrade): >> >> portupgrade -fr graphics/jpeg >> > > graphics/jpeg is a dependency for a _lot_ of ports. (100+ on > my system.) Were I in the OP's shoes, I'd run pkg_info -R to find > out which ones and feed the (edited) results through pkg_sort. > Otherwise I might find myself rebuilding something like OpenOffice > at an inopportune moment .... > > > Robert "thirty six hours and counting, tra-la" Huff > > I am afraid openoffice is indeed one of the packages linked to jpg.. In this case - and assuming this was caused by an improper upgrade of jpeg - maybe the OP could simply downgrade just the jpeg port to the previous version. The current version provides libjpeg.so.10 From freebsd at edvax.de Tue Nov 10 21:03:27 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Nov 10 21:03:34 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: References: Message-ID: <20091110220325.865b20f3.freebsd@edvax.de> On Tue, 10 Nov 2009 15:33:46 -0500, Carmel wrote: > I just switched from a regular mouse to a USB mouse wireless mouse. > The mouse works fine except that the cut/paste middle button feature is > inoperative. The scroll feature works correctly though. I removed all > references to 'mouse' in the /etc/rc.conf file and rebooted; however, > nothing changed. have you first tried the obvious workaround for nonstandard mice with "not three" buttons, i. e. pressing the left and the right button together to emulate the middle button? If this works, there seems to be some misconfiguration. I'm not using wheel mice (nor am I using cordless mice), so I cant help much. I'm using the middle mouse button for cut / paste (click), and for the vertical scroll functionality (press + move). > I then tried to change mouse port from the default: > > moused_port="/dev/psm0" to moused_port="/dev/usm0" > > That did no help either. USB mice don't need to be setup via moused, as far as I remember. Just comment out the moused_* entries in the /etc/rc.conf file. > Is there anyway to get this to work? You could try to set it explicitely in /etc/X11/xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/sysmouse" Option "Protocol" "Auto" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" Option "EmulateWheel" Option "EmulateWheelButton" "2" EndSection The buttons are 1 and 3 for left and right, 2 should be the middle one, 4 and 5 are up / down of the wheel. You can always use the xev program to check what actually happens when you use the different mouse buttons. If you're relying on HAL and DBUS, well, ... :-) I think there must be some kind of workaround to make things work again with HAL that worked before with X, such as special settings for mice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From eitanadlerlist at gmail.com Tue Nov 10 21:25:03 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Tue Nov 10 21:25:37 2009 Subject: icewm - error during portupgrade / compiling In-Reply-To: <20090810211501.85db8d0f.freebsd@edvax.de> References: <20090810120715.GA4044@aurora.oekb.co.at> <20090810211501.85db8d0f.freebsd@edvax.de> Message-ID: Hey, I'm the maintainer for x11-wm/icewm. Could you tell me if add the port devel/gnome-vfs helps? And could you tell me what the output of make showconfig is for icewm? From liontaur at gmail.com Tue Nov 10 21:27:28 2009 From: liontaur at gmail.com (Liontaur) Date: Tue Nov 10 21:27:44 2009 Subject: g4u option In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> Message-ID: On Tue, Nov 10, 2009 at 9:00 AM, Jean-Paul Natola < jnatola@familycareintl.org> wrote: > Hi all, > > I'm trying to figure out ,if possible, how to get g4u to only clone data, > i.e. > I have an 80 gig drive but my OS and applications only come to about 6gigs > that?s what I want to clone to the new drive. > > Is there a way to accomplish this? > > > TIA > J > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > g4u does partitions so if the data is on a separate partition from the OS then yes. If everything is on one partition then you'll have to copy the whole thing with g4u From tajudd at gmail.com Tue Nov 10 21:56:55 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Nov 10 21:57:02 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: References: Message-ID: On 11/10/09, Carmel wrote: > I just switched from a regular mouse to a USB mouse wireless mouse. > The mouse works fine except that the cut/paste middle button feature is > inoperative. The scroll feature works correctly though. I removed all > references to 'mouse' in the /etc/rc.conf file and rebooted; however, > nothing changed. > > I then tried to change mouse port from the default: > > moused_port="/dev/psm0" to moused_port="/dev/usm0" You probably meant to put /dev/ums0 > > That did no help either. Is there anyway to get this to work? > > -- > Carmel > carmel_ny@hotmail.com > > |::::======= > |::::======= > |=========== > |=========== > | > > Living in California is like living in a bowl of granola. > What ain't flakes and nuts is fruits. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From alex at mailinglist.ahhyes.net Tue Nov 10 22:00:12 2009 From: alex at mailinglist.ahhyes.net (Alex R) Date: Tue Nov 10 22:00:24 2009 Subject: 8.0-RC3? Message-ID: <4AF9E264.4020307@mailinglist.ahhyes.net> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/ shows that there is an RC3 ISO image available for download? How many RC's until the final release? From neshort at yahoo.com Tue Nov 10 22:06:05 2009 From: neshort at yahoo.com (Neil Short) Date: Tue Nov 10 22:06:19 2009 Subject: wdm and xdm problems - related to HAL? Message-ID: <316911.77454.qm@web56504.mail.re3.yahoo.com> So I got Xorg working with Hal. Wahoo. If I log in from a display manager I encounter some weird stuff. If I am using xdm and I log out of the window manager and then attempt to shut down the computer - by going to tty 0 and typing # halt -p - the disk syncs and then the shutdown freezes. If I am using wdm and I log out of the window manager and want to log back in, it takes my username but does not clear the text field for me to type a password. There is only one regular user on the system. FreeBSD 7.2 release. Blackbox wm. graphics: ATI mobility radeon Xpress 200m, 64MB - 128MB. Display: 1280x800. ====== Wherever the corpse is, there the vultures will gather. Matthew 24:28 From carmel_ny at hotmail.com Tue Nov 10 22:13:16 2009 From: carmel_ny at hotmail.com (Carmel) Date: Tue Nov 10 22:13:23 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: <20091110220325.865b20f3.freebsd@edvax.de> References: <20091110220325.865b20f3.freebsd@edvax.de> Message-ID: On Tue, 10 Nov 2009 22:03:25 +0100 Polytropon Polytropon replied: >On Tue, 10 Nov 2009 15:33:46 -0500, Carmel >wrote: >> I just switched from a regular mouse to a USB mouse wireless mouse. >> The mouse works fine except that the cut/paste middle button feature >> is inoperative. The scroll feature works correctly though. I removed >> all references to 'mouse' in the /etc/rc.conf file and rebooted; >> however, nothing changed. > >have you first tried the obvious workaround for nonstandard >mice with "not three" buttons, i. e. pressing the left and >the right button together to emulate the middle button? If >this works, there seems to be some misconfiguration. Negative, it does not work. >I'm not using wheel mice (nor am I using cordless mice), >so I cant help much. I'm using the middle mouse button >for cut / paste (click), and for the vertical scroll >functionality (press + move). > >> I then tried to change mouse port from the default: >> >> moused_port="/dev/psm0" to moused_port="/dev/usm0" >> >> That did no help either. > >USB mice don't need to be setup via moused, as far as I >remember. Just comment out the moused_* entries in the >/etc/rc.conf file. > >> Is there anyway to get this to work? > >You could try to set it explicitely in /etc/X11/xorg.conf: > >Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Device" "/dev/sysmouse" > Option "Protocol" "Auto" > Option "ZAxisMapping" "4 5" > Option "Emulate3Buttons" > Option "EmulateWheel" > Option "EmulateWheelButton" "2" >EndSection > >The buttons are 1 and 3 for left and right, 2 should be >the middle one, 4 and 5 are up / down of the wheel. You >can always use the xev program to check what actually >happens when you use the different mouse buttons. 'X' has nothing to do with it. It fails to work both in and out of 'X'. With the old mouse it worked fine. >If you're relying on HAL and DBUS, well, ... :-) I think >there must be some kind of workaround to make things work >again with HAL that worked before with X, such as special >settings for mice. Way more trouble than it is worth. I might just go back to the old mouse. Strangely enough, the new mouse works perfectly under Windows so I know it is not broken. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | Will Rogers never met you. From freebsd at edvax.de Tue Nov 10 22:33:36 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Nov 10 22:33:43 2009 Subject: wdm and xdm problems - related to HAL? In-Reply-To: <316911.77454.qm@web56504.mail.re3.yahoo.com> References: <316911.77454.qm@web56504.mail.re3.yahoo.com> Message-ID: <20091110233334.7eb22144.freebsd@edvax.de> A little sidenote: On Tue, 10 Nov 2009 14:06:04 -0800 (PST), Neil Short wrote: > If I am using xdm and I log out of the window manager and then > attempt to shut down the computer - by going to tty 0 and typing > # halt -p - the disk syncs and then the shutdown freezes. You should use the shutdown command (instead of halt)a to make sure services are stopped correctly. The halt command does not take care of this topic. # shutdown -p now Does the freeze happen if you press the power button (which should initate the mechanism above), too? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Nov 10 22:38:30 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Nov 10 22:38:37 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: References: <20091110220325.865b20f3.freebsd@edvax.de> Message-ID: <20091110233827.0411a38f.freebsd@edvax.de> On Tue, 10 Nov 2009 17:13:12 -0500, Carmel wrote: > 'X' has nothing to do with it. It fails to work both in and out of 'X'. > With the old mouse it worked fine. The moused program offers a diagnostics mode: # moused -f -d -p /dev/ums0 Maybe you can try this and see what really happens when you press the buttons? The -i option is interesting, too. > Way more trouble than it is worth. I might just go back to the old > mouse. Strangely enough, the new mouse works perfectly under Windows so > I know it is not broken. If it does work there, but not in FreeBSD, it might have a strangely constructed firmware which justifies the statement that it is "broken by design"... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jerrymc at msu.edu Tue Nov 10 22:51:08 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Nov 10 22:51:15 2009 Subject: 8.0-RC3? In-Reply-To: <4AF9E264.4020307@mailinglist.ahhyes.net> References: <4AF9E264.4020307@mailinglist.ahhyes.net> Message-ID: <20091110222636.GA99487@gizmo.acns.msu.edu> On Wed, Nov 11, 2009 at 09:00:04AM +1100, Alex R wrote: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/ shows > that there is an RC3 ISO image available for download? How many RC's > until the final release? Depends on what they find is needed to get the RELEASE ready to go. Check the following: The Release Engineering page. http://www.freebsd.org/releng/index.html And the wiki entry referenced in the Release Engineering page. http://wiki.freebsd.org/8.0TODO Looks like 8.0 is expected very soon. But, it will come when ready not on an MS fantasy schedule. It is all on the FreeBSD web side. http://www.freebsd.org/ ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bh at izb.knu.ac.kr Tue Nov 10 23:17:20 2009 From: bh at izb.knu.ac.kr (=?utf-8?B?54mb57Kl?=) Date: Tue Nov 10 23:17:26 2009 Subject: x input method question In-Reply-To: <539c60b90911100726p2a291c32vc19d3eeed5608b4a@mail.gmail.com> (Steve Franks's message of "Tue, 10 Nov 2009 08:26:03 -0700") References: <539c60b90911100726p2a291c32vc19d3eeed5608b4a@mail.gmail.com> Message-ID: <861vk6km1f.fsf@betla.izb.knu.ac.kr> Steve Franks writes: > [...] I'm actually an english speaker, so the nabi > www pages are a little hard to look at for help ;) http://nabi.kldp.net/english.html Sincerely, -- "All the members of my family have lived well the last ten years, without danger, without harm. I can't endanger them or their livelihoods out of greed." -- Vito Corleone, "Chapter 2", page 74 From psteele at maxiscale.com Tue Nov 10 23:19:42 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Nov 10 23:19:49 2009 Subject: Renaming USB device Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> When a system has a USB drive present, the system typically names it /dev/da0. However, if the system has SATA drives hooked to an LSI controller, or if the system has SCSI drives, the same drive prefix is used as is for the USB drive. For our purposes, we'd like to separate the USB drive from the main hard drives as far as the drive prefix is concerned, for example something like /dev/usb0 would be ideal. I realize this is something that likely has to be done in the form of a kernel patch, but the question is can it be easily done? From xcllnt at mac.com Tue Nov 10 23:23:42 2009 From: xcllnt at mac.com (Marcel Moolenaar) Date: Tue Nov 10 23:23:49 2009 Subject: Installer: missing GEOM/gpart capabilities slicing disk? In-Reply-To: <4AF7D802.7030401@zedat.fu-berlin.de> References: <4AF7D802.7030401@zedat.fu-berlin.de> Message-ID: <32916A26-60CF-457A-9F61-67DB295A4D9C@mac.com> On Nov 9, 2009, at 12:51 AM, O. Hartmann wrote: > Hello. > I try to install a fresh new FreeBSD 8.0-RC2 (from snapshot-DVD) on > a barndnew harddrive. As far as I recall partitioning a disk is now > done via gpart and the limitation of having only 8 (-2) partitions > from a through h except b and c is now obsoleted. When dropping into > the installation process, I realised that the 8 partition boundary > is still present. sysinstall does not use gpart nor the kernel interface that GEOM_PART exposes. FYI, -- Marcel Moolenaar xcllnt@mac.com _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From freebsd at edvax.de Tue Nov 10 23:34:33 2009 From: freebsd at edvax.de (Polytropon) Date: Tue Nov 10 23:34:40 2009 Subject: Renaming USB device In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> Message-ID: <20091111003430.a95d79c8.freebsd@edvax.de> On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele wrote: > When a system has a USB drive present, the system typically > names it /dev/da0. However, if the system has SATA drives > hooked to an LSI controller, or if the system has SCSI drives, > the same drive prefix is used as is for the USB drive. All direct-access media (DASD) is represented as a da device, even digital cameras may be. > For our purposes, we'd like to separate the USB drive from > the main hard drives as far as the drive prefix is concerned, > for example something like /dev/usb0 would be ideal. This prefix is already in use, see "man 4 usb". > I realize this is something that likely has to be done in the > form of a kernel patch, but the question is can it be easily > done? A kernel patch isn't needed and would surely break many working subsystems. An option is to use aliases through the means of /etc/devfs.conf, e. g. link da3 usbdisk0 or, if you want to enter the field of partition names in /etc/fstab, refer to the disks by their labels, so you don't need to know which da device a certain disk or USB stick actually is - it gives you independance from the order of detection by the system (first detected, first device name). If you could elaborate more on the goal you are seeking, other useful information could come from this list. At the moment, it's just my wild guessing. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From psteele at maxiscale.com Tue Nov 10 23:47:40 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Nov 10 23:47:47 2009 Subject: Renaming USB device In-Reply-To: <20091111003430.a95d79c8.freebsd@edvax.de> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F772@MBX03.exg5.exghost.com> >If you could elaborate more on the goal you are seeking, other useful information could come from this list. At the moment, it's just my wild guessing. :-) I have a bootable FreeBSD image on a USB stick that clones itself on the target system's hard drive, creating partitions and other configuration as defined in the cloning logic. The /etc/fstab on the USB image is hard coded to mount root (/) from /dev/da0s1a. However, other systems where the hard drives use the same prefix as the USB stick, the fstab on the stick is incorrect (it would need to be /dev/da4s1a on systems with four SCSI drives since those disks would be names da0-da3). So what we really want is a way to solve this problem--Have a generic bootable USB drive that doesn't need to have a custom fstab for different kinds of systems. From patfbsd at davenulle.org Tue Nov 10 23:47:51 2009 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Tue Nov 10 23:47:58 2009 Subject: g4u option In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E484A@www.fcimail.org> Message-ID: <20091111004745.6bb5c214@baby-jane.lamaiziere.net> Le Tue, 10 Nov 2009 12:00:56 -0500, "Jean-Paul Natola" a ?crit : > I'm trying to figure out ,if possible, how to get g4u to only clone > data, i.e. > I have an 80 gig drive but my OS and applications only come to about > 6gigs that?s what I want to clone to the new drive. > > Is there a way to accomplish this? g4u uses dd(1) to dump the disk or a partition, then it compresses datas with gzip. It copies *all*. You can save size by filling the filesystem of the partition with '0'. This is in the FAQ of g4u: http://www.feyrer.de/g4u/#shrinkimg g4u is based on NetBSD, not FreeBSD. Regards. From rwmaillists at googlemail.com Tue Nov 10 23:53:17 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Nov 10 23:53:24 2009 Subject: Renaming USB device In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> Message-ID: <20091110235246.4eefd728@gumby.homeunix.com> On Tue, 10 Nov 2009 17:19:39 -0600 Peter Steele wrote: > When a system has a USB drive present, the system typically names > it /dev/da0. However, if the system has SATA drives hooked to an LSI > controller, or if the system has SCSI drives, the same drive prefix > is used as is for the USB drive. For our purposes, we'd like to > separate the USB drive from the main hard drives as far as the drive > prefix is concerned, for example something like /dev/usb0 would be > ideal. I realize this is something that likely has to be done in the > form of a kernel patch, but the question is can it be easily done you can use glabel to give the devices unique names. From freebsd at edvax.de Wed Nov 11 00:22:33 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Nov 11 00:22:47 2009 Subject: Renaming USB device In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F772@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F772@MBX03.exg5.exghost.com> Message-ID: <20091111012230.ddd3acc5.freebsd@edvax.de> On Tue, 10 Nov 2009 17:47:38 -0600, Peter Steele wrote: > I have a bootable FreeBSD image on a USB stick that clones > itself on the target system's hard drive, creating partitions > and other configuration as defined in the cloning logic. > The /etc/fstab on the USB image is hard coded to mount > root (/) from /dev/da0s1a. However, other systems where > the hard drives use the same prefix as the USB stick, > the fstab on the stick is incorrect (it would need to be > /dev/da4s1a on systems with four SCSI drives since those > disks would be names da0-da3). > > So what we really want is a way to solve this problem-- > Have a generic bootable USB drive that doesn't need to > have a custom fstab for different kinds of systems. In this case, labelling the USB stick would be a good chioce. The /etc/fstab entries then refer to those labels instead of device names (that could change). You can use generic labels as well as UFS labels here; even a reference to the UFSID would be possible, as well as independant from da detection order. For the target hard disk, which sometimes is ad (ATA disks), sometimes da (SCSI and SATA disks), a conditional based upon dmesg could be a good way to automate the process of finding out where to install to. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From psteele at maxiscale.com Wed Nov 11 00:42:29 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Nov 11 00:42:36 2009 Subject: Renaming USB device In-Reply-To: <20091111012230.ddd3acc5.freebsd@edvax.de> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F772@MBX03.exg5.exghost.com> <20091111012230.ddd3acc5.freebsd@edvax.de> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F786@MBX03.exg5.exghost.com> >In this case, labelling the USB stick would be a good chioce. The /etc/fstab entries then refer to those labels instead of device names (that could change). >You can use generic labels as well as UFS labels here; even a reference to the UFSID would be possible, as well as independant from da detection order. > >For the target hard disk, which sometimes is ad (ATA disks), sometimes da (SCSI and SATA disks), a conditional based upon dmesg could be a good way > to automate the process of finding out where to install to. Okay, labeling it is. I'll check this option out. Thanks! From wblock at wonkity.com Wed Nov 11 01:02:48 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Nov 11 01:02:55 2009 Subject: Renaming USB device In-Reply-To: <20091111003430.a95d79c8.freebsd@edvax.de> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> Message-ID: On Wed, 11 Nov 2009, Polytropon wrote: > On Tue, 10 Nov 2009 17:19:39 -0600, Peter Steele wrote: >> When a system has a USB drive present, the system typically >> names it /dev/da0. However, if the system has SATA drives >> hooked to an LSI controller, or if the system has SCSI drives, >> the same drive prefix is used as is for the USB drive. > >> I realize this is something that likely has to be done in the >> form of a kernel patch, but the question is can it be easily >> done? > > A kernel patch isn't needed and would surely break many working > subsystems. An option is to use aliases through the means of > /etc/devfs.conf, e. g. > > link da3 usbdisk0 That's fragile for dynamic devices; da3 might not be da3 next time it's attached. You can create a link on device detection through devd.conf using ln. It's also necessary to manually set owner and permissions, since devfs.conf settings aren't applied. Thread about that here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=4340+0+archive/2009/freebsd-current/20091101.freebsd-current > or, if you want to enter the field of partition names in /etc/fstab, > refer to the disks by their labels, so you don't need to know > which da device a certain disk or USB stick actually is - it > gives you independance from the order of detection by the > system (first detected, first device name). Labels are an excellent solution in this case. -Warren Block * Rapid City, South Dakota USA From psteele at maxiscale.com Wed Nov 11 01:39:41 2009 From: psteele at maxiscale.com (Peter Steele) Date: Wed Nov 11 01:39:49 2009 Subject: Renaming USB device In-Reply-To: References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F75F@MBX03.exg5.exghost.com> <20091111003430.a95d79c8.freebsd@edvax.de> Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3394F790@MBX03.exg5.exghost.com> >Labels are an excellent solution in this case. I've done some quick research on this and it will indeed solve the issue regarding a generic fstab. I have a related question though. I want to take this a step further and convert the bootable USB stick into a bootable CD-ROM image. This is a little trickier because the CD-ROM device is read-only and I'm going to have to use some solution involving mfsroot. I checked out the BSD Live CD and there isn't even a /etc/fstab on the disk, at least not the /etc on the root of the CD. I tried to duplicate what I thought they were doing but although I could got a bootable CD the system complained that the file system was read-only, so clearly the mfsroot config wasn't set up correctly. How exactly is this done? And ultimately there will be the same issue with the /etc/fstab as far as providing a generic entry for the root mount device. I don't think I can use glabel in this case. What's the best option here? From jackbarnett at gmail.com Wed Nov 11 08:29:56 2009 From: jackbarnett at gmail.com (Jack Barnett) Date: Wed Nov 11 08:30:03 2009 Subject: NIC Support Message-ID: <4AFA70B1.3000808@gmail.com> Is the RealTek RTL8112L PCIe gigabit LAN Controller support in FreeBSD 7.2? I could not find this in the hardware notes. Is it listed under another name? From carmel_ny at hotmail.com Wed Nov 11 11:40:14 2009 From: carmel_ny at hotmail.com (Carmel) Date: Wed Nov 11 11:40:21 2009 Subject: Cut/Paste with USB mouse inoperative Message-ID: On Tue, 10 Nov 2009 23:38:27 +0100 Polytropon Polytropon replied: >On Tue, 10 Nov 2009 17:13:12 -0500, Carmel >wrote: >> 'X' has nothing to do with it. It fails to work both in and out of >> 'X'. With the old mouse it worked fine. > >The moused program offers a diagnostics mode: > > # moused -f -d -p /dev/ums0 Well, the results of that test does not exactly exhilarate me. # moused -f -d -p /dev/ums0 moused: unable to open /dev/ums0: Device busy >Maybe you can try this and see what really happens when you >press the buttons? The -i option is interesting, too. > >> Way more trouble than it is worth. I might just go back to the old >> mouse. Strangely enough, the new mouse works perfectly under Windows >> so I know it is not broken. > >If it does work there, but not in FreeBSD, it might have a >strangely constructed firmware which justifies the statement >that it is "broken by design"... :-) A common problem in today's society. It reminds me of an old adage: Just like with unexploded bombs, Blame is best dealt with by passing it as quickly as possible to someone else. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | If everything on the road of life seems to be coming your way, you are in the wrong lane. From brendan.kennedy at gmail.com Wed Nov 11 13:42:34 2009 From: brendan.kennedy at gmail.com (Brendan Kennedy) Date: Wed Nov 11 13:42:41 2009 Subject: Opencrypto patch/driver code upload Message-ID: Hi All, I've a patch to opencrypto and I have a crypto driver that I would like to present for inclusion with the freebsd 7 release. Could you give me some pointers on getting that done? The opencrypto patch is relavent for FreeBSD 8 and 9 also... Some questions for the driver release: Does it necessarily have to compile if the harware API is not present? Our API is release with the dev board... Is it still possible to have new code added to FreeBSD 7, or is that now only accepting bug fixes? Any help/URLs etc is greatly appreciated. Best Regards, Brendan From vince at unsane.co.uk Wed Nov 11 15:09:50 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Wed Nov 11 15:10:02 2009 Subject: ssh-agent and ordering of keys Message-ID: <4AFAD3B8.1000609@unsane.co.uk> Hi all, I've a bit of an annoying problem that hopefully someone here has delt with before. I have a large(ish) number of ssh keys as i like to keep things nicely seperated, I also use longish passphrases. To deal with long pass phrases I have started to use ssh-agent, which is working nicely but since i have a large number of keys and ssh-agent doesnt let you specify a particular key for a particular machine (I was using host and IdentiyFile lines in ~/.ssh/config before) I'm starting to hit a problem where I'm unable to log in to a machine as I'm hitting the MaxAuthTries value in sshd_config. I know i could just bung the MaxAuthTries value up to 20 or so on all my servers but I dont really want to, I'd rather a way of specifying which ssh key ssh-agent uses for a specific host, (like i said it ignores the IdentiyFile lines in the config file and ignores the -i switch to ssh itself.) Any ideas welcome. Thanks, Vince From guru at unixarea.de Wed Nov 11 15:40:45 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed Nov 11 15:40:53 2009 Subject: ssh-agent and ordering of keys In-Reply-To: <4AFAD3B8.1000609@unsane.co.uk> References: <4AFAD3B8.1000609@unsane.co.uk> Message-ID: <20091111152047.GA4729@current.Sisis.de> El d?a Wednesday, November 11, 2009 a las 03:09:44PM +0000, Vincent Hoffman escribi?: > Hi all, > I've a bit of an annoying problem that hopefully someone > here has delt with before. I have a large(ish) number of ssh keys as i > like to keep things nicely seperated, I also use longish passphrases. To > deal with long pass phrases I have started to use ssh-agent, which is > working nicely but since i have a large number of keys and ssh-agent > doesnt let you specify a particular key for a particular machine (I was > using host and IdentiyFile lines in ~/.ssh/config before) I'm starting > to hit a problem where I'm unable to log in to a machine as I'm hitting > the MaxAuthTries value in sshd_config. I know i could just bung the > MaxAuthTries value up to 20 or so on all my servers but I dont really > want to, I'd rather a way of specifying which ssh key ssh-agent uses for > a specific host, (like i said it ignores the IdentiyFile lines in the > config file and ignores the -i switch to ssh itself.) Any ideas welcome. I have never used this, but you could start different ssh-agent(1) and loading the key(s) you want to use to one or the other and let ssh(1) ask the dedicated ssh-agent(1) for a given host by some shell wrapping (i.e. mapping the -i filename to the correct ssh-agent(1) socket); HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From theultramage at gmail.com Wed Nov 11 16:08:08 2009 From: theultramage at gmail.com (umage) Date: Wed Nov 11 16:08:15 2009 Subject: networking won't come back up until reboot after ISP outage In-Reply-To: <4AF7620A.9010709@gmail.com> References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> <4AF7620A.9010709@gmail.com> Message-ID: <4AFAE13F.1040703@gmail.com> On 9. 11. 2009 1:27, umage wrote: > > When the connection goes down and comes back up it will take 5 minutes > > before my FreeBSD gateway box checks the lease and decides if a > renewal is > > in order. This is automatic. If I am sitting in front of my computer > and I > > want to speed this up I issue /etc/rc.d/netif restart on the gateway > and it > > will come up and be happy in about 10 seconds, rather than waiting > out the 5 > > minute time out. > > In my case the router does get the renewed ip, as I described earlier. > However, even after waiting 8+ hours, the system will not recover from > the outage properly (reason unknown). That's what this thread is all > about. When I started the system today, I found that again it had no connectivity. I did some checks and then found that 'natd' was not running. But this is not happening that frequently, and seems to only have started after the last system update. Could be some sort of race condition. Is there a logfile that natd writes to, so that I may investigate the reason why it is exiting? From kraduk at googlemail.com Wed Nov 11 16:41:06 2009 From: kraduk at googlemail.com (krad) Date: Wed Nov 11 16:41:13 2009 Subject: ssh-agent and ordering of keys In-Reply-To: <20091111152047.GA4729@current.Sisis.de> References: <4AFAD3B8.1000609@unsane.co.uk> <20091111152047.GA4729@current.Sisis.de> Message-ID: 2009/11/11 Matthias Apitz > El d?a Wednesday, November 11, 2009 a las 03:09:44PM +0000, Vincent Hoffman > escribi?: > > > Hi all, > > I've a bit of an annoying problem that hopefully someone > > here has delt with before. I have a large(ish) number of ssh keys as i > > like to keep things nicely seperated, I also use longish passphrases. To > > deal with long pass phrases I have started to use ssh-agent, which is > > working nicely but since i have a large number of keys and ssh-agent > > doesnt let you specify a particular key for a particular machine (I was > > using host and IdentiyFile lines in ~/.ssh/config before) I'm starting > > to hit a problem where I'm unable to log in to a machine as I'm hitting > > the MaxAuthTries value in sshd_config. I know i could just bung the > > MaxAuthTries value up to 20 or so on all my servers but I dont really > > want to, I'd rather a way of specifying which ssh key ssh-agent uses for > > a specific host, (like i said it ignores the IdentiyFile lines in the > > config file and ignores the -i switch to ssh itself.) Any ideas welcome. > > I have never used this, but you could start different ssh-agent(1) and > loading the key(s) you want to use to one or the other and let ssh(1) > ask the dedicated ssh-agent(1) for a given host by some shell wrapping > (i.e. mapping the -i filename to the correct ssh-agent(1) socket); > > HIH > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Im not sure why you have to use loads of different keys other than one of each type (rsa1, dsa etc). After all if your storing all the private keys in the same place then its not really more secure From konstantinos.pac at gmail.com Wed Nov 11 17:00:45 2009 From: konstantinos.pac at gmail.com (Konstantinos Pachnis) Date: Wed Nov 11 17:00:51 2009 Subject: Ruby Enterprise Edition 1.8.7 Apache / Passenger on FreeBSD 7.2 In-Reply-To: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> References: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> Message-ID: <9CADF814-A95D-4745-B461-568A4C97BF90@gmail.com> This is happening because in freebsd the stack protector is enabled by default. When you build ruby enterprise edition set to the CFLAGS / CXXFLAGS the -fno-stack-protector parameter. From a security perspective, I don't think that this is the best solution. On Nov 10, 2009, at 8:45 PM, Konstantinos Pachnis wrote: > Hello, > > I was trying to use Apache/Passenger with Ruby Enterprise Edition 1.8.7 (both versions) on a FreeBSD 7.2 (i386 and x86_64), and Apache reports the following error: > > Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with Suhosin-Patch Phusion_Passenger/2.2.5 configured -- resuming normal operations > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Has anyone come across to that ? > > Thanks in advance, > Konstantinos From jabidan at gmail.com Wed Nov 11 17:02:38 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Wed Nov 11 17:02:45 2009 Subject: cannot boot freebsd Message-ID: Hi there, i have a problem here, i installed windows in mi box and i left a partition for freebsd, i finished install of freebsd and installed the boot mgr of freebsd but when i reboot only windows boots with f1 pressed? how can I make the system boots both? From jerrymc at msu.edu Wed Nov 11 17:11:13 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Nov 11 17:11:20 2009 Subject: cannot boot freebsd In-Reply-To: References: Message-ID: <20091111170900.GA5972@gizmo.acns.msu.edu> On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan wrote: > Hi there, i have a problem here, i installed windows in mi box and i left a > partition for freebsd, i finished install of freebsd and installed the boot > mgr of freebsd but when i reboot only windows boots with f1 pressed? how can > I make the system boots both? Not sure all of what you see, but if you literally mean that when you press F1 it always boots MS-Win, that is probably correct. You will have to press F2 or maybe F3 (depending in which slice you installed FreeBSD) to boot FreeBSD. I suspect you mean something a little different, but if so, please elaborate. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From nealhogan at gmail.com Wed Nov 11 17:15:46 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Nov 11 17:15:53 2009 Subject: cannot boot freebsd In-Reply-To: References: Message-ID: On Wed, Nov 11, 2009 at 11:02 AM, Jes?s Abidan wrote: > Hi there, i have a problem here, i installed windows in mi box and i left a > partition for freebsd, i finished install of freebsd and installed the boot > mgr of freebsd but when i reboot only windows boots with f1 pressed? how can > I make the system boots both? What do you mean "make the system boot both?" At the same time? That's not going to happen. Isn't F1 the option for dos/windows? If so, consider your other options . . . one should be FreeBSD (assuming you did the install correctly) http://www.freebsd.org/doc/en/books/handbook/boot-blocks.html From stanb at panix.com Wed Nov 11 17:25:03 2009 From: stanb at panix.com (stan) Date: Wed Nov 11 17:25:18 2009 Subject: 7.2-STABLE X mouse & keyboard issues Message-ID: <20091111172501.GA14114@teddy.fas.com> I just built a brand new 7.2 STABLE machine, and the xorg package. startx brings up a nice screen, but neither the mouse, nor the keyboard (both USB) function in X. I have not created a /etx/X11/ config file yet. Do I need to do so? If so, what;s the best way? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From jerrymc at msu.edu Wed Nov 11 18:52:50 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Nov 11 18:52:57 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111170900.GA5972@gizmo.acns.msu.edu> Message-ID: <20091111184945.GA6493@gizmo.acns.msu.edu> On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes?s Abidan wrote: > i pressed f2 for freebsd and nothing happens... i pressed f1 for windows. > > I install freebsd on the first partition and now it occurs the viceversa, i > cannot boot windows, does it have to be something with the order of the > partitions? i mean primary, logical o something like this? MS-Win should optimally be installed on the first primary partition. This is called 'slice 1' by FreeBSD. Then FreeBSD should be installed on slice 2. If the slices are not to your liking, then you may need to use some utility such as Parition Magic 7 (I had trouble with PM-8) or gparted to define the primary partitions/slices before you do any of the installs. But, still, MS-Win should be installed first and go in the first slice and FreeBSD later in another slice. That is because MS-Win doesn't play very well if installed later and/or in a different slice. When you install FreeBSD (after the MS-Win install) select installing the FreeBSD MBR (not none or default minimum). It should be smart enough to find both. I have heard some complaints about MS-Vista and having to do some other monkeying around to get an MBR to handle it correctly, but I don't know details and I do not (lucky me) have any Vista machines to joust with. ////jerry > > 2009/11/11 Jerry McAllister > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan wrote: > > > > > Hi there, i have a problem here, i installed windows in mi box and i left > > a > > > partition for freebsd, i finished install of freebsd and installed the > > boot > > > mgr of freebsd but when i reboot only windows boots with f1 pressed? how > > can > > > I make the system boots both? > > > > Not sure all of what you see, but if you literally mean that when > > you press F1 it always boots MS-Win, that is probably correct. > > You will have to press F2 or maybe F3 (depending in which slice you > > installed FreeBSD) to boot FreeBSD. > > > > I suspect you mean something a little different, but if so, > > please elaborate. > > > > ////jerry > > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > From af.gourmet at videotron.ca Wed Nov 11 19:03:51 2009 From: af.gourmet at videotron.ca (PJ) Date: Wed Nov 11 19:03:58 2009 Subject: advice on setting up new site Message-ID: <4AFB0A97.6040004@videotron.ca> Hi guys, I appreciate the help you have given me in the past and present... I am not competent to handle the project we are emarking on, so let me ask (offer ?) it here: We're about to start new enterprise in the food service sector (I hate the terms industry for anything related to food) which is a totally new concept - can't reveal at the moment. And we are going to need someone to implement the site. So here's what I need to find out: 1. We're looking for someone who would be interested in working on it and could handle all aspects on FreeBSD (I want to avoid MS and especially anything not open source - requires programming of whatever works best -- important: database (probably mysql - seems to be most popular and our host uses it); will need flash or lots of images & eventually instructional videos (flash ? or ?) will need gps tracking of equipment (vehicles); inventory tracking on daily/weekly basis; invoicing; AR/AP and CC management. There's no reason why the work can't be done over the Internet... I've done this before... Let me know if you're interested and we can discuss methods of working and payment... etc. 2. I would appreciate some suggestions about Unix programs that could be applicable to meet our needs. I look forward to hearing from from you :-) Questions are welcome ... so are investors ;-) PJ From frankstaals at gmx.net Wed Nov 11 19:11:13 2009 From: frankstaals at gmx.net (Frank Staals) Date: Wed Nov 11 19:11:20 2009 Subject: FFTW + jna + java Message-ID: <4AFB0601.6020902@gmx.net> Hey everyone, I'm trying to run a java application which uses JNA to use the native FFTW libraries. The application was given as a netbeans project which was configured for use in Windows. I changed the paths to the windows libraries to the FreeBSD versions. However when I try to start the application from within netbeans it crashes with the following error message: /libexec/ld-elf.so.1: /usr/local/lib/librfftw.so: Undefined symbol "fftwnd_create_plan_aux" Has anyone an idea how to fix this ? I'm running FreeBSD 8.0-RC1 on amd64 with jdk16, fftw, and jogl installed from ports. I downloaded the jna.jar from the jna website ; FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov 2 13:45:35 CET 2009 root@Rena.FStaals.LAN:/usr/obj/usr/src/sys/RENAKERNEL amd64 frank@Rena# uname -a FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov 2 13:45:35 CET 2009 root@Rena.FStaals.LAN:/usr/obj/usr/src/sys/RENAKERNEL amd64 frank@Rena# pkg_info -Ex jdk diablo-jdk-1.6.0.07.02_6 jdk-1.6.0.3p4_12 frank@Rena# pkg_info -Ex fftw fftw-2.1.5_6 fftw3-3.2.2_1 frank@Rena# pkg_info -Ex jogl jogl-1.1.1 jna.jar version: 3.2.3 downloaded from https://jna.dev.java.net/ The VM-arguments when starting the application : -Djna.library.path=/usr/local/lib -Djava.libary.path=/usr/local/lib Anyone an idea what could be causing this, and/or how to fix it ? -- - Frank -- - Frank From tajudd at gmail.com Wed Nov 11 19:38:35 2009 From: tajudd at gmail.com (Tim Judd) Date: Wed Nov 11 19:38:46 2009 Subject: 7.2-STABLE X mouse & keyboard issues In-Reply-To: <20091111172501.GA14114@teddy.fas.com> References: <20091111172501.GA14114@teddy.fas.com> Message-ID: On 11/11/09, stan wrote: > I just built a brand new 7.2 STABLE machine, and the xorg package. startx > brings up a nice screen, but neither the mouse, nor the keyboard (both USB) > function in X. > > I have not created a /etx/X11/ config file yet. Do I need to do so? If so, > what;s the best way? did you enable hald, and dbus? did you start them? did you remove hal support from xorg? Please elaborate your environment. From jerrymc at msu.edu Wed Nov 11 19:55:00 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Nov 11 19:55:08 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111170900.GA5972@gizmo.acns.msu.edu> <20091111184945.GA6493@gizmo.acns.msu.edu> Message-ID: <20091111195247.GA6824@gizmo.acns.msu.edu> On Wed, Nov 11, 2009 at 01:22:58PM -0600, Jes?s Abidan wrote: > ok. the slices in freebsd are little tricky, i will check my installation > and send some feedback later. ?? FreeBSD slices are pretty straight forward. They are just the name of the 4 primary divisions of a disk - limited to 4 by BIOS. MS just calls them primary partitions instead of slices. The major difference is how they might be subdivided. MS does what it calls logical partitions. FreeBSD subdivisions are just called partitions. The fdisk(8) utility creates slices (or primary partitions in MS, though the FreeBSD fdisk is not very conversant with some of the new MS types so you may be better off using something else to create primary partitions/slices if other OSen are being accomodated). Slices (or primary partitions) are identified by numbers 1..4. The bsdlabel(8) utility in FreeBSD is what subdivides a slice in to partitions. It used to be that it was limited to 7 real partitions identified with letters a..h with the letter 'c' reserved to describe the whole slice and not usable as a real partition. Partition 'a' is normally root mounted as '/' and partition 'b' is used as swap. These two (a & b) are conventions and not enforced, except that some software may make these assumptions. My understanding is that the newest versions of FreeBSD (8.0) modify or remove the limit and you can have letters above 'h' and thus more subdivisions in a slice, but I haven't tried that yet. In FreeBSD, to create a filesystem from a partition, you run newfs(8) on it. ////jerry > > Thanks a lot. > > 2009/11/11 Jerry McAllister > > > On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes?s Abidan wrote: > > > > > i pressed f2 for freebsd and nothing happens... i pressed f1 for windows. > > > > > > I install freebsd on the first partition and now it occurs the viceversa, > > i > > > cannot boot windows, does it have to be something with the order of the > > > partitions? i mean primary, logical o something like this? > > > > MS-Win should optimally be installed on the first primary partition. > > This is called 'slice 1' by FreeBSD. Then FreeBSD should be installed > > on slice 2. > > > > If the slices are not to your liking, then you may need to use some > > utility such as Parition Magic 7 (I had trouble with PM-8) or gparted > > to define the primary partitions/slices before you do any of the installs. > > But, still, MS-Win should be installed first and go in the first slice > > and FreeBSD later in another slice. That is because MS-Win doesn't play > > very well if installed later and/or in a different slice. > > > > When you install FreeBSD (after the MS-Win install) select installing > > the FreeBSD MBR (not none or default minimum). It should be smart > > enough to find both. > > > > I have heard some complaints about MS-Vista and having to do some > > other monkeying around to get an MBR to handle it correctly, but I > > don't know details and I do not (lucky me) have any Vista machines > > to joust with. > > > > ////jerry > > > > > > > > > > 2009/11/11 Jerry McAllister > > > > > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan wrote: > > > > > > > > > Hi there, i have a problem here, i installed windows in mi box and i > > left > > > > a > > > > > partition for freebsd, i finished install of freebsd and installed > > the > > > > boot > > > > > mgr of freebsd but when i reboot only windows boots with f1 pressed? > > how > > > > can > > > > > I make the system boots both? > > > > > > > > Not sure all of what you see, but if you literally mean that when > > > > you press F1 it always boots MS-Win, that is probably correct. > > > > You will have to press F2 or maybe F3 (depending in which slice you > > > > installed FreeBSD) to boot FreeBSD. > > > > > > > > I suspect you mean something a little different, but if so, > > > > please elaborate. > > > > > > > > ////jerry > > > > > > > > > > > > > _______________________________________________ > > > > > freebsd-questions@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > To unsubscribe, send any mail to " > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > From dnelson at allantgroup.com Wed Nov 11 20:04:01 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed Nov 11 20:04:08 2009 Subject: FFTW + jna + java In-Reply-To: <4AFB0601.6020902@gmx.net> References: <4AFB0601.6020902@gmx.net> Message-ID: <20091111200359.GH89052@dan.emsphone.com> In the last episode (Nov 11), Frank Staals said: > > I'm trying to run a java application which uses JNA to use the native FFTW > libraries. The application was given as a netbeans project which was > configured for use in Windows. I changed the paths to the windows > libraries to the FreeBSD versions. However when I try to start the > application from within netbeans it crashes with the following error > message: > > /libexec/ld-elf.so.1: /usr/local/lib/librfftw.so: Undefined symbol > "fftwnd_create_plan_aux" That symbol is defined in libfftw.so; it looks like the librfftw.so builder forgot to add a link dependency to fftw (if you run "ldd /usr/local/lib/librfftw.so", you can see there are dependencies on libc and libm, but not fftw). Depending on how jna access shared libraries, you might be able to work around it by having jna load the fftw library before rfftw. -- Dan Nelson dnelson@allantgroup.com From norstar39 at gmail.com Wed Nov 11 20:07:07 2009 From: norstar39 at gmail.com (David Jackson) Date: Wed Nov 11 20:07:14 2009 Subject: Problems with FreeBSD assembly Message-ID: <4AFB13D9.9050507@gmail.com> I am having great difficulty running a very simple assembler program on FreeBSD on x86 in my efforts to learn some assembly programming on FreeBSD. I have tried to compile the following with nasm, however i get nothing in response when I attempt to run this program: section .data hello db 'Hello, World!', 0xa hbytes equ $ - hello section .text global _start _start: push dword hbytes push dword hello push dword 1 mov eax,0x4 int 0x80 add esp,12 push dword 0 mov eax,0x1 int 0x80 nasm -f elf -o hello1s.o hello1.s ld -s -o hello1s hello1s.o ./hello1s prints nothing. What is wrong here? It should print "hello world". Thanks in advance for your help, it is greatly appreciated. From nightrecon at hotmail.com Wed Nov 11 20:23:02 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Wed Nov 11 20:23:08 2009 Subject: networking won't come back up until reboot after ISP outage References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> <4AF7620A.9010709@gmail.com> <4AFAE13F.1040703@gmail.com> Message-ID: umage wrote: [snip] >> In my case the router does get the renewed ip, as I described earlier. >> However, even after waiting 8+ hours, the system will not recover from >> the outage properly (reason unknown). That's what this thread is all >> about. > When I started the system today, I found that again it had no > connectivity. I did some checks and then found that 'natd' was not > running. But this is not happening that frequently, and seems to only > have started after the last system update. Could be some sort of race > condition. Is there a logfile that natd writes to, so that I may > investigate the reason why it is exiting? My first gut instinct about your problem was to blame dhclient first. But no NATD would definitely be a problem. I am assuming we are talking about IPFW and NATD here, and it has been many years since I've used it. I migrated to IPFILTER and then on to PF quite some time ago. Most logging related to IPFW is already present, but IIRC to log NATD you need to turn it on, and possibly configure it in syslog.conf should you desire the output somewhere other than /var/log/alias.log. Keep in mind there are two ways to pass options. You can use something like natd_flags="-l" in /etc/rc.conf. Man natd will provide a list. The second method is to place the options in a file such as natd.conf and pull them in like natd_flags="-f /etc/natd.conf". I looked in my notes and here is a snippet from an old /etc/rc.conf: natd_enable="YES" natd_interface="ppp0" natd_flags="-f /etc/natd.conf" My /etc/natd.conf: interface ppp0 use_sockets yes same_ports yes dynamic yes You could add a 'log yes' line here; it does the same as the -l described above. Note that you might need the 'dynamic yes' switch for an interface that changes. In my case I was using it for a ppp dial-up connection, change interface as needed. Sounds like you are narrowing down the culprit(s). Also note that it could possibly be a timing issue related to the order things start up. If the NATD is attempting to start before the interface has come up it will die. Shouldn't happen, but... YMMV -Mike From djackson452 at gmail.com Wed Nov 11 20:23:27 2009 From: djackson452 at gmail.com (David Jackson) Date: Wed Nov 11 20:23:34 2009 Subject: Problems with freebsd assembly Message-ID: <4AFB19CC.9090407@gmail.com> I am having great difficulty running a very simple assembler program on FreeBSD on x86 in my efforts to learn some assembly programming on FreeBSD. I have tried to compile the following with nasm, however i get nothing in response when I attempt to run this program: section .data hello db 'Hello, World!', 0xa hbytes equ $ - hello section .text global _start _start: push dword hbytes push dword hello push dword 1 mov eax,0x4 int 0x80 add esp,12 push dword 0 mov eax,0x1 int 0x80 nasm -f elf -o hello1s.o hello1.s ld -s -o hello1s hello1s.o ./hello1s prints nothing. What is wrong here? It should print "hello world". Thanks in advance for your help, it is greatly appreciated. From rev at churchofbsd.org Wed Nov 11 19:01:59 2009 From: rev at churchofbsd.org (Jason Fried) Date: Wed Nov 11 20:24:26 2009 Subject: Can I prevent freebsd-update from installing kernel debug files Message-ID: <5b32573f0911111035k48646b2bo7c1c7c5c9af0c22d@mail.gmail.com> I have a fairly old install and not much room on my ROOT is there a way to prevent freebsd-update from installing ".symbols" files. Thanks, From utisoft at googlemail.com Wed Nov 11 20:34:09 2009 From: utisoft at googlemail.com (Chris Rees) Date: Wed Nov 11 20:34:16 2009 Subject: cannot boot freebsd In-Reply-To: <20091111184945.GA6493@gizmo.acns.msu.edu> References: <20091111170900.GA5972@gizmo.acns.msu.edu> <20091111184945.GA6493@gizmo.acns.msu.edu> Message-ID: 2009/11/11 Jerry McAllister wrote: >?That is because MS-Win doesn't play > very well if installed later and/or in a different slice. Windows behaves fine for me whatever slice it's installed in. What IS important is that it's installed first, as you said before. You can choose it to go wherever you like. By the way, please don't say win to refer to Windows; as RMS has said many times '[If] you call Windows a "win", you are praising it. If you don't want to praise Windows, it's better not to call it a "win".' [1] If you must abbreviate it, try w32, or leave off MS- and just write Windows [1] http://markmail.org/message/ncyme3djyujyre6u#query:stallman%20windows%20don%27t%20call%20win32+page:1+mid:ncyme3djyujyre6u+state:results -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? From mihai.dontu at gmail.com Wed Nov 11 20:56:07 2009 From: mihai.dontu at gmail.com (Mihai =?utf-8?q?Don=C8=9Bu?=) Date: Wed Nov 11 20:56:14 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <4AFB13D9.9050507@gmail.com> References: <4AFB13D9.9050507@gmail.com> Message-ID: <200911112229.24468.mihai.dontu@gmail.com> On Wednesday 11 November 2009 21:43:21 David Jackson wrote: > I am having great difficulty running a very simple assembler program on > FreeBSD on x86 in my efforts to learn some assembly programming on > FreeBSD. I have tried to compile the following with nasm, however i get > nothing in response when I attempt to run this program: > > section .data > hello db 'Hello, World!', 0xa > hbytes equ $ - hello > > section .text > global _start > _start: > push dword hbytes > push dword hello > push dword 1 > mov eax,0x4 > int 0x80 > add esp,12 > > push dword 0 > mov eax,0x1 > int 0x80 > > nasm -f elf -o hello1s.o hello1.s > ld -s -o hello1s hello1s.o > > ./hello1s prints nothing. > I don't think the kernel is the one that initializes the 0, 1 and 2 file descriptors (stdin, stdout and stderr). I think you have to open them yourself. I will know for sure when my nasm port finishes installing. :) -- Mihai Don?u From herbert.raimund at gmx.net Wed Nov 11 21:58:58 2009 From: herbert.raimund at gmx.net (herbert langhans) Date: Wed Nov 11 21:59:05 2009 Subject: 7.2-STABLE X mouse & keyboard issues In-Reply-To: <20091111172501.GA14114@teddy.fas.com> References: <20091111172501.GA14114@teddy.fas.com> Message-ID: <20091111215847.GA9083@sandcat> This can be the notorious HAL. If you dont need it for another reason you may compile x11-server again, but switch the hal-support off. Should work well then.. Cheers herb langhans On Wed, Nov 11, 2009 at 12:25:01PM -0500, stan wrote: > I just built a brand new 7.2 STABLE machine, and the xorg package. startx > brings up a nice screen, but neither the mouse, nor the keyboard (both USB) > function in X. > > I have not created a /etx/X11/ config file yet. Do I need to do so? If so, > what;s the best way? > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 From brian at brianwhalen.net Wed Nov 11 22:45:12 2009 From: brian at brianwhalen.net (Brian Whalen) Date: Wed Nov 11 22:45:19 2009 Subject: atom based servers Message-ID: <4AFB3A2A.4040303@brianwhalen.net> I see supermicro and potentially others have atom servers available, anyone tried these on freebsd with success? Brian From enno.davids at gmail.com Wed Nov 11 22:50:01 2009 From: enno.davids at gmail.com (Enno Davids) Date: Wed Nov 11 22:50:08 2009 Subject: 7.2-STABLE X mouse & keyboard issues In-Reply-To: <20091111172501.GA14114@teddy.fas.com> References: <20091111172501.GA14114@teddy.fas.com> Message-ID: <4f4e04f40911111424i5b8e8083w22b47bfb8a83ad3c@mail.gmail.com> On Thu, Nov 12, 2009 at 4:25 AM, stan wrote: > I just built a brand new 7.2 STABLE machine, and the xorg package. startx > brings up a nice screen, but neither the mouse, nor the keyboard (both USB) > function in X. > > I have not created a /etx/X11/ config file yet. Do I need to do so? If so, > what;s the best way? > > This may be the same problem I ran into 2 weeks ago. The latest builds of X have changed a few defaults. Notably, the man page for xorg.conf now suggests this. > Option "AllowEmptyInput" "boolean" > If enabled, don't add the standard keyboard and mouse drivers, > if there are no input devices in the config file. Enabled by > default if AutoAddDevices and AutoEnableDevices is enabled, oth- > erwise disabled. If AllowEmptyInput is on, devices using the > kbd, mouse or vmmouse driver are ignored. So by default, it now doesn't add input devices. I found that building a vestigal xorg.conf so I could change that back to "no" got me my input devices back. You may also want to change the DontZap option to get back the Ctrl-Alt-BS key sequence to exit the X server. Enno -------------------------- Enno Davids 03 9583 5474 040 999 2981 enno.davids@metva.com.au From stevenschlansker at gmail.com Wed Nov 11 23:24:02 2009 From: stevenschlansker at gmail.com (Steven Schlansker) Date: Wed Nov 11 23:24:08 2009 Subject: zfs raidz2 marked as UNAVAIL even though only one vdev is missing? Message-ID: <9F20D142-1129-4E30-8D88-E4DCB3B50DB1@gmail.com> Hello, This morning I found that one of my disks was going bad, so I thought I would replace it (using zpool replace) with a new disk. This worked fine, and it was about 1/3 of the way through. Then, as I was moving things around, I accidentally jostled some of the cables. This of course made the system extremely unhappy and eventually resulted in a kernel panic. Then when I tried to bring the system back up, it reported the pool as FAULTED due to missing devices. Figuring that it just needed to "re-discover" the devices and considering that every zpool / zfs command was unavailable, I decided to export and re-import the pool. However, now the pool is not importable! The status shows (typed since no SSH access): pool: universe id: (uuid) state: UNAVAIL action: The pool cannot be imported due to damaged devices or data config: universe UNAVAIL insufficient replicas raidz2 UNAVAIL corrupted data replacing DEGRADED (uuid) UNAVAIL cannot open ad16 ONLINE ad10 ONLINE ad8 ONLINE ... five more drives, all ONLINE To my eye, there should be no reason it can't import. The drives are all marked ONLINE except for the one I know failed. I can't zpool status -v to see *what* is corrupted because I can't import. So here I am, stuck, unable to import. Any suggestions as to how I can recover from this situation? Any way to tell what is corrupted so I can maybe intentionally fail that disk and allow a scrub to recreate it? Thanks for any advice, Steven Schlansker From stevenschlansker at gmail.com Wed Nov 11 23:27:52 2009 From: stevenschlansker at gmail.com (Steven Schlansker) Date: Wed Nov 11 23:27:59 2009 Subject: zfs raidz2 marked as UNAVAIL even though only one vdev is missing? Message-ID: <49858BCA-1F44-40F9-ACCB-631CBAD95199@gmail.com> Hello, This morning I found that one of my disks was going bad, so I thought I would replace it (using zpool replace) with a new disk. This worked fine, and it was about 1/3 of the way through. Then, as I was moving things around, I accidentally jostled some of the cables. This of course made the system extremely unhappy and eventually resulted in a kernel panic. Then when I tried to bring the system back up, it reported the pool as FAULTED due to missing devices. Figuring that it just needed to "re-discover" the devices and considering that every zpool / zfs command was unavailable, I decided to export and re-import the pool. However, now the pool is not importable! The status shows (typed since no SSH access): pool: universe id: (uuid) state: UNAVAIL action: The pool cannot be imported due to damaged devices or data config: universe UNAVAIL insufficient replicas raidz2 UNAVAIL corrupted data replacing DEGRADED (uuid) UNAVAIL cannot open ad16 ONLINE ad10 ONLINE ad8 ONLINE ... five more drives, all ONLINE To my eye, there should be no reason it can't import. The drives are all marked ONLINE except for the one I know failed. I can't zpool status -v to see *what* is corrupted because I can't import. So here I am, stuck, unable to import. Any suggestions as to how I can recover from this situation? Any way to tell what is corrupted so I can maybe intentionally fail that disk and allow a scrub to recreate it? Thanks for any advice, Steven Schlansker From jamieken at sify.com Thu Nov 12 00:21:41 2009 From: jamieken at sify.com (Mr Calab) Date: Thu Nov 12 00:21:48 2009 Subject: CONTACT MONEYGRAM FOR YOUR $7,000.00 Message-ID: <200911120021.nAC0Le3X025376@beastie01.server.web3.nl> THIS IS OUR CONDUCT CODE ( 303) Welcome to money gram Send Money Worldwide FROM OFFICE OF THE MONEY GRAM MONEY TRANSFER. COTONOU, BENIN REPUBLIC /ADDRESS 455 AGBOKOU,ANKPA ROAD OPPOSITE TUNED MOTORS COTONOU WEB:https://www.moneygram.com EMAIL:(emoneygram@hotmail.com) Attn :Beneficiary, This is to notify all our customers about the latest development concerning all the payment that are left in our custody,which yours are inclusive Besides, yours where given a bill of $435,in order to receive your payment of which we didn�t hear from you for sometime now....Hence, our money gram is now offering a Special BONUS to help all our customers that are having their payment in our custody due to of prices. In order words we are now requesting that those involve should pay only the sum of $100.00 to receive all their payment abandoned in our custody. Besides, my dear, this is the opportunity for you and have to comply and your funds shall be transfer to your designated address.But remember that after (3 DAYS) you did not make the payment then we will divert your funds to Government Fund, to avoid problem or we will cancel the payment for this year until next year because this year is not like last year. Again after (THREE DAYS ) We will enter A new project for the year and that is the reason why we decided to help to all our customers before we enter into the new project.So be advise to send the $100.00 immediately so that we will register your payment and for to start receive $7000.00 as from tomorrow. Be advise that there is no time again for we to call any person on phone unless you will call 0022998836885 After the payment of $100.00 you will start receiving your money every day $7000.00 through money gram and Western Union $7000.00 by western union until the full payment of $1.9m is completed. So what you will be receiving per day is $14,000.00 Beneficiary name---------------------------- Address-------------------------------- Telephone----------------------------- occupation....................... country...................... sex........................... Contact me with this informations below: CONTACT PERSON: MR.CHUKWU JOHN. TEL: 0022998836885 EMAIL:(emoneygram@hotmail.com or moneygramm@sify.com) Send the money through Western Union Money Transfer with the information below: RECEIVER NAME:.....NWABUNWANNE JAMES. COUNTRY............. Cotonou, Benin Republic Text Question...... In God Answer...............We Trust. Amount...............$100. The moment i receive the payment of $100 i will release the first payment informations of $7000.00 to you and you will pick up the money and i will send you another money. Hoping to hear from you. Please,contact MR.CHUKWU JOHN,for the transfer charge above MR.CHUKWU JOHN. FOREIGN OPERATION MANAGER MONEYGRAM OFFICE THIS IS OUR CONDUCT CODE ( 303) From wblock at wonkity.com Thu Nov 12 00:27:52 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Nov 12 00:27:58 2009 Subject: cannot boot freebsd In-Reply-To: <20091111184945.GA6493@gizmo.acns.msu.edu> References: <20091111170900.GA5972@gizmo.acns.msu.edu> <20091111184945.GA6493@gizmo.acns.msu.edu> Message-ID: On Wed, 11 Nov 2009, Jerry McAllister wrote: > > I have heard some complaints about MS-Vista and having to do some > other monkeying around to get an MBR to handle it correctly, but I > don't know details and I do not (lucky me) have any Vista machines > to joust with. EasyBCD from neosmart.net is an easy and free way to do this. Install Vista, install FreeBSD in another slice/primary partition but leave the MBR alone, then install and use EasyBCD from Vista to set booting options. On boot, the machine shows a menu similar to but fancier than FreeBSD's boot0. -Warren Block * Rapid City, South Dakota USA From wblock at wonkity.com Thu Nov 12 00:40:36 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Nov 12 00:40:43 2009 Subject: 7.2-STABLE X mouse & keyboard issues In-Reply-To: <20091111172501.GA14114@teddy.fas.com> References: <20091111172501.GA14114@teddy.fas.com> Message-ID: On Wed, 11 Nov 2009, stan wrote: > I just built a brand new 7.2 STABLE machine, and the xorg package. startx > brings up a nice screen, but neither the mouse, nor the keyboard (both USB) > function in X. The Handbook has an up-to-date section on xorg configuration: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html > I have not created a /etx/X11/ config file yet. Do I need to do so? With dbus and hal enabled, and one monitor, maybe not. Try it. > If so, what;s the best way? Copy the previous xorg.conf, edit to take advantage of new xorg features or changes. You can use X -configure, but the only section that it does well is the Device section with all the commented options. -Warren Block * Rapid City, South Dakota USA From corky1951 at comcast.net Thu Nov 12 01:32:45 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Thu Nov 12 01:32:53 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <4AFB13D9.9050507@gmail.com> References: <4AFB13D9.9050507@gmail.com> Message-ID: <20091112013240.GA21567@comcast.net> On Wed 11 Nov 2009 at 11:43:21 PST David Jackson wrote: >I am having great difficulty running a very simple assembler program >on FreeBSD on x86 in my efforts to learn some assembly programming on >FreeBSD. I have tried to compile the following with nasm, however i >get nothing in response when I attempt to run this program: > > section .data > hello db 'Hello, World!', 0xa > hbytes equ $ - hello > > section .text > global _start > _start: > push dword hbytes > push dword hello > push dword 1 > mov eax,0x4 > int 0x80 > add esp,12 > > push dword 0 > mov eax,0x1 > int 0x80 > >nasm -f elf -o hello1s.o hello1.s >ld -s -o hello1s hello1s.o > >./hello1s prints nothing. > >What is wrong here? It should print "hello world". Thanks in advance >for your help, it is greatly appreciated. http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86.html You've seen this part of the handbook, yes? In particular: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86-system-calls.html Calling your attention to the example code shown just before section 11.3.2, which shows how to open a file: open: push dword mode push dword flags push dword path mov eax, 5 push eax ; Or any other dword int 80h add esp, byte 16 Notice that the system call number (or any other dword) should also be pushed onto the stack before the int 80h. So try this: push dword hbytes push dword hello push dword 1 ; stdout mov eax,0x4 push eax ; or any other dword int 0x80 add esp,16 ; don't forget to account for the extra dword! From corky1951 at comcast.net Thu Nov 12 01:45:19 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Thu Nov 12 01:45:44 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <20091112013240.GA21567@comcast.net> References: <4AFB13D9.9050507@gmail.com> <20091112013240.GA21567@comcast.net> Message-ID: <20091112014515.GB21567@comcast.net> On Wed 11 Nov 2009 at 17:32:41 PST Charlie Kester wrote: One more thing: >Notice that the system call number (or any other dword) should also be >pushed onto the stack before the int 80h. The reason for this is given at the top of the page: although the kernel is accessed using int 80h, it is assumed the program will call a function that issues int 80h, rather than issuing int 80h directly. So the extra dword pushed onto the stack takes the place of the return address from the function the kernel expects to have been called. And since you're not actually using as a return address, it doesn't matter what value it actually has. The kernel doesn't use it for anything; it just expects it to be there in a properly arranged stack frame. From djr at pdconsec.net Thu Nov 12 02:21:13 2009 From: djr at pdconsec.net (David Rawling) Date: Thu Nov 12 02:21:20 2009 Subject: atom based servers References: <4AFB3A2A.4040303@brianwhalen.net> Message-ID: -----Original Message----- >From: Brian Whalen >Sent: Thu 12/11/2009 9:26 AM > >I see supermicro and potentially others have atom servers available, >anyone tried these on freebsd with success? > >Brian Hi Brian Indeed, I have a FreeBSD 8.0RC1 system running as my primary time server for the home network. Since it's an Atom 330, it fully supports 64-bit mode (an opportunity I have grasped with both hands). The board I happen to be using is an Intel DG945GCLF2 - a clone board with just 1 DIMM slot and two SATA ports. Everything I need to have supported Just Worked out of the box. The server itself is running at a very low load level: timeserver ~ 15> uptime 1:00PM up 6 days, 12:38, 1 user, load averages: 0.00, 0.00, 0.00 I can provide the output of most any other commands if you'd like to see anything specific. I rather suspect that the Supermicro and other server-class Atoms will still be using the Intel 945 or similar chipsets. Dave. -- David Rawling PD Consulting And Security Email: djr@pdconsec.net From perryh at pluto.rain.com Thu Nov 12 08:21:52 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Nov 12 08:22:16 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <200911112229.24468.mihai.dontu@gmail.com> References: <4AFB13D9.9050507@gmail.com> <200911112229.24468.mihai.dontu@gmail.com> Message-ID: <4afbc3ec.zk+/zkNLGZsHODYg%perryh@pluto.rain.com> Mihai Don??u wrote: > I don't think the kernel is the one that initializes the > 0, 1 and 2 file descriptors (stdin, stdout and stderr). Correct so far. > I think you have to open them yourself ... No, the shell does it. That's how it is able to set up pipes and redirection. From robin at reportlab.com Thu Nov 12 10:14:31 2009 From: robin at reportlab.com (Robin Becker) Date: Thu Nov 12 10:14:38 2009 Subject: atom based servers In-Reply-To: References: <4AFB3A2A.4040303@brianwhalen.net> Message-ID: <4AFBDFFF.9020603@chamonix.reportlab.co.uk> David Rawling wrote: ........ > > Hi Brian > > Indeed, I have a FreeBSD 8.0RC1 system running as my primary time > server for the home network. Since it's an Atom 330, it fully > supports 64-bit mode (an opportunity I have grasped with both hands). I have one of the Acer ION gadgets running at home and that also uses the Atom 330. I cannot find any nice way to reduce the power consumption though as the 330 doesn't seem to support speedstep and my cpu is always running at 68C. Does your board provide any power control opportunity? > > The board I happen to be using is an Intel DG945GCLF2 - a clone > board with just 1 DIMM slot and two SATA ports. Everything I need > to have supported Just Worked out of the box. > >......... > I can provide the output of most any other commands if you'd like > to see anything specific. I rather suspect that the Supermicro and > other server-class Atoms will still be using the Intel 945 or > similar chipsets. -- Robin Becker From mexas at bristol.ac.uk Thu Nov 12 13:47:07 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Nov 12 13:47:16 2009 Subject: where's my konqueror? Message-ID: <20091112134701.GA66194@mech-cluster241.men.bris.ac.uk> I installed kdebase-4.3.1_1, but cannot find konqueror. It's supposed be a part of kdebase, isn't it? 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 From mail at ozzmosis.com Thu Nov 12 14:10:34 2009 From: mail at ozzmosis.com (andrew clarke) Date: Thu Nov 12 14:10:41 2009 Subject: Can I prevent freebsd-update from installing kernel debug files In-Reply-To: <5b32573f0911111035k48646b2bo7c1c7c5c9af0c22d@mail.gmail.com> References: <5b32573f0911111035k48646b2bo7c1c7c5c9af0c22d@mail.gmail.com> Message-ID: <20091112134350.GA21453@ozzmosis.com> On Wed 2009-11-11 12:35:55 UTC-0600, Jason Fried (rev@churchofbsd.org) wrote: > I have a fairly old install and not much room on my ROOT is there a way to > prevent freebsd-update from installing ".symbols" files. In /etc/freebsd-update.conf: IgnorePaths /boot/kernel/*.symbols >From reading the man page I get the impression this should work. I haven't tested it though. From h.skuhra at gmail.com Thu Nov 12 14:17:20 2009 From: h.skuhra at gmail.com (Herbert J. Skuhra) Date: Thu Nov 12 14:17:27 2009 Subject: where's my konqueror? In-Reply-To: <20091112134701.GA66194@mech-cluster241.men.bris.ac.uk> References: <20091112134701.GA66194@mech-cluster241.men.bris.ac.uk> Message-ID: On Thu, Nov 12, 2009 at 2:47 PM, Anton Shterenlikht wrote: > I installed ?kdebase-4.3.1_1, but cannot find konqueror. > It's supposed be a part of kdebase, isn't it? % grep konqueror /usr/ports/x11/kdebase4/pkg-plist bin/konqueror lib/libkdeinit4_konqueror.so [...] --Herbert From usleepless at gmail.com Thu Nov 12 14:20:20 2009 From: usleepless at gmail.com (usleepless@gmail.com) Date: Thu Nov 12 14:20:26 2009 Subject: where's my konqueror? In-Reply-To: References: <20091112134701.GA66194@mech-cluster241.men.bris.ac.uk> Message-ID: On Thu, Nov 12, 2009 at 3:17 PM, Herbert J. Skuhra wrote: > On Thu, Nov 12, 2009 at 2:47 PM, Anton Shterenlikht > wrote: > > I installed kdebase-4.3.1_1, but cannot find konqueror. > > It's supposed be a part of kdebase, isn't it? > > % grep konqueror /usr/ports/x11/kdebase4/pkg-plist > bin/konqueror > lib/libkdeinit4_konqueror.so > [...] > > my 4.3.0 decided to install everything into /usr/local/kde4. so my konq is at /usr/local/kde4/bin/konqueror. don't know why. didn't dare to ask. regards, usleep > --Herbert > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From djr at pdconsec.net Thu Nov 12 14:48:24 2009 From: djr at pdconsec.net (David Rawling) Date: Thu Nov 12 14:48:31 2009 Subject: atom based servers References: <4AFB3A2A.4040303@brianwhalen.net> <4AFBDFFF.9020603@chamonix.reportlab.co.uk> Message-ID: Robin Becker opined: ... >I have one of the Acer ION gadgets running at home and that also uses the Atom >330. I cannot find any nice way to reduce the power consumption though as the >330 doesn't seem to support speedstep and my cpu is always running at 68C. Does >your board provide any power control opportunity? sysctl dev.cpu.0.freq reports that my CPU is running at 202 or 404MHz generally: timeserver ~ 127# sysctl dev.cpu.0.freq dev.cpu.0.freq: 404 timeserver ~ 128# sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 1618/-1 1415/-1 1213/-1 1011/-1 809/-1 606/-1 404/-1 202/-1 I notice the only C states are C0 and C1, and that it's generally running in C1: timeserver ~ 136# sysctl dev.cpu.0 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 202 dev.cpu.0.freq_levels: 1618/-1 1415/-1 1213/-1 1011/-1 809/-1 606/-1 404/-1 202/-1 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 500us lmmon is not particularly helpful for anything on this board, but that could be because I'm using the Generic kernel and /dev/smb0 is not present: timeserver ~ 134# lmmon -i Motherboard Temp Voltages 255C / 491F / 528K Vcore1: +3.984V Vcore2: +3.984V Fan Speeds + 3.3V: +3.984V + 5.0V: +6.654V 1: 0 rpm +12.0V: +15.938V 2: 0 rpm -12.0V: -15.938V 3: 0 rpm - 5.0V: -6.654V Do you have any other suggestions of tools I could use to help answer your question? Perhaps the lack of other C states is causing the excess power consumption (or perhaps your system is more heavily loaded)? I'm assuming for the sake of simplicity that powerd is already enabled (I'm running with powerd_flags="-i 85 -r 60 -p 100")? Dave. -- David Rawling PD Consulting And Security Email: djr@pdconsec.net From jerrymc at msu.edu Thu Nov 12 14:55:09 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Nov 12 14:55:16 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111170900.GA5972@gizmo.acns.msu.edu> <20091111184945.GA6493@gizmo.acns.msu.edu> <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> Message-ID: <20091112145253.GA12151@gizmo.acns.msu.edu> On Wed, Nov 11, 2009 at 06:57:02PM -0600, Jes?s Abidan wrote: > i did it like you say, but something is happening with my installation, it > boots always the first OS, i don't have any ideas for having a dual > system... argh!! Perchance, is your other system MS-Vista? As I mentioned in a previous response, I have heard of people having problems with dual booting with Vista and having to follow some other procedure for that. But, I haven't used Vista (and do not intend to) so you will have to do some archive searching to find those pieces of information. ////jerry > > 2009/11/11 Jerry McAllister > > > On Wed, Nov 11, 2009 at 02:12:22PM -0600, Jes?s Abidan wrote: > > > > > so, then i need to create 2 slices with gparted, install windows on the > > > first one, and install freebsd on the second one and label this partition > > > automatically by the installer (ad0s1, ad0s2, etc) and install the > > bootmgr? > > > > Yes, essentially except for those partition names. > > > > Create the two slices/primary partitions. > > Install the MS-Win in the first one. I think then MS will call it 'c:' > > Anyway, FreeBSD will think it is ad0s1. > > > > Then install FreeBSD in the second slice/primary partition. MS will not > > even know it is there. FreeBSD will call it ad0s2. > > > > During the install, that ad0s2 slice will be subdivided according to how > > you tell it into FreeBSD partitions with names like ad0s2a (for root) > > and ad0s2b (for swap), ad0s2d for whatever - maybe /tmp, ad0s2e for > > something else, such as /usr, etc. > > > > For my general purpose machines I usually subdivide in to > > the following partitions: > > a mounts as / eg: mount /dev/ad0s2a / > > b swap > > c describes the slice and is not a real partition > > d mounts as /tmp eg: mount /dev/ad0s2d /tmp > > e mounts as /usr etc > > f mounts as /var > > g mounts as /home or something similar > > > > > > For my systems that are single purpose central servers I tend to do this: > > a mounts as / everything but swap and afscache goes in root. > > b swap > > c slice description > > d /afscache > > > > > > If I have a second drive for scratch or work space I tend to do: > > a mounts as /work and uses up all the space except extra swap > > b used for additional swap > > c describes the slice > > > > The sizes of the various partition-subdivisions depends on the size > > of the disk and the use being made of the machine and what I want > > to install on it and how I want to handle backups. > > > > ////jerry > > > > > > > > > > 2009/11/11 Jerry McAllister > > > > > > > On Wed, Nov 11, 2009 at 01:22:58PM -0600, Jes?s Abidan wrote: > > > > > > > > > ok. the slices in freebsd are little tricky, i will check my > > installation > > > > > and send some feedback later. > > > > > > > > > > > > ?? FreeBSD slices are pretty straight forward. They are just the > > > > name of the 4 primary divisions of a disk - limited to 4 by BIOS. > > > > MS just calls them primary partitions instead of slices. > > > > > > > > The major difference is how they might be subdivided. MS does what it > > > > calls logical partitions. FreeBSD subdivisions are just called > > partitions. > > > > > > > > The fdisk(8) utility creates slices (or primary partitions in MS, > > though > > > > the > > > > FreeBSD fdisk is not very conversant with some of the new MS types so > > you > > > > may be better off using something else to create primary > > partitions/slices > > > > if other OSen are being accomodated). Slices (or primary partitions) > > are > > > > identified by numbers 1..4. > > > > > > > > The bsdlabel(8) utility in FreeBSD is what subdivides a slice in to > > > > partitions. It used to be that it was limited to 7 real partitions > > > > identified with letters a..h with the letter 'c' reserved to describe > > > > the whole slice and not usable as a real partition. Partition 'a' is > > > > normally root mounted as '/' and partition 'b' is used as swap. These > > > > two (a & b) are conventions and not enforced, except that some software > > > > may make these assumptions. My understanding is that the newest > > > > versions of FreeBSD (8.0) modify or remove the limit and you can have > > > > letters above 'h' and thus more subdivisions in a slice, but I haven't > > > > tried that yet. > > > > > > > > In FreeBSD, to create a filesystem from a partition, you run newfs(8) > > on > > > > it. > > > > > > > > ////jerry > > > > > > > > > > > > > > Thanks a lot. > > > > > > > > > > 2009/11/11 Jerry McAllister > > > > > > > > > > > On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes?s Abidan wrote: > > > > > > > > > > > > > i pressed f2 for freebsd and nothing happens... i pressed f1 for > > > > windows. > > > > > > > > > > > > > > I install freebsd on the first partition and now it occurs the > > > > viceversa, > > > > > > i > > > > > > > cannot boot windows, does it have to be something with the order > > of > > > > the > > > > > > > partitions? i mean primary, logical o something like this? > > > > > > > > > > > > MS-Win should optimally be installed on the first primary > > partition. > > > > > > This is called 'slice 1' by FreeBSD. Then FreeBSD should be > > installed > > > > > > on slice 2. > > > > > > > > > > > > If the slices are not to your liking, then you may need to use some > > > > > > utility such as Parition Magic 7 (I had trouble with PM-8) or > > gparted > > > > > > to define the primary partitions/slices before you do any of the > > > > installs. > > > > > > But, still, MS-Win should be installed first and go in the first > > slice > > > > > > and FreeBSD later in another slice. That is because MS-Win doesn't > > > > play > > > > > > very well if installed later and/or in a different slice. > > > > > > > > > > > > When you install FreeBSD (after the MS-Win install) select > > installing > > > > > > the FreeBSD MBR (not none or default minimum). It should be > > smart > > > > > > enough to find both. > > > > > > > > > > > > I have heard some complaints about MS-Vista and having to do some > > > > > > other monkeying around to get an MBR to handle it correctly, but I > > > > > > don't know details and I do not (lucky me) have any Vista machines > > > > > > to joust with. > > > > > > > > > > > > ////jerry > > > > > > > > > > > > > > > > > > > > > > > > > > 2009/11/11 Jerry McAllister > > > > > > > > > > > > > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan wrote: > > > > > > > > > > > > > > > > > Hi there, i have a problem here, i installed windows in mi > > box > > > > and i > > > > > > left > > > > > > > > a > > > > > > > > > partition for freebsd, i finished install of freebsd and > > > > installed > > > > > > the > > > > > > > > boot > > > > > > > > > mgr of freebsd but when i reboot only windows boots with f1 > > > > pressed? > > > > > > how > > > > > > > > can > > > > > > > > > I make the system boots both? > > > > > > > > > > > > > > > > Not sure all of what you see, but if you literally mean that > > when > > > > > > > > you press F1 it always boots MS-Win, that is probably correct. > > > > > > > > You will have to press F2 or maybe F3 (depending in which slice > > you > > > > > > > > installed FreeBSD) to boot FreeBSD. > > > > > > > > > > > > > > > > I suspect you mean something a little different, but if so, > > > > > > > > please elaborate. > > > > > > > > > > > > > > > > ////jerry > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > freebsd-questions@freebsd.org mailing list > > > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > > > > > > To unsubscribe, send any mail to " > > > > > > > > freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > > > > > > > > > > From djackson452 at gmail.com Thu Nov 12 15:38:33 2009 From: djackson452 at gmail.com (David Jackson) Date: Thu Nov 12 15:39:09 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <20091112014515.GB21567@comcast.net> References: <4AFB13D9.9050507@gmail.com> <20091112013240.GA21567@comcast.net> <20091112014515.GB21567@comcast.net> Message-ID: <4AFC2BDF.7060405@gmail.com> Charlie Kester wrote: > On Wed 11 Nov 2009 at 17:32:41 PST Charlie Kester wrote: > > One more thing: > >> Notice that the system call number (or any other dword) should also be >> pushed onto the stack before the int 80h. > > The reason for this is given at the top of the page: > > although the kernel is accessed using int 80h, it is assumed the > program will call a function that issues int 80h, rather than issuing > int 80h directly. > > So the extra dword pushed onto the stack takes the place of the return > address from the function the kernel expects to have been called. > And since you're not actually using as a return address, it doesn't > matter what value it actually has. The kernel doesn't use it for > anything; it just expects it to be there in a properly arranged stack > frame. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" The push eax is what made it work. So that was the problem. Stdin and stdout do not need to opened before they are used, as in C. Thank you everyone for your help on this, that solved it. Here is the code that works: section .data hello db 'Hello, World!', 0xa hbytes equ $ - hello section .text global _start _start: push dword hbytes push dword hello push dword 1 mov eax,0x4 push eax int 0x80 add esp,16 push dword 0 mov eax,0x1 push eax int 0x80 From jerrymc at msu.edu Thu Nov 12 16:10:21 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Nov 12 16:10:29 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111184945.GA6493@gizmo.acns.msu.edu> <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> Message-ID: <20091112160806.GA12548@gizmo.acns.msu.edu> On Thu, Nov 12, 2009 at 09:38:27AM -0600, Jes?s Abidan wrote: First, please send all messages to the freebsd-questions list and not just to me. That is proper list etiquette, plus you will be able to get responses from more than just me. Others may know more. In other words, always do a 'reply all' on list email. > read this: > > "First, be aware that all the information necessary to boot FreeBSD must be > located within the first 1,024 cylinders of the hard disk. This is necessary > for the FreeBSD boot manager to work; it means that when you partition the > disk for FreeBSD using FIPS, either the root partition must be completely > located within the first 1,024 cylinders or you can use a separate boot > partition that is completely located in the first 1,024 cylinders. Use the > "Start" and "End" cylinder readouts in FIPS to determine where your > partitions start and end. If you choose the latter option, the root > partition does not have to be completely located in the first 1,024 > cylinders. Note that "completely located" means that the partition has to > both start and end below the 1,024th cylinder. Simply starting below the > 1,024th cylinder is not good enough. This is obsolete information for most computers with BIOS and disks created later than about 1998. That really means all computers functioning today. It is also obsolete for FreeBSD systems which do not use BIOS to talk to the disk. There are numerous web sites that explain this including some documentation on the FreeBSD web site: http://www.freebsd.org/ ////jerry > > http://www.informit.com/articles/article.aspx?p=32084&seqNum=4" > > as i see, do i need to create a partition(located in the first > 1024cylinders) to BOOT from? (sorry) > > 2009/11/12 Jes?s Abidan > > > no, it's not vista, is XP > > > > 2009/11/12 Jerry McAllister > > > > On Wed, Nov 11, 2009 at 06:57:02PM -0600, Jes?s Abidan wrote: > >> > >> > i did it like you say, but something is happening with my installation, > >> it > >> > boots always the first OS, i don't have any ideas for having a dual > >> > system... argh!! > >> > >> Perchance, is your other system MS-Vista? > >> As I mentioned in a previous response, I have heard of people > >> having problems with dual booting with Vista and having to > >> follow some other procedure for that. But, I haven't used Vista > >> (and do not intend to) so you will have to do some archive searching > >> to find those pieces of information. > >> > >> ////jerry > >> > >> > >> > >> > > >> > 2009/11/11 Jerry McAllister > >> > > >> > > On Wed, Nov 11, 2009 at 02:12:22PM -0600, Jes?s Abidan wrote: > >> > > > >> > > > so, then i need to create 2 slices with gparted, install windows on > >> the > >> > > > first one, and install freebsd on the second one and label this > >> partition > >> > > > automatically by the installer (ad0s1, ad0s2, etc) and install the > >> > > bootmgr? > >> > > > >> > > Yes, essentially except for those partition names. > >> > > > >> > > Create the two slices/primary partitions. > >> > > Install the MS-Win in the first one. I think then MS will call it > >> 'c:' > >> > > Anyway, FreeBSD will think it is ad0s1. > >> > > > >> > > Then install FreeBSD in the second slice/primary partition. MS will > >> not > >> > > even know it is there. FreeBSD will call it ad0s2. > >> > > > >> > > During the install, that ad0s2 slice will be subdivided according to > >> how > >> > > you tell it into FreeBSD partitions with names like ad0s2a (for root) > >> > > and ad0s2b (for swap), ad0s2d for whatever - maybe /tmp, ad0s2e for > >> > > something else, such as /usr, etc. > >> > > > >> > > For my general purpose machines I usually subdivide in to > >> > > the following partitions: > >> > > a mounts as / eg: mount /dev/ad0s2a / > >> > > b swap > >> > > c describes the slice and is not a real partition > >> > > d mounts as /tmp eg: mount /dev/ad0s2d /tmp > >> > > e mounts as /usr etc > >> > > f mounts as /var > >> > > g mounts as /home or something similar > >> > > > >> > > > >> > > For my systems that are single purpose central servers I tend to do > >> this: > >> > > a mounts as / everything but swap and afscache goes in root. > >> > > b swap > >> > > c slice description > >> > > d /afscache > >> > > > >> > > > >> > > If I have a second drive for scratch or work space I tend to do: > >> > > a mounts as /work and uses up all the space except extra swap > >> > > b used for additional swap > >> > > c describes the slice > >> > > > >> > > The sizes of the various partition-subdivisions depends on the size > >> > > of the disk and the use being made of the machine and what I want > >> > > to install on it and how I want to handle backups. > >> > > > >> > > ////jerry > >> > > > >> > > > >> > > > > >> > > > 2009/11/11 Jerry McAllister > >> > > > > >> > > > > On Wed, Nov 11, 2009 at 01:22:58PM -0600, Jes?s Abidan wrote: > >> > > > > > >> > > > > > ok. the slices in freebsd are little tricky, i will check my > >> > > installation > >> > > > > > and send some feedback later. > >> > > > > > >> > > > > > >> > > > > ?? FreeBSD slices are pretty straight forward. They are just > >> the > >> > > > > name of the 4 primary divisions of a disk - limited to 4 by BIOS. > >> > > > > MS just calls them primary partitions instead of slices. > >> > > > > > >> > > > > The major difference is how they might be subdivided. MS does > >> what it > >> > > > > calls logical partitions. FreeBSD subdivisions are just called > >> > > partitions. > >> > > > > > >> > > > > The fdisk(8) utility creates slices (or primary partitions in MS, > >> > > though > >> > > > > the > >> > > > > FreeBSD fdisk is not very conversant with some of the new MS types > >> so > >> > > you > >> > > > > may be better off using something else to create primary > >> > > partitions/slices > >> > > > > if other OSen are being accomodated). Slices (or primary > >> partitions) > >> > > are > >> > > > > identified by numbers 1..4. > >> > > > > > >> > > > > The bsdlabel(8) utility in FreeBSD is what subdivides a slice in > >> to > >> > > > > partitions. It used to be that it was limited to 7 real > >> partitions > >> > > > > identified with letters a..h with the letter 'c' reserved to > >> describe > >> > > > > the whole slice and not usable as a real partition. Partition 'a' > >> is > >> > > > > normally root mounted as '/' and partition 'b' is used as swap. > >> These > >> > > > > two (a & b) are conventions and not enforced, except that some > >> software > >> > > > > may make these assumptions. My understanding is that the newest > >> > > > > versions of FreeBSD (8.0) modify or remove the limit and you can > >> have > >> > > > > letters above 'h' and thus more subdivisions in a slice, but I > >> haven't > >> > > > > tried that yet. > >> > > > > > >> > > > > In FreeBSD, to create a filesystem from a partition, you run > >> newfs(8) > >> > > on > >> > > > > it. > >> > > > > > >> > > > > ////jerry > >> > > > > > >> > > > > > > >> > > > > > Thanks a lot. > >> > > > > > > >> > > > > > 2009/11/11 Jerry McAllister > >> > > > > > > >> > > > > > > On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes?s Abidan wrote: > >> > > > > > > > >> > > > > > > > i pressed f2 for freebsd and nothing happens... i pressed f1 > >> for > >> > > > > windows. > >> > > > > > > > > >> > > > > > > > I install freebsd on the first partition and now it occurs > >> the > >> > > > > viceversa, > >> > > > > > > i > >> > > > > > > > cannot boot windows, does it have to be something with the > >> order > >> > > of > >> > > > > the > >> > > > > > > > partitions? i mean primary, logical o something like this? > >> > > > > > > > >> > > > > > > MS-Win should optimally be installed on the first primary > >> > > partition. > >> > > > > > > This is called 'slice 1' by FreeBSD. Then FreeBSD should be > >> > > installed > >> > > > > > > on slice 2. > >> > > > > > > > >> > > > > > > If the slices are not to your liking, then you may need to use > >> some > >> > > > > > > utility such as Parition Magic 7 (I had trouble with PM-8) or > >> > > gparted > >> > > > > > > to define the primary partitions/slices before you do any of > >> the > >> > > > > installs. > >> > > > > > > But, still, MS-Win should be installed first and go in the > >> first > >> > > slice > >> > > > > > > and FreeBSD later in another slice. That is because MS-Win > >> doesn't > >> > > > > play > >> > > > > > > very well if installed later and/or in a different slice. > >> > > > > > > > >> > > > > > > When you install FreeBSD (after the MS-Win install) select > >> > > installing > >> > > > > > > the FreeBSD MBR (not none or default minimum). It should be > >> > > smart > >> > > > > > > enough to find both. > >> > > > > > > > >> > > > > > > I have heard some complaints about MS-Vista and having to do > >> some > >> > > > > > > other monkeying around to get an MBR to handle it correctly, > >> but I > >> > > > > > > don't know details and I do not (lucky me) have any Vista > >> machines > >> > > > > > > to joust with. > >> > > > > > > > >> > > > > > > ////jerry > >> > > > > > > > >> > > > > > > > >> > > > > > > > > >> > > > > > > > 2009/11/11 Jerry McAllister > >> > > > > > > > > >> > > > > > > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan > >> wrote: > >> > > > > > > > > > >> > > > > > > > > > Hi there, i have a problem here, i installed windows in > >> mi > >> > > box > >> > > > > and i > >> > > > > > > left > >> > > > > > > > > a > >> > > > > > > > > > partition for freebsd, i finished install of freebsd and > >> > > > > installed > >> > > > > > > the > >> > > > > > > > > boot > >> > > > > > > > > > mgr of freebsd but when i reboot only windows boots with > >> f1 > >> > > > > pressed? > >> > > > > > > how > >> > > > > > > > > can > >> > > > > > > > > > I make the system boots both? > >> > > > > > > > > > >> > > > > > > > > Not sure all of what you see, but if you literally mean > >> that > >> > > when > >> > > > > > > > > you press F1 it always boots MS-Win, that is probably > >> correct. > >> > > > > > > > > You will have to press F2 or maybe F3 (depending in which > >> slice > >> > > you > >> > > > > > > > > installed FreeBSD) to boot FreeBSD. > >> > > > > > > > > > >> > > > > > > > > I suspect you mean something a little different, but if > >> so, > >> > > > > > > > > please elaborate. > >> > > > > > > > > > >> > > > > > > > > ////jerry > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > _______________________________________________ > >> > > > > > > > > > freebsd-questions@freebsd.org mailing list > >> > > > > > > > > > > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> > > > > > > > > > To unsubscribe, send any mail to " > >> > > > > > > > > freebsd-questions-unsubscribe@freebsd.org" > >> > > > > > > > > > >> > > > > > > > >> > > > > > >> > > > >> > > > > From jerrymc at msu.edu Thu Nov 12 16:14:31 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Nov 12 16:14:44 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111184945.GA6493@gizmo.acns.msu.edu> <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> Message-ID: <20091112161215.GB12548@gizmo.acns.msu.edu> On Thu, Nov 12, 2009 at 10:04:29AM -0600, Jes?s Abidan wrote: > i think i have the problem... > > i have two hard disks, IDE and SATA, i saw in my MS XP, my root label is F: > instead of C: maybe it is something related to jumpers or something like > that? That is a little surprise to me, but I am not up on the ins and outs of IDE/SATA labeling. Most of my machines - all of the servers - have SCSI or SAS disk which does it differently (and more easily). My only SATA machines have only a single disk. One thing to ask is: what does it have as c:, d: and e: ?? Maybe something is plugged in the wrong - or inconvenient - order on the controller. Or, I suppose there might be a jumper issue. ////jerry > > 2009/11/12 Jes?s Abidan > From jabidan at gmail.com Thu Nov 12 16:24:53 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Thu Nov 12 16:25:01 2009 Subject: cannot boot freebsd In-Reply-To: <20091112161215.GB12548@gizmo.acns.msu.edu> References: <20091111184945.GA6493@gizmo.acns.msu.edu> <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> <20091112161215.GB12548@gizmo.acns.msu.edu> Message-ID: no idea... the machine had only one hard drive(PATA), then i plugged a new sata HD(freebsd style), with information on it. The PATA drive is cofigured as the primary disk, and the sata in bios it says is in PORT 0. I'll try removing the SATA disk and install freebsd, maybe is the jumper configuration. 2009/11/12 Jerry McAllister > On Thu, Nov 12, 2009 at 10:04:29AM -0600, Jes?s Abidan wrote: > > > i think i have the problem... > > > > i have two hard disks, IDE and SATA, i saw in my MS XP, my root label is > F: > > instead of C: maybe it is something related to jumpers or something like > > that? > > That is a little surprise to me, but I am not up on the ins and outs > of IDE/SATA labeling. Most of my machines - all of the servers - > have SCSI or SAS disk which does it differently (and more easily). > My only SATA machines have only a single disk. > > One thing to ask is: what does it have as c:, d: and e: ?? > Maybe something is plugged in the wrong - or inconvenient - order > on the controller. Or, I suppose there might be a jumper issue. > > ////jerry > > > > > > 2009/11/12 Jes?s Abidan > > > From jabidan at gmail.com Thu Nov 12 16:36:26 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Thu Nov 12 16:36:34 2009 Subject: cannot boot freebsd In-Reply-To: References: <20091111184945.GA6493@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> <20091112161215.GB12548@gizmo.acns.msu.edu> Message-ID: no, it is not the disk, i removed it and the same problem... 2009/11/12 Jes?s Abidan > no idea... > > the machine had only one hard drive(PATA), then i plugged a new sata > HD(freebsd style), with information on it. The PATA drive is cofigured as > the primary disk, and the sata in bios it says is in PORT 0. > > I'll try removing the SATA disk and install freebsd, maybe is the jumper > configuration. > > 2009/11/12 Jerry McAllister > >> On Thu, Nov 12, 2009 at 10:04:29AM -0600, Jes?s Abidan wrote: >> >> >> > i think i have the problem... >> > >> > i have two hard disks, IDE and SATA, i saw in my MS XP, my root label is >> F: >> > instead of C: maybe it is something related to jumpers or something like >> > that? >> >> That is a little surprise to me, but I am not up on the ins and outs >> of IDE/SATA labeling. Most of my machines - all of the servers - >> have SCSI or SAS disk which does it differently (and more easily). >> My only SATA machines have only a single disk. >> >> One thing to ask is: what does it have as c:, d: and e: ?? >> Maybe something is plugged in the wrong - or inconvenient - order >> on the controller. Or, I suppose there might be a jumper issue. >> >> ////jerry >> >> >> > >> > 2009/11/12 Jes?s Abidan >> > >> > > From jabidan at gmail.com Thu Nov 12 16:37:51 2009 From: jabidan at gmail.com (=?ISO-8859-1?Q?Jes=FAs_Abidan?=) Date: Thu Nov 12 16:37:58 2009 Subject: cannot boot freebsd In-Reply-To: <20091112160806.GA12548@gizmo.acns.msu.edu> References: <20091111195247.GA6824@gizmo.acns.msu.edu> <20091111205612.GA7167@gizmo.acns.msu.edu> <20091112145253.GA12151@gizmo.acns.msu.edu> <20091112160806.GA12548@gizmo.acns.msu.edu> Message-ID: ok, sorry... 2009/11/12 Jerry McAllister > On Thu, Nov 12, 2009 at 09:38:27AM -0600, Jes?s Abidan wrote: > > First, please send all messages to the freebsd-questions list and not > just to me. That is proper list etiquette, plus you will be able to > get responses from more than just me. Others may know more. > In other words, always do a 'reply all' on list email. > > > > read this: > > > > "First, be aware that all the information necessary to boot FreeBSD must > be > > located within the first 1,024 cylinders of the hard disk. This is > necessary > > for the FreeBSD boot manager to work; it means that when you partition > the > > disk for FreeBSD using FIPS, either the root partition must be completely > > located within the first 1,024 cylinders or you can use a separate boot > > partition that is completely located in the first 1,024 cylinders. Use > the > > "Start" and "End" cylinder readouts in FIPS to determine where your > > partitions start and end. If you choose the latter option, the root > > partition does not have to be completely located in the first 1,024 > > cylinders. Note that "completely located" means that the partition has to > > both start and end below the 1,024th cylinder. Simply starting below the > > 1,024th cylinder is not good enough. > > This is obsolete information for most computers with BIOS and disks > created later than about 1998. That really means all computers > functioning today. It is also obsolete for FreeBSD systems which > do not use BIOS to talk to the disk. > > There are numerous web sites that explain this including some > documentation on the FreeBSD web site: http://www.freebsd.org/ > > ////jerry > > > > > > > http://www.informit.com/articles/article.aspx?p=32084&seqNum=4" > > > > as i see, do i need to create a partition(located in the first > > 1024cylinders) to BOOT from? (sorry) > > > > 2009/11/12 Jes?s Abidan > > > > > no, it's not vista, is XP > > > > > > 2009/11/12 Jerry McAllister > > > > > > On Wed, Nov 11, 2009 at 06:57:02PM -0600, Jes?s Abidan wrote: > > >> > > >> > i did it like you say, but something is happening with my > installation, > > >> it > > >> > boots always the first OS, i don't have any ideas for having a dual > > >> > system... argh!! > > >> > > >> Perchance, is your other system MS-Vista? > > >> As I mentioned in a previous response, I have heard of people > > >> having problems with dual booting with Vista and having to > > >> follow some other procedure for that. But, I haven't used Vista > > >> (and do not intend to) so you will have to do some archive searching > > >> to find those pieces of information. > > >> > > >> ////jerry > > >> > > >> > > >> > > >> > > > >> > 2009/11/11 Jerry McAllister > > >> > > > >> > > On Wed, Nov 11, 2009 at 02:12:22PM -0600, Jes?s Abidan wrote: > > >> > > > > >> > > > so, then i need to create 2 slices with gparted, install windows > on > > >> the > > >> > > > first one, and install freebsd on the second one and label this > > >> partition > > >> > > > automatically by the installer (ad0s1, ad0s2, etc) and install > the > > >> > > bootmgr? > > >> > > > > >> > > Yes, essentially except for those partition names. > > >> > > > > >> > > Create the two slices/primary partitions. > > >> > > Install the MS-Win in the first one. I think then MS will call it > > >> 'c:' > > >> > > Anyway, FreeBSD will think it is ad0s1. > > >> > > > > >> > > Then install FreeBSD in the second slice/primary partition. MS > will > > >> not > > >> > > even know it is there. FreeBSD will call it ad0s2. > > >> > > > > >> > > During the install, that ad0s2 slice will be subdivided according > to > > >> how > > >> > > you tell it into FreeBSD partitions with names like ad0s2a (for > root) > > >> > > and ad0s2b (for swap), ad0s2d for whatever - maybe /tmp, ad0s2e > for > > >> > > something else, such as /usr, etc. > > >> > > > > >> > > For my general purpose machines I usually subdivide in to > > >> > > the following partitions: > > >> > > a mounts as / eg: mount /dev/ad0s2a / > > >> > > b swap > > >> > > c describes the slice and is not a real partition > > >> > > d mounts as /tmp eg: mount /dev/ad0s2d /tmp > > >> > > e mounts as /usr etc > > >> > > f mounts as /var > > >> > > g mounts as /home or something similar > > >> > > > > >> > > > > >> > > For my systems that are single purpose central servers I tend to > do > > >> this: > > >> > > a mounts as / everything but swap and afscache goes in > root. > > >> > > b swap > > >> > > c slice description > > >> > > d /afscache > > >> > > > > >> > > > > >> > > If I have a second drive for scratch or work space I tend to do: > > >> > > a mounts as /work and uses up all the space except extra swap > > >> > > b used for additional swap > > >> > > c describes the slice > > >> > > > > >> > > The sizes of the various partition-subdivisions depends on the > size > > >> > > of the disk and the use being made of the machine and what I want > > >> > > to install on it and how I want to handle backups. > > >> > > > > >> > > ////jerry > > >> > > > > >> > > > > >> > > > > > >> > > > 2009/11/11 Jerry McAllister > > >> > > > > > >> > > > > On Wed, Nov 11, 2009 at 01:22:58PM -0600, Jes?s Abidan wrote: > > >> > > > > > > >> > > > > > ok. the slices in freebsd are little tricky, i will check my > > >> > > installation > > >> > > > > > and send some feedback later. > > >> > > > > > > >> > > > > > > >> > > > > ?? FreeBSD slices are pretty straight forward. They are > just > > >> the > > >> > > > > name of the 4 primary divisions of a disk - limited to 4 by > BIOS. > > >> > > > > MS just calls them primary partitions instead of slices. > > >> > > > > > > >> > > > > The major difference is how they might be subdivided. MS does > > >> what it > > >> > > > > calls logical partitions. FreeBSD subdivisions are just > called > > >> > > partitions. > > >> > > > > > > >> > > > > The fdisk(8) utility creates slices (or primary partitions in > MS, > > >> > > though > > >> > > > > the > > >> > > > > FreeBSD fdisk is not very conversant with some of the new MS > types > > >> so > > >> > > you > > >> > > > > may be better off using something else to create primary > > >> > > partitions/slices > > >> > > > > if other OSen are being accomodated). Slices (or primary > > >> partitions) > > >> > > are > > >> > > > > identified by numbers 1..4. > > >> > > > > > > >> > > > > The bsdlabel(8) utility in FreeBSD is what subdivides a slice > in > > >> to > > >> > > > > partitions. It used to be that it was limited to 7 real > > >> partitions > > >> > > > > identified with letters a..h with the letter 'c' reserved to > > >> describe > > >> > > > > the whole slice and not usable as a real partition. Partition > 'a' > > >> is > > >> > > > > normally root mounted as '/' and partition 'b' is used as > swap. > > >> These > > >> > > > > two (a & b) are conventions and not enforced, except that some > > >> software > > >> > > > > may make these assumptions. My understanding is that the > newest > > >> > > > > versions of FreeBSD (8.0) modify or remove the limit and you > can > > >> have > > >> > > > > letters above 'h' and thus more subdivisions in a slice, but I > > >> haven't > > >> > > > > tried that yet. > > >> > > > > > > >> > > > > In FreeBSD, to create a filesystem from a partition, you run > > >> newfs(8) > > >> > > on > > >> > > > > it. > > >> > > > > > > >> > > > > ////jerry > > >> > > > > > > >> > > > > > > > >> > > > > > Thanks a lot. > > >> > > > > > > > >> > > > > > 2009/11/11 Jerry McAllister > > >> > > > > > > > >> > > > > > > On Wed, Nov 11, 2009 at 12:27:13PM -0600, Jes?s Abidan > wrote: > > >> > > > > > > > > >> > > > > > > > i pressed f2 for freebsd and nothing happens... i > pressed f1 > > >> for > > >> > > > > windows. > > >> > > > > > > > > > >> > > > > > > > I install freebsd on the first partition and now it > occurs > > >> the > > >> > > > > viceversa, > > >> > > > > > > i > > >> > > > > > > > cannot boot windows, does it have to be something with > the > > >> order > > >> > > of > > >> > > > > the > > >> > > > > > > > partitions? i mean primary, logical o something like > this? > > >> > > > > > > > > >> > > > > > > MS-Win should optimally be installed on the first primary > > >> > > partition. > > >> > > > > > > This is called 'slice 1' by FreeBSD. Then FreeBSD should > be > > >> > > installed > > >> > > > > > > on slice 2. > > >> > > > > > > > > >> > > > > > > If the slices are not to your liking, then you may need to > use > > >> some > > >> > > > > > > utility such as Parition Magic 7 (I had trouble with PM-8) > or > > >> > > gparted > > >> > > > > > > to define the primary partitions/slices before you do any > of > > >> the > > >> > > > > installs. > > >> > > > > > > But, still, MS-Win should be installed first and go in > the > > >> first > > >> > > slice > > >> > > > > > > and FreeBSD later in another slice. That is because > MS-Win > > >> doesn't > > >> > > > > play > > >> > > > > > > very well if installed later and/or in a different slice. > > >> > > > > > > > > >> > > > > > > When you install FreeBSD (after the MS-Win install) select > > >> > > installing > > >> > > > > > > the FreeBSD MBR (not none or default minimum). It > should be > > >> > > smart > > >> > > > > > > enough to find both. > > >> > > > > > > > > >> > > > > > > I have heard some complaints about MS-Vista and having to > do > > >> some > > >> > > > > > > other monkeying around to get an MBR to handle it > correctly, > > >> but I > > >> > > > > > > don't know details and I do not (lucky me) have any Vista > > >> machines > > >> > > > > > > to joust with. > > >> > > > > > > > > >> > > > > > > ////jerry > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > >> > > > > > > > 2009/11/11 Jerry McAllister > > >> > > > > > > > > > >> > > > > > > > > On Wed, Nov 11, 2009 at 11:02:35AM -0600, Jes?s Abidan > > >> wrote: > > >> > > > > > > > > > > >> > > > > > > > > > Hi there, i have a problem here, i installed windows > in > > >> mi > > >> > > box > > >> > > > > and i > > >> > > > > > > left > > >> > > > > > > > > a > > >> > > > > > > > > > partition for freebsd, i finished install of freebsd > and > > >> > > > > installed > > >> > > > > > > the > > >> > > > > > > > > boot > > >> > > > > > > > > > mgr of freebsd but when i reboot only windows boots > with > > >> f1 > > >> > > > > pressed? > > >> > > > > > > how > > >> > > > > > > > > can > > >> > > > > > > > > > I make the system boots both? > > >> > > > > > > > > > > >> > > > > > > > > Not sure all of what you see, but if you literally > mean > > >> that > > >> > > when > > >> > > > > > > > > you press F1 it always boots MS-Win, that is probably > > >> correct. > > >> > > > > > > > > You will have to press F2 or maybe F3 (depending in > which > > >> slice > > >> > > you > > >> > > > > > > > > installed FreeBSD) to boot FreeBSD. > > >> > > > > > > > > > > >> > > > > > > > > I suspect you mean something a little different, but > if > > >> so, > > >> > > > > > > > > please elaborate. > > >> > > > > > > > > > > >> > > > > > > > > ////jerry > > >> > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > _______________________________________________ > > >> > > > > > > > > > freebsd-questions@freebsd.org mailing list > > >> > > > > > > > > > > > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > >> > > > > > > > > > To unsubscribe, send any mail to " > > >> > > > > > > > > freebsd-questions-unsubscribe@freebsd.org" > > >> > > > > > > > > > > >> > > > > > > > > >> > > > > > > >> > > > > >> > > > > > > > From keramida at ceid.upatras.gr Thu Nov 12 17:45:15 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Nov 12 17:45:22 2009 Subject: Problems with FreeBSD assembly In-Reply-To: <4AFB13D9.9050507@gmail.com> (David Jackson's message of "Wed, 11 Nov 2009 14:43:21 -0500") References: <4AFB13D9.9050507@gmail.com> Message-ID: <87fx8jeixl.fsf@kobe.laptop> On Wed, 11 Nov 2009 14:43:21 -0500, David Jackson wrote: > I am having great difficulty running a very simple assembler program > on FreeBSD on x86 in my efforts to learn some assembly programming on > FreeBSD. I have tried to compile the following with nasm, however i > get nothing in response when I attempt to run this program: > > section .data > hello db 'Hello, World!', 0xa > hbytes equ $ - hello > > section .text > global _start > _start: > push dword hbytes > push dword hello > push dword 1 > mov eax,0x4 > int 0x80 > add esp,12 > > push dword 0 > mov eax,0x1 > int 0x80 > > nasm -f elf -o hello1s.o hello1.s > ld -s -o hello1s hello1s.o > > ./hello1s prints nothing. > > What is wrong here? It should print "hello world". > Thanks in advance for your help, it is greatly appreciated. Hi David. The truss utility is your friend when you are trying to decipher system call problems. It can translate system call arguments to human-readable output; a very useful property when debugging issues like this. For example here's the output for your original code: $ truss ./hello write(134516904,0xe,1) ERR#9 'Bad file descriptor' process exit, rval = 1 Note how the arguments of write() are 'misplaced'? The answer is that you are not calling the system call with C-like conventions (including a function call return address). The calling conventions of system calls are described in the Developer's Handbook at: http://www.freebsd.org/doc/en/books/developers-handbook/x86-system-calls.html You are missing a dword push before interrupting. As the dev handbook says, you have to use C calling conventions or push an extra (ignorable) dword before interrupting: An assembly language program can do that as well. For example, we could open a file: | kernel: | int 80h ; Call kernel | ret | | open: | push dword mode | push dword flags | push dword path | mov eax, 5 | call kernel | add esp, byte 12 | ret This is a very clean and portable way of coding. If you need to port the code to a UNIX system which uses a different interrupt, or a different way of passing parameters, all you need to change is the kernel procedure. But assembly language programmers like to shave off cycles. The above example requires a call/ret combination. We can eliminate it by pushing an extra dword: | open: | push dword mode | push dword flags | push dword path | mov eax, 5 | push eax ; Or any other dword | int 80h | add esp, byte 16 So by pushing *one* more dword before you interrupt should work fine (and it does, from a small test I ran just now): : keramida@kobe:/home/keramida$ cat hello.s : section .data : hello db 'Hello, World!', 0xa : hbytes equ $ - hello : : section .text : global _start : _start: : push dword hbytes : push dword hello : push dword 1 : push dword 0 ;or any other dword : mov eax, 4 : int 0x80 : add esp, byte 16 : : push dword 0 : push dword 0 ;ignored dword : mov eax, 1 : int 0x80 : add esp, byte 8 ;NOT REACHED : keramida@kobe:/home/keramida$ nasm -f elf -o hello.o hello.s : keramida@kobe:/home/keramida$ ld -s -o hello hello.o : keramida@kobe:/home/keramida$ truss ./hello : Hello, World! : write(1,"Hello, World!\n",14) = 14 (0xe) : process exit, rval = 0 : keramida@kobe:/home/keramida$ HTH, Giorgos From masoom.shaikh at gmail.com Thu Nov 12 17:57:44 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Thu Nov 12 18:00:58 2009 Subject: where's my konqueror? In-Reply-To: References: <20091112134701.GA66194@mech-cluster241.men.bris.ac.uk> Message-ID: On Thu, Nov 12, 2009 at 7:50 PM, wrote: > On Thu, Nov 12, 2009 at 3:17 PM, Herbert J. Skuhra >wrote: > > > On Thu, Nov 12, 2009 at 2:47 PM, Anton Shterenlikht > > > wrote: > > > I installed kdebase-4.3.1_1, but cannot find konqueror. > > > It's supposed be a part of kdebase, isn't it? > > > > % grep konqueror /usr/ports/x11/kdebase4/pkg-plist > > bin/konqueror > > lib/libkdeinit4_konqueror.so > > [...] > > > > my 4.3.0 decided to install everything into /usr/local/kde4. so my konq > is > at /usr/local/kde4/bin/konqueror. > > don't know why. didn't dare to ask. > for co-existence with kde3 > > regards, > > usleep > > > > > --Herbert > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From anti_spam256 at yahoo.ca Thu Nov 12 18:28:12 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Thu Nov 12 18:28:18 2009 Subject: APM Message-ID: <784120.47330.qm@web65508.mail.ac4.yahoo.com> Hello, On Tuesday, I was all happy that I got APM working on my pre-2000 Compaq Deskpro following these instructions: http://forums.freebsd.org/showthread.php?t=4619 On Wednesday, after configuring the router to wake the server whenever DHCP leases are touched (quick&dirty hack), I was disappointed to learn that "suspend" mode saves only ~1watt over the "inherent" use of the HLT instruction by the kernel. I was expecting a savings of ~6 watts due to the disk spinning down. Approx power consumption (+- 1W): 51 Watts (busy; disk + CPU IIRC; not retested with DVD activity) 35 Watts idle 34 Watts suspend 3 Watts off (Measured using Kill-A-Watt model P4400) Part of the problem may be that I am not using the "on board" IDE controllers: I am using a Promise (Ultra100TX2) PDC20268 I realize the memory can't be shutdown without Hibernation support, but the disks can be spun down manually (using atacontrol): http://forums.freebsd.org/showthread.php?t=1012 However, when I try to do that, I find that the disk wakes within 2 seconds of spinning down. I noticed that the spindowns are logged. Could the log being written be causing the drive to spin up again? apm(4) says that apm gets around that problem by logging the suspend event AFTER waking up. I suppose it would be tricky to concurrently log to spin down of several disks that way. For example: Say disk with /var/log spins down at 00:00:05, but the rarely-used /srv drive spins down at 00:00:07. Should the logging drive defer recording BOTH spin-down messages, or spin-up, then spin-down again at about 00:15:20? Not that important for a 1W savings, but apm says my BIOS supports the following capabilities: global standby state // Supported sleep modes global suspend state resume timer from standby // Resume timer allows sleep to last resume timer from suspend // specific period of time? RI resume from standby // Wake on interrupts, i assume RI resume from suspend Would it be possible to coordinate the cron dameon with the suspend timer? Ie: wake 15 sec- 5min before next cron job? Not worth it without hibernate support though. apm(4) does not mention suspend timers at all. acpi(4) mentions "timer" as a sub-device and feature that can be disabled. Regards, James Phillips __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php From freebsd at edvax.de Thu Nov 12 19:37:07 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 12 19:37:14 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: References: Message-ID: <20091112203704.cd1c9dad.freebsd@edvax.de> On Wed, 11 Nov 2009 06:40:11 -0500, Carmel wrote: > Well, the results of that test does not exactly exhilarate me. > > # moused -f -d -p /dev/ums0 > moused: unable to open /dev/ums0: Device busy Seems that there's already a moused running. Use "ps ax" to find it PID and simply kill it. I had to do the same to check. Afterwards, enabling moused again is possible. > A common problem in today's society. It reminds me of an old adage: > > Just like with unexploded bombs, Blame is best dealt with by passing it > as quickly as possible to someone else. With the idea in mind that responsibility for confirming to existing standards is on the manufacturer's side. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From tkjacobsen at gmail.com Thu Nov 12 19:42:25 2009 From: tkjacobsen at gmail.com (Troels Kofoed Jacobsen) Date: Thu Nov 12 19:42:32 2009 Subject: Tracking commit messages from cli In-Reply-To: <27ade5280911091455u7b82dd83qa6813414754b867c@mail.gmail.com> References: <20091108190613.GA1486@photon.std> <27ade5280911091455u7b82dd83qa6813414754b867c@mail.gmail.com> Message-ID: <20091112194216.GA1317@photon.std> On Mon, Nov 09, 2009 at 05:55:57PM -0500, APseudoUtopia wrote: > On Sun, Nov 8, 2009 at 2:06 PM, Troels Kofoed Jacobsen > wrote: > > Hi all > > > > With pkg_version I can easily see which installed ports has newer > > versions available, but what I miss is a way to see what has changed. > > The reason for this is that commit messages often say that only the > > pkg-plist has changed or something that does not make me want to update. > > > > Right now I'm reading the commit messages from the cvs web frontend, but > > it would be awesome with a program that could say: > > gd-2.0.35_1,1 < ? needs updating (index has 2.0.35_2,1) > > Commit messages between the versions: > > blah blah blah > > blah ... ... > > ... > > > > I know freshports exist, but I would rather not have to open a web > > browser. > > > > Does such a program exist or do I have to write my own. In the latter > > case can anyone point me to an easy way to get raw-text versions of > > commit messages without having to track the whole tree. Does freshports > > e.g. have an api -- it has all the necessary information, just not > > available in a suitable form (to my knowledge) > > > > Best regards > > Troels Kofoed Jacobsen > > I asked this question some time ago and never got a response. I > currently just use a browser and visit www.freebsd.org/ports/ and read > the commit log there. So far, I haven't found any other alternative. If anyone's interested I've hacked together a small python script doing this: https://www.student.dtu.dk/~s052580/?page=software/commitmessages Best regards Troels Kofoed Jacobsen From carmel_ny at hotmail.com Thu Nov 12 20:21:21 2009 From: carmel_ny at hotmail.com (Carmel) Date: Thu Nov 12 20:21:28 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: <20091112203704.cd1c9dad.freebsd@edvax.de> References: <20091112203704.cd1c9dad.freebsd@edvax.de> Message-ID: On Thu, 12 Nov 2009 20:37:04 +0100 Polytropon Polytropon replied: >> Well, the results of that test does not exactly exhilarate me. >> >> # moused -f -d -p /dev/ums0 >> moused: unable to open /dev/ums0: Device busy > >Seems that there's already a moused running. Use "ps ax" to >find it PID and simply kill it. I had to do the same to >check. Afterwards, enabling moused again is possible. 'moused' was running. I have no idea why though. I did not start it. Anyway, I killed it, confirmed it was dead, and then ran the command: moused -f -d -p /dev/ums0 It failed again with a 'device busy' message. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | IBM Pollyanna Principle: Machines should work. People should think. From wblock at wonkity.com Thu Nov 12 20:43:45 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Nov 12 20:43:52 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: <20091112203704.cd1c9dad.freebsd@edvax.de> References: <20091112203704.cd1c9dad.freebsd@edvax.de> Message-ID: On Thu, 12 Nov 2009, Polytropon wrote: > On Wed, 11 Nov 2009 06:40:11 -0500, Carmel wrote: >> Well, the results of that test does not exactly exhilarate me. >> >> # moused -f -d -p /dev/ums0 >> moused: unable to open /dev/ums0: Device busy > > Seems that there's already a moused running. Common with USB mice. /etc/defaults/rc.conf has moused_nondefault_enable="YES", and rc.conf(5) says: "Having this variable set to YES allows a usb(4) mouse, for example, to be enabled as soon as it is plugged in. -Warren Block * Rapid City, South Dakota USA From freebsd at edvax.de Thu Nov 12 21:05:01 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Nov 12 21:05:09 2009 Subject: Cut/Paste with USB mouse inoperative In-Reply-To: References: <20091112203704.cd1c9dad.freebsd@edvax.de> Message-ID: <20091112220454.f0028984.freebsd@edvax.de> On Thu, 12 Nov 2009 15:21:18 -0500, Carmel wrote: > 'moused' was running. I have no idea why though. I did not start it. It surely was usbd. > Anyway, I killed it, confirmed it was dead, and then ran the command: > > moused -f -d -p /dev/ums0 > > It failed again with a 'device busy' message. Then there's something wrong. It should look like this: # moused -f -d -p /dev/ums0 moused: unable to open /dev/ums0: Device busy # ps ax | grep mouse 646 ?? Is 0:03.63 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/mou # kill -9 646 # moused -f -d -p /dev/ums0 moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic moused: received char 0x87 moused: received char 0x0 moused: received char 0xff moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,ff,0,0,0,0,7f moused: ts: 5396 251403094 moused: flags:80000000 buttons:00000000 obuttons:00000000 moused: activity : buttons 0x00000000 dx 0 dy 1 dz 0 moused: received char 0x87 moused: received char 0x0 moused: received char 0xff moused: received char 0x0 moused: received char 0xff moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,ff,0,ff,0,0,7f moused: ts: 5396 261402131 moused: flags:80000000 buttons:00000000 obuttons:00000000 moused: activity : buttons 0x00000000 dx 0 dy 2 dz 0 [...] moused: assembled full packet (len 8) 86,0,0,0,0,0,0,7f moused: ts: 5397 608884283 moused: : 5395 429419435 moused: flags:00000004 buttons:00000004 obuttons:00000000 moused: activity : buttons 0x00000004 dx 0 dy 0 dz 0 moused: mstate[2]->count:1 moused: button 3 count 1 moused: received char 0x87 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,0,0,0,0,0,7f moused: ts: 5397 756882422 moused: flags:00000004 buttons:00000000 obuttons:00000004 moused: activity : buttons 0x00000000 dx 0 dy 0 dz 0 moused: mstate[2]->count:1 moused: button 3 count 0 ^C # moused -p /dev/ums0 (I just started moused again manually, sufficient.) Everything is done as root, of course. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jackbarnett at gmail.com Fri Nov 13 06:06:39 2009 From: jackbarnett at gmail.com (Jack Barnett) Date: Fri Nov 13 06:06:46 2009 Subject: atom based servers In-Reply-To: References: <4AFB3A2A.4040303@brianwhalen.net> Message-ID: <4AFCF76A.2020100@gmail.com> Curious, how did you get it installed? My motherboard doesn't have an IDE port (so, no IDE CD-ROM) and don't think booting from USB-CDROM is supported Booting from USB Flash drive works? David Rawling wrote: > -----Original Message----- > >> From: Brian Whalen >> Sent: Thu 12/11/2009 9:26 AM >> >> I see supermicro and potentially others have atom servers available, >> anyone tried these on freebsd with success? >> >> Brian >> > > Hi Brian > > Indeed, I have a FreeBSD 8.0RC1 system running as my primary time > server for the home network. Since it's an Atom 330, it fully > supports 64-bit mode (an opportunity I have grasped with both hands). > > The board I happen to be using is an Intel DG945GCLF2 - a clone > board with just 1 DIMM slot and two SATA ports. Everything I need > to have supported Just Worked out of the box. > > The server itself is running at a very low load level: > > timeserver ~ 15> uptime > 1:00PM up 6 days, 12:38, 1 user, load averages: 0.00, 0.00, 0.00 > > I can provide the output of most any other commands if you'd like > to see anything specific. I rather suspect that the Supermicro and > other server-class Atoms will still be using the Intel 945 or > similar chipsets. > > Dave. > -- > David Rawling > PD Consulting And Security > Email: djr@pdconsec.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From theultramage at gmail.com Fri Nov 13 10:06:50 2009 From: theultramage at gmail.com (umage) Date: Fri Nov 13 10:06:56 2009 Subject: networking won't come back up until reboot after ISP outage In-Reply-To: <4AFAE13F.1040703@gmail.com> References: <4AF57EB4.3070104@gmail.com> <20091107180710.GA1056@jason-helfmans-macbook-pro.local> <4AF5BB31.5090304@gmail.com> <4AF7620A.9010709@gmail.com> <4AFAE13F.1040703@gmail.com> Message-ID: <4AFD2F9E.2080405@gmail.com> >Sounds like you are narrowing down the culprit(s). Also note that it could >possibly be a timing issue related to the order things start up. If the NATD >is attempting to start before the interface has come up it will die. /etc/rc.d/natd has no REQUIRE section, so it is indeed possible for it to activate right at the very start. It also has a 'precmd' that checks for dhcp interfaces and sets up the -dynamic flag. Might be related. I have no way of knowing though, unless I add some debug messages and figure out to log them. I added "REQUIRE: NETWORKING" and now I'm waiting to see if the issue appears again. It's a tedious procedure... and the fact that sometimes, this causes named to not work isn't helping either. >You can use something like natd_flags="-l" in /etc/rc.conf. I have tried this, and the only thing it logs are nat rules that get set up at startup time. I could not find anything that would turn on actual status messages for this process... PS: Is there a way to turn on logging on the entire rc startup procedure? There are a lot of messages that get printed onto the physical screen, but none of them actually end up in /var/log/messages. None of the three 'rc_debug', 'rc_info' or 'rc_startmsgs' do it. From djr at pdconsec.net Fri Nov 13 13:13:24 2009 From: djr at pdconsec.net (David Rawling) Date: Fri Nov 13 13:13:31 2009 Subject: atom based servers References: <4AFB3A2A.4040303@brianwhalen.net> <4AFCF76A.2020100@gmail.com> Message-ID: Jack Barnett opined: >Curious, how did you get it installed? I used the AMD64 MemStick image on a Corsair 2GB key. It's one I had lying around and that wasn't 8x larger than the image. >My motherboard doesn't have an IDE port (so, no IDE CD-ROM) and don't >think booting from USB-CDROM is supported > >Booting from USB Flash drive works? It did for me - I never had an intention of putting an optical drive in that server (none of my servers have opticals any more). Nothing strange in the BIOS - just the normal boot options. IME these things are finally getting to the "just works" stage. Thankfully! Dave. -- David Rawling PD Consulting And Security Email: djr@pdconsec.net From masoom.shaikh at gmail.com Fri Nov 13 15:26:56 2009 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Fri Nov 13 15:27:04 2009 Subject: FreeBSD-8.0-RC2 problems In-Reply-To: <200911090841.44250.npapke@acm.org> References: <200911090841.44250.npapke@acm.org> Message-ID: On Mon, Nov 9, 2009 at 4:41 PM, Norbert Papke wrote: > On November 6, 2009, Masoom Shaikh wrote: > > > problem # 1 > > The problem is KDE4 is not able to display anti aliased fonts. I have > made > > the required changes to make it work, of course, in System Settings -> > > Appearance -> Fonts > > Hinting -> Full, and there is is one more option, the name i cannot > recall > > ATM, I have set it to RGB. DPI to 96......this is has worked for all > > combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to > > KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1 > > My guess is that "print/freetype2" is not built with anti-aliasing support. > Rebuild it specifying "WITH_LCD_FILTERING" . > > See also http://www.freebsd.org/cgi/query-pr.cgi?pr=139603 > > Cheers, > > -- Norbert Papke. > npapke@acm.org > > > http://saveournet.ca > Protecting your Internet's level playing field > this time I reverted back to FreeBSD-7.2 untill 8.0 I have same observations, KDE4 based apps are not anti-aliased, but GTK based are, since fonts look excellant in Firefox-3.5.5 From gesbbb at yahoo.com Fri Nov 13 17:06:02 2009 From: gesbbb at yahoo.com (Jerry) Date: Fri Nov 13 17:09:50 2009 Subject: ATI Eyefinity support in FreeBSD Message-ID: <20091113120559.367d800d@scorpio.seibercom.net> I recently came across this web page regarding ATI: http://www.amd.com/us/products/technologies/eyefinity/Pages/eyefinity.aspx Is this supported under FreeBSD also? -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | No one gets sick on Wednesdays. From af.gourmet at videotron.ca Fri Nov 13 19:06:10 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri Nov 13 19:06:17 2009 Subject: ATI Eyefinity support in FreeBSD In-Reply-To: <20091113120559.367d800d@scorpio.seibercom.net> References: <20091113120559.367d800d@scorpio.seibercom.net> Message-ID: <4AFDF472.7040805@videotron.ca> Jerry wrote: > I recently came across this web page regarding ATI: > > http://www.amd.com/us/products/technologies/eyefinity/Pages/eyefinity.aspx > > Is this supported under FreeBSD also? > > Hey, this is indeed very interesting. But did you read the fine print at the bottom of the page? "Linux support scheduled to be enabled via a future ATI Catalyst? driver release." Nobody cares about us FreeBSD fraks... :'( From anti_spam256 at yahoo.ca Fri Nov 13 20:15:56 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Fri Nov 13 20:16:03 2009 Subject: APM In-Reply-To: <20091113120016.DDE941065720@hub.freebsd.org> Message-ID: <474730.92984.qm@web65506.mail.ac4.yahoo.com> > Date: Thu, 12 Nov 2009 10:28:10 -0800 (PST) > From: James Phillips > Subject: APM > To: freebsd-questions@freebsd.org > Message-ID: <784120.47330.qm@web65508.mail.ac4.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > > I realize the memory can't be shutdown without Hibernation > support, but the disks can be spun down manually (using > atacontrol): > http://forums.freebsd.org/showthread.php?t=1012 > > However, when I try to do that, I find that the disk wakes > within 2 seconds of spinning down. I noticed that the > spindowns are logged. Could the log being written be causing > the drive to spin up again? I initially set the time-out to 60 seconds, then 300 seconds in a vain attempt to see the actual power savings. With a 900 second time-out, the drive only spun down once in the past 12 hours. It appears that syslogd can defer *one* log entry. Understandable, since you don't want to loose too many logs in a power failure. tail /var/log/messages (trimmed entries from the 300 second time-out): Nov 13 07:46:59 dusty kernel: ad4: Idle, spin down Nov 13 07:46:59 dusty kernel: wakeup from sleeping state (slept 00:35:44) Nov 13 07:47:01 ad4: request while spun down, starting. It looks like the logging of the "spin down" woke up the sleeping system. Either that, or the computer did not know the actual spin-down time. The sleep time was reported to be 2144 seconds: 1244 seconds longer than the the set spin-down time (900 seconds). If it was spun-down when I checked this morning, the difference was less than 3W. Though, the current drive (5400RPM) uses ~2 fewer watts than the old (7200 RPM) drive. I'm an not sure, since I replaced RAM, and installed an optical drive since measuring my base-line (with the old drive). My computer case has noise-dampening foam for the hard-disk. I can't hear if the drive is spinning over the inverter in the ADSL modem (9W) and the (quiet) fan noise from both the router (21W) and server. I can heard a "click" when it starts up, that is about it. Regards, James Phillips __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From rnodal at gmail.com Fri Nov 13 20:28:24 2009 From: rnodal at gmail.com (Roger) Date: Fri Nov 13 20:28:31 2009 Subject: Remote re-installation of current FreeBSD system. Message-ID: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> Hello all, I'm in control of a dedicated server and I would like to re-install FreeBSD. I found the following guide: http://www.freebsd.org/doc/en/articles/remote-install/ which seems to cover pretty much all should need but it assumes that I have some other OS (linux) installed, since I have FreeBSD 7.2-p4 I wonder if maybe there is an easier way. The reason for wanting to re-install is because I only have on big slice that covers the entire harddrive and I don't want that. Primarily I would like to have /usr/local in a separate slice. Any input, advice, tips etc would be very welcomed. (trying to be prepared before attempting anything) Thank you, -r From julien at gormotte.info Fri Nov 13 20:57:07 2009 From: julien at gormotte.info (Julien Gormotte) Date: Fri Nov 13 20:57:15 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> Message-ID: <20091113213822.64205u9aiv1nwpcs@horde.gormotte.info> Roger a ?crit?: > Hello all, > > I'm in control of a dedicated server and I would like to re-install FreeBSD. > I found the following guide: > http://www.freebsd.org/doc/en/articles/remote-install/ > which seems to cover pretty much all should need but it assumes that > I have some other OS (linux) installed, since I have FreeBSD 7.2-p4 I wonder > if maybe there is an easier way. > > The reason for wanting to re-install is because I only have on big > slice that covers the > entire harddrive and I don't want that. Primarily I would like to have > /usr/local > in a separate slice. > > Any input, advice, tips etc would be very welcomed. > (trying to be prepared before attempting anything) > > Thank you, > -r > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > AFAIK, it's not possible to install a BSD system from a linux system. I searched some time, and it does not seem to be possible. Finally, I used mfsBSD to install. I booted on a rescue disk (Linux), then, I did : dd if=mfsBSD.img | ssh remotehost dd of=/dev/sda Then, a reboot, and I accessed the system via ssh. Julien Gormotte ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From amvandemore at gmail.com Fri Nov 13 21:01:11 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Fri Nov 13 21:01:18 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <20091113213822.64205u9aiv1nwpcs@horde.gormotte.info> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091113213822.64205u9aiv1nwpcs@horde.gormotte.info> Message-ID: <6201873e0911131301w3870244cr255435916364aab8@mail.gmail.com> > > Hello all, >> >> I'm in control of a dedicated server and I would like to re-install >> FreeBSD. >> I found the following guide: >> http://www.freebsd.org/doc/en/articles/remote-install/ >> which seems to cover pretty much all should need but it assumes that >> I have some other OS (linux) installed, since I have FreeBSD 7.2-p4 I >> wonder >> if maybe there is an easier way. >> >> The reason for wanting to re-install is because I only have on big >> slice that covers the >> entire harddrive and I don't want that. Primarily I would like to have >> /usr/local >> in a separate slice. >> >> Any input, advice, tips etc would be very welcomed. >> (trying to be prepared before attempting anything) >> >> > AFAIK, it's not possible to install a BSD system from a linux system. I > searched some time, and it does not seem to be possible. > Finally, I used mfsBSD to install. I booted on a rescue disk (Linux), then, > I did : > dd if=mfsBSD.img | ssh remotehost dd of=/dev/sda > > Then, a reboot, and I accessed the system via ssh. > Actually is qasi possible http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html But the OP question isn't resolved by that. -- Adam Vande More From cswiger at mac.com Fri Nov 13 21:21:43 2009 From: cswiger at mac.com (Chuck Swiger) Date: Fri Nov 13 21:21:49 2009 Subject: APM In-Reply-To: <474730.92984.qm@web65506.mail.ac4.yahoo.com> References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> Message-ID: Hi-- On Nov 13, 2009, at 12:15 PM, James Phillips wrote: > I initially set the time-out to 60 seconds, then 300 seconds in a > vain attempt to see the actual power savings. With a 900 second time- > out, the drive only spun down once in the past 12 hours. > > It appears that syslogd can defer *one* log entry. Understandable, > since you don't want to loose too many logs in a power failure. One of the first things you should consider is either disabling syslogd entirely, or else setup logging to a RAMdisk (ie, have an initial copy of what's in /var on the hard disk, setup a RAMdisk and mount as /var, then copy over the /var tree from hard drive to RAMdisk during early stages of system boot). The advice given for NanoBSD or embedded NetBSD systems about conserving writes to a flash-based filesystem would be helpful in your case. You might also want to note that 2.5" laptop drives are/should be explicitly designed to spin down and park themselves much more often than generic IDE drives are; some generic desktop drives will fail quite rapidly (ie, in a matter of months) if you attempt to spin them down many times a day. You might also give some consideration to trying a Mac Mini with maximum power-savings mode enabled; OSX provides significant amounts of hysteresis to avoid spinning the disks up and down, and will buffer significant amounts of data being changed into RAM to coalesce filesystem activity into fewer periods of disk activity. Regards, -- -Chuck From jerrymc at msu.edu Fri Nov 13 22:21:23 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Nov 13 22:21:30 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> Message-ID: <20091113221206.GA27314@gizmo.acns.msu.edu> On Fri, Nov 13, 2009 at 03:28:04PM -0500, Roger wrote: > Hello all, > > I'm in control of a dedicated server and I would like to re-install FreeBSD. > I found the following guide: > http://www.freebsd.org/doc/en/articles/remote-install/ > which seems to cover pretty much all should need but it assumes that > I have some other OS (linux) installed, since I have FreeBSD 7.2-p4 I wonder > if maybe there is an easier way. Well, you say a dedicated server, but you do not say it is remote. The article is for a remote install - that is, one where you cannot put your hands on the actual machine. The article also assumes you are making a raid with gmirror. With just one drive, you can ignore that stuff. If it is really a remote machine, then you will have to go through that stuff about building an mfs and running from it. But, not if you have direct access to the machine. If you can get to it and shut it down and put CDs in it, the process is much more simple. In that case you just do good backups and check them out to make sure they are readable, put the install CD in and boot the machine. That will bring up Sysinstall which will do everything for the main install. Then you will probably want to csup(1) both the base system and the ports tree and rebuild the base according to the handbook. Then install your ports. Finally restore your backups. Or, if you are completely happy with what is currently on the machine and you just want to reorder the partition sizes, then you don't even have to really do any install. Just do the backups, use the 'fixit' disk to run bsdlabel to make the partitions. Newfs(8) the new partitions. Then restore the backups over the top of things. > The reason for wanting to re-install is because I only have on big > slice that covers the > entire harddrive and I don't want that. Primarily I would like to have > /usr/local > in a separate slice. Really in a separate slice?? Or do you mean a separate partition. It is possible that you used only a slice and no partitions, but it is not the usual thing. That is kind of halfway to what they call a 'dangerously dedicated' disk in the handbook. Maybe you could call it a dangerously dedicates slice. It isn't really dangerous, but it limits some things you can do and for the disk, makes it so some types of things (that you most likely would never run in to) could not access it. So, Remember, in FreeBSD slices are the primary divisions (identified as 1..4) of the disk and partitions (identified as a..h) are subdivisions of slices. Presuming you are using SATA or IDE disk, the drive is ad0, or if you are using SCSI or SAS disk, the drive is da0. The first single slice is either ad0s1 (or da0s1 for SCSI) thus the 's' in 's1'. Then in s1 you can have partitions a..h except c is reserved, b is best used for swap and a needs to be root. If you have a single slice and no partition, then you would be mounting all of /dev/ad0s1 as /. If you have partitions, then you would be mounting /dev/ad0s1a as /. In any case, it is easy to modify. The only reason you might want a separate second slice on a machine that is only running one version of FreeBSD is if you have used up all the partitions available in slice 1. Do a df -k to see what slices and partitions are in use. If you have partitions use bsdlabel to look at the label in more detail. From root, do: bsdlabel ad0s1 (or da0s1 for SCSI or SAS) Think about how you want the disk divided before you get into the middle of it. If the new /usr/local partition would be too big to fit in the new /usr partition along with the regular /usr stuff, then you will have to split them up before doing the backups. In that case, use tar(1) to make a file that contains all of /usr/local, then rm(1) the contents of /usr/local, then do the backups and go from there - use the bsdlabel from the fixit to rebuild the partitions (and newfs each of them), restore everything over the top, mount that new /usr/local (make sure you still have a /usr/local mount point and that you fix up /etc/fstab for it) and untar that ball you make of /usr/local. If there is plenty of room for it to be in the new /usr temporarily, then just do the backups and then use bsdlabel from the fixit to rebuild the partitions, newfs them and restore them from backups. Then rename the current /usr/local to get it out of the way, remake the /usr/local mountpoint, mount it and then use tar to copy everything from the old /usr/local to the new one. Check it out and then rm the old /usr/local. Again, presuming you have direct access to the machine, Make your backups and put them somewhere away from what you are doing - on tape, or a big USB drive or another machine's disk, etc. I vote for a big cheap USB drive if your machine supports it. Once you have readable backup -- and that /usr/local split out in a separate tar file, if it would be too big, then put in the CD with the fixit. There is a menu item to select that boot. It used to be on CD-1, but you may need to check that in case they moved it. Just put in the CD and boot and see what you get. Select the option and if it gives you a prompt, then you are running from it. It won't hurt your disk at that stage. If you really just have a single slice and no partitions, then your mounts in fstab would be just: /dev/ad0s1 / If you do not have a partition, but are running directly from a slice, eg have an unlabeled slice, then do the following. dd if=/dev/zero of=/dev/da0s1 bs=512 count=1024 bsdlabel -w -B ad0s1 bsdlabel -e ad0s1 That will clean up a little, start an initial label on the slice and then put you in to an edit screen. It will look something like: # /dev/ad0s3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 89867610 0 unused 0 0 # "raw" part, don't edit Edit that file so you have partitions you want Do NOT modify the c: line then write and exit. In vi, that would, of course, be ESC:wq that will write the label to the slice on the disk. If you already have partitions - eg there was an ad0s1a mounted to / Then skip the dd and the first bsdlabel and just do: bsdlabel -e ad0s1 You will get the partition edit screen about the same as before but it will have the current partitions in it, something like: # /dev/ad0s3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 786432 0 4.2BSD 2048 16384 49160 b: 2572288 786432 swap c: 89867610 0 unused 0 0 # "raw" part, don't edit d: 1048576 3358720 4.2BSD 2048 16384 8 e: 6291456 4407296 4.2BSD 2048 16384 28552 f: 6291456 10698752 4.2BSD 2048 16384 28552 g: 72877402 16990208 4.2BSD 2048 16384 28552 NOTE: All these sizes and offsets are given in blocks of 512 bytes. You will need to modify these to make room for your /usr/local Do NOT modify the c: line One advantage of the new bsdlabel is that it will calculate offsets and the final partition for you - just put a '*' in the field. Note: On the disk above these partitions are currently mounted as: a: / b: swap d: /tmp e: /usr f: /var g: /home So, to squeeze in a partition for /usr/local you might do this: I will make it 2 GB in partition g: and that makes /home go to h: # /dev/ad0s3: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 786432 0 4.2BSD 2048 16384 49160 b: 2572288 * swap c: 89867610 0 unused 0 0 # "raw" part, don't edit d: 1048576 * 4.2BSD 2048 16384 8 e: 6291456 * 4.2BSD 2048 16384 28552 f: 6291456 * 4.2BSD 2048 16384 28552 g: 4194304 * 4.2BSD 2048 16384 28552 h: * * 4.2BSD 2048 16384 28552 This way, bsdlabel will calculate the offsets correctly and put all available remaining space in the last (h:) partition. Now my mounts (in fstab) would need to be: a: / b: swap d: /tmp e: /usr f: /var g: /usr/local h: /home You can divide this up however you want. You could put just the swap (you really should have a good amount of swap) and your /usr/local separately and all the rest in partition a: if you want. Then you would only have partitions a:, b: and d: To mount as: a: / b: swap d: /usr/local eg, following rebuilding the partitions, including creating the new /usr/local partition and restoring the backups, do the following. cd /usr mv local oldlocal mkdir local mount /dev/ad0s1g /usr/local (I just pulled a partition 'g' out of the air. Use what you actually make it) cd /usr/oldlocal tar cvpf /usr/local/loc.tar cd /usr/local tar xvpf loc.tar Now, check it out and make sure files in the new /usr/local are good cd /usr rm -rf oldlocal cd /usr/local rm loc.tar Then you should be good to go. > > Any input, advice, tips etc would be very welcomed. > (trying to be prepared before attempting anything) The main thing is to do backups that are stored on media off the unit you are modifying. Use dump(8) and restore(8). ////jerry > > Thank you, > -r > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From the.real.david.allen at gmail.com Fri Nov 13 22:48:25 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Fri Nov 13 22:48:37 2009 Subject: APM In-Reply-To: References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> Message-ID: <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> On 11/13/09, Chuck Swiger wrote: > Hi-- > > On Nov 13, 2009, at 12:15 PM, James Phillips wrote: >> I initially set the time-out to 60 seconds, then 300 seconds in a >> vain attempt to see the actual power savings. With a 900 second time- >> out, the drive only spun down once in the past 12 hours. >> >> It appears that syslogd can defer *one* log entry. Understandable, >> since you don't want to loose too many logs in a power failure. > > One of the first things you should consider is either disabling > syslogd entirely, or else setup logging to a RAMdisk (ie, have an > initial copy of what's in /var on the hard disk, setup a RAMdisk and > mount as /var, then copy over the /var tree from hard drive to RAMdisk > during early stages of system boot). There are options available in /etc/defaults/rc.conf to do just that, but how does one copy over the contents of /var at system boot? From kalin at el.net Fri Nov 13 22:48:26 2009 From: kalin at el.net (kalin m) Date: Fri Nov 13 22:48:39 2009 Subject: vpn or adhoc Message-ID: <4AFDDBF7.2090203@el.net> hi all... wondering if somebody has done vpn between a bsd box and a portable device running windows mobile. is it possible? looking at the wireless networking off the handbook gives a direct example with 2 bsd machines. the bsd machine and the wireless device are hooked up now adhoc. they always going to be close to each other and there is no need of infrastructure mode at present time. if vpn is an overkill in this case what would be the best way to lock down the adhoc connection to be only between this two piers and isolate anybody else that wants to get on... thanks From cswiger at mac.com Fri Nov 13 22:55:36 2009 From: cswiger at mac.com (Chuck Swiger) Date: Fri Nov 13 22:55:50 2009 Subject: APM In-Reply-To: <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> Message-ID: <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com> Hi, David-- On Nov 13, 2009, at 2:48 PM, David Allen wrote: > There are options available in /etc/defaults/rc.conf to do just that, > but how does one copy over the contents of /var at system boot? I'd consider adding something to /etc/rc.d/mountcritlocal (which normally mounts the local filesystems) to setup a RAMdisk on /var and then do "rsync -a /var_template /var" (or use a dump/restore or tar pipeline). Regards, -- -Chuck From jerrymc at msu.edu Fri Nov 13 23:13:04 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Nov 13 23:13:13 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <20091113221206.GA27314@gizmo.acns.msu.edu> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091113221206.GA27314@gizmo.acns.msu.edu> Message-ID: <20091113231045.GB28030@gizmo.acns.msu.edu> On Fri, Nov 13, 2009 at 05:12:06PM -0500, Jerry McAllister wrote: > On Fri, Nov 13, 2009 at 03:28:04PM -0500, Roger wrote: > > > Hello all, > > > > I'm in control of a dedicated server and I would like to re-install FreeBSD. > > I found the following guide: > > http://www.freebsd.org/doc/en/articles/remote-install/ > > which seems to cover pretty much all should need but it assumes that > > I have some other OS (linux) installed, since I have FreeBSD 7.2-p4 I wonder > > if maybe there is an easier way. > > Well, you say a dedicated server, but you do not say it is remote. > The article is for a remote install - that is, one where you cannot > put your hands on the actual machine. I just noticed your subject line. You should really put all relevant information in the body of your post and not depend on the subject line doing any more than filtering. Anyway, if it is really remote, then take that article seriously but for only one disk, forget the gmirror raid stuff. ////jerry From the.real.david.allen at gmail.com Fri Nov 13 23:54:10 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Fri Nov 13 23:54:17 2009 Subject: APM In-Reply-To: <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com> References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com> Message-ID: <2daa8b4e0911131554g1e13bdbbh123f52fb2572d5a0@mail.gmail.com> On 11/13/09, Chuck Swiger wrote: > Hi, David-- > > On Nov 13, 2009, at 2:48 PM, David Allen wrote: >> There are options available in /etc/defaults/rc.conf to do just that, >> but how does one copy over the contents of /var at system boot? > > I'd consider adding something to /etc/rc.d/mountcritlocal (which > normally mounts the local filesystems) to setup a RAMdisk on /var and > then do "rsync -a /var_template /var" (or use a dump/restore or tar > pipeline). At the risk of sounding obtuse while asking for more help, I can work out the rsync or dump part, but the rest I don't get. The mountcritremote essentially just does a mount -a -t ..., yes? To insert a few mdmfs commands followed by rsync commands, for example, would require re-writing most the script. Is there a better place to this? The reason I ask is that some time ago I had a look at nanobsd which is designed to run on RO flash media. The /var and /tmp directories are created as memory devices that supposedly get re-populated from a /cfg directory at boot. The /usr/src/tools/tools/nanobsd/nanobsd.sh setup script has a function named setup_nanobsd_etc. Essentially, it writes out an /etc/fstab file and does a 'touch /etc/diskless'. Unless there's magic that happens behind the scenes with that /etc/diskless file, I don't see how anything gets re-populated. Put simply, I'm stuck somewhere between that script and your suggestions thus far. Thanks. From cswiger at mac.com Sat Nov 14 00:02:02 2009 From: cswiger at mac.com (Chuck Swiger) Date: Sat Nov 14 00:02:09 2009 Subject: APM In-Reply-To: <2daa8b4e0911131554g1e13bdbbh123f52fb2572d5a0@mail.gmail.com> References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com> <2daa8b4e0911131554g1e13bdbbh123f52fb2572d5a0@mail.gmail.com> Message-ID: Hi-- On Nov 13, 2009, at 3:54 PM, David Allen wrote: >> I'd consider adding something to /etc/rc.d/mountcritlocal (which >> normally mounts the local filesystems) to setup a RAMdisk on /var and >> then do "rsync -a /var_template /var" (or use a dump/restore or tar >> pipeline). > > At the risk of sounding obtuse while asking for more help, I can work > out the rsync or dump part, but the rest I don't get. The > mountcritremote essentially just does a mount -a -t ..., yes? To > insert a few mdmfs commands followed by rsync commands, for example, > would require re-writing most the script. Is there a better place to > this? Quite possibly. I used NetBSD for a flash-based Soerkris boxes a while back, rather than NanoBSD. It looks like reading /etc/ rc.initdiskless might be informative. > The reason I ask is that some time ago I had a look at nanobsd which > is designed to run on RO flash media. The /var and /tmp directories > are created as memory devices that supposedly get re-populated from a > /cfg directory at boot. Right... > The /usr/src/tools/tools/nanobsd/nanobsd.sh setup script has a > function named setup_nanobsd_etc. Essentially, it writes out an > /etc/fstab file and does a 'touch /etc/diskless'. Unless there's > magic that happens behind the scenes with that /etc/diskless file, I > don't see how anything gets re-populated. The existence of /etc/diskless means /etc/rc runs /etc/rc.initdiskless: % grep diskless /etc/rc dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then sh /etc/rc.initdiskless # Run these after determining whether we are booting diskless in order # to minimize the number of files that are needed on a diskless system, Regards, -- -Chuck From the.real.david.allen at gmail.com Sat Nov 14 00:42:30 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Sat Nov 14 00:42:37 2009 Subject: APM In-Reply-To: References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com> <2daa8b4e0911131554g1e13bdbbh123f52fb2572d5a0@mail.gmail.com> Message-ID: <2daa8b4e0911131642p4d5935d1vff9cac77a43610ea@mail.gmail.com> On 11/13/09, Chuck Swiger wrote: > Hi-- > > On Nov 13, 2009, at 3:54 PM, David Allen wrote: >>> I'd consider adding something to /etc/rc.d/mountcritlocal (which >>> normally mounts the local filesystems) to setup a RAMdisk on /var and >>> then do "rsync -a /var_template /var" (or use a dump/restore or tar >>> pipeline). >> >> At the risk of sounding obtuse while asking for more help, I can work >> out the rsync or dump part, but the rest I don't get. The >> mountcritremote essentially just does a mount -a -t ..., yes? To >> insert a few mdmfs commands followed by rsync commands, for example, >> would require re-writing most the script. Is there a better place to >> this? > > Quite possibly. I used NetBSD for a flash-based Soerkris boxes a > while back, rather than NanoBSD. It looks like reading /etc/ > rc.initdiskless might be informative. > >> The reason I ask is that some time ago I had a look at nanobsd which >> is designed to run on RO flash media. The /var and /tmp directories >> are created as memory devices that supposedly get re-populated from a >> /cfg directory at boot. > > Right... > >> The /usr/src/tools/tools/nanobsd/nanobsd.sh setup script has a >> function named setup_nanobsd_etc. Essentially, it writes out an >> /etc/fstab file and does a 'touch /etc/diskless'. Unless there's >> magic that happens behind the scenes with that /etc/diskless file, I >> don't see how anything gets re-populated. > > The existence of /etc/diskless means /etc/rc runs /etc/rc.initdiskless: Aaaargh! For those following along at home, that's /etc/rc.initdiskless and not /etc/rc.d/somethingdiskless > % grep diskless /etc/rc > dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` > if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then > sh /etc/rc.initdiskless > # Run these after determining whether we are booting diskless in order > # to minimize the number of files that are needed on a diskless system, The answer finally appears! A note to the OP. The only way I've found to keep a disk spun down under FreeBSD is using memory devices for both /var and /tmp. Disabling syslogd isn't enough, nor is modifying /etc/crontab, root's crontab (or even disabling cron) to limit disk access. But to use memory devices and have a "normal" system, you'll need to re-populate both /var and /tmp at startup. Which, it turns out, means starting with /etc/diskless. Someone should add a section named "Non-Diskless Diskless Operation" to the Handbook. Thanks again for all the help! From anti_spam256 at yahoo.ca Sat Nov 14 03:50:25 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sat Nov 14 03:50:32 2009 Subject: APM In-Reply-To: <2daa8b4e0911131642p4d5935d1vff9cac77a43610ea@mail.gmail.com> Message-ID: <695093.21975.qm@web65503.mail.ac4.yahoo.com> I was going to just respond to myself again, but I see I generated some discussion :) Anyway, In the http://forums.freebsd.org/showthread.php?t=1012 page at least two people mentioned the ATAidle utility. It is not recommended for the same reason APM isn't: devices sleep without OS consent. Anyway, I now know the drive saves 5W spun down because this command has immediate effect: # ataidle -o /dev/ad4 Followed shortly by: Nov 13 16:51:11 dusty kernel: ad4: TIMEOUT-WRITE=DMA retrying (1 retry left) LBA=23261855 I settled on (But using the rc.conf format): ataidle -I 6 -S 10 /dev/ad4 because I think the "Idle timer" (minutes) and "Supsend timer" (minutes) stack to 16 minutes. Setting the suspend time has an effect of immediately spinning down the disk though (mentioned in the man page) No logging means I have to figure out how often the drive spins up/down using other means. (I don't think the wake from idle (disk seems to keep spinning) or suspend triggers a message.) Chuck wrote: ":You might also want to note that 2.5" laptop drives are/should be explicitly designed to spin down and park themselves much more often than generic IDE drives are; some generic desktop drives will fail quite rapidly (ie, in a matter of months) if you attempt to spin them down many times a day.:" I suspect they are rated for a set number of power-on cycles. If (say) 5 shutdowns/day kills the drive in months, it must be rated for something like 1000. (hmm, I should look it up.) Ideally, I want 1-5 shutdowns a day, depending on use. I know for a fact I want the drives shutdown when the server is "idling" for hours at a time. When set for a 15 minute time out (with atacontrol), the drive was not getting spurious shut-downs. --- On Fri, 11/13/09, David Allen wrote: > > > % grep diskless /etc/rc > > dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> > /dev/null` > > if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then > > ??? sh /etc/rc.initdiskless > > # Run these after determining whether we are booting > diskless in order > > # to minimize the number of files that are needed on a > diskless system, > > The answer finally appears! > > A note to the OP.? The only way I've found to keep a > disk spun down > under FreeBSD is using memory devices for both /var and > /tmp. > Disabling syslogd isn't enough, nor is modifying > /etc/crontab, root's > crontab (or even disabling cron) to limit disk > access.? But to use > memory devices and have a "normal" system, you'll need to > re-populate > both /var and /tmp at startup.???Which, it > turns out, means starting > with /etc/diskless. I think I thought of that (putting /var/log in RAM) on my own: it does not really fit what my server does though: it is a file server. I have about 5-6GB set aside (big enough to hold a DVD image) for /var and /tmp, and only 256MB of memory. Backing the ramdisk with swap defeats the purpose. Chuck wrote: "rsync -a /var_template /var" That is only half the battle: you need a way to flush it to disk when it actually spins up; else risk loosing log data (In the event of power/hardware failure). I suppose a cron job backing up periodic filesytem snapshots is possible, but you would have to trigger on the number of interrupts seen by the disk or something to avoid waking it. I was thinking /proc/interrupts , but that is a Linux feature :P Do the messages from spinning the disk back up (with atacontrol) have any hooks? I suppose if you are desperate, you can (tail+) grep /var/log/messages. > Someone should add a section named? "Non-Diskless > Diskless Operation" > to the Handbook. I like to think what I am doing (with 10 year old hardware) is "cutting edge research." That is to say, the normal mode of operation for servers is to hold your nose and let them run 24/7. It is more reliable that way. The current trend for mitigating that waste of energy is consolidation. If you can put a dozen servers in one box, hopefully only 1 or 2 will be active at once. However, I think drivers and hardware (like NICs with WOL) may have matured to the point that it is possible to run "non-critical" servers (and desktops) in such a way that they only turn on when needed. Suspend mode for the newer desktops here draw only ~3watts: comparable to the power-off (soft-off) state. > Thanks again for all the help! > __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ From freebsd at edvax.de Sat Nov 14 07:40:01 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Nov 14 07:40:08 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> Message-ID: <20091114083958.74482be3.freebsd@edvax.de> A little sidenote: On Fri, 13 Nov 2009 15:28:04 -0500, Roger wrote: > The reason for wanting to re-install is because I only have on big > slice that covers the > entire harddrive and I don't want that. Primarily I would like to have > /usr/local > in a separate slice. In most cases, you set up one slice covering the whole disk, and then partition it, giving functional parts an own partition, such as /, /var, /tmp, /usr (including or intendedly excluding /usr/local) and /home. Those are partitions, not slices. As far as I know, there's no advantage in adding additional slices to that concept. A slice is a "DOS primary partition", while a partition is just a subdivision (i. e. an own file system) inside a slice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From sonicy at otenet.gr Sat Nov 14 07:50:06 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sat Nov 14 07:50:13 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <20091114083958.74482be3.freebsd@edvax.de> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091114083958.74482be3.freebsd@edvax.de> Message-ID: <4AFE612B.6060501@otenet.gr> Polytropon wrote: > A little sidenote: > > On Fri, 13 Nov 2009 15:28:04 -0500, Roger wrote: > >> The reason for wanting to re-install is because I only have on big >> slice that covers the >> entire harddrive and I don't want that. Primarily I would like to have >> /usr/local >> in a separate slice. >> > > In most cases, you set up one slice covering the whole disk, > and then partition it, giving functional parts an own > partition, such as /, /var, /tmp, /usr (including or intendedly > excluding /usr/local) and /home. Those are partitions, not > slices. > > As far as I know, there's no advantage in adding additional slices > to that concept. > > A slice is a "DOS primary partition", while a partition is > just a subdivision (i. e. an own file system) inside a slice. > > > It seems however that some dedicated servers are setup using a single slice and a single partition, i.e. having /usr /var and /tmp as subdirectories in / instead of separate filesystems. I was once administering a server setup in this way - the hosting company would only perform this kind of install (they probably had a ready image or dump and would not change it). If the OP cares to share his /etc/fstab, it will become obvious if this is the case. If there are already separate partitions inside the slice, I'd agree there is no compelling reason to move to a multiple slice system. From freebsd at edvax.de Sat Nov 14 08:06:09 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Nov 14 08:06:16 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <4AFE612B.6060501@otenet.gr> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091114083958.74482be3.freebsd@edvax.de> <4AFE612B.6060501@otenet.gr> Message-ID: <20091114090607.7188c8d2.freebsd@edvax.de> On Sat, 14 Nov 2009 09:50:03 +0200, Manolis Kiagias wrote: > It seems however that some dedicated servers are setup using a single > slice and a single partition, i.e. having /usr /var and /tmp as > subdirectories in / instead of separate filesystems. Well, that's no problem per se, and it saves some "partition out of space" trouble when using UFS partitioning. You don't have this with ZFS. :-) Anyway, FreeBSD should keep all its partitions within one slice, or do I fail to see some hidden advantage of distributing the system into several slices? > If the OP cares to share his /etc/fstab, it will become obvious if this > is the case. That would answer this question. > If there are already separate partitions inside the slice, I'd agree > there is no compelling reason to move to a multiple slice system. An idea would be, for example, to remove the /usr partition and create two new partitions, one for /usr and one for /usr/local, which would move out /usr/local contents from the partition holding /usr - which I think is what the OP originally intended. This could be done relatively easily (in regards of SSH for the command connection). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsdq at peterk.org Sat Nov 14 09:38:42 2009 From: fbsdq at peterk.org (Peter) Date: Sat Nov 14 09:38:49 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <20091114090607.7188c8d2.freebsd@edvax.de> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091114083958.74482be3.freebsd@edvax.de> <4AFE612B.6060501@otenet.gr> <20091114090607.7188c8d2.freebsd@edvax.de> Message-ID: <7193c41e41bf9cccaafca0d42672b2cb.squirrel@webmail.pknet.net> > On Sat, 14 Nov 2009 09:50:03 +0200, Manolis Kiagias > wrote: >> It seems however that some dedicated servers are setup using a single >> slice and a single partition, i.e. having /usr /var and /tmp as >> subdirectories in / instead of separate filesystems. > > Well, that's no problem per se, and it saves some "partition > out of space" trouble when using UFS partitioning. You don't > have this with ZFS. :-) > > Anyway, FreeBSD should keep all its partitions within one > slice, or do I fail to see some hidden advantage of distributing > the system into several slices? > > UFS: I usually setup a ~10G slice for the OS [ad0s1] and in that slice I have a /tmp /var /usr...and then use the rest of the disk for another slice containing all my data and home directories - This way if I ever need extra space for base, I can create symlinks, but makes reloading the base OS easier/being able to change partitions around without worrying about data [ad0s2]. If I plug this disk into another system, s1 can be repartitioned for whatever and s2 still has all my data instead of having to have the old partitions left [/var, /tmp, /usr] and can't combine them into one huge one because your /home is on the same slice. ]Peter[ From freebsd at edvax.de Sat Nov 14 10:33:55 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Nov 14 10:34:02 2009 Subject: Remote re-installation of current FreeBSD system. In-Reply-To: <7193c41e41bf9cccaafca0d42672b2cb.squirrel@webmail.pknet.net> References: <9d972bed0911131228k36f9515ak361d82d766c24749@mail.gmail.com> <20091114083958.74482be3.freebsd@edvax.de> <4AFE612B.6060501@otenet.gr> <20091114090607.7188c8d2.freebsd@edvax.de> <7193c41e41bf9cccaafca0d42672b2cb.squirrel@webmail.pknet.net> Message-ID: <20091114113334.fb13c2a3.freebsd@edvax.de> On Sat, 14 Nov 2009 02:38:40 -0700 (MST), "Peter" wrote: > UFS: > I usually setup a ~10G slice for the OS [ad0s1] and in that slice I have a > /tmp /var /usr...and then use the rest of the disk for another slice > containing all my data and home directories - This way if I ever need > extra space for base, I can create symlinks, but makes reloading the base > OS easier/being able to change partitions around without worrying about > data [ad0s2]. If I plug this disk into another system, s1 can be > repartitioned for whatever and s2 still has all my data instead of having > to have the old partitions left [/var, /tmp, /usr] and can't combine them > into one huge one because your /home is on the same slice. Hmmm... that's a valid point and a good idea in certain cases, such as you mentioned (having OS and applications completely separated from data - slice-wise). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From gesbbb at yahoo.com Sat Nov 14 12:31:38 2009 From: gesbbb at yahoo.com (Jerry) Date: Sat Nov 14 12:31:48 2009 Subject: ATI Eyefinity support in FreeBSD In-Reply-To: <4AFDF472.7040805@videotron.ca> References: <20091113120559.367d800d@scorpio.seibercom.net> <4AFDF472.7040805@videotron.ca> Message-ID: <20091114073135.07283af9@scorpio.seibercom.net> On Fri, 13 Nov 2009 19:06:10 -0500 PJ PJ replied: [snip] >Hey, this is indeed very interesting. >But did you read the fine print at the bottom of the page? >"Linux support scheduled to be enabled via a future ATI Catalyst? >driver release." >Nobody cares about us FreeBSD fraks... :'( Yes, I did see the reference. I don't blame ATI though. After all, they have to first appease their largest user base. Unfortunately, that means that Linux users are put on hold for an indefinite period of time. Once that project is consummated, the development or porting of drivers to other platforms commences. It would be nice if some patronage were shown to FreeBSD earlier in the cycle though. I cannot help but wonder if this will turn into a nVidia-64 debacle; i.e., waiting years for a serviceable solution. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | That money talks, I'll not deny, I heard it once, It said "Good-bye. Richard Armour From christopher-ml at telting.org Sat Nov 14 16:17:57 2009 From: christopher-ml at telting.org (Chris) Date: Sat Nov 14 16:18:12 2009 Subject: Produce identical packages for checksum comparison? Message-ID: <4AFED1F5.9040107@telting.org> I have a somewhat flaky system. I would like to compile ports to packages multiple times and do a file comparison. Since packages are tar files they wouldn't match for sure just because of the different time attributes. There may be other differences. Anyone know how to generate packages with consistent checksums? Chris From christopher-ml at telting.org Sat Nov 14 16:20:17 2009 From: christopher-ml at telting.org (Chris) Date: Sat Nov 14 16:20:31 2009 Subject: freebsd.org slow? Message-ID: <4AFED27F.4020507@telting.org> Anyone else notice how slow freebsd.org is? Chris From guru at unixarea.de Sat Nov 14 16:27:01 2009 From: guru at unixarea.de (Matthias Apitz) Date: Sat Nov 14 16:27:10 2009 Subject: Produce identical packages for checksum comparison? In-Reply-To: <4AFED1F5.9040107@telting.org> References: <4AFED1F5.9040107@telting.org> Message-ID: <20091114162658.GA4511@current.Sisis.de> El d?a Saturday, November 14, 2009 a las 07:51:17AM -0800, Chris escribi?: > I have a somewhat flaky system. I would like to compile ports to > packages multiple times and do a file comparison. ... Hi Chris, What is behind the idea to compile and pack a given port twice if there are no errors during the build? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From modulok at gmail.com Sat Nov 14 17:47:10 2009 From: modulok at gmail.com (Modulok) Date: Sat Nov 14 17:47:16 2009 Subject: freebsd.org slow? In-Reply-To: <4AFED27F.4020507@telting.org> References: <4AFED27F.4020507@telting.org> Message-ID: <64c038660911140947y61a6279bs9c5e947634693cf7@mail.gmail.com> Chris, Seems alright now, for me anyway. (Indeed, the ever-irritating "works for me" response. Though it seemed the only thing appropriate here. Sorry. :)~ -Modulok- On 11/14/09, Chris wrote: > Anyone else notice how slow freebsd.org is? > > Chris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From christopher-ml at telting.org Sat Nov 14 20:18:38 2009 From: christopher-ml at telting.org (Chris) Date: Sat Nov 14 20:18:51 2009 Subject: Produce identical packages for checksum comparison? In-Reply-To: <20091114162658.GA4511@current.Sisis.de> References: <4AFED1F5.9040107@telting.org> <20091114162658.GA4511@current.Sisis.de> Message-ID: <4AFF109C.3000505@telting.org> Matthias Apitz wrote: > El d?a Saturday, November 14, 2009 a las 07:51:17AM -0800, Chris escribi?: > > >> I have a somewhat flaky system. I would like to compile ports to >> packages multiple times and do a file comparison. ... >> > > Hi Chris, > > What is behind the idea to compile and pack a given port twice if there > are no errors during the build? > > matthias > > While I don't think there will be differences I won't know until I do it. Call it reassurance. To me it seems like a good stress test. Also every time I update my ports tree I don't know what is going to break. I have a jail running all the time to recompile my ports as they are updated. I maintain between three to five different different ports/packages branches of different checkout dates. The system is somewhat flaky and crashes sometimes. I play with a lot of stuff and am actually using Freebsd as my desktop. I am sure that most of my crashing is due to multiple jails and using nullfs and unionfs but that isn't relevent to my current post. I'm also thinking of building a simple checksum database to track what actually changes and what my options were when I compiled it. It would allow me to better make regression decisions. I could also be free to delete packages and know if I recompile it later that it was the exact same package with the exact same options. Very simple script to do that. Also if say there was an option when compiling ports to produce files with specific time/dates it would be helpful in pinpointing which of my port branches a specific file came from. Chris From kes-kes at yandex.ru Sat Nov 14 21:48:49 2009 From: kes-kes at yandex.ru (=?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?=) Date: Sat Nov 14 21:48:56 2009 Subject: rc.subr patch to set FIB to demon Message-ID: <1755834289.20091114233449@yandex.ru> Hello, . Link to news: http://www.kes.net.ua/softdev/fib_patch.html rc.subr.patch ------------- 2c2 < # $FreeBSD: src/etc/rc.subr,v 1.77.2.1.2.1 2008/11/25 02:59:29 kensmith Exp $ --- > # $FreeBSD: src/etc/rc.subr,v 1.77.2.1 2008/05/12 07:29:03 mtm Exp $ 605d604 < 664a664,669 > _fib= > if [ "${name}_fib" ]; then > eval _fib=\$${name}_fib > _fib="/usr/sbin/setfib $_fib" > fi > 670c675 < $_chroot $command $rc_flags $command_args" --- > $_chroot $_fib $command $rc_flags $command_args" 674c679 < $command $rc_flags $command_args" --- > $_fib $command $rc_flags $command_args" -- ? ?????????, ??????? mailto:kes-kes@yandex.ru From neuhauser at sigpipe.cz Sat Nov 14 22:27:47 2009 From: neuhauser at sigpipe.cz (Roman Neuhauser) Date: Sat Nov 14 22:27:55 2009 Subject: php4-gd In-Reply-To: <4AF90F44.1070509@infracaninophile.co.uk> References: <4AF90A6E.3040907@wup-katowice.pl> <4AF90F44.1070509@infracaninophile.co.uk> Message-ID: <20091114223934.GJ54137@isis.sigpipe.cz> On Tue, Nov 10, 2009 at 06:59:16AM +0000, Matthew Seaman wrote: > Arek Czereszewski wrote: > > I have on some web servers php4-gd port installed > > and I am totally confused. > > Portaudit says > > > > Affected package: php4-gd-4.4.9 > Basically, if you're running PHP4 on a public site then you should be making > plans to upgrade to PHP5 ASAP. more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, baby. it's dead... From arab at tangerine-army.co.uk Sun Nov 15 01:19:32 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Sun Nov 15 01:19:40 2009 Subject: ZFS disk replacement questions In-Reply-To: References: <4AF07493.7050208@comcast.net><4AF08A42.9000900@comcast.net> Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F747@Mercury.galaxy.lan.lcl> -----Original Message----- From: krad [mailto:kraduk@googlemail.com] Sent: 04 November 2009 09:19 To: Steve Polyack Cc: Derrick Ryalls; FreeBSD Questions Subject: Re: ZFS disk replacement questions 2009/11/3 Steve Polyack > Derrick Ryalls wrote: > >> On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack >> wrote: >> >> >>> Derrick Ryalls wrote: >>> >>> >>>> 1) In the event of a disk failure, how do I trace back the name such >>>> as adX to a physical drive in the enclosure? Is there a way to take >>>> the drive offline then use atacontrol to spin it down or something so >>>> it is easy to identify? >>>> >>>> >>>> >>> In my opinion you are best off using glabel(8) to give names to the >>> disks. >>> This way you can name them in a way that makes sense to you. >>> Additionally, >>> when you create the ZFS pool you will use the glabel'd names. This means >>> that the pool will still come up properly if something causes your >>> devices >>> to be numbered differently (i.e. a drive dies and you happen to reboot >>> the >>> system). >>> >>> >> >> I believe ZFS does this automatically. Supposedly, if you take a >> working set of RAIDZ drives from one machine and put it in another, >> ZFS will figure out the drives since they get labelled by ZFS >> internally. My question concerns how to identify the physical disk in >> question based on the adX or glabel name? Different name in software >> is fine, but if the drive fails I want to make sure I pull the correct >> drive. >> >> >> > This is possible, but I don't remember reading that ZFS handles this > anywhere, and I've seen glabel(8) recommended elsewhere for the same reason. > > Either way, you can add your drives one-by-one and label them on the > enclosure "arraydrive00" and then glabel the individual disks with the same > name. This way when ZFS tells you "arraydrive03" is dead/offline, you can > look at your enclosure and pull the drive with the arraydrive03 label. > > Depending on your controller it is also probably worth it to use one of >>> the >>> SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and >>> siis(4). While the generic ata(4) driver will work for pretty much >>> everything, the updated AHCI drivers can take advantage of some more >>> features. Enable the modules at boot to use them. >>> >>> >> >> I will look into it, thanks. The machine in question is 2 year old >> hardware currently with a 3ware raid card. I will be going software >> raid only, but FreeBSD already recognizes the eSATA drive I have >> attached as a backup device so I know the O/S can at least talk to >> sata drives attached to the mobo. >> >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > One thing to note about resilvering; unlike most raid systems zfs knows what is going on at the filesystem level as well as block level. Therefore when a drive has to be resilvered, only the data on the drive is rebuilt rather than every block as with most other raid subsystems. eg if you have a 1TB hd but only have 20 Gig of data, only 20 gig is copied/rebuilt rather than 1 TB of data if you were using gvinum/gmirror. This massively speeds up rebuild times and stress on the other drives. However the fuller the drive the less the benefits _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi All Sorry to jump in on someone else's question / answer but I have a related query. I notice the previous answer mentioned specific achi(4) driver and Freebsd 8.0 are these available in 7.2 ? Will the achi(4) driver work happily along side the ata driver. I just replaced every drive in my raidz array the dirty way as I could not see away to make the replacement drive show up without doing a reboot, would the achi(4) driver allow me to hot swap the disks in the future ? Regards Graeme From bf1783 at googlemail.com Sun Nov 15 02:23:31 2009 From: bf1783 at googlemail.com (b. f.) Date: Sun Nov 15 02:23:43 2009 Subject: Produce identical packages for checksum comparison? Message-ID: Chris wrote: >I'm also thinking of building a simple checksum database to track what actually changes >and what my options were when I compiled it. It would allow me to better make >regression decisions. I could also be free to delete packages and know if I recompile >it later that it was the exact same package with the exact same options. Very simple >script to do that. Also if say there was an option when compiling ports to produce files >with specific time/dates it would be helpful in pinpointing which of my port branches >a specific file came from. The elusive "reproducible build". Many people are interested in doing this, and it's not as easy as it seems. Even if you edited your filesystem or archives to change the timestamps of package files, the toolchain used to create the binary files in packages often injects random seeds, timestamps, file paths, uid/gid information, etc. that creates differences from one build to the next. You may have to hack several base system utilities, and then directly compare the checksums of binaries in archives after unpacking, or use a more intelligent comparison. See, for instance, one Japanese developer's attempt to do this in NetBSD in order to create better quality control for a commercial product: http://mail-index.netbsd.org/tech-toolchain/2009/02/17/msg000577.html Your description of your system's problems sounds bad. I think you should concentrate on fixing those first. b. From cyberleo at cyberleo.net Sun Nov 15 02:30:06 2009 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sun Nov 15 02:30:13 2009 Subject: [FreeBSD Questions] Filesystem image as root Message-ID: <4AFF67A7.6040109@cyberleo.net> I have been thinking and experimenting for weeks, but I cannot figure this out. I have an Intel SS4200 NAS that I wish to use as a ZFS NAS with FreeBSD 8.0. The device has 4 SATA bays, and I don't want to use one for a UFS root disk. I don't want to use up hundreds of megabytes of RAM preloading an mfsroot that can never shrink. The single IDE connector is accessible via the legacy ISA ports, and is thus limited to PIO modes (about 1.6MB/sec max, even with an actual hard drive instead of a CF card). Performance is acceptable when using a geom_uzip image from a CF card on the IDE connector, as a lot of it ends up cached in RAM (and is evictable in case of memory pressure, unlike an mfsroot). Try as I might, I am unable to figure out how to use a uzip imagefile on UFS as a root filesystem, without dedicating a slice/partition to it. There seems to be nothing approximating GNU/Linux's pivot_root, and using a stub init (which cannot be a shellscript...?) to mdconfig and mount the image, then chroot to that to exec /sbin/init appears to lead to instant deadlock. I don't really like the idea of mounting the image somewhere below root, and using symlink spaghetti to get everything proper; especially since I wish to place such essentials as /sbin and /etc thereupon, which leads to a bit of a chicken-and-egg problem with setting up and mounting an image that contains its mdconfig and mount... Am I missing something obvious here, or am I truly treading unexplored territory? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From kline at thought.org Sun Nov 15 09:03:08 2009 From: kline at thought.org (Gary Kline) Date: Sun Nov 15 09:03:15 2009 Subject: how to do a custom install? Message-ID: <20091115090300.GA8859@thought.org> due to strange disk problems i was down for around 30 hours. i am currently wiping dos/win off in favor of 7.2-R and i have a question about doing a "custom" install that would let me slice the drive into more that four pieces. i am building, by default, /, /var SWAP, and /usr it has been years since my custom install where [[*some*]] technique let me slice something like, say, /, /var, /tmp, /usr/local/ SWAP, and /usr anybody remember what keys to hit in the installation procedure? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From freebsd at abv.bg Sun Nov 15 09:53:12 2009 From: freebsd at abv.bg (Mario Pavlov) Date: Sun Nov 15 09:53:34 2009 Subject: diskless - NFS root mount problem Message-ID: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> Hi, I'm trying to setup diskless operation between my FreeBSD desktop (server) and my laptop (client) I have NFS_ROOT and all other necessary options compiled into my kernel, I have this in /etc/exports: ========================================================================== / -ro -maproot=root -alldirs 192.168.0.3 /usr -ro -alldirs 192.168.0.3 ========================================================================== and this in dhcpd.conf ========================================================================== subnet 192.168.0.0 netmask 255.255.255.0 { use-host-decl-names on; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; host laptop { hardware ethernet 00:1E:68:45:0D:98; fixed-address 192.168.0.3; filename "pxeboot"; option root-path "192.168.0.1:/"; } ========================================================================== when I attempt to (diskless) boot the laptop - stage one and two of the boot process are fine...actually stage tree which is the kernel is also fine...the kernel boots and starts bringing the system up...however it's unable to mount the NFS root for some reason and the system freezes here: ========================================================================== ... ... Trying to mount root from ufs:/dev/ad4s1a Trying to mount root from nfs: NFS ROOT: 192.168.0.1:/ nfs send error 13 for server 192.168.0.1:/ bge0: link state changed to DOWN bge0: link state changed to UP ========================================================================== I think error 13 means attempt to write on read-only mounted NFS...but it does not make sense, does it? do you have any ideas what could be the problem? thanks ----------------------------------------------------------------- ????? ???????? ?????? ?? Vesti.bg! http://www.vesti.bg From djr at pdconsec.net Sun Nov 15 09:59:17 2009 From: djr at pdconsec.net (David Rawling) Date: Sun Nov 15 09:59:25 2009 Subject: how to do a custom install? References: <20091115090300.GA8859@thought.org> Message-ID: -----Original Message----- From: Gary Kline Sent: Sun 15/11/2009 8:03 PM due to strange disk problems i was down for around 30 hours. i am currently wiping dos/win off in favor of 7.2-R and i have a question about doing a "custom" install that would let me slice the drive into more that four pieces. i am building, by default, /, /var SWAP, and /usr it has been years since my custom install where [[*some*]] technique let me slice something like, say, /, /var, /tmp, /usr/local/ SWAP, and /usr anybody remember what keys to hit in the installation procedure? tia, gary I can't say that I remember the keystrokes, but you can have multiple disk slices (aka Windows/DOS partitions) and within each slice, multiple BSD partitions (IIRC up to 8). I have mine partitioned into (generally) / - 1GB swap - 2x - 4x RAM /tmp - 4GB /var - 20GB /usr - 40% /backup - remainder I use the whole disk for BSD (single slice) and create the partitions as whatever size suits. Dave. -- David Rawling PD Consulting And Security Email: djr@pdconsec.net From nightrecon at hotmail.com Sun Nov 15 10:09:57 2009 From: nightrecon at hotmail.com (Michael Powell) Date: Sun Nov 15 10:10:04 2009 Subject: how to do a custom install? References: <20091115090300.GA8859@thought.org> Message-ID: Gary Kline wrote: > > due to strange disk problems i was down for around 30 hours. i am > currently wiping dos/win off in favor of 7.2-R and i have a question > about doing a "custom" install that would let me slice the drive into > more that four pieces. > > i am building, by default, > > /, > /var > SWAP, and > /usr > > it has been years since my custom install where [[*some*]] technique > let me slice something like, say, > > /, > /var, > /tmp, > /usr/local/ > SWAP, and > /usr > > anybody remember what keys to hit in the installation procedure? > > tia, > > gary > > Not sure about the terminology in use here. The old standard was to create one, or more, slice(s) and then partition with bsdlabel. In the sysinstall step for this it will run fdisk. Note that playing by the $MS standard the normal maximum number of slices would be 4, e.g. aka "primary partitions" in the Dos/Windows world. Fdisk makes "slices". An example of a slice on an IDE drive would be ad0s1. After the fdisk step would next come bsdlabel. This is the step that creates partitions within the "slice" previously made with fdisk. Note the difference in terminology: what Dos/Windows refers to as a "primary partition" in the Unix world this is a "slice". Partitions are created within a slice with bsdlabel. On the sysinstall Custom menu these two options are one above the other, e.g. Fdisk and Label. Select the Fdisk and create a slice, exit fdisk returning to sysinstall and proceed to select the Label menu option to bring up bsdlabel. (IIRC also called disklabel.) An example of a partition would be ad0s1a, ad0s1b for swap, ad0s1c is a reserved wrapper entity, ad0s1d, e, f, g. Usually ad0s1a will be your root, b will be swap, d might be /usr, e might be /var. etc. In the bsdlabel utility there is the option to choose both the partition type and size as well as it's mount point. It is actually possible to have more than 4 slices even when playing by the $MS Dos/Windows standard. Fdisk will allow for the creation of what on Dos are called "extended partitions". The numbering for these starts at 5. You won't be able to boot from them and from a *Nix point of view are semi useless except within the context of Dos/Win compatibility. If this is just going to be a FreeBSD machine no need for the so-called "extended partition" of the Dos/Win world. Just create a slice [fisk], and break that up into partitions [bsdlabel]. If everything goes according to plan after Fdisk, Label, Return to previous menu, etc, at some point later on (IIRC after choosing packaging distributions) sysinstall will later perform the actions you configure in these preparatory steps. For reference peruse the Handbook; it's probably written clearer than I can accomplish. -Mike From m.seaman at infracaninophile.co.uk Sun Nov 15 11:41:58 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Nov 15 11:42:05 2009 Subject: rc.subr patch to set FIB to demon In-Reply-To: <1755834289.20091114233449@yandex.ru> References: <1755834289.20091114233449@yandex.ru> Message-ID: <4AFFE8F8.3060303@infracaninophile.co.uk> ??????? ??????? wrote: > Hello, . > > Link to news: > http://www.kes.net.ua/softdev/fib_patch.html > > > rc.subr.patch > ------------- > > 2c2 > < # $FreeBSD: src/etc/rc.subr,v 1.77.2.1.2.1 2008/11/25 02:59:29 kensmith Exp $ > --- >> # $FreeBSD: src/etc/rc.subr,v 1.77.2.1 2008/05/12 07:29:03 mtm Exp $ > 605d604 > < > 664a664,669 >> _fib= >> if [ "${name}_fib" ]; then >> eval _fib=\$${name}_fib >> _fib="/usr/sbin/setfib $_fib" >> fi >> > 670c675 > < $_chroot $command $rc_flags $command_args" > --- >> $_chroot $_fib $command $rc_flags $command_args" > 674c679 > < $command $rc_flags $command_args" > --- >> $_fib $command $rc_flags $command_args" > > Interesting. I see you submitted this as a PR back in March, but there has been no activity other than to assign it to -net. Perhaps mailing the freebsd-rc@... list might raise some interest. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091115/d36f6e69/signature.pgp From jerrymc at msu.edu Sun Nov 15 14:21:59 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Nov 15 14:22:06 2009 Subject: how to do a custom install? In-Reply-To: References: <20091115090300.GA8859@thought.org> Message-ID: <20091115141934.GA40476@gizmo.acns.msu.edu> On Sun, Nov 15, 2009 at 08:59:32PM +1100, David Rawling wrote: > -----Original Message----- > From: Gary Kline > Sent: Sun 15/11/2009 8:03 PM > > > due to strange disk problems i was down for around 30 hours. i am > currently wiping dos/win off in favor of 7.2-R and i have a question > about doing a "custom" install that would let me slice the drive into > more that four pieces. You probably only need one slice (which MS calls a primary partition) but, you probably want to subdivide the slice in to FreeBSD partitions. > > i am building, by default, > > /, > /var > SWAP, and > /usr > > it has been years since my custom install where [[*some*]] technique > let me slice something like, say, Again, note the difference between slice and partition in FreeBSD. Slices are identified by numbers 1..4 and are the primary division. Partitions are subdivisions of a slice and are identified by letters a..h with 'c' reserved for the system to use. Then, you create mount points which are really directories with names such as / and /var and /usr and mount those drive-slice-partitions to the mount points. Swap is a special type that does not get mounted. ////jerry > > /, > /var, > /tmp, > /usr/local/ > SWAP, and > /usr > > anybody remember what keys to hit in the installation procedure? > > tia, > > gary > > I can't say that I remember the keystrokes, but you can have multiple disk slices (aka Windows/DOS partitions) and within each slice, multiple BSD partitions (IIRC up to 8). > > I have mine partitioned into (generally) > > / - 1GB > swap - 2x - 4x RAM > /tmp - 4GB > /var - 20GB > /usr - 40% > /backup - remainder > > I use the whole disk for BSD (single slice) and create the partitions as whatever size suits. > > Dave. > -- > David Rawling > PD Consulting And Security > Email: djr@pdconsec.net > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From christopher-ml at telting.org Sun Nov 15 16:07:31 2009 From: christopher-ml at telting.org (Chris) Date: Sun Nov 15 16:07:38 2009 Subject: Produce identical packages for checksum comparison? In-Reply-To: References: Message-ID: <4B002741.4000403@telting.org> b. f. wrote: > Chris wrote: > >> I'm also thinking of building a simple checksum database to track what actually changes >> and what my options were when I compiled it. It would allow me to better make >> regression decisions. I could also be free to delete packages and know if I recompile >> it later that it was the exact same package with the exact same options. Very simple >> script to do that. Also if say there was an option when compiling ports to produce files >> with specific time/dates it would be helpful in pinpointing which of my port branches >> a specific file came from. >> > > The elusive "reproducible build". Many people are interested in doing > this, and it's not as easy as it seems. Even if you edited your > filesystem or archives to change the timestamps of package files, the > I think that could be accomplished though the port makefiles. > toolchain used to create the binary files in packages often injects > random seeds, timestamps, file paths, uid/gid information, etc. that > I can understand file paths with debug info. Timestamps? Ok sure for a timestamp file being generated during a make that auto increments version numbers. What would change about uid/gid? I can't imagine why that might be in the binaries. As far as tar a simple utility could capture all the owner and group info into a text file as strings and set files to neutral values for uid/gid. A hack for the fact that packages are using tar files. Why would the build tools be injecting random numbers into binaries? I'll look into it. > creates differences from one build to the next. You may have to hack > several base system utilities, and then directly compare the checksums > of binaries in archives after unpacking, or use a more intelligent > comparison. See, for instance, one Japanese developer's attempt to do > this in NetBSD in order to create better quality control for a > commercial product: > > http://mail-index.netbsd.org/tech-toolchain/2009/02/17/msg000577.html > > Your description of your system's problems sounds bad. I think you > should concentrate on fixing those first. What can I say? I multitask. If I concentrated on one problem at a time I would never get anything done. For my systems problem I think I'm going to have to either abandon jails or maybe try nfs instead of nullfs. Otherwise I'll have to learn the kernel code and how to debug the Freebsd kernel. Thanks for the confirmation that I'm not the only one to think about it and the link. Enjoy the day. Chris From oloringr at gmail.com Sun Nov 15 16:29:31 2009 From: oloringr at gmail.com (Ed Jobs) Date: Sun Nov 15 16:29:38 2009 Subject: weird save-entropy behaviour Message-ID: <200911151830.02578.oloringr@gmail.com> Greetings. Yesterday, i noticed a very weird behaviour on my computer (which is running 8.0-RC3 btw. The shells were not responding and the load was insane, and constantly going up. At the time i managed to lock myself out, the load was 84 and growing (i have a screenshot if anyone is interested). That happened last night. Today, the computer was ok and i managed to ssh into it. The root account was spammed with two types of cron mails. half of them said: mv: /var/db/entropy/saved-entropy.2: No such file or directory and the other half said: override r-------- operator/operator for /var/db/entropy/saved-entropy.2? (y/n [n]) not overwritten So i know that it's the save-entropy cron job, but i doubt that was supposed to happen, and i have never touched that directory. Anyone has an idea? ps. this has happened before, and i had to go to the place the computer is at and reset it. (the tty's did not respond either) -- Real programmers don't document. If it was hard to write, it should be hard to understand. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091115/3be0191a/attachment.pgp From baerks at t-online.de Sun Nov 15 18:11:29 2009 From: baerks at t-online.de (Sabine Baer) Date: Sun Nov 15 18:11:36 2009 Subject: No /dev/da0 Message-ID: <20091115181114.GA1295@amd.catfish.ddns.org> Hello, I am writing to this list because I haven't found anything that helps me in the 'web' nor in usenet. First I have to apologize for my bad english and mey bad knowing of what I'm doing with FreeBSD, I am not a 'hacker' but just a user. Well my problem is mounting my digital camera. If I remember correctly I did it with mount_msdosfs /dev/da0s1 /lumix I think that was under FreeBSD 6.n But now, upgraded to 7.2, there ist no /dev/da0. Attached to an iBook with Mac OS X 10.4 the cards were well mounted as 'disk2s1'. If I attach the camera to the FreeBSD PC the console gives [attaching the camera] | umass0: on |uhub0 |(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 |(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error |(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition |(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 |(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have |changed |(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) |da0 at umass-sim0 bus 0 target 0 lun 0 |da0: Removable Direct Access SCSI-2 device |da0: 1.000MB/s transfers |da0: 14MB (29121 512 byte sectors: 64H 32S/T 14C) But there is no /dev/da0 # ls /dev/da* ls: No match. If I detach it the console writes [detaching the camera] | umass0: at uhub0 port 8 (addr 4) disconnected |(da0:umass-sim0:0:0:0): lost device |(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, scsi |status == | 0x0 |(da0:umass-sim0:0:0:0): removing device entry |umass0: detached I haven't any clue if it's FreeBSD's fault, the camera's or mine. Is there somone who can give me some hint? Sabine From anti_spam256 at yahoo.ca Sun Nov 15 18:21:52 2009 From: anti_spam256 at yahoo.ca (James Phillips) Date: Sun Nov 15 18:21:59 2009 Subject: freebsd-questions Digest, Vol 284, Issue 11 In-Reply-To: <20091115120013.145771065724@hub.freebsd.org> Message-ID: <393905.86009.qm@web65508.mail.ac4.yahoo.com> > Date: Sat, 14 Nov 2009 20:29:59 -0600 > From: CyberLeo Kitsana > Subject: [FreeBSD Questions] Filesystem image as root > To: FreeBSD Questions > Cc: CyberLeo > Message-ID: <4AFF67A7.6040109@cyberleo.net> > Content-Type: text/plain; charset=ISO-8859-1 > > I have been thinking and experimenting for weeks, but I > cannot figure > this out. > > I have an Intel SS4200 NAS that I wish to use as a ZFS NAS > with FreeBSD 8.0. > > The device has 4 SATA bays, and I don't want to use one for > a UFS root disk. > > I don't want to use up hundreds of megabytes of RAM > preloading an > mfsroot that can never shrink. > > The single IDE connector is accessible via the legacy ISA > ports, and is > thus limited to PIO modes (about 1.6MB/sec max, even with > an actual hard > drive instead of a CF card). You are off by an order of magnitude (base 2 or 10): Pio mode 0 is ~3.3 MB/s Pio mode 4 is ~16.7 MB/s http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html You can probably set PIO mode 4 for with: # atacontrol mode ad0 PIO4 I am currently using ~ 159MB on my root partition, At 16.7MB/s that is a 10 second load time; and as you said, frequently used files will be cached. (I have a CF card that has 15MB/s symmetric read/write. Don't know how special it is.) With a CF card there should be no seek delay of ~ 10 ms (for reads anyway, deleting blocks probably takes 10ms). Regards, James Phillips My summary: maybe you are trying too hard :) __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From freebsd at edvax.de Sun Nov 15 19:24:35 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Nov 15 19:24:42 2009 Subject: how to do a custom install? In-Reply-To: <20091115090300.GA8859@thought.org> References: <20091115090300.GA8859@thought.org> Message-ID: <20091115202431.ca0fdf7a.freebsd@edvax.de> On Sun, 15 Nov 2009 01:03:03 -0800, Gary Kline wrote: > anybody remember what keys to hit in the installation procedure? Let me access my brain... open(brain); Start installation which brings up sysinstall. Choose CUSTOM. First set up slice in FDISK, press 'd' to nuke 'em all, then 'c' to create a new slice covering the whole disk (I think this is what you want), give it active attribute with 's', then 'q' to quit and write changes. Choose standard MBR. The go to PARTITIONS. With 'c' (each one) create: 1 GB -> FS -> mount as / 2 GB -> SWAP 1 GB -> FS -> mount as /tmp 1 GB -> FS -> mount as /var 10 GB -> FS -> mount as /usr 50 GB -> FS -> mount as /usr/local * -> FS -> mount as /home Adjust numbers to your individual needs, 'q' when done. After that, proceed with installation. Choose packages, services and other stuff as you want. Always keep in mind: READ what's on the screen. Not doing that could lead to massive data destruction. Oh wait, who am I talking to? You already know that, and I didn't say anything. :-) According to terminology: In MICROS~1 land, slices are called "DOS primary partitions". There can be 4 of them. FreeBSD can create more than 4 slices per disk. What FreeBSD calls partitions (i. e. subdivisions of a slice, each holding a file system) have no expression in MICROS~1 land and could maybe be compared to "logical volumes inside a DOS extended partition". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bf1783 at googlemail.com Sun Nov 15 19:41:21 2009 From: bf1783 at googlemail.com (b. f.) Date: Sun Nov 15 19:41:27 2009 Subject: Produce identical packages for checksum comparison? In-Reply-To: <4B002741.4000403@telting.org> References: <4B002741.4000403@telting.org> Message-ID: On 11/15/09, Chris wrote: > b. f. wrote: >> Chris wrote: ... >> Even if you edited your >> filesystem or archives to change the timestamps of package files, the >> > I think that could be accomplished though the port makefiles. I think that the exact reproduction of whole archives will be problematic, unless you have a means of changing the ctime of the binaries that have been built to a predetermined value. >> toolchain used to create the binary files in packages often injects >> random seeds, timestamps, file paths, uid/gid information, etc. that >> > I can understand file paths with debug info. Timestamps? Ok sure for a > timestamp file being generated during a make that auto increments version > numbers. What would change about uid/gid? I can't imagine why that > might be in the binaries. ar(1) and some of the other utilities inject this information into certain binary files. Try running 'objdump -a' on, for example, some static archive like /usr/lib/libc.a. Of course this information can be manipulated, but you have to do it. See the patches in the link I cited earlier for other examples. ... > Why would the build tools be injecting random numbers into binaries? Usually to provide some degree of uniqueness. I'm not saying that it is always done, just that it _may_ be done. See, for example, the gcc sources or the -frandom-seed option description in gcc(1). And it may not be just the compiler toolchain -- a port may do it. Occasionally, there are other sources of non-determinism. For example, in a recent thesis, a researcher who was trying to use reproducible builds to defeat a longstanding security threat found that the tcc compiler produced non-deterministic builds because of a defect in sign-extending some casts, and a problem with long double output. He also cited another researcher's finding that a certain java compiler's output was dependent upon the address of heap memory addresses used during compilation. See: http://www.dwheeler.com/trusting-trust/dissertation/wheeler-trusting-trust-ddc.pdf ... >If I concentrated on one problem at a time I would never get anything done. ?! :) b. From tajudd at gmail.com Sun Nov 15 21:38:04 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Nov 15 21:38:11 2009 Subject: diskless - NFS root mount problem In-Reply-To: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> References: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> Message-ID: Please compare my working configuration to yours to check. I found lots of odd problems in your post and I thought it'd be best to just run with this clean slate. Network config: One low-power PC Engines ALIX board running as the NFS server, with a microdrive partitioned off for it's own system, plus a separate mounted partition for diskless clients. This config works best with one diskless client, and is not the documented way from FreeBSD handbook to accomplish diskless workstations. I'll note what I immediately saw as an error in your config during these snippets. alix# bsdlabel /dev/ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 16 4.2BSD 2048 16384 8 c: 12000177 0 unused 0 0 # "raw" part, don't edit h: 10951585 1048592 4.2BSD 2048 16384 28552 alix# cat /etc/fstab /dev/ad0s1a / ufs rw 0 0 /dev/ad0s1h /diskless ufs rw 0 0 alix# cat /etc/exports /diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 *** maproot needs a user and group definition. alix# cat /etc/rc.conf rpcbind_enable="YES" nfs_server_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd ************** Diskless side *** I believe the root filesystem information is passed on from dhcp, to pxeboot, to the kernel, in order to mount the root filesystem. You can have a 0-size fstab file for read-write access, or provide the read-only nfs root here. If you want it read only, it's best to specify it here, such as below alix# cat /diskless/etc/fstab 192.168.0.1:/diskless / nfs ro 0 0 alix# cat /diskless/etc/rc.conf rpcbind_enable="YES" nfs_client_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** File locking needed lockd/statd support on the client, also. Think of editing /etc/passwd (the proper way) when you need file locking. This will result in a basic, 1-workstation diskless setup working. The difference is that the FreeBSD rc startup looks for a /conf directory which can provide multiple overrides to multiple workstations. I tried setting up a livecd with a /conf directory only to find that the /conf is checked, no matter which medium it's booting off of. This config does NOT cover the DHCP scope, TFTP, IPs or other settings that might be pertinent to booting diskless-ly. Note that by sharing your exact / filesystem as an export is a bad idea. It will essentially create a NFS server on a NFS server round robin and probably won't connect. It's why you setup a separate partition (EVEN if it's a file-backed filesystem mounted with the help of mdconfig on a separate mountpoint on your filesystem). Once you revise your config, please try again. --Tim From freebsd at abv.bg Sun Nov 15 21:47:12 2009 From: freebsd at abv.bg (Mario Pavlov) Date: Sun Nov 15 21:47:26 2009 Subject: diskless - NFS root mount problem Message-ID: <120653617.10492.1258321630563.JavaMail.apache@mail53.abv.bg> Hi Tim, thanks a lot for your answer, I'll try that out tomorrow. cheers, mgp > > >Please compare my working configuration to yours to check. I found >lots of odd problems in your post and I thought it'd be best to just >run with this clean slate. > >Network config: > One low-power PC Engines ALIX board running as the NFS server, with >a microdrive partitioned off for it's own system, plus a separate >mounted partition for diskless clients. This config works best with >one diskless client, and is not the documented way from FreeBSD >handbook to accomplish diskless workstations. I'll note what I >immediately saw as an error in your config during these snippets. > >alix# bsdlabel /dev/ad0s1 ># /dev/ad0s1: >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > a: 1048576 16 4.2BSD 2048 16384 8 > c: 12000177 0 unused 0 0 # "raw" part, don't edit > h: 10951585 1048592 4.2BSD 2048 16384 28552 > >alix# cat /etc/fstab >/dev/ad0s1a / ufs rw 0 0 >/dev/ad0s1h /diskless ufs rw 0 0 > >alix# cat /etc/exports >/diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 > >*** maproot needs a user and group definition. > >alix# cat /etc/rc.conf >rpcbind_enable="YES" >nfs_server_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd > > >************** Diskless side > >*** I believe the root filesystem information is passed on from dhcp, >to pxeboot, to the kernel, in order to mount the root filesystem. You >can have a 0-size fstab file for read-write access, or provide the >read-only nfs root here. If you want it read only, it's best to >specify it here, such as below > >alix# cat /diskless/etc/fstab >192.168.0.1:/diskless / nfs ro 0 0 > >alix# cat /diskless/etc/rc.conf >rpcbind_enable="YES" >nfs_client_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** File locking needed lockd/statd support on the client, also. >Think of editing /etc/passwd (the proper way) when you need file >locking. > > > > >This will result in a basic, 1-workstation diskless setup working. >The difference is that the FreeBSD rc startup looks for a /conf >directory which can provide multiple overrides to multiple >workstations. I tried setting up a livecd with a /conf directory only >to find that the /conf is checked, no matter which medium it's booting >off of. > >This config does NOT cover the DHCP scope, TFTP, IPs or other settings >that might be pertinent to booting diskless-ly. > >Note that by sharing your exact / filesystem as an export is a bad >idea. It will essentially create a NFS server on a NFS server round >robin and probably won't connect. It's why you setup a separate >partition (EVEN if it's a file-backed filesystem mounted with the help >of mdconfig on a separate mountpoint on your filesystem). > >Once you revise your config, please try again. > > >--Tim > ----------------------------------------------------------------- ????? ???????? ?????? ?? Vesti.bg! http://www.vesti.bg From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Nov 15 22:12:26 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Nov 15 22:12:33 2009 Subject: weird save-entropy behaviour In-Reply-To: <200911151830.02578.oloringr@gmail.com> References: <200911151830.02578.oloringr@gmail.com> Message-ID: <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 15 November 2009 17:30:02 Ed Jobs wrote: > Yesterday, i noticed a very weird behaviour on my computer (which is > running 8.0-RC3 btw. > The shells were not responding and the load was insane, and constantly > going up. At the time i managed to lock myself out, the load was 84 and > growing (i have a screenshot if anyone is interested). > > That happened last night. Today, the computer was ok and i managed to ssh > into it. The root account was spammed with two types of cron mails. > > half of them said: > mv: /var/db/entropy/saved-entropy.2: No such file or directory > > and the other half said: > override r-------- operator/operator for /var/db/entropy/saved-entropy.2? > (y/n [n]) not overwritten > > So i know that it's the save-entropy cron job, but i doubt that was > supposed to happen, and i have never touched that directory. Anyone has an > idea? Did the operator uid change or perhaps shared with another uid? Check both `id operator` and `id 2`. Secondly, why did this stop? Seems like a weird question to ask, but since this script is supposed to run every 11 minutes, there should not be a reason for this to stop, if there's a race condition. -- Mel From oloringr at gmail.com Sun Nov 15 22:37:36 2009 From: oloringr at gmail.com (Ed Jobs) Date: Sun Nov 15 22:37:43 2009 Subject: weird save-entropy behaviour In-Reply-To: <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200911151830.02578.oloringr@gmail.com> <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <200911160038.10993.oloringr@gmail.com> On Monday 16 November 2009 00:12, Mel Flynn wrote: > > Did the operator uid change or perhaps shared with another uid? > Check both `id operator` and `id 2`. > > Secondly, why did this stop? Seems like a weird question to ask, but since > this script is supposed to run every 11 minutes, there should not be a > reason for this to stop, if there's a race condition. > # id operator uid=2(operator) gid=5(operator) groups=5(operator) # id 2 uid=2(operator) gid=5(operator) groups=5(operator) As for the orer part, why did it stop, i really have no clue. All the messages arrived at root's mailbox at 5:57, tho the date in them said that they were sent at 5:50. It's really strange because I was locked out from the computer at 2:29, so it's not something I did. and there's nothing that cron runs at that time. by the way: the mails that i got were not only about /var/db/entropy/saved-entropy.2, but /var/db/entropy/saved-entropy.{1,2,3,4,5,6,8} as well -- Real programmers don't document. If it was hard to write, it should be hard to understand. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091115/e810955a/attachment.pgp From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Nov 15 22:58:59 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Nov 15 22:59:07 2009 Subject: weird save-entropy behaviour In-Reply-To: <200911160038.10993.oloringr@gmail.com> References: <200911151830.02578.oloringr@gmail.com> <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> <200911160038.10993.oloringr@gmail.com> Message-ID: <200911152358.57050.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 15 November 2009 23:38:10 Ed Jobs wrote: > On Monday 16 November 2009 00:12, Mel Flynn wrote: > > Did the operator uid change or perhaps shared with another uid? > > Check both `id operator` and `id 2`. > > > > Secondly, why did this stop? Seems like a we