iwn driver on 7.1
I have a working driver for the Intel 4965, aka iwn(4), loaded on my Lenovo X300 running FreeBSD 7.1-RELEASE (amd64). This driver is a slightly-modified version of the iwn(4) driver backported from 8.0-CURRENT by Gavin Atkinson: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=221758+0+/usr/local/www/db/text/2008/freebsd-stable/20080928.freebsd-stable I was seeing the same symptoms described in these threads (among others): http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/045264.html http://www.freebsd.org/cgi/getmsg.cgi?fetch=1334322+1338147+/usr/local/www/db/text/2009/freebsd-questions/20090118.freebsd-questions http://www.freebsd.org/cgi/getmsg.cgi?fetch=1418632+1421765+/usr/local/www/db/text/2009/freebsd-questions/20090118.freebsd-questions ...so I debugged and modified Gavin's driver for my system. The driver and the source tree diff can be downloaded here for any brave souls wanting to test it out: http://sites.google.com/site/bsdgooch/files I'm using the driver now to send this e-mail over a link to my TP-LINK TL-WR941ND access point (with WPA2). Feedback and bug reports would be useful. -brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: iwn driver on 7.1
The kernel panic was due to a NULL pointer dereference in the module. The code that was commented out created a situation in which the array of structs (line 2412): static const struct iwn_chan_band iwn_bands[] contained only 2 items. The code following the struct array that obtained the list of authorized channels: /* read the list of authorized channels */ for (i = 0; i N(iwn_bands)-2; i++) iwn_read_eeprom_band(sc, iwn_bands[i]); didn't actually get a list of anything, since N(iwn_bands)-2 evaluates to zero in this case. The NULL pointer part comes in when the call to ieee80211_sort_channels() on line 2436 sends a list of no items with a value of 0 for ic-ic_nchans. The backported insertion sort code from 8.0-CURRENT's 802.11 stack fails somewhere because of this value, due to access of some memory address in the chancompar() or swap(?) -- I didn't really dig that far into it. I guess the purpose of commenting out the A channels in the iwn_bands[] was to keep the driver from potentially using them, but honestly, I'm not sure if that's the appropriate way to do that (I'm just getting into this stuff). I'm sure the MFC'd VAP stuff that Sam Leffler is working on will alleviate all of this, but I wanted a working iwn(4) for now ;) On Sun, Jan 18, 2009 at 4:10 PM, Jan Henrik Sylvester m...@janh.de wrote: Da Rock wrote: On Sun, 2009-01-18 at 14:17 -0600, Brandon Gooch wrote: I have a working driver for the Intel 4965, aka iwn(4), loaded on my Lenovo X300 running FreeBSD 7.1-RELEASE (amd64). This driver is a slightly-modified version of the iwn(4) driver backported from 8.0-CURRENT by Gavin Atkinson: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=221758+0+/usr/local/www/db/text/2008/freebsd-stable/20080928.freebsd-stable I was seeing the same symptoms described in these threads (among others): http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/045264.html http://www.freebsd.org/cgi/getmsg.cgi?fetch=1334322+1338147+/usr/local/www/db/text/2009/freebsd-questions/20090118.freebsd-questions http://www.freebsd.org/cgi/getmsg.cgi?fetch=1418632+1421765+/usr/local/www/db/text/2009/freebsd-questions/20090118.freebsd-questions ...so I debugged and modified Gavin's driver for my system. The driver and the source tree diff can be downloaded here for any brave souls wanting to test it out: http://sites.google.com/site/bsdgooch/files I'm using the driver now to send this e-mail over a link to my TP-LINK TL-WR941ND access point (with WPA2). Feedback and bug reports would be useful. -brandon Sounds like you got to it before I did- thank god! :) Question though: have you got it figured for a channels yet? I'll test it for you and keep you updated with my results. Thanks for working on the driver! The only difference to the version of gavin that I could see is that the bands in iwn_bands that got commented out were brought back. Or did I miss something? Do you know why they were commented out and it was unnecessary? Or was it just to fix the crash? I did a few test runs: It does not crash immediately as the version from gavin, but the error I had with the perforce version iwn0: error, INTR=8200SW_ERROR,RX_INTR STATUS=0x1 iwn0: iwn_config: could not set power mode, error 35 is there -- in 3 out of 3 tries. So nothing improved there. (I hit that error on first use in about 50% of the cases before.) Moreover, at 3 out of 4 tries to 'kldunload if_iwn' after hitting the error (after '/etc/rc.d/netif stop iwn0' and 'ifconfig iwn0 down'), there was a crash: 2 page faults and 1 freeze. I have not had that with the perforce version. (Maybe once long ago, but I think I forgot to stop iwn0 at that time.) The one time I actually got the (WPA2) connection up, I was able to transfer with a similar speed as with the perforce version. Thus, for me, there are no improvement over the (old) perforce version. Probably by chance, but I had more crashes. I think the thread on stable@ should rather be continued than the one on questions@, but since Da Rock answered on questions@, I reinclude both. Cheers, Jan Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: iwi and wlan-cloning
On Sun, Jan 31, 2010 at 8:14 PM, Torgeir Hoffmann twhof...@gmail.com wrote: Hi all, After installing 8.0-release I followed all the howtos on cloning my iwi0 device to wlan0 to setup the wireless. The manual configuration: ifconfig wlan create wlandev iwi0 wpa_supplicant -c /etc/wpa_supplicant -i wlan0 dhclient wlan0 works well. However, trying to get this done automatically seems not to work: wlans_iwi0: not found ifconfig_wlan0: not found if I have rc.conf entries: wlans_iwi0 = wlan0 ifconfig_wlan0 = WPA DHCP wpa_supplicant_enable=YES Do you actually have spaces between the names and values? Try wlans_iwi0=wlan0 ifconfig_wlan0=WPA DHCP I don't think this is required due to the 'WPA' in the ifconfig parameters: wpa_supplicant_enable=YES -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using leds on laptop
On Mon, Feb 1, 2010 at 2:24 PM, Eitan Adler eitanadlerl...@gmail.com wrote: I'm not sure if FreeBSD will detect the pure LED, but as you mentioned that it is labelled wireless, it is in relation to the WLAN inside the laptop. Maybe there's a device driver functionality that activates the LED when the WLAN device is active? Might be - but I don't have windows so I have no way of testing Do you use the laptop's WLAN, and does the LED correspond to any state (like activated, connected, scanning etc.) of the WLAN? I do use WLAN but it does not correspond to any specific state. Nor does the physical switch change anything Anyway, I would predict that you won't find an easy way to utilize this LED except you're writing a driver for it with specifications the laptop's manufacturer will sell to you if you put enough money onto the table. :-) It happens to be a Lenovo laptop. If I could get a copy of the specification it would make a nice project for me - writing a driver - *wonders* Otherwise, it's completely useless. -- 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-unsubscr...@freebsd.org If it's and Intel card (iwi(4), ipw(4), iwn(4)), it's a matter of knowing what command to send to the firmware. What device do you have in the laptop? Check the dmesg(8) output... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Maximum Static NAT sessions under FreeBSD
On Sun, Feb 14, 2010 at 5:18 PM, c...@opsylon.com wrote: Hello, I was wondering if anyone could t ell me what is the maximum number of static IP NAT sessions FreeBSD can sup port and what are the limiting factors (memory, bus speed, software release , forks, etc)? Kind regards, div David Bennett I'm statically NAT-ting 1024 addresses using the in-kernel NAT via ipfw. I increased NAT_BUF_LEN in sys/netinet/ip_fw.h from 1024 to 65536 to accommodate the number of rules. Performance is good; I'm also using dummynet to throttle bandwidth for each IP. I don't know enough about FreeBSD's internals to give you info on performance or limiting factors, although I suppose you want a reasonably powerful CPU (especially if you're using dummynet), but memory doesn't seem to be a problem: last pid: 42109; load averages: 0.97, 0.98, 0.84 up 163+06:11:06 20:33:51 32 processes: 1 running, 31 sleeping CPU: 0.2% user, 0.0% nice, 50.4% system, 21.6% interrupt, 27.8% idle Mem: 45M Active, 662M Inact, 203M Wired, 5152K Cache, 111M Buf, 81M Free Swap: 2048M Total, 2048M Free It's on a 45 Mbit DS3 (symmetric). The top(1) output above is at about 10 Mbits Rx and 6 Mbits Tx on the box. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless setup iwn
On Thu, Feb 25, 2010 at 2:45 PM, Marwan Sultan dead_l...@hotmail.com wrote: Hello List, well im sure its a small mistake here or there. I know driver works with PCBS perfectly, but i cannot manualy configure it. something missing.. its iwn wireless driver, here are the settings : /boot/loader.conf legal.intel_iwn.license_ack=1 if_iwn_load=YES wlan_scan_ap_load=YES wlan_scan_sta_load=YES wlan_wep_load=YES wlan_ccmp_load=YES wlan_tkip_load=YES /etc/rc.conf wlans_iwn0=wlan0 ifconfig_wlan0=WPA DHCP /etc/wpa_supplicant.conf network={ ssid=SSID wep_key1=PASSWORD } - Its Associated but no ip, its always 0.0.0.0 and sometimes an error of multicast call back.. I tried to add in /etc/rc.conf inet 192.168.0.11 netmask 255.255.255.0 instead of DHCP but same results. Any hints please? Thank you. Marwan _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Are you running 8.0-RELEASE? You may be better off running the 8-STABLE, as Bernhard Schmidt (and others) have committed several major updates to the driver. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Measuring Free memory
Sent from my iPhone On Mar 17, 2010, at 11:25 AM, Mario Lobo l...@bsd.com.br wrote: On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: First, you'll need a precise definition of what you mean by free memory. Free physical memory available. Add the -H flag to get that value more precise. I suspect, however, that precision isn't really the right term for what you're after. I caught the -H flag right after I wrote the mail. The result has to be multiplied by 1024. It's possible you're right but what I am trying to do is to monitor the amount of free physical memory still on the system. To make a long story short, I am in a long stretch in trying to find out why 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button point. I'm also seeing something similar although perhaps not related to (lack of) free memory. Are you able to enable debugging in the kernel and maybe get a (text)dump? Have you seen: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM and http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMOR Y-AMOUNT by any chance? Those were nice, Thanks. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs but haven't heard back just yet. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
On Fri, Mar 19, 2010 at 1:47 AM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I map a key to `killall npviewer.bin` -- crude and hack-ish, but it's all that seems to work. I just refresh the browser page(s) containing any other flash objects that I WANT to use or view (sometimes the refresh happens automagically). -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Porting NetworkManager to FreeBSD
On Sat, Apr 17, 2010 at 2:26 PM, Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote: Em Sáb, 2010-04-17 às 10:13 +0200, David DEMELIER escreveu: 2010/4/16 Jerry freebsd.u...@seibercom.net: Has there been any movement on porting NetworkManager http://projects.gnome.org/NetworkManager/ to FreeBSD? I read something awhile ago, I don't remember where, that it was planned for the 8.0 release (I think). I have seen it in use on a friends PC, and it is really awesome. Do you really like NM ? Each time I use it it bugs, sometimes it connects and sometime not. Of course it's great for people who wants something easy to manage but NM needs the users to connect the X session. wpa_supplicant is really great, it scans access points available and try to connect them (you can add many networks in your wpa_supplicant.conf) and then it starts connecting even if you're not in your X session. About the NM port in freebsd I guess we can wait a long time. Cheers, Laptops needs NM badly.. Linux have it, Opensolaris have it... I cannot use FreeBSD 8.0 in my laptops (8 persons in my company) because there is no NM. All the Laptops runs Arch linux... it is a good OS but does not compares to FBSD. That is a thing that is missing... I agree that wpa supplicat is great... so if one can only make a GUI for it... it would make all of us happy too Sergio Check out net-mgmt/wifimgr, available in ports. It's a graphical front-end for wpa_supplicant. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: what does boot in safe mode enable / disable?
On Mon, Apr 12, 2010 at 6:11 PM, Henrik Hudson li...@rhavenn.net wrote: I emailed a few days back, to -stable, about having issues running 8-STABLE in a Xen environment. I solved this, sort of. However, I didn't get any bites over there. I have a XEN HVM environment and it was given to me running 8-REL-p2 and it was working fine. I moved up to -STABLE and GENERIC wouldn't boot. After some fiddling, etc.. I tried booting it in safe mode and viola it boots fine. The system doesn't show any errors it just stops on trying to mount disk: /dev/. Enabling logging mode doesn't show any difference between the stable kernel and the rel kernel when booting. So, I'm guessing there was some sort of regression, but I'm trying to isolate this. What does booting in safe mode enable / disable that would allow the system to boot successfully? Thanks. Henrik -- Henrik Hudson li...@rhavenn.net I've wondered this myself, having never actually booted into safe mode. Here is a snippet from a reply to a related question from the archives: Safe mode forces PIO mode (disabling the use of DMA) and disables write caching for all IDE hard drives and CD ROM drives, disables the probing of EISA slots (as very few systems have them), and in i386 it also disables the use of ACPI and the APICs. from What is FreeBSD 5.3 Safe Mode? http://lists.freebsd.org/pipermail/freebsd-current/2005-February/046882.html -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: detachable x session (X11 application that acts like sysutils/screen)
On Mon, Apr 12, 2010 at 6:46 AM, Jim stapleton...@gmail.com wrote: Has anyone done anything with a program that acts like sysutils/screen but with an X11 screen instead of a terminal? x2x and xnest both look like they have some promise. Basically I work on projects located on one of two systems, but I may bounce between another set of workstations where I am physically located. If I am handling something that I can work on console-only without trouble, I use sysutils/screen, however some times I either need X, or X would be a bit more effective for me. I'd like to be able to leave a xsession running somewhere and be able to detach it and reattach to it between login sessions. Has anyone had experience doing this? What programs do you use? Thanks, -Jim Stapleton I'm not sure if it's coming to FreeBSD or not: http://code.google.com/p/partiwm/wiki/xpra It may be what you're looking for though... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8 New USB Stack Issues
On Thu, Apr 8, 2010 at 5:57 AM, Marcel Grandemange thavi...@thavinci.za.net wrote: Marcel Grandemange wrote: Good Day. I am really hopeing someone can assist me here. I have a E620 Huawei PCMCIA 3G card in a PCMCIA-TO-PCI Converter in a Freebsd server for a sms server i run. Now it used to run without issues, however since the change over from 7.2 to 8.0REL it no longer works and there are no entries under /dev/cuaux and so forth. Regards Marcel Grandemange From the 8.0 release notes is the following http://www.freebsd.org/releases/8.0R/relnotes-detailed.html [amd64, i386] The uart(4) is now the default driver for serial port devices in favor of the sio(4) driver. Note that the device nodes have been renamed with /dev/cuauN and /dev/ttyuN. Yes but the devices don't actually attach Eg.. ugen0.2: HTC at usbus0 uipaq0: HTC Generic RNDIS, class 239/1, rev 2.00/0.00, addr 2 on usbus0 device_attach: uipaq0 attach returned 6 uipaq0: HTC Generic RNDIS, class 239/1, rev 2.00/0.00, addr 2 on usbus0 device_attach: uipaq0 attach returned 6 As can be seen by the attach returned 6 And ohci1: NEC uPD 9210 USB controller mem 0xde7ad000-0xde7adfff irq 18 at device 0.1 on cardbus0 ohci1: [ITHREAD] usbus8: reset timeout ohci1: USB init failed device_attach: ohci1 attach returned 6 And Here again. Many devices Suffer Of this. Would it be possible for you to try a recent build of 8-STABLE or even 9-CURRENT? If I'm not mistaken, it seems you've also tried the forums: http://forums.freebsd.org/showthread.php?t=12988 If you'd like this device to work properly again in FreeBSD, would you mind filing a PR with all pertinent information regarding your situation? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html then: http://www.freebsd.org/send-pr.html Thanks! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interrupt ptr 12h?
On Tue, Apr 6, 2010 at 4:42 PM, Axel Schmalowsky schmalow...@gmail.com wrote: Hello list, sometimes my system freezes, and I cannot figure out why. What I do know is that everytime I try to build openoffice, it freezes during the build process. Last time my system froze, the kernel spat out the following message: kerneltrap with interrupt ptr 12h disabled. What does this mean, exactly? please help. -axel Usually there is more to the message than the above when a kernel experiences a panic. When this panic occurs again, try to capture as much of the text from the console as possible (I often take a snapshot with a digital camera, and jot down notes on paper). The more detail you can provide the developers, the better. And, if (when) you're brave enough: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html Also, I think it may be appropriate at this point to test your computer's RAM (using a memtest-type utility); doing large, intensive tasks such as building OpenOffice is bound to uncover issues with your computer's hardware -- I know this from experience :) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building for polkit-0.96_1 fails
On Tue, Apr 6, 2010 at 3:59 PM, Michel Seliverstoff mic...@seliverstoff.fr wrote: Hello, I'm having difficulties updating polkit. I read the ports/updating and did portupgrade -f policykit first. unfortunatelly it didn't help. Would anyone have a tip to share. Thanks, Michel gmake[4]: Entering directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' CC libpolkit_gobject_1_la-polkitenumtypes.lo CC libpolkit_gobject_1_la-polkitactiondescription.lo CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo CC libpolkit_gobject_1_la-polkitdetails.lo CC libpolkit_gobject_1_la-polkitauthority.lo CC libpolkit_gobject_1_la-polkiterror.lo CC libpolkit_gobject_1_la-polkitsubject.lo CC libpolkit_gobject_1_la-polkitunixprocess.lo CC libpolkit_gobject_1_la-polkitunixsession.lo CC libpolkit_gobject_1_la-polkitsystembusname.lo CC libpolkit_gobject_1_la-polkitidentity.lo CC libpolkit_gobject_1_la-polkitunixuser.lo CC libpolkit_gobject_1_la-polkitunixgroup.lo CC libpolkit_gobject_1_la-polkitauthorizationresult.lo CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo CC libpolkit_private_la-_polkitactiondescription.lo CC libpolkit_private_la-_polkitauthenticationagent.lo CC libpolkit_private_la-_polkitauthority.lo CC libpolkit_private_la-_polkitauthorizationresult.lo CC libpolkit_private_la-_polkitbindings.lo CC libpolkit_private_la-_polkitbindingsmarshal.lo CC libpolkit_private_la-_polkitcheckauthorizationflags.lo CC libpolkit_private_la-_polkiterror.lo CC libpolkit_private_la-_polkitidentity.lo CC libpolkit_private_la-_polkitimplicitauthorization.lo CC libpolkit_private_la-_polkitsubject.lo CC libpolkit_private_la-_polkittemporaryauthorization.lo CC libpolkit_private_la-_polkitauthorityfeatures.lo CCLD libpolkit-private.la CCLD libpolkit-gobject-1.la /usr/local/bin/g-ir-scanner -v \ --namespace Polkit \ --nsversion=1.0 \ --include=Gio-2.0 \ --library=polkit-gobject-1 \ --output Polkit-1.0.gir \ --pkg=glib-2.0 \ --pkg=gobject-2.0 \ --pkg=gio-2.0 \ --libtool=../../libtool \ -I/usr/local/include/eggdbus-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include \ -I../../src \ -D_POLKIT_COMPILATION \ -DEGG_DBUS_I_KNOW_API_IS_SUBJECT_TO_CHANGE \ ./polkit.h \ ./polkittypes.h \ ./polkitactiondescription.h \ ./polkitauthority.h \ ./polkitauthorizationresult.h \ ./polkitcheckauthorizationflags.h \ ./polkitdetails.h \ ./polkitenumtypes.h \ ./polkiterror.h \ ./polkitidentity.h \ ./polkitimplicitauthorization.h \ ./polkitsubject.h \ ./polkitsystembusname.h \ ./polkittemporaryauthorization.h \ ./polkitunixgroup.h \ ./polkitunixprocess.h \ ./polkitunixsession.h \ ./polkitunixuser.h \ gmake[4]: *** [Polkit-1.0.gir] Segmentation fault: 11 (core dumped) gmake[4]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/sysutils/polkit. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100406-94674-18chul8-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=polkit-0.95_3 UPGRADE_PORT_VER=0.95_3 make ** Fix the problem and try again. I don't remember the exact error I saw, but I recently ran into a problem updating sysutils/polkit. I use ports-mgmt/portmaster,
Re: geom, glabel, and related terminology
On Tue, Apr 27, 2010 at 6:49 AM, Eitan Adler eitanadlerl...@gmail.com wrote: I'm a little bit confused about some of the file system terminology. What exactly is a GEOM label? What does it mean to have one or for one to be stopped? What is a GEOM provider? What is the difference between a bsd label and a geom label? If you could provide a high level overview the terminology it would help me immensely. $ man 4 geom It's on my reading list as well ;) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Postfix signal 11
On Tue, Apr 27, 2010 at 11:17 AM, Ron rg.li...@rzweb.com wrote: After I did a big portupgrade on the April 25th, I am now getting a lot these... +pid 53508 (conftest), uid 0: exited on signal 11 (core dumped) +pid 28553 (smtp), uid 125: exited on signal 11 +pid 28569 (smtp), uid 125: exited on signal 11 +pid 28657 (smtp), uid 125: exited on signal 11 ..in my logs. I've tried forcing a rebuild of postfix and all dependency to no avail. I don't seem to be loosing any email. I'm assuming it's postfix (I don't use sendmail), but I could be wrong. Anyone know what this is or where I should start looking? Did I not upgrade something correctly after the big changes? Thanks Signal 11, or SIGSEGV, is a segmentation violation. It occurs when a program makes an invalid memory reference. The program exits (crashes) and leaves a dump of it's memory image on the file system somewhere. The memory image, a .core file, is somewhere on your file system and will allow the application (I assume Postfix) to be debugged (using gdb). -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question about nethack and setgid
On Wed, Mar 2, 2011 at 4:51 PM, David Demelier demelier.da...@gmail.com wrote: Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile. the real binary is here /usr/local/lib/nethack/nethack And the mode is -rwxr-sr-x 1 games games 1793635 25 Jan 2011 /usr/local/lib/nethack/nethack So that means people in games group will run nethack as games user (owner of file) but I'm not in games group ! and I can save the file located in /usr/local/lib/nethack/logfile which mode is -rw-rw-r-- games games I'm writing a game that will store file too, because I can't make it works like nethack I was planning using the setuid mode but I don't like much this .. What am I misunderstanding? Cheers, -- David Demelier Take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/permissions.html#AEN4027 I believe that it will demystify the behavior you're seeing. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: optical driver with ahci bios mode but ata(4) driver
On Mar 6, 2011, at 2:14 AM, David Demelier demelier.da...@gmail.com wrote: On 05/03/2011 21:22, Paul B. Mahol wrote: On Mon, Feb 28, 2011 at 8:31 PM, David Demelier demelier.da...@gmail.com wrote: Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? No I was only using ata, atapicd. I would like to use ahci + cdrecord but it fails to burn too :( -- David Demelier Have you tried burning using the -tao option? Also, mav@ has a set of patches to get cd burning working with CAM, just search the mailing list archives -- I seem to recall that you may have previously been a part of a discussion concerning this situation? -Brandon___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: installing freebsd on a thinkpad x300
On Fri, Mar 18, 2011 at 2:04 PM, Alokat mail...@alokat.org wrote: Hi, I have successfully installed FreeBSD on my x300 but I have some driver problems. Does someone know how to figure out which driver I need for the sound and the wlan card? The sound card should be snd_hda(4): http://www.freebsd.org/cgi/man.cgi?query=snd_hdaapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html Here's a document detailing sound configuration: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html The wireless device driver should be iwn(4): http://www.freebsd.org/cgi/man.cgi?query=iwnapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html Please refer to the handbook for configuration instructions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html And the second point is: does someone know a GUI network manager I can use for xfce4? There are (at least) a couple from ports you can try: http://www.freshports.org/net/pcbsd-netmanager http://www.freshports.org/net/wpa_gui/ I remember at one time testing a GTK-based utility, but I can't seem to dredge up the name of it from memory ATM... Regards, alokat Good luck, -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: finding kernel 'r' number
On Thu, Jun 16, 2011 at 7:16 AM, Robert Huff roberth...@rcn.com wrote: For some time now, people have been referring to what build they're using by the 'r' number, which I believe to be part of svn. How would one go about determining this value for the installed kernel? Robert Huff That would be uname(1): $ uname -v FreeBSD 9.0-CURRENT #0 r223017: Sun Jun 12 13:55:34 CDT 2011 root@m6500.local:/usr/obj/usr/src/sys/GENERIC where r223017 is the current svn revision number from which my system is compiled (kernel and userland). For more options, see `man uname`. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenNMS under FreeBSD?
On Wed, Jun 29, 2011 at 12:03 PM, Dennis Glatting free...@penx.com wrote: I am looking at OpenNMS under FreeBSD but it isn't in the ports tree although there are various discussions of OpenNMS under FreeBSD. Is there a reason why OpenNMS isn't in the ports tree, such as it doesn't port, no one is willing to step up as a maintainer, or there are licensing issues? There is a port here, created by Sevan Janiyan: http://www.geeklan.co.uk/files/opennms/ I don't know whether or not it's been submitted to ports yet, but I'd be interested to see if you get it up and running. Report back with your findings! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Book recommendations (slightly OT)
On Tue, Jul 26, 2011 at 2:57 PM, Mark Moellering m...@msen.com wrote: I want to automate some tasks, creating directories, file editing, etc. I was going to pick up a book on shell scripting but wanted to ask the list if; A) I am barking up the wrong tree and should use something else. B) If I am headed in the right direction, what is the best book / resource to use? Thanks in advance Mark Moellering You should check this out, from our friends at Apple: http://developer.apple.com/library/mac/#documentation/OpenSource/Conceptual/ShellScripting/ I haven't gone through it, but I've perused it, and it looks like a good place to start learning. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where to download latest FreeBSD snapshots
On Mon, Jun 27, 2011 at 6:54 PM, Hiroki Sato h...@freebsd.org wrote: Pan Tsu iny...@gmail.com wrote in 864o3dtsey@gmail.com: in Hiroki Sato h...@freebsd.org writes: in in Hello, in in dave jones s.dave.jo...@gmail.com wrote in in BANLkTikR-GL9LFkTL6f=pm5vcazaftk...@mail.gmail.com: in in s. It seems that allbsd.org is up, but I can't find the HEAD snapshots, in s. only RELENG. in s. Would you like to build HEAD snapshots? Thank you very much. in in Building snapshots of HEAD and RELENG_[67] are temporarily disabled in because a maintenance work is now in progress. They will be back on in the page in the next week. in in Are there more places for *daily* HEAD snapshots? I used them a few in times to report regressions with a clean environment. The HEAD snapshot build is finally getting recovered (currently for amd64 and i386 only, though). Some hardware failure prevented the build cluster from working. -- Hiroki Thank you so much for providing this service Hiroki! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BHyve
On Aug 19, 2011 10:29 AM, Net Warrior netwarrior...@gmail.com wrote: Hi Does anyone know if there is any progress on this project or how can I track/test it? Thanks you- Regards I'm interested in this as well, and I'm hoping that after 9.0 is out the door that we might see a concerted effort (or at least some interest) from developers to push forward with this. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenLDAP + CARP
On Tue, Sep 20, 2011 at 6:02 AM, Rafael NAVAZA rnav...@hotmail.com wrote: Thank you for the reply Matthew. I'm indeed using the built in failover capability of LDAP clients. It works just fine when the first LDAP server is powered off, but it does not work that well when slapd becomes a zombi ( because the clients take about 1 min to try the second LDAP server, for each request, every time ... ) It is for that reason I'm interested in building a HA cluster for OpenLDAP. I'm currently using the single-master replication and I will certainly move to a mirrormode or a n-way multimaster replication schema (as long as the multimaster is used with CARP, this mode is equivalent to a mirrormode with more than 2 replicas, isn't it ?). As far as I know CARP will not check if the slapd is running correctly; that could be a problem if the CARP Master has a failing slapd. Do I have to monitor slapd with a third party software (like Monit) ? Can I configure CARP and OpenLDAP to watch each other more closely ? Rafael. Could this help in your situation? http://www.liquidx.net/blog/2006/04/03/nss_ldap-undocumented-nss_reconnect_tries/ -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted I see similar behavior and output on my Dell M6500 notebook running CURRENT, but only on two ports which are some type of hybrid USB 2.0/3.0 (configurable via BIOS setting). If I use either of these ports with a USB 2.0 device while running the ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device to properly attach. I say reliably, because every once in a while, I can plug a device in and it works fine, even multiple times and after reboots. If I configure these ports to run in USB 2.0 mode (using ehci(4)), all of my USB 2.0 devices seem to work without fail. However, USB 3.0 devices do not attach on these ports when they are configured as USB 2.0 ports. So, at least on my notebook, these ports must be configured at either 2.0 or 3.0, depending on which device I plan on using :( I have one other port on this same system that is USB 2.0-only, and it works all of the time :) I'll have to try and add a hub into the mix to see if perhaps it is a power issue (although with a recent Linux kernel and Windows 7, all is well no matter what configuration I provide). It may be that FreeBSD's USB subsystem lacks some extra bit of code required to configure the ports properly in regard to power. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Massive portupgrade without being interrupted by configuration screens?
On Sat, Oct 2, 2010 at 5:27 AM, Thomas Mueller mueller6...@bellsouth.net wrote: How can one do a massive portupgrade, as with -r or -R, without being interrupted by options configuration screens for many individual ports? Idea is to let it run unattended such as when I might run it starting just before bedtime. Doing make config ahead of time also gives the chance to recover from a typo at the configuration screen (high risk). Best thing I can think of is, using multimedia/ffmpeg as an example, is doing a dry run portupgrade -Rn multimedia/ffmpeg | tee -a wouldbe.log This would show what other packages would need to be portupgraded and avoid reconfiguring up-to-date dependencies. Then I would go to each of those directories in the ports tree and run make config. Running make config-recursive in /usr/ports/multimedia/ffmpeg would produce configuration screens for all dependencies, including those that are up-to-date. I tried portupgrade -RCn multimedia/ffmpeg | tee -a wouldbe.log but then I got all dependency configuration screens, including those that were up-to-date, and also the interface didn't work right: I got garbage when trying to respond; it didn't write to the configuration screen but produced non-color garbage to the background. Running make config-recursive in /usr/ports/multimedia/ffmpeg would configure all dependencies, including those that are up-to-date and therefore not in need of portupgrading, though make config-recursive seems appropriate for a first build/install of a port. But I think there is no perfect way to be sure of doing all make configs in advance, since selectable options could require additional dependencies. If you try to portupgrade perl to 5.12 and everything that depends on it, as advised in UPDATING file, date 20100715, you will likely get a lot of configuration dialog screens: I speak from experience, would surely like a way to do all these make configs at the beginning. Tom Well, I'm not using portupgrade, but instead ports-mgmt/portmaster: # portmaster --force-config --no-confirm [...] lang/perl5.12 Gets all of the config menus out of the way (--force-config), and doesn't sit waiting for confirmation to proceed with install (--no-confirm). I do this only the first time I build a port, or if I need to change a config option and reinstall. Works for me! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: fdisk
On Sat, Oct 2, 2010 at 9:45 PM, Robert travelin...@cox.net wrote: On Sat, 2 Oct 2010 19:09:27 -0600 (MDT) Warren Block wbl...@wonkity.com wrote: It's weird that da1 can be mounted, but da1s1 can't. Maybe a problem with the filesystem. Might be repairable, although probably it would need proprietary programs. Don't experiment with the original drive, make a copy with dd for experimenting. Warren I should have mentioned that before. dd was the first thing I tried. I had an unused drive setup as UFS. Then did dd if=/dev/da1s1 of=/dev/ad12s1d bs=1m count=2000 I believe that the above 'if' operand to dd should instead be /dev/da1 (without the 's1' slice). Also, the operand 'of' will need to point to a device, such as /dev/ad12, or a file on a mounted file system, such as /mnt/my_disk_image.img -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core
On Wed, Oct 6, 2010 at 10:11 PM, Randal L. Schwartz mer...@stonehenge.com wrote: [SNIP] Or a third alternative... use the ACPI implementation from OpenBSD, which doesn't have such a restriction. Port it! I'll test it for you (on 9-CURRENT and, if possible, a backport to 8-STABLE). In your opinion, how long will it take, and how difficult will the process be? -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Which OS for notebook
On Sat, Oct 9, 2010 at 12:55 PM, Arvid Warnecke arvid.warne...@gmail.com wrote: Hello, On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote: Which OS are you using on your notebook, FreeBSD / Linux or MAC ? Also, can you tell us the hardware, Sony / HP etc.. Right now I use Mac OSX on my MacBook Pro and FreeBSD 8.1-STABLE on my IBM/Lenovo T60 Notebook. The only issue I have with FreeBSD is the configuration for suspend/resume and battery lifetime (the big battery lasts for ca. 3,5 hours). Everything else works fine. Have you taken a look at this? http://wiki.freebsd.org/TuningPowerConsumption Additionally, the new timer infrastructure has and will allow for even more power saving (especially when the tickless functionality is implemented): http://svn.freebsd.org/viewvc/base?view=revisionrevision=209371 http://svn.freebsd.org/viewvc/base?view=revisionrevision=212541 Regarding the suspend/resume; it took me a while to get my Lenovo X300 to reliably (99.9% of the time) resume. I have to kldunload the USB stack to have the ports function on resume, and I still get the occasional VGA reinit lock-up, but mostly it works :) Things have been better since I moved to 9-CURRENT... I have been thinking about FreeBSD on the Macbook Pro dual booting (I need Mac OSX for photography software), but I am not sure if the hardware will be supported that well. Here's an excellent place to start your research: http://wiki.freebsd.org/AppleMacbook Good luck! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: UDP packet spoofed LAN source address?
On Sun, Oct 17, 2010 at 4:59 PM, Nerius Landys nlan...@gmail.com wrote: Maybe, is there a simple 10 line C program that I can run and compile to check if this scenario is possible on _my_ server? 'netcat' has the capability built in. root# echo hi | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001 nc: bind failed: Can't assign requested address I don't seem to be able to spoof a source address using netcat, unless I'm missing something in the man page. I think you need to have the IP address you wish to spoof bound to an interface. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1-RELEASE Installation success
On Mon, Oct 25, 2010 at 7:50 PM, Henry Olyer henry.ol...@gmail.com wrote: The problem here is that it shouldn't take so much effort to get this going. But I know it does. And I don't blame the FreeBSD team. I do blame the organizational infra-structure that exists. ie., we should have scripts that describe every aspect of a computer, so that such scripts can be mechanically read and a configuration built. We do ./configure for software we install. Same thing, but for all aspects of the hardware. The present configure logic covers the OS and the installed software, we need to do this for hardware. I notice that freeBSD download's and installs trails Linux. That's okay. FreeBSD is so much better, and in so many ways, too. Nothing I've seen in Linux lands comes close to the sysinstall command or the plainly superior organization of FreeBSD. What I'm trying to encourage is that we, as a group, work on our infra-structures, like strengthing the already high level of organization we have in sysinstall. How about a query program that examines a machine. Is this practical? Something like the automated X-install process that makes it unnecessary to set the horizontal and vertical frequencies ourselves (which we used to have to do.) But not for X, for the sound card, for as much as possible. On Mon, Oct 25, 2010 at 8:25 PM, Michael D. Norwick mnorw...@centurytel.net wrote: Good Day; It is with some pleasure that I have finally succeeded in building an operative workstation with a custom kernel and world, Xorg 1.7.5, KDE4-4.5.2 from ports, most common network applications as well as Firefox3, and Thunderbird 3.1.5. The machine is an older Dell GX270 P4 2.4 GHz PC with 3G of ram and an ATI Radeon video adapter. This install has not been without it's trials. 4 weeks ago I backed up all my data and reformatted from Debian 'lenny' to GPT/ZFS/8.1-RELEASE. The next two weeks did not go so well. While I tried hard to get ZFS formatted drives to work reliably, intermittent unexplained core dumps with reboots gave me cause for concern. I finally reinstalled msdos boot records and formatted the drives UFS. That install has lasted 2 more weeks. I liked ZFS v14 and would like to try it again when I get more current hardware with more ram and SATA drives. My next challenge was building KDE4, Firefox, and Thunderbird from ports. KDE4 and friends (QT4) took days on this machine to build, install and setup. I initially installed the ports tree using portsnap but was having so much trouble building the mozilla stuff from ports I moved to cvsup and portupgrade. This is also what I used to install the kernel and base source tree. Several iterations of make - clean and deinstall/reinstall along with cvsup'ing ports a couple of times finally got me to a working browser and mail client. I have had a time getting Flash working with Firefox. I have not yet got the plugin working in Firefox but Opera, using linux-f10 allows my kids view their on-line home school lessons. Audio was somewhat of a challenge to get sound from an AC97 on-board audio chipset. snd_hda was the module that eventually provided the needed audio driver for this chipset. I think I forgot what configuring this stuff was like during my 'hamm', 'bo', and 'slink', debian days. My thanks to the entire FreeBSD/KDE development team on allowing me to experience the fruit of their efforts. I still like turning the knobs myself. I'll keep reading the manuals. :) Michael Have either of you had a look at PC-BSD? http://www.pcbsd.org/ It's getting better with each release...oh, and it's based on FreeBSD too :) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ssh-agent and ssh-add on FreeBSD
On Mon, Nov 29, 2010 at 8:40 AM, bluethundr bluethu...@gmail.com wrote: Hey list On my CentOS machines I usually keep track of my rsa key with ssh-agent, ssh-add and keychain I would like to know a) how to install keychain under FreeBSD and b) how to fix this error: [bluethu...@lbsd2:~]#ssh sum1 Enter passphrase for key '/home/bluethundr/.ssh/id_rsa': [bluethu...@lbsd2:~]#exec ssh-agent bash [bluethu...@lbsd2:~]#ssh-add Could not open a connection to your authentication agent.a Whenever I try to ssh to another box on the network (with a homedir shared amongst all centos and FreeBSD machines) it prompts me for my passphrase. Usually on the CentOS boxes exec ssh-agent bash does the trick. Anyone have any idea why this isn't working on the FreeBSD box? thanks!! The man page for ssh-agent is very informative: http://www.freebsd.org/cgi/man.cgi?query=ssh-agentsektion=1 I read it recently when setting up my system to do as you're trying to do. Of course, don't hesitate to refer to the EXCELLENT FreeBSD Handbook, it is absolutely one of the best references I've ever seen for any software: http://www.freebsd.org/doc/handbook/openssh.html Good luck! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem building netdisco 1.0 from ports on FreeBSD
On Wed, Dec 1, 2010 at 11:09 AM, Kurt Buff kurt.b...@gmail.com wrote: Working on 7.1 Release. Ports tree up to date, and a portupgrade -a done yesterday was successful. I did the following: # cd /usr/ports/net-mgmt/netdisco # make install It bombs out with the below errors - I think it's an error in libXaw, but can't quite be sure. Any thoughts? Kurt === Verifying install for /usr/local/libdata/pkgconfig/xaw7.pc in /usr/ports/x11-toolkits/libXaw === Building for libXaw-1.0.7,1 make all-recursive Making all in include Making all in src CC libXaw6_la-Actions.lo Actions.c:38:28: error: X11/IntrinsicP.h: No such file or directory Actions.c:39:28: error: X11/StringDefs.h: No such file or directory Actions.c:40:23: error: X11/CoreP.h: No such file or directory Actions.c:41:28: error: X11/Constraint.h: No such file or directory Actions.c:42:29: error: X11/Xmu/CharSet.h: No such file or directory Actions.c:43:29: error: X11/Xmu/SysUtil.h: No such file or directory In file included from Actions.c:45: Private.h:149: error: expected ')' before '*' token [SNIP] It seems that the header files can't be found. Have you checked /usr/local/include/X11 to verify their existence? If not, perhaps you should (re)install libX11 (I thinks that's where the header files above are found). -Brandon -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FBSD Realtime
On Sun, Dec 19, 2010 at 6:49 AM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: In light of the significant spam of late, it occurs to me that my former subject line may have been a little sparse... :) On 12/19/10 14:32, Da Rock wrote: I can't seem to get my head on straight with the realtime scheduling in FBSD despite all my googling. Can someone give me a pointer to the latest info? As far as I can tell FBSD has it, but only root(?) can use it? I'm interested in who can use it, and how to allow a user to obtain the realtime access. There's an ongoing discussion/debate between two very knowledgeable and talented developers (plus a supporting cast) regarding the real-time support in FreeBSD; it's happening on freebsd-arch@: http://lists.freebsd.org/pipermail/freebsd-arch/2010-December/010835.html I suggest giving it a read if you are planning on deploying some real-time process (or are interested in reading about FreeBSD internals from some very knowledgeable people). -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Ettercap segmentation fault....
On Tue, Jul 6, 2010 at 11:21 PM, Axel Barnabas a...@ucs.com wrote: Hello, I have compiles ettercap from ports without incident. However, when I attempt to run ettercap in any way, after a short while the program crashes and I am presented with an error message which is as follows: Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a bugreport I have deinstalled and recompiled to program twice, yielding no results. Some additional information which may be useful- #pkg_info | grep ettercap ettercap-gtk2-0.7.3_10,1 A network sniffer/interceptor/injector/logger for switched #uname -a FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 If anyone wishes me to recompile in debug mode, you will have to tell me how; I am not familiar with the process. Axel Try this: Before building the port (if you're starting from scratch), run: Code: # cd /usr/ports/net-mgmt/ettercap # make fetch # make extract In the file /usr/ports/net-mgmt/ettercap/work/ettercap-NG-0.7.3/src/protocols/ec_tcp.c on line 119, change the following line from: Code: opt_end = (u_char *)((int)tcp + tcp-off * 4); To: Code: opt_end = (u_char *)(tcp + tcp-off * 4); ...using your favorite text editor. Then, run the typical: Code: # make config # make build # make install After all of that, give the program a run or two, and see if it's working. Let us all know. -Brandon [Refer to FreeBSD Forum Thread: http://forums.freebsd.org/showthread.php?t=15719] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can't burn with ahci(4) and cdrecord
On Thu, Feb 3, 2011 at 2:36 PM, David Demelier demelier.da...@gmail.com wrote: Hello, I tried to burn a little iso with ahci(4) instead of old ata drivers and it fails to burn with : markand@Melon ~ $ sudo cdrecord downloads/ubuntu-10.10-desktop-i386.iso cdrecord: No write mode specified. cdrecord: Assuming -sao mode. cdrecord: If your drive does not accept -sao, try -tao. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd8.2) Copyright (C) 1995-2010 Jörg Schilling Using libscg version 'schily-0.9'. No target specified, trying to find one... Using dev=1,0,0. Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'hp ' Identifikation : 'DVDRAM GT20L ' Revision : 'DC05' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP Starting to write CD/DVD/BD at speed 24 in real SAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Turning BURN-Free off cdrecord: WARNING: Drive returns wrong startsec (0) using -150 cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 FF FF FF 6A 00 00 20 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x [], Segment 0 Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 65536 cmd finished after 13.147s timeout 200s write track pad data: error after 0 bytes BFree: 597 K BSize: 597 K cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 00 00 00 00 00 00 20 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x [], Segment 0 Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 65536 cmd finished after 0.001s timeout 200s write track data: error after 0 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. This is happening on my HP Probook 4510s with 8.2-RC2 amd64. Are you on 8.x or 9? I think this is due to a known issue [1]. Alexander Motin has patches for 9-CURRENT [2] that fix the issue for me (and others). He hasn't had time to clean up the patches for committal to the tree, and the patches may no longer cleanly apply -- I haven't re-patched since my last few updates. Let us know if the patches work for you. -Brandon [1] http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020944.html [2] http://people.freebsd.org/~mav/sense/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pf suggestions for paced attack
On Tue, May 4, 2010 at 7:55 AM, A. Wright and...@qemg.org wrote: I wrote: If anyone is interested, I can send (or I suppose post) the scripts. Balázs Mátéffy wrote: Would you be so kind to share those scripts? No problem; the scripts are below. [SNIP APOLOGY] I've been meaning to write something similar myself for...well, quite a while now :) Thank you. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ml110 g6
On Wed, May 12, 2010 at 11:49 AM, captainhastings captainhastings ccaptainhastings...@googlemail.com wrote: Hello I have bought an intel 110 g6 server with intel quad core cpu. It is a 64bit machine. Do I use the amd64 iso even though its intel ? Quick answer: Sure. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-processors.html Longer answer: FreeBSD has excellent documentation: http://www.freebsd.org/docs.html A good place to start is the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Please don't hesitate to read it as you attempt to install and configure FreeBSD and all of the wonderful additional software available in the ports system. After you've successfully completed the install, read it again -- and review :) There is much to learn, but the journey is well worth it. Plus, I believe you'll have a lot of FUN along the way... Also, you probably want to check out the freebsd-questions@freebsd.org mailing list, it's a great place to get information and answers regarding general FreeBSD items and issues. Good Luck! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need: http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/ http://ivoras.sharanet.org/stuff/adfs.tgz I'm not sure about the status of the code (in regard to compiling and working with 8.x or HEAD), but it's worth a shot. I remember trying it out last year and it worked well for the small-ish project I had going. Ivan may have an informed comment or two to provide as well... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied
On Mon, May 31, 2010 at 6:32 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Fri, May 21, 2010 at 03:55:59PM +0400, Eugene Mitrofanov wrote: Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs get jailed tank/s1 shows me that the property jailed is still exists: NAME PROPERTY VALUE SOURCE tank/s1 jailed off default How can I change its value? It was accidentally marked as OpenSolaris-specific. Should be fixed as of r208684 in HEAD and I plan to merge it to stable/8 in few days. Thanks for the report! I discovered this just last night (May 30, 2010) -- will it be able to be pushed into 8.1-RELEASE? It's important in my ezjail setups... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: devel/gojbect-introspection fails due to not finding libintl
On Mon, May 31, 2010 at 7:41 AM, Eitan Adler li...@eitanadler.com wrote: Here is the output of $make install env LPATH=.libs env PYTHONPATH=..:.. UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v --add-include-path=../gir --add-include-path=. --namespace=Everything --nsversion=1.0 --libtool=/bin/sh /usr/local/bin/libtool --library=libgirepository-everything-1.0.la --pkg=gobject-2.0 --pkg=cairo --pkg=gio-2.0 --include=GObject-2.0 --include=cairo-1.0 --include=Gio-2.0 ./everything.h ./everything.c --output Everything-1.0.gir /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by libgirepository-1.0.so.0 Command '['/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/Everything-1.0', '--introspect-dump=/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/types.txt,/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/dump.xml']' returned non-zero exit status 1 gmake[2]: *** [Everything-1.0.gir] Error 1 gmake[2]: Leaving directory `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11' gmake: *** [all] Error 2 *** Error code 1 Please take a look at /usr/ports/UPDATING: 20100530: AFFECTS: users of devel/gettext (i.e.: YOU) AUTHOR: a...@freebsd.org Another version of gettext (0.18), and another shlib version bump (from intl.8 to intl.9) All ports that have an identifiable known direct dependency on gettext have had their PORTREVISIONs bumped. If after upgrading: # portupgrade -rf gettext # portmaster -r gettext there are still ports on your system that are looking for libintl.so.8 (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file a PR so that a correct direct dependency can be added. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: .sh getopts
On Sat, Jun 5, 2010 at 6:20 PM, Aiza aiz...@comclark.com wrote: Robert Bonomi wrote: Date: Sat, 05 Jun 2010 20:51:28 +0800 From: Aiza aiz...@comclark.com To: Robert Bonomi bon...@mail.r-bonomi.com Subject: Re: .sh getopts Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Thu Jun 3 23:36:28 2010 Date: Fri, 04 Jun 2010 12:35:56 +0800 From: Aiza aiz...@comclark.com To: questi...@freebsd.org questi...@freebsd.org Cc: Subject: .sh getopts Have this code shift; while getopts :ugr: arg; do case ${arg} in u) action=freebsd-update;; g) action=freebsd-upgrade;; r) action=freebsd-rollback;; ?) exerr ${cmd_usage};; esac; done; shift $(( ${OPTION} -1 )) Command being executed looks like this, cmd action -flags Only a single -flag in allowed on the command. $# gives a count of parms ie: . in this example a count of 2. I am looking for something to check that holds the number of flags on the command. so I can code. if flag_count gt 1 = error Is there such a thing created by getopts? Why bother?? flag_count=0 shift; while getopts :ugr: arg if flag_count = 1; then exerr ${cmd_usage} fi flag_count=1; do case ${arg} in {{blah-blah}} nope dont work. Yup. I was in a hurry, got the code mechanics wrong. it needs to be: flag_count=0 shift; while getopts :ugr: arg ; do if flag_count = 1; then exerr ${cmd_usage} fi flag_count=1; case ${arg} in {{blah-blah}} ecas done I think I see what your are saying. so to adapt it to my code flag_count=0 shift; while getopts :ugr: arg; do flag_count + 1; case ${arg} in u) action=freebsd-update;; g) action=freebsd-upgrade;; r) action=freebsd-rollback;; ?) exerr ${cmd_usage};; esac; done; shift $(( ${OPTION} -1 )) if flag_count gt 3; then exerr ${cmd_usage} fi I think I got the concept correct, but the flag_count + 1 is not correct. I get flag_count: not found when I run it this way. You could use: flag_count=`expr $flag_count + 1` or... ...anyone else? These types of open-ended questions are always fun :) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd - for the win
On Sat, Jun 12, 2010 at 9:00 PM, Charlie Kester corky1...@comcast.net wrote: On Sat 12 Jun 2010 at 18:17:22 PDT Michelle Konzack wrote: Hello Charlie Kester, Am 2010-06-12 15:51:32, hacktest Du folgendes herunter: I worked at Microsoft Developer Support in a previous life, beginning at the time that Visual C++ and MFC were first introduced. Hahaha, you where Killed by a Microsoft Customer... And when you knoked at the door of god, he sent you back to earth to do it better using now FreeBSD... ;-) Yeah, something like that. I'm doing the Lord's work now. :) Ha ha :) Well, theological debate aside for now, I've always thought of the BSD license as a sort of ultimate expression of Free Will in computing... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT
On Sun, Jun 20, 2010 at 9:29 PM, Gary Kline kl...@thought.org wrote: happy father's day to every dad stateside. same wishes to all dads of course. my view is that both mother's and father's day should be held internationally. it well may be for all i know. AFAIC, fatherhood is the kind of trip that beats even programming in C. on the best OS on earth. My sentiments exactly. Happy Father's Day to All the Dads! Thanks Gary :) -Brandon, Ava's Dad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /boot is full after running make installkernel on
On Wed, Jul 7, 2010 at 7:47 AM, Bruce Cran br...@cran.org.uk wrote: On Wed, 7 Jul 2010 07:18:18 -0400 Jerry freebsd.u...@seibercom.net wrote: I also ran out of space. I decided that a minimum of 2GB was the safest choice. It would be nice if the authors changed the default settings in the soon to be released 8.1 version so as to nullify this phenomena. I've just committed the fix to head/-current, but considering 8.1-RC2 has been released I'm not even going to ask for permission to get it in for 8.1-RELEASE - it's just too late. -- Bruce Cran Thanks Bruce. This is a welcome update despite not making it in to the 8.1-RELEASE. -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtualbox
On Thu, Aug 5, 2010 at 10:53 PM, kalin m ka...@el.net wrote: hi all.. just wondering how mature is virtualbox to be used with freebsd - either as host or as guest. is viable to be used in production environment? From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE, and 9-CURRENT) as both host and guest systems, YES. I'm also using 32- and 64-bit Windows and Linux guests; performance and stability are very, very good. Please try VirtualBox for yourself -- I think you will be pleased with the effort that's been put in to the port by the developers :) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: virtualbox
On Thu, Aug 5, 2010 at 11:17 PM, kalin m ka...@el.net wrote: awesome... i will. i'm basically intending to use it for production servers. i'll give it try... was reading something about not supporting usb... how about serial ports? Unfortunately, the OSE edition of VirtualBox doesn't support USB pass-through, and that is the only edition available on FreeBSD ATM. As for serial ports, I've only used the virtual type connected to a guest VM; I set things up according to the VirtualBox manual... i was reading the documentation. not much there... how about management, data backup and recovery? real time vm swaps? I use the machine snapshot feature frequently. Although for machine backup, I'm currently using software that installs on the guest itself. I'm interested in hearing about other users' methods as well... VirtualBox supports a form of live migration which they call Teleportation, but again, I haven't any experience using it :( -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (no subject)
On Thu, Sep 16, 2010 at 5:36 AM, Bruce Cran br...@cran.org.uk wrote: On Thu, 16 Sep 2010 12:23:36 +0200 claudiu vasadi claudiu.vas...@gmail.com wrote: what s-ata1 controller would you recommend in this case ? I don't know, I've just heard that the Sil adapters have a bad reputation, including for data corruption. Things may have improved in the 5 years since though. I can chime in here -- I've gone through two SiI 3114s (Rosewill RC-209s). Fortunately for me, the system wasn't critical and the cards failed at reboots -- and I had spares :) The upside is, if you're using ZFS, data corruption may not be an issue. Also, did we mention that the cards are CHEAP? Like, bottled water cheap. On the other hand, I've read of higher end Rosewill (presumably also SiI) cards performing admirably, and for extended periods. Luck of the draw, I suppose... 2 cents, Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sysinstall vs gmirror
On Sat, Sep 18, 2010 at 1:20 AM, per...@pluto.rain.com wrote: Adam Vande More amvandem...@gmail.com wrote: [SNIP] The question is, how do I go about partitioning gm0 from Fixit? I've seen nothing so far that describes how to go about creating multiple partitions on a gmirror (or on anything else, for that matter) without either using sysinstall or having to understand gpart. I've used something like this from the Fixit console (using /dev/ad0 as an example): Fixit# kldload /dist/boot/kernel/geom_mirror.ko Fixit# gmirror -v -b round-robin gm0 /dev/ad0 Fixit# fdisk -v -B -I /dev/mirror/gm0 Fixit# bsdlabel -w -B /dev/mirror/gm0s1 Partition with: # bsdlabel -e /dev/mirror/gm0s1 Create a UFS file system (with Soft Updates): Fixit# newfs -U /dev/mirror/gm0s1a Mount the newly created file system: Fixit# mount /dev/mirror/gm0s1a /mnt ...then follow one of the procedures for doing a manual install from fixit, e.g. Fixit# cd /dist/8.1-* Fixit# export DESTDIR=/mnt Fixit# for dir in base catpages dict doc games info lib32 manpages ports; \ do (cd $dir ; ./install.sh) ; done Fixit# cd src ; ./install.sh all Fixit# cd ../kernels ; ./install.sh generic Fixit# cd /mnt/boot ; cp -Rlp GENERIC/* /mnt/boot/kernel/ [taken from http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror] OK, given the system's age I will presume that it is not, thus (I suppose) no reason to deal with gpart. I've used GPT partitioning on all of my machines, ranging from a circa-2000 Toshiba Pentium 3 junker to a new i7 Quad Core beast. No problem so far, and it is a lot more logical (IMHO) than the fdisk/bsdlabel method. Also, the manual installation method demonstrated above hasn't failed me yet. Having stated all of this, I will say that I spent time reading the handbook, quite a few man pages, and a a wiki article here and there -- and I still feel only slightly more comfortable than I did after my first successful attempt! It is starting to come together for me now, finally :) Well, I hope this helps you get unstuck... Good Luck! -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD maximum password length
On Mon, Jun 17, 2013 at 6:35 AM, takCoder tak.offic...@gmail.com wrote: Thank you, Mark, for your helpful answer :) yes, i am aware of the max username length of 16characters.. I just wanted to become sure about password max length, cause i need to moderate it in my self-built user interface.. Thank you again :) On Mon, Jun 17, 2013 at 3:44 PM, Mark Felder f...@feld.me wrote: There isn't a max password length as far as I'm aware, but there is a max username length that drive me insane sometimes. I should really file a PR about that... Perhaps your PR is unnecessary: $ svn log -v -r243023 /usr/src/sys/sys/param.h r243023 | bapt | 2012-11-14 04:58:12 -0600 (Wed, 14 Nov 2012) | 8 lines Changed paths: M /head/sys/sys/param.h Allow usernames up to 32 chars PR: kern/161091 [1], misc/133926 [2] Submitted by: Stephane Lapie darks...@darkbsd.org [1], Chris Dillon cdil...@wolves.k12.mo.us [2] Reviewed by:cognet, kib The above would have saved me a few local diffs as well a few years ago... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org