From windforce150 at vip.qq.com Fri May 1 00:58:36 2009 From: windforce150 at vip.qq.com (=?utf-8?B?5byg6Ie7?=) Date: Fri May 1 00:58:45 2009 Subject: About javaws Message-ID: <20090501005831.GA30180@my.cn> Hello, everybody. I have installed diablo-jdk16 on my FreeBSD 7.1 system. However, when I run the TopCoder Competition Arena, it failed to validate the certificate. And the details out put are below java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.validator.PKIXValidator.(PKIXValidator.java:59) at sun.security.validator.Validator.getInstance(Validator.java:161) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:335) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:217) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1240) at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1077) at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:704) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:175) at com.sun.javaws.Launcher.launch(Launcher.java:95) at com.sun.javaws.Main.launchApp(Main.java:300) at com.sun.javaws.Main.continueInSecureThread(Main.java:210) at com.sun.javaws.Main$1.run(Main.java:107) at java.lang.Thread.run(Thread.java:619) Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183) at java.security.cert.PKIXParameters.(PKIXParameters.java:103) at java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:87) at sun.security.validator.PKIXValidator.(PKIXValidator.java:57) ... 12 more And this is my pkg_info output: %pkg_info |grep jdk diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 Can anyone help to man the TopCoder Competition Arena run ok? It is in the attachement. -- #################################### # ???????? # # http://zhangzhen.czm.cn # #################################### From onemda at gmail.com Fri May 1 01:04:19 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri May 1 01:04:26 2009 Subject: output of ifconfig list scan In-Reply-To: <49F9BF78.5000402@virtualhost.nl> References: <49F98BB9.3020806@virtualhost.nl> <3a142e750904300743l7a154749r3b97ecb82f4c4f33@mail.gmail.com> <49F9BF78.5000402@virtualhost.nl> Message-ID: <3a142e750904301804v37951620jd435c0017cdad064@mail.gmail.com> On 4/30/09, Jeroen Hofstee wrote: > Paul B. Mahol wrote: >>> It appears that the tool assumes SSID are reported as >>> SSID, which is not the case here. My list is similar as listed >>> in the handbook, >>> >>> Looking at ifconfig, it appears to me that the ieee80211 part queries >>> the kernel and prints the returned values. >>> I therefore assume that there are drivers, which report the session as >>> SSID instead of session directly. >>> >> >> Whatever means it is either not supported by NDIS or not >> implemented >> in ndisulator. >> > Perhaps I should explain my question a bit better. The is just > mentioned as an example. > With the ndiswrapper the wifi is working proper and lists the available > network (only mine shown), e.g. > > SSID BSSID CHAN RATE S:N INT CAPS > DV201AM 00:13:d4:7a:16:b1 1 54M -51:-96 100 EP > .... > > The wificonfig tool _assumes_ the output of ifconfig would look like. > SSID BSSID CHAN RATE S:N INT CAPS > SSID 00:13:d4:7a:16:b1 1 54M -51:-96 100 EP > .... > > My question is if there are wifi drivers which report the SSID like > this, instead of reporting them > directly as in my case and if so how the output is formatted in that case. This is first time I heard about this, and looks like wificonfig tool bug. -- Paul From jalmberg at identry.com Fri May 1 01:44:19 2009 From: jalmberg at identry.com (John Almberg) Date: Fri May 1 01:44:26 2009 Subject: Is it necessary to generate a new SSL request each year? In-Reply-To: <200904300742.32991.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <624F45CA-1083-4DC2-8A98-DFE44B5B6CE8@identry.com> <20090429225158.GC91578@dan.emsphone.com> <18936.56654.494648.286696@jerusalem.litteratus.org> <200904300742.32991.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: >>> >>> You can reuse the old one. >> >> I'm not an expert on these, but it was my understanding that >> certificates carry in internal "expiration date" after which the >> application may respond as it pleases. > > Yes, but the *request* does not. > Also, if using openssl, just set the defaults in /etc/ssl/ > openssl.cnf to your > values, so you can enter through the questions Cool... save a minute here and a minute there... at the end of a year, I might have enough saved up to take lunch! -- John From weif at weif.net Fri May 1 01:44:31 2009 From: weif at weif.net (Keith Seyffarth) Date: Fri May 1 01:44:38 2009 Subject: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9 In-Reply-To: <20090429201157.4f40214f@centaur.5550h.net> (bunchou@googlemail.com) References: <20090429174842.8E786A40EE@maxine.cjones.org> <20090429201157.4f40214f@centaur.5550h.net> Message-ID: <20090501014429.E6AB5A39A9@maxine.cjones.org> This patch worked for me: https://lists.gnucash.org/pipermail/gnucash-user/2009-April/029582.html From rfalang.bob at gmail.com Fri May 1 04:03:12 2009 From: rfalang.bob at gmail.com (Bob Falanga) Date: Fri May 1 04:03:20 2009 Subject: where do I find libthr Message-ID: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> I am using pcbsd 6.3 When I try to use apache22 or kdesvn I get an error message (Shared object "libthr.so.3" not found, required by "libapr-1.so.2") Can anyone help me? Bob Falanga From illoai at gmail.com Fri May 1 06:30:11 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Fri May 1 06:30:18 2009 Subject: where do I find libthr In-Reply-To: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> References: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> Message-ID: 2009/5/1 Bob Falanga : > I am using pcbsd 6.3 > When I try to use apache22 or kdesvn I get an error message (Shared object > "libthr.so.3" not found, required by "libapr-1.so.2") > What d'ya get when you type: locate libthr.so Also, how did you install apache22 or kdesvn? -- -- From sebster at sebster.com Fri May 1 08:13:20 2009 From: sebster at sebster.com (Sebastiaan van Erk) Date: Fri May 1 08:13:27 2009 Subject: CARP & bridge In-Reply-To: <49F94E25.6000900@gmx.com> References: <49F81FF2.3040302@sebster.com> <1240999037.2645.3.camel@frodon.be-bif.ulb.ac.be> <49F8269E.2010201@sebster.com> <49F89FE1.6070807@freemail.gr> <49F8CC51.2030203@sebster.com> <49F94E25.6000900@gmx.com> Message-ID: <49FAAF1C.6040802@sebster.com> Hi, Nikos Vassiliadis wrote: > Sebastiaan van Erk wrote: >> >> Thanks for the suggestion. I tried it, but unfortunately the carp >> device never leaves the INIT state when I put the ip on the bridge. >> :-( I did find some similar problem here: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=125816 > > I just noticed that. On -CURRENT carp tells you that's > not supported: > bridge0: carp is not supported for this interface type > > OTOH why do you even have to use the VIP from the remote > side of the bridge? > > The only reason I can think of, for doing such a thing, > is to get *all* traffic from the remote location through > a "single" redundant router, the one with the VIP. Is this > the case? It is indeed a "single" redundant router, though the traffic from the other side of the bridge (the OpenVPN clients) generally don't need to be routed redudantantly. The OpenVPN clients use OpenVPN's redundancy (multiple "remote xxx.xxx.xxx.xxx" lines), and thus use the non-redundant IP address of the OpenVPN client they're connected to as gateway (which is fine, because if the server dies OpenVPN connects to a different server anyway)... So I don't really *NEED* the CARP ip address over the bridge (the static arp works, so I have a working solution, albeit an ugly one; an ARP request generates a reply from every member of the redundant cluster). I guess it's just not a supported configuration yet and it's not my stupidity (in this case anyway ;-)) that's the problem. > Nikos Regards, Sebastiaan -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3328 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090501/3eefb885/smime-0001.bin From af.gourmet at videotron.ca Fri May 1 12:55:13 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 12:55:22 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <200904301200.44224.tijl@ulyssis.org> References: <49F6DDAC.60800@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> <200904301200.44224.tijl@ulyssis.org> Message-ID: <49FAF132.2090809@videotron.ca> Tijl Coosemans wrote: > On Wednesday 29 April 2009 22:04:34 PJ wrote: >> Tijl Coosemans wrote: >>> On Wednesday 29 April 2009 15:20:34 PJ wrote: >>>> xorg.conf: (snip for relevant) >>>> Section "ServerLayout" >>>> Identifier "X.org Configured" >>>> Screen 0 "Screen0" 0 0 >>>> InputDevice "Mouse0" "CorePointer" >>>> InputDevice "Keyboard0" "CoreKeyboard" >>>> Option "AllowEmptyInput" "off" >>>> 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 "extmod" >>>> Load "record" >>>> Load "dbe" >>>> Load "glx" >>>> Load "GLcore" >>>> Load "xtrap" >>>> Load "dri" >>>> Load "freetype" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Keyboard0" >>>> Driver "kbd" >>>> Option "XkbModel" "pc104" >>> This might have to be pc105, but it probably doesn't matter. >>> >>>> Option "XkbLayout" "us,ca" >>> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY >>> If you have Canadian Multilingual Standard, this option needs to be >>> set to "ca(multi)". If you have Canadian French, set it to "ca" or >>> "ca(fr)". >> This does not set it to the Canadian French; nor can I find anything >> that does... only my lame setup works using the French azerty (which >> is rather a pain because it involves complicated finger moves to get >> the accented characters - I'm familiar with it and can use it; it's >> just a pita. > > It works for me. What if you run "setxkbmap ca" or "setxkbmap ca multi" > in an X terminal? Do you then get "azerty" when you type "qwerty"? > _______________________________________________ > 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 have things under control. the only problem I was having was the switching. That is taken care of by using Option "XkbOption" "grp:alt_shift_toggle" That allows to switch back and forth. Check your keyboard and verify the keys next to the rtShift, rtEnter keys: to the left, and the two above rtEnter. If you have the real, true French CAnadian keyboard or keymap installed, you will get é, è, ç and à characters - WITH ONE KEYSTROKE EACH. If you only get ` tick or ' with one key press, then it is some kind of French keyboard or old French Candadian. I have not been able to get this under xorg. (using fluxbox). If you are getting the true French Canadian keyboard, you must be using a different windows manager. Which do you have? -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From af.gourmet at videotron.ca Fri May 1 13:11:10 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 13:11:18 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <69508507@bb.ipt.ru> References: <49F6DDAC.60800@videotron.ca> <200904291041.01818.tijl@ulyssis.org> <49F85422.20403@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> <69508507@bb.ipt.ru> Message-ID: <49FAF4E6.2020906@videotron.ca> Boris Samorodov wrote: > On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: > >> Tijl Coosemans wrote: >> >>> On Wednesday 29 April 2009 15:20:34 PJ wrote: >>> >>>> Cool. Then I can ask some questions regarding all of this. >>>> >>>> rc.conf: (snipped to show the relevant entries) >>>> font8x16="iso15-8x16" >>>> font8x14="iso15-8x14" >>>> font8x8="iso15-8x8" >>>> allscreens_flags="VGA_80x60 cyan" >>>> rpcbind_enable="YES" >>>> mountd_flags="-r" >>>> nfs_client_enable="YES" >>>> nfs_client_flags="-n 4" >>>> samba_enable="YES" >>>> cupsd_enable="YES" >>>> apache22_enable="YES" >>>> postgresql_enable="YES" >>>> mysql_enable="YES" >>>> webmin_enable="YES" >>>> #keymap=fr_CA.iso.acc.kbd >>>> >>>> Question: >>>> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes >>>> of .fnt - ??? >>>> >>> Your font and keymap settings are ok. The extensions can be omitted. >>> See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). >>> >>> >>>> 2. the keymap is commented out because, although it gives me the >>>> fr_CA keyboard, it also uses French messages which are a bit tortured >>>> (French courtly affectations in the language are quaint but also make >>>> for long and convoluted terminology - notice that a text translated >>>> to French is always longer). K.I.S.S. >>>> >>> Keyboard settings shouldn't affect message localisation. Do you set >>> the environment variable LANG in ~/.login_conf or in a shell startup >>> script (.profile or .cshrc or other depending on the shell)? If so, >>> set it to en_CA.ISO8859-15 or something. From q5 below I think you've >>> currently set it to fr_CA.utf-8. >>> > > No answer. Which locale do you use? > default us > >>>> xorg.conf: (snip for relevant) >>>> Section "ServerLayout" >>>> Identifier "X.org Configured" >>>> Screen 0 "Screen0" 0 0 >>>> InputDevice "Mouse0" "CorePointer" >>>> InputDevice "Keyboard0" "CoreKeyboard" >>>> Option "AllowEmptyInput" "off" >>>> > > Seems that you use new X stuff. X11@ and gnome@ maillist archieves may > give you some additional information. > > >>>> EndSection >>>> >>>> Section "Files" >>>> ModulePath "/usr/local/lib/xorg/modules" >>>> FontPath "/usr/local/lib/X11/fonts/misc/" >>>> > > Unless I add cyrillic fonts, I'm not able to see cyrillic > letters at xterm for my utf-8 locale. > > >>>> 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 "extmod" >>>> Load "record" >>>> Load "dbe" >>>> Load "glx" >>>> Load "GLcore" >>>> Load "xtrap" >>>> Load "dri" >>>> Load "freetype" >>>> EndSection >>>> >>>> Section "InputDevice" >>>> Identifier "Keyboard0" >>>> Driver "kbd" >>>> Option "XkbModel" "pc104" >>>> >>> This might have to be pc105, but it probably doesn't matter. >>> >>> >>>> Option "XkbLayout" "us,ca" >>>> >>> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY >>> If you have Canadian Multilingual Standard, this option needs to be set >>> to "ca(multi)". If you have Canadian French, set it to "ca" or >>> "ca(fr)". >>> >> This does not set it to the Canadian French; nor can I find anything >> that does... only my lame setup works using the French azerty (which is >> rather a pain because it involves complicated finger moves to get the >> accented characters - I'm familiar with it and can use it; it's just a pita. >> > > Phil, you didn't say which keyboard do you use and which options you > have tried. > > Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] > for options that can be used at xorg.conf for keyboards. > > And you may be interested in looking at /var/log/Xorg.0.log. > There are many useful diagnistics at this file. > > >>>> Option "XkbOptions" "grp:toggle" >>>> >>> If you don't need layout switching just delete this. >>> >> I guess I wasn't clear. Toggling was meant to mean switching back and >> forth; switching - just once. I would like to use switching but it seems >> to only work one way. Can't switch back. rtAlt switches from us to the >> ca (which oddly seems to mean French, but nothing to do with Canadian or >> French Canadian. Only fluxbox brings it back and then rtAlt no longer >> works. Weird. >> Any idea where the documentation is for this? >> The man page is rather foggy and has no mention of XkbOptions or >> XkbLayout or anything about "grp:toggle" >> > > Looking at [1] should help. > > > HTH & WBR > Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with one keystroke; the French or old Fr-Canadian uses 2 keystrokes. I can assure you because I am typing on that keyboard right now. I switch between us & fr_ca with ShiftAlt. the key to the right of the p/P key is used to create the circumfex (lowercase) in conjunction with a vowel or umlaut (uppercase). In Xorg, the toggle/switching is set with Option "XkbOptions" "grp:alt_shift_toggle" or just alt or shift, I think. Also you can list several languages, like "us,ru,es,fr" and switch from one to the next (haven't tried, but I think it works); and "CoreKeyboard" must have a boolean option set - either yes or no - "yes" works for me. I suppose you could enter true/false, but I haven't tried. No need. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From bsam at ipt.ru Fri May 1 13:25:02 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Fri May 1 13:25:10 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49FAF4E6.2020906@videotron.ca> (PJ's message of "Fri\, 01 May 2009 09\:11\:02 -0400") References: <49F6DDAC.60800@videotron.ca> <200904291041.01818.tijl@ulyssis.org> <49F85422.20403@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> <69508507@bb.ipt.ru> <49FAF4E6.2020906@videotron.ca> Message-ID: <24851107@bb.ipt.ru> On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: > Boris Samorodov wrote: > > On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: > > > >> Tijl Coosemans wrote: > >> > >>> On Wednesday 29 April 2009 15:20:34 PJ wrote: > >>> > >>>> Cool. Then I can ask some questions regarding all of this. > >>>> > >>>> rc.conf: (snipped to show the relevant entries) > >>>> font8x16="iso15-8x16" > >>>> font8x14="iso15-8x14" > >>>> font8x8="iso15-8x8" > >>>> allscreens_flags="VGA_80x60 cyan" > >>>> rpcbind_enable="YES" > >>>> mountd_flags="-r" > >>>> nfs_client_enable="YES" > >>>> nfs_client_flags="-n 4" > >>>> samba_enable="YES" > >>>> cupsd_enable="YES" > >>>> apache22_enable="YES" > >>>> postgresql_enable="YES" > >>>> mysql_enable="YES" > >>>> webmin_enable="YES" > >>>> #keymap=fr_CA.iso.acc.kbd > >>>> > >>>> Question: > >>>> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes > >>>> of .fnt - ??? > >>>> > >>> Your font and keymap settings are ok. The extensions can be omitted. > >>> See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). > >>> > >>> > >>>> 2. the keymap is commented out because, although it gives me the > >>>> fr_CA keyboard, it also uses French messages which are a bit tortured > >>>> (French courtly affectations in the language are quaint but also make > >>>> for long and convoluted terminology - notice that a text translated > >>>> to French is always longer). K.I.S.S. > >>>> > >>> Keyboard settings shouldn't affect message localisation. Do you set > >>> the environment variable LANG in ~/.login_conf or in a shell startup > >>> script (.profile or .cshrc or other depending on the shell)? If so, > >>> set it to en_CA.ISO8859-15 or something. From q5 below I think you've > >>> currently set it to fr_CA.utf-8. > >>> > > > > No answer. Which locale do you use? > > > default us > > > >>>> xorg.conf: (snip for relevant) > >>>> Section "ServerLayout" > >>>> Identifier "X.org Configured" > >>>> Screen 0 "Screen0" 0 0 > >>>> InputDevice "Mouse0" "CorePointer" > >>>> InputDevice "Keyboard0" "CoreKeyboard" > >>>> Option "AllowEmptyInput" "off" > >>>> > > > > Seems that you use new X stuff. X11@ and gnome@ maillist archieves may > > give you some additional information. > > > > > >>>> EndSection > >>>> > >>>> Section "Files" > >>>> ModulePath "/usr/local/lib/xorg/modules" > >>>> FontPath "/usr/local/lib/X11/fonts/misc/" > >>>> > > > > Unless I add cyrillic fonts, I'm not able to see cyrillic > > letters at xterm for my utf-8 locale. > > > > > >>>> 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 "extmod" > >>>> Load "record" > >>>> Load "dbe" > >>>> Load "glx" > >>>> Load "GLcore" > >>>> Load "xtrap" > >>>> Load "dri" > >>>> Load "freetype" > >>>> EndSection > >>>> > >>>> Section "InputDevice" > >>>> Identifier "Keyboard0" > >>>> Driver "kbd" > >>>> Option "XkbModel" "pc104" > >>>> > >>> This might have to be pc105, but it probably doesn't matter. > >>> > >>> > >>>> Option "XkbLayout" "us,ca" > >>>> > >>> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY [2] > >>> If you have Canadian Multilingual Standard, this option needs to be set > >>> to "ca(multi)". If you have Canadian French, set it to "ca" or > >>> "ca(fr)". > >>> > >> This does not set it to the Canadian French; nor can I find anything > >> that does... only my lame setup works using the French azerty (which is > >> rather a pain because it involves complicated finger moves to get the > >> accented characters - I'm familiar with it and can use it; it's just a pita. > >> > > > > Phil, you didn't say which keyboard do you use and which options you > > have tried. > > > > Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] > > for options that can be used at xorg.conf for keyboards. > > > > And you may be interested in looking at /var/log/Xorg.0.log. > > There are many useful diagnistics at this file. > > > >>>> Option "XkbOptions" "grp:toggle" > >>>> > >>> If you don't need layout switching just delete this. > >>> > >> I guess I wasn't clear. Toggling was meant to mean switching back and > >> forth; switching - just once. I would like to use switching but it seems > >> to only work one way. Can't switch back. rtAlt switches from us to the > >> ca (which oddly seems to mean French, but nothing to do with Canadian or > >> French Canadian. Only fluxbox brings it back and then rtAlt no longer > >> works. Weird. > >> Any idea where the documentation is for this? > >> The man page is rather foggy and has no mention of XkbOptions or > >> XkbLayout or anything about "grp:toggle" > >> > > > > Looking at [1] should help. > > > > > > HTH & WBR > > > Hi, Boris, > Thanks much for your input. I looked at all the possibilities, like the > profile, login.conf files, logs, google and have finally configured all > as I like. Everything works fine... > EXCEPT - it is impossible to install a French-Canadian keyboard/keymap > (without creating one - and I'm not about to get into that) on xorg > (with fluxbox as wm) > As I just responded to Tijl Goosemans, the true French Canadian keyboard > produces the most common accented characters with one keystroke; the > French or old Fr-Canadian uses 2 keystrokes. I can assure you because I Does that mead that your keyboard is not shown at wiki [2]? > am typing on that keyboard right now. I switch between us & fr_ca with > ShiftAlt. the key to the right of the p/P key is used to create the > circumfex (lowercase) in conjunction with a vowel or umlaut (uppercase). Did you look at [1]? There are some tree variants for canadian multilingual keyboards: multix, multi, multi-2gr. May be this may help you. > In Xorg, the toggle/switching is set with Option "XkbOptions" > "grp:alt_shift_toggle" or just alt or shift, I think. Also you can list > several languages, like "us,ru,es,fr" and switch from one to the next > (haven't tried, but I think it works); and "CoreKeyboard" must have a > boolean option set - either yes or no - "yes" works for me. I suppose > you could enter true/false, but I haven't tried. No need. BTW, may be another mail list (x11@) may give you some more experienced eyes to help you. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From af.gourmet at videotron.ca Fri May 1 13:57:45 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 13:57:52 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <24851107@bb.ipt.ru> References: <49F6DDAC.60800@videotron.ca> <200904291041.01818.tijl@ulyssis.org> <49F85422.20403@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> <69508507@bb.ipt.ru> <49FAF4E6.2020906@videotron.ca> <24851107@bb.ipt.ru> Message-ID: <49FAFFCF.9060702@videotron.ca> Boris Samorodov wrote: > On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: > >> Boris Samorodov wrote: >> >>> On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: >>> >>> >>>> Tijl Coosemans wrote: >>>> >>>> >>>>> On Wednesday 29 April 2009 15:20:34 PJ wrote: >>>>> >>>>> >>>>>> Cool. Then I can ask some questions regarding all of this. >>>>>> >>>>>> rc.conf: (snipped to show the relevant entries) >>>>>> font8x16="iso15-8x16" >>>>>> font8x14="iso15-8x14" >>>>>> font8x8="iso15-8x8" >>>>>> allscreens_flags="VGA_80x60 cyan" >>>>>> rpcbind_enable="YES" >>>>>> mountd_flags="-r" >>>>>> nfs_client_enable="YES" >>>>>> nfs_client_flags="-n 4" >>>>>> samba_enable="YES" >>>>>> cupsd_enable="YES" >>>>>> apache22_enable="YES" >>>>>> postgresql_enable="YES" >>>>>> mysql_enable="YES" >>>>>> webmin_enable="YES" >>>>>> #keymap=fr_CA.iso.acc.kbd >>>>>> >>>>>> Question: >>>>>> 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes >>>>>> of .fnt - ??? >>>>>> >>>>>> >>>>> Your font and keymap settings are ok. The extensions can be omitted. >>>>> See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). >>>>> >>>>> >>>>> >>>>>> 2. the keymap is commented out because, although it gives me the >>>>>> fr_CA keyboard, it also uses French messages which are a bit tortured >>>>>> (French courtly affectations in the language are quaint but also make >>>>>> for long and convoluted terminology - notice that a text translated >>>>>> to French is always longer). K.I.S.S. >>>>>> >>>>>> >>>>> Keyboard settings shouldn't affect message localisation. Do you set >>>>> the environment variable LANG in ~/.login_conf or in a shell startup >>>>> script (.profile or .cshrc or other depending on the shell)? If so, >>>>> set it to en_CA.ISO8859-15 or something. From q5 below I think you've >>>>> currently set it to fr_CA.utf-8. >>>>> >>>>> >>> No answer. Which locale do you use? >>> >>> >> default us >> >>> >>> >>>>>> xorg.conf: (snip for relevant) >>>>>> Section "ServerLayout" >>>>>> Identifier "X.org Configured" >>>>>> Screen 0 "Screen0" 0 0 >>>>>> InputDevice "Mouse0" "CorePointer" >>>>>> InputDevice "Keyboard0" "CoreKeyboard" >>>>>> Option "AllowEmptyInput" "off" >>>>>> >>>>>> >>> Seems that you use new X stuff. X11@ and gnome@ maillist archieves may >>> give you some additional information. >>> >>> >>> >>>>>> EndSection >>>>>> >>>>>> Section "Files" >>>>>> ModulePath "/usr/local/lib/xorg/modules" >>>>>> FontPath "/usr/local/lib/X11/fonts/misc/" >>>>>> >>>>>> >>> Unless I add cyrillic fonts, I'm not able to see cyrillic >>> letters at xterm for my utf-8 locale. >>> >>> >>> >>>>>> 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 "extmod" >>>>>> Load "record" >>>>>> Load "dbe" >>>>>> Load "glx" >>>>>> Load "GLcore" >>>>>> Load "xtrap" >>>>>> Load "dri" >>>>>> Load "freetype" >>>>>> EndSection >>>>>> >>>>>> Section "InputDevice" >>>>>> Identifier "Keyboard0" >>>>>> Driver "kbd" >>>>>> Option "XkbModel" "pc104" >>>>>> >>>>>> >>>>> This might have to be pc105, but it probably doesn't matter. >>>>> >>>>> >>>>> >>>>>> Option "XkbLayout" "us,ca" >>>>>> >>>>>> >>>>> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY >>>>> > > [2] > > >>>>> If you have Canadian Multilingual Standard, this option needs to be set >>>>> to "ca(multi)". If you have Canadian French, set it to "ca" or >>>>> "ca(fr)". >>>>> >>>>> >>>> This does not set it to the Canadian French; nor can I find anything >>>> that does... only my lame setup works using the French azerty (which is >>>> rather a pain because it involves complicated finger moves to get the >>>> accented characters - I'm familiar with it and can use it; it's just a pita. >>>> >>>> >>> Phil, you didn't say which keyboard do you use and which options you >>> have tried. >>> >>> Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] >>> for options that can be used at xorg.conf for keyboards. >>> >>> And you may be interested in looking at /var/log/Xorg.0.log. >>> There are many useful diagnistics at this file. >>> >>> >>>>>> Option "XkbOptions" "grp:toggle" >>>>>> >>>>>> >>>>> If you don't need layout switching just delete this. >>>>> >>>>> >>>> I guess I wasn't clear. Toggling was meant to mean switching back and >>>> forth; switching - just once. I would like to use switching but it seems >>>> to only work one way. Can't switch back. rtAlt switches from us to the >>>> ca (which oddly seems to mean French, but nothing to do with Canadian or >>>> French Canadian. Only fluxbox brings it back and then rtAlt no longer >>>> works. Weird. >>>> Any idea where the documentation is for this? >>>> The man page is rather foggy and has no mention of XkbOptions or >>>> XkbLayout or anything about "grp:toggle" >>>> >>>> >>> Looking at [1] should help. >>> >>> >>> HTH & WBR >>> >>> >> Hi, Boris, >> Thanks much for your input. I looked at all the possibilities, like the >> profile, login.conf files, logs, google and have finally configured all >> as I like. Everything works fine... >> EXCEPT - it is impossible to install a French-Canadian keyboard/keymap >> (without creating one - and I'm not about to get into that) on xorg >> (with fluxbox as wm) >> As I just responded to Tijl Goosemans, the true French Canadian keyboard >> produces the most common accented characters with one keystroke; the >> French or old Fr-Canadian uses 2 keystrokes. I can assure you because I >> > > Does that mead that your keyboard is not shown at wiki [2]? > > >> am typing on that keyboard right now. I switch between us & fr_ca with >> ShiftAlt. the key to the right of the p/P key is used to create the >> circumfex (lowercase) in conjunction with a vowel or umlaut (uppercase). >> > > Did you look at [1]? There are some tree variants for canadian > multilingual keyboards: multix, multi, multi-2gr. May be this > may help you. > > >> In Xorg, the toggle/switching is set with Option "XkbOptions" >> "grp:alt_shift_toggle" or just alt or shift, I think. Also you can list >> several languages, like "us,ru,es,fr" and switch from one to the next >> (haven't tried, but I think it works); and "CoreKeyboard" must have a >> boolean option set - either yes or no - "yes" works for me. I suppose >> you could enter true/false, but I haven't tried. No need. >> > > BTW, may be another mail list (x11@) may give you some more > experienced eyes to help you. > > > WBR > The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us & canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. Oh, BTW, I have not been able to find any source of specific information about all the allowed configuration options for the xorg keyboard setup. One would think that the man page would have it all, but nope. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From seurbors at gmail.com Fri May 1 14:12:53 2009 From: seurbors at gmail.com (Seur Bors) Date: Fri May 1 14:12:59 2009 Subject: kernel errors - watchdog timeout Message-ID: <26b281ee0905010712n67847ad9v3cd47d85fc34974d@mail.gmail.com> Greetings, I'm constantly getting the following repeated in my /var/log/messages: kernel: re0: watchdog timeout kernel: re0: link state changed to DOWN kernel: re0: link state changed to UP This was happening right from the get-go on new hardware running 7.1-Release-p4, but only happened infrequently. Apparently as well, although everything seems to be working, the server seems to be responding very sluggish (over 10 minutes to work with a 1MB file through a Samba share, no exageration on the time). Can someone point me to required reading for these types of networking errors? Thanks in advance! From tijl at ulyssis.org Fri May 1 14:17:20 2009 From: tijl at ulyssis.org (Tijl Coosemans) Date: Fri May 1 14:17:27 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49FAFFCF.9060702@videotron.ca> References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> Message-ID: <200905011617.17118.tijl@ulyssis.org> On Friday 01 May 2009 15:57:35 PJ wrote: > The physical keyboard is a Compaq, identical layout of the Logitech I > am using on this XP. This one is set to switch beween us & canadian > multi. > But the ca(multi) setting does not work either alone or with the us > for switching. The accent keys are dead. Maybe the option for the > keys should be set to nodeadkeys. > But this is not worth pursuing as I am spending too much time on this > as is. I have things under control, it just seems strange that the > ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of "X -version")? And what is the output of "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? From af.gourmet at videotron.ca Fri May 1 14:41:57 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 14:42:04 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <200905011617.17118.tijl@ulyssis.org> References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> <200905011617.17118.tijl@ulyssis.org> Message-ID: <49FB0A30.1000309@videotron.ca> Tijl Coosemans wrote: > On Friday 01 May 2009 15:57:35 PJ wrote: > >> The physical keyboard is a Compaq, identical layout of the Logitech I >> am using on this XP. This one is set to switch beween us & canadian >> multi. >> But the ca(multi) setting does not work either alone or with the us >> for switching. The accent keys are dead. Maybe the option for the >> keys should be set to nodeadkeys. >> But this is not worth pursuing as I am spending too much time on this >> as is. I have things under control, it just seems strange that the >> ca(multi) cannot be installed. Could be fluxbox? Oh well. >> > > I just tried ca(multi) under fluxbox and it just works. What version of > Xorg do you have (output of "X -version")? And what is the output of > "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? > > Version 1.6 buit 13 April 2009 symbols/ca = "multi", "multix', "multi-2gr", "fr", & a few others You'd think it would work... Doesn't make sense. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From tijl at ulyssis.org Fri May 1 15:18:27 2009 From: tijl at ulyssis.org (Tijl Coosemans) Date: Fri May 1 15:18:34 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49FB0A30.1000309@videotron.ca> References: <49F6DDAC.60800@videotron.ca> <200905011617.17118.tijl@ulyssis.org> <49FB0A30.1000309@videotron.ca> Message-ID: <200905011717.50896.tijl@ulyssis.org> On Friday 01 May 2009 16:41:52 PJ wrote: > Tijl Coosemans wrote: >> On Friday 01 May 2009 15:57:35 PJ wrote: >>> The physical keyboard is a Compaq, identical layout of the Logitech >>> I am using on this XP. This one is set to switch beween us & >>> canadian multi. >>> But the ca(multi) setting does not work either alone or with the us >>> for switching. The accent keys are dead. Maybe the option for the >>> keys should be set to nodeadkeys. >>> But this is not worth pursuing as I am spending too much time on >>> this as is. I have things under control, it just seems strange that >>> the ca(multi) cannot be installed. Could be fluxbox? Oh well. >> >> I just tried ca(multi) under fluxbox and it just works. What version >> of Xorg do you have (output of "X -version")? And what is the output >> of "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? > > Version 1.6 buit 13 April 2009 > symbols/ca = "multi", "multix', "multi-2gr", "fr", & a few others > You'd think it would work... > Doesn't make sense. Have you tried running "setxkbmap ca multi"? From af.gourmet at videotron.ca Fri May 1 15:34:18 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 15:34:26 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <200905011617.17118.tijl@ulyssis.org> References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> <200905011617.17118.tijl@ulyssis.org> Message-ID: <49FB167B.3060104@videotron.ca> Tijl Coosemans wrote: > On Friday 01 May 2009 15:57:35 PJ wrote: >> The physical keyboard is a Compaq, identical layout of the Logitech I >> am using on this XP. This one is set to switch beween us & canadian >> multi. >> But the ca(multi) setting does not work either alone or with the us >> for switching. The accent keys are dead. Maybe the option for the >> keys should be set to nodeadkeys. >> But this is not worth pursuing as I am spending too much time on this >> as is. I have things under control, it just seems strange that the >> ca(multi) cannot be installed. Could be fluxbox? Oh well. > > I just tried ca(multi) under fluxbox and it just works. What version of > Xorg do you have (output of "X -version")? And what is the output of > "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? > Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AllowEmptyInput" "off" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "CoreKeyboard" "yes" Option "XkbModel" "pc105" Option "XkbLayout" "us,ca(multi)" Option "XkbRules" "xorg" Option "XkbOptions" "grp:alt_shift_toggle" Option "CustomKeycodes" "on" EndSection ====from log: (**) Option "CoreKeyboard" (**) Keyboard0: always reports core events (**) Option "Protocol" "standard" (**) Keyboard0: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) Keyboard0: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) Keyboard0: XkbModel: "pc105" (**) Option "XkbLayout" "us,ca(multi)" (**) Keyboard0: XkbLayout: "us,ca(multi)" (**) Option "XkbOptions" "grp:alt_shift_toggle" (**) Keyboard0: XkbOptions: "grp:alt_shift_toggle" (**) Option "CustomKeycodes" "on" (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option "Protocol" "standard" (**) AT Keyboard: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) AT Keyboard: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) AT Keyboard: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) AT Keyboard: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) ==== Any idea if "CustomKeycodes" should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From on at cs.ait.ac.th Fri May 1 15:35:22 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Fri May 1 15:35:30 2009 Subject: Xdvi with amd64 Message-ID: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> Hi, Is there known issue with the port of Xdvi (/usr/ports/print/xdvi) on 6.4 amd64? I suspect there is a problem with the size of the int/short/long as Xdvi detects wrong number of bits in some font files, while these same font files are used without problem by other ports and are identical to font files generated in x86 system. Is there an option to compile a port in strict 32 bits mode? TIA Olivier From bsam at ipt.ru Fri May 1 15:59:58 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Fri May 1 16:00:06 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49FB167B.3060104@videotron.ca> (PJ's message of "Fri\, 01 May 2009 11\:34\:19 -0400") References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> <200905011617.17118.tijl@ulyssis.org> <49FB167B.3060104@videotron.ca> Message-ID: <12361812@bb.ipt.ru> On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: > Tijl Coosemans wrote: > > On Friday 01 May 2009 15:57:35 PJ wrote: > >> The physical keyboard is a Compaq, identical layout of the Logitech I > >> am using on this XP. This one is set to switch beween us & canadian > >> multi. > >> But the ca(multi) setting does not work either alone or with the us > >> for switching. The accent keys are dead. Maybe the option for the > >> keys should be set to nodeadkeys. > >> But this is not worth pursuing as I am spending too much time on this > >> as is. I have things under control, it just seems strange that the > >> ca(multi) cannot be installed. Could be fluxbox? Oh well. > > > > I just tried ca(multi) under fluxbox and it just works. What version of > > Xorg do you have (output of "X -version")? And what is the output of > > "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? > > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > Option "AllowEmptyInput" "off" So you don't want to use hal... > EndSection > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "CoreKeyboard" "yes" > Option "XkbModel" "pc105" > Option "XkbLayout" "us,ca(multi)" > Option "XkbRules" "xorg" > Option "XkbOptions" "grp:alt_shift_toggle" > Option "CustomKeycodes" "on" > EndSection > ====from log: > (**) Option "CoreKeyboard" > (**) Keyboard0: always reports core events > (**) Option "Protocol" "standard" > (**) Keyboard0: Protocol: standard > (**) Option "AutoRepeat" "500 30" > (**) Option "XkbRules" "xorg" > (**) Keyboard0: XkbRules: "xorg" > (**) Option "XkbModel" "pc105" > (**) Keyboard0: XkbModel: "pc105" > (**) Option "XkbLayout" "us,ca(multi)" > (**) Keyboard0: XkbLayout: "us,ca(multi)" > (**) Option "XkbOptions" "grp:alt_shift_toggle" > (**) Keyboard0: XkbOptions: "grp:alt_shift_toggle" > (**) Option "CustomKeycodes" "on" > (**) Keyboard0: CustomKeycodes enabled > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) > (II) config/hal: Adding input device AT Keyboard > (**) AT Keyboard: always reports core events > (**) Option "Protocol" "standard" > (**) AT Keyboard: Protocol: standard > (**) Option "AutoRepeat" "500 30" > (**) Option "XkbRules" "xorg" > (**) AT Keyboard: XkbRules: "xorg" > (**) Option "XkbModel" "pc105" > (**) AT Keyboard: XkbModel: "pc105" > (**) Option "XkbLayout" "us" > (**) AT Keyboard: XkbLayout: "us" > (**) Option "CustomKeycodes" "off" > (**) AT Keyboard: CustomKeycodes disabled > (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? > ==== > Any idea if "CustomKeycodes" should be used? Strange that it looks like > its off for one (which one} I added this but I have no idea where or if > it should be used. Had no effect, anyway. The switch works but the > ca(multi) just does not. > Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From frank at shute.org.uk Fri May 1 16:41:21 2009 From: frank at shute.org.uk (Frank Shute) Date: Fri May 1 16:41:29 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49F8B2D2.40409@videotron.ca> References: <49F6DDAC.60800@videotron.ca> <200904291041.01818.tijl@ulyssis.org> <49F85422.20403@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> Message-ID: <20090501164110.GA44753@melon.esperance-linux.co.uk> On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: > [snip] > > > > > Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY > > If you have Canadian Multilingual Standard, this option needs to be set > > to "ca(multi)". If you have Canadian French, set it to "ca" or > > "ca(fr)". > > This does not set it to the Canadian French; nor can I find anything > that does... only my lame setup works using the French azerty (which is > rather a pain because it involves complicated finger moves to get the > accented characters - I'm familiar with it and can use it; it's just a pita. To some extent it depends what applications you use. I use vim & LaTeX. In vim I can get digraphs for email etc. :help dig For hardcopy I use LaTeX for some Finnish and, for example, umlauts are \"{o} etc. So basically I don't need a foreign keyboard because my applications sort that out for me. I'd recommend using applications that don't need digraphs entering from the keyboard. > > > >> Option "XkbOptions" "grp:toggle" > > > > If you don't need layout switching just delete this. > I guess I wasn't clear. Toggling was meant to mean switching back and > forth; switching - just once. I would like to use switching but it seems > to only work one way. Can't switch back. rtAlt switches from us to the > ca (which oddly seems to mean French, but nothing to do with Canadian or > French Canadian. Only fluxbox brings it back and then rtAlt no longer > works. Weird. > Any idea where the documentation is for this? Check out ~/.fluxbox/keys and that it's not interfering. There's a manpage for it: fluxbox-keys(5) > The man page is rather foggy and has no mention of XkbOptions or > XkbLayout or anything about "grp:toggle" The X docs are a disgrace IMHO. Where are the docs about the new options such as dontZap etc? They don't seem to exist. [snip] Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From martin at dc.cis.okstate.edu Fri May 1 17:07:36 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri May 1 17:07:42 2009 Subject: When a System Dies; Getting back in operation again. Message-ID: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From af.gourmet at videotron.ca Fri May 1 17:16:29 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 17:16:36 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <20090501164110.GA44753@melon.esperance-linux.co.uk> References: <49F6DDAC.60800@videotron.ca> <200904291041.01818.tijl@ulyssis.org> <49F85422.20403@videotron.ca> <200904291933.04052.tijl@ulyssis.org> <49F8B2D2.40409@videotron.ca> <20090501164110.GA44753@melon.esperance-linux.co.uk> Message-ID: <49FB2E5E.9090707@videotron.ca> Frank Shute wrote: > On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: > > [snip] > >>> Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY >>> If you have Canadian Multilingual Standard, this option needs to be set >>> to "ca(multi)". If you have Canadian French, set it to "ca" or >>> "ca(fr)". >>> >> This does not set it to the Canadian French; nor can I find anything >> that does... only my lame setup works using the French azerty (which is >> rather a pain because it involves complicated finger moves to get the >> accented characters - I'm familiar with it and can use it; it's just a pita. >> > > To some extent it depends what applications you use. I use vim & > LaTeX. > > In vim I can get digraphs for email etc. :help dig > > For hardcopy I use LaTeX for some Finnish and, for example, umlauts are > \"{o} etc. > > So basically I don't need a foreign keyboard because my applications > sort that out for me. I'd recommend using applications that don't need > digraphs entering from the keyboard. > > >>>> Option "XkbOptions" "grp:toggle" >>>> >>> If you don't need layout switching just delete this. >>> >> I guess I wasn't clear. Toggling was meant to mean switching back and >> forth; switching - just once. I would like to use switching but it seems >> to only work one way. Can't switch back. rtAlt switches from us to the >> ca (which oddly seems to mean French, but nothing to do with Canadian or >> French Canadian. Only fluxbox brings it back and then rtAlt no longer >> works. Weird. >> Any idea where the documentation is for this? >> > > Check out ~/.fluxbox/keys and that it's not interfering. There's a > manpage for it: fluxbox-keys(5) > > >> The man page is rather foggy and has no mention of XkbOptions or >> XkbLayout or anything about "grp:toggle" >> > > The X docs are a disgrace IMHO. Where are the docs about the new > options such as dontZap etc? They don't seem to exist. > > [snip] > > Regards, > > Glad to hear I'm not the only one complaining about documentation. The language use is not a question of applications but of text - I don't have problems in any of my applications in entereing the language text except on xorg. I can manage it with the current setup, but I just find it strange that I cannot get the ca(multi) functioning correctly. Could it be a question of the physical keyboard? I haven't yet tried this one that works correctly on the FreeBSD machine, but that's next. On the FreeBSD the ca(multi) does function with multiple accents like the umlaut - with two keypresses - but on this XP box, the multi gives me one-stroke accents for the French Canadian accents, upper as well as lower case except for the ^ caret. I rather doubt that Tijl Goosemans has enabled the same capabilities for his *nix or FBSD box as I have on my XP; otherwise I would have had that done long ago. As I said before, I can set up the ca(multi) but it's just not the right one. Just for laughs, I'm going to try this keyboard on FreeBSD and see what happens. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From craig001 at lerwick.hopto.org Fri May 1 17:21:58 2009 From: craig001 at lerwick.hopto.org (Craig Butler) Date: Fri May 1 17:22:05 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Message-ID: <1241198466.19500.8.camel@main.lerwick.hopto.org> Bacula is your friend, tried and tested http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION0043150000000000000000 /Craig On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: > Let's say we have a system that is backed up regularly and it > vanishes in a puff of smoke one day. One can get FreeBSD > installed on a new drive in maybe half an hour or so but we also > need to get back to the right patch level and then we can say we > are back where we started. If you do not have hot-swappable > drives which we mostly do not, What is the best way to restore > the full system? > > Can I use the FreeBSD installation disk in rescue mode? > The idea would be to boot the CDROM, go in to rescue mode, mount > the new drive which may be blank right now, and then use restore > based on the last dump of the system we are trying to revive. > > Thanks. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > _______________________________________________ > 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 Fri May 1 17:24:02 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 17:24:09 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <12361812@bb.ipt.ru> References: <49F6DDAC.60800@videotron.ca> <24851107@bb.ipt.ru> <49FAFFCF.9060702@videotron.ca> <200905011617.17118.tijl@ulyssis.org> <49FB167B.3060104@videotron.ca> <12361812@bb.ipt.ru> Message-ID: <49FB3034.3060403@videotron.ca> Boris Samorodov wrote: > On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: > >> Tijl Coosemans wrote: >> >>> On Friday 01 May 2009 15:57:35 PJ wrote: >>> >>>> The physical keyboard is a Compaq, identical layout of the Logitech I >>>> am using on this XP. This one is set to switch beween us & canadian >>>> multi. >>>> But the ca(multi) setting does not work either alone or with the us >>>> for switching. The accent keys are dead. Maybe the option for the >>>> keys should be set to nodeadkeys. >>>> But this is not worth pursuing as I am spending too much time on this >>>> as is. I have things under control, it just seems strange that the >>>> ca(multi) cannot be installed. Could be fluxbox? Oh well. >>>> >>> I just tried ca(multi) under fluxbox and it just works. What version of >>> Xorg do you have (output of "X -version")? And what is the output of >>> "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? >>> >>> >> Section "ServerLayout" >> Identifier "X.org Configured" >> Screen 0 "Screen0" 0 0 >> InputDevice "Mouse0" "CorePointer" >> InputDevice "Keyboard0" "CoreKeyboard" >> Option "AllowEmptyInput" "off" >> > > So you don't want to use hal... > > >> EndSection >> Section "InputDevice" >> Identifier "Keyboard0" >> Driver "kbd" >> Option "CoreKeyboard" "yes" >> Option "XkbModel" "pc105" >> Option "XkbLayout" "us,ca(multi)" >> Option "XkbRules" "xorg" >> Option "XkbOptions" "grp:alt_shift_toggle" >> Option "CustomKeycodes" "on" >> EndSection >> ====from log: >> (**) Option "CoreKeyboard" >> (**) Keyboard0: always reports core events >> (**) Option "Protocol" "standard" >> (**) Keyboard0: Protocol: standard >> (**) Option "AutoRepeat" "500 30" >> (**) Option "XkbRules" "xorg" >> (**) Keyboard0: XkbRules: "xorg" >> (**) Option "XkbModel" "pc105" >> (**) Keyboard0: XkbModel: "pc105" >> (**) Option "XkbLayout" "us,ca(multi)" >> (**) Keyboard0: XkbLayout: "us,ca(multi)" >> (**) Option "XkbOptions" "grp:alt_shift_toggle" >> (**) Keyboard0: XkbOptions: "grp:alt_shift_toggle" >> (**) Option "CustomKeycodes" "on" >> (**) Keyboard0: CustomKeycodes enabled >> (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) >> (II) config/hal: Adding input device AT Keyboard >> (**) AT Keyboard: always reports core events >> (**) Option "Protocol" "standard" >> (**) AT Keyboard: Protocol: standard >> (**) Option "AutoRepeat" "500 30" >> (**) Option "XkbRules" "xorg" >> (**) AT Keyboard: XkbRules: "xorg" >> (**) Option "XkbModel" "pc105" >> (**) AT Keyboard: XkbModel: "pc105" >> (**) Option "XkbLayout" "us" >> (**) AT Keyboard: XkbLayout: "us" >> (**) Option "CustomKeycodes" "off" >> (**) AT Keyboard: CustomKeycodes disabled >> (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) >> > > I'm not an expert in hal, but seems that hal is used. > May be disabling hal helps? > > >> ==== >> Any idea if "CustomKeycodes" should be used? Strange that it looks like >> its off for one (which one} I added this but I have no idea where or if >> it should be used. Had no effect, anyway. The switch works but the >> ca(multi) just does not. >> Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. >> > > If you want to use hal (and configure your kdb via hal) then you may be > interested in: > http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html > > > WBR > Don't trust it. Too complicated. ;-) -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From freebsd at edvax.de Fri May 1 17:28:44 2009 From: freebsd at edvax.de (Polytropon) Date: Fri May 1 17:28:51 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Message-ID: <20090501192836.4203a5d2.freebsd@edvax.de> On Fri, 01 May 2009 12:07:22 -0500, Martin McCormick wrote: > Can I use the FreeBSD installation disk in rescue mode? Yes, you can. The only thing you have to ensure is that you have a means to access the dump files, for example via network or from optical media (DVD). A bit more comfortable is the use of a live file system such as FreeSBIE. > The idea would be to boot the CDROM, go in to rescue mode, mount > the new drive which may be blank right now, and then use restore > based on the last dump of the system we are trying to revive. I'd suggest to use FreeBSD's sysinstall to make the new disk bootable, i. e. create slices, create partitions, format them. If you've done this correctly, you can easily use restore to read in the dump files and put their contents back on the respective partitions (from where they have been created). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From af.gourmet at videotron.ca Fri May 1 17:37:49 2009 From: af.gourmet at videotron.ca (PJ) Date: Fri May 1 17:37:56 2009 Subject: French-Canadian Keyboard & keyboard switching - SOLVED In-Reply-To: <200905011717.50896.tijl@ulyssis.org> References: <49F6DDAC.60800@videotron.ca> <200905011617.17118.tijl@ulyssis.org> <49FB0A30.1000309@videotron.ca> <200905011717.50896.tijl@ulyssis.org> Message-ID: <49FB3370.8070807@videotron.ca> Tijl Coosemans wrote: > On Friday 01 May 2009 16:41:52 PJ wrote: > >> Tijl Coosemans wrote: >> >>> On Friday 01 May 2009 15:57:35 PJ wrote: >>> >>>> The physical keyboard is a Compaq, identical layout of the Logitech >>>> I am using on this XP. This one is set to switch beween us & >>>> canadian multi. >>>> But the ca(multi) setting does not work either alone or with the us >>>> for switching. The accent keys are dead. Maybe the option for the >>>> keys should be set to nodeadkeys. >>>> But this is not worth pursuing as I am spending too much time on >>>> this as is. I have things under control, it just seems strange that >>>> the ca(multi) cannot be installed. Could be fluxbox? Oh well. >>>> >>> I just tried ca(multi) under fluxbox and it just works. What version >>> of Xorg do you have (output of "X -version")? And what is the output >>> of "grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca"? >>> >> Version 1.6 buit 13 April 2009 >> symbols/ca = "multi", "multix', "multi-2gr", "fr", & a few others >> You'd think it would work... >> Doesn't make sense. >> > > Have you tried running "setxkbmap ca multi"? > > Now, here's the weird stuff - ca multi works in Firefox... but not in xterm so, the keyboard has to be set from fluxbox... works fine in Inkscape, gnucash, abacus, so the real problem is in xterm - and that is totally unimportant as long as good ol' English works it it. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From wblock at wonkity.com Fri May 1 17:59:25 2009 From: wblock at wonkity.com (Warren Block) Date: Fri May 1 17:59:33 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Message-ID: On Fri, 1 May 2009, Martin McCormick wrote: > Let's say we have a system that is backed up regularly and it > vanishes in a puff of smoke one day. One can get FreeBSD > installed on a new drive in maybe half an hour or so but we also > need to get back to the right patch level and then we can say we > are back where we started. If you do not have hot-swappable > drives which we mostly do not, What is the best way to restore > the full system? > > Can I use the FreeBSD installation disk in rescue mode? > The idea would be to boot the CDROM, go in to rescue mode, mount > the new drive which may be blank right now, and then use restore > based on the last dump of the system we are trying to revive. I've had success doing a minimal install from CD, booting from the new drive, and then restoring dumpfiles right over it. -Warren Block * Rapid City, South Dakota USA From illoai at gmail.com Fri May 1 18:36:15 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Fri May 1 18:36:21 2009 Subject: where do I find libthr In-Reply-To: <58d1e8d30905010835v5b474297q38e180fc43d444fc@mail.gmail.com> References: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> <58d1e8d30905010835v5b474297q38e180fc43d444fc@mail.gmail.com> Message-ID: 2009/5/1 Bob Falanga : > On Fri, May 1, 2009 at 6:30 AM, illoai@gmail.com wrote: >> >> 2009/5/1 Bob Falanga : >> > I am using pcbsd 6.3 >> > When I try to use apache22 or kdesvn I get an error message (Shared >> > object >> > "libthr.so.3" not found, required by "libapr-1.so.2") >> > >> >> What d'ya get when you type: >> locate libthr.so >> >> Also, how did you install apache22 or kdesvn? >> > When I try locate libthr I get? (locate: database too small: > /var/db/locate.database) > I used make install clean? to install apache22 & kdesvn. > (please include the list in your email) To rebuild your locate database, just run /etc/periodic/weekly/310.locate It makes finding files much easier. After a bit of poking, it seems that 6.3 has /lib/libthr.so.2 You could try symlinking, but that will very likely not work. You can try reinstalling libapr, to see if it will link the older library. To find out where it reports its origin: pkg_info -o /var/db/pkg/\*libapr\* If that fails, I'm afraid you'll have to upgrade to 7.x -- -- From tijl at ulyssis.org Fri May 1 18:59:54 2009 From: tijl at ulyssis.org (Tijl Coosemans) Date: Fri May 1 19:00:01 2009 Subject: French-Canadian Keyboard & keyboard switching In-Reply-To: <49FB3034.3060403@videotron.ca> References: <49F6DDAC.60800@videotron.ca> <12361812@bb.ipt.ru> <49FB3034.3060403@videotron.ca> Message-ID: <200905012059.51449.tijl@ulyssis.org> On Friday 01 May 2009 19:24:04 PJ wrote: > Boris Samorodov wrote: >> On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: >>> Section "ServerLayout" >>> Identifier "X.org Configured" >>> Screen 0 "Screen0" 0 0 >>> InputDevice "Mouse0" "CorePointer" >>> InputDevice "Keyboard0" "CoreKeyboard" >>> Option "AllowEmptyInput" "off" >> >> So you don't want to use hal... You might have to add this line to the ServerLayout section: Option "AutoAddDevices" "off" Then hal won't interfere with keyboard or mouse. From tijl at ulyssis.org Fri May 1 19:12:36 2009 From: tijl at ulyssis.org (Tijl Coosemans) Date: Fri May 1 19:12:43 2009 Subject: French-Canadian Keyboard & keyboard switching - SOLVED In-Reply-To: <49FB3370.8070807@videotron.ca> References: <49F6DDAC.60800@videotron.ca> <200905011717.50896.tijl@ulyssis.org> <49FB3370.8070807@videotron.ca> Message-ID: <200905012112.27709.tijl@ulyssis.org> On Friday 01 May 2009 19:37:52 PJ wrote: > Tijl Coosemans wrote: >> Have you tried running "setxkbmap ca multi"? > > Now, here's the weird stuff - ca multi works in Firefox... but not in > xterm so, the keyboard has to be set from fluxbox... works fine in > Inkscape, gnucash, abacus, so the real problem is in xterm - and that > is totally unimportant as long as good ol' English works it it. You probably have to set LANG. Try running "setenv LANG en_CA.ISO8859-15". If you can type accented letters then, you need to add something like this to ~/.login_conf: me:\ :charset=ISO-8859-15:\ :lang=en_CA.ISO8859-15: From jerrymc at msu.edu Fri May 1 19:32:51 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri May 1 19:32:58 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <1241198466.19500.8.camel@main.lerwick.hopto.org> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <1241198466.19500.8.camel@main.lerwick.hopto.org> Message-ID: <20090501193214.GA44369@gizmo.acns.msu.edu> On Fri, May 01, 2009 at 06:21:06PM +0100, Craig Butler wrote: > Bacula is your friend, tried and tested > The guy is making nice reliable dump(8)s of his file systems. He doesn't need to waste time and energy with yet another thing. Dump and restore work just fine, are part of the system and handle situations like these most reliably.. ////jerry > http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION0043150000000000000000 > > /Craig > > > > On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: > > Let's say we have a system that is backed up regularly and it > > vanishes in a puff of smoke one day. One can get FreeBSD > > installed on a new drive in maybe half an hour or so but we also > > need to get back to the right patch level and then we can say we > > are back where we started. If you do not have hot-swappable > > drives which we mostly do not, What is the best way to restore > > the full system? > > > > Can I use the FreeBSD installation disk in rescue mode? > > The idea would be to boot the CDROM, go in to rescue mode, mount > > the new drive which may be blank right now, and then use restore > > based on the last dump of the system we are trying to revive. > > > > Thanks. > > > > Martin McCormick WB5AGZ Stillwater, OK > > Systems Engineer > > OSU Information Technology Department Telecommunications Services Group > > _______________________________________________ > > 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 h.skuhra at gmail.com Fri May 1 20:31:14 2009 From: h.skuhra at gmail.com (Herbert J. Skuhra) Date: Fri May 1 20:31:21 2009 Subject: Cant connect to SVN server In-Reply-To: <49F97FA2.8040003@maydias.com> References: <49F97FA2.8040003@maydias.com> Message-ID: 2009/4/30 Warren Liddell : > I have been trying for the last couple weeks to update my ports etc via > svn but each time i try i get the below msg, im running latest updated > ports atm via csup on a FREEBSD7.1-STABLE AMD64 system.. > > > enterprise# svn up /usr/area51 > svn: OPTIONS of 'https://kf.athame.co.uk/kde-freebsd/trunk/area51': > could not connect to server (https://kf.athame.co.uk) You are probably looking for this information: http://miwi.bsdcrew.de/2009/03/area51-repository-moved-to-pcbsd/ But I think you get only KDE ports (testing) from Area51. - Herbert From jerrymc at msu.edu Fri May 1 20:44:27 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri May 1 20:44:33 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Message-ID: <20090501204351.GB44369@gizmo.acns.msu.edu> On Fri, May 01, 2009 at 12:07:22PM -0500, Martin McCormick wrote: > Let's say we have a system that is backed up regularly and it > vanishes in a puff of smoke one day. One can get FreeBSD > installed on a new drive in maybe half an hour or so but we also > need to get back to the right patch level and then we can say we > are back where we started. If you do not have hot-swappable > drives which we mostly do not, What is the best way to restore > the full system? > > Can I use the FreeBSD installation disk in rescue mode? > The idea would be to boot the CDROM, go in to rescue mode, mount > the new drive which may be blank right now, and then use restore > based on the last dump of the system we are trying to revive. Yes. By the way, dump/restore are the best for backup/recovery because they handle the odd situations best - such as you replace the old failed disk with a newer either larger or smaller (but still big enough to hold everything) disk. Other utilities cannot handle that gracefully. Dump/restore does. There are a few other odd cases as well. I think you want what is called 'fixit' mode. You can select that when you boot from it. I am not absolutely sure all sets of disks are populated identically. Check now that your CD has the fixit and if it is on a different image, download that one, burn it and stash it somewhere safe. What you want to do is use the fixit image to set up the disk. That means fdisk and bsdlabel and newfs it. You can actually use sysinstall to do this as well. Just let the installer come up and do the disk stuff, choose minimal install and then after it finishes making the disks, kill the rest of the install (or just let it finish and then overwrite it. But, I find it actually easier to do the fdisk, bsdlabel and newfs-s myself. But, then I am used to it. Right after you get done making sure where your fixit is living, then use fdisk and bsdlabel to check for the way you have the disk set up currently. Write it down or print it out and keep it near that installation/fixit disk. If you do fdisk ad0 or fdisk da0 (depending on IDE/SATA or SCSI/SAS respectively) without any other parameters, it will print out what it thinks the disk is currently like. Of course, if it is other than disk 0, use the correct number. Then do a similar thing with bsdlabel. bsdlabel -e ad0s1 or bsdlabel da0s1. If you have more than one slice and FreeBSD is not on slice 1, then use the correct slice identifier here. So, if it is the second SATA drive and the third slice on it that might look like bsdlabel -e ad1s3. Note that drives number from 0, but slices number from 1. Anyway, then copy the information it shows in the table down or print it out. Ignore the stuff on top - anything above where it says: '8 partitions:' You are just interested in the partition identifiers and the sizes and offsets, types and the fsize, bsize and bps/cpg. Actually, you can normally just take whatever defaults it gives you for fsize, bsize and bps/cpg unless you are doing something extra exotic. Then just get out of the edit session without writing/saving. just type ESC :q! Those numbers don't have to be the exact same on the new disk and probably will not be, but you will want to have the information handy rather than have to recalculate it at a bad time. NOTE, I am mostly writing this presuming that you have the machine only running FreeBSD. If you have it dual booted, you will want the information on the other OS slices too. fdisk will give you what you need to know. The FreeBSD fdisk is smart enough to report on all slices -(what MS calls primary partitions) even if they are not FreeBSD slices. It does not report on extended partitions, but it does not need to. You only need to know about the primaries/slices. You let those other OSen deal with 'extended' stuff. If you have an MS or Lunix OS on it, then those should be put back first. Whatever you did to divide the old disk will have to be done to make the slices on the new disk. Maybe Partition Magic or Gparted was used. Once you have it divided in those major divisions (slices/primary partitions) then use fdisk to make at least the FreeBSD slice boodable. Those other OSen will probably take care of it for theirs. The easy thing is if the whole disk is being used by FreeBSD. Then just do: fdisk -BI da0 That will make the whole disk FreeBSD and bootable. Then do two bsdlabels. The first sets up the label and the second edits it to have the partitions you want. bsdlabel -w -B da0s1 bsdlabel -e da0s1 You will see an edit session about like the one you saw when you collected the information to stash away, except it will only show a 'c' partition. Leave that c partition alone, but make the other ones similar to what you had on the old disk. You only need to put in the '0' value for the offset on the first (a) partition and then put '*' in for the rest of the offsets. Make the rest of the sizes what you want - remember the values are in 512 byte block numbers by default. That can be changed, but just learn to use the blocks. The number of blocks should come out to be good round multiples of powers of 2. So for 500 Megabytes, use 512*1024*1024 bytes - which is 1024*1024 blocks, etc. For the last partition, use '*' for the size as well as the offset and it will put all the remaining usable space in that partition. Do the ESC :wq to get out of the edit session and write the table back. Now all you have to do is newfs each partition. Just take the defaults. Remember that newfs wants the full device spec, not just the drive identifier. newfs /dev/da0s1a newfs /dev/da0s1d newfs /dev/da0s1e etc Do not newfs the swat partition. Now make mount points such as mkdir /newroot mkdir /newusr etc for whatever you need Then mount the partitions mkdir /dev/da0s1a /newroot mkdir /dev/da0s1e /newusr etc NOTE, that it is very unusual to restore /tmp - not necessary. Then do the restores from whatever media they are on. cd /newroot restore -r /dev/nsa0 If it is on tape. If it is on another disk, such as a large external USB, you will need to find out its device name, mount it and restore from there. mkdir /usbbak mount /dev/da1s1a /usbbak cd /newroot restore -r /usbbak/rootbak or whatever you named it. Do that for each backed up file system and then reboot. Should work jsut fine. ////jerry > > Thanks. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > _______________________________________________ > 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 nvass9573 at gmx.com Fri May 1 20:45:04 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Fri May 1 20:45:12 2009 Subject: CARP & bridge In-Reply-To: <49FAAF1C.6040802@sebster.com> References: <49F81FF2.3040302@sebster.com> <1240999037.2645.3.camel@frodon.be-bif.ulb.ac.be> <49F8269E.2010201@sebster.com> <49F89FE1.6070807@freemail.gr> <49F8CC51.2030203@sebster.com> <49F94E25.6000900@gmx.com> <49FAAF1C.6040802@sebster.com> Message-ID: <49FB5F2C.6080502@gmx.com> Hi, Sebastiaan van Erk wrote: > So I don't really *NEED* the CARP ip address over the bridge (the static > arp works, so I have a working solution, albeit an ugly one; an ARP > request generates a reply from every member of the redundant cluster). Just a guess, you could try adding the VIP/32 to the tap interface, instead of the static arp thing. Don't know if it will work, it is just a guess, which looks - to me - like a cleaner configuration. At least it's rc.conf friendly. Just my 0.000000002 euros, Nikos From nslay at comcast.net Fri May 1 20:49:27 2009 From: nslay at comcast.net (Nathan Lay) Date: Fri May 1 20:49:35 2009 Subject: install -s Message-ID: <49FB5CDF.80100@comcast.net> Should install -s really fail if strip fails? I noticed cross-binutils strips everything it installs...in my case, one of the utilities it tries to strip is a script and install -s obnoxiously fails. I set DONTSTRIP to get around this problem. For a point of reference, I'm running a recent 7-STABLE. Best Regards, Nathan Lay From craig001 at lerwick.hopto.org Fri May 1 20:50:16 2009 From: craig001 at lerwick.hopto.org (craig001@lerwick.hopto.org) Date: Fri May 1 20:50:23 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <20090501193214.GA44369@gizmo.acns.msu.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <1241198466.19500.8.camel@main.lerwick.hopto.org> <20090501193214.GA44369@gizmo.acns.msu.edu> Message-ID: <4830.192.168.0.146.1241211018.squirrel@lerwick.hopto.org> > On Fri, May 01, 2009 at 06:21:06PM +0100, Craig Butler wrote: > >> Bacula is your friend, tried and tested >> > > The guy is making nice reliable dump(8)s of his file systems. > He doesn't need to waste time and energy with yet another thing. > > Dump and restore work just fine, are part of the system and > handle situations like these most reliably.. > > ////jerry Sorry I just skip read it, wasn't sure he was using dump, but agreed dump/restore easy peasy, included and quick. > > >> http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION0043150000000000000000 >> >> /Craig >> >> >> >> On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: >> > Let's say we have a system that is backed up regularly and it >> > vanishes in a puff of smoke one day. One can get FreeBSD >> > installed on a new drive in maybe half an hour or so but we also >> > need to get back to the right patch level and then we can say we >> > are back where we started. If you do not have hot-swappable >> > drives which we mostly do not, What is the best way to restore >> > the full system? >> > >> > Can I use the FreeBSD installation disk in rescue mode? >> > The idea would be to boot the CDROM, go in to rescue mode, mount >> > the new drive which may be blank right now, and then use restore >> > based on the last dump of the system we are trying to revive. >> > >> > Thanks. >> > >> > Martin McCormick WB5AGZ Stillwater, OK >> > Systems Engineer >> > OSU Information Technology Department Telecommunications Services Group >> > _______________________________________________ >> > 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 glen.j.barber at gmail.com Fri May 1 20:51:27 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri May 1 20:51:35 2009 Subject: Cant connect to SVN server In-Reply-To: <49F97FA2.8040003@maydias.com> References: <49F97FA2.8040003@maydias.com> Message-ID: <4ad871310905011351h747ae9c5v76f3e0bba2c8ae2a@mail.gmail.com> On Thu, Apr 30, 2009 at 6:38 AM, Warren Liddell wrote: > I have been trying for the last couple weeks to update my ports etc via > svn but each time i try i get the below msg, im running latest updated > ports atm via csup on a FREEBSD7.1-STABLE AMD64 system.. > > > enterprise# svn up /usr/area51 > svn: OPTIONS of 'https://kf.athame.co.uk/kde-freebsd/trunk/area51': > could not connect to server (https://kf.athame.co.uk) > I had already answered this question a few days ago -- but here it is again. According to a recent post [1], the SVN server has changed [2] since March 22, 2009. [1] http://miwi.bsdcrew.de/2009/03/area51-repository-moved-to-pcbsd/ [2] http://area51.pcbsd.org/ -- Glen Barber From cwhiteh at onetel.com Fri May 1 21:41:01 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri May 1 21:41:09 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> Message-ID: <49FB6C6A.8020308@onetel.com> Paul B. Mahol wrote: > On 4/29/09, Chris Whitehouse wrote: >> Hi all >> >> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a >> Marvell 8335 chip. I've created a module with ndisgen and I can see >> ndis0. When I up it with ifconfig I immediately get repeated messages: >> >> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:"; >> throttling interrupt source >> >> As soon as I down the interface the messages stop. >> >> I've also tried starting ndis0 with polling >> >> # ifconfig ndis0 inet 192.168.1.20 polling >> >> but still get the messages. I guess this driver doesn't support polling. >> Or I've got the syntax wrong. > > That command is not currently efective at all for ndisX(I yet have to > see if it is possible). > >> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 >> >> irq9: cbb1 ndis0++ >> >> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE >> >> Any way I can get this thing working? > > Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if possible). This is a pcmcia card in a laptop so cbb is needed :( There is no reference to msi in the pcm man page so I guess it is not available for this system. (Paul I saw a post from you on multimedia about msi in hdac and sure enough there is a reference to msi in snd_hda(4) man page). Am I looking in the right place? The bios is minimal so can't turn off sound or one channel of cbb. Chris > > From nf at wh3rd.net Sat May 2 00:03:16 2009 From: nf at wh3rd.net (nf) Date: Sat May 2 00:03:23 2009 Subject: Poor ZFS performance Message-ID: Hello! I've got a ZFS-based file server running FreeBSD 7.1-STABLE, with two raidz1's of 3 x 500gb. Recently my system has exhibited exceptionally poor performance in a way that confuses me. None of the drives are in a degraded state, and zpool iostat reports typical performance figures, while actual applications (dd, in this case) only receive data at much lower rates. My basic benchmark, and once that I'd used before, is to dd a big file and output it to /dev/null. What's occurring now is mystifying, as dd is reporting much lower figures than zpool iostat. -- nf@ice2:~>uname -a FreeBSD ice2 7.1-STABLE FreeBSD 7.1-STABLE #0: Sun Feb 8 20:31:17 EST 2009 root@ice2:/usr/obj/usr/src/sys/GENERIC amd64 nf@ice2:/media/nf/videos>dd if=sph-kingok.avi of=/dev/null 1433288+0 records in 1433288+0 records out 733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec) (and, while that's running:) nf@ice2:~>sudo zpool iostat -v 2 capacity operations bandwidth pool used avail read write read write ----------- ----- ----- ----- ----- ----- ----- data 1.19T 1.53T 13 29 990K 153K raidz1 1.01T 361G 9 11 641K 58.8K ad4s1d - - 3 8 283K 30.2K ad8s1d - - 3 8 282K 30.2K ad10s1d - - 3 8 284K 30.2K raidz1 191G 1.17T 4 17 349K 94.5K ad6s1d - - 1 12 138K 48.3K ad10s1e - - 1 12 134K 48.3K ad12s1d - - 2 12 141K 48.3K ----------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write ----------- ----- ----- ----- ----- ----- ----- data 1.19T 1.53T 1.41K 0 179M 0 raidz1 1.01T 361G 1.40K 0 179M 0 ad4s1d - - 676 0 72.1M 0 ad8s1d - - 453 0 45.1M 0 ad10s1d - - 605 0 61.7M 0 raidz1 191G 1.17T 4 0 127K 0 ad6s1d - - 0 0 49.9K 0 ad10s1e - - 1 0 74.4K 0 ad12s1d - - 1 0 92.1K 0 ----------- ----- ----- ----- ----- ----- ----- capacity operations bandwidth pool used avail read write read write ----------- ----- ----- ----- ----- ----- ----- data 1.19T 1.53T 1.19K 102 152M 517K raidz1 1.01T 361G 1.19K 42 152M 149K ad4s1d - - 369 16 39.2M 75.4K ad8s1d - - 436 17 48.7M 77.2K ad10s1d - - 563 19 65.3M 76.2K raidz1 191G 1.17T 5 59 116K 368K ad6s1d - - 0 32 63.9K 187K ad10s1e - - 2 34 146K 188K ad12s1d - - 1 34 114K 190K ----------- ----- ----- ----- ----- ----- ----- ^C -- So I presume you discount the first output of iostat as a measuring error, and interpret the subsequent outputs as cumulative over the repeat interval (in this case each two seconds). What I'm seeing is the ZFS pool being read from at 70-90mb/sec, while dd is only getting data at 12mb/sec. Where is all the data that's being read from the disk going? As I said before, on previous attempts iostat and dd reported figures that corresponded with each other. I'm not sure what's changed between those attempts. (There is nothing else reading from disk at the same time. As soon as the dd concludes, zpool iostat reports the arrays are idle.) FWIW, here's what top reports while I'm running the dd: -- CPU: 0.4% user, 0.0% nice, 14.3% system, 4.5% interrupt, 80.8% idle Mem: 1950M Active, 868M Inact, 537M Wired, 238M Cache, 363M Buf, 87M Free Swap: 1024M Total, 101M Used, 923M Free, 9% Inuse PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 8402 nf 1 50 0 4604K 788K zio->i 0 0:03 8.59% dd -- If anyone can shed some light on what's going on here, I'd be most appreciated. Thanks, nf From onemda at gmail.com Sat May 2 00:11:17 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sat May 2 00:11:23 2009 Subject: ndis0 interrrupt storm In-Reply-To: <49FB6C6A.8020308@onetel.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> Message-ID: <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> On 5/1/09, Chris Whitehouse wrote: > Paul B. Mahol wrote: >> On 4/29/09, Chris Whitehouse wrote: >>> Hi all >>> >>> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a >>> Marvell 8335 chip. I've created a module with ndisgen and I can see >>> ndis0. When I up it with ifconfig I immediately get repeated messages: >>> >>> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:"; >>> throttling interrupt source >>> >>> As soon as I down the interface the messages stop. >>> >>> I've also tried starting ndis0 with polling >>> >>> # ifconfig ndis0 inet 192.168.1.20 polling >>> >>> but still get the messages. I guess this driver doesn't support polling. >>> Or I've got the syntax wrong. >> >> That command is not currently efective at all for ndisX(I yet have to >> see if it is possible). >> >>> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 >>> >>> irq9: cbb1 ndis0++ >>> >>> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE >>> >>> Any way I can get this thing working? >> >> Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if >> possible). > > This is a pcmcia card in a laptop so cbb is needed :( There is no > reference to msi in the pcm man page so I guess it is not available for > this system. (Paul I saw a post from you on multimedia about msi in hdac > and sure enough there is a reference to msi in snd_hda(4) man page). Am > I looking in the right place? msi for snd_hda(if that is your sound driver) should be enabled by default on CURRENT (dunno about 7): hint.hdac.%d.msi=1 You could try to use different dev.ndis.0.InterruptNumber for ndis0. Changing it via sysctl is not supported, you will need to modify right line(s) in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) Dunno if that will work .... (never tried) -- Paul From duane at cheekymonkey.us Sat May 2 00:16:54 2009 From: duane at cheekymonkey.us (Duane) Date: Sat May 2 00:17:01 2009 Subject: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> Message-ID: <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> I have a fairly new install of 6.4, done over the 'net, on this old Micron full tower dual PPro-180. The SMP kernel was automagically installed: # uname -a FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 12:11:16 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 Performance was *rather* sluggish so I tried to ascertain if both processors were running: # dmesg | grep cpu cpu0 on motherboard Q1. Is there a better way to establish how many processors are running? Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled? Best regards, -- Duane From E-Cards at hallmark.com Sat May 2 00:39:24 2009 From: E-Cards at hallmark.com (hallmark.com) Date: Sat May 2 00:39:32 2009 Subject: You've received A Hallmark E-Card! Message-ID: <200905012217.n41MHOqm003532@smtp.bcsfastnet.com> [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards & More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the "Privacy and Security" link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy & Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://mail.formens.ro/postcard.gif.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page From rfalang.bob at gmail.com Sat May 2 01:17:47 2009 From: rfalang.bob at gmail.com (Bob Falanga) Date: Sat May 2 01:17:54 2009 Subject: where do I find libthr In-Reply-To: References: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> <58d1e8d30905010835v5b474297q38e180fc43d444fc@mail.gmail.com> Message-ID: <58d1e8d30905011817i2591c0a8xdac47a2123b7e2b2@mail.gmail.com> On Fri, May 1, 2009 at 6:36 PM, illoai@gmail.com wrote: > 2009/5/1 Bob Falanga : > > On Fri, May 1, 2009 at 6:30 AM, illoai@gmail.com > wrote: > >> > (please include the list in your email) This is Andy replying for my father. Sorry about that. > > To rebuild your locate database, just run > /etc/periodic/weekly/310.locate > > It makes finding files much easier. After rebuilding the locate database I get the following: [root@pcbsd /usr/ports/www/apache22]# locate libthr /compat/linux/lib/libthread_db-1.0.so /compat/linux/lib/libthread_db.so.1 /compat/linux/lib/obsolete/linuxthreads/libthread_db-1.0.so /compat/linux/lib/obsolete/linuxthreads/libthread_db.so.1 /usr/Programs/Wine0.9.61/autolibs/libthr.so.2 /usr/Programs/e-Sword0.9.56/autolibs/libthr.so.2 /usr/lib/libthr.a /usr/lib/libthr.so /usr/lib/libthr.so.2 /usr/lib/libthr_p.a /usr/lib/libthread_db.a /usr/lib/libthread_db.so /usr/lib/libthread_db.so.2 /usr/lib/libthread_db_p.a /usr/local/lib/compat/libthr.so.1 /usr/local/lib/compat/libthread_db.so.1 /usr/ports/devel/pwlib/files/patch-src_ptlib_unix_tlibthrd.cxx /usr/share/man/cat3/libthr.3.gz /usr/share/man/man3/libthr.3.gz However, after running ldconfig -r | grep libthr I get: [root@pcbsd /usr/ports/www/apache22]# ldconfig -r | grep libthr 623:-lthr.1 => /usr/local/lib/compat/libthr.so.1 624:-lthread_db.1 => /usr/local/lib/compat/libthread_db.so.1 With so many hits on libthr from locate, why is ldconfig only finding these two instances in /usr/local/lib/compat? Aren't these for linux compatibility? > If that fails, I'm afraid you'll have to > upgrade to 7.x > I hope it doesn't come to that. Andy (for Bob) From tajudd at gmail.com Sat May 2 01:32:53 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat May 2 01:33:00 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> Message-ID: I think project evil (ndis) requires a specific driver version, such as the WinXP drivers versus the Vista or 2000 or anything else. What drivers did you use? Any other drivers available on the manufacturer website? If you're not using XP, I recall reading that XP is the preferred driver for the recent project evil versions. --TJ From onemda at gmail.com Sat May 2 01:52:43 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sat May 2 01:52:50 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> Message-ID: <3a142e750905011852p30281dadtb83c1b31dddd8c45@mail.gmail.com> On 5/2/09, Paul B. Mahol wrote: > On 5/1/09, Chris Whitehouse wrote: >> Paul B. Mahol wrote: >>> On 4/29/09, Chris Whitehouse wrote: >>>> Hi all >>>> >>>> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a >>>> Marvell 8335 chip. I've created a module with ndisgen and I can see >>>> ndis0. When I up it with ifconfig I immediately get repeated messages: >>>> >>>> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:"; >>>> throttling interrupt source >>>> >>>> As soon as I down the interface the messages stop. >>>> >>>> I've also tried starting ndis0 with polling >>>> >>>> # ifconfig ndis0 inet 192.168.1.20 polling >>>> >>>> but still get the messages. I guess this driver doesn't support >>>> polling. >>>> Or I've got the syntax wrong. >>> >>> That command is not currently efective at all for ndisX(I yet have to >>> see if it is possible). >>> >>>> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 >>>> >>>> irq9: cbb1 ndis0++ >>>> >>>> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE >>>> >>>> Any way I can get this thing working? >>> >>> Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if >>> possible). >> >> This is a pcmcia card in a laptop so cbb is needed :( There is no >> reference to msi in the pcm man page so I guess it is not available for >> this system. (Paul I saw a post from you on multimedia about msi in hdac >> and sure enough there is a reference to msi in snd_hda(4) man page). Am >> I looking in the right place? > > msi for snd_hda(if that is your sound driver) should be enabled by default > on CURRENT (dunno about 7): > hint.hdac.%d.msi=1 > > You could try to use different dev.ndis.0.InterruptNumber for ndis0. > Changing it via sysctl is not supported, you will need to modify right > line(s) > in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) > > Dunno if that will work .... (never tried) Tried, doesnt work. Polling could be enabled if miniport driver for your card supports it, look output of sysctl dev.ndis.0 -- Paul From amvandemore at gmail.com Sat May 2 03:18:34 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Sat May 2 03:21:33 2009 Subject: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> Message-ID: <49FBBB70.6090902@gmail.com> Duane wrote: > I have a fairly new install of 6.4, done over the 'net, on this old > Micron full tower dual PPro-180. The SMP kernel was automagically > installed: > > # uname -a > FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed > Nov 26 12:11:16 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > > Performance was *rather* sluggish so I tried to ascertain if both > processors were running: > > # dmesg | grep cpu > cpu0 on motherboard > > Q1. Is there a better way to establish how many processors are running? > > Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled? > > > Best regards, > > top should display a C column with a number that represents which cpu the process is running on. IIRC, ACPI must be enabled for SMP to work, and ACPI didn't work on my MB until 7.0. We have different boards, but upgrading to 7.2 would probably be a good idea if possibile in your situation as both 7.0 and 7.1 saw significant performance increases in certain areas. also "sysctl -a |grep kern.smp.cpus" should return your cpu # for 7.x(not sure on 6 anymore). From duane at cheekymonkey.us Sat May 2 03:43:46 2009 From: duane at cheekymonkey.us (Duane) Date: Sat May 2 03:43:52 2009 Subject: Running SMP kernel but only one cpu In-Reply-To: <49FBBB70.6090902@gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> <49FBBB70.6090902@gmail.com> Message-ID: <5e8ad96d0905012043w3caff478y535326032e5f32ec@mail.gmail.com> On Fri, May 1, 2009 at 11:18 PM, Adam Vande More wrote: > top should display a C column with a number that represents which cpu the > process is running on. ?IIRC, ACPI must be enabled for SMP to work, and ACPI > didn't work on my MB until 7.0. Using the ACPI boot option doesn't seem to change the cpu situation. I still get only cpu0 grepping dmesg. > also "sysctl -a |grep kern.smp.cpus" should return your cpu # This gives me '1'. Thanks, -- Duane From till.plewe at gmail.com Sat May 2 04:06:10 2009 From: till.plewe at gmail.com (till plewe) Date: Sat May 2 04:06:17 2009 Subject: cannot mount slices of usbdrive Message-ID: <8be8566f0905012106ld6509aeh754383d7b4b1c646@mail.gmail.com> I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do not seem to exist (see below). Any pointers on how to recover the content of the disk would be appreciated. I was thinking of building a new disk label from the fdisk output but am not sure that I understand what is involved properly (where does the in-core disklabel fdisk uses come from?) 1) # mount /dev/da1s1 /mnt1 mount: /dev/da1s1 : No such file or directory ------------------------------------- 2) # dmesg da1 at umass-sim2 bus 2 target 0 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) ---------------------------------------- 3) # bsdlabel /dev/da1 # /dev/da1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1465149152 16 unused 0 0 c: 1465149168 0 unused 0 0 # "raw" part, don't edit ------------------------------------------------------------------------ 4) # fdisk /dev/da1 ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are: cylinders=91201 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=91201 heads=255 sectors/track=63 (16065 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 377479242 (184316 Meg), flag 80 (active) 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 377479305, size 377479305 (184316 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 754958610, size 377479305 (184316 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1132437915, size 332706150 (162454 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 5) # fdisk /dev/da1s1 fdisk: unable to get correct path for /dev/da1s1: No such file or directory From awd at awdcomp.net Sat May 2 04:57:57 2009 From: awd at awdcomp.net (Andrew) Date: Sat May 2 04:58:04 2009 Subject: Honey pot email address Message-ID: <49FBD2CA.6050302@awdcomp.net> Hi All, I've created a honey pot email address for SPAM. Does anyone have any ideas on how to get on as many spammers mailing lists as possible? TIA cya Andrew From tajudd at gmail.com Sat May 2 04:59:53 2009 From: tajudd at gmail.com (Tim Judd) Date: Sat May 2 05:00:00 2009 Subject: Honey pot email address In-Reply-To: <49FBD2CA.6050302@awdcomp.net> References: <49FBD2CA.6050302@awdcomp.net> Message-ID: On Fri, May 1, 2009 at 10:57 PM, Andrew wrote: > Hi All, > > I've created a honey pot email address for SPAM. > > Does anyone have any ideas on how to get on as many spammers mailing lists > as possible? > > TIA > cya > Andrew > posting to mailing lists with the address putting the email address in blogs, wiki's and mailing lists, on the web, uncensored robots pick them up. From guru at unixarea.de Sat May 2 05:03:24 2009 From: guru at unixarea.de (Matthias Apitz) Date: Sat May 2 05:03:32 2009 Subject: cannot mount slices of usbdrive In-Reply-To: <8be8566f0905012106ld6509aeh754383d7b4b1c646@mail.gmail.com> References: <8be8566f0905012106ld6509aeh754383d7b4b1c646@mail.gmail.com> Message-ID: <20090502050319.GB2871@rebelion.Sisis.de> El d?a Saturday, May 02, 2009 a las 01:06:09PM +0900, till plewe escribi?: > I have a usbdrive which was used on FreeBSD 6 or 7 but cannot > be mounted now (on CURRENT with generic kernel). The drive is > recognized but the individual slices do not seem to exist (see below). ... I have had the same problem: booting CURRENT from an USB key and wanting to get access to the SSD partitions created with RELENG_7 kernel in the EeePC. I've found no way to do and labeled the SSD from scratch (had even to overwrite the 1st blocks with dd(1) to make fdisk(1M) create partitions there). In your case: boot a RELENG_7 rescue CD, mount the usbdrive and backup the data (via LAN) to some other place. matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From till.plewe at gmail.com Sat May 2 05:28:13 2009 From: till.plewe at gmail.com (till plewe) Date: Sat May 2 05:28:20 2009 Subject: cannot mount slices of usbdrive In-Reply-To: <20090502050319.GB2871@rebelion.Sisis.de> References: <8be8566f0905012106ld6509aeh754383d7b4b1c646@mail.gmail.com> <20090502050319.GB2871@rebelion.Sisis.de> Message-ID: <8be8566f0905012228y5aa3589bq4bf41af82a5d7dd7@mail.gmail.com> On 5/2/09, Matthias Apitz wrote: > El d?a Saturday, May 02, 2009 a las 01:06:09PM +0900, till plewe escribi?: > >> I have a usbdrive which was used on FreeBSD 6 or 7 but cannot >> be mounted now (on CURRENT with generic kernel). The drive is >> recognized but the individual slices do not seem to exist (see below). > ... > > I have had the same problem: booting CURRENT from an USB key and wanting > to get access to the SSD partitions created with RELENG_7 kernel in the > EeePC. I've found no way to do and labeled the SSD from scratch (had > even to overwrite the 1st blocks with dd(1) to make fdisk(1M) create > partitions there). > > In your case: boot a RELENG_7 rescue CD, mount the usbdrive and backup > the data (via LAN) to some other place. > > matthias > Thanks. That sounds much more reasonable than what I was planning to do. I don't know why I wasn't thinking of the rescue CDs (most likely since I did not have to use them before). I'll give it a try once I find a big enough backup disk. - Till > -- > Matthias Apitz > Manager Technical Support - OCLC GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.oclc.org/ http://www.UnixArea.de/ > People who hate Microsoft Windows use Linux but people who love UNIX use > FreeBSD. > From frederique at isafeelin.org Sat May 2 09:15:34 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sat May 2 09:15:41 2009 Subject: Honey pot email address In-Reply-To: <49FBD2CA.6050302@awdcomp.net> References: <49FBD2CA.6050302@awdcomp.net> Message-ID: <49FC0F2E.7040409@isafeelin.org> Andrew wrote: > Hi All, > > I've created a honey pot email address for SPAM. > > Does anyone have any ideas on how to get on as many spammers mailing > lists as possible? > I'd be happy to put your e-mail address in the source code of some sites that I run? -- F From cwhiteh at onetel.com Sat May 2 09:20:42 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat May 2 09:21:11 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750905011852p30281dadtb83c1b31dddd8c45@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <3a142e750905011852p30281dadtb83c1b31dddd8c45@mail.gmail.com> Message-ID: <49FC1067.1090808@onetel.com> Paul B. Mahol wrote: > On 5/2/09, Paul B. Mahol wrote: >> On 5/1/09, Chris Whitehouse wrote: >>> Paul B. Mahol wrote: >>>> On 4/29/09, Chris Whitehouse wrote: >>>>> Hi all >>>>> >>>>> I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a >>>>> Marvell 8335 chip. I've created a module with ndisgen and I can see >>>>> ndis0. When I up it with ifconfig I immediately get repeated messages: >>>>> >>>>> Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:"; >>>>> throttling interrupt source >>>>> >>>>> As soon as I down the interface the messages stop. >>>>> >>>>> I've also tried starting ndis0 with polling >>>>> >>>>> # ifconfig ndis0 inet 192.168.1.20 polling >>>>> >>>>> but still get the messages. I guess this driver doesn't support >>>>> polling. >>>>> Or I've got the syntax wrong. >>>> That command is not currently efective at all for ndisX(I yet have to >>>> see if it is possible). >>>> >>>>> According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 >>>>> >>>>> irq9: cbb1 ndis0++ >>>>> >>>>> This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE >>>>> >>>>> Any way I can get this thing working? >>>> Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if >>>> possible). >>> This is a pcmcia card in a laptop so cbb is needed :( There is no >>> reference to msi in the pcm man page so I guess it is not available for >>> this system. (Paul I saw a post from you on multimedia about msi in hdac >>> and sure enough there is a reference to msi in snd_hda(4) man page). Am >>> I looking in the right place? >> msi for snd_hda(if that is your sound driver) should be enabled by default >> on CURRENT (dunno about 7): >> hint.hdac.%d.msi=1 my driver is snd_t4dwave and msi is not mentioned in the man page. Does that mean it's not available? >> >> You could try to use different dev.ndis.0.InterruptNumber for ndis0. >> Changing it via sysctl is not supported, you will need to modify right >> line(s) >> in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) >> >> Dunno if that will work .... (never tried) > > Tried, doesnt work. Polling could be enabled if miniport driver for your > card supports it, look output of sysctl dev.ndis.0 no reference to polling in sysctl dev.ndis > hmm not looking good so far Chris From frederique at isafeelin.org Sat May 2 09:22:45 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sat May 2 09:23:12 2009 Subject: Poor ZFS performance In-Reply-To: References: Message-ID: <49FC10DE.9000401@isafeelin.org> nf wrote: > 733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec) That is very low. I get about 60MB/sec in this way. Adding bs=1m it'll go up to 240MB/sec even (raidz1 with 4*1TB). > CPU: 0.4% user, 0.0% nice, 14.3% system, 4.5% interrupt, 80.8% idle > Mem: 1950M Active, 868M Inact, 537M Wired, 238M Cache, 363M Buf, 87M Free > Swap: 1024M Total, 101M Used, 923M Free, 9% Inuse > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 8402 nf 1 50 0 4604K 788K zio->i 0 0:03 8.59% dd Could you show top -S ? -- Frederique From cwhiteh at onetel.com Sat May 2 09:30:17 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat May 2 09:30:38 2009 Subject: ndis0 interrrupt storm In-Reply-To: References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> Message-ID: <49FC12A6.40305@onetel.com> Tim Judd wrote: > I think project evil (ndis) requires a specific driver version, such as the > WinXP drivers versus the Vista or 2000 or anything else. > > > > What drivers did you use? Any other drivers available on the manufacturer > website? > > > If you're not using XP, I recall reading that XP is the preferred driver for > the recent project evil versions. > > > --TJ > _______________________________________________ > 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 believe I read about XP being preferred as well. I downloaded the latest drivers zip file from the linksys website, it includes 3 drivers for this chipset, a generic one, one for NT and one for XP. I used the XP one. I might try the others just in case but I am away for afew days so won't be able to have another look till next week. Chris From freebsd.questions at virtualhost.nl Sat May 2 12:50:23 2009 From: freebsd.questions at virtualhost.nl (Jeroen Hofstee) Date: Sat May 2 12:50:30 2009 Subject: local security scanner for vulnerable common opensource www projects Message-ID: <49FC4186.80608@virtualhost.nl> I tried to find a program which could scan the local filesystem and extract a lists of well known web projects (yoomla, wordpress etc), extract the installed version number and match it against a database of known vulnerabilities. Similiar to portaudit, but then for the standard scripts users install themselves. I was unable to find such a program in the ports. Does such an utilities exists for FreeBSD ? Jeroen From dak.col at gmail.com Sat May 2 13:43:12 2009 From: dak.col at gmail.com (Diego F. Arias R.) Date: Sat May 2 13:43:20 2009 Subject: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905012043w3caff478y535326032e5f32ec@mail.gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> <49FBBB70.6090902@gmail.com> <5e8ad96d0905012043w3caff478y535326032e5f32ec@mail.gmail.com> Message-ID: <3b93bd110905020619o74760f2fo5175f8e2daba0592@mail.gmail.com> On Fri, May 1, 2009 at 10:43 PM, Duane wrote: > On Fri, May 1, 2009 at 11:18 PM, Adam Vande More wrote: > >> top should display a C column with a number that represents which cpu the >> process is running on. ?IIRC, ACPI must be enabled for SMP to work, and ACPI >> didn't work on my MB until 7.0. > > Using the ACPI boot option doesn't seem to change the cpu situation. I > still get only cpu0 grepping dmesg. > >> also "sysctl -a |grep kern.smp.cpus" should return your cpu # > > This gives me '1'. > > Thanks, > > -- > Duane > _______________________________________________ > 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" > Are you running generic or custom kernel? -- mmm, interesante..... From jalmberg at identry.com Sat May 2 14:03:51 2009 From: jalmberg at identry.com (John Almberg) Date: Sat May 2 14:03:58 2009 Subject: [pure-ftpd] Security Scan question In-Reply-To: <20090502125055.GB15913@pureftpd.org> References: <20090501085510.18a830e9@prokofiev.trutwins.homeip.net> <20090502125055.GB15913@pureftpd.org> Message-ID: On May 2, 2009, at 8:50 AM, Frank Denis wrote: > Hello Josh, > > Le Fri, May 01, 2009 at 08:55:10AM -0500, Josh Trutwin ecrivait : >> Because I programmed a custom cart solution for one of my customers, >> their merchant account is doing a monthly server scan to check for >> known vulnerabilities. > > Great. I've had to endure these scans, myself, and I must say that they helped a lot. The scans are pretty thorough and they made me re-think some things I was doing... particularly limiting access to ports that I thought 'needed' to be open, but actually just needed to be open to a small number of outside addresses. Thank goodness for PF... would hate to try to pass one of those scans without a flexible firewall. -- John From duane at cheekymonkey.us Sat May 2 16:52:03 2009 From: duane at cheekymonkey.us (Duane) Date: Sat May 2 16:52:09 2009 Subject: Running SMP kernel but only one cpu In-Reply-To: <3b93bd110905020619o74760f2fo5175f8e2daba0592@mail.gmail.com> References: <5e8ad96d0905011618x50c9466fpf6758c8ba3bee2b8@mail.gmail.com> <5e8ad96d0905011645s699e243bgb0a335377aef49e0@mail.gmail.com> <49FBBB70.6090902@gmail.com> <5e8ad96d0905012043w3caff478y535326032e5f32ec@mail.gmail.com> <3b93bd110905020619o74760f2fo5175f8e2daba0592@mail.gmail.com> Message-ID: <5e8ad96d0905020952g2c501248t2110c3571de0da37@mail.gmail.com> On Sat, May 2, 2009 at 9:19 AM, Diego F. Arias R. wrote: > Are you running generic or custom kernel? Generic SMP: # uname -a FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 12:11:16 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 -- Duane From jeffrey at goldmark.org Sat May 2 19:16:34 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sat May 2 19:16:41 2009 Subject: Honey pot email address In-Reply-To: <49FBD2CA.6050302@awdcomp.net> References: <49FBD2CA.6050302@awdcomp.net> Message-ID: <7735FCD6-4F23-42FB-99D7-FCE35F262353@goldmark.org> On May 1, 2009, at 11:57 PM, Andrew wrote: > Does anyone have any ideas on how to get on as many spammers mailing > lists as possible? The single fastest way is to post to Usenet using that address as a "from" address. You should start seeing lots of spam within 48 hours of that. Then once you start getting spam to that address use the "unsubscribe" mechanisms in the spam. That not only confirms that the address works and is read by a human, but that it is read by a gullible human. This will make that address a high value spam address. Cheers, -j From jimmiejaz at gmail.com Sat May 2 19:18:21 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Sat May 2 19:18:28 2009 Subject: dmesg: sysctl kern.msgbuf Cannot allocate memory Message-ID: <49FC9C6D.6090208@gmail.com> After searching google and various man pages, I'm not finding out what it actually means, anyone care to shed some light? During boot: dmesg: sysctl kern.msgbuf Cannot allocate memory #sysctl -a |grep msgbuf kern.msgbuf_clear: 0 kern.msgbuf: kern.consmsgbuf_size: 8192 security.bsd.unprivileged_read_msgbuf: 1 -- Over the years I've come to regard you as people I've met. From af.gourmet at videotron.ca Sat May 2 19:45:11 2009 From: af.gourmet at videotron.ca (PJ) Date: Sat May 2 19:45:20 2009 Subject: lost+found Message-ID: <49FCA2C9.4060307@videotron.ca> A couple of days ago I had minor glitch as my FreeBSD box on my local intranet had an unexpected shutdown. When I fsck'd on reboot I was left with a few lost+found directories with #999999 files. Most appeared inconsequential and could be deleted. But there is one /tmp/lost+found that puzzles me. There are 3 subdirectories that act a little strangely. [~]# cd /tmp/lost+found/#123456 [/tmp/lost+found/#123456]# ls [/tmp/lost+found/#123456]# cd .. [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory) [~]# ls (this returns the listing of the contents of /root Whoops! What is going on? I'd like to delete this /tmp/lost+found/ directory but, being very wary, I don't want to take the risk (probably none) to delete it since there is no indication that this is a symbolic link and might delte the actual /root/ directory withoug getting some information about this occurrence. TIA. -- Herv? Kempf: "Pour sauver la plan?te, sortez du capitalisme." ------------------------------------------------------------- Phil Jourdan --- pj@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php From jimmiejaz at gmail.com Sat May 2 19:46:16 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Sat May 2 19:46:24 2009 Subject: Repeatable X lockups Message-ID: <49FCA302.4020606@gmail.com> When using the xv output driver for vlc or mplayer, X will lockup, crash instantly, trashing the screen and forcing a reboot Image of screen corruption: http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg This just started manifesting in the past week or so. HW/SW details All that's printed to Xorg.0.log (II) intel(0): EDID vendor "NEC", prod id 17450 Memory heap 0x2867e260: Offset:0002a000, Size:00100000, F. Free list: FREE Offset:0002a000, Size:00100000, F. End of memory blocks pciconf -lv vgapci0@pci0:0:2:0: class=0x030000 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x25821043 chip=0x27828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G Graphics device: 82915G/GV/910GL Express Chipset Family' class = display display bits from dmesg: vgapci0: port 0x6800-0x6807 mem 0xcfd80000-0xcfdfffff,0xd0000000-0xdfffffff,0xcfe80000-0xcfebffff at device 2.0 on pci0 agp0: on vgapci0 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster vgapci1: mem 0xcfe00000-0xcfe7ffff at device 2.1 on pci0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 drm0: [ITHREAD] dmesg: 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-PRERELEASE #0: Sat Mar 21 22:34:18 EDT 2009 jimmie@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x441d AMD Features=0x100000 Logical CPUs per core: 2 real memory = 1065091072 (1015 MB) avail memory = 1032073216 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 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, 3f700000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x6800-0x6807 mem 0xcfd80000-0xcfdfffff,0xd0000000-0xdfffffff,0xcfe80000-0xcfebffff at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: mem 0xcfe00000-0xcfe7ffff at device 2.1 on pci0 hdac0: mem 0xcfef8000-0xcfefbfff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090316_0130 hdac0: [ITHREAD] pcib1: irq 16 at device 28.0 on pci0 pci5: on pcib1 pcib2: irq 17 at device 28.1 on pci0 pci4: on pcib2 pcib3: irq 18 at device 28.2 on pci0 pci3: on pcib3 pcib4: irq 19 at device 28.3 on pci0 pci2: on pcib4 uhci0: port 0x7000-0x701f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x7400-0x741f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x7800-0x781f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x8000-0x801f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xcfeffc00-0xcfefffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib5: at device 30.0 on pci0 pci1: on pcib5 fxp0: port 0xa000-0xa03f mem 0xcfffe000-0xcfffefff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:11:d8:11:b7:4e fxp0: [ITHREAD] rl0: port 0xa400-0xa4ff mem 0xcffff800-0xcffff8ff irq 22 at device 10.0 on pci1 miibus1: on rl0 rlphy0: PHY 0 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:e0:29:51:c7:61 rl0: [ITHREAD] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa800-0xa87f mem 0xcffffc00-0xcffffc7f irq 21 at device 11.0 on pci1 miibus2: on xl0 ukphy0: PHY 24 on miibus2 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:75:c7:27:da xl0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9800-0x9807,0x9400-0x9403,0x9000-0x9007,0x8800-0x8803,0x8400-0x840f irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ichsmb0: port 0x400-0x41f irq 19 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] ichsmb0: [ITHREAD] smbus0: on ichsmb0 smb0: on smbus0 acpi_button0: on acpi0 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xca800-0xcafff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] lpt0: on ppbus0 lpt0: Interrupt-driven port ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] ukbd0: on uhub0 kbd2 at ukbd0 uhid0: on uhub0 ums0: on uhub0 ums0: 8 buttons and Z dir. Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging limited to 5 packets/entry by default ad0: 114473MB at ata0-master UDMA100 acd0: DVDROM at ata0-slave UDMA33 hdac0: HDA Codec #0: Realtek ALC880 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac0 pcm3: at cad 0 nid 1 on hdac0 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe0:ata0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata0:0:1:0): CAM Status: SCSI Status Error (probe0:ata0:0:1:0): SCSI Status: Check Condition (probe0:ata0:0:1:0): NOT READY asc:3a,0 (probe0:ata0:0:1:0): Medium not present (probe0:ata0:0:1:0): Unretryable error cd0 at ata0 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present fxp0: link state changed to UP xl0: link state changed to UP rl0: link state changed to UP rl0: link state changed to DOWN rl0: link state changed to UP drm0: [ITHREAD] Xorg.0.log X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-PRERELEASE i386 Current Operating System: FreeBSD jimmiejaz.org 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Sat Mar 21 22:34:18 EDT 2009 jimmie@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO i386 Build Date: 06 April 2009 01:21:41AM 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: Sat May 2 14:28:43 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "Simple Layout" (**) |-->Screen "Screen 1" (0) (**) | |-->Monitor "monitor0" (**) | |-->Device "i810" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) Option "AIGLX" "true" (**) Option "AllowEmptyInput" "OFF" (**) Option "AutoAddDevices" "OFF" (**) Not automatically adding devices (==) Automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/local/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/75dpi/:unscaled, /usr/local/lib/X11/fonts/100dpi/:unscaled, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/artwiz-fonts/, /usr/local/lib/X11/fonts/webfonts/, /usr/local/lib/X11/fonts/URW/, /usr/local/lib/X11/fonts/jmk, /usr/local/lib/X11/fonts/terminus-font, /usr/local/lib/X11/fonts/artwiz-fonts, /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" (II) Loader magic: 0x6a0 (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@0:2:0) Intel Corporation 82915G/GV/910GL Integrated Graphics Controller rev 4, Mem @ 0xcfd80000/524288, 0xd0000000/268435456, 0xcfe80000/262144, I/O @ 0x00006800/8, BIOS @ 0x????????/65536 (--) PCI: (0@0:2:1) Intel Corporation 82915G Integrated Graphics Controller rev 4, Mem @ 0xcfe00000/524288 (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. This was enabled by default and also specified in the config file. (II) "record" will be loaded by default. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) "dri2" will be loaded by default. (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (**) AIGLX enabled (II) Loading extension GLX (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "vbe" (II) Loading /usr/local/lib/xorg/modules//libvbe.so (II) Module vbe: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.1.0 ABI class: X.Org Video Driver, version 5.0 (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules//libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 5.0 (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.0, 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.0, 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: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.6.0, 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: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "intel" (II) Loading /usr/local/lib/xorg/modules/drivers//intel_drv.so (II) Module intel: vendor="X.Org Foundation" compiled for 1.6.0, module version = 2.6.3 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.4.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0 (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41 (II) Primary Device is: PCI 00@00:02:0 (II) resource ranges after xf86ClaimFixedResources() call: [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) 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] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (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.0, module version = 0.1.0 ABI class: X.Org Video Driver, version 5.0 (**) intel(0): Depth 16, (--) framebuffer bpp 16 (==) intel(0): RGB weight 565 (==) intel(0): Default visual is TrueColor (II) intel(0): Integrated Graphics Chipset: Intel(R) 915G (--) intel(0): Chipset: "915G" (--) intel(0): Linear framebuffer at 0xD0000000 (--) intel(0): IO registers at addr 0xCFD80000 (==) intel(0): Using EXA for acceleration (II) intel(0): 2 display pipes available. (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) intel(0): Output VGA using monitor section monitor0 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): Resizable framebuffer: not available (1 3) (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): I2C device "CRTDDC_A:E-EDID segment register" registered at address 0x60. (II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0. (II) intel(0): I2C device "CRTDDC_A:ddc2" removed. (II) intel(0): I2C device "CRTDDC_A:E-EDID segment register" removed. (II) intel(0): I2C bus "CRTDDC_A" removed. (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): Using EDID range info for horizontal sync (II) intel(0): Using EDID range info for vertical refresh (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "1024x768"x0.0 44.90 1024 1032 1208 1264 768 768 772 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline "640x480"x0.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz) (II) intel(0): Modeline "800x600"x0.0 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz) (II) intel(0): Modeline "1024x768"x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz) (II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): Output VGA connected (II) intel(0): Using exact sizes for initial modes (II) intel(0): Output VGA using initial mode 1600x1200 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): detected 256 kB GTT. (II) intel(0): detected 7932 kB stolen memory. (==) intel(0): video overlay key set to 0x83e (==) intel(0): Will not try to enable page flipping (==) intel(0): Triple buffering disabled (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) (**) intel(0): Display dimensions: (320, 240) mm (**) intel(0): DPI set to (127, 169) (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.0, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "exa" (II) LoadModule: "exa" (II) Loading /usr/local/lib/xorg/modules//libexa.so (II) Module exa: vendor="X.Org Foundation" compiled for 1.6.0, module version = 2.4.0 ABI class: X.Org Video Driver, version 5.0 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (II) intel(0): Comparing regs from server start up to After PreInit (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] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD) [4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD) [5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD) [6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) intel(0): Kernel reported 241152 total, 0 used (II) intel(0): I830CheckAvailableMemory: 964608 kB available (WW) intel(0): DRI2 requires UXA drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: drmOpenMinor returns 9 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression disabled (**) intel(0): Tiling enabled (==) intel(0): VideoRam: 262144 KB (II) intel(0): Attempting memory allocation with tiled buffers. (II) intel(0): Tiled allocation successful. (II) intel(0): [drm] Registers = 0xcfd80000 (II) intel(0): [drm] ring buffer = 0xd0000000 (II) intel(0): [drm] mapped front buffer at 0xd0800000, handle = 0xd0800000 (II) intel(0): [drm] mapped back buffer at 0xd2800000, handle = 0xd2800000 (II) intel(0): [drm] mapped depth buffer at 0xd3000000, handle = 0xd3000000 (II) intel(0): [drm] mapped classic textures at 0xd3800000, handle = 0xd3800000 (II) intel(0): [drm] Initialized kernel agp heap manager, 33554432 (II) intel(0): [dri] visual configs initialized (II) intel(0): Page Flipping disabled (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) EXA(0): Offscreen pixmap area of 19660800 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) Composite (RENDER acceleration) (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing HW Cursor (II) intel(0): [DRI] installation complete (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00800000 (pgoffset 2048) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x01000000 (pgoffset 4096) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x02800000 (pgoffset 10240) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x03000000 (pgoffset 12288) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03800000 (pgoffset 14336) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB, 0x000000003f820000 physical ) (II) intel(0): 0x0002a000-0x00129fff: fake bufmgr (1024 kB) (II) intel(0): 0x0012a000-0x0012afff: overlay registers (4 kB, 0x000000003f92a000 physical ) (II) intel(0): 0x007bf000: end of stolen memory (II) intel(0): 0x00800000-0x00ffffff: front buffer (8192 kB) (II) intel(0): 0x01000000-0x022bffff: exa offscreen (19200 kB) (II) intel(0): 0x02800000-0x02ffffff: back buffer (8192 kB) (II) intel(0): 0x03000000-0x037fffff: depth buffer (8192 kB) (II) intel(0): 0x03800000-0x057fffff: classic textures (32768 kB) (II) intel(0): 0x10000000: end of aperture (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): [drm] dma control initialized, using IRQ 16 (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (II) intel(0): DPMS enabled (==) intel(0): Intel XvMC decoder disabled (II) intel(0): Set up textured video (II) intel(0): Set up overlay video (II) intel(0): direct rendering: XF86DRI Enabled (--) RandR disabled (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: Screen 0 is not DRI2 capable drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) AIGLX: enabled GLX_SGI_make_current_read (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: enabled GLX_texture_from_pixmap with driver support (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so (II) GLX: Initialized DRI GL provider for screen 0 (II) intel(0): Setting screen physical size to 306 x 230 (**) Option "Protocol" "AUTO" (**) Mouse1: Device: "/dev/sysmouse" (**) Mouse1: Protocol: "AUTO" (**) Option "CorePointer" (**) Mouse1: always reports core events (**) Option "Device" "/dev/sysmouse" (**) Option "Buttons" "10" (**) Option "Emulate3Buttons" "no" (**) Option "ZAxisMapping" "4 5" (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5" (**) Mouse1: Buttons: 10 (**) Mouse1: Sensitivity: 1 (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (**) Mouse1: (accel) keeping acceleration scheme 1 (**) Mouse1: (accel) filter chain progression: 2.00 (**) Mouse1: (accel) filter stage 0: 20.00 ms (**) Mouse1: (accel) set acceleration profile 0 (II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse1: SetupAuto: protocol is SysMouse (**) Option "CoreKeyboard" (**) Keyboard1: always reports core events (**) Option "Protocol" "standard" (**) Keyboard1: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) Keyboard1: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) Keyboard1: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) Keyboard1: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) Keyboard1: CustomKeycodes disabled (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) config/hal: Adding input device USB-PS/2 Optical Mouse (EE) config/hal: NewInputDeviceRequest failed (8) (II) config/hal: Adding input device Natural? Ergonomic Keyboard 4000 (EE) config/hal: NewInputDeviceRequest failed (8) (II) config/hal: Adding input device AT Keyboard (EE) config/hal: NewInputDeviceRequest failed (8) exaCopyDirty: Pending damage region empty! xorg.conf: Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" 0 0 InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" Option "AllowEmptyInput" "OFF" Option "AutoAddDevices" "OFF" EndSection Section "Files" # RgbPath "/usr/local/share/X11/rgb" #*REMOVED* UPDATING 20090123: ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/local/" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/local/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/artwiz-fonts/" FontPath "/usr/local/lib/X11/fonts/webfonts/" FontPath "/usr/local/lib/X11/fonts/URW/" FontPath "/usr/local/lib/X11/fonts/jmk" FontPath "/usr/local/lib/X11/fonts/terminus-font" FontPath "/usr/local/lib/X11/fonts/artwiz-fonts" EndSection Section "ServerFlags" Option "AIGLX" "true" EndSection Section "Module" Load "GLcore" Load "glx" Load "dri" Load "drm" Load "vbe" Load "int10" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "pc101" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "AUTO" Option "Device" "/dev/sysmouse" Option "Buttons" "10" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7 8 9 10 4 5" Option "Emulate3Buttons" "no" EndSection Section "Monitor" Identifier "monitor0" EndSection Section "Device" Identifier "i810" Driver "intel" VendorName "Intel" BoardName "82915G/GV/910GL Express Chipset Family Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen 1" Device "i810" Monitor "monitor0" DefaultDepth 16 Subsection "Display" Modes "1400x1050" "1280x1024" "1024x768" Depth 16 EndSubSection EndSection Section "DRI" Mode 0666 EndSection xrandr: Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600 VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1600x1200 65.0* 1280x1024 75.0 1280x960 60.0 1152x864 75.0 1024x768 85.0 75.0 70.1 60.0 43.5 832x624 74.6 800x600 85.1 72.2 75.0 60.3 56.2 640x480 85.0 75.0 72.8 66.7 59.9 720x400 87.8 70.1 -- Over the years I've come to regard you as people I've met. From freebsd at edvax.de Sat May 2 21:06:36 2009 From: freebsd at edvax.de (Polytropon) Date: Sat May 2 21:06:43 2009 Subject: lost+found In-Reply-To: <49FCA2C9.4060307@videotron.ca> References: <49FCA2C9.4060307@videotron.ca> Message-ID: <20090502230627.71ef7124.freebsd@edvax.de> On Sat, 02 May 2009 15:45:13 -0400, PJ wrote: > [~]# cd /tmp/lost+found/#123456 > [/tmp/lost+found/#123456]# ls Okay, it's empty. > [/tmp/lost+found/#123456]# cd .. Strange, why does .. lead you from /tmp/lost+found/#123456 to /tmp/lost+found/#123456, just as if cd wasn't executed? > [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory) Does /tmp/lost+found/#123456 contain another #123456? And why does this cd lead you to your (root's) home directory? > [~]# ls (this returns the listing of the contents of /root Of course, because CWD is ~ now. > Whoops! What is going on? I'd like to delete this /tmp/lost+found/ > directory but, being very wary, I don't want to take the risk (probably > none) to delete it since there is no indication that this is a symbolic > link and might delte the actual /root/ directory withoug getting some > information about this occurrence. The best idea would be to copy the content of /root into another directory first, then performing the rm operation, and afterwards, if something went wrong, restore /root from this backup copy. Very strange... Just to be sure, are you SURE you reported the paths (in the prompt) and the commands correctly? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dan at langille.org Sat May 2 23:10:26 2009 From: dan at langille.org (Dan Langille) Date: Sat May 2 23:10:33 2009 Subject: The FreeBSD Diary: 2009-05-02 Message-ID: <20090502231008.345D550A9F@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From duane at cheekymonkey.us Sun May 3 04:17:49 2009 From: duane at cheekymonkey.us (Duane) Date: Sun May 3 04:17:56 2009 Subject: Honey pot email address In-Reply-To: <49FBD2CA.6050302@awdcomp.net> References: <49FBD2CA.6050302@awdcomp.net> Message-ID: <5e8ad96d0905022117hec3792eg435383ed26235440@mail.gmail.com> On Sat, May 2, 2009 at 12:57 AM, Andrew wrote: > Does anyone have any ideas on how to get on as many spammers mailing lists > as possible? What are your plans for the resultant collection of junque? -- Duane From fbsd1 at a1poweruser.com Sun May 3 07:59:47 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sun May 3 07:59:54 2009 Subject: source for sysinstall Message-ID: <49FD4EE8.3000209@a1poweruser.com> How can i just download the source for sysinstall? From glen.j.barber at gmail.com Sun May 3 08:46:56 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun May 3 08:47:03 2009 Subject: source for sysinstall In-Reply-To: <49FD4EE8.3000209@a1poweruser.com> References: <49FD4EE8.3000209@a1poweruser.com> Message-ID: <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> On Sun, May 3, 2009 at 3:59 AM, Fbsd1 wrote: > How can i just download the source for sysinstall? http://svn.freebsd.org/base/release/7.2.0/usr.sbin/sysinstall/ -- Glen Barber From tajudd at gmail.com Sun May 3 08:56:23 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun May 3 08:56:30 2009 Subject: source for sysinstall In-Reply-To: <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> Message-ID: On Sun, May 3, 2009 at 2:46 AM, Glen Barber wrote: > On Sun, May 3, 2009 at 3:59 AM, Fbsd1 wrote: > > How can i just download the source for sysinstall? > > http://svn.freebsd.org/base/release/7.2.0/usr.sbin/sysinstall/ > > > -- > Glen Barber > Shouldn't we give the cvs URI instead of the svn? Isn't cvs the "norm" whereas svn may be on it's way out? I could totally be in left field about that though. http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/ From glen.j.barber at gmail.com Sun May 3 08:57:54 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun May 3 08:58:01 2009 Subject: source for sysinstall In-Reply-To: References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> Message-ID: <4ad871310905030157ia04487fof5ea699bbf2d861f@mail.gmail.com> On Sun, May 3, 2009 at 4:56 AM, Tim Judd wrote: > Shouldn't we give the cvs URI instead of the svn?? Isn't cvs the "norm" > whereas svn may be on it's way out?? I could totally be in left field about > that though. > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/ > I'm not aware of SVN being "on it's way out." Either way, either source could have been located with a little Google effort. -- Glen Barber From sonicy at otenet.gr Sun May 3 09:06:07 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sun May 3 09:06:14 2009 Subject: source for sysinstall In-Reply-To: References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> Message-ID: <49FD5E7A.8030102@otenet.gr> Tim Judd wrote: > On Sun, May 3, 2009 at 2:46 AM, Glen Barber wrote: > > >> On Sun, May 3, 2009 at 3:59 AM, Fbsd1 wrote: >> >>> How can i just download the source for sysinstall? >>> >> http://svn.freebsd.org/base/release/7.2.0/usr.sbin/sysinstall/ >> >> >> -- >> Glen Barber >> >> > > > Shouldn't we give the cvs URI instead of the svn? Isn't cvs the "norm" > whereas svn may be on it's way out? I could totally be in left field about > that though. > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/ > Actually, it's the other way round: FreeBSD (src repository) switched to svn from CVS some time ago. Both your link and Glen's are valid though. Source may also be downloaded using csup (although I think the smallest subcollection for sysinstall would be src-usrsbin and you would definitely get more than sysinstall with that). From solskogen at carebears.mine.nu Sun May 3 11:11:57 2009 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Sun May 3 11:12:05 2009 Subject: FreeBSD 7.2 released? Message-ID: How come http://torrents.freebsd.org:8080/ have the isos for 7.2-RELEASE while the announce have not? -- chs From frederique at isafeelin.org Sun May 3 11:13:26 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sun May 3 11:13:34 2009 Subject: FreeBSD 7.2 released? In-Reply-To: References: Message-ID: <49FD7C53.9060203@isafeelin.org> Christer Solskogen wrote: > How come http://torrents.freebsd.org:8080/ have the isos for 7.2-RELEASE > while the announce have not? > typicaly the images are uploaded first before the announcements are made. -- F From wojtek at wojtek.tensor.gdynia.pl Sun May 3 11:49:08 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 3 11:49:14 2009 Subject: Honey pot email address In-Reply-To: <5e8ad96d0905022117hec3792eg435383ed26235440@mail.gmail.com> References: <49FBD2CA.6050302@awdcomp.net> <5e8ad96d0905022117hec3792eg435383ed26235440@mail.gmail.com> Message-ID: On Sun, 3 May 2009, Duane wrote: > On Sat, May 2, 2009 at 12:57 AM, Andrew wrote: > >> Does anyone have any ideas on how to get on as many spammers mailing lists >> as possible? > > What are your plans for the resultant collection of junque? redirect to the president ? ;) From crankbuster at gmail.com Sun May 3 11:52:35 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Sun May 3 11:52:41 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <49FD7C53.9060203@isafeelin.org> References: <49FD7C53.9060203@isafeelin.org> Message-ID: <20090503112040.GA5485@gecko.davescrunch.net> * Frederique Rijsdijk [2009-05-03 13:13:23 +0200]: > typicaly the images are uploaded first before the announcements are made. Hmm. I just installed 7.1 today. Should I download the new iso and install fresh, or upgrade? No real mods or extensive configuration has been done yet... Wait for the announcement? -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090503/6192bf79/attachment.pgp From crankbuster at gmail.com Sun May 3 12:03:05 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Sun May 3 12:03:13 2009 Subject: Honey pot email address In-Reply-To: References: <49FBD2CA.6050302@awdcomp.net> <5e8ad96d0905022117hec3792eg435383ed26235440@mail.gmail.com> Message-ID: <20090503120232.GA7156@gecko.davescrunch.net> * Wojciech Puchar [2009-05-03 13:48:13 +0200]: > redirect to the president ? ;) Which one? -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090503/4398971e/attachment.pgp From rsmith at xs4all.nl Sun May 3 12:47:37 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 3 12:47:44 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <20090503112040.GA5485@gecko.davescrunch.net> References: <49FD7C53.9060203@isafeelin.org> <20090503112040.GA5485@gecko.davescrunch.net> Message-ID: <20090503124734.GA90473@slackbox.xs4all.nl> On Sun, May 03, 2009 at 06:20:40PM +0700, Old Crankbuster wrote: > * Frederique Rijsdijk [2009-05-03 13:13:23 +0200]: > > > typicaly the images are uploaded first before the announcements are made. > > Hmm. I just installed 7.1 today. Should I download the new iso and > install fresh, or upgrade? No real mods or extensive configuration has > been done yet... If you haven't invested much time in it yet, install 7.2. Because if you run into problems with 7.1, that's the first advice you'll get anyway. > Wait for the announcement? No reason not to use them if the ISO images are available. 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/20090503/bcccf21a/attachment.pgp From ertr1013 at student.uu.se Sun May 3 13:06:14 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Sun May 3 13:06:21 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <20090503124734.GA90473@slackbox.xs4all.nl> References: <49FD7C53.9060203@isafeelin.org> <20090503112040.GA5485@gecko.davescrunch.net> <20090503124734.GA90473@slackbox.xs4all.nl> Message-ID: <20090503130557.GA24291@owl.midgard.homeip.net> On Sun, May 03, 2009 at 02:47:34PM +0200, Roland Smith wrote: > On Sun, May 03, 2009 at 06:20:40PM +0700, Old Crankbuster wrote: > > * Frederique Rijsdijk [2009-05-03 13:13:23 +0200]: > > > > > typicaly the images are uploaded first before the announcements are made. > > > > Hmm. I just installed 7.1 today. Should I download the new iso and > > install fresh, or upgrade? No real mods or extensive configuration has > > been done yet... > > If you haven't invested much time in it yet, install 7.2. Because if you > run into problems with 7.1, that's the first advice you'll get anyway. > > > Wait for the announcement? > > No reason not to use them if the ISO images are available. There is no guarantee that those are the final images (although they likely are.) It has happened before that last-minute problems have been found resulting in a need for images being replaced by fixed ones before the announcement went out. I suggest you wait for the announcement. I believe the official release (and accompanying announcement) is planned for tomorrow, so unless some last-minute problem do pop you should not have to wait all that long. (And if there is some last-minute problem it is probably a good idea to wait until it is fixed.) -- Erik Trulsson ertr1013@student.uu.se From jerrymc at msu.edu Sun May 3 13:17:09 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun May 3 13:17:18 2009 Subject: source for sysinstall In-Reply-To: <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> Message-ID: <20090503131627.GA80139@gizmo.acns.msu.edu> On Sun, May 03, 2009 at 04:46:55AM -0400, Glen Barber wrote: > On Sun, May 3, 2009 at 3:59 AM, Fbsd1 wrote: > > How can i just download the source for sysinstall? > > http://svn.freebsd.org/base/release/7.2.0/usr.sbin/sysinstall/ Wouldn't that be the binary and not the source? ////jerry > > > -- > Glen Barber > _______________________________________________ > 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 Sun May 3 13:19:00 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun May 3 13:19:07 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <20090503112040.GA5485@gecko.davescrunch.net> References: <49FD7C53.9060203@isafeelin.org> <20090503112040.GA5485@gecko.davescrunch.net> Message-ID: <20090503131819.GB80139@gizmo.acns.msu.edu> On Sun, May 03, 2009 at 06:20:40PM +0700, Old Crankbuster wrote: > * Frederique Rijsdijk [2009-05-03 13:13:23 +0200]: > > > typicaly the images are uploaded first before the announcements are made. > > Hmm. I just installed 7.1 today. Should I download the new iso and > install fresh, or upgrade? No real mods or extensive configuration has > been done yet... > > Wait for the announcement? If you have the time, wait for the announcement and then download the new one and burn it and do it again. ////jerry > > -- > Cheers From glen.j.barber at gmail.com Sun May 3 13:19:23 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun May 3 13:19:31 2009 Subject: source for sysinstall In-Reply-To: <20090503131627.GA80139@gizmo.acns.msu.edu> References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> <20090503131627.GA80139@gizmo.acns.msu.edu> Message-ID: <4ad871310905030619l7f176a69v6b118ecd79916e76@mail.gmail.com> On Sun, May 3, 2009 at 9:16 AM, Jerry McAllister wrote: > Wouldn't that be the binary and not the source? > It would be the binary once the source is compiled, yes. -- Glen Barber From jerrymc at msu.edu Sun May 3 13:20:40 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun May 3 13:20:46 2009 Subject: source for sysinstall In-Reply-To: <4ad871310905030619l7f176a69v6b118ecd79916e76@mail.gmail.com> References: <49FD4EE8.3000209@a1poweruser.com> <4ad871310905030146n2690c762pba1baf0c47cdaf66@mail.gmail.com> <20090503131627.GA80139@gizmo.acns.msu.edu> <4ad871310905030619l7f176a69v6b118ecd79916e76@mail.gmail.com> Message-ID: <20090503131959.GC80139@gizmo.acns.msu.edu> On Sun, May 03, 2009 at 09:19:21AM -0400, Glen Barber wrote: > On Sun, May 3, 2009 at 9:16 AM, Jerry McAllister wrote: > > Wouldn't that be the binary and not the source? > > > > It would be the binary once the source is compiled, yes. > Didn't even see the 'svn' at the beginning of the URL. ////jerry > > -- > Glen Barber From andrew at qemg.org Sun May 3 13:30:49 2009 From: andrew at qemg.org (Andrew Wright) Date: Sun May 3 13:30:57 2009 Subject: Xdvi with amd64 In-Reply-To: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> References: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> Message-ID: Hello Oliver; On Thu, 30 Apr 2009, Olivier Nicole wrote: > Is there known issue with the port of Xdvi (/usr/ports/print/xdvi) on > 6.4 amd64? > > I suspect there is a problem with the size of the int/short/long as > Xdvi detects wrong number of bits in some font files, while these same > font files are used without problem by other ports and are identical > to font files generated in x86 system. Though I am now on 7.1, I was using xdvi on 6.4/amd64 without noticing any issues. Exactly which fonts are you having trouble with? I can tell you whether I can reproduce the issue under 7.1. Andrew. From sdpatt2 at gmail.com Sun May 3 13:55:01 2009 From: sdpatt2 at gmail.com (Dave Patterson) Date: Sun May 3 13:55:08 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <20090503124734.GA90473@slackbox.xs4all.nl> References: <49FD7C53.9060203@isafeelin.org> <20090503112040.GA5485@gecko.davescrunch.net> <20090503124734.GA90473@slackbox.xs4all.nl> Message-ID: <20090503132627.GA10406@gecko.davescrunch.net> * Roland Smith [2009-05-03 14:47:34 +0200]: > If you haven't invested much time in it yet, install 7.2. Because if you > run into problems with 7.1, that's the first advice you'll get anyway. Ah. Downloading now. > No reason not to use them if the ISO images are available. Thank you. -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090503/dae6134b/attachment.pgp From perlcat at windstream.net Sun May 3 13:57:17 2009 From: perlcat at windstream.net (Tyson Boellstorff) Date: Sun May 3 13:57:24 2009 Subject: Honey pot email address In-Reply-To: <49FBD2CA.6050302@awdcomp.net> References: <49FBD2CA.6050302@awdcomp.net> Message-ID: <200905030830.51477.perlcat@windstream.net> On Friday 01 May 2009 23:57:46 Andrew wrote: > Hi All, > > I've created a honey pot email address for SPAM. > > Does anyone have any ideas on how to get on as many spammers mailing > lists as possible? > Subscribe to anything that promises FREE games or graphical amusements of the salacious and binary nature. That, or you could tell your upper management that this is a safe email address to give out when filling out forms. (Not that they *would* mind you -- they prefer to use their company email for that, with predictable results.) But I digress. From ws at au.dyndns.ws Sun May 3 15:20:31 2009 From: ws at au.dyndns.ws (Wayne Sierke) Date: Sun May 3 15:20:38 2009 Subject: mysql hiding from top In-Reply-To: References: Message-ID: <1241363111.8180.21.camel@predator-ii.buffyverse> On Mon, 2009-04-27 at 18:49 +0200, Zbigniew Szalbot wrote: > hello, > > Today I have finally upgraded my system to 7.1-RELEASE and just noticing > that mysql process is not being shown via the top command. > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 1612 root 1 20 0 9212K 6716K pause 2 0:26 0.00% perl5.8.9 > 966 www 1 8 0 8236K 5452K nanslp 2 0:22 0.00% perl5.8.9 > 1594 root 1 20 0 8740K 6220K pause 0 0:12 0.00% perl5.8.9 > > However, if you grep processes, you can see it should be displayed in the > top entries. > $ ps ax |grep mysql > 32880 p0- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe... > 32906 p0- S 1:33.72 /usr/local/libexec/mysqld... > > I can live with that but maybe there's some explanation for this? > > Thanks! > >From the manpage for top(1): FreeBSD NOTES DISPLAY OF THREADS The '-H' option will toggle the display of kernel visible thread con- texts. At runtime the 'H' key will toggle this mode. The default is OFF. Should reveal the "missing" thread(s). This was raised by someone else last November also examining mysqld. Look for a thread titled "top incorrectly reporting process time". From crankbuster at gmail.com Sun May 3 15:32:44 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Sun May 3 15:32:51 2009 Subject: FreeBSD 7.2 released? In-Reply-To: <20090503131819.GB80139@gizmo.acns.msu.edu> References: <49FD7C53.9060203@isafeelin.org> <20090503112040.GA5485@gecko.davescrunch.net> <20090503131819.GB80139@gizmo.acns.msu.edu> Message-ID: <20090503153233.GA14834@gecko.davescrunch.net> * Jerry McAllister [2009-05-03 09:18:20 -0400]: > If you have the time, wait for the announcement and then > download the new one and burn it and do it again. Hmm. The new torrent is awfully slooow, and so are the main mirrors where I am. Need to get the thing off the ground, though, so I'll take a risk and start the download now. Been hosed before, but if it works out, great! Thanks.. -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090503/14d00e18/attachment.pgp From sozosoffshorecompany at gmail.com Sun May 3 17:44:00 2009 From: sozosoffshorecompany at gmail.com (Sozos Papakyriacou) Date: Sun May 3 17:44:08 2009 Subject: Employment offer Message-ID: <200905031724.n43HOeT2010351@web.bangla.net> Hello Here is a special provision of an employment offer in order to increase employment rate in UK and USA irrespective of the age and gender and does not require any professional qualifications. This Organization is founded to increase employment among the honest, trustworthy and intelligent individuals living in UK and USA to handle some elementary paper work and payroll administration to our clients in UK and USA. Your Obligation is to work for 2hours a day and also listen attentively to given instructions. Your Job is to take care of all applications with regards to new clients that are willing to register company in Cyprus. yours is to be filling all documentations from these individual companies which will be sent to you under the companies name. Salary Terms: 100 pounds/ $150 for each transaction, Get back to us asap via email address below if you are interested in the employment offer (sozosoffshorecompany@gmail.com) Get back to us if you are interested in the employment offer Regards, Sozos Papakyriacou (FCCA CMC) Tel-+447035986488 From radek at ceskedomeny.cz Sun May 3 17:54:09 2009 From: radek at ceskedomeny.cz (Bc. Radek Krejca) Date: Sun May 3 17:54:16 2009 Subject: Quagga problem Message-ID: <1438340987.20090503192725@starnet.cz> Hello, starting this day I have problem with quagga, I get this messages in my log: May 3 19:15:36 gw bgpd[7225]: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count May 3 19:15:36 gw kernel: pid 7225 (bgpd), uid 101: exited on signal 6 May 3 19:15:36 gw bgpd[7225]: No backtrace available on this platform. I have latest verison of port quagga, I looks as bug in quagga, but I dont know. Do you have any idea for solution? Thanks Radek From exemys at exemys.com Sun May 3 18:40:39 2009 From: exemys at exemys.com (Exemys) Date: Sun May 3 18:40:50 2009 Subject: Ethernet - Internet I/O Message-ID: <13c915526491f115459852ed8aadf9d7@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From rsmith at xs4all.nl Sun May 3 18:45:52 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 3 18:46:00 2009 Subject: Quagga problem In-Reply-To: <1438340987.20090503192725@starnet.cz> References: <1438340987.20090503192725@starnet.cz> Message-ID: <20090503184546.GA4380@slackbox.xs4all.nl> On Sun, May 03, 2009 at 07:27:25PM +0200, Bc. Radek Krejca wrote: > Hello, > > starting this day I have problem with quagga, I get this messages > in my log: > > May 3 19:15:36 gw bgpd[7225]: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count > May 3 19:15:36 gw kernel: pid 7225 (bgpd), uid 101: exited on signal 6 > May 3 19:15:36 gw bgpd[7225]: No backtrace available on this platform. > > I have latest verison of port quagga, I looks as bug in quagga, > but I dont know. Do you have any idea for solution? It is a bug in quagga, or rather a condition that triggers a built-in verification macro called assert(3). Normal behavior for this macro is to terminate the program if the asserted condition fails, as it does here. It looks if a function that calculates the length of a string gets a larger value than it can cope with. It is possible that an internal buffer for a string isn't large enough. In this day and age I would respectfully call that bad coding. You should report it to the author(s), sinze they put in this check. It is possible to disable this bahaviour at compile time, see assert(3). But this is unwise unless you know what you're doing. Without diving into the source code, it is impossible to be certain that this is not a FreeBSD bug. But it looks more like ungracefull handling of an error condition. 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/20090503/cf2b7664/attachment.pgp From jwdevel at gmail.com Sun May 3 19:14:40 2009 From: jwdevel at gmail.com (jw) Date: Sun May 3 19:14:46 2009 Subject: clear old output in login screen? Message-ID: Currently, if I log in, do some work, then log out (from plain TTY, no X/SSH/etc), the output of my previous session is still readable above the new "login: " prompt. One can use scroll lock to view even more. How do I get it to clear the screen (and the scroll buffer) when the login prompt gets redisplayed? -John From gesbbb at yahoo.com Sun May 3 19:28:23 2009 From: gesbbb at yahoo.com (Jerry) Date: Sun May 3 19:28:31 2009 Subject: Ethernet - Internet I/O In-Reply-To: <13c915526491f115459852ed8aadf9d7@www.hostmailing.com> References: <13c915526491f115459852ed8aadf9d7@www.hostmailing.com> Message-ID: <20090503152809.686e5d83@scorpio> On Sun, 3 May 2009 16:30:16 -0300 Exemys wrote: >This is a message in multipart MIME format. Your mail client should >not be displaying this. Consider upgrading your mail client to view >this message correctly. What is this all about? -- Jerry gesbbb@yahoo.com Good day for business affairs. Make a pass at that the new file clerk. -------------- 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/20090503/9cb35788/signature.pgp From nightrecon at verizon.net Sun May 3 19:29:45 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sun May 3 19:29:53 2009 Subject: FreeBSD 7.2 released? References: <49FD7C53.9060203@isafeelin.org> Message-ID: Frederique Rijsdijk wrote: > Christer Solskogen wrote: >> How come http://torrents.freebsd.org:8080/ have the isos for 7.2-RELEASE >> while the announce have not? >> > > typicaly the images are uploaded first before the announcements are made. > > Then they give a day or two for all the mirrors to propagate. -Mike From johndoeismyname at gmail.com Sun May 3 19:48:17 2009 From: johndoeismyname at gmail.com (gabe g) Date: Sun May 3 19:48:24 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: Hey John, In order to achieve this, there are two methods that I know of, however, they are only tested in the Bourne and Bourne Again shells. clear && logout # Bourne Again (Bash) Shell clear && exit # Bourne (sh) Shell You may have to try similar commands (specific for that shell) for shells that are not Bourne-derived, but one of these two commands should almost always work. Sincerely, Gabriel From emiel at vandelaar.name Sun May 3 19:53:15 2009 From: emiel at vandelaar.name (Emiel van de Laar) Date: Sun May 3 19:53:22 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: <847CE7F3-2961-41B9-9A94-2F3520C9F773@vandelaar.name> On May 3, 2009, at 9:48 PM, gabe g wrote: > Hey John, > In order to achieve this, there are two methods that I know of, > however, they are only tested in the Bourne and Bourne Again shells. > > clear && logout # Bourne Again (Bash) Shell > clear && exit # Bourne (sh) Shell > > You may have to try similar commands (specific for that shell) for > shells > that are not Bourne-derived, but one of these two commands should > almost > always work. Hello, zsh has ".zlogout" which gets read/executed when the shell exits. I have the following setup: ~ % cat ~/.zlogout clear Perhaps other shells have a similar feature. Regards, - Emiel From peter at boosten.org Sun May 3 20:13:52 2009 From: peter at boosten.org (Peter Boosten) Date: Sun May 3 20:14:00 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: <0593A9C9-1B4A-44C1-BC9B-7BA335B2C5B6@boosten.org> On 3 mei 2009, at 21:48, gabe g wrote: > Hey John, > In order to achieve this, there are two methods that I know of, > however, they are only tested in the Bourne and Bourne Again shells. > > clear && logout # Bourne Again (Bash) Shell > clear && exit # Bourne (sh) Shell > > You may have to try similar commands (specific for that shell) for > shells > that are not Bourne-derived, but one of these two commands should > almost > always work. > clear > /etc/issue Peter -- http://www.boosten.org From jonc at chen.org.nz Sun May 3 20:40:20 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Sun May 3 20:40:27 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: <20090503204018.GB66094@osiris.chen.org.nz> On Sun, May 03, 2009 at 11:46:30AM -0700, jw wrote: > Currently, if I log in, do some work, then log out (from plain TTY, no > X/SSH/etc), the output of my previous session is still readable above > the new "login: " prompt. One can use scroll lock to view even more. > > How do I get it to clear the screen (and the scroll buffer) when the > login prompt gets redisplayed? If you're using tcsh, you can put the following into ~/.logout: clear -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III From onemda at gmail.com Sun May 3 20:51:45 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun May 3 20:51:52 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: <3a142e750905031351n38d762b7v46b4eeb1faad4799@mail.gmail.com> On 5/3/09, jw wrote: > Currently, if I log in, do some work, then log out (from plain TTY, no > X/SSH/etc), the output of my previous session is still readable above > the new "login: " prompt. One can use scroll lock to view even more. > > How do I get it to clear the screen (and the scroll buffer) when the > login prompt gets redisplayed? My /etc/csh.logout and /etc/csh.login contains: echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C For other shells it's similar. -- Paul From jwdevel at gmail.com Sun May 3 21:22:18 2009 From: jwdevel at gmail.com (jw) Date: Sun May 3 21:22:27 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: On Sun, May 3, 2009 at 12:48 PM, gabe g wrote: > Hey John, > ????? In order to achieve this, there are two methods that I know of, > however, they are only tested in the Bourne and Bourne Again shells. > > clear && logout???????????????? # Bourne Again (Bash) Shell > clear && exit???????????????????? # Bourne (sh) Shell > I tried this, but I can still scroll back with the scroll lock key. 'clear' seems to just put the prompt at the top of the screen, not get rid of scroll history... -John From jwdevel at gmail.com Sun May 3 21:29:12 2009 From: jwdevel at gmail.com (jw) Date: Sun May 3 21:29:20 2009 Subject: clear old output in login screen? In-Reply-To: <3a142e750905031351n38d762b7v46b4eeb1faad4799@mail.gmail.com> References: <3a142e750905031351n38d762b7v46b4eeb1faad4799@mail.gmail.com> Message-ID: On Sun, May 3, 2009 at 1:51 PM, Paul B. Mahol wrote: > > echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C > Aha! I didn't know about 'vidcontrol -C' That combined with 'clear' does the trick. However... Is there any way I could have this execute when the "login:" prompt displays, rather than having each user need to do it themselves? In other words, I want this clearing to happen for all users regardless of shell, etc. I haven't seen anything in login(1) or login.conf(5) that allows this kind of customization, but maybe I missed it... -John From freebsd at edvax.de Sun May 3 22:18:30 2009 From: freebsd at edvax.de (Polytropon) Date: Sun May 3 22:18:44 2009 Subject: clear old output in login screen? In-Reply-To: References: Message-ID: <20090504001822.b30ffb2f.freebsd@edvax.de> On Sun, 3 May 2009 11:46:30 -0700, jw wrote: > How do I get it to clear the screen (and the scroll buffer) when the > login prompt gets redisplayed? Two options: a) Clear everything right after login. Put the command "clear" in your ~/.login, or /etc/csh.login for all users. b) Clear everything right after logout, so the new login will get a blank screen. Put the command "clear" in your ~/.logout, or /etc/csh.logout for all users. This assumes that you have the standard dialog shell csh. If you're using bash, you need to modify its respective files, ~/.profile or ~/.bashrc - I don't know, I'm using csh. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nehe at telus.net Sun May 3 22:20:27 2009 From: nehe at telus.net (Jeff Molofee) Date: Sun May 3 22:20:44 2009 Subject: Apache errors. In-Reply-To: <20090503120018.6ED6110656FD@hub.freebsd.org> References: <20090503120018.6ED6110656FD@hub.freebsd.org> Message-ID: <49FE0A33.5040804@telus.net> Just started getting this.. can anyone tell me how to fix it? Performing sanity check on apache22 configuration: httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: /usr/local/lib/libavahi-common.so.3: Undefined symbol "libintl_bindtextdomain" From nf at wh3rd.net Mon May 4 00:07:56 2009 From: nf at wh3rd.net (nf) Date: Mon May 4 00:08:04 2009 Subject: Poor ZFS performance In-Reply-To: <49FC10DE.9000401@isafeelin.org> References: <49FC10DE.9000401@isafeelin.org> Message-ID: On Sat, May 2, 2009 at 7:22 PM, Frederique Rijsdijk wrote: > nf wrote: >> >> 733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec) > > That is very low. I get about 60MB/sec in this way. Adding bs=1m it'll go up > to 240MB/sec even (raidz1 with 4*1TB). > > Could you show top -S ? I will, the next time I experience the issue. I had already rebooted the box, which immediately alleviated the issue. I can only presume, at this point, that it seems to have been related to the 2gb of allocated/active memory shown by top. I had no memory intensive apps running, merely an idle lighttpd, mysqld, and rtorrent (which only occupied about 90mb). Thanks, Andrew From perryh at pluto.rain.com Mon May 4 00:37:22 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon May 4 00:37:29 2009 Subject: clear old output in login screen? In-Reply-To: References: <3a142e750905031351n38d762b7v46b4eeb1faad4799@mail.gmail.com> Message-ID: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> jw wrote: > On Sun, May 3, 2009 at 1:51 PM, Paul B. Mahol wrote: > > echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C > > Aha! I didn't know about 'vidcontrol -C' > That combined with 'clear' does the trick. > > However... > Is there any way I could have this execute when the "login:" > prompt displays, rather than having each user need to do it > themselves? > > In other words, I want this clearing to happen for all users > regardless of shell, etc. If I needed to do this, could not find a way to do it via configuration settings, and didn't want to hack the login source code, I would try renaming the login binary to something like login.real, and replacing it with an executable script containing something like: #!/bin/csh clear vidcontrol -C exec /usr/bin/login.real "$@" Granted such a hack will need to be redone any time you do an installworld. From cchamb0 at interchange.ubc.ca Mon May 4 01:26:44 2009 From: cchamb0 at interchange.ubc.ca (Chris Chambers) Date: Mon May 4 01:26:51 2009 Subject: Broken Partition Message-ID: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> Hi, Using partition magic, I freed some space from my msdos partition. Then using sysinstall's fdisk and label, I attempted to add the space to my freebsd partition. I broke the installation. The boot loader can not find /boot/kernal. I tried mounting the partition under FixIt, but mount says "broken argument". Any ideas? Chris From lists at jnielsen.net Mon May 4 01:41:37 2009 From: lists at jnielsen.net (John Nielsen) Date: Mon May 4 01:41:44 2009 Subject: Broken Partition In-Reply-To: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> References: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> Message-ID: <200905032141.35347.lists@jnielsen.net> On Sunday 03 May 2009 09:26:42 pm Chris Chambers wrote: > Using partition magic, I freed some space from my msdos partition. Then > using sysinstall's fdisk and label, I attempted to add the space to my > freebsd partition. I broke the installation. The boot loader can not > find /boot/kernal. I tried mounting the partition under FixIt, but > mount says "broken argument". When you say "add the space to my freebsd partition" what exactly did you do? What device nodes are listed for your disk from the fixit environment? JN From jeffrey at goldmark.org Mon May 4 02:00:20 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon May 4 02:00:28 2009 Subject: Meta: useless text/plain part [Was: Ethernet - Internet I/O] In-Reply-To: <20090503152809.686e5d83@scorpio> References: <13c915526491f115459852ed8aadf9d7@www.hostmailing.com> <20090503152809.686e5d83@scorpio> Message-ID: <39ADDCA2-77E6-46CE-BE21-5D976ACA77B4@goldmark.org> On May 3, 2009, at 2:28 PM, Jerry wrote: > On Sun, 3 May 2009 16:30:16 -0300 > Exemys wrote: > >> This is a message in multipart MIME format. Your mail client should >> not be displaying this. Consider upgrading your mail client to view >> this message correctly. > > What is this all about? Exemys' mailer is broken. Here are the details: Exemys sent mail that was of type multipart/alternative meaning that each part is an alternative view of the content. However, exemys' mailer doesn't actually do what it should and the part that was text/plain just had the text that we saw while the other part (presumably text/html) had the real content. Mailman, the mailing list system used for the list, correctly cuts out text/html parts of multipart/alternative messages and just sends on the text/plain alternative to the list members. So the problem is that the original poster's mail headers falsely claim that the parts are genuine alternatives while in fact the text part is just a notice to read the other alternate. Mailman is behaving correctly in my view, stripping out any HTML alternates and just going with the text/plain alternative. Exemys' mailer is broken in that it sends messages that claim to provide a text/plain alternative, but doesn't actually honor that claim. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From noc at hdk5.net Mon May 4 02:30:00 2009 From: noc at hdk5.net (Al Plant) Date: Mon May 4 02:30:07 2009 Subject: xorg error with xfce3 wm install Message-ID: <49FE4F00.4070208@hdk5.net> Aloha, I have used XFCE (3) from ports on all my FreeBSD desktops since 3.* . I tried to install a test box with 8.0 CURRENT 200902 amd4 disc1.iso Everything was fine until I tried to run xfce_setup. It goes to a normal mouse arrow than dies off with this error. "xlib extension error" "Generic Event Extension" missing on display ":0.0". Has anyone on our list seen this? Any ideas how to fix this? Is there a line in the config that I can add manually? I have setup many XFCE3 desktops and other than unidentified video cards, which have to be replaced with something FreeBSD can identify and connect to, it has just worked. I find XFCE4 to loaded for the tasks I need. Thats why I use the older simpler version of this wm. I tried on the XFCE forum but no response from anybody there. Any help or direction on how to fix this is appreciated. Thanks.... ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From matt at gsicomp.on.ca Mon May 4 03:21:52 2009 From: matt at gsicomp.on.ca (Matt Emmerton) Date: Mon May 4 04:06:38 2009 Subject: clear old output in login screen? References: <3a142e750905031351n38d762b7v46b4eeb1faad4799@mail.gmail.com> <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> Message-ID: <6C3195FABAF8405ABA0692C53A20A523@hermes2> 0> jw wrote: >> On Sun, May 3, 2009 at 1:51 PM, Paul B. Mahol wrote: >> > echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C >> >> Aha! I didn't know about 'vidcontrol -C' >> That combined with 'clear' does the trick. >> >> However... >> Is there any way I could have this execute when the "login:" >> prompt displays, rather than having each user need to do it >> themselves? >> >> In other words, I want this clearing to happen for all users >> regardless of shell, etc. > > If I needed to do this, could not find a way to do it via > configuration settings, and didn't want to hack the login > source code, I would try renaming the login binary to > something like login.real, and replacing it with an > executable script containing something like: > > #!/bin/csh > clear > vidcontrol -C > exec /usr/bin/login.real "$@" > > Granted such a hack will need to be redone any time you do > an installworld. The solution I've deployed in my environment is to have /etc/issue contain a single ^L character. Prior to doing that, /etc/issue contained 25+ blank lines, which effectively cleared the terminal before displaying the login prompt. Regards, -- Matt Emmerton From a.pirko at inode.at Mon May 4 04:15:20 2009 From: a.pirko at inode.at (Armin Pirkovitsch) Date: Mon May 4 04:15:28 2009 Subject: Apache errors. In-Reply-To: <49FE0A33.5040804@telus.net> References: <20090503120018.6ED6110656FD@hub.freebsd.org> <49FE0A33.5040804@telus.net> Message-ID: <20090504054840inode@frozen-zone.org> Hi! Have you tried to recompile the port from which that library came? (pkg_info -W /usr/local/lib/libavahi-common.so.3 should help you finding the correct port if you do not know which port that is) Armin On Sun 03 May 2009, Jeff Molofee wrote: > Just started getting this.. can anyone tell me how to fix it? > > Performing sanity check on apache22 configuration: > httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: > Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: > /usr/local/lib/libavahi-common.so.3: Undefined symbol > "libintl_bindtextdomain" -- Armin Pirkovitsch a.pirko@inode.at From tajudd at gmail.com Mon May 4 04:16:02 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon May 4 04:16:12 2009 Subject: where do I find libthr In-Reply-To: <58d1e8d30905011817i2591c0a8xdac47a2123b7e2b2@mail.gmail.com> References: <58d1e8d30904302103k34fcc372v31ca0e5b1d698934@mail.gmail.com> <58d1e8d30905010835v5b474297q38e180fc43d444fc@mail.gmail.com> <58d1e8d30905011817i2591c0a8xdac47a2123b7e2b2@mail.gmail.com> Message-ID: On Fri, May 1, 2009 at 7:17 PM, Bob Falanga wrote: > On Fri, May 1, 2009 at 6:36 PM, illoai@gmail.com wrote: > > > 2009/5/1 Bob Falanga : > > > On Fri, May 1, 2009 at 6:30 AM, illoai@gmail.com > > wrote: > > >> > > (please include the list in your email) > > > This is Andy replying for my father. Sorry about that. > > > > > > To rebuild your locate database, just run > > /etc/periodic/weekly/310.locate > > > > It makes finding files much easier. > > > After rebuilding the locate database I get the following: > > [root@pcbsd /usr/ports/www/apache22]# locate libthr > /compat/linux/lib/libthread_db-1.0.so > /compat/linux/lib/libthread_db.so.1 > /compat/linux/lib/obsolete/linuxthreads/libthread_db-1.0.so > /compat/linux/lib/obsolete/linuxthreads/libthread_db.so.1 > /usr/Programs/Wine0.9.61/autolibs/libthr.so.2 > /usr/Programs/e-Sword0.9.56/autolibs/libthr.so.2 > /usr/lib/libthr.a > /usr/lib/libthr.so > /usr/lib/libthr.so.2 > /usr/lib/libthr_p.a > /usr/lib/libthread_db.a > /usr/lib/libthread_db.so > /usr/lib/libthread_db.so.2 > /usr/lib/libthread_db_p.a > /usr/local/lib/compat/libthr.so.1 > /usr/local/lib/compat/libthread_db.so.1 > /usr/ports/devel/pwlib/files/patch-src_ptlib_unix_tlibthrd.cxx > /usr/share/man/cat3/libthr.3.gz > /usr/share/man/man3/libthr.3.gz > > However, after running > > ldconfig -r | grep libthr > > I get: > > [root@pcbsd /usr/ports/www/apache22]# ldconfig -r | grep libthr > 623:-lthr.1 => /usr/local/lib/compat/libthr.so.1 > 624:-lthread_db.1 => /usr/local/lib/compat/libthread_db.so.1 > > With so many hits on libthr from locate, why is ldconfig only finding these > two instances in /usr/local/lib/compat? Aren't these for linux > compatibility? http://www.freebsd.org/cgi/man.cgi?query=ldconfig&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE&format=html ldconfig(8) 2nd paragraph under Description You may need to rescan and re-update the hints file. See same manpage for info. > > > > > > > If that fails, I'm afraid you'll have to > > upgrade to 7.x > > > > I hope it doesn't come to that. > > Andy (for Bob) > _______________________________________________ > 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 perryh at pluto.rain.com Mon May 4 05:48:37 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon May 4 05:48:44 2009 Subject: SATA flash drive vs 7.0 Message-ID: <49fe8003.uFi88H0OvJL/NSy4%perryh@pluto.rain.com> Should FreeBSD handle SATA-attached flash drives? I have added a 64GB Patriot flash drive to a 7.0 system, but it does not seem to be working properly. Pertinent parts of dmesg.boot: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (449.85-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 67100672 (63 MB) avail memory = 51662848 (49 MB) ... atapci1: port 0x1800-0x180f,0x14f0-0x14ff,0x14e0-0x14ef,0x14d0-0x14df,0x14a0-0x14bf,0x1000-0x10ff irq 9 at device 16.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ... ad6: FAILURE - SET_MULTI status=51 error=4 ad6: 61136MB at ata3-master SATA150 At first things look OK: $ ls -l /dev/ad6* crw-r----- 1 root operator 0, 88 May 3 20:30 /dev/ad6 $ file -s /dev/ad6 /dev/ad6: x86 boot sector, Microsoft Windows XP MBR, Serial 0x9e5523de $ grep -w ad6 /usr/local/etc/mtools.conf drive f: file="/dev/ad6" $ mdir f: init F: non DOS media Cannot initialize 'F:' Now this seems a bit odd: file(1) says it's a Windows disk, but mdir(1) says it isn't. (Note that there are no slices, else the initial ls(1) should have shown them.) Then, when I tried to investigate further by examining the contents of the drive with "od -c /dev/ad6 | more", I got one screenful of output followed by (on console and in dmesg): interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source ad6: FAILURE - SET_MULTI status=51 error=4 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10712 interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source ad6: FAILURE - SET_MULTI status=51 error=4 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 etc. etc. until I killed it with ^C. (Just entering "q", to cause more(1) to exit and presumably stop od(1) with a SIGPIPE, did not stop the spew of messages.) What does this indicate? Bad drive? Controller? Configuration? PEBCAK? From j.mckeown at ru.ac.za Mon May 4 08:31:20 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Mon May 4 08:31:43 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <20090501204351.GB44369@gizmo.acns.msu.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <20090501204351.GB44369@gizmo.acns.msu.edu> Message-ID: <200905041031.16748.j.mckeown@ru.ac.za> On Friday 01 May 2009 22:43:51 Jerry McAllister wrote: > On Fri, May 01, 2009 at 12:07:22PM -0500, Martin McCormick wrote: > > Let's say we have a system that is backed up regularly and it > > vanishes in a puff of smoke one day. One can get FreeBSD > > installed on a new drive in maybe half an hour or so but we also > > need to get back to the right patch level and then we can say we > > are back where we started. > > What you want to do is use the fixit image to set up the disk. > That means fdisk and bsdlabel and newfs it. You can actually > use sysinstall to do this as well. Just let the installer come > up and do the disk stuff, choose minimal install and then after > it finishes making the disks, kill the rest of the install (or > just let it finish and then overwrite it. > > But, I find it actually easier to do the fdisk, bsdlabel and newfs-s > myself. But, then I am used to it. > > Right after you get done making sure where your fixit is living, > then use fdisk and bsdlabel to check for the way you have the disk > set up currently. Write it down or print it out and keep it > near that installation/fixit disk. [Lots of good stuff about creating the partitions] > Now all you have to do is newfs each partition. Just take the > defaults. Remember that newfs wants the full device spec, not > just the drive identifier. If you have kept the right information beforehand, you can actually restore your dumps onto ``bare metal'' without doing a partial install first, and with the same newfs settings for each partition as you originally had. You need to use bsdlabel and dumpfs -m and keep the output for rebuilding. The rest of this message is the details. On your running system, create and keep two files. My system has one slice, ad6s1, and the usual partitions - a for root, d for /tmp, e for /var, f for /usr, and I've shown the commands you need, and the resulting file contents on my current system, below: bsdlabel ad6s1 >ad6s1.label ad6s1.label contains: # /dev/ad6s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 0 4.2BSD 2048 16384 8 b: 8388608 1048576 swap c: 156296322 0 unused 0 0 # "raw" part, don't edit d: 20971520 9437184 4.2BSD 2048 16384 28552 e: 1048576 30408704 4.2BSD 2048 16384 8 f: 124839042 31457280 4.2BSD 2048 16384 28552 I usually put all the spare space on a disk into /usr, so changing the first field on the f: line (the size) from 124839042 to * tells bsdlabel to do exactly that in case the replacement disk is a different size from the original. We now need the newfs settings for all the 4.2BSD filesystems except c, so (in sh syntax) for i in a d e f; do dumpfs -m ad6s1$i; done >newfscmds.ad6s1 newfscmds.ad6s1 now contains: # newfs command for ad6s1a (/dev/ad6s1a) newfs -O 2 -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o time -s 262144 /dev/ad6s1a # newfs command for ad6s1d (/dev/ad6s1d) newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o time -s 5242880 /dev/ad6s1d # newfs command for ad6s1e (/dev/ad6s1e) newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o time -s 262144 /dev/ad6s1e # newfs command for ad6s1f (/dev/ad6s1f) newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o time -s 31209760 /dev/ad6s1f take out the -s 31209760 in the command for ad6s1f (this is the size of the new filesystem and it defaults to the size of the partition - which we made to take up the rest of the disk). Now you can save these two files somewhere. When it comes to a catastrophic failure and restore, boot a liveCD. Use fdisk to create your single large slice on the new disk with fdisk -BI ad6 Use bsdlabel -R ad6s1 ad6s1.label to restore the disklabel. If your device name is different from before, you need to edit newfscmds.ad6s1 to change the ad6 to the new device name wherever it occurs, but you then run the newfs commands in the file to create your filesystems with the same parameters (softupdates on/off, etc) as before. You now have the basic structure of your previous disk, ready to have the root, /var/ and /usr dumps restored to make a running system identical to the destroyed one, with one last step: bsdlabel -B ad6s1 to put the boot code on the slice. (I haven't tried this bit, so if you're going to use the boot code from your root partition, which is stored at /boot/boot, you'll need to check whether you can run bsdlabel -B on a mounted disk. If you can, the command would be bsdlabel -B -b /mnt/boot/boot /dev/ad6s1 assuming you mounted /dev/ad6s1a on /mnt). If you have a different device name, of course, you also need to edit your fstab before rebooting. Jonathan From mail25 at bzerk.org Mon May 4 09:10:36 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Mon May 4 09:10:42 2009 Subject: lost+found In-Reply-To: <20090502230627.71ef7124.freebsd@edvax.de> References: <49FCA2C9.4060307@videotron.ca> <20090502230627.71ef7124.freebsd@edvax.de> Message-ID: <20090504090804.GA66641@ei.bzerk.org> On Sat, May 02, 2009 at 11:06:27PM +0200, Polytropon typed: > On Sat, 02 May 2009 15:45:13 -0400, PJ wrote: > > [~]# cd /tmp/lost+found/#123456 > > [/tmp/lost+found/#123456]# ls > > Okay, it's empty. > > > > > [/tmp/lost+found/#123456]# cd .. > > Strange, why does .. lead you from /tmp/lost+found/#123456 > to /tmp/lost+found/#123456, just as if cd wasn't executed? > > > > > [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory) > > Does /tmp/lost+found/#123456 contain another #123456? And > why does this cd lead you to your (root's) home directory? Probably because the # is interpreted as comment. I can reproduce this in a bourne shell; not in (t)csh. Ruben From mr.tapac at gmail.com Mon May 4 09:40:18 2009 From: mr.tapac at gmail.com (Alexander Tarasov) Date: Mon May 4 09:40:24 2009 Subject: lost+found In-Reply-To: <20090504090804.GA66641@ei.bzerk.org> References: <49FCA2C9.4060307@videotron.ca> <20090502230627.71ef7124.freebsd@edvax.de> <20090504090804.GA66641@ei.bzerk.org> Message-ID: <3b7dc6d0905040240t1a67c8e5s55b9450dc97c952c@mail.gmail.com> "#" - is a comment.. in bash "cd" without dirname always return you to a home-directory.. "cd -" returns you to previous location, for example.. 2009/5/4 Ruben de Groot > On Sat, May 02, 2009 at 11:06:27PM +0200, Polytropon typed: > > On Sat, 02 May 2009 15:45:13 -0400, PJ wrote: > > > [~]# cd /tmp/lost+found/#123456 > > > [/tmp/lost+found/#123456]# ls > > > > Okay, it's empty. > > > > > > > > > [/tmp/lost+found/#123456]# cd .. > > > > Strange, why does .. lead you from /tmp/lost+found/#123456 > > to /tmp/lost+found/#123456, just as if cd wasn't executed? > > > > > > > > > [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory) > > > > Does /tmp/lost+found/#123456 contain another #123456? And > > why does this cd lead you to your (root's) home directory? > > Probably because the # is interpreted as comment. I can reproduce this > in a bourne shell; not in (t)csh. > > Ruben > _______________________________________________ > 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 jmc-freebsd2 at milibyte.co.uk Mon May 4 09:47:04 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Mon May 4 09:47:12 2009 Subject: clear old output in login screen? In-Reply-To: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> References: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> Message-ID: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> On Monday 04 May 2009, perryh@pluto.rain.com wrote: > If I needed to do this, could not find a way to do it via > configuration settings, and didn't want to hack the login > source code, I would try renaming the login binary to > something like login.real, and replacing it with an > executable script containing something like: > > ? #!/bin/csh > ? clear > ? vidcontrol -C > ? exec /usr/bin/login.real "$@" But this wouldn't prevent someone scrolling back with the scroll lock key before logging in. I assume the OP's requirement is to stop people from seeing previous users console activity. -- Mike Clarke From steve at ibctech.ca Mon May 4 12:46:00 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Mon May 4 12:46:06 2009 Subject: Quagga problem In-Reply-To: <1438340987.20090503192725@starnet.cz> References: <1438340987.20090503192725@starnet.cz> Message-ID: <49FEE388.8020004@ibctech.ca> Bc. Radek Krejca wrote: > Hello, > > starting this day I have problem with quagga, I get this messages > in my log: > > May 3 19:15:36 gw bgpd[7225]: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count > May 3 19:15:36 gw kernel: pid 7225 (bgpd), uid 101: exited on signal 6 > May 3 19:15:36 gw bgpd[7225]: No backtrace available on this platform. > > I have latest verison of port quagga, I looks as bug in quagga, > but I dont know. Do you have any idea for solution? Here is a link to a patch within the Quagga code base that resolves this issue: http://tinyurl.com/c8alza Steve From rea-fbsd at codelabs.ru Mon May 4 13:10:47 2009 From: rea-fbsd at codelabs.ru (Eygene Ryabinkin) Date: Mon May 4 13:10:54 2009 Subject: Filesystem and bigger files In-Reply-To: <49FEC893.8030305@unile.it> References: <49FA2E3F.9050108@entel.upc.edu> <3a142e750905010655i5e56282eu240e13f2a03dfb02@mail.gmail.com> <49FB55A3.605@entel.upc.edu> <3a142e750905011716g39ea55f0kd081bfdd55709b37@mail.gmail.com> <49FBF9B5.40800@entel.upc.edu> <3a142e750905020617y40f62463ma91b46a015b2b2ab@mail.gmail.com> <49FD61DD.7070903@entel.upc.edu> <3a142e750905030535v4cfe0103r1d8a17e828f6da9b@mail.gmail.com> <57348.147.83.40.234.1241416909.squirrel@webmail.entel.upc.edu> <49FEC893.8030305@unile.it> Message-ID: Antonio, good day. Mon, May 04, 2009 at 12:50:59PM +0200, Antonio Tommasi wrote: > i've freebsd 7.0 in production and i've this hard-drive > > Filesystem Size Used Avail Capacity Mounted on > /dev/aacd0s1a 64G 15G 44G 26% / > > In a directory (spamassassin) i've one file (auto-whitelist) with > dimension 4.0 TB and one file (bayes_learn) with dimension 1.0TB > > How is it possible? How this file are managed? First, this isn't a proper question for the freebsd-net mailing list, so I am redirecting it to freebsd-questions. To answer your question: most likely, your filesystem is damaged and should be fsck'ed. Reboot in a single-user mode and run 'fsck -p /dev/aacd0s1a' on your filesystem. If it will correct the things -- it's good. If not, run 'fsck /dev/aacd0s1a'. It is always good to have backups ;)) And the possible filesystem corruption is one of the reasons why people prefer multiple partitions on the system, rather then having one big and fat '/' partition. Another possibility is that these files are sparse: they have "holes" that aren't yet filled in. Tb sizes are insane, but may be you directed SA to do it. Here is the illustration of sparse file creation and its impact on the filesystem size: ----- Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s2f 24808094 14819988 8003460 65% /0 $ dd if=/dev/zero of=test.bin bs=1K count=1 seek=10M 1+0 records in 1+0 records out 1024 bytes transferred in 0.000049 secs (20951060 bytes/sec) $ ls -l test.bin -rw-r--r-- 1 usr usr 10737419264 4 ??? 16:54 test.bin $ df . Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s2f 24808094 14820046 8003402 65% /0 ----- -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # From jerrymc at msu.edu Mon May 4 13:39:38 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 4 13:39:45 2009 Subject: Broken Partition In-Reply-To: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> References: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> Message-ID: <20090504133854.GA84251@gizmo.acns.msu.edu> On Sun, May 03, 2009 at 06:26:42PM -0700, Chris Chambers wrote: > Hi, > > Using partition magic, I freed some space from my msdos partition. Then > using sysinstall's fdisk and label, I attempted to add the space to my > freebsd partition. I broke the installation. The boot loader can not > find /boot/kernal. I tried mounting the partition under FixIt, but mount > says "broken argument". You cannot just slab it on the side of an existing slice with fdisk. You have to create a brand new slice that uses up all the space. There is something called growfs(8) in FreeBSD, but that works on FreeBSD filesystems (FreeBSD partitions) rather than slices. So, you might be able to use the fixit to go back and restore the slice to the way it was and get a backup of it. I am not sure. Do you have any information on exactly which sector it previously started on? You would have to create a slice _identical_ to the old one (without any extra added on) and then use fdisk and bsdlabel to restore the labels _exactly_ as before. Then you might be able to read stuff. I am not sure what fsck would do with it because some links probably have been wiped out. If you can get it to where dump(8) can make a dump of the each of the partitions in the slice (except swap and /tmp - don't back up swap or bother with /tmp), then do that. Then, go back to Partition Magic and delete the FreeBSD slice and then create a completely new one that combines the space of what you shaved off from MSdos with the previous FreeBSD slice. Then you can go back to sysinstall (or manually with fdisk-bsdlabel-newfs) and create the new, larger FreeBSD slice, divide it in to partitions and make file systems out of them with newfs. I think you will be extremely lucky if you can pull off rescuing the old FreeBSD slice though. You will have to get it to start on the same sector and have identical links. You might have to use backup superblocks that are built in to the filesystems if you can get to them. This probably stems from a misunderstanding on how slices, partitions and filesystems work. Although most everything is flexible, the beginnings of each are rather fixed and cannot be arbitrarily shoved around without being remade from scratch. ////jerry > > Any ideas? > > 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 jerrymc at msu.edu Mon May 4 13:59:58 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 4 14:00:05 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905041031.16748.j.mckeown@ru.ac.za> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <20090501204351.GB44369@gizmo.acns.msu.edu> <200905041031.16748.j.mckeown@ru.ac.za> Message-ID: <20090504135914.GB84251@gizmo.acns.msu.edu> On Mon, May 04, 2009 at 10:31:16AM +0200, Jonathan McKeown wrote: > On Friday 01 May 2009 22:43:51 Jerry McAllister wrote: > > On Fri, May 01, 2009 at 12:07:22PM -0500, Martin McCormick wrote: > > > Let's say we have a system that is backed up regularly and it > > > vanishes in a puff of smoke one day. One can get FreeBSD > > > installed on a new drive in maybe half an hour or so but we also > > > need to get back to the right patch level and then we can say we > > > are back where we started. > > > > What you want to do is use the fixit image to set up the disk. > > That means fdisk and bsdlabel and newfs it. You can actually > > use sysinstall to do this as well. Just let the installer come > > up and do the disk stuff, choose minimal install and then after > > it finishes making the disks, kill the rest of the install (or > > just let it finish and then overwrite it. > > > > But, I find it actually easier to do the fdisk, bsdlabel and newfs-s > > myself. But, then I am used to it. > > > > Right after you get done making sure where your fixit is living, > > then use fdisk and bsdlabel to check for the way you have the disk > > set up currently. Write it down or print it out and keep it > > near that installation/fixit disk. > > [Lots of good stuff about creating the partitions] > > > Now all you have to do is newfs each partition. Just take the > > defaults. Remember that newfs wants the full device spec, not > > just the drive identifier. > > If you have kept the right information beforehand, you can actually restore > your dumps onto ``bare metal'' without doing a partial install first, and > with the same newfs settings for each partition as you originally had. You > need to use bsdlabel and dumpfs -m and keep the output for rebuilding. The > rest of this message is the details. If you have a specific reason to want your new filesystems' to have identical superblock info, you can use dumpfs -m, but you don't need to worry about all that. Just fdisk, bsdlabel and then let newfs take its defaults. You do not need an identical filesystem to do a restore(8) on it. Restore builds it from scratch in the correct way - in fact in a better way than what it was before the system was whacked. So, just build the new disk either manually or with sysinstall and then restore the dumps within the filesystems. Make sure you cd in to the mounted filesystem - note, since you are running from a fixit, you are making up new mount points and mounting the filesystems from the new disk. Something like: mkdir /newroot mount /dev/ad0s1a /newroot cd /newroot restore -rf /dev/nsa0 (replace /dev/nsa0 with wherever you are reading the dump. don't forget to position the tape with mt fsf nn if it is a tape) You can also skip the fdisk if you are running only FreeBSD from that disk and don't mind using what is called a 'dangerously dedicated' disk. It isn't really all that dangerous. No weird creatures will climb out and grab you by the throat at night. If you do dangerously dedicated, the device addressing leaves out the slice specifier (s1, s2, s3 or s4) and would look something like: /dev/ad0a instead of /dev/ad0s1a. ////jerry > > On your running system, create and keep two files. My system has one slice, > ad6s1, and the usual partitions - a for root, d for /tmp, e for /var, f > for /usr, and I've shown the commands you need, and the resulting file > contents on my current system, below: > > bsdlabel ad6s1 >ad6s1.label > > ad6s1.label contains: > > # /dev/ad6s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1048576 0 4.2BSD 2048 16384 8 > b: 8388608 1048576 swap > c: 156296322 0 unused 0 0 # "raw" part, don't > edit > d: 20971520 9437184 4.2BSD 2048 16384 28552 > e: 1048576 30408704 4.2BSD 2048 16384 8 > f: 124839042 31457280 4.2BSD 2048 16384 28552 > > I usually put all the spare space on a disk into /usr, so changing the first > field on the f: line (the size) from 124839042 to * tells bsdlabel to do > exactly that in case the replacement disk is a different size from the > original. > > We now need the newfs settings for all the 4.2BSD filesystems except c, so (in > sh syntax) > > for i in a d e f; do dumpfs -m ad6s1$i; done >newfscmds.ad6s1 > > newfscmds.ad6s1 now contains: > > # newfs command for ad6s1a (/dev/ad6s1a) > newfs -O 2 -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o > time -s 262144 /dev/ad6s1a > # newfs command for ad6s1d (/dev/ad6s1d) > newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o > time -s 5242880 /dev/ad6s1d > # newfs command for ad6s1e (/dev/ad6s1e) > newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o > time -s 262144 /dev/ad6s1e > # newfs command for ad6s1f (/dev/ad6s1f) > newfs -O 2 -U -a 8 -b 16384 -d 16384 -e 2048 -f 2048 -g 16384 -h 64 -m 8 -o > time -s 31209760 /dev/ad6s1f > > take out the -s 31209760 in the command for ad6s1f (this is the size of the > new filesystem and it defaults to the size of the partition - which we made > to take up the rest of the disk). > > Now you can save these two files somewhere. When it comes to a catastrophic > failure and restore, boot a liveCD. Use fdisk to create your single large > slice on the new disk with > > fdisk -BI ad6 > > Use > > bsdlabel -R ad6s1 ad6s1.label > > to restore the disklabel. > > If your device name is different from before, you need to edit newfscmds.ad6s1 > to change the ad6 to the new device name wherever it occurs, but you then run > the newfs commands in the file to create your filesystems with the same > parameters (softupdates on/off, etc) as before. > > You now have the basic structure of your previous disk, ready to have the > root, /var/ and /usr dumps restored to make a running system identical to the > destroyed one, with one last step: > > bsdlabel -B ad6s1 > > to put the boot code on the slice. (I haven't tried this bit, so if you're > going to use the boot code from your root partition, which is stored > at /boot/boot, you'll need to check whether you can run bsdlabel -B on a > mounted disk. If you can, the command would be > > bsdlabel -B -b /mnt/boot/boot /dev/ad6s1 > > assuming you mounted /dev/ad6s1a on /mnt). > > If you have a different device name, of course, you also need to edit your > fstab before rebooting. > > Jonathan > _______________________________________________ > 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 lists at jnielsen.net Mon May 4 14:04:04 2009 From: lists at jnielsen.net (John Nielsen) Date: Mon May 4 14:04:11 2009 Subject: Broken Partition In-Reply-To: <6316666.29861241425117016.JavaMail.myubc2@brahms.my.ubc.ca> References: <6316666.29861241425117016.JavaMail.myubc2@brahms.my.ubc.ca> Message-ID: <200905041004.01464.lists@jnielsen.net> It is best to include the list in all replies, so that people other than the original responder can offer additional help and so people searching the list archives in the future will have a complete picture. Also, not top-posting (putting replies in the context of the original message) is is preferred on this and many other lists. I've reformatted your message and added comments inline below. On Monday 04 May 2009 04:18:37 am Chris Chambers wrote: > On Sun May 03 John Nielsen wrote: > > On Sunday 03 May 2009 09:26:42 pm Chris Chambers wrote: > > > Using partition magic, I freed some space from my msdos partition. > > > Then using sysinstall's fdisk and label, I attempted to add the > > > space to my freebsd partition. I broke the installation. The boot > > > loader can not find /boot/kernal. I tried mounting the partition > > > under FixIt, but mount says "broken argument". > > > > When you say "add the space to my freebsd partition" what exactly did > > you do? > > Sorry, what I meant by "add the space to my freebsd partition" was: > > I created the free space, giving me: > ad0s1 > ad0s2 > Free Space > ad0s3 > > I deleted and recreated ad0s3 in fdisk. Inside the label tool, I added > swap space and mounted the remaining on / (as before). You forgot to say "I made a backup." If you really skipped that step then hopefully you'll remember next time.. Did you write down the original values from fdisk and bsdlabel? Putting them back may be your best bet for recovery. I would avoid using _any_ swap until you have your data back. If your new free space had been _after_ the FreeBSD slice on the disk you may have had better luck. Since you moved the _beginning_ of your slice that changed the relative offsets of everything else which is probably why your filesystem is broken (I am not a UFS expert). What is surprising is that the loader ran at all... unless you used "bsdlabel -B" or similar. If you revert the fdisk and bsdlabel values, save your data and want to try again a safer approach would be to define a fourth slice to occupy the free space (yes it will be out of order but FreeBSD shouldn't care.. not sure about DOS or PartitionMagic). Then just use the slice as additional swap directly (no bsdlabel, just ad0s4). But do make a backup this time. > > What device nodes are listed for your disk from the fixit > > environment? > > Currently, the devices are: > ad0s1 - DOS, type 7 > ad0s2 - DOS, type 7 > ad0s3 > ad0s3a - UFS > ad0s3b - Swap > ad0s3c - ? The "c" partition is the "raw" partition and is always the same size as the underlying device (or should be). I don't know that it's used for much any more, but there are historical reasons it's there. > I would settle for the ability to mount the drive so that I could > retrieve a few files. Try reverting the fdisk and bsdlabel values (see above). JN From crankbuster at gmail.com Mon May 4 14:18:45 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Mon May 4 14:18:52 2009 Subject: Questions about groups. Message-ID: <20090504141834.GA5348@gecko.davescrunch.net> Coming from Gnu/Linux, I see differences in group generation on regular user generation, and there's a group I'm not familiar with - 'operator'. What does that one do? I'm familiar with 'staff' and I've added my normal user to that, and of course 'wheel'. I intend to use the system on a laptop in this case, and need to enable regular user access to audio, cdrom/dvd read and write, usb access, and network reconfiguration/dialout, games and so forth. I am not seeing such things as plugdev,audio,cdrom in etc/group after initial install. Do I need to manually add such groups and then point relevant packages to them? Thanks, -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090504/b8dcfa7c/attachment.pgp From j.mckeown at ru.ac.za Mon May 4 14:30:57 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Mon May 4 14:31:14 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <20090504135914.GB84251@gizmo.acns.msu.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <200905041031.16748.j.mckeown@ru.ac.za> <20090504135914.GB84251@gizmo.acns.msu.edu> Message-ID: <200905041630.53832.j.mckeown@ru.ac.za> On Monday 04 May 2009 15:59:14 Jerry McAllister wrote: > On Mon, May 04, 2009 at 10:31:16AM +0200, Jonathan McKeown wrote: > > > If you have kept the right information beforehand, you can actually > > restore your dumps onto ``bare metal'' without doing a partial install > > first, and with the same newfs settings for each partition as you > > originally had. You need to use bsdlabel and dumpfs -m and keep the > > output for rebuilding. The rest of this message is the details. > > If you have a specific reason to want your new filesystems' to have > identical superblock info, you can use dumpfs -m, but you don't need > to worry about all that. ? Just fdisk, bsdlabel and then let newfs > take its defaults. Which of your filesystems currently has softupdates disabled? You may not care - but the point is that using dumpfs in the way I described will preserve that information (along with all the other tuning options) for people who do care. If you're restoring a complete machine from backup, the less you have to think about, the better. Knowing that my filesystems are going to be restored with whatever tuning options I was previously running with, without my having to try and remember, gives me peace of mind ahead of time. Jonathan From shaun at insipidity.co.uk Mon May 4 14:50:37 2009 From: shaun at insipidity.co.uk (Shaun Friedle) Date: Mon May 4 14:50:45 2009 Subject: Groups problems Message-ID: <49FEFAA1.4030503@insipidity.co.uk> Hi, I seem to have a weird problem with groups, it seems like the system doesn't notice that I am in certain groups when it comes to file permissions, and if I run groups or id with no arguments it also has some groups missing from the list, but with my username as an argument it is complete. I've never encountered this before, does anyone know what the problem might be? [shaun@strange] ~ $ ls -lh /tmp/group_test -rw-rw-r-- 1 www mercurial 0B 4 May 14:08 /tmp/group_test [shaun@strange] ~ $ echo test > /tmp/group_test bash: /tmp/group_test: Permission denied [shaun@strange] ~ $ whoami shaun [shaun@strange] ~ $ grep shaun /etc/group wheel:*:0:root,shaun www:*:80:shaun shaun:*:1002: svn:*:1004:svn,shaun mercurial:*:1006:shaun,www [shaun@strange] ~ $ groups shaun wheel svn [shaun@strange] ~ $ groups shaun shaun wheel www svn mercurial [shaun@strange] ~ $ id uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn) [shaun@strange] ~ $ id shaun uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial) -- Thanks, Shaun Friedle From milu at dat.pl Mon May 4 14:59:17 2009 From: milu at dat.pl (Maciej Milewski) Date: Mon May 4 14:59:24 2009 Subject: Groups problems In-Reply-To: <49FEFAA1.4030503@insipidity.co.uk> References: <49FEFAA1.4030503@insipidity.co.uk> Message-ID: <200905041659.06818.milu@dat.pl> Monday 04 May 2009 16:24:33 Shaun Friedle napisa?(a): > Hi, > I seem to have a weird problem with groups, it seems like the system > doesn't notice that I am in certain groups when it comes to file > permissions, and if I run groups or id with no arguments it also has > some groups missing from the list, but with my username as an argument > it is complete. I've never encountered this before, does anyone know > what the problem might be? > > [shaun@strange] ~ $ ls -lh /tmp/group_test > -rw-rw-r-- 1 www mercurial 0B 4 May 14:08 /tmp/group_test > [shaun@strange] ~ $ echo test > /tmp/group_test > bash: /tmp/group_test: Permission denied > [shaun@strange] ~ $ whoami > shaun > [shaun@strange] ~ $ grep shaun /etc/group > wheel:*:0:root,shaun > www:*:80:shaun > shaun:*:1002: > svn:*:1004:svn,shaun > mercurial:*:1006:shaun,www > [shaun@strange] ~ $ groups > shaun wheel svn > [shaun@strange] ~ $ groups shaun > shaun wheel www svn mercurial > [shaun@strange] ~ $ id > uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn) > [shaun@strange] ~ $ id shaun > uid=1002(shaun) gid=1002(shaun) > groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial) Have you done relogin on this account? -- Pozdrawiam, Maciej Milewski From a.pirko at inode.at Mon May 4 15:01:06 2009 From: a.pirko at inode.at (Armin Pirkovitsch) Date: Mon May 4 15:01:14 2009 Subject: Groups problems In-Reply-To: <49FEFAA1.4030503@insipidity.co.uk> References: <49FEFAA1.4030503@insipidity.co.uk> Message-ID: <20090504165342inode@frozen-zone.org> Have you relogged in after adding the user to the group file? (su -l should do the trick as well if you can't log out/relog in for some reason) Otherwise you'll get exactly the behaviour you described below. Armin On Mon 04 May 2009, Shaun Friedle wrote: > Hi, > I seem to have a weird problem with groups, it seems like the system > doesn't notice that I am in certain groups when it comes to file > permissions, and if I run groups or id with no arguments it also has > some groups missing from the list, but with my username as an argument > it is complete. I've never encountered this before, does anyone know > what the problem might be? > > [shaun@strange] ~ $ ls -lh /tmp/group_test > -rw-rw-r-- 1 www mercurial 0B 4 May 14:08 /tmp/group_test > [shaun@strange] ~ $ echo test > /tmp/group_test > bash: /tmp/group_test: Permission denied > [shaun@strange] ~ $ whoami > shaun > [shaun@strange] ~ $ grep shaun /etc/group > wheel:*:0:root,shaun > www:*:80:shaun > shaun:*:1002: > svn:*:1004:svn,shaun > mercurial:*:1006:shaun,www > [shaun@strange] ~ $ groups > shaun wheel svn > [shaun@strange] ~ $ groups shaun > shaun wheel www svn mercurial > [shaun@strange] ~ $ id > uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn) > [shaun@strange] ~ $ id shaun > uid=1002(shaun) gid=1002(shaun) > groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial) -- Armin Pirkovitsch a.pirko@inode.at From dnelson at allantgroup.com Mon May 4 15:11:22 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon May 4 15:11:30 2009 Subject: install -s In-Reply-To: <49FB5CDF.80100@comcast.net> References: <49FB5CDF.80100@comcast.net> Message-ID: <20090504151116.GA3371@dan.emsphone.com> In the last episode (May 01), Nathan Lay said: > Should install -s really fail if strip fails? I noticed cross-binutils > strips everything it installs...in my case, one of the utilities it tries > to strip is a script and install -s obnoxiously fails. I set DONTSTRIP to > get around this problem. > > For a point of reference, I'm running a recent 7-STABLE. It's best that if strip fails, install fails. strip could unlink the original file but fail for some reason to rename the temp file to the original name. Your problem could be a bug in the cross-binutils Makefile; scripts shouldn't be installed with "install -s". BSD-style Makefiles use PROG= and SCRIPTS= definitions, and automake-generated Makefiles use foo_PROGRAMS= and foo_SCRIPTS= to install executable binaries vs scripts. -- Dan Nelson dnelson@allantgroup.com From Ryan.vanEerdewijk at sdimediagroup.com Mon May 4 15:46:20 2009 From: Ryan.vanEerdewijk at sdimediagroup.com (Ryan van Eerdewijk) Date: Mon May 4 15:46:27 2009 Subject: Cannot mount smbfs share without requiring manual password Message-ID: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> Hi, I have a strange issue. If I type: mount_smbfs //theuser@theserver/myshare$ /mnt/here ... I will be prompted for theuser's password, I type it, and the share will mount fine. But I want this share to mount automatically at bootup. I haven't been able to get it to work through /etc/fstab or through an sh script. In fact typing: mount_smbfs -N //theuser@theserver/myshare$ /mnt/here gives me the following error: mount_smbfs: unable to open connection: syserr = Authentication error I have the following in my /etc/nsmb.conf file: [theserver] workgroup=MYWORKGROUP addr=10.10.10.10 [theserver:theuser] password=$$1571crypto'dpassword I get the feeling that when mounting the smbfs share, it isn't even checking the nsmb.conf file. I've also tried a plain text password, and also including the same information in a /root/.nsmbrc file. I'm running out of ideas. Any help is appreciated. Thanks Ryan V. From echen at nyx.com Mon May 4 15:54:13 2009 From: echen at nyx.com (Eddie Chen) Date: Mon May 4 15:54:21 2009 Subject: ReturnCode Checking for FTP Message-ID: Dear Sir, I am looking of implementing FTP return code checking after a command is issued If the FTP command return "code" not equal from return code to be check, EXIT 255. Command: "? nnn". Where "nnn" is the return code to be check. Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. From ray at stilltech.net Mon May 4 15:59:18 2009 From: ray at stilltech.net (Ray) Date: Mon May 4 15:59:25 2009 Subject: Cannot mount smbfs share without requiring manual password In-Reply-To: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> References: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> Message-ID: <200905040959.13354.ray@stilltech.net> On May 4, 2009 09:31:09 am Ryan van Eerdewijk wrote: > Hi, > > I have a strange issue. If I type: > > mount_smbfs //theuser@theserver/myshare$ /mnt/here > > ... I will be prompted for theuser's password, I type it, and the share > will mount fine. But I want this share to mount automatically at bootup. I > haven't been able to get it to work through /etc/fstab or through an sh > script. In fact typing: > > mount_smbfs -N //theuser@theserver/myshare$ /mnt/here > > gives me the following error: > > mount_smbfs: unable to open connection: syserr = Authentication error > > I have the following in my /etc/nsmb.conf file: > > [theserver] > workgroup=MYWORKGROUP > addr=10.10.10.10 > > [theserver:theuser] > password=$$1571crypto'dpassword > > I get the feeling that when mounting the smbfs share, it isn't even > checking the nsmb.conf file. I've also tried a plain text password, and > also including the same information in a /root/.nsmbrc file. > > I'm running out of ideas. Any help is appreciated. > > Thanks > > Ryan V. > _______________________________________________ > 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 Ryan, What You have is very similar to what I use, except I don't use the -N Flag on mount_smbfs. Ray From tamarlea at gmail.com Mon May 4 16:02:57 2009 From: tamarlea at gmail.com (Tamar Lea) Date: Mon May 4 16:03:04 2009 Subject: per protocol bandwidth filters for firewall Message-ID: <1ab57dc80905040833q1573f264oe6bd77420df31c6d@mail.gmail.com> Hello all, I have inherited the job of maintaining a FreeBSD firewall that sits behind an ADSL line that connects 128 clients to the internet. I have not used FreeBSD before but have some linux experience. The connections must be always on though I am allowed to reboot if absolutely necessary. It is using ipfilter and ipnat. There have been issues with clients taking up too much bandwidth, so after several hours of careful testing I managed to redirect all traffic on port 80 to a squid service using ipnat. This uses delay pools to limit the max speed per user. However I would also like to limit the max speed per user for streaming traffic on port 1935. Would this be possible with the current setup and what programs or config would be able to do the job? Thanks, Tamar From m.seaman at infracaninophile.co.uk Mon May 4 16:45:17 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon May 4 16:45:25 2009 Subject: per protocol bandwidth filters for firewall In-Reply-To: <1ab57dc80905040833q1573f264oe6bd77420df31c6d@mail.gmail.com> References: <1ab57dc80905040833q1573f264oe6bd77420df31c6d@mail.gmail.com> Message-ID: <49FF1B8A.3040900@infracaninophile.co.uk> Tamar Lea wrote: > Hello all, > I have inherited the job of maintaining a FreeBSD firewall that sits behind > an ADSL line that connects 128 clients to the internet. I have not used > FreeBSD before but have some linux experience. The connections must be > always on though I am allowed to reboot if absolutely necessary. It is using > ipfilter and ipnat. There have been issues with clients taking up too much > bandwidth, so after several hours of careful testing I managed to redirect > all traffic on port 80 to a squid service using ipnat. This uses delay pools > to limit the max speed per user. However I would also like to limit the max > speed per user for streaming traffic on port 1935. Would this be possible > with the current setup and what programs or config would be able to do the Hmmm... out of the three possible choices for firewall implementations under FreeBSD you have ended up with probably the least capable one. ipfilter's unique selling point is that it is available on a large number of different systems. In this case I don't think that really counts for much. The other two alternatives -- together with their associated QoS / traffic shaping technologies are: ipfw + dummynet This is a FreeBSD specific firewall implementation. It's a first match wins type ruleset which provides all the usual functionality: NAT, stateful filtering etc. It can be a bit tricky to manage on a live system as remote updates to the ruleset have an unfortunate tendency to lock you out of the system. pf + altq This is the new and shiny firewall system ported from OpenBSD. It's a last match wins type ruleset, modified by 'quick' (immediately applied) rules (similar to ipf), so more flexible than ipfw. The configuration file is also a lot more readable than ipfw IMHO. You will need to build a custom kernel to make use of ALTQ functionality as for some reason that cannot be provided by a loadable kernel module like the rest of pf(4). This would be my personal preference for solving the problem you describe. Either of these two should serve you well and allow you to do the required traffic shaping. Note: while it is technically possible to run more than one of the three firewall packages at once; that way madness lies, particularly for fledgeling administrators. It might be worth it for a short time if you really, absolutely, no alternative, have to do a zero-downtime cut-over, but the risks of something going wrong are significant. A quick restart with new software is hardly any more intrusive and a lot safer. 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/20090504/4cac92b7/signature.pgp From josh at tcbug.org Mon May 4 16:47:55 2009 From: josh at tcbug.org (Josh Paetzel) Date: Mon May 4 16:48:01 2009 Subject: base system openssl in 7.1 Message-ID: <4FCB5B42-E0B7-4B0F-B220-C851A7BACDDC@tcbug.org> I've been trying to figure out a way to run openssl's make test against the openssl included in FreeBSD RELENG_7_1 What I haven't been able to make go is make test in /usr/src/crypto/ openssl using various permutations of ./config Can someone clue me in? Thanks, Josh Paetzel From odhiambo at gmail.com Mon May 4 16:49:16 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Mon May 4 16:49:22 2009 Subject: per protocol bandwidth filters for firewall In-Reply-To: <1ab57dc80905040833q1573f264oe6bd77420df31c6d@mail.gmail.com> References: <1ab57dc80905040833q1573f264oe6bd77420df31c6d@mail.gmail.com> Message-ID: <991123400905040949p7351a397s199b538961647ab3@mail.gmail.com> On Mon, May 4, 2009 at 6:33 PM, Tamar Lea wrote: > Hello all, > I have inherited the job of maintaining a FreeBSD firewall that sits behind > an ADSL line that connects 128 clients to the internet. I have not used > FreeBSD before but have some linux experience. The connections must be > always on though I am allowed to reboot if absolutely necessary. It is > using > ipfilter and ipnat. There have been issues with clients taking up too much > bandwidth, so after several hours of careful testing I managed to redirect > all traffic on port 80 to a squid service using ipnat. This uses delay > pools > to limit the max speed per user. However I would also like to limit the max > speed per user for streaming traffic on port 1935. Would this be possible > with the current setup and what programs or config would be able to do the > job? If you consider PF+ALTQ, you will be able to do what IPFilter/IPNAT is doing now and much more - just like you desire. You will also find it quite easy to convert the current firewall/nat rules into PF syntax. Best of luck! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain From tajudd at gmail.com Mon May 4 18:09:49 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon May 4 18:09:56 2009 Subject: Cannot mount smbfs share without requiring manual password In-Reply-To: <200905040959.13354.ray@stilltech.net> References: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> <200905040959.13354.ray@stilltech.net> Message-ID: On Mon, May 4, 2009 at 9:59 AM, Ray wrote: > On May 4, 2009 09:31:09 am Ryan van Eerdewijk wrote: > > Hi, > > > > I have a strange issue. If I type: > > > > mount_smbfs //theuser@theserver/myshare$ /mnt/here > > > > ... I will be prompted for theuser's password, I type it, and the share > > will mount fine. But I want this share to mount automatically at bootup. > I > > haven't been able to get it to work through /etc/fstab or through an sh > > script. In fact typing: > > > > mount_smbfs -N //theuser@theserver/myshare$ /mnt/here > > > > gives me the following error: > > > > mount_smbfs: unable to open connection: syserr = Authentication error > > > > I have the following in my /etc/nsmb.conf file: > > > > [theserver] > > workgroup=MYWORKGROUP > > addr=10.10.10.10 > > > > [theserver:theuser] > > password=$$1571crypto'dpassword > > > > I get the feeling that when mounting the smbfs share, it isn't even > > checking the nsmb.conf file. I've also tried a plain text password, and > > also including the same information in a /root/.nsmbrc file. > > > > I'm running out of ideas. Any help is appreciated. > > > > Thanks > > > > Ryan V. > > Hi Ryan, > What You have is very similar to what I use, except I don't use the -N > Flag > on mount_smbfs. > Ray > A friend recently had this problem and it was due to capitalization. IIRC, the username in the nsmb.conf file needs to be in all caps, whereas the username that is given to the server is actually lowercase, or vice versa. It was found by a google search and just due to caps alone. Try toggling the caps, I know, odd fix, but it worked for my friend --Tim From doug at polands.org Mon May 4 18:32:23 2009 From: doug at polands.org (Doug Poland) Date: Mon May 4 18:32:30 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905041630.53832.j.mckeown@ru.ac.za> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> <200905041031.16748.j.mckeown@ru.ac.za> <20090504135914.GB84251@gizmo.acns.msu.edu> <200905041630.53832.j.mckeown@ru.ac.za> Message-ID: <20090504181629.GC96593@polands.org> On Mon, May 04, 2009 at 04:30:53PM +0200, Jonathan McKeown wrote: > On Monday 04 May 2009 15:59:14 Jerry McAllister wrote: > > On Mon, May 04, 2009 at 10:31:16AM +0200, Jonathan McKeown wrote: > > > > > If you have kept the right information beforehand, you can > > > actually restore your dumps onto ``bare metal'' without doing a > > > partial install first, and with the same newfs settings for each > > > partition as you originally had. You need to use bsdlabel and > > > dumpfs -m and keep the output for rebuilding. The rest of this > > > message is the details. > > > > If you have a specific reason to want your new filesystems' to have > > identical superblock info, you can use dumpfs -m, but you don't need > > to worry about all that. ? Just fdisk, bsdlabel and then let newfs > > take its defaults. > > Which of your filesystems currently has softupdates disabled? You may > not care - but the point is that using dumpfs in the way I described > will preserve that information (along with all the other tuning > options) for people who do care. > > If you're restoring a complete machine from backup, the less you have > to think about, the better. Knowing that my filesystems are going to > be restored with whatever tuning options I was previously running > with, without my having to try and remember, gives me peace of mind > ahead of time. > Excellent discussion. Along the lines of "the less you have to think about", is there a technique for restoring geom meta-data on bare metal? Say you have a system built upon gmirror and gjournal. One must manually create the mirror and journal before restoring from dump. But the vital geom meta-data describing your mirror/journal is on the dump. -- Regards, Doug From Ryan.vanEerdewijk at sdimediagroup.com Mon May 4 18:38:08 2009 From: Ryan.vanEerdewijk at sdimediagroup.com (Ryan van Eerdewijk) Date: Mon May 4 18:38:14 2009 Subject: Cannot mount smbfs share without requiring manual password Message-ID: <093DA668CFE5964490CB291025DFE56E026AF81E0C@SM-AM-EX-01.am.sdimediagroup.com> You, sir, are a genius. This solved it. Much thanks, Ryan V. From illoai at gmail.com Mon May 4 18:39:36 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Mon May 4 18:39:42 2009 Subject: Questions about groups. In-Reply-To: <20090504141834.GA5348@gecko.davescrunch.net> References: <20090504141834.GA5348@gecko.davescrunch.net> Message-ID: 2009/5/4 Old Crankbuster : > > Coming from Gnu/Linux, I see differences in group generation on regular > user generation, and there's a group I'm not familiar with - 'operator'. > > What does that one do? Members of "operator" can run /sbin/shutdown among other things. find / -group operator can answer better than I ever could. > > I'm familiar with 'staff' and I've added my normal user to that, and of > course 'wheel'. > > I intend to use the system on a laptop in this case, and need to enable > regular user access to audio, cdrom/dvd read and write, usb access, and > network reconfiguration/dialout, games and so forth. > > I am not seeing such things as plugdev,audio,cdrom in etc/group after > initial install. > > Do I need to manually add such groups and then point relevant packages > to them? > Various methods apply (for instance /dev/dspN.n is world writable), man 5 devfs.conf is a good start for some of that. Best of luck. -- -- From freebsd at edvax.de Mon May 4 18:41:29 2009 From: freebsd at edvax.de (Polytropon) Date: Mon May 4 18:41:36 2009 Subject: lost+found In-Reply-To: <20090504090804.GA66641@ei.bzerk.org> References: <49FCA2C9.4060307@videotron.ca> <20090502230627.71ef7124.freebsd@edvax.de> <20090504090804.GA66641@ei.bzerk.org> Message-ID: <20090504204120.31a34cc8.freebsd@edvax.de> On Mon, 4 May 2009 11:08:04 +0200, Ruben de Groot wrote: > Probably because the # is interpreted as comment. I can reproduce this > in a bourne shell; not in (t)csh. Ah, thank you. According to the prompt, it didn't look like csh in the first place, but not like plain sh, too. Customized bash prompts usually include brackets 'n stuff. Because I'm using csh mostly, I didn't see the problem that "cd #something" == "cd" (which of course leads to $HOME). An attempt to "rm #12345" in sh / bash should lead to an error message (for incomplete rm command). It's safe to use the Midnight Commander to cd into and rm #something files and directories. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Mon May 4 19:02:36 2009 From: freebsd at edvax.de (Polytropon) Date: Mon May 4 19:02:43 2009 Subject: Questions about groups. In-Reply-To: <20090504141834.GA5348@gecko.davescrunch.net> References: <20090504141834.GA5348@gecko.davescrunch.net> Message-ID: <20090504210229.c10231a2.freebsd@edvax.de> On Mon, 4 May 2009 21:18:34 +0700, Old Crankbuster wrote: > > Coming from Gnu/Linux, I see differences in group generation on regular > user generation, and there's a group I'm not familiar with - 'operator'. > > What does that one do? The operator groupt allows its users to perform some operator tasks, without needing them to be in the wheel group. It's like a "limited root permissions" group. You'll find some programs that are +x for this group (for example /sbin/shutdown). > I'm familiar with 'staff' and I've added my normal user to that, [...] I've often seen that FreeBSD defaults to user name = group name for the adduser script, but I usually use the staff group, as you do. Further fine grained parameters for user and group preferences can be set in an environment where you have more than one user. > [...] and of > course 'wheel'. Why "of course"? :-) > I intend to use the system on a laptop in this case, [...] Typical single user setting. > [...] and need to enable > regular user access to audio, cdrom/dvd read and write, usb access, and > network reconfiguration/dialout, games and so forth. There are several groups that you can add your user to, but because you're already in wheel, you don't have to (such as the "dialer" group for ppp). > I am not seeing such things as plugdev,audio,cdrom in etc/group after > initial install. No, they seem to be "Linuxisms". :-) > Do I need to manually add such groups and then point relevant packages > to them? No. What should happen then? How should that work? :-) FreeBSD manages the things you're requiring through two important files: /etc/devfs.conf (and /etc/devfs.rules) and /etc/devd.conf. The devfs files control the virtual device file system. It allows you to have permissions on a per-device file basis. These files are those that are present from system startup on. The devd file controls how the system should react if it detects new devices while it's already running. See the manpages for these files. Yes, they do exist. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From doug at polands.org Mon May 4 19:12:22 2009 From: doug at polands.org (Doug Poland) Date: Mon May 4 19:12:28 2009 Subject: To file a PR, or not to file a PR. That is the question. Message-ID: <20090504185324.GA97148@polands.org> Hello, A server running 7.1-RELEASE(i386) recently starting deadlocking when multiple UFS2 snaphosts are being manipulated (via sysutil/freebsd-snapshot). Upon searching the PR database, I found a problem repart that appears similar (kern/94769) but with my level of expertise, I'm not certain. My question, should I go ahead a file a PR, in the hope that more visability of the issue is better, and therefore more likely to receive attention? -- Regards, Doug From wmoran at potentialtech.com Mon May 4 19:19:12 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon May 4 19:19:24 2009 Subject: To file a PR, or not to file a PR. That is the question. In-Reply-To: <20090504185324.GA97148@polands.org> References: <20090504185324.GA97148@polands.org> Message-ID: <20090504151910.3ef7b803.wmoran@potentialtech.com> In response to Doug Poland : > Hello, > > A server running 7.1-RELEASE(i386) recently starting deadlocking when > multiple UFS2 snaphosts are being manipulated (via sysutil/freebsd-snapshot). > > Upon searching the PR database, I found a problem repart that appears > similar (kern/94769) but with my level of expertise, I'm not certain. > My question, should I go ahead a file a PR, in the hope that more > visability of the issue is better, and therefore more likely to receive > attention? You'll probably get more mileage by adding details of your problem to the existing PR. The person who's handling it will know how closely the issues are related. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From jos at webrz.net Mon May 4 19:58:52 2009 From: jos at webrz.net (Jos Chrispijn) Date: Mon May 4 19:59:02 2009 Subject: NIC Message-ID: <49FF4622.2020703@webrz.net> In order to speed up my LAN backups a little bit, I would like to replace my old 10/100 nic with a 10/100/1000 one. Should be placed in an ancient Dell of 5 years old. Can someone pls advise on the type nic I should buy (not necessarily a Dell brand)? thanks, Jos Chrispijn -- No one is listening until you make a mistake... From jnatola at familycareintl.org Mon May 4 20:18:37 2009 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Mon May 4 20:18:44 2009 Subject: NIC In-Reply-To: <49FF4622.2020703@webrz.net> References: <49FF4622.2020703@webrz.net> Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E435D@www.fcimail.org> I don't think dell has their own brand of NIC's in my experience intel has always great quality and support (drivers) for their nic cards -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jos Chrispijn Sent: Monday, May 04, 2009 3:47 PM To: FreeBSD Questions Subject: NIC In order to speed up my LAN backups a little bit, I would like to replace my old 10/100 nic with a 10/100/1000 one. Should be placed in an ancient Dell of 5 years old. Can someone pls advise on the type nic I should buy (not necessarily a Dell brand)? thanks, Jos Chrispijn -- No one is listening until you make a mistake... _______________________________________________ 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 wblock at wonkity.com Mon May 4 20:23:21 2009 From: wblock at wonkity.com (Warren Block) Date: Mon May 4 20:23:29 2009 Subject: NIC In-Reply-To: <49FF4622.2020703@webrz.net> References: <49FF4622.2020703@webrz.net> Message-ID: On Mon, 4 May 2009, Jos Chrispijn wrote: > In order to speed up my LAN backups a little bit, I would like to replace my > old 10/100 nic with a 10/100/1000 one. > Should be placed in an ancient Dell of 5 years old. Can someone pls advise on > the type nic I should buy (not necessarily a Dell brand)? The Intel cards are well regarded. A Pro/1000 (PWLA8391GT) works well here. Many other brands of gigabit cards are based on Realtek chipsets, which are not as well regarded. The Realtek gigabit built into the MSI P45 Neo-3 FR motherboard seems to work fine. Probably everyone else will point this out also, but replacing the card alone won't give you gigabit; you also need a switch and maybe new wiring. -Warren Block * Rapid City, South Dakota USA From roberthuff at rcn.com Mon May 4 20:31:19 2009 From: roberthuff at rcn.com (Robert Huff) Date: Mon May 4 20:31:26 2009 Subject: NIC In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E435D@www.fcimail.org> References: <49FF4622.2020703@webrz.net> <3A85D7EF44E1C744BF6434691F5659E9015E435D@www.fcimail.org> Message-ID: <18943.20628.234092.793988@jerusalem.litteratus.org> Jean-Paul Natola writes: > I don't think dell has their own brand of NIC's in my experience > intel has always great quality and support (drivers) for their > nic cards Conversely, cards based on RealTek chips have a reputation of being both inexpensive /and/ cheap. (This may or may not be true of the wireless cards.) The drivers for the Intel cards are written by Intel; I've got a dual-port Pro/1000 GT, and the thing is a _rock_. Robert Huff From dkelly at hiwaay.net Mon May 4 21:00:27 2009 From: dkelly at hiwaay.net (David Kelly) Date: Mon May 4 21:00:34 2009 Subject: NIC In-Reply-To: <18943.20628.234092.793988@jerusalem.litteratus.org> References: <49FF4622.2020703@webrz.net> <3A85D7EF44E1C744BF6434691F5659E9015E435D@www.fcimail.org> <18943.20628.234092.793988@jerusalem.litteratus.org> Message-ID: <20090504210022.GA83256@Grumpy.DynDNS.org> On Mon, May 04, 2009 at 04:31:16PM -0400, Robert Huff wrote: > > Conversely, cards based on RealTek chips have a reputation of > being both inexpensive /and/ cheap. (This may or may not be true of > the wireless cards.) The first generation of RealTek chips were little more than a shift register and deserved a poor reputation for requiring a lot of CPU resources. That got RT into market share and now have satisfactory product. > The drivers for the Intel cards are written by Intel; I've got > a dual-port Pro/1000 GT, and the thing is a _rock_. Ditto. Intel NICs are exceptionally well supported. If one must run Windows, an Intel NIC and Intel driver provide a lot of features which are otherwise missing. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From shinjii at maydias.com Mon May 4 21:24:52 2009 From: shinjii at maydias.com (Warren Liddell) Date: Mon May 4 21:24:59 2009 Subject: FOR MARK Message-ID: <49FF5D5B.6080500@maydias.com> After finally managing to get some encoding options from this list everything went smoothley untill it got to the burning part .. below is the error i got.... enterprise# ls dvd.iso enterprise# growisofs -dvd-video -Z /dev/cd1 dvd.iso WARNING: /dev/cd1 already carries isofs! About to execute 'mkisofs -dvd-video dvd.iso | builtin_dd of=/dev/pass1 obs=32k seek=0' mkisofs: Unable to make a DVD-Video image. :-( write failed: Input/output error enterprise# growisofs -dvd-video -Z /dev/cd0 dvd.iso Executing 'mkisofs -dvd-video dvd.iso | builtin_dd of=/dev/pass0 obs=32k seek=0' mkisofs: Unable to make a DVD-Video image. :-( write failed: Input/output error What am i missing//not doing correctly ? From freebsd at wcubed.net Mon May 4 21:44:19 2009 From: freebsd at wcubed.net (Brad Waite) Date: Mon May 4 21:44:26 2009 Subject: Broken drive geometry / partitions on 7.2 install Message-ID: <49FF5B63.40302@wcubed.net> Hi all, I was trying to install 7.2 RELEASE on top of a previous 6.4 RELEASE I'd set up (but not deployed). The server has a 40MB Intel service partition and the rest of the drive for FreeBSD. Here's what greeted me when doing the fdisk from the install CD: Disk name: da0 FDISK Partition Editor DISK Geometry: 2209 cyls/255 heads/63 sectors = 35487585 sectors (17327MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 64197 64259 da0as1 4 Compaq Diagnostic 18 64260 3013499 3077758 - 12 unused 0 3077758 64197 3141955 da0cs1 4 Compaq Diagnostic 18 3141956 32345629 354875584 - 12 unused 0 It says there's 2 service partition slices (type 18) and no FreeBSD slice. Remember, I had successfully installed 6.4 on this drive and was able to boot into both the service partition and FreeBSD. I ended up deleting all the partitions and recreating them by hand. I first created the service partition slice with a size of 80262 (which is what /sbin/fdisk under 6.4 reported), and the FBSD slice with a size of 35407260 (the remaining space). After doing that, I was able to install 7.2 just fine and boot into it. I was also able to boot into the Intel service partition, since I hadn't blown over any of the original slice. However, this is what I get from /usr/sbin/sysinstall's fdisk now: Disk name: da0 FDISK Partition Editor DISK Geometry: 2209 cyls/255 heads/63 sectors = 35487585 sectors (17327MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 64197 64259 da0s1 4 Compaq Diagnostic 18 64260 35423325 35487584 da0s2 8 freebsd 165 And /sbin/fdisk reports the same: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=2209 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2209 heads=255 sectors/track=63 (16065 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 18 (0x12),(Compaq diagnostics) start 63, size 64197 (31 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 3/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 64260, size 35423325 (17296 Meg), flag 80 (active) beg: cyl 4/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 Notice that I have only 2 slices, but the service partition slice is 64194 blocks instead of the 80262. On top of this, when I boot from the 7.2 install CD again, fdisk shows the same screwed-up setup with 2 Compaq Diag slices with no FBSD slice. What on earth is happening? Is my drive geometry hosed? Is this some sort of weird LBA issue? I'm nervous about configuring and deploying this machine acting as it is. I also have an identical machine that's reporting the same thing. Thanks. From freebsd at edvax.de Mon May 4 23:31:30 2009 From: freebsd at edvax.de (Polytropon) Date: Mon May 4 23:31:37 2009 Subject: FOR MARK In-Reply-To: <49FF5D5B.6080500@maydias.com> References: <49FF5D5B.6080500@maydias.com> Message-ID: <20090505013121.9d051365.freebsd@edvax.de> On Tue, 05 May 2009 07:25:47 +1000, Warren Liddell wrote: > After finally managing to get some encoding options from this list > everything went smoothley untill it got to the burning part .. below is > the error i got.... > > enterprise# ls > dvd.iso > enterprise# growisofs -dvd-video -Z /dev/cd1 dvd.iso Hmmm... my growisofs doesn't have -dvd-video (only -dvd-compat), so google("geowisofs -dvd-compat"); and I found: The -dvd-video option will be passed down to mkisofs(8) and will instruct it to create a DVD-Video file system layout. Beside this, the -dvd-video option implies -dvd-compat growisofs(1) option. Source: http://www.freebsd.org/doc/en/books/handbook/creating-dvds.html 18.7.4 It seems that -dvd-video has to be given if you've NOT mastered an ISO file already, read: when you work with the source files. > WARNING: /dev/cd1 already carries isofs! Not a blank media? > About to execute 'mkisofs -dvd-video dvd.iso | builtin_dd of=/dev/pass1 > obs=32k seek=0' > mkisofs: Unable to make a DVD-Video image. > :-( write failed: Input/output error The mkisofs tools seems to require the source files for the ISO to be created, it cannot create a video DVD ISO file from a video DVD ISO file. > What am i missing//not doing correctly ? Missing: Reading the handbook. Not doing correctly: Command line options. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From shinjii at maydias.com Tue May 5 00:28:57 2009 From: shinjii at maydias.com (Warren Liddell) Date: Tue May 5 00:29:04 2009 Subject: FOR MARK In-Reply-To: <20090505013121.9d051365.freebsd@edvax.de> References: <49FF5D5B.6080500@maydias.com> <20090505013121.9d051365.freebsd@edvax.de> Message-ID: <49FF8868.6010708@maydias.com> What am i missing//not doing correctly ? > > Missing: Reading the handbook. > Not doing correctly: Command line options. > :-) > I'll skip a lot of steps then an just use the standard growisofs for img files since DVStyler creates the DVD Video IMG once you've imported the mpeg file / / From crankbuster at gmail.com Tue May 5 00:42:32 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Tue May 5 00:42:40 2009 Subject: Questions about groups. In-Reply-To: References: <20090504141834.GA5348@gecko.davescrunch.net> Message-ID: <20090505004219.GA6564@gecko.davescrunch.net> * illoai@gmail.com [2009-05-04 14:39:34 -0400]: > > Various methods apply (for instance /dev/dspN.n is world > writable), man 5 devfs.conf is a good start for some of that. > Ah. Thanks. -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090505/2ae1e5ca/attachment.pgp From duane at cheekymonkey.us Tue May 5 00:46:04 2009 From: duane at cheekymonkey.us (Duane) Date: Tue May 5 00:46:11 2009 Subject: Part II: Running SMP kernel but only one cpu Message-ID: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> The bios in this old Micron dual PPro-180 full tower antique only initializes the second CPU if the machine is cold-booted. A simple 'reboot' results in a single processor machine regardless of the kernel that is launched. This fact -- unknown to me before last night -- was the source of a great deal of lost time! My 6.4 SMP kernel (now customized) runs just fine, with both cpus active, *except* for this message streaming constantly up the boot console. (from /var/log/messages:) May 4 20:20:33 poobah kernel: interrupt storm detected on "irq15:"; throttling interrupt source May 4 20:21:02 poobah last message repeated 42 times May 4 20:21:03 poobah login: ROOT LOGIN (root) ON ttyv1 May 4 20:21:03 poobah kernel: interrupt storm detected on "irq15:"; throttling interrupt source May 4 20:21:33 poobah last message repeated 30 times May 4 20:23:33 poobah last message repeated 120 times May 4 20:33:33 poobah last message repeated 599 times May 4 20:40:01 poobah last message repeated 387 times etc etc ad repetitum infinitum Question1: Is this something I should go to some lengths to eliminate? Question2: What the heck is it? Best regards, -- Duane From crankbuster at gmail.com Tue May 5 00:54:04 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Tue May 5 00:54:11 2009 Subject: Questions about groups. In-Reply-To: <20090504210229.c10231a2.freebsd@edvax.de> References: <20090504141834.GA5348@gecko.davescrunch.net> <20090504210229.c10231a2.freebsd@edvax.de> Message-ID: <20090505005351.GB6564@gecko.davescrunch.net> * Polytropon [2009-05-04 21:02:29 +0200]: > > [...] and of > > course 'wheel'. > > Why "of course"? :-) > Umm, linuxism habit :-) > There are several groups that you can add your user to, but because > you're already in wheel, you don't have to (such as the "dialer" > group for ppp). > > > > > I am not seeing such things as plugdev,audio,cdrom in etc/group after > > initial install. > > No, they seem to be "Linuxisms". :-) > :-) > FreeBSD manages the things you're requiring through two important > files: /etc/devfs.conf (and /etc/devfs.rules) and /etc/devd.conf. > > The devfs files control the virtual device file system. It allows > you to have permissions on a per-device file basis. These files are > those that are present from system startup on. > > The devd file controls how the system should react if it detects > new devices while it's already running. > > See the manpages for these files. Yes, they do exist. :-) Excellent. Many thanks. :-) -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090505/37e29db1/attachment.pgp From djuatdelta at gmail.com Tue May 5 01:09:46 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 01:09:53 2009 Subject: Emacs-ess Message-ID: <1A44786C-D6B4-4F81-A993-63ED7B4C65F2@gmail.com> How do I install emacs-ess. I don't see it in the ports. Thanks in advance, Daniel (Sent from my iPhone) From amvandemore at gmail.com Tue May 5 01:29:45 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue May 5 01:29:51 2009 Subject: Part II: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> References: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> Message-ID: <49FF9680.3020800@gmail.com> Duane wrote: > The bios in this old Micron dual PPro-180 full tower antique only > initializes the second CPU if the machine is cold-booted. A simple > 'reboot' results in a single processor machine regardless of the > kernel that is launched. This fact -- unknown to me before last night > -- was the source of a great deal of lost time! > Good you found a work around. You might try ensuring your running latest avail bios as well. > My 6.4 SMP kernel (now customized) runs just fine, with both cpus > active, *except* for this message streaming constantly up the boot > console. > > (from /var/log/messages:) > > May 4 20:20:33 poobah kernel: interrupt storm detected on "irq15:"; > throttling interrupt source > May 4 20:21:02 poobah last message repeated 42 times > May 4 20:21:03 poobah login: ROOT LOGIN (root) ON ttyv1 > May 4 20:21:03 poobah kernel: interrupt storm detected on "irq15:"; > throttling interrupt source > May 4 20:21:33 poobah last message repeated 30 times > May 4 20:23:33 poobah last message repeated 120 times > May 4 20:33:33 poobah last message repeated 599 times > May 4 20:40:01 poobah last message repeated 387 times > etc etc ad repetitum infinitum > > Question1: Is this something I should go to some lengths to eliminate? > Yes, it's probably something you should eliminate. > Question2: What the heck is it? > A poor explanation is the devices are fighting over an IRQ. Generally, simplest fix is to find what devs are on that IRQ, and manually reassign one dev to a different IRQ. > > Best regards, > > From sandy at trainingforyoubyus.com Tue May 5 01:49:09 2009 From: sandy at trainingforyoubyus.com (Sandra Keating) Date: Tue May 5 01:49:17 2009 Subject: =?iso-8859-1?q?May_training_courses_-_=A3109_p=2Ep=2E?= Message-ID: <06E2F827-FB84-4ABD-AF6E-CA71F106230A@trainingforyoubyus.com> We still have places available on the following training courses running in May, at ?109 plus VAT per person, which is inclusive of a full day?s training, lunch, refreshments, course materials, certificate of completion and membership to our website. You will receive the lowest rate by booking online at www.trainingforyoubyus.com. We also deliver all of our workshops in-house/on-site, at extremely competitive rates. ? Creative & Professional Writing Skills ? Manchester, 13 May & London, 21 May This workshop is aimed at those for whom professional writing is a staple of their working life. This workshop is designed to arm delegates with some simple techniques to radically improve the quality and results of their writing, be it for print or web publication. ? Perfect Podcasts ? Edinburgh, 15 May This workshop is aimed at delegates who might know what a Podcast is, but who want to better understand how to create a perfect Podcast to market their business, educate a community, share an opinion or just to have fun. This practical workshop will help you create a podcast, using it as a simple and effective method to get a message across to thousands of people who may either visit your business or personal website or a dedicated podcasting site. ? Presentation & Communication Skills ? London, 18 May & Manchester, 28 May This workshop is aimed at individuals and organisations who want to improve the way they present and communicate - both formally and informally - for effectiveness and profitability.??Every participant is provided with an opportunity to practice the techniques and skills needed to prepare and deliver a great presentation, and introduces the wide number of sources of noise or interference that can enter into the communication process.? ? Effective Training Skills ? Manchester, 13 May & London, 19 May This workshop is aimed at those who are required to effectively train employees, colleagues or clients in an interesting, engaging and confident manner, in a way that is practical and designed to help delegates gain new skills, knowledge and understanding essential in the training of adults in the workplace. Specific topics covered include:-The Role of the Trainer; The Trainer & Adult Learners; Training Strategies; Training Needs Analysis; Feedback & Evaluation and Training Plans. ? Media Strategies & Campaigns ? London, 20 May This workshop provides some practical guidelines on how to develop appropriate media strategies & manage effective media campaigns. One of the best ways of reaching your target audiences, influencing policy & practice and changing public opinion is to make use of the media. This programme is designed to help individuals and organisations develop strategies and campaigns to get the media working for them and with them. ? Writing Press Releases ? London, 22 May This workshop is designed to equip delegates with the most important elements of the press release, which are a clear and engaging text, careful selection of recipients, and good timing of release. A well-written, well-distributed and well-timed press release is not difficult or expensive to produce, yet can be effective and useful. The key to writing an effective press release is getting it read and the information published. ? Marketing & Customer Service Strategies ? Birmingham, 26 May When the economic climate is so difficult, the one thing that might just separate your organisation from?the rest?is the way you market your product, idea or service and look after your clients. The aim of this programme is to develop and improve your organisation through enhanced marketing skills and?the service you provide to your clients. We focus on the key areas of finding new clients; promotion & publicity; creating a successful client experience; image & presentation skills.? ? Media Relations: tv, Radio, Print ? Manchester, 29 May? This, our most popular workshop, is aimed at those who have to deal with the media on a local, national or international level, or perhaps who might want to use the media for their own benefit. This is an ideal way to learn, or brush up on, the skills required. It is a very practical workshop, where delegates are recorded being interviewed, with useful feedback provided and the opportunity to purchase a DVD copy. ? Other courses include: ? Handling Interviews This workshop is aimed at those who have had very little interview experience, and who are looking to pick up the basic, solid skills, knowledge and attitudes, in order to successfully deal with interviews, and interviewers in a range of settings.? ????? PowerPoint Presentation Skills This workshop is aimed at those who want to create professional presentations with PowerPoint. Each delegate will be given an opportunity to present this to the group, whereupon feedback will be given and practical ways in which to improve. This may take the form of help with your slides, your presentation technique, or simply ideas to help you create a slicker, more effective presentation. ?? Facilitation Skills This workshop is aimed at delegates who are responsible for facilitating a group of people. It is ideal for those who want practical tips on how to deal with groups and the way in which they interact, on how to maximise a group?s potential and the right tools to use to generate and evaluate ideas within a group and help the decision making process and to design and manage team and project reviews. ? Emergency Planning & Call Handling This workshop is ideal if your organisation needs people trained to effectively respond when the media and the public contact you in cases of emergency.? If you or any of your colleagues ever have to deal with calls in a crisis, then this hands-on workshop is a cost effective and practical way to learn or brush up on the skills required. ? Teambuilding & Group Dynamics This workshop is ideal if you or your colleagues are responsible for a group of people and you want some practical tips on how to deal with conflict resolution, anger management, team building and relationships within the group. If you need the skills to get your group working better together, then this workshop is an excellent way to start the ball rolling. ? Regards, ? Sandra Keating ? crosshands ltd, coreley, shropshire sy8 3ar, t: 01584 890970; e: bookings@trainingforyoubyus.com ? company registration: 3136393 VAT registration: 682 1126 51 ? You have been sent this email because we understand that you wish to receive information about our training services, however, if you have received this email by mistake please accept our sincere apologies. If you no longer wish to receive information about our training services, please inform us immediately by email to remove@trainingforyoubyus.com. ? ? ? ? From keramida at ceid.upatras.gr Tue May 5 02:33:29 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue May 5 02:33:37 2009 Subject: Emacs-ess In-Reply-To: <1A44786C-D6B4-4F81-A993-63ED7B4C65F2@gmail.com> (Daniel Underwood's message of "Mon, 4 May 2009 21:09:34 -0400") References: <1A44786C-D6B4-4F81-A993-63ED7B4C65F2@gmail.com> Message-ID: <87zldswa6i.fsf@kobe.laptop> On Mon, 4 May 2009 21:09:34 -0400, Daniel Underwood wrote: > How do I install emacs-ess. I don't see it in the ports. You can probably just download the emacs-ess sources and extract them in a personal directory for testing, i.e.: % mkdir ~/elisp % cd ~/elisp % fetch http://ess.r-project.org/downloads/ess/ess-5.3.11.tgz % tar xzvf ess-5.3.11.tgz Then add in your ~/.emacs file the following: (add-to-list 'load-path "~/elisp/ess-5.3.11") (require 'ess-site) If you see an *ESS* buffer then you are probably ready to go. If not, then see the detailed installation instructions in `ess-5.3.11/README'. HTH, Giorgos From djuatdelta at gmail.com Tue May 5 02:45:45 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 02:45:52 2009 Subject: Emacs-ess In-Reply-To: <87zldswa6i.fsf@kobe.laptop> References: <1A44786C-D6B4-4F81-A993-63ED7B4C65F2@gmail.com> <87zldswa6i.fsf@kobe.laptop> Message-ID: Giorgos, thanks a bunch--that was easy! Your suggestions worked perfectly. When I originally tried to install ess, i downloaded the tarball and tried to build it's contents from source. I did this because I glanced at the tarball's contents and saw such things as "Makeconf" and "Makefile". This, to me, begs the question: why the Makefile if there's no need to compile? (Pardon my limited understanding.) Thanks, Daniel From keramida at ceid.upatras.gr Tue May 5 02:49:37 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue May 5 02:49:45 2009 Subject: Emacs-ess In-Reply-To: (Daniel Underwood's message of "Mon, 4 May 2009 22:45:42 -0400") References: <1A44786C-D6B4-4F81-A993-63ED7B4C65F2@gmail.com> <87zldswa6i.fsf@kobe.laptop> Message-ID: <87skjkw9fl.fsf@kobe.laptop> On Mon, 4 May 2009 22:45:42 -0400, Daniel Underwood wrote: > Giorgos, thanks a bunch--that was easy! Your suggestions worked perfectly. > > When I originally tried to install ess, i downloaded the tarball and > tried to build it's contents from source. I did this because I > glanced at the tarball's contents and saw such things as "Makeconf" > and "Makefile". > > This, to me, begs the question: why the Makefile if there's no need to > compile? (Pardon my limited understanding.) Byte-compiling Emacs Lisp code can make it slightly faster to load. So there is a marginally small advantage to doing that. But if you don't keep closing and reopening Emacs, causing everything to reload from scratch, it shouldn't matter very much if you load the source .el files once. From tajudd at gmail.com Tue May 5 03:45:48 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue May 5 03:45:55 2009 Subject: Part II: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> References: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> Message-ID: On Mon, May 4, 2009 at 6:46 PM, Duane wrote: > The bios in this old Micron dual PPro-180 full tower antique only > initializes the second CPU if the machine is cold-booted. A simple > 'reboot' results in a single processor machine regardless of the > kernel that is launched. This fact -- unknown to me before last night > -- was the source of a great deal of lost time! > > My 6.4 SMP kernel (now customized) runs just fine, with both cpus > active, *except* for this message streaming constantly up the boot > console. > > (from /var/log/messages:) > > May 4 20:20:33 poobah kernel: interrupt storm detected on "irq15:"; > throttling interrupt source > May 4 20:21:02 poobah last message repeated 42 times > May 4 20:21:03 poobah login: ROOT LOGIN (root) ON ttyv1 > May 4 20:21:03 poobah kernel: interrupt storm detected on "irq15:"; > throttling interrupt source > May 4 20:21:33 poobah last message repeated 30 times > May 4 20:23:33 poobah last message repeated 120 times > May 4 20:33:33 poobah last message repeated 599 times > May 4 20:40:01 poobah last message repeated 387 times > etc etc ad repetitum infinitum > > Question1: Is this something I should go to some lengths to eliminate? > > Question2: What the heck is it? > > > Best regards, > > -- > Duane > IRQ15 is typically your secondary IDE controller; but due to PCI (or E-ISA) plug&play, including the PnP the BIOS may setup, lots of others can be on that bus too. Likely candidates are PCI devices, such as modems, NICs, sound cards, etc I think you'd be able to find what's on IRQ15 by a simple: # grep -i irq15 /var/run/dmesg.boot You will probably not be able to pull your secondary IDE controller off 15. The possible other device that's been configured for irq15 might stop if you disable PnP OS in the BIOS (if it exists), or setting irq15 to the equivelant of 'reserved' in the BIOS might aleviate the problem. Good luck. From duane at cheekymonkey.us Tue May 5 05:49:01 2009 From: duane at cheekymonkey.us (Duane) Date: Tue May 5 05:49:08 2009 Subject: Part II: Running SMP kernel but only one cpu In-Reply-To: References: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> Message-ID: <5e8ad96d0905042249p670eefeakf61d578bf09e373@mail.gmail.com> On 5/4/09, Tim Judd wrote: > IRQ15 is typically your secondary IDE controller; but due to PCI (or E-ISA) > plug&play, including the PnP the BIOS may setup, lots of others can be on > that bus too. This box has one SCSI card running two SCSI drives. The IDE's are disabled in the BIOS. But the SCSI card does feature in the problem: > # grep -i irq15 /var/run/dmesg.boot No 'irq15' is found. One can see that the "interrupt storm" begins when the SCSI drives begin to spin up, IF the machine is booting with two cpus initialized. dmesg.boot is attached for everyone's edification and amusement! Another interesting datapoint is that if the machine is booted in Safe Mode the "interrupt storm" disappears, but so does the second cpu. Best regards, -- Duane -------------- next part -------------- A non-text attachment was scrubbed... Name: dmesg.boot Type: application/octet-stream Size: 5882 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090505/e4cfc817/dmesg.obj From tajudd at gmail.com Tue May 5 06:00:09 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue May 5 06:00:16 2009 Subject: Part II: Running SMP kernel but only one cpu In-Reply-To: <5e8ad96d0905042249p670eefeakf61d578bf09e373@mail.gmail.com> References: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> <5e8ad96d0905042249p670eefeakf61d578bf09e373@mail.gmail.com> Message-ID: On Mon, May 4, 2009 at 11:49 PM, Duane wrote: > On 5/4/09, Tim Judd wrote: > > > IRQ15 is typically your secondary IDE controller; but due to PCI (or > E-ISA) > > plug&play, including the PnP the BIOS may setup, lots of others can be on > > that bus too. > > This box has one SCSI card running two SCSI drives. The IDE's are > disabled in the BIOS. But the SCSI card does feature in the problem: > > > # grep -i irq15 /var/run/dmesg.boot > > No 'irq15' is found. One can see that the "interrupt storm" begins > when the SCSI drives begin to spin up, IF the machine is booting with > two cpus initialized. dmesg.boot is attached for everyone's > edification and amusement! > > Another interesting datapoint is that if the machine is booted in Safe > Mode the "interrupt storm" disappears, but so does the second cpu. > > > Best regards, > > -- > Duane > I've seen the IRQ storms when an IDE channel is disabled too. And to silence it I had to enable the channel (using an IRQ), with no devices on it. it's gonna be a chatterbox, and the question is if the system can work with a shortage of up to 2 IRQs (irq 14 = primary IDE, irq 15 = secondary IDE) Especially early 586 and 686 classes I saw that often. Would you try enabling the IDE channels and see if the IRQ storms stop? --TJ From duane at cheekymonkey.us Tue May 5 06:39:17 2009 From: duane at cheekymonkey.us (Duane) Date: Tue May 5 06:39:23 2009 Subject: Part II: Running SMP kernel but only one cpu In-Reply-To: References: <5e8ad96d0905041746o67c463e9t1297a0b3103557bf@mail.gmail.com> <5e8ad96d0905042249p670eefeakf61d578bf09e373@mail.gmail.com> Message-ID: <5e8ad96d0905042339q78282defwffdc1d363a559c47@mail.gmail.com> On 5/5/09, Tim Judd wrote: > Would you try enabling the IDE channels and see if the IRQ storms stop? There is joy in Mudville. I couldn't really change the IDE settings that much since there are no IDE drives in this thing. The channels are all on 'auto' and that yields a "NONE" for each of them (iirc, it's a kinda late). But I did turn on some stuff that was off in the BIOS: serial port A, the sound card, and the parallell port. I know it's not good engineering practice to change a bunch of stuff at once, but there it is. Whatever I did along the lines of turning stuff *on* seems to have done the trick! Thanks all! -- Duane From perryh at pluto.rain.com Tue May 5 08:20:27 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue May 5 08:20:35 2009 Subject: clear old output in login screen? In-Reply-To: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> References: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> <200905041018.00717.jmc-freebsd2@milibyte.co.uk> Message-ID: <49fff6e5.JdJRbLiNeEolnKU2%perryh@pluto.rain.com> Mike Clarke wrote: > On Monday 04 May 2009, perryh@pluto.rain.com wrote: ... > > ? #!/bin/csh > > ? clear > > ? vidcontrol -C > > ? exec /usr/bin/login.real "$@" > > But this wouldn't prevent someone scrolling back with the scroll > lock key before logging in. I assume the OP's requirement is to > stop people from seeing previous users console activity. That's what the "vidcontrol -C" line is supposed to accomplish, based on my reading of vidcontrol(1) and earlier messages in the thread. Granted I have not actually tried it. From jmc-freebsd2 at milibyte.co.uk Tue May 5 08:45:19 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue May 5 08:45:27 2009 Subject: clear old output in login screen? In-Reply-To: <49fff6e5.JdJRbLiNeEolnKU2%perryh@pluto.rain.com> References: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> <49fff6e5.JdJRbLiNeEolnKU2%perryh@pluto.rain.com> Message-ID: <200905050945.16910.jmc-freebsd2@milibyte.co.uk> On Tuesday 05 May 2009, perryh@pluto.rain.com wrote: > Mike Clarke wrote: > > On Monday 04 May 2009, perryh@pluto.rain.com wrote: > > ... > > > > ? #!/bin/csh > > > ? clear > > > ? vidcontrol -C > > > ? exec /usr/bin/login.real "$@" > > > > But this wouldn't prevent someone scrolling back with the scroll > > lock key before logging in. I assume the OP's requirement is to > > stop people from seeing previous users console activity. > > That's what the "vidcontrol -C" line is supposed to accomplish, > based on my reading of vidcontrol(1) and earlier messages in the > thread. Granted I have not actually tried it. Yes, "vidcontrol -C" will accomplish this, but my point was that including this as part of the replacement login script is too late. You don't need to be logged in to use the scroll lock and pg{Up,Dn} keys. To prevent people seeing the previous users activity you would need to clear the console buffer at the logout stage. -- Mike Clarke From Johan at double-l.nl Tue May 5 09:00:10 2009 From: Johan at double-l.nl (Johan Hendriks) Date: Tue May 5 09:00:19 2009 Subject: Snapshots Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE7ED@w2003s01.double-l.local> Are there no more snapshots of current? The last is from 02-2009 Regards, Johan From wojtek at wojtek.tensor.gdynia.pl Tue May 5 09:22:06 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue May 5 09:22:13 2009 Subject: vtund&linux client Message-ID: i wanted to give IPv6 tunnel to someone running linux with vtund added position as usual to vtund.conf (there are already many tunnels), and he can't connect. In FreeBSD you have to add VTUN_EXTENDED_MODE=yes to /etc/make.conf before compiling from ports to have IPv6 support. in linux - i don't know. does anyone have an example (or working vtund binary/package) for linux supporting IPv6? From mcoyles at horbury.wakefield.sch.uk Tue May 5 09:43:20 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Tue May 5 09:43:28 2009 Subject: Dump snapshot issue... Message-ID: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> I've got a script that dumps various filesystems to tape for me, but I've always had an issue whenever I've used the -L option... see below: /usr/bin/mt rewind /sbin/dump 0aLuf /dev/sa0 / dump: Cannot create //.snap/dump_snapshot: No such file or directory /sbin/dump 0aLuf /dev/sa0 /home mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory /sbin/dump 0aLuf /dev/sa0 /tmp dump: Cannot create /tmp/.snap/dump_snapshot: No such file or directory /sbin/dump 0aLuf /dev/sa0 /usr dump: Cannot create /usr/.snap/dump_snapshot: No such file or directory /sbin/dump 0aLuf /dev/sa0 /var dump: Cannot create /var/.snap/dump_snapshot: No such file or directory /usr/bin/mt rewind The .snap folders exist at all points, are set to root:operator, with perms 770... The dump_snapshot files seem to be present, albeit 0 bytes, root:operator, perms 400... Running 7.0-RELEASE-p11... Any suggestions? Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From crankbuster at gmail.com Tue May 5 09:47:02 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Tue May 5 09:47:09 2009 Subject: ATI woes Message-ID: <20090505094651.GA4784@gecko.davescrunch.net> Thought I'd throw this one out there: I installed release 7.1 while waiting for 7.2 to download, used the handbook to configure X, get Gnome up and running, and start learning the system. The graphics chip on this laptop is ati hd 3200, and the standard X radeon driver worked ok. Cleaned everything off and installed 7.2, and the driver is borked using the same method (enable dbus and hald in /etc/rc.conf, then run Xorg -config): The screen is black with some tearing, and the machine accepts no keyboard input to exit X, requiring a dirty reboot. So cleaned everything off again, reinstalled 7.1 and will play there until I can figure out how to upgrade the system without borking X. Little alarm bells were going off in my head when I bought this thing (I've had severe problems with ati chips under windows and linux in the past), but it was cheap, and I needed a slab right away. Sorry 'bout the rant, but ati sucks. -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090505/9e67fd12/attachment.pgp From cpghost at cordula.ws Tue May 5 09:47:22 2009 From: cpghost at cordula.ws (cpghost) Date: Tue May 5 09:47:29 2009 Subject: FOR MARK In-Reply-To: <49FF5D5B.6080500@maydias.com> References: <49FF5D5B.6080500@maydias.com> Message-ID: <20090505094716.GA1395@phenom.cordula.ws> On Tue, May 05, 2009 at 07:25:47AM +1000, Warren Liddell wrote: > After finally managing to get some encoding options from this list > everything went smoothley untill it got to the burning part .. below is > the error i got.... > > enterprise# ls > dvd.iso > enterprise# growisofs -dvd-video -Z /dev/cd1 dvd.iso 1. you probably meant -dvd-compat instead of -dvd-video 2. for premastered isos, use this syntax: -Z /dev/cd1=dvd1.iso (don't forget the = sign) > What am i missing//not doing correctly ? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From cpghost at cordula.ws Tue May 5 10:09:53 2009 From: cpghost at cordula.ws (cpghost) Date: Tue May 5 10:10:01 2009 Subject: MAKE_JOBS_SAFE et al. missing in documentation? Message-ID: <20090505100950.GA1531@phenom.cordula.ws> Shouldn't the following variables be mentioned in the Porter's Handbook and in ports(7)? (from /usr/ports/Mk/bsd.port.mk) # MAKE_JOBS_SAFE # - This port can safely be built on multiple cpus in parallel. # The make will be invoked with -jX parameter where X equals # number of cores present in the system. # MAKE_JOBS_UNSAFE # - Disallow multiple jobs even when user set a global override. # To be used with known bad ports. # DISABLE_MAKE_JOBS # - Set to disable the multiple jobs feature. User settable. # FORCE_MAKE_JOBS # - Force all ports to be built with multiple jobs, except ports # that are explicitly marked MAKE_JOBS_UNSAFE. User settable. # MAKE_JOBS_NUMBER # - Override the number of make jobs to be used. User settable. This is incredibly useful and a lot of ports actually compile cleanly with MAKE_JOBS_SAFE, though they are still not yet marked as such. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From turutani at scphys.kyoto-u.ac.jp Tue May 5 10:24:34 2009 From: turutani at scphys.kyoto-u.ac.jp (turutani) Date: Tue May 5 10:24:41 2009 Subject: Apache won't start - undefined symbol "libintl_bindtextdomain" In-Reply-To: References: <49F5DED3.8010609@gmail.com> Message-ID: <23384784.post@talk.nabble.com> Bill Somerson wrote: > > "I did a "make config" in avahi-app (which is where libintl.so.8 came > from)" > > Sorry, I meant avahi-app is where libavahi-common.so.3 came from (which is > the thing that's complaining about a lack of libintl_bindtextdomain). > > On Mon, Apr 27, 2009 at 12:46 PM, Bill Somerson > wrote: > > how about the patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=134227 ? -- View this message in context: http://www.nabble.com/Apache-won%27t-start---undefined-symbol-%22libintl_bindtextdomain%22-tp23259886p23384784.html Sent from the freebsd-questions mailing list archive at Nabble.com. From frank at shute.org.uk Tue May 5 10:36:53 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue May 5 10:37:01 2009 Subject: clear old output in login screen? In-Reply-To: <200905050945.16910.jmc-freebsd2@milibyte.co.uk> References: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> <49fff6e5.JdJRbLiNeEolnKU2%perryh@pluto.rain.com> <200905050945.16910.jmc-freebsd2@milibyte.co.uk> Message-ID: <20090505103641.GA62529@melon.esperance-linux.co.uk> On Tue, May 05, 2009 at 09:45:16AM +0100, Mike Clarke wrote: > > On Tuesday 05 May 2009, perryh@pluto.rain.com wrote: > > > Mike Clarke wrote: > > > On Monday 04 May 2009, perryh@pluto.rain.com wrote: > > > > ... > > > > > > ? #!/bin/csh > > > > ? clear > > > > ? vidcontrol -C > > > > ? exec /usr/bin/login.real "$@" > > > > > > But this wouldn't prevent someone scrolling back with the scroll > > > lock key before logging in. I assume the OP's requirement is to > > > stop people from seeing previous users console activity. > > > > That's what the "vidcontrol -C" line is supposed to accomplish, > > based on my reading of vidcontrol(1) and earlier messages in the > > thread. Granted I have not actually tried it. > > Yes, "vidcontrol -C" will accomplish this, but my point was that > including this as part of the replacement login script is too late. You > don't need to be logged in to use the scroll lock and pg{Up,Dn} keys. > To prevent people seeing the previous users activity you would need to > clear the console buffer at the logout stage. > I see what you mean. Perhaps put vidcontrol -C in /etc/csh.logout For other shells e.g ksh: alias logout='~/.ksh_logout; exit' (not tested) It seems that for sh, logout is a builtin but it's not mentioned in it's manpage. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From yavuz.maslak at netiletisim.net Tue May 5 07:33:19 2009 From: yavuz.maslak at netiletisim.net (=?iso-8859-9?Q?Yavuz_Ma=FElak?=) Date: Tue May 5 11:39:24 2009 Subject: How can I extract differences between 2 folders ? Message-ID: Hello I use freebsd7.1 I have two folders which contains some expressions in everyline as following; File A: abcde 12345 etc. File B: xyzas 12345 etc As above some strings are same and some strings are different. There are several differents between these two files. When I run diff command "diff --suppress-common-lines -y -w file1 file2 > fileresult" like I couldn't result right. How can I extract differences between 2 folders ? Which command do I need to use ? Bu elektronik posta ve varsa ekleri tamamen gizli ve g?nderilen ki?iler listesine ?zeldir. E?er ad?n?z g?nderilen ki?iler listesinde yer alm?yorsa, l?tfen derhal g?nderen ki?iyi bilgilendiriniz ve i?eri?ini herhangi ba?ka bir ki?iye iletmeyiniz, herhangi bir ama? i?in kullanmay?n?z, say?sal ve bas?l? ortamlar dahil olmak ?zere saklamay?n?z ve kopyalamay?n?z. This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. From frank at shute.org.uk Tue May 5 11:46:24 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue May 5 11:46:33 2009 Subject: Broken Partition In-Reply-To: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> References: <21461620.25281241400402258.JavaMail.myubc2@handel.my.ubc.ca> Message-ID: <20090505104410.GB62529@melon.esperance-linux.co.uk> On Sun, May 03, 2009 at 06:26:42PM -0700, Chris Chambers wrote: > > Hi, > > Using partition magic, I freed some space from my msdos partition. > Then using sysinstall's fdisk and label, I attempted to add the > space to my freebsd partition. I broke the installation. The boot > loader can not find /boot/kernal. I tried mounting the partition > under FixIt, but mount says "broken argument". > > > Any ideas? The loader wont be able to find /boot/kernal but /boot/kernel it might stand a chance ;) No idea if this is your problem; it might just be a typo in your post. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From djuatdelta at gmail.com Tue May 5 12:37:30 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 12:37:38 2009 Subject: Using portsuprade only for security Message-ID: I ran a portsupgrade scan, and was presented with a long list of installed ports and whether an update was available. In general, I prefer not to update ports/packages between FreeBSD releases. An obvious exception to this general rules is the patching of security vulnerabilities; of course not all available updates are security fixes. So my question is: how or where can I monitor security vulnerabilities? Or, how can I keep my system up-to-date with respect to security, without applying every non-security update? Thanks, Daniel From sonicy at otenet.gr Tue May 5 12:55:15 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue May 5 12:55:23 2009 Subject: Using portsuprade only for security In-Reply-To: References: Message-ID: <4A003730.10702@otenet.gr> Daniel Underwood wrote: > I ran a portsupgrade scan, and was presented with a long list of > installed ports and whether an update was available. In general, I > prefer not to update ports/packages between FreeBSD releases. An > obvious exception to this general rules is the patching of security > vulnerabilities; of course not all available updates are security > fixes. > > So my question is: how or where can I monitor security > vulnerabilities? Or, how can I keep my system up-to-date with respect > to security, without applying every non-security update? > > Thanks, > Daniel > User ports-mgmt/portaudit This will report any installed port with security issues. It will even run from periodic, sending this info via email. From danielby at slightlystrange.org Tue May 5 12:57:06 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Tue May 5 12:58:01 2009 Subject: Using portsuprade only for security In-Reply-To: References: Message-ID: <20090505125659.GA46153@torus.slightlystrange.org> On Tue, May 05, 2009 at 08:37:28AM -0400, Daniel Underwood wrote: > I ran a portsupgrade scan, and was presented with a long list of > installed ports and whether an update was available. In general, I > prefer not to update ports/packages between FreeBSD releases. An > obvious exception to this general rules is the patching of security > vulnerabilities; of course not all available updates are security > fixes. > > So my question is: how or where can I monitor security > vulnerabilities? Or, how can I keep my system up-to-date with respect > to security, without applying every non-security update? Subscribe to security-notifications@ (for base system security alerts), and install ports-mgmt/portaudit. -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20090505/d081c2fd/attachment.pgp From tajudd at gmail.com Tue May 5 13:10:31 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue May 5 13:10:37 2009 Subject: Using portsuprade only for security In-Reply-To: References: Message-ID: On Tue, May 5, 2009 at 6:37 AM, Daniel Underwood wrote: > I ran a portsupgrade scan, and was presented with a long list of > installed ports and whether an update was available. In general, I > prefer not to update ports/packages between FreeBSD releases. An > obvious exception to this general rules is the patching of security > vulnerabilities; of course not all available updates are security > fixes. > > So my question is: how or where can I monitor security > vulnerabilities? Or, how can I keep my system up-to-date with respect > to security, without applying every non-security update? > > Thanks, > Daniel > portaudit does that. watch your periodic mailings after install From mjs at rakupottery.org.uk Tue May 5 13:17:01 2009 From: mjs at rakupottery.org.uk (Martin Smith) Date: Tue May 5 13:17:08 2009 Subject: Apache errors. In-Reply-To: <20090504054840inode@frozen-zone.org> References: <20090503120018.6ED6110656FD@hub.freebsd.org> <49FE0A33.5040804@telus.net> <20090504054840inode@frozen-zone.org> Message-ID: <49FEF42E.30700@rakupottery.org.uk> Armin Pirkovitsch wrote: > Hi! > > Have you tried to recompile the port from which that library came? > (pkg_info -W /usr/local/lib/libavahi-common.so.3 should help you finding > the correct port if you do not know which port that is) > > Armin > > > On Sun 03 May 2009, Jeff Molofee wrote: > >> Just started getting this.. can anyone tell me how to fix it? >> >> Performing sanity check on apache22 configuration: >> httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: >> Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: >> /usr/local/lib/libavahi-common.so.3: Undefined symbol >> "libintl_bindtextdomain" Now I have the same problem so I went to recompile avahi-app, did rmconfig and then make config, it said no user config options, or something very similar. So where to now? -- Martin From djuatdelta at gmail.com Tue May 5 13:23:00 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 13:23:07 2009 Subject: Shopping for external harddrive Message-ID: I'm looking to purchase a >= 1TB external harddrive, because I'm running out of room on my 300GB external. Anyone have good experience with any particular brands? I really don't know how different brands compare in reliability to one another. Of course I plan to check CNet and other online reviews. But I also wanted to see if any of you folks have personal recommendations. Thanks, Daniel From andrew at qemg.org Tue May 5 13:42:40 2009 From: andrew at qemg.org (Andrew Wright) Date: Tue May 5 13:42:48 2009 Subject: Dump snapshot issue... In-Reply-To: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> Message-ID: On Tue, 5 May 2009, Marc Coyles wrote: > I've got a script that dumps various filesystems to tape for me, but > I've always had an issue whenever I've used the -L option... see below: > > /usr/bin/mt rewind > /sbin/dump 0aLuf /dev/sa0 / > dump: Cannot create //.snap/dump_snapshot: No such file or directory You probably have not created the .snap directory in the root of the filesystem. >From the dump(8) man page: If the .snap directory does not exist in the root of the file system being dumped, a warning will be issued and the dump will revert to the standard behavior. This problem can be corrected by creating a .snap directory in the root of the file system to be dumped; its owner should be ``root'', its group should be ``operator'', and its mode should be ``0770''. A. From andrew at qemg.org Tue May 5 13:48:51 2009 From: andrew at qemg.org (Andrew Wright) Date: Tue May 5 13:49:08 2009 Subject: Shopping for external harddrive In-Reply-To: References: Message-ID: On Tue, 5 May 2009, Daniel Underwood wrote: > and other online reviews. But I also wanted to see if any of you folks > have personal recommendations. I had an unpleasant experience with Maxtor/Seagate support this year. I had one of their OneTouch III's pack up after 6 mo, and the warranty replacement died out of the box. It took 69 days as well as dozens of phone calls + emails to get a replacement for the dead replacement. The overall failure rate of their products seems to be acceptable, but their support is just terrible. A. From mcoyles at horbury.wakefield.sch.uk Tue May 5 13:55:22 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Tue May 5 13:55:30 2009 Subject: Dump snapshot issue... In-Reply-To: References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> Message-ID: <004901c9cd88$97377450$c5a65cf0$@wakefield.sch.uk> > You probably have not created the .snap directory in the root of > the filesystem. Like I said... "The .snap folders exist at all points, are set to root:operator, with perms 770... The dump_snapshot files seem to be present, albeit 0 bytes, root:operator, perms 400..." Marc From freebsd at edvax.de Tue May 5 14:27:56 2009 From: freebsd at edvax.de (Polytropon) Date: Tue May 5 14:28:03 2009 Subject: How can I extract differences between 2 folders ? In-Reply-To: References: Message-ID: <20090505162748.8aff21eb.freebsd@edvax.de> Hi, I don't want to sound impolite, but I think it's important that you know the correct terminology: On Tue, 5 May 2009 10:33:19 +0300, Yavuz Ma?lak wrote: > I use freebsd7.1 > > I have two folders [...] In UNIX, there are no "folders". These are called directories. To avoid misunderstandings, please name them correctly in the future. > which contains some expressions in everyline as > following; > File A: See? You call them "files" correctly. Why don't you refer to them as "sheets of paper" as an analogy to "folders"? :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Tue May 5 14:33:34 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue May 5 14:33:41 2009 Subject: Shopping for external harddrive In-Reply-To: References: Message-ID: > warranty replacement died out of the box. It took 69 days > as well as dozens of phone calls + emails to get a replacement > for the dead replacement. while i never had problems with warranty on hard drives (only internal but anyway), it always took 2-3 weeks. shop where i bought it handled it for me. From sonicy at otenet.gr Tue May 5 14:44:09 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue May 5 14:44:16 2009 Subject: Shopping for external harddrive In-Reply-To: References: Message-ID: <4A0050B6.8000400@otenet.gr> Daniel Underwood wrote: > I'm looking to purchase a >= 1TB external harddrive, because I'm > running out of room on my 300GB external. Anyone have good experience > with any particular brands? I really don't know how different brands > compare in reliability to one another. Of course I plan to check CNet > and other online reviews. But I also wanted to see if any of you folks > have personal recommendations. > > Thanks, > Daniel > > I recently replaced my Lacie external hardrive (used for backup) with a WD MyBook. The Lacie was about two years old and the USB interface failed. The disk is still ok. I believe this came along as a result of faulty design decisions: - The disk was on and spinning all the time, no matter if accessed or not (it was only getting mounted for an hour or two a day) - There was not enough space in the box and around the disk, very bad cooling. The MyBook quickly spins down when not in use and runs very cool due to the case design. I expect it to last a lot longer. I believe these come in 1Tb models as well. From a.pirko at inode.at Tue May 5 15:04:10 2009 From: a.pirko at inode.at (Armin Pirkovitsch) Date: Tue May 5 15:04:18 2009 Subject: How can I extract differences between 2 folders ? In-Reply-To: References: Message-ID: <20090505165621inode@frozen-zone.org> First of all I suppose you're talking about 2 files, not folders. In which case the command you're using isn't looking so bad since it shows the differences between file "a" and file "b": > diff --suppress-common-lines -w -y a b abcde | xyasz But since you do not seem to be happy with the output - what should it look like? Armin On Tue 05 May 2009, Yavuz Ma?lak wrote: > I have two folders which contains some expressions in everyline as > following; > File A: > abcde > 12345 > etc. > > File B: > xyzas > 12345 > etc > > As above some strings are same and some strings are different. > There are several differents between these two files. > > When I run diff command "diff --suppress-common-lines -y -w file1 file2 > > fileresult" like I couldn't result right. > How can I extract differences between 2 folders ? > > Which command do I need to use ? -- Armin Pirkovitsch a.pirko@inode.at From freebsd at optiksecurite.com Tue May 5 15:37:32 2009 From: freebsd at optiksecurite.com (Martin Turgeon) Date: Tue May 5 15:37:39 2009 Subject: Upgrading jails to 7.2-RELEASE with freebsd-update Message-ID: <4A005D46.5010809@optiksecurite.com> Hi everyone, It's the first time I'm using freebsd-update to upgrade my system to a new release. I just upgraded the base system from 7.1-RELEASE to 7.2-RELEASE and everything went fine. I now wanted to upgrade my jails to the new release but freebsd-update is telling me that's already updated... freebsd-update -b /usr/jail/mysql/ upgrade -r 7.2-RELEASE freebsd-update: Cannot upgrade from 7.2-RELEASE to itself I understand that the jails are sharing the kernel and that freebsd-update must be verifying the version of the kernel. So I tried to just fetch install the update in the jail. freebsd-update -b /usr/jail/mysql/ fetch install Looking up update.FreeBSD.org mirrors... 6 mirrors found. Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 7.2-RELEASE-p0. No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. I already used the -b option to update my jails with security updates, but never to a new release. What am I doing wrong? Thanks everyone for sharing! Martin From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 16:26:14 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 16:26:24 2009 Subject: Upgrading jails to 7.2-RELEASE with freebsd-update In-Reply-To: <4A005D46.5010809@optiksecurite.com> References: <4A005D46.5010809@optiksecurite.com> Message-ID: <200905051826.09616.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 05 May 2009 17:37:42 Martin Turgeon wrote: > Hi everyone, > > It's the first time I'm using freebsd-update to upgrade my system to a > new release. I just upgraded the base system from 7.1-RELEASE to > 7.2-RELEASE and everything went fine. I now wanted to upgrade my jails > to the new release but freebsd-update is telling me that's already > updated... > > freebsd-update -b /usr/jail/mysql/ upgrade -r 7.2-RELEASE > freebsd-update: Cannot upgrade from 7.2-RELEASE to itself Should be able to trick it using: env UNAME_r=7.1-RELEASE-p5 freebsd-update -b /path/to/jail (based on a quick source scan, untested). -- Mel From corky1951 at comcast.net Tue May 5 16:33:49 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Tue May 5 16:33:56 2009 Subject: Shopping for external harddrive In-Reply-To: <4A0050B6.8000400@otenet.gr> References: <4A0050B6.8000400@otenet.gr> Message-ID: <20090505162029.GE18204@comcast.net> On Tue 05 May 2009 at 07:44:06 PDT Manolis Kiagias wrote: >I recently replaced my Lacie external hardrive (used for backup) with a >WD MyBook. The Lacie was about two years old and the USB interface >failed. The disk is still ok. I believe this came along as a result of >faulty design decisions: > >- The disk was on and spinning all the time, no matter if accessed or >not (it was only getting mounted for an hour or two a day) >- There was not enough space in the box and around the disk, very bad >cooling. I had the same problem with a 500GB LaCie external drive. The USB interface had been flaky for a while, and finally died one day when we had a windstorm and the power went out. I removed the drive from the housing and connected it directly via SATA, and it's been running like a champ ever since. From LukeD at pobox.com Tue May 5 17:09:17 2009 From: LukeD at pobox.com (Luke Dean) Date: Tue May 5 17:09:25 2009 Subject: ath_hal problem on slow hardware, can be tuned? Message-ID: I'm following 7-STABLE with my laptop. As soon as ath_hal appeared, I started having trouble with my wireless connection dropping every few hours. +ath0: ath_chan_set: unable to reset channel 11 (2462 Mhz, flags 0x480 hal flags 0xc0), hal status 3 The ath manpage documents this error as: ath%d: ath_chan_set: unable to reset channel %u (%u Mhz) The Atheros Hardware Access Layer was unable to reset the hardware when switching channels during scanning. This should not happen. sys/contrib/dev/ath/ah.h documents the error 3 as: HAL_EIO = 3, /* Hardware didn't respond as expected */ I can run /etc/rc.d/netif start dhclient ath0 to reset the interface and reconnect to the wireless network after this happens. I'm thinking that ath_hal doesn't like my card as much as the old ath driver system did, or perhaps there's some tunable that I need to adjust. This is an old laptop. It's a Sony Vaio PCG-Z505S - a celeron 133MHz "designed for MS Windows 98". In the best of circumstances, it can never establish a wireless connection before ntp comes up at boot time. wpa_supplicant always "gives up" the first time it attempts to connect because this hardware is so slow. I'm saying it's slow. I wonder if it's so slow that it's not responding as fast as ath_hal wants it to respond whenever it decides to rescan for channels. I know that such problems can sometimes be solved with sysctls or adjustment of constants. Would anyone have any suggestions? The wireless card is a DWL-G650 pccard, revision B2 pciconf -vlbc says this about it: ath0@pci0:2:0:0: class=0x020000 card=0x32021186 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x88000000, size 65536, enabled cap 01[44] = powerspec 2 supports D0 D3 current D0 From mkhitrov at gmail.com Tue May 5 17:39:58 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Tue May 5 17:40:06 2009 Subject: Measuring CPU usage via SNMP Message-ID: <26ddd1750905051039y67bed9a5g6e1419b57b9e74fe@mail.gmail.com> Hello all, Simple question - does the sum of differences in ssCpuRawIdle, ssCpuRawUser, ssCpuRawNice, ssCpuRawKernel, and ssCpuRawInterrupt OIDs on a FreeBSD 7.2 system give me total CPU allocation (i.e. is a constant)? I've configured a few scripts to read these values from bsnmpd, store them via rrdtool, and then generate a single graph with idle on the negative y axis and everything else stacked on top. I want to make sure that no other counter is missing from this ensemble and the ones listed do not overlap. If either of those conditions is not met, my usage percent calculation will not be accurate. The OIDs that I left out are: ssCpuRawSoftIRQ - documentation states that this is for Linux only, but FreeBSD 7.2 does provide a value for it ssCpuRawWait - always 0? ssCpuRawSystem - seems to be a sum of ssCpuRawKernel and ssCpuRawInterrupt As far as I can tell, these three do not factor into the equation. The only one I'm not sure about is ssCpuRawSystem. Is there ever a time when it will not equal to ssCpuRawKernel + ssCpuRawInterrupt? Thanks for your help, Max From freebsd at optiksecurite.com Tue May 5 17:50:20 2009 From: freebsd at optiksecurite.com (Martin Turgeon) Date: Tue May 5 17:50:29 2009 Subject: Upgrading jails to 7.2-RELEASE with freebsd-update In-Reply-To: <200905051826.09616.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <4A005D46.5010809@optiksecurite.com> <200905051826.09616.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4A007C66.3010408@optiksecurite.com> Mel Flynn a ?crit : > On Tuesday 05 May 2009 17:37:42 Martin Turgeon wrote: >> Hi everyone, >> >> It's the first time I'm using freebsd-update to upgrade my system to a >> new release. I just upgraded the base system from 7.1-RELEASE to >> 7.2-RELEASE and everything went fine. I now wanted to upgrade my jails >> to the new release but freebsd-update is telling me that's already >> updated... >> >> freebsd-update -b /usr/jail/mysql/ upgrade -r 7.2-RELEASE >> freebsd-update: Cannot upgrade from 7.2-RELEASE to itself > > Should be able to trick it using: > env UNAME_r=7.1-RELEASE-p5 freebsd-update -b /path/to/jail > > (based on a quick source scan, untested). Thanks for your answer, it worked great! But, I'm still wondering why this is necessary? I didn't have to do this last time. Thanks for the info, Martin From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 18:04:21 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 18:04:28 2009 Subject: Apache errors. In-Reply-To: <49FEF42E.30700@rakupottery.org.uk> References: <20090503120018.6ED6110656FD@hub.freebsd.org> <20090504054840inode@frozen-zone.org> <49FEF42E.30700@rakupottery.org.uk> Message-ID: <200905052004.15000.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 04 May 2009 15:57:02 Martin Smith wrote: > Armin Pirkovitsch wrote: > > Hi! > > > > Have you tried to recompile the port from which that library came? > > (pkg_info -W /usr/local/lib/libavahi-common.so.3 should help you finding > > the correct port if you do not know which port that is) > > > > Armin > > > > On Sun 03 May 2009, Jeff Molofee wrote: > >> Just started getting this.. can anyone tell me how to fix it? > >> > >> Performing sanity check on apache22 configuration: > >> httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: > >> Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: > >> /usr/local/lib/libavahi-common.so.3: Undefined symbol > >> "libintl_bindtextdomain" > > Now I have the same problem so I went to recompile avahi-app, did rmconfig > and then make config, it said no user config options, or something very > similar. > So where to now? Rebuild gettext, then avahi. The bindtextdomain is from gettext. If that don't help, disable mod_dnssd and ping avahi/apache maintainers. Most users don't need this module. It is used to advertise your http server to the local network, just in case you have it on another port. gnome-user-share and as such x11/gnome2 finds it necessary to install this stuff. Only way to get rid of it, seems to be to install gnome2-lite and then pick what extras you do want. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 18:10:29 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 18:10:36 2009 Subject: local security scanner for vulnerable common opensource www projects In-Reply-To: <49FC4186.80608@virtualhost.nl> References: <49FC4186.80608@virtualhost.nl> Message-ID: <200905052010.26393.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote: > I tried to find a program which could scan the local filesystem and > extract a lists of well known > web projects (yoomla, wordpress etc), extract the installed version > number and match it against > a database of known vulnerabilities. Similiar to portaudit, but then for > the standard scripts users > install themselves. I was unable to find such a program in the ports. > > Does such an utilities exists for FreeBSD ? Not that I'm aware of and it's hell to write and keep current. There's 2 good policies for this kind of thing: - Don't allow any plugins of any kind to be installed via CMS/Gallery software etc. and deal with the complaints - Put them in a seperate jail and make sure client understands he's responsible for getting hacked and loosing hours of work by installing unsafe plugins. -- Mel From freebsd-questions-local at be-well.ilk.org Tue May 5 18:23:43 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue May 5 18:23:57 2009 Subject: ReturnCode Checking for FTP In-Reply-To: (Eddie Chen's message of "Mon\, 4 May 2009 11\:24\:48 -0400") References: Message-ID: <44tz3z4dee.fsf@be-well.ilk.org> Eddie Chen writes: > I am looking of implementing FTP return code checking after a command > is issued > If the FTP command return "code" not equal from return code to be > check, EXIT 255. > > Command: "? nnn". Where "nnn" is the return code to be check. I'm afraid that I don't understand your question. Are you looking for an FTP client that will provide specific return codes for specific errors? Are you looking for the error codes for a specific FTP client? Are you looking for help scripting your use of an FTP client? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 18:25:39 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 18:25:45 2009 Subject: Poor ZFS performance In-Reply-To: References: <49FC10DE.9000401@isafeelin.org> Message-ID: <200905052025.36255.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 04 May 2009 02:07:41 nf wrote: > On Sat, May 2, 2009 at 7:22 PM, Frederique Rijsdijk > > wrote: > > nf wrote: > >> 733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec) > > > > That is very low. I get about 60MB/sec in this way. Adding bs=1m it'll go > > up to 240MB/sec even (raidz1 with 4*1TB). > > > > Could you show top -S ? > > I will, the next time I experience the issue. > > I had already rebooted the box, which immediately alleviated the > issue. I can only presume, at this point, that it seems to have been > related to the 2gb of allocated/active memory shown by top. I had no > memory intensive apps running, merely an idle lighttpd, mysqld, and > rtorrent (which only occupied about 90mb). There's a thread or 2 on -current list about ZFS arc cache growth, that you may or may not be seeing as well. -- Mel From freebsd-questions-local at be-well.ilk.org Tue May 5 18:33:29 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue May 5 18:33:35 2009 Subject: Dump snapshot issue... In-Reply-To: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> (Marc Coyles's message of "Tue\, 5 May 2009 10\:39\:27 +0100") References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> Message-ID: <44pren4cy5.fsf@be-well.ilk.org> "Marc Coyles" writes: > I've got a script that dumps various filesystems to tape for me, but > I've always had an issue whenever I've used the -L option... see below: > > /usr/bin/mt rewind > /sbin/dump 0aLuf /dev/sa0 / > dump: Cannot create //.snap/dump_snapshot: No such file or directory > > /sbin/dump 0aLuf /dev/sa0 /home > mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error > dump: Cannot create /home/.snap/dump_snapshot: No such file or directory > > /sbin/dump 0aLuf /dev/sa0 /tmp > dump: Cannot create /tmp/.snap/dump_snapshot: No such file or directory > > /sbin/dump 0aLuf /dev/sa0 /usr > dump: Cannot create /usr/.snap/dump_snapshot: No such file or directory > > /sbin/dump 0aLuf /dev/sa0 /var > dump: Cannot create /var/.snap/dump_snapshot: No such file or directory > > /usr/bin/mt rewind > > > The .snap folders exist at all points, are set to root:operator, with > perms 770... > The dump_snapshot files seem to be present, albeit 0 bytes, > root:operator, perms 400... > > Running 7.0-RELEASE-p11... > > Any suggestions? Wow. That's strange. I've never seen anything like it. One thing you should try is to remove the dump_snapshot files, because they are supposed to be unlinked when the dump starts anyway, so they shouldn't be sticking around. Also, look for file flags on the directories, or ACLs, etc. And consider the permissions you're running dump with. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From frederique at isafeelin.org Tue May 5 18:47:26 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Tue May 5 18:47:33 2009 Subject: Shopping for external harddrive In-Reply-To: References: Message-ID: <4A0089B9.7050201@isafeelin.org> Daniel Underwood wrote: > I'm looking to purchase a >= 1TB external harddrive, because I'm > running out of room on my 300GB external. Anyone have good experience > with any particular brands? I really don't know how different brands > compare in reliability to one another. Of course I plan to check CNet > and other online reviews. But I also wanted to see if any of you folks > have personal recommendations. > 1TB samsung USB drive, use it for backups. The drive is an "ECO" version, spinning at 5400rpm. That keeps the temperature down. Works nicely. -- F From yavuz.maslak at netiletisim.net Tue May 5 18:35:35 2009 From: yavuz.maslak at netiletisim.net (=?utf-8?Q?Yavuz_Ma=C5=9Flak?=) Date: Tue May 5 19:02:12 2009 Subject: How can I extract differences between 2 folders ? References: <20090505165621inode@frozen-zone.org> Message-ID: <4D71445373A74C088A3CDBF3868278A4@desktop2002> First I am sorry writing folders instead of files. as far as I see diff command compares differences line by line between 2 files That's to say, File a orange blue yellow File b yellow blue orange diff --suppress-common-lines -w -y a b orange < blue < > blue > orange as above you see, A and B files contains the same strings but their's lines are different I wish diff or another command not to display same values which are in different lines. > First of all I suppose you're talking about 2 files, not folders. > In which case the command you're using isn't looking so bad since it > shows the differences between file "a" and file "b": > > > diff --suppress-common-lines -w -y a b > abcde | xyasz > > But since you do not seem to be happy with the output - what should it > look like? > > Armin > > On Tue 05 May 2009, Yavuz Ma?lak wrote: > >> I have two folders which contains some expressions in everyline as >> following; >> File A: >> abcde >> 12345 >> etc. >> >> File B: >> xyzas >> 12345 >> etc >> >> As above some strings are same and some strings are different. >> There are several differents between these two files. >> >> When I run diff command "diff --suppress-common-lines -y -w file1 file2 > >> fileresult" like I couldn't result right. >> How can I extract differences between 2 folders ? >> >> Which command do I need to use ? > > -- > Armin Pirkovitsch > a.pirko@inode.at > _______________________________________________ > 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 mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 19:08:01 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 19:08:08 2009 Subject: kernel errors - watchdog timeout In-Reply-To: <26b281ee0905010712n67847ad9v3cd47d85fc34974d@mail.gmail.com> References: <26b281ee0905010712n67847ad9v3cd47d85fc34974d@mail.gmail.com> Message-ID: <200905052107.57923.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 01 May 2009 16:12:50 Seur Bors wrote: > I'm constantly getting the following repeated in my /var/log/messages: > > kernel: re0: watchdog timeout > kernel: re0: link state changed to DOWN > kernel: re0: link state changed to UP > > This was happening right from the get-go on new hardware running > 7.1-Release-p4, but only happened infrequently. Apparently as well, > although everything seems to be working, the server seems to be responding > very sluggish (over 10 minutes to work with a 1MB file through a Samba > share, no exageration on the time). > > Can someone point me to required reading for these types of networking > errors? DIAGNOSTICS ... re(4): re%d: watchdog timeout The device has stopped responding to the network, or there is a problem with the network connection (cable). In short: cable or hardware. If you're sure this is not the case, you should file a PR and mention you switched out cables and (if possible) the card. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 19:13:02 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 19:13:54 2009 Subject: PostgreSQL 8.3.7 builds incomplete In-Reply-To: <200904292132.n3TLWaYo090885@asarian-host.net> References: <200904292132.n3TLWaYo090885@asarian-host.net> Message-ID: <200905052112.59218.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 29 April 2009 23:32:37 Mark wrote: > I should have looked better, instead of just picking the highest-version > > server. Still, makes you wonder, if the postgresql84-server port is so > > incredibly broken, why even include it? It's a "repo copy stub" for the forthcoming release, that the maintainer really should've marked as broken, until he and PostgreSQL is done with it. -- Mel From Ggatten at waddell.com Tue May 5 19:20:12 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Tue May 5 19:20:20 2009 Subject: How can I extract differences between 2 folders ? Message-ID: <70C0964126D66F458E688618E1CD008A0793EBAE@WADPEXV0.waddell.com> I could write something in perl, but don't know if anything exists or not. ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Tue May 05 13:35:22 2009 Subject: Re: How can I extract differences between 2 folders ? First I am sorry writing folders instead of files. as far as I see diff command compares differences line by line between 2 files That's to say, File a orange blue yellow File b yellow blue orange diff --suppress-common-lines -w -y a b orange < blue < > blue > orange as above you see, A and B files contains the same strings but their's lines are different I wish diff or another command not to display same values which are in different lines. > First of all I suppose you're talking about 2 files, not folders. > In which case the command you're using isn't looking so bad since it > shows the differences between file "a" and file "b": > > > diff --suppress-common-lines -w -y a b > abcde | xyasz > > But since you do not seem to be happy with the output - what should it > look like? > > Armin > > On Tue 05 May 2009, Yavuz Ma?lak wrote: > >> I have two folders which contains some expressions in everyline as >> following; >> File A: >> abcde >> 12345 >> etc. >> >> File B: >> xyzas >> 12345 >> etc >> >> As above some strings are same and some strings are different. >> There are several differents between these two files. >> >> When I run diff command "diff --suppress-common-lines -y -w file1 file2 > >> fileresult" like I couldn't result right. >> How can I extract differences between 2 folders ? >> >> Which command do I need to use ? > > -- > Armin Pirkovitsch > a.pirko@inode.at > _______________________________________________ > 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From djuatdelta at gmail.com Tue May 5 19:23:34 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 19:23:42 2009 Subject: xdm freezes - 7.2-RELEASE installed Message-ID: Just installed 7.2-RELEASE. After changing my /etc/ttys to default to xdm and rebooting, my machine opens xdm, but I cannot type or press enter. My keyboard isn't totally unresponsive, however, because I can Ctrl+Alt+F# to another virtual terminal. Any ideas? Thanks, Daniel From frederique at isafeelin.org Tue May 5 19:43:03 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Tue May 5 19:43:11 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: Message-ID: <4A0096C4.2040609@isafeelin.org> Hi, Daniel Underwood wrote: > Just installed 7.2-RELEASE. After changing my /etc/ttys to default to > xdm and rebooting, my machine opens xdm, but I cannot type or press > enter. My keyboard isn't totally unresponsive, however, because I can > Ctrl+Alt+F# to another virtual terminal. Try adding: Option "AllowEmptyInput" "off" .. to the "ServerLayout" section of your xorg.conf, see if that helps. See man xorg.conf too. -- Frederique From djuatdelta at gmail.com Tue May 5 19:53:12 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 19:53:19 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: <4A0096C4.2040609@isafeelin.org> References: <4A0096C4.2040609@isafeelin.org> Message-ID: I don't have an xorg.conf file. When I installed 7.1-RELEASE on this laptop (exact same machine) I didn't need to configure an xorg.conf file. But I'll certainly try your advice. Thanks! From freebsd at edvax.de Tue May 5 19:56:14 2009 From: freebsd at edvax.de (Polytropon) Date: Tue May 5 19:56:22 2009 Subject: How can I extract differences between 2 folders ? In-Reply-To: <4D71445373A74C088A3CDBF3868278A4@desktop2002> References: <20090505165621inode@frozen-zone.org> <4D71445373A74C088A3CDBF3868278A4@desktop2002> Message-ID: <20090505215611.c074b710.freebsd@edvax.de> On Tue, 5 May 2009 21:35:22 +0300, Yavuz Ma?lak wrote: > First I am sorry writing folders instead of files. Directories. FreeBSD has directories and files. Please try to use the correct terminology. > I wish diff or another command not to display same values which are in > different lines. You could first run the files through sort, then diff them. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From andrewlylegould at gmail.com Tue May 5 20:15:40 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue May 5 20:15:47 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: Message-ID: On Tue, May 5, 2009 at 2:23 PM, Daniel Underwood wrote: > Just installed 7.2-RELEASE. After changing my /etc/ttys to default to > xdm and rebooting, my machine opens xdm, but I cannot type or press > enter. My keyboard isn't totally unresponsive, however, because I can > Ctrl+Alt+F# to another virtual terminal. > > Any ideas? > > Thanks, > Daniel > _______________________________________________ > 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" > Could you use your mouse in xdm? I don't know if this is related; but I couldn't get my mouse to work in KDE or XFCE4 until I turned on hal. I added the following to /etc/rc.conf and rebooted: dbus_enable="YES" hald_enable="YES" Best of luck, Andrew From djuatdelta at gmail.com Tue May 5 20:17:57 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 20:18:04 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: Message-ID: Yep, that was it! I should have read the Handbook more thoroughly: http://www.freebsd.org/doc/en/books/handbook/x-config.html#AEN6615 From andrewlylegould at gmail.com Tue May 5 20:19:53 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue May 5 20:20:00 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: Message-ID: On Tue, May 5, 2009 at 3:17 PM, Daniel Underwood wrote: > Yep, that was it! I should have read the Handbook more thoroughly: > http://www.freebsd.org/doc/en/books/handbook/x-config.html#AEN6615 > me too ;-) From m.seaman at infracaninophile.co.uk Tue May 5 20:20:16 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue May 5 20:20:23 2009 Subject: How can I extract differences between 2 folders ? In-Reply-To: <20090505215611.c074b710.freebsd@edvax.de> References: <20090505165621inode@frozen-zone.org> <4D71445373A74C088A3CDBF3868278A4@desktop2002> <20090505215611.c074b710.freebsd@edvax.de> Message-ID: <4A009F6C.80009@infracaninophile.co.uk> Polytropon wrote: > On Tue, 5 May 2009 21:35:22 +0300, Yavuz Ma?lak wrote: >> I wish diff or another command not to display same values which are in >> different lines. > > You could first run the files through sort, then diff them. Rather than diff(1), perhaps comm(1) is a better choice. You still need to sort the input files though: % sort file1 > file1.sorted % sort file2 > file2.sorted % comm -3 file1.sorted file2.sorted This will print two columns of output. The first column consists of lines that are only in file1, and the second of lines that are only in file2. 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/20090505/57d342ba/signature-0001.pgp From freebsd.questions at virtualhost.nl Tue May 5 20:41:15 2009 From: freebsd.questions at virtualhost.nl (Jeroen Hofstee) Date: Tue May 5 20:41:27 2009 Subject: local security scanner for vulnerable common opensource www projects In-Reply-To: <200905052010.26393.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <49FC4186.80608@virtualhost.nl> <200905052010.26393.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4A00A467.9060506@virtualhost.nl> Mel Flynn schreef: > On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote: > >> I tried to find a program which could scan the local filesystem and >> extract a lists of well known web projects (joomla, wordpress etc) > Not that I'm aware of and it's hell to write and keep current. > k, pitty. Although user can be jailed, it is still a bit unconfortable experience for users if their website looks somewhat different then they are used to; or their message board suddenly contains 20000 additional post, albeit due to their own lack of maintaining the scripts behind it. A reminder that their script has known vulnerabities would therefore be nice, even if it doesn't pose a direct risk to the system as a whole. Most of these open source projects are in the ports, so the portaudit db will contain vulnerability information for them. If I find time, I will have a look if it is possible to match against that db. Jeroen From sonicy at otenet.gr Tue May 5 21:01:50 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue May 5 21:01:57 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: Message-ID: <4A00A93B.4080600@otenet.gr> Andrew Gould wrote: > On Tue, May 5, 2009 at 3:17 PM, Daniel Underwood wrote: > > >> Yep, that was it! I should have read the Handbook more thoroughly: >> http://www.freebsd.org/doc/en/books/handbook/x-config.html#AEN6615 >> >> > > > me too ;-) > Taking this opportunity, allow me to remind to everyone that the Handbook is always "work in progress" and it is always useful to check again sections that you have already read, as new info is added regularly. This latest addition to the Handbook was in fact inspired by questions and info appearing on this same list :) From mel.flynn+fbsd.questions at mailing.thruhere.net Tue May 5 21:04:32 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue May 5 21:04:39 2009 Subject: Where am I wasting resources? How to fix this problem? In-Reply-To: References: <2cd0a0da0904280122x5416837re97255dc37283dc5@mail.gmail.com> <2cd0a0da0904301202n1edaea1du5bba7e8b34266d70@mail.gmail.com> Message-ID: <200905052304.28141.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 30 April 2009 21:49:13 Chuck Swiger wrote: > Hi, VeeJay-- > > On Apr 30, 2009, at 12:02 PM, VeeJay wrote: > > Guys, I am not very good on freebsd, its you guys who help me to > > keeping my > > server up... I hope you can spare a few minutes to sort this > > problem... > > > > last pid: 19656; load averages: 1.00, 1.00, > > 1.00 > > up 2+05:00:12 19:18:47 > > 3049 processes:2 running, 3047 sleeping > > CPU: 12.5% user, 0.0% nice, 0.1% system, 0.0% interrupt, 87.4% idle > > Mem: 6253M Active, 3810M Inact, 921M Wired, 128K Cache, 214M Buf, > > 4683M Free > > Swap: 32G Total, 32G Free > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > COMMAND > > 830 mysql 1500 44 0 1670M 813M ucond 1 0:00 100.00% > > mysqld > > It sure looks like you're running into a system limit with the maximum > # of threads available to the mysql process. There's no such limit, see pthread_create(3) and pthread.h: #define PTHREAD_THREADS_MAX __ULONG_MAX but the 1500 is suspicious. Suspicious enough to be a MySQL configuration value or compile time option. The only way to get to the bottom of it, is to watch the number of threads in the mysql process and attach ktrace to it the moment it approaches 1500, to see if pthread_create actually does return EAGAIN and get a hint as to where. My suspicion however is that the thread abstraction of MySQL sets EAGAIN. A my.cnf certainly would help. -- Mel From freebsd at wcubed.net Tue May 5 21:07:15 2009 From: freebsd at wcubed.net (Brad Waite) Date: Tue May 5 21:07:22 2009 Subject: watchdog questions Message-ID: <4A00AA73.8080101@wcubed.net> I need some help understanding FreeBSD's kernel watchdog functionality. I've been reading up, and here's what I think I understand (correct me if I'm wrong): If a watchdog timer is set in the kernel and not reset or disabled within the time given, the kernel reboots the system. 'watchdog -t ' starts a watchdog for n seconds. Runing watchdog(8) again in References: <49FC4186.80608@virtualhost.nl> <200905052010.26393.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A009BCB.9070700@virtualhost.nl> Message-ID: <200905052313.47805.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 05 May 2009 22:04:27 Jeroen Hofstee wrote: > Mel Flynn schreef: > > On Saturday 02 May 2009 14:50:14 Jeroen Hofstee wrote: > >> I tried to find a program which could scan the local filesystem and > >> extract a lists of well known web projects (joomla, wordpress etc) > > > > Not that I'm aware of and it's hell to write and keep current. > > k, pitty. Although user can be jailed, it is still a bit unconfortable > experience for users if their website looks > somewhat different then they are used to; or their message board > suddenly contains 20000 additional post, > albeit due to their own lack of maintaining the scripts behind it. A > reminder that their script has known > vulnerabities would therefore be nice, even if it doesn't pose a direct > risk to the system as a whole. I understand the problem. > Most of these open source projects are in the ports, so the portaudit db > will contain vulnerability information > for them. If I find time, I will have a look if it is possible to match > against that db. You can do that, the issue is plugins: 0) SuperCMS v 1.0 installed 1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta 2) SuperCMS v 1.0.1 security release, changes some issues with plugin handling 3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan 4) CoolStuff still works, because of backwards compatibility, but now is insecure. Stuff like this goes back to the phpNukeYourSite days. -- Mel From echen at nyx.com Tue May 5 21:26:01 2009 From: echen at nyx.com (Eddie Chen) Date: Tue May 5 21:26:09 2009 Subject: ReturnCode Checking for FTP In-Reply-To: <44tz3z4dee.fsf@be-well.ilk.org> Message-ID: Lowell, I am looking for a FTP clients that exit with a return code. However, last week I download the tnftp and started implementing it. It's actually trivial to implement this feature. If this works, do you think it should be part of the ftp client. Thanks. Lowell Gilbert Eddie Chen cc 05/05/2009 freebsd-questions@FreeBSD.org 02:23 PM Subject Re: ReturnCode Checking for FTP Please respond to freebsd-questions @FreeBSD.org Eddie Chen writes: > I am looking of implementing FTP return code checking after a command > is issued > If the FTP command return "code" not equal from return code to be > check, EXIT 255. > > Command: "? nnn". Where "nnn" is the return code to be check. I'm afraid that I don't understand your question. Are you looking for an FTP client that will provide specific return codes for specific errors? Are you looking for the error codes for a specific FTP client? Are you looking for help scripting your use of an FTP client? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. From yuri at rawbw.com Tue May 5 21:47:40 2009 From: yuri at rawbw.com (Yuri) Date: Tue May 5 21:47:46 2009 Subject: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping? Message-ID: <4A00B3FA.5050905@rawbw.com> I am seeing 85MB/s as a speed of a single Hitachi 1TB HD. How high can you go by mirroring or striping 2, 3, 4 harddrives? Any experiences? Thank you, Yuri From dnelson at allantgroup.com Tue May 5 21:55:43 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue May 5 21:55:51 2009 Subject: Measuring CPU usage via SNMP In-Reply-To: <26ddd1750905051039y67bed9a5g6e1419b57b9e74fe@mail.gmail.com> References: <26ddd1750905051039y67bed9a5g6e1419b57b9e74fe@mail.gmail.com> Message-ID: <20090505215539.GE3371@dan.emsphone.com> In the last episode (May 05), Maxim Khitrov said: > Simple question - does the sum of differences in ssCpuRawIdle, > ssCpuRawUser, ssCpuRawNice, ssCpuRawKernel, and ssCpuRawInterrupt OIDs on > a FreeBSD 7.2 system give me total CPU allocation (i.e. is a constant)? > I've configured a few scripts to read these values from bsnmpd, store them > via rrdtool, and then generate a single graph with idle on the negative y > axis and everything else stacked on top. I want to make sure that no > other counter is missing from this ensemble and the ones listed do not > overlap. If either of those conditions is not met, my usage percent > calculation will not be accurate. > > The OIDs that I left out are: > > ssCpuRawSoftIRQ - documentation states that this is for Linux only, > but FreeBSD 7.2 does provide a value for it > ssCpuRawWait - always 0? > ssCpuRawSystem - seems to be a sum of ssCpuRawKernel and ssCpuRawInterrupt > > As far as I can tell, these three do not factor into the equation. The > only one I'm not sure about is ssCpuRawSystem. Is there ever a time when > it will not equal to ssCpuRawKernel + ssCpuRawInterrupt? The nice thing about open source software is you can read the source and see what's going on :) The FreeBSD kernel statclock() function: http://fxr.watson.org/fxr/source/kern/kern_clock.c#L442 updates the cp_time[] array, and it increments one of CP_NICE, CP_USER, CP_INTR, CP_SYS, and CP_IDLE on each tick. The Net-SNMP var_extensible_vmstat() function: http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent/mibgroup/ucd-snmp/vmstat_freebsd2.c?revision=HEAD&view=markup#l_165 fetches that array and maps those indexes to CPURAWNICE, CPURAWUSER, CPURAWINTR, CPURAWKERNEL, and CPURAWIDLE. So fetching the matching ssCpuRaw* oids and totaling them up should always equal 100% cpu. -- Dan Nelson dnelson@allantgroup.com From sonicy at otenet.gr Tue May 5 21:57:15 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Tue May 5 21:57:22 2009 Subject: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping? In-Reply-To: <4A00B3FA.5050905@rawbw.com> References: <4A00B3FA.5050905@rawbw.com> Message-ID: <4A00B638.9080400@otenet.gr> Yuri wrote: > I am seeing 85MB/s as a speed of a single Hitachi 1TB HD. > How high can you go by mirroring or striping 2, 3, 4 harddrives? > > Any experiences? > > Thank you, > Yuri > Highly unscientific measurement here, but I seem to be getting a max of ~160 MB/s by striping two Seagate 500Gb drives. From freebsd.questions at virtualhost.nl Tue May 5 22:15:11 2009 From: freebsd.questions at virtualhost.nl (Jeroen Hofstee) Date: Tue May 5 22:15:18 2009 Subject: local security scanner for vulnerable common opensource www projects In-Reply-To: <200905052313.47805.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <49FC4186.80608@virtualhost.nl> <200905052010.26393.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A009BCB.9070700@virtualhost.nl> <200905052313.47805.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <4A00BA6C.2070307@virtualhost.nl> Mel Flynn schreef: > You can do that, the issue is plugins: > 0) SuperCMS v 1.0 installed > 1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta > 2) SuperCMS v 1.0.1 security release, changes some issues with plugin > handling > 3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan > 4) CoolStuff still works, because of backwards compatibility, but now > is insecure. > > Stuff like this goes back to the phpNukeYourSite days. > I understand that there are allot of caveats and that is quite some work to create a full blown checker, especially with plugins. But as far as I am corcerned, finding the easy to locate vultnerable script is already better then doing nothing. Jeroen From freebsd at edvax.de Tue May 5 23:24:40 2009 From: freebsd at edvax.de (Polytropon) Date: Tue May 5 23:24:48 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: <4A00A93B.4080600@otenet.gr> References: <4A00A93B.4080600@otenet.gr> Message-ID: <20090506012428.8f793949.freebsd@edvax.de> On Wed, 06 May 2009 00:01:47 +0300, Manolis Kiagias wrote: > Taking this opportunity, allow me to remind to everyone that the > Handbook is always "work in progress" and it is always useful to check > again sections that you have already read, as new info is added > regularly. This latest addition to the Handbook was in fact inspired by > questions and info appearing on this same list :) A very polite addition of mine: It's always wise to study /usr/ports/UPDATING, a file that explains the reasons when your system suddenly went nuts. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From djuatdelta at gmail.com Tue May 5 23:32:57 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 23:33:04 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: <20090506012428.8f793949.freebsd@edvax.de> References: <4A00A93B.4080600@otenet.gr> <20090506012428.8f793949.freebsd@edvax.de> Message-ID: I thought /usr/ports/UPDATING is only created when you appraise your ports with a view toward updating. I.e, after a fresh install of 7.2 (not an upgrade from 7.1), I didn't think the UPDATING file would be very helpful. From andrewlylegould at gmail.com Tue May 5 23:45:04 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue May 5 23:45:11 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: <4A00A93B.4080600@otenet.gr> <20090506012428.8f793949.freebsd@edvax.de> Message-ID: On Tue, May 5, 2009 at 6:32 PM, Daniel Underwood wrote: > I thought /usr/ports/UPDATING is only created when you appraise your > ports with a view toward updating. I.e, after a fresh install of 7.2 > (not an upgrade from 7.1), I didn't think the UPDATING file would be > very helpful. > It's good, general advice. There are UPDATING files in various places for various updates, I think, including /usr/src/. It's almost as good as.....(wait for it)......" and always back up your data." (That one never gets old!) :-) Andrew From djuatdelta at gmail.com Tue May 5 23:53:48 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 5 23:53:56 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: <4A00A93B.4080600@otenet.gr> <20090506012428.8f793949.freebsd@edvax.de> Message-ID: <446D16A7-AF69-405C-913D-9EFA304E9616@gmail.com> Absolutely! (Sent from my iPhone) On May 5, 2009, at 7:45 PM, Andrew Gould wrote: > On Tue, May 5, 2009 at 6:32 PM, Daniel Underwood > wrote: > I thought /usr/ports/UPDATING is only created when you appraise your > ports with a view toward updating. I.e, after a fresh install of 7.2 > (not an upgrade from 7.1), I didn't think the UPDATING file would be > very helpful. > > It's good, general advice. There are UPDATING files in various > places for various updates, I think, including /usr/src/. > > It's almost as good as.....(wait for it)......" and always back up > your data." > > (That one never gets old!) > > :-) > > Andrew From freebsd at edvax.de Wed May 6 00:22:04 2009 From: freebsd at edvax.de (Polytropon) Date: Wed May 6 00:22:11 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: References: <4A00A93B.4080600@otenet.gr> <20090506012428.8f793949.freebsd@edvax.de> Message-ID: <20090506022157.57174896.freebsd@edvax.de> On Tue, 5 May 2009 18:45:02 -0500, Andrew Gould wrote: > It's good, general advice. There are UPDATING files in various places for > various updates, I think, including /usr/src/. At least according to the history of problems with X that appeared on this list, /usr/ports/UPDATING hasn't received the attention it should. Things like the "empty inputs" and the crazy DBUS & HAL stuff has been mentioned there. I didn't update my X yet, so I will have all this trouble in the future. :-) > It's almost as good as.....(wait for it)......" and always back up your > data." Customer: "I've just done a new Word document, saved it, then accidentally deleted it. Is there anything you can do to get it back?" Tech Support: "Sorry, no, the backup isn't run until night time." Customer: "Ohh, can we restore it tomorrow, then?" :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From agus.262 at gmail.com Wed May 6 00:42:48 2009 From: agus.262 at gmail.com (Agus) Date: Wed May 6 00:42:55 2009 Subject: Problem with edquotas Message-ID: Hi guys, Im having an issue while trying to use edquota.... I've been using it for months with no problemss... but now when i use it the quota aint assigned.. adn i get no error soo.. i sunno where to start looking.... 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: In /home -rw-r--r-- 1 root operator 29G May 5 21:37 quota.user if i use edquota net1 i can add the quotas.. save and then #quota net1 Disk quotas for user net1 (uid 10889): none Any hints appreciatte.... Thanks guys From freebsd-questions-local at be-well.ilk.org Wed May 6 00:56:34 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed May 6 00:56:40 2009 Subject: ReturnCode Checking for FTP In-Reply-To: (Eddie Chen's message of "Tue\, 5 May 2009 16\:56\:46 -0400") References: Message-ID: <44zldrjbgr.fsf@lowell-desk.lan> Eddie Chen writes: > I am looking for a FTP clients that exit with a return code. > > However, last week I download the tnftp and started implementing it. > It's actually trivial to implement this feature. > > If this works, do you think it should be part of the ftp client. I've never used return codes with ftp(1), but I have used them with fetch(1), which is also part of the base system. Have you tried fetch? If it doesn't meet your needs, can you explain why? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From andrewlylegould at gmail.com Wed May 6 01:25:16 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Wed May 6 01:25:23 2009 Subject: xdm freezes - 7.2-RELEASE installed In-Reply-To: <20090506022157.57174896.freebsd@edvax.de> References: <4A00A93B.4080600@otenet.gr> <20090506012428.8f793949.freebsd@edvax.de> <20090506022157.57174896.freebsd@edvax.de> Message-ID: On Tue, May 5, 2009 at 7:21 PM, Polytropon wrote: > On Tue, 5 May 2009 18:45:02 -0500, Andrew Gould > wrote: > > It's good, general advice. There are UPDATING files in various places > for > > various updates, I think, including /usr/src/. > > At least according to the history of problems with X that > appeared on this list, /usr/ports/UPDATING hasn't received > the attention it should. Things like the "empty inputs" and > the crazy DBUS & HAL stuff has been mentioned there. > > I didn't update my X yet, so I will have all this trouble > in the future. :-) > > > > > It's almost as good as.....(wait for it)......" and always back up your > > data." > > Customer: "I've just done a new Word document, saved it, then > accidentally deleted it. Is there anything you can do > to get it back?" > Tech Support: "Sorry, no, the backup isn't run until night time." > Customer: "Ohh, can we restore it tomorrow, then?" > I'm not sure whether to laugh or cry over this one. ;-) > > :-) > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From mike at sentex.net Wed May 6 02:17:23 2009 From: mike at sentex.net (mike@sentex.net) Date: Wed May 6 02:17:30 2009 Subject: watchdog questions In-Reply-To: <4A00AA73.8080101@wcubed.net> References: <4A00AA73.8080101@wcubed.net> Message-ID: <6nr1051kvjm0gh1inhl7ci88u0e8qcp9nk@4ax.com> On Tue, 05 May 2009 15:06:59 -0600, in sentex.lists.freebsd.questions you wrote: > >'watchdog -t ' starts a watchdog for n seconds. Runing watchdog(8) again in >the watchdog. > >watchdogd(8) either runs stat(2) on /etc, or a user-defined cmd (with -e), and >resets the watchdog only on a zero exit code. > >There's a few things that aren't clear, though: > >How many watchdog timers can be enabled at a given time? If more than one, >does a single 'watchdog -t 0' disable all timers? Hi, A single timer. If you want to disable the daemon and disarm it, just kill off the daemon > >Upon timer expiration, can the kernel be configured to do anything OTHER than >rebooting? Not that I am aware of > >Is it the general idea that watchdog(8) would be run in a script, making sure >the script doesn't hang? And that watchdogd(8) is run to ensure the entire >system doesn't hang? Yes, that can be done. One thing we do for some of our embedded devices is use the watchdog facility as a "safe way to reboot" the system. If we detect a state where we should not be in, we do a killall -9 watchdogd ... As as way to ensure the device will reboot. Note, we have everything mounted ro so we dont have to worry about file system issues. Does the platform you are using support hardware watchdogs ? ---Mike From vuthecuong at luvina.net Wed May 6 02:54:56 2009 From: vuthecuong at luvina.net (vuthecuong) Date: Wed May 6 02:55:03 2009 Subject: carefull confirm on using linux_base-fc8 Message-ID: <23399213.post@talk.nabble.com> Hi all I just did a clean install of freebsd 7.2 final release (I not enable linux compatibility during install). In first boot, I enabled linux compatibilitty with linux_base-fc8 as below: ==================================== Add linux_enable=?YES? to /etc/rc.conf. Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab: linproc /usr/compat/linux/proc linprocfs rw 0 0 mkdir -p /usr/compat/linux/proc mount /usr/compat/linux/proc /etc/rc.d/abi start /etc/rc.d/sysctl start cd /usr/ports/emulators/linux_base-f8 && make install clean ==================================== When 'make install clean' in port 'linux_base-f8', I saw that it retrieved files (rpm etc) from fc8 directory on the net. However, when I install net/skype, I saw that it retrieved files (rpm etc) from fc4 on the net (sorry for my bad English). (I still not installed X yet so I cannot very fied my skype will run fine or not). So my question is: is it normal or abnormal when 'make install ' retrieved files (rpm etc) from fc4, not from fc8 althought I already enabled linux_base-f8? If it is abnormal, how can I solve it? Thanks and regards -- View this message in context: http://www.nabble.com/carefull-confirm-on-using-linux_base-fc8-tp23399213p23399213.html Sent from the freebsd-questions mailing list archive at Nabble.com. From on at cs.ait.ac.th Wed May 6 02:55:27 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed May 6 02:55:34 2009 Subject: Xdvi with amd64 In-Reply-To: (message from Andrew Wright on Sun, 3 May 2009 10:34:31 -0300 (ADT)) References: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> Message-ID: <200905040212.n442C28A071537@banyan.cs.ait.ac.th> HI Andrew, > Exactly which fonts are you having trouble with? I can tell you > whether I can reproduce the issue under 7.1. Nothing exotic at all: cmr10.300.pk The error message is: $ xdvi memo Note: overstrike characters may be incorrect. >>> xdvi: Wrong number of bits stored: char. 68, font cmr10 $ Any other font will give the same error message for one character or another. Thanks for the help, olivier From on at cs.ait.ac.th Wed May 6 03:01:10 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed May 6 03:01:16 2009 Subject: Xdvi with amd64 In-Reply-To: <200905040212.n442C28A071537@banyan.cs.ait.ac.th> (message from Olivier Nicole on Mon, 4 May 2009 09:12:02 +0700 (ICT)) References: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> <200905040212.n442C28A071537@banyan.cs.ait.ac.th> Message-ID: <200905060300.n46304bC094059@banyan.cs.ait.ac.th> Hi, > > Exactly which fonts are you having trouble with? I can tell you > > whether I can reproduce the issue under 7.1. > > Nothing exotic at all: cmr10.300.pk > > The error message is: > > $ xdvi memo > Note: overstrike characters may be incorrect. > >>> xdvi: Wrong number of bits stored: char. 68, font cmr10 > $ > > Any other font will give the same error message for one character or > another. After trying on 7.1 and having the same problem, I resolve to install from the source the latest version of xdvi and the installation went fine. Bests, olivier From amvandemore at gmail.com Wed May 6 03:08:01 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed May 6 03:08:07 2009 Subject: carefull confirm on using linux_base-fc8 In-Reply-To: <23399213.post@talk.nabble.com> References: <23399213.post@talk.nabble.com> Message-ID: <4A00FF04.1050209@gmail.com> vuthecuong wrote: > Hi all > I just did a clean install of freebsd 7.2 final release (I not enable linux > compatibility during install). > In first boot, I enabled linux compatibilitty with linux_base-fc8 as below: > ==================================== > Add linux_enable=?YES? to /etc/rc.conf. > Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. > Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. > Add this line to /etc/fstab: > linproc /usr/compat/linux/proc linprocfs rw 0 0 > mkdir -p /usr/compat/linux/proc > mount /usr/compat/linux/proc > /etc/rc.d/abi start > /etc/rc.d/sysctl start > cd /usr/ports/emulators/linux_base-f8 && make install clean > ==================================== > > When 'make install clean' in port 'linux_base-f8', I saw that it retrieved > files (rpm etc) from > fc8 directory on the net. However, when I install net/skype, I saw that it > retrieved files (rpm etc) > from fc4 on the net (sorry for my bad English). > (I still not installed X yet so I cannot very fied my skype will run fine or > not). > So my question is: is it normal or abnormal when 'make install ' retrieved > files (rpm etc) > from fc4, not from fc8 althought I already enabled linux_base-f8? > > If it is abnormal, how can I solve it? > Thanks and regards > > If you intend on using f8, you'll want entries like this in /etc/make.conf USE_LINUX_BASE_PORT=f8 USE_LINUX_NONBASE_PORTS=f8 OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 That and other useful information can always be found in /usr/ports/UPDATING From vuthecuong at luvina.net Wed May 6 03:12:51 2009 From: vuthecuong at luvina.net (vuthecuong) Date: Wed May 6 03:12:58 2009 Subject: carefull confirm on using linux_base-fc8 In-Reply-To: <4A00FF04.1050209@gmail.com> References: <23399213.post@talk.nabble.com> <4A00FF04.1050209@gmail.com> Message-ID: <23399321.post@talk.nabble.com> vuthecuong wrote: If you intend on using f8, you'll want entries like this in /etc/make.conf USE_LINUX_BASE_PORT=f8 USE_LINUX_NONBASE_PORTS=f8 OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 That and other useful information can always be found in /usr/ports/UPDATING /quote> Wow, thanks for very fast reply. I understood that I was still missing some variables in my make.conf as you stated above. Btw I just reconfirmed for sure only: This means, if I installed linux_base-fc8 correctly, when I install net/skype, this port 'must' retrieve rpm files etc from fc8 directory over the net, right? cool thanks -- View this message in context: http://www.nabble.com/carefull-confirm-on-using-linux_base-fc8-tp23399213p23399321.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mel.flynn+fbsd.questions at mailing.thruhere.net Wed May 6 05:30:15 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed May 6 05:30:21 2009 Subject: local security scanner for vulnerable common opensource www projects In-Reply-To: <4A00B728.3000509@virtualhost.nl> References: <49FC4186.80608@virtualhost.nl> <200905052313.47805.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A00B728.3000509@virtualhost.nl> Message-ID: <200905060730.10672.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 06 May 2009 00:01:12 Jeroen Hofstee wrote: > Mel Flynn schreef: > > You can do that, the issue is plugins: > > 0) SuperCMS v 1.0 installed > > 1) CoolStuff via webinterface, by SuperCMSNr1Fan, version 0.1.0.1beta > > 2) SuperCMS v 1.0.1 security release, changes some issues with plugin > > handling 3) CoolStuff's maintainer is now known as CompetitorCMSNr1Fan > > 4) CoolStuff still works, because of backwards compatibility, but now is > > insecure. > > > > Stuff like this goes back to the phpNukeYourSite days. > > I understand that there are allot of caveats and that is quite some work > to create a full blown checker, especially with > plugins. But as far as I am corcerned, finding the easy to locate > vultnerable script is already better then doing nothing. Agreed, as long as the client does not assume you are responsible. Portaudit will go a long way then. Which version of a plugin is installed is not always available in the file system, some store that in the database. To ease your work, you may want to replace custom installed software with the corresponding port if available. This will go for a lot of stuff, including joomla and the various nuke forks. -- Mel From apseudoutopia at gmail.com Wed May 6 06:20:23 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Wed May 6 06:20:30 2009 Subject: HyperThreading Message-ID: <27ade5280905052320r55949c9v26c1c9db25a5d9ae@mail.gmail.com> Hello, I'm running FreeBSD 7.2-RELEASE on a dual-core Xeon. It has a custom compiled SMP kernel, ACPI enabled, with the ULE scheduler. I've been looking into HyperThreading, and I've come to the conclusion that I should not use it. I've been told that HTT is disabled by default, however sysctl and dmesg seems to contradict that: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2395.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 Logical CPUs per core: 2 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! machdep.hyperthreading_allowed: 1 hw.ncpu: 4 kern.smp.disabled: 0 kern.smp.active: 1 Am I correct to assume that the above means that HTT is enabled? There is nothing in my loader.conf, sysctl.conf, or kernel config file related to hyperthreading. Thanks. From wojtek at wojtek.tensor.gdynia.pl Wed May 6 06:21:22 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 06:21:30 2009 Subject: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping? In-Reply-To: <4A00B3FA.5050905@rawbw.com> References: <4A00B3FA.5050905@rawbw.com> Message-ID: > I am seeing 85MB/s as a speed of a single Hitachi 1TB HD. > How high can you go by mirroring or striping 2, 3, 4 harddrives? mirroring - the same, just with 2 processes reading both can get the bandwidth. make sure you use -s high enough (like 1048576) doing gmirror label stripping - the same, or 2,3,4 times, depends how you configure. for highest transfer and lowest concurrency (you mostly read huge files with one process) - use small stripe size. for lowest transfer (=1 disk) and highest concurency - use very huge stripe size like 512MB, so simply different process reading different things can hit different drives, but each I/O isn't spread. From Pieter.Donche at ua.ac.be Wed May 6 08:19:07 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Wed May 6 08:19:14 2009 Subject: move to other subnet Message-ID: Just want to check: If a freebsd7 system is to move to a different subnet (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD) same netmask 255.255.255.0 same hostname myhost.mydomain.mycountry same DNS servers then /etc/rc.conf is the only file that needs changes? defaultrouter="XXX.YYY.CCC.254" <--- hostname="myhost.mydomain.mycountry" ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <--- and reboot ? or is there any other file(s) to change? From mexas at bristol.ac.uk Wed May 6 08:32:03 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed May 6 08:32:11 2009 Subject: make - reassign variable using if-then ? Message-ID: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> I've this simple makefile: VAR=one all : main main : @echo ${.CURDIR} .if ${.CURDIR} @echo ${VAR} VAR=two @echo ${VAR} .endif When I output VAR second time, the value is still "one", and not the new value "two". Why? % make /usr/home/mexas one VAR=two one And gmake gives an error: % gmake makefile:7: *** missing separator. Stop. % please help 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 928 8233 Fax: +44 (0)117 929 4423 From on at cs.ait.ac.th Wed May 6 08:42:53 2009 From: on at cs.ait.ac.th (on@cs.ait.ac.th) Date: Wed May 6 08:43:26 2009 Subject: move to other subnet In-Reply-To: References: Message-ID: <20090506154251.o6zz76tws0sogwso@wwws.cs.ait.ac.th> Hi, > then /etc/rc.conf is the only file that needs changes? > > defaultrouter="XXX.YYY.CCC.254" <--- > hostname="myhost.mydomain.mycountry" > ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <--- > > and reboot ? > or is there any other file(s) to change? In theory, yes, that changes the IP address of the machine. But then you may have some services configured to listen to a specific IP address, these services will have to be reconfigured too. Olivier ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From jcigar at ulb.ac.be Wed May 6 08:44:06 2009 From: jcigar at ulb.ac.be (Julien Cigar) Date: Wed May 6 08:44:14 2009 Subject: move to other subnet In-Reply-To: References: Message-ID: <1241599579.2656.5.camel@frodon.be-bif.ulb.ac.be> On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote: > Just want to check: > > If a freebsd7 system is to move to a different subnet > (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD) > same netmask 255.255.255.0 > same hostname myhost.mydomain.mycountry > same DNS servers > > then /etc/rc.conf is the only file that needs changes? > yes (maybe /etc/hosts too) > defaultrouter="XXX.YYY.CCC.254" <--- > hostname="myhost.mydomain.mycountry" > ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <--- > > and reboot ? no need to reboot, just #> /etc/rc.d/netif restart > or is there any other file(s) to change? > _______________________________________________ > 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" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From mcoyles at horbury.wakefield.sch.uk Wed May 6 09:02:06 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Wed May 6 09:02:14 2009 Subject: Dump snapshot issue... In-Reply-To: <44pren4cy5.fsf@be-well.ilk.org> References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> <44pren4cy5.fsf@be-well.ilk.org> Message-ID: <009401c9ce29$42b9bea0$c82d3be0$@wakefield.sch.uk> > One thing you should try is to remove the dump_snapshot files, > because > they are supposed to be unlinked when the dump starts anyway, so > they > shouldn't be sticking around. > > Also, look for file flags on the directories, or ACLs, etc. > > And consider the permissions you're running dump with. > Dump is running as root via cron / initiated by hand. ACLs not used. Have removed all existing dump_snapshot files, and have also removed and recreated all .snap directories. S'now working fine for all mountpoints, except /home... mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory It doesn't appear to proceed "as normal" either... as you can see below, it ends the previous dump, starts the /home dump, gets an I/O error, then proceeds straight to the /usr dump. The /home dump never gets performed. If I remove the -L option, everything goes thru fine, but complains about lack of -L flag... DUMP: DUMP IS DONE mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory DUMP: Date of this level 0 dump: Wed May 6 08:30:31 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output Fsck finds no errors on /home... point to note... mksnap_ffs CAN create /home/.snap/dump_snapshot as I'm sat looking at the file, however, once it's created it it's as tho it can't access it. The file is there, it wasn't before I ran the script. It's created it as root:operator, perms 400. I can open it in pico, add content to it, and save it happily. So I'm baffled! M From guru at unixarea.de Wed May 6 09:10:54 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed May 6 09:11:02 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot Message-ID: <20090506085405.GA5251@rebelion.Sisis.de> Hello, Maybe a bit off-topic (sorry for this). I've got a fresh Dell M4400 laptop with 250 GByte, pre-installed Vista on it. Is there a way to reduce the Vista to let's say 50 GByte and install FreeBSD -CURRENT in the remaining 200 GByte, just to have the Vista later for some investigations, or whatever? Thx If not I will scratch the Vista, install FreeBSD and later in the rest of 50 GByte the Vista again. matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From mel.flynn+fbsd.questions at mailing.thruhere.net Wed May 6 09:15:13 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed May 6 09:15:20 2009 Subject: make - reassign variable using if-then ? In-Reply-To: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> References: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> Message-ID: <200905061115.07888.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote: > I've this simple makefile: > > VAR=one > > all : main > > main : > @echo ${.CURDIR} > .if ${.CURDIR} > @echo ${VAR} > VAR=two > @echo ${VAR} > .endif > > When I output VAR second time, the value is still "one", and not the > new value "two". Why? Because it is expanded before being passed to the shell. Sh sees: echo one VAR=two echo one What are you really trying to accomplish? -- Mel From mexas at bristol.ac.uk Wed May 6 09:32:21 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed May 6 09:32:28 2009 Subject: make - reassign variable using if-then ? In-Reply-To: <200905061115.07888.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> <200905061115.07888.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090506093117.GA64688@mech-cluster238.men.bris.ac.uk> On Wed, May 06, 2009 at 11:15:07AM +0200, Mel Flynn wrote: > On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote: > > I've this simple makefile: > > > > VAR=one > > > > all : main > > > > main : > > @echo ${.CURDIR} > > .if ${.CURDIR} > > @echo ${VAR} > > VAR=two > > @echo ${VAR} > > .endif > > > > When I output VAR second time, the value is still "one", and not the > > new value "two". Why? > > Because it is expanded before being passed to the shell. Sh sees: > echo one > VAR=two > echo one > > What are you really trying to accomplish? I'm trying to build gcc43 on alpha 6.4. In /usr/ports/lang/gcc43/Makefile I have: # grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile NOT_FOR_ARCHS= alpha ia64 powerpc # In /etc/make.conf I have: .if ${.CURDIR:M*/lang/gcc43*} NOT_FOR_ARCHS= ia64 USE_GCC=4.3+ .endif This used to work fine until some update. Not anymore. The second setting is being used, i.e. the port is being built with gcc43. But the NOT_FOR_ARCHS is not changed, so I have to do it manually each time. So I tried to experiment with changing variable values withing if-then. 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 928 8233 Fax: +44 (0)117 929 4423 From sonicy at otenet.gr Wed May 6 10:26:54 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed May 6 10:27:02 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <20090506085405.GA5251@rebelion.Sisis.de> References: <20090506085405.GA5251@rebelion.Sisis.de> Message-ID: <4A0165EA.1060003@otenet.gr> Matthias Apitz wrote: > Hello, > > Maybe a bit off-topic (sorry for this). I've got a fresh Dell M4400 > laptop with 250 GByte, pre-installed Vista on it. Is there a way to > reduce the Vista to let's say 50 GByte and install FreeBSD -CURRENT > in the remaining 200 GByte, just to have the Vista later for some > investigations, or whatever? Thx > > If not I will scratch the Vista, install FreeBSD and later in the rest > of 50 GByte the Vista again. > > matthias > Sure, You can even reduce Vista's partition from Control Panel -> Administrative Tools -> Computer Management -> Disk Management. Right click on the partition and select to shrink. The amount that it will allow you to shrink will vary (probably depends on the fragmentation) but I guess you will be able to get 50G on a 200G disk. Then install FreeBSD as usual, but do not allow it to install any boot manager (it will mess with Vista's BCD system). After installing, use EasyBCD (free download) within Vista to add FreeBSD to the boot menu. From bsam at ipt.ru Wed May 6 10:29:06 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed May 6 10:29:15 2009 Subject: carefull confirm on using linux_base-fc8 In-Reply-To: <4A00FF04.1050209@gmail.com> (Adam Vande More's message of "Tue\, 05 May 2009 22\:07\:48 -0500") References: <23399213.post@talk.nabble.com> <4A00FF04.1050209@gmail.com> Message-ID: <37268590@bb.ipt.ru> On Tue, 05 May 2009 22:07:48 -0500 Adam Vande More wrote: > If you intend on using f8, you'll want entries like this in /etc/make.conf > USE_LINUX_BASE_PORT=f8 > USE_LINUX_NONBASE_PORTS=f8 > OVERRIDE_LINUX_BASE_PORT=f8 > OVERRIDE_LINUX_NONBASE_PORTS=f8 Actually, only the last two hav to be defined. FYI: the first two variables were written at /usr/ports/UPDATING by an accident and fixed in a day. > That and other useful information can always be found in /usr/ports/UPDATING Yep. ;-) And reading emulation@ mail list about introduction of f8 ports is also recommended. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From daniels.vanags at smpbank.lv Wed May 6 10:44:33 2009 From: daniels.vanags at smpbank.lv (Daniels Vanags) Date: Wed May 6 10:44:40 2009 Subject: FreeBSD on VMware ESXi Message-ID: We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon processor. Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. When trying to boot, getting error: BTX halted. Please explain, how to start FreeBSD on different hardware. Thanks, Daniel Vanags Information Technology Department IT infrastructure system engineer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JSC SMP Bank www.smpbank.lv Phone: +371 67019386 E-mail: Daniels.Vanags@smpbank.lv From jmc-freebsd2 at milibyte.co.uk Wed May 6 11:51:20 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Wed May 6 11:51:27 2009 Subject: Do I need both gcc-4.2 and gcc-4.3? Message-ID: <200905061251.16859.jmc-freebsd2@milibyte.co.uk> Somehow I've ended up with 2 copies of gcc from ports in addition to gcc-3.4 in the base system. pkg_info suggests that only gcc-4.3 is needed: curlew:/home/mike% pkg_info -Rx gcc-4 Information for gcc-4.2.5_20081126: Information for gcc-4.3.4_20090419: Required by: fftw-2.1.5_5 I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R doesn't show any other ports needing it. I was wondering if I could safely deinstall fftw and both the gcc-4 packages but wondered if pkg_info only shows the run dependencies and not the build dependencies. I don't mind the disk space needed but portupgrade sometimes results in having to upgrade 2 copies of gcc which is quite time consuming. -- Mike Clarke From mexas at bristol.ac.uk Wed May 6 12:00:04 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed May 6 12:00:13 2009 Subject: Do I need both gcc-4.2 and gcc-4.3? In-Reply-To: <200905061251.16859.jmc-freebsd2@milibyte.co.uk> References: <200905061251.16859.jmc-freebsd2@milibyte.co.uk> Message-ID: <20090506115956.GA65243@mech-cluster238.men.bris.ac.uk> On Wed, May 06, 2009 at 12:51:16PM +0100, Mike Clarke wrote: > Somehow I've ended up with 2 copies of gcc from ports in addition to > gcc-3.4 in the base system. > > pkg_info suggests that only gcc-4.3 is needed: > > curlew:/home/mike% pkg_info -Rx gcc-4 > Information for gcc-4.2.5_20081126: > > Information for gcc-4.3.4_20090419: > > Required by: > fftw-2.1.5_5 > > I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R > doesn't show any other ports needing it. I was wondering if I could > safely deinstall fftw and both the gcc-4 packages but wondered if > pkg_info only shows the run dependencies and not the build > dependencies. I don't mind the disk space needed but portupgrade > sometimes results in having to upgrade 2 copies of gcc which is quite > time consuming. short answer - do as you wish. Any software you don't need you can safely remove provided it is not required by some other packages. Yes, only run dependencies are shown, therefore, from time to time I remove some packages which I don't need, and which were built only to build others, which I do need. HOwever, this is probably a waste of time, because it is likely that they would be build again at some point, when the other packages are updated. Also, I'm fairy certain, though check yourself, that all packages which require 4.2.5 would be also happy with higher version, i.e. I'd just leave the highest version of gcc. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From guru at unixarea.de Wed May 6 12:08:32 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed May 6 12:08:39 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <4A0165EA.1060003@otenet.gr> References: <20090506085405.GA5251@rebelion.Sisis.de> <4A0165EA.1060003@otenet.gr> Message-ID: <20090506120827.GA10242@rebelion.Sisis.de> El d?a Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis Kiagias escribi?: > Sure, You can even reduce Vista's partition from Control Panel -> > Administrative Tools -> Computer Management -> Disk Management. Right > click on the partition and select to shrink. The amount that it will > allow you to shrink will vary (probably depends on the fragmentation) > but I guess you will be able to get 50G on a 200G disk. I did so and was only allowed to shrink the partition to some 125 GByte. I even moved before the swap to some other partition, reserved for of DELL recovery. I re-booted and hoped that it let me now shrink the 125 even more, but no luck. So, at the moment I only have around 100 GByte for FreeBSD free, which is a lot, compared with other servers I have here. > Then install > FreeBSD as usual, but do not allow it to install any boot manager (it > will mess with Vista's BCD system). After installing, use EasyBCD (free > download) within Vista to add FreeBSD to the boot menu. Thanks for the hint. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From om-lists-bsd at omx.ch Wed May 6 12:21:31 2009 From: om-lists-bsd at omx.ch (Olivier Mueller) Date: Wed May 6 12:21:39 2009 Subject: filesystem: 12h to delete 32GB of data Message-ID: <1241610888.16418.64.camel@ompc.insign.local> Hello, $ df -m ; date ; rm -r templates_c ; df -m ; date Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/da0s1a 989 45 864 5% / /dev/da0s1f 128631 102179 16160 86% /usr [...] Wed May 6 00:23:01 CEST 2009 Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/da0s1a 989 45 864 5% / /dev/da0s1f 128631 69844 48496 59% /usr Wed May 6 12:21:02 CEST 2009 -> it took about 12 hours to delete these 30GB of files and sub-directories (smarty cache files: many small files in many dirs). It's a little bit surprising, as it's on a recent HP proliant DL360 g5 with SAS disks (Raid1) running freebsd 6.x ( /dev/da0s1f on /usr (ufs, local, soft-updates) ) Surprisingly, cpu load remained quite low during the operation (apache stayed responsive). Is it a known problem on this kind of hardware or something related to the filesystem? Is there a way to improve this? Even on my $500 PC with IDE disks this goes quicker... :) I checked http://www.freebsd.org/doc/en/books/handbook/configtuning-disk.html but I'm not sure if this would help in this case. Any suggestion how I can "fix" that? Regards, Olivier From wmoran at potentialtech.com Wed May 6 12:48:37 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 6 12:48:44 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <1241610888.16418.64.camel@ompc.insign.local> References: <1241610888.16418.64.camel@ompc.insign.local> Message-ID: <20090506084834.61600c42.wmoran@potentialtech.com> In response to Olivier Mueller : > Hello, > > $ df -m ; date ; rm -r templates_c ; df -m ; date > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/da0s1a 989 45 864 5% / > /dev/da0s1f 128631 102179 16160 86% /usr > [...] > Wed May 6 00:23:01 CEST 2009 > > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/da0s1a 989 45 864 5% / > /dev/da0s1f 128631 69844 48496 59% /usr > Wed May 6 12:21:02 CEST 2009 > > > -> it took about 12 hours to delete these 30GB of files and > sub-directories (smarty cache files: many small files in many dirs). > It's a little bit surprising, as it's on a recent HP proliant DL360 g5 > with SAS disks (Raid1) running freebsd 6.x > ( /dev/da0s1f on /usr (ufs, local, soft-updates) ) > > Surprisingly, cpu load remained quite low during the operation (apache > stayed responsive). Is it a known problem on this kind of hardware or > something related to the filesystem? Is there a way to improve this? > Even on my $500 PC with IDE disks this goes quicker... :) > > I checked > http://www.freebsd.org/doc/en/books/handbook/configtuning-disk.html but > I'm not sure if this would help in this case. Any suggestion how I can > "fix" that? With lots of small files, the time involved is far less dependent on the size of data, and much more dependent on the number of files, and the resultant number of directory entries that need to be updated. "Lots" isn't a particularly accurate count of the # of files, but if you're talking web cache files, I'll guess they average 5k each, which means you had 6 million files. df -i would have been more useful in the output above. This brings a number of questions up: * Are you _sure_ softupdates is enabled on that partition? That's going to make the biggest improvement in speed. * Are these 7200RPM disks or 15,000? Again, going to make a big difference. * If apache was still running, is it possible that it was creating enough disk activity to slow the activity down? Running top -m io will show you how much disk IO each process is creating. * When you compared the speed to your laptop, did you delete 6 million files from the laptop? If you deleted a single 30G file, then you're comparing apples to atom bombs. If this is a directory that you blow away on a regular schedule, you'd do much better to make it a dedicated partition and simply reformat it. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From dcdowse at gmx.net Wed May 6 12:50:26 2009 From: dcdowse at gmx.net (Daniel C. Dowse) Date: Wed May 6 12:50:38 2009 Subject: xorg error with xfce3 wm install In-Reply-To: <49FE4F00.4070208@hdk5.net> References: <49FE4F00.4070208@hdk5.net> Message-ID: <20090506145014.9f767fda.dcdowse@gmx.net> On Sun, 03 May 2009 16:12:16 -1000 Al Plant wrote: [ snip ] > "xlib extension error" "Generic Event Extension" missing on display ":0.0". [ snip ] Hi Al, i am running fluxbox 1.1.1, i receive the same error msgs with every X app i start, since i did some updating on the installed xorg port with portupgrade, i don`t know what xorg version is shipped with the freebsd 7.1 ports on a fresh installation. First i worried a little bit about this error msg too but since it does not do any harm on my installation so i don`t care bout this msgs anymore. regards Daniel -- The only reality is virtual! From freebsd at troback.com Wed May 6 12:57:52 2009 From: freebsd at troback.com (Anders Troback) Date: Wed May 6 12:58:00 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <20090506120827.GA10242@rebelion.Sisis.de> References: <20090506085405.GA5251@rebelion.Sisis.de> <4A0165EA.1060003@otenet.gr> <20090506120827.GA10242@rebelion.Sisis.de> Message-ID: <20090506144346.35d7d9a2@server15.gelita.swe> On Wed, 6 May 2009 14:08:27 +0200 Matthias Apitz wrote: > El d?a Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis > Kiagias escribi?: > > > Sure, You can even reduce Vista's partition from Control Panel -> > > Administrative Tools -> Computer Management -> Disk Management. > > Right click on the partition and select to shrink. The amount that > > it will allow you to shrink will vary (probably depends on the > > fragmentation) but I guess you will be able to get 50G on a 200G > > disk. > > I did so and was only allowed to shrink the partition to some 125 > GByte. I even moved before the swap to some other partition, reserved > for of DELL recovery. > I re-booted and hoped that it let me now shrink the 125 even more, > but no luck. So, at the moment I only have around 100 GByte for > FreeBSD free, which is a lot, compared with other servers I have > here. > > > Then install > > FreeBSD as usual, but do not allow it to install any boot manager > > (it will mess with Vista's BCD system). After installing, use > > EasyBCD (free download) within Vista to add FreeBSD to the boot > > menu. > > Thanks for the hint. > > matthias Before you shrink you need to defrag you partition and normally you can't do it with the defrag tool that are built into Vista, you need something like PerfectDisk. You can get a trial version of PerfecDisk and you only need it once so that's not an issue:-) You have to do a system-files-defrag-on-next-boot (don't remember the exact options here)! \\anders -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From gio.nov at vodafone.it Wed May 6 13:04:49 2009 From: gio.nov at vodafone.it (giorgio novello) Date: Wed May 6 13:05:03 2009 Subject: basic Message-ID: Do you want obtain new market share? Develop e visual-basic like language, or asp vb and your OS will be a best seller Regards Giorgio Novello Vb developer Italy From utisoft at googlemail.com Wed May 6 13:16:56 2009 From: utisoft at googlemail.com (Chris Rees) Date: Wed May 6 13:17:03 2009 Subject: basic In-Reply-To: References: Message-ID: 2009/5/6 giorgio novello : > Do you want obtain new market share? > > Develop e visual-basic like language, or asp vb and ?your OS will be a best > seller > > > > Regards > > Giorgio Novello > > Vb developer > > Italy But.... VB only works on one platform! 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 e-mail? From om-lists-bsd at omx.ch Wed May 6 13:22:05 2009 From: om-lists-bsd at omx.ch (Olivier Mueller) Date: Wed May 6 13:22:18 2009 Subject: filesystem: 12h to delete 32GB of data (4 million files) In-Reply-To: <20090506084834.61600c42.wmoran@potentialtech.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> Message-ID: <1241616121.16418.109.camel@ompc.insign.local> Thanks for your answer Bill! (and to Will as well), Some more infos I gathered a few minutes ago: [~/templates_c]$ date; du -s -m ; date Wed May 6 13:35:15 CEST 2009 2652 . Wed May 6 13:52:36 CEST 2009 [~/templates_c]$ date ; find . | wc -l ; date Wed May 6 13:52:56 CEST 2009 305461 Wed May 6 14:09:39 CEST 2009 So this is on the system after a complete cache cleanup (at 00h00). 300'000 files and 2.6GB. So this night, there were probably around 3-4 million files to delete. Deletion may take time, but 20 minutes juste to _count_ all the files seems pretty long to me... I think I'll say a word to the developers to let them tune their caching system a bit :) On Wed, 2009-05-06 at 08:48 -0400, Bill Moran wrote: > With lots of small files, the time involved is far less dependent on > the size of data, and much more dependent on the number of files, and > the resultant number of directory entries that need to be updated. > "Lots" isn't a particularly accurate count of the # of files, but if > you're talking web cache files, I'll guess they average 5k each, which > means you had 6 million files. df -i would have been more useful in > the output above. Thanks, noted for next time. Now it looks like that: Filesystem 1M-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1f 128631 70544 47795 60% 1913875 15114219 11% /usr > This brings a number of questions up: > * Are you _sure_ softupdates is enabled on that partition? That's > going to make the biggest improvement in speed. According to "mount" output, yes. I found no specific message about that in the syslog or dmesg. > * Are these 7200RPM disks or 15,000? Again, going to make a big > difference. HP 146GB 6G SAS 10K SFF DP ENT HDD (15k were not available at the time the servers were ordered) ( http://h18004.www1.hp.com/products/servers/proliantstorage/serial/sas/index.html ) > * If apache was still running, is it possible that it was creating > enough disk activity to slow the activity down? Running > top -m io will show you how much disk IO each process is creating. Yes, apache was still running, but the activity was quite low (it was during the night, and the webpage doesn't get so many hits before 9 am local time) While watching "top -m io", the "du" or "find" takes between 80 and 99%, so I guess it's not the probleme here: PID UID VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 87996 1002 59 56 0 0 0 0 0.00% php 45389 1002 35 25 0 0 2 2 0.84% php 3964 1002 0 0 0 0 0 0 0.00% httpd 3822 1002 151 98 0 0 0 0 0.00% httpd 3005 1002 0 0 0 0 0 0 0.00% httpd 4129 1002 0 0 0 0 0 0 0.00% httpd 3971 1002 0 0 0 0 0 0 0.00% httpd 4231 1002 1 0 0 0 0 0 0.00% httpd 4132 0 234 5 234 0 0 234 97.91% find 98862 1002 1 0 0 0 0 0 0.00% top 609 0 0 0 0 0 0 0 0.00% snmpd [...] > * When you compared the speed to your laptop, did you delete 6 million > files from the laptop? If you deleted a single 30G file, then you're > comparing apples to atom bombs. Yes sorry, I know :) > If this is a directory that you blow away on a regular schedule, you'd > do much better to make it a dedicated partition and simply reformat > it. Yes, it is one of the best options. My initial goal was to delete all files older than N days by cron (find | xargs | rm, etc.), but if each cronjob takes 2 hours (and takes so much cpu time), it's probably not the best way. I'll make some more tests on an test-server later this week and speak with the devs. Thanks again for your very constructive feedback! Regards, Olivier From nino80 at gmail.com Wed May 6 13:30:45 2009 From: nino80 at gmail.com (n j) Date: Wed May 6 13:30:51 2009 Subject: When a System Dies; Getting back in operation again. In-Reply-To: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> References: <200905011707.n41H7M6b021540@dc.cis.okstate.edu> Message-ID: <92bcbda50905060630j50820ebdid2e583ad6281b177@mail.gmail.com> > ... What is the best way to restore the full system? > Can I use the FreeBSD installation disk in rescue mode? I experienced such a situation just 2 weeks ago. My primary problem was that I had to do restore over the network (no attached tape drives, no external HDDs). I wanted to use ssh to grab the dump from the backup server, but ended up using netcat which worked great. Here's basically what I did including backup from the not-yet-dead machine (note, I used intermediate backup server, but it should be possible to directly pipe dump to restore): 1. dump -0Laf - / | ssh backup-server "cat > dump.root" 2. boot the new machine from CD disc1 (FreeBSD <7) or livefs disc (FreeBSD >7) 3. create and newfs partitions as explained in this thread (at least the size of backup, can be larger) 4. go into the rescue (fixit) mode, create mount points for created partitions (mkdir mnt.root), mount partitions (e.g. mount /dev/da0s1a /mnt.root), change directory to mount point (cd /mnt.root), configure NIC (ifconfig) 5. start netcat (nc -l 55555 | restore -rvf -) 6. on backup-server: cat dump.root | nc new-machine 55555 7. repeat for usr and var partitions Notes: 1. if security is an issue, ssh out from the new machine to the backup server with port forwarding (ssh -R 55555:localhost:55555 backup-server) and pipe the backup to localhost (cat dump.root | nc localhost 55555); my initial idea was to start sshd in fixit mode (see my post to the list "fixit console with sshd") which turned out to be too much of a trouble. 2. restore uses TMPDIR to store some temporary files during restore process; the fixit mode has limited free space and when it gets exhausted the restore process will fail, so it is a good idea to use an available partition as a temporary TMPDIR (e.g. export TMPDIR=/mnt.var while restoring usr partition and later use a subdirectory of usr as TMPDIR to restore var partition) 3. [IMPORTANT!] after the restore process is over, manually check restored etc/fstab and etc/rc.conf (currently mounted as /mnt.root/...) to fix: a) partition names (e.g. /dev/da0s1a might become /dev/amrd0s1a) b) ethernet interface names (e.g. em0 might become bge0) c) IP addresses in case you still have the old box running to avoid IP conflict You should now be able to safely reboot and log into your new machine. Regards, -- Nino From leslie at eskk.nu Wed May 6 13:56:49 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Wed May 6 13:56:57 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <20090506144346.35d7d9a2@server15.gelita.swe> References: <20090506085405.GA5251@rebelion.Sisis.de> <4A0165EA.1060003@otenet.gr> <20090506120827.GA10242@rebelion.Sisis.de> <20090506144346.35d7d9a2@server15.gelita.swe> Message-ID: <4A019719.6070001@eskk.nu> Anders Troback skrev: > On Wed, 6 May 2009 14:08:27 +0200 > Matthias Apitz wrote: > >> El d?a Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis >> Kiagias escribi?: >> >>> Sure, You can even reduce Vista's partition from Control Panel -> >>> Administrative Tools -> Computer Management -> Disk Management. >>> Right click on the partition and select to shrink. The amount that >>> it will allow you to shrink will vary (probably depends on the >>> fragmentation) but I guess you will be able to get 50G on a 200G >>> disk. >> I did so and was only allowed to shrink the partition to some 125 >> GByte. I even moved before the swap to some other partition, reserved >> for of DELL recovery. >> I re-booted and hoped that it let me now shrink the 125 even more, >> but no luck. So, at the moment I only have around 100 GByte for >> FreeBSD free, which is a lot, compared with other servers I have >> here. >> >>> Then install >>> FreeBSD as usual, but do not allow it to install any boot manager >>> (it will mess with Vista's BCD system). After installing, use >>> EasyBCD (free download) within Vista to add FreeBSD to the boot >>> menu. >> Thanks for the hint. >> >> matthias > > Before you shrink you need to defrag you partition and normally you > can't do it with the defrag tool that are built into Vista, you need > something like PerfectDisk. You can get a trial version of PerfecDisk > and you only need it once so that's not an issue:-) You have to do a > system-files-defrag-on-next-boot (don't remember the exact options > here)! > > \\anders > I've done this a few times and the best procedure is to use the Parted magic CD and resize the partition. The Vista shrink tool is not something I would recommend. You don't have to think of defragging when you use Parted Magic. /Leslie From outbackdingo at gmail.com Wed May 6 14:26:02 2009 From: outbackdingo at gmail.com (Outback Dingo) Date: Wed May 6 14:26:11 2009 Subject: basic In-Reply-To: References: Message-ID: <5635aa0d0905060725x747e22fbq3cae81c81a3dc092@mail.gmail.com> comne on now, its not even april first..... On Wed, May 6, 2009 at 7:32 PM, giorgio novello wrote: > Do you want obtain new market share? > > Develop e visual-basic like language, or asp vb and your OS will be a best > seller > > > > Regards > > Giorgio Novello > > Vb developer > > Italy > > _______________________________________________ > 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 af300wsm at gmail.com Wed May 6 14:30:49 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Wed May 6 14:30:57 2009 Subject: Configuring an IPv6 router to assign addresses Message-ID: <000e0cd47d9cda8db004693f3d0c@google.com> Hi, I've found in the handbook how to start up a v6 router and some other helpful links on this topic at the FreeBSD diary. However, I'm wondering, how do I configure the router to assign addresses to hosts. Thanks, Andy From odhiambo at gmail.com Wed May 6 14:39:25 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Wed May 6 14:39:33 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <000e0cd47d9cda8db004693f3d0c@google.com> References: <000e0cd47d9cda8db004693f3d0c@google.com> Message-ID: <991123400905060739l5287b003o7964cf3b6eed9102@mail.gmail.com> On Wed, May 6, 2009 at 5:30 PM, wrote: > Hi, > > I've found in the handbook how to start up a v6 router and some other > helpful links on this topic at the FreeBSD diary. However, I'm wondering, > how do I configure the router to assign addresses to hosts. Nice question. I wonder if isc-dhcp-server can already handle IPv6 addresses. I, too, am interested in knowing and I guess it's time I start learning these IPv6 stuff. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain From djuatdelta at gmail.com Wed May 6 14:40:49 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed May 6 14:40:56 2009 Subject: Preferred client for DynDNS Message-ID: There appear to be several clients capable of working with DynDNS.com services here: E.g., dns/inadyn, dns/ipcheck Can anyone make recommendations? My goal in using DynDNS is to allow remote SSH logins to a machine behind a router at my house (using a common ISP). Thanks, Daniel From leslie at eskk.nu Wed May 6 14:52:14 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Wed May 6 14:52:20 2009 Subject: Preferred client for DynDNS In-Reply-To: References: Message-ID: <4A01A416.9030807@eskk.nu> Daniel Underwood skrev: > There appear to be several clients capable of working with DynDNS.com > services here: > > > E.g., dns/inadyn, dns/ipcheck > > Can anyone make recommendations? My goal in using DynDNS is to allow > remote SSH logins to a machine behind a router at my house (using a > common ISP). > > Thanks, > Daniel I use dns/noip for exactly that purpose on six different machines (and locations) /Leslie From echen at nyx.com Wed May 6 14:53:31 2009 From: echen at nyx.com (Eddie Chen) Date: Wed May 6 14:53:39 2009 Subject: ReturnCode Checking for FTP In-Reply-To: <44zldrjbgr.fsf@lowell-desk.lan> Message-ID: Lowell, On my AIX and Linux system we don't have fetch installed. I Googled "fetch", can't found the download URL for "fetch". It seems "fetch(1)" will get file(s)... We mostly push the file(s) to the clients. Thanks. Lowell Gilbert freebsd-questions@freebsd.org cc 05/05/2009 Eddie Chen 08:56 PM Subject Re: ReturnCode Checking for FTP Please respond to freebsd-questions @freebsd.org Eddie Chen writes: > I am looking for a FTP clients that exit with a return code. > > However, last week I download the tnftp and started implementing it. > It's actually trivial to implement this feature. > > If this works, do you think it should be part of the ftp client. I've never used return codes with ftp(1), but I have used them with fetch(1), which is also part of the base system. Have you tried fetch? If it doesn't meet your needs, can you explain why? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. From lists at jnielsen.net Wed May 6 14:56:46 2009 From: lists at jnielsen.net (John Nielsen) Date: Wed May 6 14:56:53 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <991123400905060739l5287b003o7964cf3b6eed9102@mail.gmail.com> References: <000e0cd47d9cda8db004693f3d0c@google.com> <991123400905060739l5287b003o7964cf3b6eed9102@mail.gmail.com> Message-ID: <200905061056.43181.lists@jnielsen.net> On Wednesday 06 May 2009 10:39:24 am Odhiambo ????? wrote: > On Wed, May 6, 2009 at 5:30 PM, wrote: > > Hi, > > > > I've found in the handbook how to start up a v6 router and some other > > helpful links on this topic at the FreeBSD diary. However, I'm > > wondering, how do I configure the router to assign addresses to > > hosts. > > Nice question. I wonder if isc-dhcp-server can already handle IPv6 > addresses. I, too, am interested in knowing and I guess it's time I > start learning these IPv6 stuff. Is there a reason you need to control the addresses used by your clients (other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd running on the router for IPv4 addresses rtadvd is all I needed for IPv6. Clients assign themselves addresses based on the network prefix they learn from route solicitation and their own MAC address. That's supposed to be one of the "reduced administration" benefits of the new protocol. :) JN From Ggatten at waddell.com Wed May 6 15:09:13 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 15:09:20 2009 Subject: ReturnCode Checking for FTP In-Reply-To: References: <44zldrjbgr.fsf@lowell-desk.lan> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBC9@WADPEXV0.waddell.com> Can I assume you want return codes to know if the file was transferred correctly? Several years ago I was involved in architecting a middleware app for file/data exchange. For ftp delivery (and others) we'd check the file size locally, put the file, then check the file size on the remote side. Not fool-proof, such as CRC or Hash of somekind, but pretty good. Use bin mode for everything. Also, maybe as part of the file record itself you can embed a hash and have the client check this when processing the file on their end. Unfortunately when using ftp you never know what the ftp server supports, so unless you can dictate "supported" ftp servers, you can't get too fancy. G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Eddie Chen Sent: Wednesday, May 06, 2009 9:24 AM To: freebsd-questions@freebsd.org Subject: Re: ReturnCode Checking for FTP Lowell, On my AIX and Linux system we don't have fetch installed. I Googled "fetch", can't found the download URL for "fetch". It seems "fetch(1)" will get file(s)... We mostly push the file(s) to the clients. Thanks. Lowell Gilbert freebsd-questions@freebsd.org cc 05/05/2009 Eddie Chen 08:56 PM Subject Re: ReturnCode Checking for FTP Please respond to freebsd-questions @freebsd.org Eddie Chen writes: > I am looking for a FTP clients that exit with a return code. > > However, last week I download the tnftp and started implementing it. > It's actually trivial to implement this feature. > > If this works, do you think it should be part of the ftp client. I've never used return codes with ftp(1), but I have used them with fetch(1), which is also part of the base system. Have you tried fetch? If it doesn't meet your needs, can you explain why? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wmoran at potentialtech.com Wed May 6 15:10:25 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 6 15:10:46 2009 Subject: filesystem: 12h to delete 32GB of data (4 million files) In-Reply-To: <1241616121.16418.109.camel@ompc.insign.local> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <1241616121.16418.109.camel@ompc.insign.local> Message-ID: <20090506111022.05d06f1a.wmoran@potentialtech.com> In response to Olivier Mueller : > > Yes, it is one of the best options. My initial goal was to delete all > files older than N days by cron (find | xargs | rm, etc.), but if each > cronjob takes 2 hours (and takes so much cpu time), it's probably not > the best way. > > I'll make some more tests on an test-server later this week and speak > with the devs. Thanks again for your very constructive feedback! Based on your comments here, it really sounds like your devs need to implement some sort of cache cleaning algo into their code. If it's just deleting the oldest files, then you could probably run it far more frequently if you simply created a new cache directory each hour, and deleted the previous one. Honestly, I'm really confused -- if you can just throw away the cache each night, then why are you caching to begin with? If you just need temp files, why doesn't the app clean up its temp files when it's done with them? If you have access to the developers, I think you'll be able to come up with a much better solution by working with them. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From af300wsm at gmail.com Wed May 6 15:11:30 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Wed May 6 15:11:36 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <200905061056.43181.lists@jnielsen.net> Message-ID: <0016361e896051401204693fcf74@google.com> On May 6, 2009 8:56am, John Nielsen wrote: > On Wednesday 06 May 2009 10:39:24 am Odhiambo ????? wrote: > Is there a reason you need to control the addresses used by your clients > (other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd > running on the router for IPv4 addresses rtadvd is all I needed for IPv6. > Clients assign themselves addresses based on the network prefix they > learn from route solicitation and their own MAC address. That's supposed > to be one of the "reduced administration" benefits of the new > protocol. :) Thanks for reminding me of the flow in which this happens. Seems like I, at sometime, got the idea that it was the router that dished back a unique IP based on clients MAC and so forth. However, it seems to me now that the router was only supposed to dish out the prefix, ie network id, and the client would take that prefix and generate a unique IP based on its MAC. Thanks again, Andy From mister.olli at googlemail.com Wed May 6 15:21:02 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Wed May 6 15:21:15 2009 Subject: Assign IP address and hostname via kernel parameter Message-ID: <1241623255.12407.6.camel@phoenix.blechhirn.net> Hi, is there a way to configure IP address and hostname on freebsd systems via kernel command line parameters? I have some freebsd systems in as xen domU's and it would be really great to be able to set the ip address & hostname within the configuration file for the domU. I'm aware that I could configure a static mac address and use DHCP, but with several layer2 segments on different XEN hosts setting up DHCP correctly would be a real pain ;-) --- Regards Mr. Olli From steve at ibctech.ca Wed May 6 15:25:39 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed May 6 15:25:45 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <0016361e896051401204693fcf74@google.com> References: <0016361e896051401204693fcf74@google.com> Message-ID: <4A01ABE5.5000508@ibctech.ca> af300wsm@gmail.com wrote: > On May 6, 2009 8:56am, John Nielsen wrote: >> On Wednesday 06 May 2009 10:39:24 am Odhiambo $B%o%7%s%H%s(B wrote: > > >> Is there a reason you need to control the addresses used by your clients > >> (other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd > >> running on the router for IPv4 addresses rtadvd is all I needed for IPv6. > >> Clients assign themselves addresses based on the network prefix they > >> learn from route solicitation and their own MAC address. That's supposed > >> to be one of the "reduced administration" benefits of the new > >> protocol. :) > > > Thanks for reminding me of the flow in which this happens. Seems like I, > at sometime, got the idea that it was the router that dished back a > unique IP based on clients MAC and so forth. However, it seems to me now > that the router was only supposed to dish out the prefix, ie network id, > and the client would take that prefix and generate a unique IP based on > its MAC. Have a peruse of this RFC (stateless autoconfig): http://www.ietf.org/rfc/rfc4862.txt Steve From andrewlylegould at gmail.com Wed May 6 15:28:47 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Wed May 6 15:28:54 2009 Subject: Preferred client for DynDNS In-Reply-To: References: Message-ID: On Wed, May 6, 2009 at 9:40 AM, Daniel Underwood wrote: > There appear to be several clients capable of working with DynDNS.com > services here: > > > E.g., dns/inadyn, dns/ipcheck > > Can anyone make recommendations? My goal in using DynDNS is to allow > remote SSH logins to a machine behind a router at my house (using a > common ISP). > > Thanks, > Daniel > _______________________________________________ > I use ddclient. It was the first one I tried, and works well, so I haven't tried anything else. Andrew From emss at free.fr Wed May 6 15:29:34 2009 From: emss at free.fr (Eric Masson) Date: Wed May 6 15:29:42 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <991123400905060739l5287b003o7964cf3b6eed9102@mail.gmail.com> (odhiambo@gmail.com's message of "Wed, 6 May 2009 17:39:24 +0300") References: <000e0cd47d9cda8db004693f3d0c@google.com> <991123400905060739l5287b003o7964cf3b6eed9102@mail.gmail.com> Message-ID: <867i0uuvla.fsf@srvbsdnanssv.interne.kisoft-services.com> Odhiambo ????? writes: Hi, > Nice question. I wonder if isc-dhcp-server can already handle IPv6 > addresses. Seems it can since 4.x branch. But, is there any reason to use dhcp on ipv6 nets as the protocol has been designed with autoconfiguration in mind ? Regards -------------- next part -------------- -- J'aimerai cr?er mon propre newsgroup "fr.mincir.vitalite" [...] Ainsi, cela permettrait aux personnes de se rendre directement dans mon newsgroup plutot que moi-m?me de publier des annonces dans les autres -+-LH in Guide du Neuneu Usenet : Mince, Neuneu investit (dans) fufe -+- From mel.flynn+fbsd.questions at mailing.thruhere.net Wed May 6 15:40:45 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed May 6 15:40:52 2009 Subject: make - reassign variable using if-then ? In-Reply-To: <20090506093117.GA64688@mech-cluster238.men.bris.ac.uk> References: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> <200905061115.07888.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090506093117.GA64688@mech-cluster238.men.bris.ac.uk> Message-ID: <200905061740.41949.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote: > I'm trying to build gcc43 on alpha 6.4. > In /usr/ports/lang/gcc43/Makefile I have: > > # grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile > NOT_FOR_ARCHS= alpha ia64 powerpc > # > > In /etc/make.conf I have: > > .if ${.CURDIR:M*/lang/gcc43*} > NOT_FOR_ARCHS= ia64 > USE_GCC=4.3+ > .endif > > This used to work fine until some update. Not anymore. > The second setting is being used, i.e. the port is being built > with gcc43. But the NOT_FOR_ARCHS is not changed, so I have > to do it manually each time. > > So I tried to experiment with changing variable values withing if-then. Your only option is overriding in /usr/portslang/gcc43/Makefile.local. This is because make.conf is read *before* the Makefile and the Makefile simply overrides your values. Makefile.local is read *after* the Makefile. csup will leave it alone, however portsnap will delete the entire directory before upgrading the port, so your Makefile.local will be shot. -- Mel From andrew at QEMG.org Wed May 6 15:43:23 2009 From: andrew at QEMG.org (Andrew Hamilton-Wright) Date: Wed May 6 15:43:29 2009 Subject: Xdvi with amd64 In-Reply-To: <200905040212.n442C28A071537@banyan.cs.ait.ac.th> References: <200904300755.n3U7tHmJ090473@banyan.cs.ait.ac.th> <200905040212.n442C28A071537@banyan.cs.ait.ac.th> Message-ID: On Mon, 4 May 2009, Olivier Nicole wrote: >> Exactly which fonts are you having trouble with? I can tell you >> whether I can reproduce the issue under 7.1. > > Nothing exotic at all: cmr10.300.pk > > The error message is: > > $ xdvi memo > Note: overstrike characters may be incorrect. >>>> xdvi: Wrong number of bits stored: char. 68, font cmr10 > $ For what it is worth, I don't seem to be able to produce this with any DVI files I create. If you have one in particular you would like me to verify, you can email it to me. What version of xdvi are you running? I have a recent port: $ xdvi -version xdvik version 22.84.10 (@(#)Motif Version 2.2.3, runtime version 2.2) Libraries: kpathsea version 3.5.2, T1lib version 5.1.2 A. From echen at nyx.com Wed May 6 15:44:51 2009 From: echen at nyx.com (Eddie Chen) Date: Wed May 6 15:44:57 2009 Subject: ReturnCode Checking for FTP In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBC9@WADPEXV0.waddell.com> Message-ID: Gary, Yes I am look a retrunCode from "put/get/reanme". We run and transmit very large amount of data and jobs thru out the evening. These jobs runs under Linux and AIX. - This was not an issue on the mainframe, the mainframe ftp client support return code. Currently, we have two solutions, write script(s) to look for "226" and "250" and/or PERL ftp that reads ftp command. Reading the ftp commands seems to be better, because it will exit(rc) if any of "put" or "rename" failed. Thanks. "Gary Gatten" To "Eddie Chen" , 05/06/2009 11:08 AM cc Subject RE: ReturnCode Checking for FTP Can I assume you want return codes to know if the file was transferred correctly? Several years ago I was involved in architecting a middleware app for file/data exchange. For ftp delivery (and others) we'd check the file size locally, put the file, then check the file size on the remote side. Not fool-proof, such as CRC or Hash of somekind, but pretty good. Use bin mode for everything. Also, maybe as part of the file record itself you can embed a hash and have the client check this when processing the file on their end. Unfortunately when using ftp you never know what the ftp server supports, so unless you can dictate "supported" ftp servers, you can't get too fancy. G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Eddie Chen Sent: Wednesday, May 06, 2009 9:24 AM To: freebsd-questions@freebsd.org Subject: Re: ReturnCode Checking for FTP Lowell, On my AIX and Linux system we don't have fetch installed. I Googled "fetch", can't found the download URL for "fetch". It seems "fetch(1)" will get file(s)... We mostly push the file(s) to the clients. Thanks. Lowell Gilbert freebsd-questions@freebsd.org cc 05/05/2009 Eddie Chen 08:56 PM Subject Re: ReturnCode Checking for FTP Please respond to freebsd-questions @freebsd.org Eddie Chen writes: > I am looking for a FTP clients that exit with a return code. > > However, last week I download the tnftp and started implementing it. > It's actually trivial to implement this feature. > > If this works, do you think it should be part of the ftp client. I've never used return codes with ftp(1), but I have used them with fetch(1), which is also part of the base system. Have you tried fetch? If it doesn't meet your needs, can you explain why? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. From freebsd-questions-local at be-well.ilk.org Wed May 6 15:45:12 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed May 6 15:45:19 2009 Subject: ReturnCode Checking for FTP In-Reply-To: (Eddie Chen's message of "Wed\, 6 May 2009 10\:24\:14 -0400") References: Message-ID: <44zldqutff.fsf@be-well.ilk.org> Eddie Chen writes: > On my AIX and Linux system we don't have fetch installed. I > Googled "fetch", can't found the download URL for "fetch". If you need the same behaviour from your ftp clients on all platforms, you will need to install a different ftp client on at least some of them. The native ftp(1) programs are quite different on all three of those platforms are quite different. I hear ncftp is nice. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From jt at 0xabadba.be Wed May 6 15:47:43 2009 From: jt at 0xabadba.be (jt@0xabadba.be) Date: Wed May 6 15:47:56 2009 Subject: Assign IP address and hostname via kernel parameter In-Reply-To: <1241623255.12407.6.camel@phoenix.blechhirn.net> References: <1241623255.12407.6.camel@phoenix.blechhirn.net> Message-ID: Hi, I would take a look at sysctl this system takes care of kernel parameters. There are a few man pages that delineate what is read only. I'm sure you are aware of setting the hostname at boot time. It seemed like you were more curious about on the fly. I'm not familiar with xen domU's hope this helps, =jt On Wed, May 6, 2009 at 11:20 AM, Mister Olli wrote: > Hi, > > is there a way to configure IP address and hostname on freebsd systems > via kernel command line parameters? > > I have some freebsd systems in as xen domU's and it would be really > great to be able to set the ip address & hostname within the > configuration file for the domU. > > I'm aware that I could configure a static mac address and use DHCP, but > with several layer2 segments on different XEN hosts setting up DHCP > correctly would be a real pain ;-) > > --- > Regards > Mr. Olli > > _______________________________________________ > 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 Ggatten at waddell.com Wed May 6 15:50:26 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 15:50:33 2009 Subject: ReturnCode Checking for FTP In-Reply-To: <44zldqutff.fsf@be-well.ilk.org> References: <44zldqutff.fsf@be-well.ilk.org> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBCD@WADPEXV0.waddell.com> Yep - or at least make sure the client is in "debug" mode - it may spew out the messages/codes you're wanting in debug mode. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lowell Gilbert Sent: Wednesday, May 06, 2009 10:45 AM To: Eddie Chen Cc: freebsd-questions@freebsd.org Subject: Re: ReturnCode Checking for FTP Eddie Chen writes: > On my AIX and Linux system we don't have fetch installed. I > Googled "fetch", can't found the download URL for "fetch". If you need the same behaviour from your ftp clients on all platforms, you will need to install a different ftp client on at least some of them. The native ftp(1) programs are quite different on all three of those platforms are quite different. I hear ncftp is nice. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wojtek at wojtek.tensor.gdynia.pl Wed May 6 15:50:50 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 15:50:57 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <000e0cd47d9cda8db004693f3d0c@google.com> References: <000e0cd47d9cda8db004693f3d0c@google.com> Message-ID: start rtadvd on interface On Wed, 6 May 2009, af300wsm@gmail.com wrote: > Hi, > > I've found in the handbook how to start up a v6 router and some other helpful > links on this topic at the FreeBSD diary. However, I'm wondering, how do I > configure the router to assign addresses to hosts. > > Thanks, > Andy > _______________________________________________ > 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 wojtek at wojtek.tensor.gdynia.pl Wed May 6 15:50:51 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 15:51:09 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <1241610888.16418.64.camel@ompc.insign.local> References: <1241610888.16418.64.camel@ompc.insign.local> Message-ID: > -> it took about 12 hours to delete these 30GB of files and > sub-directories (smarty cache files: many small files in many dirs). > It's a little bit surprising, as it's on a recent HP proliant DL360 g5 > with SAS disks (Raid1) running freebsd 6.x > ( /dev/da0s1f on /usr (ufs, local, soft-updates) ) > if you would use no raid or software raid it will behave normally. it takes <30 minutes for me to delete 300GB of squid files on ordinary SATA disk , millions of small files. From wojtek at wojtek.tensor.gdynia.pl Wed May 6 15:50:51 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 15:51:20 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <20090506084834.61600c42.wmoran@potentialtech.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> Message-ID: > means you had 6 million files. df -i would have been more useful in > the output above. > > This brings a number of questions up: > * Are you _sure_ softupdates is enabled on that partition? That's he showed mount output - he has softdeps on. > * Are these 7200RPM disks or 15,000? Again, going to make a big > difference. on 7200 RPM ordinary SATA disk i deleted 15 million files taking 300GB (squid cache) in less than 30 minutes. for sure it's because of his "hardware raid". i've NEVER seen "hardware raid" that is actually faster than non-raid config, or gmirror/gstripe config. usually it's far much slower From web at umich.edu Wed May 6 15:57:08 2009 From: web at umich.edu (William Bulley) Date: Wed May 6 15:57:15 2009 Subject: Repeatable X lockups Message-ID: <20090506155612.GA99732@dell1> According to Jimmie James on Sat, 05/02/09 at 15:46: > > When using the xv output driver for vlc or mplayer, X will lockup, crash > instantly, trashing the screen and forcing a reboot > Image of screen corruption: > http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg > > This just started manifesting in the past week or so. I have experienced the same problem, but I didn't see any suggestions or answers to your posting. Have you had any success yet with this? Have you tried any other output drivers? This is something I plan to try in the next few days. My system is i386 with Intel 915 graphics on the motherboard. Xorg 7.4 runs fine. When I run mplayer from the command line, in an xterm under open-motif, the X Windows session dies and I am tossed back to the vty. When I similarly run vlc from the command line, the screen is locked in an even worse state than your above URL. I am forced to ssh(1) in from another FreeBSD workstation to reboot. Before the reboot, ps(1) reports no processes running xorg or any of its child processes, it seems as if my video hardware has been left in some ugly, locked-up, unusable state. What is interesting to me is that the same flash file that causes vlc and mplayer to crash runs just fine in ffplay(1) (part of ffmpeg port). Yet at least vlc uses ffmpeg, while it doesn't look like mplayer does. This is 7.2-PRERELEASE built on 24 Apr 2009 with the ports of mplayer and vlc built on 2 May 2009 following a csup(1) of complete ports tree on either 24 Apr or 25 Apr - so approximately the same timeframe as you. Regards, web... -- William Bulley Email: web@umich.edu The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately, and delete this message. From freebsd at edvax.de Wed May 6 16:00:41 2009 From: freebsd at edvax.de (Polytropon) Date: Wed May 6 16:00:49 2009 Subject: basic In-Reply-To: References: Message-ID: <20090506180032.e040df68.freebsd@edvax.de> 10 GOTO 10 On Wed, 6 May 2009 14:32:47 +0200, "giorgio novello" wrote: > Do you want obtain new market share? > > Develop e visual-basic like language, or asp vb and your OS will be a best > seller FreeBSD isn't for beginners, it's for professionals. There wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction Code, Visual Pasic, VP. It already exists: The tools for making Qt and Gtk+ applications. Then, there are NetBeans and Eclipse and so on - everything already there. :-) Furthermore, FreeBSD isn't sold. So it doesn't have to care about market share and "best seller". And for the weekend: 10 GOTO KNEIPE 20 INPUT BIER -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cpghost at cordula.ws Wed May 6 16:09:55 2009 From: cpghost at cordula.ws (cpghost) Date: Wed May 6 16:10:03 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: References: <1241610888.16418.64.camel@ompc.insign.local> Message-ID: <20090506160952.GB1154@phenom.cordula.ws> On Wed, May 06, 2009 at 05:34:24PM +0200, Wojciech Puchar wrote: > > -> it took about 12 hours to delete these 30GB of files and > > > > sub-directories (smarty cache files: many small files in many dirs). > > It's a little bit surprising, as it's on a recent HP proliant DL360 g5 > > with SAS disks (Raid1) running freebsd 6.x > > ( /dev/da0s1f on /usr (ufs, local, soft-updates) ) > > if you would use no raid or software raid it will behave normally. > > it takes <30 minutes for me to delete 300GB of squid files on > ordinary SATA disk , millions of small files. Alternatively, you could assign a dedicated filesystem for the cache and when cleaning up: * stop the app (or disable caching), * umount * newfs * mount * restart the app (or reenable caching). newfs is MUCH faster than manually deleting gazillions of files. If you don't like the (small) downtime during newfs, you could also play with two or more dedicated filesystems, and rotate between them (though that would be a waste of disk space). I can't recall how many times I've used a fresh newfs-ed filesystem instead of removing stuff one file at a time. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From cpghost at cordula.ws Wed May 6 16:20:54 2009 From: cpghost at cordula.ws (cpghost) Date: Wed May 6 16:21:01 2009 Subject: basic In-Reply-To: <20090506180032.e040df68.freebsd@edvax.de> References: <20090506180032.e040df68.freebsd@edvax.de> Message-ID: <20090506162051.GC1154@phenom.cordula.ws> On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: > On Wed, 6 May 2009 14:32:47 +0200, "giorgio novello" wrote: > > Do you want obtain new market share? > > > > Develop e visual-basic like language, or asp vb and your OS will be a best > > seller > > FreeBSD isn't for beginners, it's for professionals. There > wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction > Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction > Code, Visual Pasic, VP. It already exists: The tools for making > Qt and Gtk+ applications. Then, there are NetBeans and Eclipse > and so on - everything already there. :-) Well, programming languages and environments are a matter of personal choice and taste, and there *are* coders who use VB professionally, i.e. to make a living. Actually an awful lot of them (*shudder*). And let's not forget Mono for the runtime arch, which runs on FreeBSD: /usr/ports/lang/mono If VB runs under Wine (?), it could theorically be used to create NET code which could run via mono, i.e. all under FreeBSD. Of course, software written with wxWidgets, Qt, et. al. (either with C++ or indirectly using Perl, Python, ... bindings) would be much more portable... ;-) > And for the weekend: > 10 GOTO KNEIPE > 20 INPUT BIER You forgot the most important step: 30 GOTO 20 -cpghost. -- Cordula's Web. http://www.cordula.ws/ From sisson.j at gmail.com Wed May 6 16:38:28 2009 From: sisson.j at gmail.com (J Sisson) Date: Wed May 6 16:38:34 2009 Subject: basic In-Reply-To: References: Message-ID: <4297a9020905060908p664392f8v8f35b77509105ff0@mail.gmail.com> That's a great idea...let's take a wonderful open source project and flood it with Windows "programmers" who couldn't find the shell even if they booted without a GUI. And while we're at it, let's re-write the shell in .NET...you know...for performance reasons. On Wed, May 6, 2009 at 7:32 AM, giorgio novello wrote: > Do you want obtain new market share? > > Develop e visual-basic like language, or asp vb and your OS will be a best > seller > > > > Regards > > Giorgio Novello > > Vb developer > > Italy > > _______________________________________________ > 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" > -- Computers are like air conditioners... They quit working when you open Windows. From rb at gid.co.uk Wed May 6 17:08:41 2009 From: rb at gid.co.uk (Bob Bishop) Date: Wed May 6 17:08:54 2009 Subject: Assign IP address and hostname via kernel parameter In-Reply-To: <1241623255.12407.6.camel@phoenix.blechhirn.net> References: <1241623255.12407.6.camel@phoenix.blechhirn.net> Message-ID: <57A9FCBA-CBCB-45D2-9B95-5E5DBC0DB964@gid.co.uk> Hi, On 6 May 2009, at 16:20, Mister Olli wrote: > is there a way to configure IP address and hostname on freebsd systems > via kernel command line parameters? [etc] When running diskless, the loader sets kernel variables like: boot.netif.gateway="192.168.198.1" boot.netif.hwaddr="00:15:17:47:14:fc" boot.netif.ip="192.168.198.8" boot.netif.netmask="255.255.255.0" to values obtained from BOOTP or DHCP, and the right things happen. I guess you could just set these in loader.conf or at the loader prompt. -- Bob Bishop rb@gid.co.uk From benjamin at seattlefenix.net Wed May 6 17:16:21 2009 From: benjamin at seattlefenix.net (Benjamin Krueger) Date: Wed May 6 17:16:33 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> Message-ID: <4A01C202.8080803@seattlefenix.net> Wojciech Puchar wrote: >> means you had 6 million files. df -i would have been more useful in > > >> the output above. >> >> This brings a number of questions up: >> * Are you _sure_ softupdates is enabled on that partition? That's > > he showed mount output - he has softdeps on. > >> * Are these 7200RPM disks or 15,000? Again, going to make a big >> difference. > > on 7200 RPM ordinary SATA disk i deleted 15 million files taking 300GB > (squid cache) in less than 30 minutes. > > for sure it's because of his "hardware raid". > > i've NEVER seen "hardware raid" that is actually faster than non-raid > config, or gmirror/gstripe config. > > usually it's far much slower Sorry, but my experience with that very server using a P400 controller with 256MB write cache is very different. My benchmarks showed that controller using Raid5 (with only 4 disks) is significantly faster than software layouts. The days when hardware controllers could automatically be considered slow are long gone. The hardware does get faster over time. Don't make any assumptions without doing benchmarks. From doug at polands.org Wed May 6 17:39:45 2009 From: doug at polands.org (Doug Poland) Date: Wed May 6 17:39:53 2009 Subject: Source update tag RELENG_7_2 != 7.2-RELEASE ? Message-ID: <99a2e3a48c28263e579f05d58d44b13e.squirrel@email.polands.org> Hello, Yesterday I did a source update on an i386 box to 7.2. My supfile uses RELENG_7_2 host# more /usr/local/etc/cvsup/sup/supfile *default base=/usr/local/etc/cvsup *default delete use-rel-suffix compress *default host=cvsup8.us.freebsd.org *default prefix=/usr *default release=cvs tag=RELENG_7_2 src-all After canonical steps: host# csup -L2 /usr/local/etc/cvsup/sup/supfile host# cd /usr/src host# make buildworld buildkernel host# make installkernel host# make installworld host# mergemaster -iU host# shutdown -r now I get a kernel identified as: host# uname -r 7.2-RC2 So, I'm pretty sure I'm running 7.2-RELEASE. But my kernel still says 7.2-RC2. Did I do something wrong here? -- Regards, Doug From heli at mikestammer.com Wed May 6 18:20:11 2009 From: heli at mikestammer.com (Eric) Date: Wed May 6 18:20:17 2009 Subject: Source update tag RELENG_7_2 != 7.2-RELEASE ? In-Reply-To: <99a2e3a48c28263e579f05d58d44b13e.squirrel@email.polands.org> References: <99a2e3a48c28263e579f05d58d44b13e.squirrel@email.polands.org> Message-ID: <4A01CC33.8000205@mikestammer.com> Doug Poland wrote: > Hello, > > Yesterday I did a source update on an i386 box to 7.2. My > supfile uses RELENG_7_2 > > > So, I'm pretty sure I'm running 7.2-RELEASE. But my kernel still says > 7.2-RC2. Did I do something wrong here? > > my guess is cvsup8.us.freebsd.org doesnt have the RELEASE code on it yet. Does /usr/src/UPDATING mention 7.2-RELEASE or is the last item about an ssl fix? if its ssl, pick a new mirror and try again. From Ggatten at waddell.com Wed May 6 18:10:39 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 18:24:23 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <4A01C202.8080803@seattlefenix.net> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> It could just be me, but I swear Hardware RAID has been faster for many many years, especially with RAID5 arrays - or anything that requires parity calcs. Most of my benchmarking was done on SCO OpenServer and Novell UnixWare and Netware, but hardware RAID controllers were always faster and of course required far less host CPU resources. Raid 0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't imagine the controller making as big a difference as the drives in the array - unless of course the drive for said controller sux!
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wojtek at wojtek.tensor.gdynia.pl Wed May 6 18:31:14 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 18:31:32 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <4A01C202.8080803@seattlefenix.net> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> Message-ID: >> config, or gmirror/gstripe config. >> >> usually it's far much slower > > Sorry, but my experience with that very server using a P400 controller with > 256MB write cache is very different. My benchmarks showed that controller > using Raid5 (with only 4 disks) is significantly faster than software > layouts. possibly with RAID5, but for sure slower than single drive > The days when hardware controllers could automatically be considered slow are > long gone. unfortunately not. From pschmehl_lists at tx.rr.com Wed May 6 18:46:44 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Wed May 6 18:46:51 2009 Subject: Autofs howto Message-ID: <7B3E8A7E95D544718E0AA242@utd65257.utdallas.edu> I'm going to take another stab at this. I'm wondering if I can use autofs on FreeBSD. Last time I asked the question someone said I need amd, which I found rather cryptic. I later discovered that there is a amd-utils in ports and an amd directory in contrib under source. So, is amd a kernel module? A separate program I compile? Should I build the ports amd-util instead? Will that give me autofs functionality? I've searched the web for howtos, but they all seem to be for LInux, not FreeBSD. It even seems the latest stuff for amd on FSBD is for 6.1. (I just upgraded to 7.2 STABLE today.) Has anyone ever done this? Is anyone successfully using autofs on FBSD? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From freebsd at optiksecurite.com Wed May 6 18:49:38 2009 From: freebsd at optiksecurite.com (Martin Turgeon) Date: Wed May 6 18:49:46 2009 Subject: Advices for a jailed MySQL server Message-ID: <4A01DBCE.9070304@optiksecurite.com> Hi everyone, I'm starting to build a new dedicated MySQL server. I will be using FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and to put the MySQL data outside the jail. My objective is to be able to update MySQL without down time. My objective would be to create another up to date MySQL jail and when I'm ready to make the switch, just point the new jail to the data outside the jail using something like a nullfs mount. Is someone using something like this? Did someone have any advice about how to update a MySQL server without down time? Did someone have any advice on how to tune a dedicated MySQL server running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 controler 2x146G 15K)? Thanks everyone for sharing your precious knowledge :) Martin From Ggatten at waddell.com Wed May 6 18:50:23 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 18:50:36 2009 Subject: filesystem: 12h to delete 32GB of data Message-ID: <70C0964126D66F458E688618E1CD008A0793EBD4@WADPEXV0.waddell.com> OT now, but in high i/o envs with high concurrency needs, RAID5 is still the way to go, esp if 90% of i/o is reads. Of course it depends on file size / type as well... Anyway, let's sum it up with "a storage subsystem is only as fast as its slowest link" ----- Original Message ----- From: Wojciech Puchar To: Bill Moran Cc: Gary Gatten; Benjamin Krueger ; freebsd-performance@freebsd.org ; Olivier Mueller ; freebsd-questions@freebsd.org Sent: Wed May 06 13:31:53 2009 Subject: Re: filesystem: 12h to delete 32GB of data > yes, some of them suck royally. you should rather say "some of them doesn't suck".
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wmoran at potentialtech.com Wed May 6 18:29:54 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 6 18:51:02 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> Message-ID: <20090506142951.2a27284d.wmoran@potentialtech.com> In response to "Gary Gatten" : > It could just be me, but I swear Hardware RAID has been faster for many > many years, especially with RAID5 arrays - or anything that requires > parity calcs. Most of my benchmarking was done on SCO OpenServer and > Novell UnixWare and Netware, but hardware RAID controllers were always > faster and of course required far less host CPU resources. Raid > 0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't > imagine the controller making as big a difference as the drives in the > array - unless of course the drive for said controller sux! Keep in mind that there are a LOT of RAID controllers out there, and yes, some of them suck royally. Especially the consumer-grade stuff intended for people to use on their home systems. I'd be willing to bet that software RAID is faster than 90% of the consumer grade RAID cards, and probably more reliable than most of them as well. Controllers make a huge difference, even in server class RAID (in my experience). There is a significant gap in performance between the good stuff and the good enough stuff. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From Ggatten at waddell.com Wed May 6 18:31:07 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 18:51:25 2009 Subject: filesystem: 12h to delete 32GB of data Message-ID: <70C0964126D66F458E688618E1CD008A0793EBD2@WADPEXV0.waddell.com> Sorry, "drive" in last sentence should be "driver"! ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: Benjamin Krueger ; Wojciech Puchar Cc: freebsd-performance@freebsd.org ; Olivier Mueller ; Bill Moran ; freebsd-questions@freebsd.org Sent: Wed May 06 13:08:46 2009 Subject: RE: filesystem: 12h to delete 32GB of data It could just be me, but I swear Hardware RAID has been faster for many many years, especially with RAID5 arrays - or anything that requires parity calcs. Most of my benchmarking was done on SCO OpenServer and Novell UnixWare and Netware, but hardware RAID controllers were always faster and of course required far less host CPU resources. Raid 0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't imagine the controller making as big a difference as the drives in the array - unless of course the drive for said controller sux!
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
_______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wojtek at wojtek.tensor.gdynia.pl Wed May 6 18:32:12 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 18:51:31 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> Message-ID: > It could just be me, but I swear Hardware RAID has been faster for many > many years, especially with RAID5 arrays - or anything that requires maybe with RAID5, but using RAID5 today (huge disk sizes, little sense to save on disk space) instead of RAID1/10 doesn't make much sense, as RAID5 is slow on writes by design From wojtek at wojtek.tensor.gdynia.pl Wed May 6 18:32:47 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed May 6 18:51:44 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <20090506142951.2a27284d.wmoran@potentialtech.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> <20090506142951.2a27284d.wmoran@potentialtech.com> Message-ID: > yes, some of them suck royally. you should rather say "some of them doesn't suck". From jerrymc at msu.edu Wed May 6 19:07:10 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed May 6 19:07:18 2009 Subject: Dump snapshot issue... In-Reply-To: <009401c9ce29$42b9bea0$c82d3be0$@wakefield.sch.uk> References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> <44pren4cy5.fsf@be-well.ilk.org> <009401c9ce29$42b9bea0$c82d3be0$@wakefield.sch.uk> Message-ID: <20090506190619.GB95433@gizmo.acns.msu.edu> On Wed, May 06, 2009 at 10:01:36AM +0100, Marc Coyles wrote: > > One thing you should try is to remove the dump_snapshot files, > > because > > they are supposed to be unlinked when the dump starts anyway, so > > they > > shouldn't be sticking around. > > > > Also, look for file flags on the directories, or ACLs, etc. > > > > And consider the permissions you're running dump with. > > > > Dump is running as root via cron / initiated by hand. > ACLs not used. > Have removed all existing dump_snapshot files, and > have also removed and recreated all .snap directories. > > S'now working fine for all mountpoints, except /home... > Is /home really a separate file system on your system? Or is it just a directory in another filesystem? ////jerry > mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error > dump: Cannot create /home/.snap/dump_snapshot: No such file or directory > > It doesn't appear to proceed "as normal" either... as you can see below, > it ends the previous dump, starts the /home dump, gets an I/O error, > then proceeds straight to the /usr dump. The /home dump never gets > performed. If I remove the -L option, everything goes thru fine, but > complains about lack of -L flag... > > DUMP: DUMP IS DONE > mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error > dump: Cannot create /home/.snap/dump_snapshot: No such file or directory > > DUMP: Date of this level 0 dump: Wed May 6 08:30:31 2009 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output > > > Fsck finds no errors on /home... point to note... mksnap_ffs CAN create > /home/.snap/dump_snapshot as I'm sat looking at the file, however, once > it's created it it's as tho it can't access it. The file is there, it > wasn't before I ran the script. It's created it as root:operator, perms > 400. I can open it in pico, add content to it, and save it happily. So > I'm baffled! > > M > > > > _______________________________________________ > 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 wmoran at potentialtech.com Wed May 6 19:09:36 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 6 19:09:43 2009 Subject: Advices for a jailed MySQL server In-Reply-To: <4A01DBCE.9070304@optiksecurite.com> References: <4A01DBCE.9070304@optiksecurite.com> Message-ID: <20090506150933.d0ef0178.wmoran@potentialtech.com> In response to Martin Turgeon : > Hi everyone, > > I'm starting to build a new dedicated MySQL server. I will be using > FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and > to put the MySQL data outside the jail. My objective is to be able to > update MySQL without down time. My objective would be to create another > up to date MySQL jail and when I'm ready to make the switch, just point > the new jail to the data outside the jail using something like a nullfs > mount. > > Is someone using something like this? > > Did someone have any advice about how to update a MySQL server without > down time? > > Did someone have any advice on how to tune a dedicated MySQL server > running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 > controler 2x146G 15K)? > > Thanks everyone for sharing your precious knowledge :) I expect that what you're trying to do will work, however it's horrifically error-prone during the upgrade procedure (what if you forget to stop the first MySQL before you start the new one!) If you need to do anything zero-downtime, then you probably want to run multiple MySQL instances and use database replication to keep the data in sync. That way you just switch which DB is master, then upgrade the slave ... rinse/repeat. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From jerrymc at msu.edu Wed May 6 19:10:01 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed May 6 19:10:09 2009 Subject: basic In-Reply-To: <20090506180032.e040df68.freebsd@edvax.de> References: <20090506180032.e040df68.freebsd@edvax.de> Message-ID: <20090506190906.GC95433@gizmo.acns.msu.edu> On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: > 10 GOTO 10 > > On Wed, 6 May 2009 14:32:47 +0200, "giorgio novello" wrote: > > Do you want obtain new market share? > > > > Develop e visual-basic like language, or asp vb and your OS will be a best > > seller > > FreeBSD isn't for beginners, it's for professionals. Everyone is a beginner sometime. So, FreeBSD is for beginners. Otherwise there would be no FreeBSD --- or you. ////jerry > There > wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction > Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction > Code, Visual Pasic, VP. It already exists: The tools for making > Qt and Gtk+ applications. Then, there are NetBeans and Eclipse > and so on - everything already there. :-) > > Furthermore, FreeBSD isn't sold. So it doesn't have to care > about market share and "best seller". > > And for the weekend: > 10 GOTO KNEIPE > 20 INPUT BIER > > > -- > Polytropon > >From 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 rsmith at xs4all.nl Wed May 6 19:18:41 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed May 6 19:18:48 2009 Subject: Autofs howto In-Reply-To: <7B3E8A7E95D544718E0AA242@utd65257.utdallas.edu> References: <7B3E8A7E95D544718E0AA242@utd65257.utdallas.edu> Message-ID: <20090506191838.GA91210@slackbox.xs4all.nl> On Wed, May 06, 2009 at 06:17:29PM +0000, Paul Schmehl wrote: > I'm going to take another stab at this. > > I'm wondering if I can use autofs on FreeBSD. There is a libautofs library and a mount_autofs program in my 7.2 source tree, but I'm not sure what it is, since it's not installed or built on my amd64 box. > Last time I asked the > question someone said I need amd, which I found rather cryptic. I > later discovered that there is a amd-utils in ports and an amd > directory in contrib under source. > > So, is amd a kernel module? A separate program I compile? It is a program that is part of the base system. See it's manual page; 'man amd' From amd(8): The amd utility is a daemon that automatically mounts file systems whenever a file or directory within that file system is accessed. File systems are automatically unmounted when they appear to be quiescent. 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/20090506/0543c0c6/attachment.pgp From m.seaman at infracaninophile.co.uk Wed May 6 19:21:58 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed May 6 19:22:05 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBD4@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793EBD4@WADPEXV0.waddell.com> Message-ID: <4A01E343.4020608@infracaninophile.co.uk> Gary Gatten wrote: > OT now, but in high i/o envs with high concurrency needs, RAID5 is > still the way to go, esp if 90% of i/o is reads. Of course it depends > on file size / type as well... Anyway, let's sum it up with "a > storage subsystem is only as fast as its slowest link" It's not just the balance of reads over writes. It's the size and sequential location of the IO requests. RAID5 is good for sequential reads -- eg. streaming a video -- where the system can read whole blocks from all the drives involved, calculate parity over the whole lot and then push all that blob of data up to the CPU. RAID5 is pretty pessimal if your usage pattern is small reads or writes randomly scattered over your storage area -- eg. typical RDBMS behaviour -- which works a great deal better on RAID10. I'd also contend that the essential difference between a really good fast hardware raid controller and something disappointingly mundane is a decent amount of non-volatile cache memory. For most H/W raid that equates to using a battery backup unit. I've been thinking though that a few GB of fast solid-state hard drive configured as a gjournal for a RAID10 (ie gstripe +gmirror) might achieve the same effect for rather less outlay... It would probably not be too shabby with RAID5 even, but of course you'ld lose the benefit of offloading parity calculations onto the RAID controller's CPU. Still, modern multi-core CPUs are probably fast enough nowadays to make that viable for many purposes. 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/20090506/a3456f62/signature.pgp From fred at bsdhost.net Wed May 6 19:35:58 2009 From: fred at bsdhost.net (Fred C) Date: Wed May 6 19:36:04 2009 Subject: basic In-Reply-To: <4297a9020905060908p664392f8v8f35b77509105ff0@mail.gmail.com> References: <4297a9020905060908p664392f8v8f35b77509105ff0@mail.gmail.com> Message-ID: <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> That project already exist it is called linux... -fred- On May 6, 2009, at 9:08 AM, J Sisson wrote: > That's a great idea...let's take a wonderful open source project and > flood > it with Windows "programmers" who couldn't find the shell even if they > booted without a GUI. > > And while we're at it, let's re-write the shell in .NET...you > know...for > performance reasons. > > On Wed, May 6, 2009 at 7:32 AM, giorgio novello > wrote: > >> Do you want obtain new market share? >> >> Develop e visual-basic like language, or asp vb and your OS will >> be a best >> seller >> >> >> >> Regards >> >> Giorgio Novello >> >> Vb developer >> >> Italy >> >> _______________________________________________ >> 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" >> > > > > -- > Computers are like air conditioners... > They quit working when you open Windows. > _______________________________________________ > 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 echen at nyx.com Wed May 6 19:41:40 2009 From: echen at nyx.com (Eddie Chen) Date: Wed May 6 19:41:47 2009 Subject: ReturnCode Checking for FTP In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBCD@WADPEXV0.waddell.com> Message-ID: Hi Gary and Lowell, I just download and complied the ncftp and run some ftp, it looks nice. Going to check it out more later on... I like the diagnostics exit return value on the ncftpput/get. Anyway, I have aready modify the tnftp(lukemftp) and started testing some of the batch jobs. Thanks Visit our website at http://www.nyse.com **************************************************** Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext, Inc. From Ggatten at waddell.com Wed May 6 19:53:04 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 19:53:10 2009 Subject: basic In-Reply-To: <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> References: <4297a9020905060908p664392f8v8f35b77509105ff0@mail.gmail.com> <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com> LMAO! Touch?! Seriously though, can't we all just get along? :) -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Fred C Sent: Wednesday, May 06, 2009 1:52 PM To: J Sisson Cc: freebsd-questions@freebsd.org Subject: Re: basic That project already exist it is called linux... -fred- On May 6, 2009, at 9:08 AM, J Sisson wrote: > That's a great idea...let's take a wonderful open source project and > flood > it with Windows "programmers" who couldn't find the shell even if they > booted without a GUI. > > And while we're at it, let's re-write the shell in .NET...you > know...for > performance reasons. > > On Wed, May 6, 2009 at 7:32 AM, giorgio novello > wrote: > >> Do you want obtain new market share? >> >> Develop e visual-basic like language, or asp vb and your OS will >> be a best >> seller >> >> >> >> Regards >> >> Giorgio Novello >> >> Vb developer >> >> Italy >> >> _______________________________________________ >> 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" >> > > > > -- > Computers are like air conditioners... > They quit working when you open Windows. > _______________________________________________ > 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From Midspan at phihongusa.com Wed May 6 20:00:03 2009 From: Midspan at phihongusa.com (Midspan Manager) Date: Wed May 6 20:00:11 2009 Subject: Myths about Power Over Ethernet Message-ID: <20090506195957.E6D9172B3@ocean.xo.com> Myths about Power Over Ethernet May 5, 2008 Power-over-Ethernet (PoE) technology integrates power and data across standard Cat5/5e/6 network cabling and provides more flexibility in today?s workplace. PoE enables power to be supplied to network devices, such as IP phones, network cameras, and wireless access points through a single, most often existing, network cable. When combined with an uninterruptable power supply (UPS) a PoE network delivers continuous operation and minimizes business downtime by eliminating most power interruptions. With the ability to install endpoints in any location PoE technology provides a scalable and flexible networking infrastructure geared for growth and efficiency. PoE Switches can provide all the power I need or will need. Today most switches are merely PoE-enabled. This means the majority rely on power management to share available power across the switch ports. The switches are designed with a smaller power supply that is typically capable of powering the switch itself and providing the required 15.4 watts of power over a limited number of ports. For example: A 24-port PoE Switch with power management typically has a 195-watt power supply. After the 40 watts needed to power the switch, you have approximately 155 watts remaining. If 12 of the 24 ports are used to connect end devices using 11.5 watts each, you would only have 17 watts remaining to provide power on the last 12 ports. The math doesn?t match the ports: 195W ? 40W (switch) ? 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports Myth Busted: A PoE Switch is often not the best and most cost effective solution. A midspan and a PoE switch are the same. A PoE Midspan is not a switch. A Midspan is an additional PoE power source that can be used to offer full power to all endpoint devices. PoE Midspans (Power Hub or Power Injector) pass data from a switch and ?inject? safe power acting as a patch panel of sorts. Midspans are commonly used with either a non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In addition to offering full power across all available ports, midspans costs substantially less per port and overall than a new PoE enabled switch. Myth Busted: Midspans do not switch ? they make use of existing best-in-class switches. They inject safe power across all ports and cost less than PoE switches. . Only a switch that has PoE built in should be used to power devices like IP Phones, Access Points, and IP Security Cameras. Switches were designed to, well, switch. PoE Switches are designed with power management and have to distribute different power as required to ports but there is often not enough power for all devices plus the power required to complete the primary task - switching. Networks that have multiple devices like IP phones, IP cameras, wireless access points quickly go beyond the limited capacity of managed power PoE switches. As more PoE devices continue to grow in capabilities and market share this managed power limitation will become more and more evident. Midspans, in contrast to switches, were designed to provide full power on every port and deliver safe and reliable power based on the industry standards (IEEE802.3af/at). Myth Busted: Rather than relying on power management in a switch use a midspan that can deliver full power (15.4W) to every port for all PoE-enabled devices now and in the future. Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered using PoE technology. Many devices do not directly accept Power-over-Ethernet but can still use PoE technology. If the device uses less than 12.5 watts (802.3af) or less than 50 watts (802.3at+) and connects to an IP Ethernet network you can use a PoE splitter. PoE splitters enable you to accept PoE power from any IEEE 802.3af/at compliant switch or midspan then separates the data and power on to two seprate cables. The data is connected to the end device through a standard RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm Adapter Plug. Splitters can also convert the input voltage to the required voltage for a non-PoE device. Splitters are traditionally used with older network products which only accept power through their (DC) jack and data through their RJ-45 jack. Myth Busted: PoE splitters can be used in conjunction with PoE midspans and switches to provide both the data connectivity and power required by most endpoint devices. I need/will need additional PoE switch ports to power my IP cameras and high-power pan, tilt, and zoom (PTZ) cameras. Today, many devices have evolved into more advanced solutions with higher power requirements. The traditional approach was to endure a ?forklift upgrade?. This meant buying new PoE switches at considerable cost and physically swapping out the existing switches to meet higher power requirements or add more powered ports. There is an easy and more cost-effective way ? separate the data and power in the wiring closet (IBF). It is more efficient and costs less to separate your data and power allowing you to keep your best-in-class business switch for your IP needs and supplement it where required with best-in-class midspan technology to power the endpoints. Myth Busted: A PoE Switch is often not the best and most cost effective solution. All midspans are created equal . . . they are all the same. Always select a best-in-class midspan. If you wanted to enhance your switched network wouldn?t use a best-in-class network switch? Of course you would. A midspan designed and manufactured by a leading power supply company that understands power, power requirements, and one that delivers enterprise-level solutions. Select a midspan manufacturer that has multiple members on the IEEE (PoE) committee helping to define safe, new PoE standards. This ensures that every midspan is designed to meet current and future IEEE specifications for Power-over-Ethernet. Select a midspan manufacturer that designs, manufactures, and tests its own product rather than outsourcing these tasks across the globe to cut costs. Select a midspan that has a high-speed, common interface to access the management console. A USB port is not as cheap as a serial port (RS-232) but is faster, more user-friendly, and more common on high quality midspans. Myth Busted: Although there are many midspan manufacturers out there, few have the power supply experience, quality controls, and manufacturing capability to produce best-in-class midspans. All midspans are NOT created equal. ?2009 midspans.com. Midspans.com is a division of Phihong USA Inc. All Rights Reserved You are being sent this email because you have expressed interest in PoE products in the past. If you do not wish to receive emails from us in the future and be removed from our list please click on the link below. To unsubscribe, please click here. www.phihong.com - 47800 Fremont Blvd., Fremont, CA. 94538 - Phone 510-445-0100 From fred at bsdhost.net Wed May 6 20:15:35 2009 From: fred at bsdhost.net (Fred C) Date: Wed May 6 20:15:43 2009 Subject: basic In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com> References: <4297a9020905060908p664392f8v8f35b77509105ff0@mail.gmail.com> <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> <70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com> Message-ID: <24AB5B8B-5243-4E1A-B0B1-50932CD3C8EC@bsdhost.net> On May 6, 2009, at 12:48 PM, Gary Gatten wrote: > LMAO! Touch?! Seriously though, can't we all just get along? :) I have no problem with linux I am using it every day at work it is installed on more than 2000 servers. But with all the incoherences in the tools and the os, I feel sometime like I am working on Windows. -fred- > > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org > ] On Behalf Of Fred C > Sent: Wednesday, May 06, 2009 1:52 PM > To: J Sisson > Cc: freebsd-questions@freebsd.org > Subject: Re: basic > > > That project already exist it is called linux... > > -fred- > > On May 6, 2009, at 9:08 AM, J Sisson wrote: > >> That's a great idea...let's take a wonderful open source project and >> flood >> it with Windows "programmers" who couldn't find the shell even if >> they >> booted without a GUI. >> >> And while we're at it, let's re-write the shell in .NET...you >> know...for >> performance reasons. >> >> On Wed, May 6, 2009 at 7:32 AM, giorgio novello >> wrote: >> >>> Do you want obtain new market share? >>> >>> Develop e visual-basic like language, or asp vb and your OS will >>> be a best >>> seller >>> >>> >>> >>> Regards >>> >>> Giorgio Novello >>> >>> Vb developer >>> >>> Italy >>> >>> _______________________________________________ >>> 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" >>> >> >> >> >> -- >> Computers are like air conditioners... >> They quit working when you open Windows. >> _______________________________________________ >> 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 > " > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
> > _______________________________________________ > 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 fjwcash at gmail.com Wed May 6 20:51:10 2009 From: fjwcash at gmail.com (Freddie Cash) Date: Wed May 6 20:51:18 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <4A01E343.4020608@infracaninophile.co.uk> References: <70C0964126D66F458E688618E1CD008A0793EBD4@WADPEXV0.waddell.com> <4A01E343.4020608@infracaninophile.co.uk> Message-ID: On Wed, May 6, 2009 at 12:21 PM, Matthew Seaman wrote: > Gary Gatten wrote: >> OT now, but in high i/o envs with high concurrency needs, RAID5 is >> still the way to go, esp if 90% of i/o is reads. Of course it depends >> on file size / type as well... Anyway, let's sum it up with "a >> storage subsystem is only as fast as its slowest link" > > It's not just the balance of reads over writes. ?It's the size and > sequential location of the IO requests. ?RAID5 is good for sequential reads -- eg. > streaming a video -- where the system can read whole blocks from all the > drives involved, calculate parity over the whole lot and then push all that > blob of data up to the CPU. > > RAID5 is pretty pessimal if your usage pattern is small reads or writes > randomly scattered over your storage area -- eg. typical RDBMS behaviour > -- which works a great deal better on RAID10. > > I'd also contend that the essential difference between a really good fast > hardware raid controller and something disappointingly mundane is a decent > amount of non-volatile cache memory. ?For most H/W raid that equates to > using a battery backup unit. ?I've been thinking though that a few GB of > fast solid-state hard drive configured as a gjournal for a RAID10 (ie > gstripe +gmirror) might achieve the same effect for rather less outlay... ?It > would probably not be too shabby with RAID5 even, but of course you'ld > lose the benefit of offloading parity calculations onto the RAID > controller's CPU. Still, modern multi-core CPUs are probably fast enough nowadays to > make that viable for many purposes. Depending on the number of drives you are using, ZFS would also be worth looking at. The raidz implementation works quite nicely, and (in theory) doesn't suffer from the major issues that RAID5/6 does. It also does implicit striping across all vdevs, so you can make some very fancy RAID layouts (each vdev can be mirrored, raidz1, raidz2, or just a bunch of disks). I don't know if the version of ZFS in FreeBSD 7.x supports hybrid pools, but the version in FreeBSD 8.0 should, which lets you add SSDs to the pool to be used automatically as "cache" in-between RAM and harddrives. -- Freddie Cash fjwcash@gmail.com From modulok at gmail.com Wed May 6 20:52:14 2009 From: modulok at gmail.com (Modulok) Date: Wed May 6 20:52:21 2009 Subject: Safe to 'make installkernel' in multi-user mode? Message-ID: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> Just making sure I'm not brewing a disaster... Is it 'safe' to install a kernel (i.e. 'make installkernel') on a system while in multi-user mode? Thanks! -Modulok- From jos at webrz.net Wed May 6 21:00:43 2009 From: jos at webrz.net (Jos Chrispijn) Date: Wed May 6 21:00:50 2009 Subject: NIC In-Reply-To: <49FF4622.2020703@webrz.net> References: <49FF4622.2020703@webrz.net> Message-ID: <4A01FA94.4050502@webrz.net> Dear all, Thanks for your advise and suggestions; I have bought the Intel Pro/1000GT. regards, Jos Chrispijn From admin at asarian-host.net Wed May 6 21:01:03 2009 From: admin at asarian-host.net (Mark) Date: Wed May 6 21:01:11 2009 Subject: php4 + php5 Message-ID: <200905062101.n46KYajh086945@asarian-host.net> Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. Thanks, - Mark From corky1951 at comcast.net Wed May 6 21:12:53 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Wed May 6 21:13:00 2009 Subject: basic In-Reply-To: <24AB5B8B-5243-4E1A-B0B1-50932CD3C8EC@bsdhost.net> References: <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> <70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com> <24AB5B8B-5243-4E1A-B0B1-50932CD3C8EC@bsdhost.net> Message-ID: <20090506205940.GC54310@comcast.net> On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote: > > On May 6, 2009, at 12:48 PM, Gary Gatten wrote: > >> LMAO! Touch?! Seriously though, can't we all just get along? :) > > > I have no problem with linux I am using it every day at work it is > installed on more than 2000 servers. But with all the incoherences in > the tools and the os, I feel sometime like I am working on Windows. I suspect the OP was trolling. The giveaway is his suggestion that following his advice would make FreeBSD a "best seller". This reflects a complete lack of awareness of what FreeBSD is all about. Setting aside the fact that FreeBSD is not a commercial product and thus has nothing to sell, he also presumes that our primary goal is to increase the size of our userbase and that we are willing to make whatever accommodations are necessary to achieve that goal. But unless I'm mistaken, that isn't FreeBSD's goal. FreeBSD's goal is to provide a freely-available implementation of BSD Unix for the most common hardware. New users who are looking for a BSD Unix are welcome, but they are expected to adapt to FreeBSD's way of doing things and not vice versa. The current userbase is large enough to suggest that many people have no problem with those terms. As for the suggestion that what FreeBSD needs is VB, there have already been various ports of Basic over the years. None of them seem to have had much success. BSD users seem to be content with traditional shell scripting, perl, or newer scripting languages like python -- all of which better reflect the Unix philosophy than VB does. From sonicy at otenet.gr Wed May 6 21:24:33 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed May 6 21:24:40 2009 Subject: Safe to 'make installkernel' in multi-user mode? In-Reply-To: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> References: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> Message-ID: <4A02000E.4090206@otenet.gr> Modulok wrote: > Just making sure I'm not brewing a disaster... > > Is it 'safe' to install a kernel (i.e. 'make installkernel') on a > system while in multi-user mode? > > Thanks! > -Modulok- > Yes. But you should schedule a reboot shortly afterwards. From luvbeastie at larseighner.com Wed May 6 21:41:18 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Wed May 6 21:41:25 2009 Subject: What make is in 7.1? Message-ID: <20090506163222.C6023@qroenaqrq.6qbyyneqvnyhc.pbz> When I do man make I get a man page and it includes references to the pmake tutorial which seems to be basis of an HTMLize pmake tutorial in one of the books. But clearly the installed make is not the pmake described in the tutorial. The tutorial frequently suggest using Pmake -h for more details about particular points. But in 7.1 make -h results in an illegal option message. There is no pmake or Pmake. There is a pmake port but it won't build in 7.1. So it seems I have a lot of documentation for pmake, which clearly I don't have and can't get. Where is the documentation for the make I do have? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From alexus at gmail.com Wed May 6 21:47:41 2009 From: alexus at gmail.com (alexus) Date: Wed May 6 21:47:47 2009 Subject: forcing traffic into leaving from not first ip Message-ID: <6ae50c2d0905061439t67de1b24p4343f376c8687e03@mail.gmail.com> i have many IPs assigned to my interface is there a way to force traffic to leave from specific IP vs another (default) first one? -- http://alexus.org/ From Ggatten at waddell.com Wed May 6 21:53:38 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 21:53:45 2009 Subject: forcing traffic into leaving from not first ip In-Reply-To: <6ae50c2d0905061439t67de1b24p4343f376c8687e03@mail.gmail.com> References: <6ae50c2d0905061439t67de1b24p4343f376c8687e03@mail.gmail.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBE7@WADPEXV0.waddell.com> Change your local routing table. Also maybe NAT, IP Tables, PF, etc. Policy Based Routing is the general term, but unless you want to do tricky stuff, basic routing manipulation should work. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of alexus Sent: Wednesday, May 06, 2009 4:40 PM To: freebsd-questions@freebsd.org Subject: forcing traffic into leaving from not first ip i have many IPs assigned to my interface is there a way to force traffic to leave from specific IP vs another (default) first one? -- http://alexus.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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From heli at mikestammer.com Wed May 6 21:57:08 2009 From: heli at mikestammer.com (Eric) Date: Wed May 6 21:57:15 2009 Subject: Safe to 'make installkernel' in multi-user mode? In-Reply-To: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> References: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> Message-ID: <4A01FCF1.4050600@mikestammer.com> Modulok wrote: > Just making sure I'm not brewing a disaster... > > Is it 'safe' to install a kernel (i.e. 'make installkernel') on a > system while in multi-user mode? > > Thanks! > -Modulok- > _______________________________________________ > 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" > Thats the way i do it and havent had an issue yet. I always do installworld from single user mode tho. From alexus at gmail.com Wed May 6 22:04:25 2009 From: alexus at gmail.com (alexus) Date: Wed May 6 22:04:31 2009 Subject: forcing traffic into leaving from not first ip In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EBE7@WADPEXV0.waddell.com> References: <6ae50c2d0905061439t67de1b24p4343f376c8687e03@mail.gmail.com> <70C0964126D66F458E688618E1CD008A0793EBE7@WADPEXV0.waddell.com> Message-ID: <6ae50c2d0905061503tbbf4546r68f9e525566ae9e5@mail.gmail.com> On Wed, May 6, 2009 at 5:50 PM, Gary Gatten wrote: > Change your local routing table. ?Also maybe NAT, IP Tables, PF, etc. > Policy Based Routing is the general term, but unless you want to do > tricky stuff, basic routing manipulation should work. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of alexus > Sent: Wednesday, May 06, 2009 4:40 PM > To: freebsd-questions@freebsd.org > Subject: forcing traffic into leaving from not first ip > > i have many IPs assigned to my interface > > is there a way to force traffic to leave from specific IP vs another > (default) first one? > > -- > http://alexus.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" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > ?and may contain information that is privileged and/or confidential. > ?If you are not the intended recipient, you are hereby notified that > ?any review, use, dissemination, disclosure or copying of this email > ?and its attachments, if any, is strictly prohibited. ?If you have > ?received this email in error, please immediately notify the sender by > ?return email and delete this email from your system." >
> > nothin tricky, i basically have 2 jails running on some ips but i want traffic to leave from other ips that those jails assigned too -- http://alexus.org/ From jerrymc at msu.edu Wed May 6 22:24:12 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed May 6 22:24:20 2009 Subject: basic In-Reply-To: <20090506205940.GC54310@comcast.net> References: <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net> <70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com> <24AB5B8B-5243-4E1A-B0B1-50932CD3C8EC@bsdhost.net> <20090506205940.GC54310@comcast.net> Message-ID: <20090506222321.GA96351@gizmo.acns.msu.edu> On Wed, May 06, 2009 at 01:59:41PM -0700, Charlie Kester wrote: > On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote: > > > >On May 6, 2009, at 12:48 PM, Gary Gatten wrote: > > > >>LMAO! Touch?! Seriously though, can't we all just get along? :) > > > > > >I have no problem with linux I am using it every day at work it is > >installed on more than 2000 servers. But with all the incoherences in > >the tools and the os, I feel sometime like I am working on Windows. > > I suspect the OP was trolling. The giveaway is his suggestion that > following his advice would make FreeBSD a "best seller". This reflects > a complete lack of awareness of what FreeBSD is all about. > > Setting aside the fact that FreeBSD is not a commercial product and thus > has nothing to sell, he also presumes that our primary goal is to > increase the size of our userbase and that we are willing to make > whatever accommodations are necessary to achieve that goal. > > But unless I'm mistaken, that isn't FreeBSD's goal. > > FreeBSD's goal is to provide a freely-available implementation of BSD > Unix for the most common hardware. New users who are looking for a BSD > Unix are welcome, but they are expected to adapt to FreeBSD's way of > doing things and not vice versa. The current userbase is large enough > to suggest that many people have no problem with those terms. > > As for the suggestion that what FreeBSD needs is VB, there have already > been various ports of Basic over the years. None of them seem to have > had much success. BSD users seem to be content with traditional shell > scripting, perl, or newer scripting languages like python -- all of > which better reflect the Unix philosophy than VB does. The only thing I miss about basic was the ease of playing the speaker on a pc. I wrote a number of odd-scaled and timed loops in Basic many years ago - circa 1980, pre Visual Basic actually, as tests of the effects of tone intervals and tone spacing and wouldn't mind resurecting them and doing some more experimenting. I know there are all kinds of more sophisticated things available, but the simplicity of it then just suited what I was trying to do. It would be easy enough to rewrite the loops in something like Perl, but is it as easy to make the tones and control the time intervals? I don't remember seeing that other places. Otherwise, the only other reason for Basic nowdays, as far as I can see, is for nostalgia -- anyone remember PP coding on CDC 6000 and 170 series mainframes? Now that's nostalgia. ////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 Ggatten at waddell.com Wed May 6 22:50:56 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed May 6 22:51:02 2009 Subject: basic In-Reply-To: <20090506222321.GA96351@gizmo.acns.msu.edu> References: <8315C22C-D4F4-46B7-9CB6-06F8C39BE18E@bsdhost.net><70C0964126D66F458E688618E1CD008A0793EBDC@WADPEXV0.waddell.com><24AB5B8B-5243-4E1A-B0B1-50932CD3C8EC@bsdhost.net><20090506205940.GC54310@comcast.net> <20090506222321.GA96351@gizmo.acns.msu.edu> Message-ID: <70C0964126D66F458E688618E1CD008A0793EBEB@WADPEXV0.waddell.com> You're sick! If it's not some killer RAD tool with OO everything and a pretty GUI to type in, who would write code in such a thing? Yes - I'm being sarcastic! Can we kill this thread now? Pretty soon it will be like the PC-BSD thread and the "I must have a pretty GUI installer" thread! -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jerry McAllister Sent: Wednesday, May 06, 2009 5:23 PM To: freebsd-questions@freebsd.org Subject: Re: basic On Wed, May 06, 2009 at 01:59:41PM -0700, Charlie Kester wrote: > On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote: > > > >On May 6, 2009, at 12:48 PM, Gary Gatten wrote: > > > >>LMAO! Touch?! Seriously though, can't we all just get along? :) > > > > > >I have no problem with linux I am using it every day at work it is > >installed on more than 2000 servers. But with all the incoherences in > >the tools and the os, I feel sometime like I am working on Windows. > > I suspect the OP was trolling. The giveaway is his suggestion that > following his advice would make FreeBSD a "best seller". This reflects > a complete lack of awareness of what FreeBSD is all about. > > Setting aside the fact that FreeBSD is not a commercial product and thus > has nothing to sell, he also presumes that our primary goal is to > increase the size of our userbase and that we are willing to make > whatever accommodations are necessary to achieve that goal. > > But unless I'm mistaken, that isn't FreeBSD's goal. > > FreeBSD's goal is to provide a freely-available implementation of BSD > Unix for the most common hardware. New users who are looking for a BSD > Unix are welcome, but they are expected to adapt to FreeBSD's way of > doing things and not vice versa. The current userbase is large enough > to suggest that many people have no problem with those terms. > > As for the suggestion that what FreeBSD needs is VB, there have already > been various ports of Basic over the years. None of them seem to have > had much success. BSD users seem to be content with traditional shell > scripting, perl, or newer scripting languages like python -- all of > which better reflect the Unix philosophy than VB does. The only thing I miss about basic was the ease of playing the speaker on a pc. I wrote a number of odd-scaled and timed loops in Basic many years ago - circa 1980, pre Visual Basic actually, as tests of the effects of tone intervals and tone spacing and wouldn't mind resurecting them and doing some more experimenting. I know there are all kinds of more sophisticated things available, but the simplicity of it then just suited what I was trying to do. It would be easy enough to rewrite the loops in something like Perl, but is it as easy to make the tones and control the time intervals? I don't remember seeing that other places. Otherwise, the only other reason for Basic nowdays, as far as I can see, is for nostalgia -- anyone remember PP coding on CDC 6000 and 170 series mainframes? Now that's nostalgia. ////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" > _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From kalle.moller at gmail.com Thu May 7 01:08:11 2009 From: kalle.moller at gmail.com (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Thu May 7 01:08:18 2009 Subject: Maintaining a FreeBSD system - Workcycle Message-ID: <8250ac3f0905061743l21a9a87fv9ca3aa50cb176873@mail.gmail.com> Hi I'm looking for a generel guide / howto for maintaining a FreeBSD system - not all the ports, just the base system. One that describe how often you should update your port-tree, which basic ports like audit you should have. Its a server I have that runs different services, so I'm also looking for cronjobs that I could make the system mail to me incase of something. In very few words maintain automatic . Hope you have some guides out there -- Med Venlig Hilsen Kalle R. M?ller From Ggatten at waddell.com Thu May 7 01:16:42 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu May 7 01:16:48 2009 Subject: Maintaining a FreeBSD system - Workcycle Message-ID: <70C0964126D66F458E688618E1CD008A0793EBFF@WADPEXV0.waddell.com> Freebsd.org - docs; several docs there ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Wed May 06 19:43:07 2009 Subject: Maintaining a FreeBSD system - Workcycle Hi I'm looking for a generel guide / howto for maintaining a FreeBSD system - not all the ports, just the base system. One that describe how often you should update your port-tree, which basic ports like audit you should have. Its a server I have that runs different services, so I'm also looking for cronjobs that I could make the system mail to me incase of something. In very few words maintain automatic . Hope you have some guides out there -- Med Venlig Hilsen Kalle R. M?ller _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wsparrish at hotmail.com Thu May 7 02:47:37 2009 From: wsparrish at hotmail.com (Scott Parrish) Date: Thu May 7 02:48:24 2009 Subject: unable to boot with Nvidia AGP graphics card Message-ID: Hi all, Recently my PCI graphics card failed on my Dell Dimension 4100. I replaced it with a known good card I had lying around: an Nvidia GeForce 3 TI200 with an AGP interface. My FreeBSD installation will not boot with this graphics card. The boot loader hangs at the twirling baton as follows: /boot/kernel/acpi.ko text=0x43698 data=0x23c0+0x10f0 syms=[0x4+0x7ba0+0x4+0xa828] \ I'm running 7.1-RELEASE generic kernel. Anyone ever see anything like this before? Any ideas on how I can debug? Is there anything I can do with the loader prompt to see what is happening when this occurs? The keyboard still seems responsive when this happens (the caps-lock, num-lock, etc. still work). It is almost as if the boot loader is unsure how to send output to the AGP bus. I have tweaked every possible setting in the very limited BIOS but nothing helps. BTW, I know that my hardware is good because this is a dual boot system and I am able to boot into Windows just fine. I am also able to run Linux from a live cd. However, I also tried a FreeBSD install disk and it hangs at the same place. Thanks in advance for any help you can offer! -William _________________________________________________________________ Hotmail? goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009 From chris at monochrome.org Thu May 7 03:10:27 2009 From: chris at monochrome.org (Chris Hill) Date: Thu May 7 03:10:35 2009 Subject: Java without CUPS Message-ID: <20090506221421.N3109@tripel.monochrome.org> Hello list, I know that, since my printer speaks Postscript, I don't need CUPS. But some of the ports I'm installing want to install CUPS as a dependency. The first one I happened across was java/jdk16, but I'd be surprised if there weren't more. Could it be as simple as # make -DWITHOUT_CUPS install ? I see no such possibility in either the config options or the Makefile for jdk16, and google was no help. It's not like the disk space costs anything nowadays, but I chafe at installing unneccesary bloat on my system. If it can't be done I'll deal, but I'd like to stay CUPS-free if possible. Thanks very much for any insight. $ uname -mv 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 -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From pathiaki2 at yahoo.com Thu May 7 02:05:19 2009 From: pathiaki2 at yahoo.com (Paul Patterson) Date: Thu May 7 03:30:01 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> Message-ID: <83156.91671.qm@web110507.mail.gq1.yahoo.com> Sorry. This statement is incorrect. If you aren't using ZFS, or even a GEOM volume with mirror/RAID5/softup/etc, you cannot make the statement that hardware RAID is faster. I learned that 3 years ago. It takes about 30 minutes to mirror 1.5TB on ZFS. Try that on hardware RAID. I did the same with 80 GB SATA drives a couple of years ago. Gmirror killed hardware mirror by 50% When your processor on your hardware RAID card is junk and you have a kickass processor and good chunk of memory on your main system and decent controller that isn't getting maxed, the "hardware RAID is always faster" paradigm walked out the door a few years ago. This does not go for EMC, IBM, Hitachi high-end storage arrays where you write to TBs of RAM Cache. P. ________________________________ From: Wojciech Puchar To: Gary Gatten Cc: freebsd-questions@freebsd.org; Benjamin Krueger ; Olivier Mueller ; freebsd-performance@freebsd.org; Bill Moran Sent: Wednesday, May 6, 2009 2:31:16 PM Subject: RE: filesystem: 12h to delete 32GB of data > It could just be me, but I swear Hardware RAID has been faster for many > many years, especially with RAID5 arrays - or anything that requires maybe with RAID5, but using RAID5 today (huge disk sizes, little sense to save on disk space) instead of RAID1/10 doesn't make much sense, as RAID5 is slow on writes by design _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" From freebsd at edvax.de Thu May 7 03:31:50 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 03:31:58 2009 Subject: Java without CUPS In-Reply-To: <20090506221421.N3109@tripel.monochrome.org> References: <20090506221421.N3109@tripel.monochrome.org> Message-ID: <20090507053140.6bf04539.freebsd@edvax.de> On Wed, 6 May 2009 22:34:52 -0400 (EDT), Chris Hill wrote: > I know that, since my printer speaks Postscript, I don't need CUPS. But > some of the ports I'm installing want to install CUPS as a dependency. > The first one I happened across was java/jdk16, but I'd be surprised if > there weren't more. Just as an information: Gimp (Gutenprint) installs CUPS, allthough I already have apsfilter (HP Laserjet 4000 PCL). When printing, Gimp still tries to "connect to server" (lpstat). > Could it be as simple as > # make -DWITHOUT_CUPS install > ? I see no such possibility in either the config options or the Makefile > for jdk16, and google was no help. I don't think it is possible. The Makefile lists CUPS as a build dependency (UILD_DEPENDS): % grep -n "cups" /usr/ports/java/jdk16Makefile 24: ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base But I think it's possible to delete CUPS from the system after JDK is compiled successfully: CUPS isn't listed in RUN_DEPENDS so it doesn't seem to be required for running JDK / Java. > It's not like the disk space costs anything nowadays, but I chafe at > installing unneccesary bloat on my system. If it can't be done I'll > deal, but I'd like to stay CUPS-free if possible. Same here, too. :-) Philosophy behind the idea: I don't want to install software that I don't need / don't run. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From pldrouin at pldrouin.net Thu May 7 03:39:27 2009 From: pldrouin at pldrouin.net (Pierre-Luc Drouin) Date: Thu May 7 03:39:56 2009 Subject: How to get the user time of another running process on FreeBSD? Message-ID: <4A025398.8000303@pldrouin.net> Hi, I would like to know how I can get the user time of another running process on FreeBSD? Ideally I would like to find a solution that would work as well on other *nix systems. So far the solutions I have found are specific to a given OS (format of proc filesystem, lock_getcpuclockid)... Thank you! Pierre-Luc Drouin From tajudd at gmail.com Thu May 7 03:48:31 2009 From: tajudd at gmail.com (Tim Judd) Date: Thu May 7 03:48:39 2009 Subject: Maintaining a FreeBSD system - Workcycle In-Reply-To: <8250ac3f0905061743l21a9a87fv9ca3aa50cb176873@mail.gmail.com> References: <8250ac3f0905061743l21a9a87fv9ca3aa50cb176873@mail.gmail.com> Message-ID: On Wed, May 6, 2009 at 6:43 PM, Kalle M?ller wrote: > Hi > > I'm looking for a generel guide / howto for maintaining a FreeBSD > system - not all the ports, just the base system. One that describe > how often you should update your port-tree, which basic ports like > audit you should have. Its a server I have that runs different > services, so I'm also looking for cronjobs that I could make the > system mail to me incase of something. > > In very few words maintain automatic . > > Hope you have some guides out there > > -- > > Med Venlig Hilsen > > Kalle R. M?ller > It will vary per person. It will vary by said person's workload. But I tend to use a couple of basic principles. 1) NEVER let your system lapse to End of Life. a) it's easier now that freebsd-update exists and is part of base. b) reading the impact section in the security announcements that are mailed to you, and if they affect you, perform the update immediately... not "ASAP" 2) Install portaudit and watch the periodic mailings that are sent to you. They list vulnerabilities in ports that really should be addressed. Knowing that for each notification portaudit sends to you, it WILL affect some service. Schedule the update ASAP, but I never let it go past a week. The outline above is my own view, I don't expect anyone to share them, I don't mind if they inherit them. So you want to know when to update the ports tree? when a vulnerability exists and an updated/patched version of the port is then in the ports tree. portaudit gets fresh databsae updates, and rescans your ports at each run of the periodic script. Portaudit itself doesn't care about what version the ports tree has, it cares about the version you have installed on your box. I dislike automation -- when something is automated and it fails, how disastrous can it be? What is missing, due to a failed automation? Last night my backup script at work didn't backup anything. An unused tape was reported as available, yet the backup didn't run. I had no backups to work off of. This script worked fine for the past 3 months, why fail now? Because of this, even if it IS more work, I tend to do things by hand. Less risk, IMHO. Good luck, and ask questions if you need to. From talon at lpthe.jussieu.fr Thu May 7 03:55:27 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Thu May 7 03:55:34 2009 Subject: Autofs howto Message-ID: <20090507035523.GA6073@lpthe.jussieu.fr> Paul Schmehl wrote: > I'm wondering if I can use autofs on FreeBSD. Last time I asked the > question someone said I need amd, which I found rather cryptic. Indeed it is cryptic, let me gave an example which works: niobe% cat /etc/amd.conf [global] auto_dir = /.amd log_file = /var/log/amd.log log_options = error,fatal,user map_type = file search_path = /etc [/Cd] map_name = amd.cdrom # For nfs mounts [/Net] map_name = amd.net niobe% cat /etc/amd.cdrom cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom niobe% cat /etc/amd.net /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid,resvport,nosuid,nodev,soft Now some comments. I use amd without options so it just uses /etc/amd.conf to configure itself. When you try to access /Cd it uses the configuration in /etc/amd.cdrom, and if you try to access /Net it uses the configuration in /etc/amd.net. Finally if you try to access /Net/ada for example, the key is ada, and so is the remote host. It is queried for NFS mounts and everything is mounted. After niobe% cd /Net/ada i have: niobe% df ... ada:/ada 36196652 26972064 7356232 79% /.amd/ada/ada ada:/ada1 287391356 246682696 26109996 90% /.amd/ada/ada1 ada:/ada2 288362876 180649856 93064956 66% /.amd/ada/ada2 ada:/ada3 99188500 80794628 13273960 86% /.amd/ada/ada3 ada:/adm 36204684 1682772 32653156 5% /.amd/ada/adm Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can see. Getting out of /Net/ada those mounts are unmounted. I hope this helps explaining some of the mysteries of amd. -- Michel TALON From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 04:26:47 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 04:26:54 2009 Subject: unable to boot with Nvidia AGP graphics card In-Reply-To: References: Message-ID: <200905070626.43652.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 07 May 2009 04:35:30 Scott Parrish wrote: > Hi all, > Recently my PCI graphics card failed on my Dell Dimension 4100. I replaced > it with a known good card I had lying around: an Nvidia GeForce 3 TI200 > with an AGP interface. My FreeBSD installation will not boot with this > graphics card. The boot loader hangs at the twirling baton as follows: > /boot/kernel/acpi.ko text=0x43698 data=0x23c0+0x10f0 > syms=[0x4+0x7ba0+0x4+0xa828] > \ > > I'm running 7.1-RELEASE generic kernel. > Anyone ever see anything like this before? Any ideas on how I can debug? Most common cause is a faulty hints file, since you can't install from CD either, the GENERIC hints aren't working for this system. You could try 7.2- RELEASE cd and file a PR otherwise. The dmesg from linux would be useful information in this PR. > Is there anything I can do with the loader prompt to see what is happening > when this occurs? The keyboard still seems responsive when this happens > (the caps-lock, num-lock, etc. still work). It is almost as if the boot > loader is unsure how to send output to the AGP bus. You can disable the AGP at loader prompt, similar to how one would do that in the hints file: hint.agp.0.disabled="1" -- Mel From warren.guy at calorieking.com Thu May 7 04:28:28 2009 From: warren.guy at calorieking.com (Warren Guy) Date: Thu May 7 04:28:35 2009 Subject: Developing and maintaining a rapidly deployable image of an installed system Message-ID: <4A025F42.50308@calorieking.com> Hi everyone, I'm just wondering if there is an established best practice for developing and maintaining a rapidly deployable image of an installed FreeBSD system? If anyone can point me towards documentation or any other resources that might be of use I would greatly appreciate it. Thanks, Warren -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090507/d68f71bc/signature.pgp From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 04:58:21 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 04:58:28 2009 Subject: Maintaining a FreeBSD system - Workcycle In-Reply-To: References: <8250ac3f0905061743l21a9a87fv9ca3aa50cb176873@mail.gmail.com> Message-ID: <200905070658.18661.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 07 May 2009 05:48:10 Tim Judd wrote: > 2) Install portaudit and watch the periodic mailings that are sent to you. > They list vulnerabilities in ports that really should be addressed. Not really. You can use the same common sense as with the base system and even more so (for the base system I just install them always, as it doesn't pay off in the long run to skip them). Portaudit for a (web)server has a lot of notifications that "are not critical", like several issues over the last year with php's safe mode that any sane webserver admin doesn't use. -- Mel From freebsd at edvax.de Thu May 7 04:58:53 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 04:59:01 2009 Subject: Developing and maintaining a rapidly deployable image of an installed system In-Reply-To: <4A025F42.50308@calorieking.com> References: <4A025F42.50308@calorieking.com> Message-ID: <20090507065844.d0e90f56.freebsd@edvax.de> On Thu, 07 May 2009 12:10:42 +0800, Warren Guy wrote: > I'm just wondering if there is an established best practice for > developing and maintaining a rapidly deployable image of an installed > FreeBSD system? One of the common (at least I think so) methods is using the system's standard tools dump and restore. You create the installation as you need it on a separate machine or in a jailed environment, and you end up with partitions as you want them to have on the machines for deployment. Then you dump these partitions into files. On the (fresh) machines, you boot into a minimal FreeBSD system that allows you to read the dump files, from optical media, tape, or across the network. First you slice, partition and newfs the partitions (can easily be scripted if you know what you want), then you restore the partitions (as on the machine used for preparing them) from the dump files. That's for deploying. For maintaining... it's possible to use a similar method where you only need to dump and restore partitions where you did major changes. For minor ones it should be sufficient to alter files "the usual way" (can be scripted, too). > If anyone can point me towards documentation or any other resources that > might be of use I would greatly appreciate it. There has been a discussion thread some days ago on this list which covers a bit of this topic (deploying). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 05:06:12 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 05:06:19 2009 Subject: Safe to 'make installkernel' in multi-user mode? In-Reply-To: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> References: <64c038660905061352j7edfc484w594f9e06a9f1f7cb@mail.gmail.com> Message-ID: <200905070706.09296.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 06 May 2009 22:52:12 Modulok wrote: > Just making sure I'm not brewing a disaster... > > Is it 'safe' to install a kernel (i.e. 'make installkernel') on a > system while in multi-user mode? It's the best and prefered way. Dropping to single user for installkernel has very little advantages, the running kernel doesn't change, only the on-disk version and if something goes wrong, you have full tools available to track the problem down. -- Mel From dnelson at allantgroup.com Thu May 7 05:14:19 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu May 7 05:14:26 2009 Subject: Java without CUPS In-Reply-To: <20090506221421.N3109@tripel.monochrome.org> References: <20090506221421.N3109@tripel.monochrome.org> Message-ID: <20090507045616.GH3371@dan.emsphone.com> In the last episode (May 06), Chris Hill said: > I know that, since my printer speaks Postscript, I don't need CUPS. But > some of the ports I'm installing want to install CUPS as a dependency. > The first one I happened across was java/jdk16, but I'd be surprised if > there weren't more. > > Could it be as simple as > # make -DWITHOUT_CUPS install > ? I see no such possibility in either the config options or the Makefile > for jdk16, and google was no help. > > It's not like the disk space costs anything nowadays, but I chafe at > installing unneccesary bloat on my system. If it can't be done I'll deal, > but I'd like to stay CUPS-free if possible. Take a look at PR 120718. The same files work for the jdk7 tree, too, if you happen to track that. -- Dan Nelson dnelson@allantgroup.com From m.seaman at infracaninophile.co.uk Thu May 7 06:29:27 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu May 7 06:29:35 2009 Subject: php4 + php5 In-Reply-To: <200905062101.n46KYajh086945@asarian-host.net> References: <200905062101.n46KYajh086945@asarian-host.net> Message-ID: <4A027F86.70007@infracaninophile.co.uk> Mark wrote: > Using a single Apache 1.3.x install, is there a way to install both > > mod_php4 + mod_php5 together? I can't just upgrade to php5: not every > > webboard and such accepts php5 yet. On some dirs (or per vhost) I like > > the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that loading both mod_php4 and mod_php5 into the same instance of Apache is viable. The standard answer to this sort of problem is to use multiple instances of apache. There's support in the rc scripts to do that[*] -- you'll have to work out a mechanism (proxying, running different instances on different IP numbers or ports, etc.) to get the web traffic into the correct apache instance. However, the conflicts between php4 and php5 make this unfeasible, and probably the solution here is to use separately jailed instances of apache. Cheers, Matthew [*] Well, there certainly is for apache22 -- I assume that the same applies to the other apache versions in the ports. -- 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/20090507/2ffb15e7/signature.pgp From raghu at mri.ernet.in Thu May 7 06:41:48 2009 From: raghu at mri.ernet.in (N. Raghavendra) Date: Thu May 7 06:41:57 2009 Subject: ReturnCode Checking for FTP In-Reply-To: (Eddie Chen's message of "Wed, 6 May 2009 11:44:46 -0400") References: Message-ID: <86hbzxmn7a.fsf@riemann.mri.ernet.in> At 2009-05-06T11:44:46-04:00, Eddie Chen wrote: > Reading the ftp commands seems to be better, because it will exit(rc) > if any of "put" or "rename" failed. Perhaps you've already looked at `lftp', http://lftp.yar.ru/ Exit codes of its commands can be used from the shell, e.g., as follows: % set SERVER="ftp://ftp.freebsd.org/pub/FreeBSD/" % lftp -c "open -e 'cat README.TXT' ${SERVER}" > /dev/null && echo "OK" OK % lftp -c "open -e 'cat NOEXIST' ${SERVER}" || echo "FAILED" FAILED Further, lftp commands themselves can use the exit codes of previous commands: % lftp -c "open -e 'ls foo && ls misc' ${SERVER}" ls: Access failed: 404 Not Found (foo) % lftp -c "open -e 'ls foo || ls misc' ${SERVER}" ls: Access failed: 404 Not Found (foo) drwxr-xr-x -- ~ drwxr-xr-x -- ~/pub drwxr-xr-x -- .. drwxr-xr-x -- . drwxr-xr-x - 2007-11-02 00:00 fbsd-compat -rw-r--r-- 1k 2002-04-03 00:00 supfile HTH, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 07:03:40 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 07:03:48 2009 Subject: basic In-Reply-To: <20090506190906.GC95433@gizmo.acns.msu.edu> References: <20090506180032.e040df68.freebsd@edvax.de> <20090506190906.GC95433@gizmo.acns.msu.edu> Message-ID: <200905070903.36706.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 06 May 2009 21:09:07 Jerry McAllister wrote: > On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: > > 10 GOTO 10 > > > > On Wed, 6 May 2009 14:32:47 +0200, "giorgio novello" wrote: > > > Do you want obtain new market share? > > > > > > Develop e visual-basic like language, or asp vb and your OS will be a > > > best seller > > > > FreeBSD isn't for beginners, it's for professionals. > > Everyone is a beginner sometime. So, FreeBSD is for beginners. > Otherwise there would be no FreeBSD --- or you. What he means is that FreeBSD does no hand holding or hide stuff "because you don't need access to it anyway". Also, there aren't many that started computing on FreeBSD. -- Mel From mcoyles at horbury.wakefield.sch.uk Thu May 7 07:37:49 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Thu May 7 07:37:57 2009 Subject: Dump snapshot issue... In-Reply-To: <20090506190619.GB95433@gizmo.acns.msu.edu> References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> <44pren4cy5.fsf@be-well.ilk.org> <009401c9ce29$42b9bea0$c82d3be0$@wakefield.sch.uk> <20090506190619.GB95433@gizmo.acns.msu.edu> Message-ID: <007001c9cee6$a689f9f0$f39dedd0$@wakefield.sch.uk> > Is /home really a separate file system on your system? > Or is it just a directory in another filesystem? df -h output: Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 3.9G 351M 3.2G 10% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1g 98G 13G 77G 14% /home /dev/da0s1d 7.7G 136K 7.1G 0% /tmp /dev/da0s1e 9.7G 5.6G 3.3G 63% /usr /dev/da0s1f 9.7G 1.3G 7.6G 15% /var /dev/da1s1d 133G 40G 82G 33% /backup devfs 1.0K 1.0K 0B 100% /var/named/dev procfs 4.0K 4.0K 0B 100% /proc Marci From kenneth.hatteland at kleppnett.no Thu May 7 08:16:58 2009 From: kenneth.hatteland at kleppnett.no (kenneth hatteland) Date: Thu May 7 08:17:14 2009 Subject: abiword Message-ID: <4A0298ED.5010201@kleppnett.no> I am having serious problems getting my freebsd machines with abiword installed to open .doc files. Text becomes totally garbled and unreadable. Have searched the net and the few abiword forums I can find but nowhere does it say what nob is unturned on my freebsd installs. winxp and linux machines opens such documents ok. Anyone using this and know something wise ? OpenOffice would be an alternative, but I only have 4gb left of /usr so it won` t build. blessed be Kenneth, norway From freebsd at edvax.de Thu May 7 08:49:06 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 08:49:13 2009 Subject: abiword In-Reply-To: <4A0298ED.5010201@kleppnett.no> References: <4A0298ED.5010201@kleppnett.no> Message-ID: <20090507104856.ad6dcd3b.freebsd@edvax.de> On Thu, 07 May 2009 10:16:45 +0200, kenneth hatteland wrote: > I am having serious problems getting my freebsd machines with abiword > installed to open .doc files. Text becomes totally garbled and > unreadable. Maybe this is due to a defective .DOC file (quick save disaster, memory dump); possible that Abiword isn't as fault tolerant as OpenOffice. > [...] linux machines opens such documents ok. In Abiword as well? Same version? > OpenOffice would be an alternative, but I only have 4gb left of /usr so > it won` t build. Better install from a package via the pkg_add command. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Pieter.Donche at ua.ac.be Thu May 7 10:00:17 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Thu May 7 10:00:29 2009 Subject: isc-dhcp logging and status query Message-ID: FreeBSD7-amd64: I set up /usr/ports/net/isc-dhcp30-server for static IP addresses (based on the MacAddress) This works, but I wonder where I can see information of the status? 1. The doc says I should see dhcp log messages (default in /var/log/messages) but I see nothing about dhcp in /var/log/messages. (I wonder where they are now, before hacking /etc/syslog.conf) 2. Is there any tool to see what Statically assigned IP address are handed out at a given time? (I also see nothing in /var/db/dhcpd/dhcpd.leases file execpt comments) From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 10:34:18 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 10:34:25 2009 Subject: isc-dhcp logging and status query In-Reply-To: References: Message-ID: <200905071234.15523.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 07 May 2009 12:00:10 Pieter Donche wrote: > 2. Is there any tool to see what Statically assigned IP address are handed > out at a given time? > (I also see nothing in /var/db/dhcpd/dhcpd.leases file execpt comments) Add omapi-port 7911; to dhcpd.conf. Then, as follows: $ omshell > connect obj: > new lease obj: lease > set ip-address = 192.168.2.253 obj: lease ip-address = c0:a8:02:fd > open obj: lease ip-address = c0:a8:02:fd state = 00:00:00:02 client-hostname = "impy" See omshell(1) for more info. Install isc-dhcp30-relay to get the omapi(3) and dhcpctl(3) programming interfaces to roll your own tools. -- Mel From mexas at bristol.ac.uk Thu May 7 11:16:36 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu May 7 11:16:45 2009 Subject: make - reassign variable using if-then ? In-Reply-To: <200905061740.41949.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090506083152.GA48658@mech-cluster238.men.bris.ac.uk> <200905061115.07888.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090506093117.GA64688@mech-cluster238.men.bris.ac.uk> <200905061740.41949.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090507111622.GA7289@mech-cluster238.men.bris.ac.uk> On Wed, May 06, 2009 at 05:40:41PM +0200, Mel Flynn wrote: > On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote: > > > I'm trying to build gcc43 on alpha 6.4. > > In /usr/ports/lang/gcc43/Makefile I have: > > > > # grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile > > NOT_FOR_ARCHS= alpha ia64 powerpc > > # > > > > In /etc/make.conf I have: > > > > .if ${.CURDIR:M*/lang/gcc43*} > > NOT_FOR_ARCHS= ia64 > > USE_GCC=4.3+ > > .endif > > > > This used to work fine until some update. Not anymore. > > The second setting is being used, i.e. the port is being built > > with gcc43. But the NOT_FOR_ARCHS is not changed, so I have > > to do it manually each time. > > > > So I tried to experiment with changing variable values withing if-then. > > Your only option is overriding in /usr/portslang/gcc43/Makefile.local. This is > because make.conf is read *before* the Makefile and the Makefile simply > overrides your values. Makefile.local is read *after* the Makefile. > csup will leave it alone, however portsnap will delete the entire directory > before upgrading the port, so your Makefile.local will be shot. ok, thanks, that works, I do use cvsup. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From lhecking at users.sourceforge.net Thu May 7 11:17:45 2009 From: lhecking at users.sourceforge.net (Lars Hecking) Date: Thu May 7 11:17:52 2009 Subject: 7.2 = no sound Message-ID: <20090507105027.279A04E382@cork.irdesign.cypress.com> I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm running gnome, and both esound-0.2.41 A sound library for enlightenment package pulseaudio-0.9.14_5 Sound server for UNIX are installed. Both esd and pulseaudio are running root 1182 0.0 0.1 3372 1140 con- I 10:37PM 0:00.01 /usr/local/bin/esd user 1508 0.0 0.3 78224 5804 ?? Is 11:09PM 0:00.26 /usr/local/bin/pulseaudio --start --log-target=syslog user 1509 0.0 0.2 10772 4892 ?? I 11:09PM 0:00.01 /usr/local/libexec/pulse/gconf-helper which doesn't seem right to me, but turning off esd does not help, and I don't know how to turn off pulseaudio. So I went through http://www.freebsd.org/doc/en/books/handbook/sound-setup.html Sound module loaded: yes # kldstat |grep snd 4 1 0xc09d6000 1abf8 snd_hda.ko # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default) pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (0p:0v/1r:1v channels) dmesg: pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 However, I have no /dev/dsp: # ll /dev/dsp* crw-rw-rw- 1 root wheel 0, 115 May 6 22:37 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 117 May 6 22:37 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 118 May 6 23:16 /dev/dsp0.2 crw-rw-rw- 1 root wheel 0, 119 May 6 23:21 /dev/dsp0.3 crw-rw-rw- 1 root wheel 0, 120 May 6 23:21 /dev/dsp0.4 crw-rw-rw- 1 root wheel 0, 116 May 6 22:37 /dev/dsp1.0 # fstat |grep dsp root esd 1182 5 /dev 115 crw-rw-rw- dsp0.0 w Where do I go from here? From wmoran at potentialtech.com Thu May 7 12:02:48 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu May 7 12:02:58 2009 Subject: Developing and maintaining a rapidly deployable image of an installed system In-Reply-To: <4A025F42.50308@calorieking.com> References: <4A025F42.50308@calorieking.com> Message-ID: <20090507080157.93c8e5ee.wmoran@potentialtech.com> Warren Guy wrote: > > Hi everyone, > > I'm just wondering if there is an established best practice for > developing and maintaining a rapidly deployable image of an installed > FreeBSD system? > > If anyone can point me towards documentation or any other resources that > might be of use I would greatly appreciate it. One of the tools we've been using extensively is FreeBSD's jail system. Especially with the ezjail port, it's pretty easy to have a backup tarball of each "system" that can then be easily deployed to another server if needed. It also makes it easy to migrate "servers" to other hardware in order to do upgrades, or re-balance workload if one particular piece of hardware is getting over or under utilized. The host system is a very basic install -- mostly just give it an IP and add users for the administrators. All the ports and details of their configs are in the individual jails. It's much more efficient than using something like VMware, which has horrific performance penalties. -- Bill Moran http://www.potentialtech.com From wojtek at wojtek.tensor.gdynia.pl Thu May 7 12:16:33 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu May 7 12:16:42 2009 Subject: Maintaining a FreeBSD system - Workcycle In-Reply-To: <200905070658.18661.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <8250ac3f0905061743l21a9a87fv9ca3aa50cb176873@mail.gmail.com> <200905070658.18661.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: > more so (for the base system I just install them always, as it doesn't pay off > in the long run to skip them). Portaudit for a (web)server has a lot of > notifications that "are not critical", like several issues over the last year > with php's safe mode that any sane webserver admin doesn't use. i don't know really what's PHP safe mode, just if someone says he/she needs PHP i make separate jail, and configure whatever she/he wants. it for sure have a lots of bugs (in PHP directly), and even more security holes by stupidly designed webpage he/she will put, but i don't care. it will not hurt anyone else ;) From wojtek at wojtek.tensor.gdynia.pl Thu May 7 12:16:45 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu May 7 12:28:08 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <83156.91671.qm@web110507.mail.gq1.yahoo.com> References: <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <4A01C202.8080803@seattlefenix.net> <70C0964126D66F458E688618E1CD008A0793EBD1@WADPEXV0.waddell.com> <83156.91671.qm@web110507.mail.gq1.yahoo.com> Message-ID: > If you aren't using ZFS, or even a GEOM volume with mirror/RAID5/softup/etc, > you cannot make the statement that hardware RAID is faster. I learned > that 3 years ago. i state exactly opposite. all hardware raid cards are made just to suck money from those who believe in it. like "performance is not enough - buy better/more expensive model." > This does not go for EMC, IBM, Hitachi high-end storage arrays where you write to TBs of RAM Cache. having same amount of extra memory on FreeBSD server directly will make better use of it. From ianf at ozemail.com.au Thu May 7 12:28:43 2009 From: ianf at ozemail.com.au (Ian Fitzgerald) Date: Thu May 7 12:28:50 2009 Subject: /etc/ttys Message-ID: <4A02D17B.5020600@ozemail.com.au> Dumb question because of dumb action: can anyone point me to a place where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 Thanks ianf From steve at ibctech.ca Thu May 7 12:33:28 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Thu May 7 12:33:35 2009 Subject: /etc/ttys In-Reply-To: <4A02D17B.5020600@ozemail.com.au> References: <4A02D17B.5020600@ozemail.com.au> Message-ID: <4A02D50D.7080505@ibctech.ca> Ian Fitzgerald wrote: > Dumb question because of dumb action: can anyone point me to a place > where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 In it's entirety: http://ibctech.ca/ttys Steve From cpghost at cordula.ws Thu May 7 12:33:35 2009 From: cpghost at cordula.ws (cpghost) Date: Thu May 7 12:33:42 2009 Subject: 7.2 = no sound In-Reply-To: <20090507105027.279A04E382@cork.irdesign.cypress.com> References: <20090507105027.279A04E382@cork.irdesign.cypress.com> Message-ID: <20090507123330.GD1111@phenom.cordula.ws> On Thu, May 07, 2009 at 11:50:27AM +0100, Lars Hecking wrote: > I upgraded my system to 7.2 with cvsup, and sound has stopped working. I'm > running gnome, and both (...) > Sound module loaded: yes > > # kldstat |grep snd > 4 1 0xc09d6000 1abf8 snd_hda.ko > > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:3v/1r:1v channels duplex default) > pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (0p:0v/1r:1v channels) > > dmesg: > > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac0 Have you tried to set hw.snd.default_unit to the right port? >From snd_hda(4): The default audio device may be tuned by setting the hw.snd.default_unit sysctl, as described in sound(4), or explicitly specified in application settings. That's the most common cause for sound problems after the snd_hda upgrade. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From danielby at slightlystrange.org Thu May 7 12:40:22 2009 From: danielby at slightlystrange.org (Daniel Bye) Date: Thu May 7 12:40:52 2009 Subject: /etc/ttys In-Reply-To: <4A02D17B.5020600@ozemail.com.au> References: <4A02D17B.5020600@ozemail.com.au> Message-ID: <20090507124008.GB46153@torus.slightlystrange.org> On Thu, May 07, 2009 at 10:18:03PM +1000, Ian Fitzgerald wrote: > Dumb question because of dumb action: can anyone point me to a place > where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- 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/20090507/c3c62cc7/attachment.pgp From glarkin at FreeBSD.org Thu May 7 12:44:50 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu May 7 12:45:21 2009 Subject: Developing and maintaining a rapidly deployable image of an installed system In-Reply-To: <20090507080157.93c8e5ee.wmoran@potentialtech.com> References: <4A025F42.50308@calorieking.com> <20090507080157.93c8e5ee.wmoran@potentialtech.com> Message-ID: <4A02D7B4.5070705@FreeBSD.org> Bill Moran wrote: [...] > > The host system is a very basic install -- mostly just give it an IP and > add users for the administrators. All the ports and details of their > configs are in the individual jails. It's much more efficient than using > something like VMware, which has horrific performance penalties. > Hi Bill, We've been using VMware with FreeBSD guests for a few years now without any performance problems. In fact, jails even work well within a FreeBSD VM. What kinds of problems have you run into? Responding to the original question, we solved it by creating a FreeBSD VM and storing it as a template in VMware VirtualCenter. Whenever a new VM is needed, the template is deployed and customized with memory, extra disk space, IP address, etc. You can take it further by implementing a tool like Puppet, cfengine or Chef to perform the post-deployment configuration and keep the various recipe files under source control: http://reductivelabs.com/products/puppet/ (in the ports tree) http://www.cfengine.org/ (in the ports tree) http://wiki.opscode.com/display/chef/Home (not in the ports tree) Cheers, Greg -- Greg Larkin http://www.FreeBSD.org/ http://twitter.com/sourcehosting From bsam at ipt.ru Thu May 7 12:47:54 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Thu May 7 12:48:03 2009 Subject: /etc/ttys In-Reply-To: <4A02D17B.5020600@ozemail.com.au> (Ian Fitzgerald's message of "Thu\, 07 May 2009 22\:18\:03 +1000") References: <4A02D17B.5020600@ozemail.com.au> Message-ID: <14057078@bb.ipt.ru> On Thu, 07 May 2009 22:18:03 +1000 Ian Fitzgerald wrote: > Dumb question because of dumb action: can anyone point me to a place > where I can find a copy of /etc/ttys? - suitable for FreeBSD v7.2 /usr/share/examples/etc/ttys WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From nvass9573 at gmx.com Thu May 7 13:13:17 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Thu May 7 13:13:26 2009 Subject: multiple PPPoE connections on one machine (DSL load balancing) In-Reply-To: <0E40EC5D-8DC1-4DD9-9047-01212E98BE1A@visionarytechnical.com> References: <0E40EC5D-8DC1-4DD9-9047-01212E98BE1A@visionarytechnical.com> Message-ID: <4A02DE54.7070309@gmx.com> Jeff Croft wrote: > Hello -- > > I'm configuring FreeBSD 7.1 as a router/load-balancer and I just got > stuck. I know this sounds like a newbie question, but hear me out. > > I have three DSL line (AT&T in SF Bay Area, business class) connected > via ethernet to the box, and one more ethernet connected to an internal > network. The idea is to do some clever kind of load-balancing and/or > logging of DSL connections using pf. > > All three DSL lines are configured to use PPPoE. I can successfully > bring any one of them up individually, but when I try to bring more than > one up, using either ppp or mpd5, I get an error that looks like this > (example from ppp): > > ppp : tun0: Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X -> D.D.D.D > ): File exists > > and then the 2nd link goes down. mpd5 says the same thing, but the error > is slightly different. For all three point-to-point links the remote > side of the point to point (D.D.D.D) is always the same IP address, so > naturally it doesn't want to add multiple routing table entries which > point to the same destination. > > The vendor claims to be unable to change the value of D.D.D.D because > "everyone in your region has the same remote address." They also don't > support mlppp, so multilink is out. Did you try multilink PPP? they might not support, but it may work anyway... > Also, I would like easy, real-time, programmatic access to the IP > address of each individual DSL line. > > So far, I've thought of the following workarounds: > > 1. Use cheap linksys boxen to hang off each DSL line so the FreeBSD > network stack doesn't have to do the PPPoE. I'm concerned that they'll > be able to handle the volume of individual connections I'm planning on, > even with the firmware replaced with something decent. Plus it's three > extra devices on my network! > 2. Use network virtualization such as this. I don't have any experience > with it, but I'm guessing it would do everything I want. > http://imunes.tel.fer.hr/virtnet/ > > Does anyone have any ideas how to solve this problem more elegantly? Not elegantly, but you can change the remote peer address to something else. That is: 1) Bring up tun0, you get from IPCP 1.1.1.1 -> 2.2.2.2 ifconfig tun0 1.1.1.1 3.3.3.3 2) Bring up tun1, you get 1.1.1.2 -> 2.2.2.2 ifconfig tun1 1.1.1.2 4.4.4.4 3) Bring up tun2, you get 1.1.1.3 -> 2.2.2.2 The result will be: tun0 1.1.1.1 3.3.3.3 tun1 1.1.1.2 4.4.4.4 tun2 1.1.1.3 2.2.2.2 You'll need to write a custom script, to modify the addresses, I think both ppp and mpd can do that. Are you going to use pf's route-to to forward packets to all three interfaces? Since, the above hack doesn't "solve" the next hop problem. You can only have one next hop for each destination. On -CURRENT there is support for ECMP, which may be a complete and correct solution for this problem. HTH, Nikos From wmoran at potentialtech.com Thu May 7 13:13:39 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu May 7 13:13:46 2009 Subject: Developing and maintaining a rapidly deployable image of an installed system In-Reply-To: <4A02D7B4.5070705@FreeBSD.org> References: <4A025F42.50308@calorieking.com> <20090507080157.93c8e5ee.wmoran@potentialtech.com> <4A02D7B4.5070705@FreeBSD.org> Message-ID: <20090507091336.5cdc3101.wmoran@potentialtech.com> In response to Greg Larkin : > Bill Moran wrote: > [...] > > > > The host system is a very basic install -- mostly just give it an IP and > > add users for the administrators. All the ports and details of their > > configs are in the individual jails. It's much more efficient than using > > something like VMware, which has horrific performance penalties. > > > > Hi Bill, > > We've been using VMware with FreeBSD guests for a few years now without > any performance problems. In fact, jails even work well within a FreeBSD > VM. What kinds of problems have you run into? Really? Do you have any machines with more than 30 virtual systems on them? Even our beefiest hardware can't handle more than 10 VMWare machines. We use both jails and VMWare. Each has it's pros and cons. The big pro of VMWare is that you can simulate an entire piece of hardware, which is necessary for much of our lab and testing work. The big con of VMWare is performance and overhead. Another big pro of VMWare is that we can have FreeBSD, and Linux, and MS operating systems all running on the same hypervisor, which jails can't do. The big pro of jails is that we can put a crapload of jails on each physical server. Six or 8 is typical, but we have systems with more than 30 humming along happily. Each jail uses far less disk space than a virtual machine, and uses far less CPU. Also, the jail mechanism puts fewer layers between the OS and the hardware, which means things like network and disk performance suffer very little. Take two equivalent machines and put a FreeBSD jail on one and FreeBSD in a virtual machine on the other and benchmark the network and disk performance on each. You'll find that VMWare loses big time. If that's not enough to convince you, then increase the number of systems on each machine to about 10 and rerun the tests while the systems are under load -- VMWare doesn't scale up nearly as well as jails do. If you're doing purely CPU usage, then the two options appear to be roughly equivalent, although I've never done an actual test. Restarting a jail takes seconds, restarting a VM takes minutes. We've frequently had to go through our dev servers and shut down VMWare virtual machines to free up resources when a few of the VMs were seeing heavy usage. We've had the same problem with jails far less frequently. Like I said earlier, VMWare has its advantages, but performance is not one of them. And yes, we have VMWare VMs with FreeBSD jails inside them. It's a bizarre combination, but it works quite well ... right up until someone wants to load up one of the PostgreSQL servers and the disk issue brings the system to its knees ... that's actually a pretty good benchmark to illustrate the problem: pgbench will show how much VMWare hurts disk performance right out of the gate. I guess the overall issues are more with scalability than performance, but the two issues are linked in such a way that I frequently don't separate them. VMWare starts with a minor performance hit compared to jails, that performance hit increases significantly as you add VMs, whereas jails scale up very well. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From djuatdelta at gmail.com Thu May 7 13:14:26 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu May 7 13:14:34 2009 Subject: Xfce unable to lookup hostname Message-ID: Every time I log in to xfce, it throws a warning that it cannot lookup "bsdbox" (which is my hostname as defined in rc.conf). The warning dialog suggests altering /etc/hosts to fix the problem. In fact, it's not a "problem" because my WAN connectivity is fine, but I still want to resolve this. In /etc/hosts there are two lines containing: localhost localhost.my.domain Since I'm connecting to the Internet through a dynamic-IP ISP without a reserved domain name, I have nothing with which to replace "my.domain". What should I do to resolve this issue? In a situation like this (note: I am behind a home router), is there actually anything I can replace "my.domain" with? Pardon my very limited understanding of networking concepts :) Thanks, Daniel From freebsd at edvax.de Thu May 7 13:32:48 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 13:32:55 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: Message-ID: <20090507153239.600e1208.freebsd@edvax.de> On Thu, 7 May 2009 09:14:24 -0400, Daniel Underwood wrote: > In /etc/hosts there are two lines containing: > > localhost localhost.my.domain Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. > Since I'm connecting to the Internet through a dynamic-IP ISP without > a reserved domain name, I have nothing with which to replace > "my.domain". You can replace it with anything that doesn't resolve, such as ".local", ".localdomain", ".dingenskirchens"... :-) > What should I do to resolve this issue? In a situation like this > (note: I am behind a home router), is there actually anything I can > replace "my.domain" with? It's important that /etc/hosts defines the values for localhost and your selected hostname (bsdbox), at least with the 127.0.0.1 IP. You can add further IPs with the same name if your machine spans a LAN (such as from 192.168.1.1). You can check everything with % host localhost and % host bsdbox so it should resolve to 127.0.0.1. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From andrewlylegould at gmail.com Thu May 7 13:34:57 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu May 7 13:35:04 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: Message-ID: On Thu, May 7, 2009 at 8:14 AM, Daniel Underwood wrote: > Every time I log in to xfce, it throws a warning that it cannot lookup > "bsdbox" (which is my hostname as defined in rc.conf). The warning > dialog suggests altering /etc/hosts to fix the problem. In fact, it's > not a "problem" because my WAN connectivity is fine, but I still want > to resolve this. > > In /etc/hosts there are two lines containing: > > localhost localhost.my.domain > > Since I'm connecting to the Internet through a dynamic-IP ISP without > a reserved domain name, I have nothing with which to replace > "my.domain". > > What should I do to resolve this issue? In a situation like this > (note: I am behind a home router), is there actually anything I can > replace "my.domain" with? > > Pardon my very limited understanding of networking concepts :) > > Thanks, > Daniel > _______________________________________________ > Try adding the following line to /etc/hosts: 127.0.0.1 bsdbox bsdbox.my.domain Do not delete the localhost lines. Andrew From djuatdelta at gmail.com Thu May 7 13:38:01 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu May 7 13:38:09 2009 Subject: Xfce unable to lookup hostname In-Reply-To: <20090507153239.600e1208.freebsd@edvax.de> References: <20090507153239.600e1208.freebsd@edvax.de> Message-ID: > Really? No IP? I mean like > > ::1 localhost > 127.0.0.1 localhost > 127.0.0.1 bsdbox.local bsdbox > 127.0.0.1 bsdbox.local. Right, I realize I was unclear. I just meant that two lines contained "localhost localhost.my.domain", not that they ONLY contained that phrase. So, yes, I'm referring to the lines starting with "::1" and "127.0.0.1". Let me make sure I understand (part of) your advice. Since I set hostname="bsdbox" in rc.conf, I should replace "localhost" instances in /etc/ttys ? Thanks, Daniel From djuatdelta at gmail.com Thu May 7 13:38:50 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu May 7 13:38:56 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: <20090507153239.600e1208.freebsd@edvax.de> Message-ID: *Correction* In previous email, "/etc/ttys" --> "/etc/hosts". From andrewlylegould at gmail.com Thu May 7 13:40:37 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu May 7 13:40:44 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: <20090507153239.600e1208.freebsd@edvax.de> Message-ID: On Thu, May 7, 2009 at 8:37 AM, Daniel Underwood wrote: > > Really? No IP? I mean like > > > > ::1 localhost > > 127.0.0.1 localhost > > 127.0.0.1 bsdbox.local bsdbox > > 127.0.0.1 bsdbox.local. > > Right, I realize I was unclear. I just meant that two lines contained > "localhost localhost.my.domain", not that they ONLY contained that > phrase. So, yes, I'm referring to the lines starting with "::1" and > "127.0.0.1". > > Let me make sure I understand (part of) your advice. Since I set > hostname="bsdbox" in rc.conf, I should replace "localhost" instances > in /etc/ttys ? > > Thanks, > Daniel > I don't think you should touch /etc/ttys for this problem. Andrew From jerrymc at msu.edu Thu May 7 13:54:12 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu May 7 13:54:18 2009 Subject: basic In-Reply-To: <200905070903.36706.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090506180032.e040df68.freebsd@edvax.de> <20090506190906.GC95433@gizmo.acns.msu.edu> <200905070903.36706.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090507135319.GA99195@gizmo.acns.msu.edu> On Thu, May 07, 2009 at 09:03:36AM +0200, Mel Flynn wrote: > On Wednesday 06 May 2009 21:09:07 Jerry McAllister wrote: > > On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote: > > > 10 GOTO 10 > > > > > > On Wed, 6 May 2009 14:32:47 +0200, "giorgio novello" > wrote: > > > > Do you want obtain new market share? > > > > > > > > Develop e visual-basic like language, or asp vb and your OS will be a > > > > best seller > > > > > > FreeBSD isn't for beginners, it's for professionals. > > > > Everyone is a beginner sometime. So, FreeBSD is for beginners. > > Otherwise there would be no FreeBSD --- or you. > > What he means is that FreeBSD does no hand holding or hide stuff "because you > don't need access to it anyway". Also, there aren't many that started > computing on FreeBSD. I know what he thinks he means. But, what he says is that improvements are against the ethic of FreeBSD and that simply is not true. ////jerry > -- > Mel > _______________________________________________ > 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 traveling08 at cox.net Thu May 7 14:03:42 2009 From: traveling08 at cox.net (Robert) Date: Thu May 7 14:03:48 2009 Subject: abiword In-Reply-To: <4A0298ED.5010201@kleppnett.no> References: <4A0298ED.5010201@kleppnett.no> Message-ID: <20090507065007.0a6f0639@vaio> On Thu, 07 May 2009 10:16:45 +0200 kenneth hatteland wrote: > I am having serious problems getting my freebsd machines with > abiword installed to open .doc files. Text becomes totally garbled > and unreadable. Have searched the net and the few abiword forums I > can find but nowhere does it say what nob is unturned on my > freebsd installs. winxp and linux machines opens such documents ok. > Anyone using this and know something wise ? > OpenOffice would be an alternative, but I only have 4gb left of /usr > so it won` t build. > > blessed be > Kenneth, norway Hello Kenneth I too had this problem with abiword and FreeBSD. Well, it is still there but I have worked around it. This is part of email I from the abiword list that I started. I found that I could then use the bitstream-vera fonts without any trouble. I then edited the normal.awt file locater at /usr/local/share/abiword-2.6/templates/ from Times New Roman to Bitstream Charter. Now I can create new documents and when I pull in an existing document I can "select all" and change it to Bitstream Charter. It definitely is a bandaid fix. All of the other files in directories at /usr/local/lib/X11/fonts/ are gz files. I am not a programmer but I would _guess_ the Xorg upgrade is not opening those gz files for use by abiword. Long story short, I am able to use abiword and can live with this. I know this is not the solution you are looking for but it can help you be productive. I am not sure but I think this started with the recent update of Xorg. Abiword 2.7.0 has been released and when the port is updated I am hoping this problem is solved. I hope this helps Robert From freebsd.lists at fsck.ch Thu May 7 14:13:07 2009 From: freebsd.lists at fsck.ch (Tobias Roth) Date: Thu May 7 14:13:15 2009 Subject: ad0: FAILURE - READ_DMA g_eli_read_done( Message-ID: <4A02E7A2.3010905@fsck.ch> Hi I got these log messages: May 7 15:41:32 default kernel: ad0: FAILURE - READ_DMA status=51 error=40 LBA=31833792 May 7 15:41:32 default kernel: GEOM_ELI: g_eli_read_done() failed ad0s2d.eli[READ(offset=1806532608, length=65536)] May 7 15:41:32 default kernel: g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=65536)]error = 5 May 7 15:41:36 default kernel: ad0: FAILURE - READ_DMA status=51 error=40 LBA=31833792 May 7 15:41:36 default kernel: GEOM_ELI: g_eli_read_done() failed ad0s2d.eli[READ(offset=1806532608, length=16384)] May 7 15:41:36 default kernel: g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=16384)]error = 5 Should I be worried? I my disk dying? I know which file causes the error when read, and it's not an important one. Can I just delete it and go on, or will this haunt me in the near future? Thanks, Tobias -- Tobias Roth || http://fsck.ch || PGP: 0xCE599B4D | The "c" in "rap" is silent. From freebsd at edvax.de Thu May 7 14:28:05 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 14:28:12 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: <20090507153239.600e1208.freebsd@edvax.de> Message-ID: <20090507162754.9a285eb4.freebsd@edvax.de> On Thu, 7 May 2009 09:37:59 -0400, Daniel Underwood wrote: > Let me make sure I understand (part of) your advice. Since I set > hostname="bsdbox" in rc.conf, I should replace "localhost" instances > in /etc/ttys ? No, the name "localhost" should be in your /etc/hosts, along with the hostname you selected. In this case, something like # for localhost: ::1 localhost 127.0.0.1 localhost # for your hostname: 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. would be okay. You can use ".my.domain" instead of ".local"; ".localdomain" is okay, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu May 7 14:33:45 2009 From: freebsd at edvax.de (Polytropon) Date: Thu May 7 14:33:52 2009 Subject: basic In-Reply-To: <20090507135319.GA99195@gizmo.acns.msu.edu> References: <20090506180032.e040df68.freebsd@edvax.de> <20090506190906.GC95433@gizmo.acns.msu.edu> <200905070903.36706.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090507135319.GA99195@gizmo.acns.msu.edu> Message-ID: <20090507163325.31fbe1b9.freebsd@edvax.de> On Thu, 7 May 2009 09:53:19 -0400, Jerry McAllister wrote: > I know what he thinks he means. But, what he says is that > improvements are against the ethic of FreeBSD and that simply > is not true. Never said such thing. In fact, there are many improvements I'd like to see in FreeBSD, as well as in the applications provided for this OS (which tend to be sponsored by Bloaty more and more). FreeBSD is in fact an excellent OS for beginners, because it teaches the basics - the things that are REALLY important when you want to do something with computers, expecially when you want to do this as a job to make money with it. Stupidly clicking on squeaking and dancing buttons is nothing intelligency is needed for. FreeBSD, on the other hand, improves learning habits, extends knowledge and leads to precious experiences. I don't know much about the "ethic of FreeBSD", because I use it as an OS, not as a church. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Pieter.Donche at ua.ac.be Thu May 7 14:42:21 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Thu May 7 14:42:28 2009 Subject: isc-dhcpd server, HOSTNAME Message-ID: FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) From mail at ozzmosis.com Thu May 7 14:54:30 2009 From: mail at ozzmosis.com (andrew clarke) Date: Thu May 7 14:54:42 2009 Subject: basic In-Reply-To: References: Message-ID: <20090507145421.GB60549@ozzmosis.com> On Wed 2009-05-06 14:32:47 UTC+0200, giorgio novello (gio.nov@vodafone.it) wrote: > Develop e visual-basic like language, or asp vb and your OS will be a best > seller The OP is likely trolling, but reminded me of the Lazarus project. It's loosely based on Borland Delphi and is apparently quite good for VB-like RAD development. It's in FreeBSD ports tree. http://www.lazarus.freepascal.org/ From mail at ozzmosis.com Thu May 7 15:04:08 2009 From: mail at ozzmosis.com (andrew clarke) Date: Thu May 7 15:04:16 2009 Subject: Preferred client for DynDNS In-Reply-To: References: Message-ID: <20090507143724.GA60549@ozzmosis.com> On Wed 2009-05-06 10:40:46 UTC-0400, Daniel Underwood (djuatdelta@gmail.com) wrote: > There appear to be several clients capable of working with DynDNS.com > services here: > > > E.g., dns/inadyn, dns/ipcheck > > Can anyone make recommendations? My goal in using DynDNS is to allow > remote SSH logins to a machine behind a router at my house (using a > common ISP). ddclient has worked very well for me. You may also want to use sshguard-ipfw to protect from brute-force SSH attacks. From pschmehl_lists at tx.rr.com Thu May 7 15:43:01 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Thu May 7 15:43:08 2009 Subject: Autofs howto In-Reply-To: <20090507035523.GA6073@lpthe.jussieu.fr> References: <20090507035523.GA6073@lpthe.jussieu.fr> Message-ID: --On Wednesday, May 06, 2009 22:55:23 -0500 Michel Talon wrote: > > Paul Schmehl wrote: > >> I'm wondering if I can use autofs on FreeBSD. Last time I asked the >> question someone said I need amd, which I found rather cryptic. > > Indeed it is cryptic, let me gave an example which works: > > niobe% cat /etc/amd.conf > [global] > auto_dir = /.amd > log_file = /var/log/amd.log > log_options = error,fatal,user > map_type = file > search_path = /etc > [/Cd] > map_name = amd.cdrom ># For nfs mounts > [/Net] > map_name = amd.net > > > > niobe% cat /etc/amd.cdrom > cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom > > > niobe% cat /etc/amd.net > /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} > * opts:=rw,grpid,resvport,nosuid,nodev,soft > > Now some comments. I use amd without options so it just uses > /etc/amd.conf to configure itself. When you try to access /Cd > it uses the configuration in /etc/amd.cdrom, and if you try to access > /Net it uses the configuration in /etc/amd.net. > > Finally if you try to access /Net/ada for example, the key is ada, and > so is the remote host. It is queried for NFS mounts and everything is > mounted. After > niobe% cd /Net/ada > i have: > niobe% df > ... > ada:/ada 36196652 26972064 7356232 79% /.amd/ada/ada > ada:/ada1 287391356 246682696 26109996 90% /.amd/ada/ada1 > ada:/ada2 288362876 180649856 93064956 66% /.amd/ada/ada2 > ada:/ada3 99188500 80794628 13273960 86% /.amd/ada/ada3 > ada:/adm 36204684 1682772 32653156 5% /.amd/ada/adm > > Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can > see. > > Getting out of /Net/ada those mounts are unmounted. > > I hope this helps explaining some of the mysteries of amd. > Indeed it does, and I thank you very much for that example. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From dondugger47 at gmail.com Thu May 7 15:52:04 2009 From: dondugger47 at gmail.com (Don Dugger) Date: Thu May 7 15:52:10 2009 Subject: Compass 597 Sprint Message-ID: Has anyone got a Compass 597 from Sprint to work? And if so can I get some pointers? Thx in advance... Don 8) From ulrich at pukruppa.net Thu May 7 16:59:22 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Thu May 7 16:59:28 2009 Subject: [Samba] PDC and "group" question In-Reply-To: <4A030821.9070101@gmail.com> References: <4A01E5A4.2000808@gmail.com> <1241666722.1568.4.camel@pukruppa.net> <4A030821.9070101@gmail.com> Message-ID: <1241715748.50410.2.camel@pukruppa.net> Am Donnerstag, den 07.05.2009, 09:11 -0700 schrieb MargoAndTodd: > Peter Ulrich Kruppa wrote: > > > I am not quite sure, I understand your question correctly: > > probably you will want to use commands like > > # net groupmap add ntgroup="Domain Admins" unixgroup=wheel type=d > > rid=512 > > which would map the Windows group "Domain Admins" to the local UNIX > > group wheel and so on. See the documentation on samba.org for more > > details examples. > > Hi Peter, > > There is "a lot" of documentation out on samba.org. > Can you point me to where to start? I think the main document would be http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html but it assumes you really have a Primary Domain Controller up and running. Greetings and good luck Uli. > > Many thanks, > -T From Midspan at phihongusa.com Thu May 7 17:47:05 2009 From: Midspan at phihongusa.com (Midspan Manager) Date: Thu May 7 17:47:12 2009 Subject: Myths about Power Over Ethernet Message-ID: <20090507174659.B55D77600@warrior.xo.com> Myths about Power Over Ethernet May 7, 2008 Power-over-Ethernet (PoE) technology integrates power and data across standard Cat5/5e/6 network cabling and provides more flexibility in today?s workplace. PoE enables power to be supplied to network devices, such as IP phones, network cameras, and wireless access points through a single, most often existing, network cable. When combined with an uninterruptable power supply (UPS) a PoE network delivers continuous operation and minimizes business downtime by eliminating most power interruptions. With the ability to install endpoints in any location PoE technology provides a scalable and flexible networking infrastructure geared for growth and efficiency. PoE Switches can provide all the power I need or will need. Today most switches are merely PoE-enabled. This means the majority rely on power management to share available power across the switch ports. The switches are designed with a smaller power supply that is typically capable of powering the switch itself and providing the required 15.4 watts of power over a limited number of ports. For example: A 24-port PoE Switch with power management typically has a 195-watt power supply. After the 40 watts needed to power the switch, you have approximately 155 watts remaining. If 12 of the 24 ports are used to connect end devices using 11.5 watts each, you would only have 17 watts remaining to provide power on the last 12 ports. The math doesn?t match the ports: 195W ? 40W (switch) ? 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports Myth Busted: A PoE Switch is often not the best and most cost effective solution. A midspan and a PoE switch are the same. A PoE Midspan is not a switch. A Midspan is an additional PoE power source that can be used to offer full power to all endpoint devices. PoE Midspans (Power Hub or Power Injector) pass data from a switch and ?inject? safe power acting as a patch panel of sorts. Midspans are commonly used with either a non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In addition to offering full power across all available ports, midspans costs substantially less per port and overall than a new PoE enabled switch. Myth Busted: Midspans do not switch ? they make use of existing best-in-class switches. They inject safe power across all ports and cost less than PoE switches. . Only a switch that has PoE built in should be used to power devices like IP Phones, Access Points, and IP Security Cameras. Switches were designed to, well, switch. PoE Switches are designed with power management and have to distribute different power as required to ports but there is often not enough power for all devices plus the power required to complete the primary task - switching. Networks that have multiple devices like IP phones, IP cameras, wireless access points quickly go beyond the limited capacity of managed power PoE switches. As more PoE devices continue to grow in capabilities and market share this managed power limitation will become more and more evident. Midspans, in contrast to switches, were designed to provide full power on every port and deliver safe and reliable power based on the industry standards (IEEE802.3af/at). Myth Busted: Rather than relying on power management in a switch use a midspan that can deliver full power (15.4W) to every port for all PoE-enabled devices now and in the future. Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered using PoE technology. Many devices do not directly accept Power-over-Ethernet but can still use PoE technology. If the device uses less than 12.5 watts (802.3af) or less than 50 watts (802.3at+) and connects to an IP Ethernet network you can use a PoE splitter. PoE splitters enable you to accept PoE power from any IEEE 802.3af/at compliant switch or midspan then separates the data and power on to two seprate cables. The data is connected to the end device through a standard RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm Adapter Plug. Splitters can also convert the input voltage to the required voltage for a non-PoE device. Splitters are traditionally used with older network products which only accept power through their (DC) jack and data through their RJ-45 jack. Myth Busted: PoE splitters can be used in conjunction with PoE midspans and switches to provide both the data connectivity and power required by most endpoint devices. I need/will need additional PoE switch ports to power my IP cameras and high-power pan, tilt, and zoom (PTZ) cameras. Today, many devices have evolved into more advanced solutions with higher power requirements. The traditional approach was to endure a ?forklift upgrade?. This meant buying new PoE switches at considerable cost and physically swapping out the existing switches to meet higher power requirements or add more powered ports. There is an easy and more cost-effective way ? separate the data and power in the wiring closet (IBF). It is more efficient and costs less to separate your data and power allowing you to keep your best-in-class business switch for your IP needs and supplement it where required with best-in-class midspan technology to power the endpoints. Myth Busted: A PoE Switch is often not the best and most cost effective solution. All midspans are created equal . . . they are all the same. Always select a best-in-class midspan. If you wanted to enhance your switched network wouldn?t use a best-in-class network switch? Of course you would. A midspan designed and manufactured by a leading power supply company that understands power, power requirements, and one that delivers enterprise-level solutions. Select a midspan manufacturer that has multiple members on the IEEE (PoE) committee helping to define safe, new PoE standards. This ensures that every midspan is designed to meet current and future IEEE specifications for Power-over-Ethernet. Select a midspan manufacturer that designs, manufactures, and tests its own product rather than outsourcing these tasks across the globe to cut costs. Select a midspan that has a high-speed, common interface to access the management console. A USB port is not as cheap as a serial port (RS-232) but is faster, more user-friendly, and more common on high quality midspans. Myth Busted: Although there are many midspan manufacturers out there, few have the power supply experience, quality controls, and manufacturing capability to produce best-in-class midspans. All midspans are NOT created equal. ?2009 midspans.com. Midspans.com is a division of Phihong USA Inc. All Rights Reserved You are being sent this email because you have expressed interest in PoE products in the past. If you do not wish to receive emails from us in the future and be removed from our list please click on the link below. To unsubscribe, please click here. www.phihong.com - 47800 Fremont Blvd., Fremont, CA. 94538 - Phone 510-445-0100 From nlandys at gmail.com Thu May 7 18:18:53 2009 From: nlandys at gmail.com (Nerius Landys) Date: Thu May 7 18:19:00 2009 Subject: Run script on boot, as ordinary user Message-ID: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. From ccowart at rescomp.berkeley.edu Thu May 7 18:23:21 2009 From: ccowart at rescomp.berkeley.edu (Chris Cowart) Date: Thu May 7 18:23:28 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: <20090507182321.GB49013@hal.rescomp.berkeley.edu> Nerius Landys wrote: > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. I gave my friends access to my > FreeBSD server and I want to let them start for example Apache and/or > MySQL on higher ports running as their own user. Each user could create an entry in their crontab using the @reboot keyword. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 834 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090507/3f419362/attachment.pgp From xi at borderworlds.dk Thu May 7 18:23:52 2009 From: xi at borderworlds.dk (Christian Laursen) Date: Thu May 7 18:24:00 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: <4A032736.4080802@borderworlds.dk> Nerius Landys wrote: > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. I gave my friends access to my > FreeBSD server and I want to let them start for example Apache and/or > MySQL on higher ports running as their own user. Starting something at boot is easy enough. The user can just add a line like this to his/her crontab: @reboot /path/to/command At shutdown is not possible via cron though. -- Christian Laursen From wmoran at potentialtech.com Thu May 7 18:30:04 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu May 7 18:30:12 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: <20090507142959.0775bcb4.wmoran@potentialtech.com> In response to Nerius Landys : > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. I gave my friends access to my > FreeBSD server and I want to let them start for example Apache and/or > MySQL on higher ports running as their own user. In addition to the other suggestions, there's also the jail system to give users limited root permissions. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From lhecking at users.sourceforge.net Thu May 7 18:33:51 2009 From: lhecking at users.sourceforge.net (Lars Hecking) Date: Thu May 7 18:33:58 2009 Subject: 7.2 = no sound In-Reply-To: <20090507123330.GD1111@phenom.cordula.ws> References: <20090507105027.279A04E382@cork.irdesign.cypress.com> <20090507123330.GD1111@phenom.cordula.ws> Message-ID: <20090507183330.575704E37E@cork.irdesign.cypress.com> > > > pcm0: at cad 0 nid 1 on hdac0 > > pcm1: at cad 0 nid 1 on hdac0 > > Have you tried to set hw.snd.default_unit to the right port? > > >From snd_hda(4): > > The default audio device may be tuned by setting the hw.snd.default_unit > sysctl, as described in sound(4), or explicitly specified in application > settings. > > That's the most common cause for sound problems after the snd_hda > upgrade. Well, I don´t know what the rigt port is ;-) I tried hw.snd.default_unit=0 and now I have # ll /dev/dsp* crw-rw-rw- 1 root wheel 0, 118 May 7 19:23 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 119 May 7 19:23 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 117 May 7 19:22 /dev/dsp1.0 i.e dsp0.[234] are gone. Sound preferences show that the default device for input and output (? how is that supposed to work?) is /dev/dsp0. What do I need to configure to create a /dev/dsp0? I don´t really understand what´s going on, especially since the number of dsp* devices keeps changing # cd /dev # ln -s dsp0.0 dsp0 ln: dsp0: File exists # ll dsp* crw-rw-rw- 1 root wheel 0, 118 May 7 19:28 dsp0.0 crw-rw-rw- 1 root wheel 0, 119 May 7 19:22 dsp0.1 crw-rw-rw- 1 root wheel 0, 129 May 7 19:22 dsp0.2 crw-rw-rw- 1 root wheel 0, 117 May 7 19:22 dsp1.0 From toomas.aas at raad.tartu.ee Thu May 7 18:41:44 2009 From: toomas.aas at raad.tartu.ee (Toomas Aas) Date: Thu May 7 18:42:01 2009 Subject: Applying FreeBSD-SA-09:07 broke PAM on 7.0 Message-ID: <4A03271E.9080903@raad.tartu.ee> Hello! Finally I managed to find some time to apply the libc update to our server running FreeBSD 7.0 i386. I applied the patch as described in the section titled "To patch your present system:" of the advisory. I didn't notice any errors during the entire process, but after it was complete I could no longer log in, either via ssh or locally on the server console. The following error messages were returned after entering the login name on the console (the password prompt didn't even appear): login: in openpam_load_module(): no pam_unix.so found login: pam_start(): system error pam_unix.so.4 was still present in /usr/lib and there was also a symlink to it named pam_unix.so, as I saw after rebooting the server into single user mode. ldd /usr/lib/pam_unix.so.4 seemed to correctly find all the needed libraries. Using the fixit CD I copied the original libc.so.7 from 7.0 installation media to the system and this seems to have solved the problem, leaving me to wonder how to actually deal with the security issue. My own thought at this point is to bring in a fresh 7.2 source tree and rebuild everything, but maybe someone knows a less involved solution? Sounds like something else besides libc needs to be rebuilt, but what? Just a couple of days ago I applied this patch to another system running 7.1, and there were no problems. I've been running and patching FreeBSD since 2001 and never had such a strange problem with a security advisory! -- Toomas Aas From mel.flynn+fbsd.questions at mailing.thruhere.net Thu May 7 18:51:09 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu May 7 18:51:23 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: <200905072051.06511.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 07 May 2009 19:57:03 Nerius Landys wrote: > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. You sure? You can simply write an rc.d script that iterates through /home/*/rc.d/* and invokes each enabled script in there as the user, using su or sudo. This will cleanly shutdown stuff for them. Whether they *should* be running their own instances is an entirely different question. VirtualHost can do a lot and with mod_vhost_alias you simplify the maintenance, while maintaining several instances complicates it. -- Mel From admin at asarian-host.net Thu May 7 19:31:02 2009 From: admin at asarian-host.net (Mark) Date: Thu May 7 19:31:09 2009 Subject: php4 + php5 In-Reply-To: <4A027F86.70007@infracaninophile.co.uk> References: <4A027F86.70007@infracaninophile.co.uk> Message-ID: <200905071912.n47JCrgs008541@asarian-host.net> -----Original Message----- From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk] Sent: donderdag 7 mei 2009 8:29 To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 Mark wrote: > > Using a single Apache 1.3.x install, is there a way to install > > both mod_php4 + mod_php5 together? I can't just upgrade to php5: > > not every webboard and such accepts php5 yet. On some dirs (or per > > vhost) I like the Apache server to use php5, though. > No. At least, not within the current ports system. Quite apart from > anything else, the php4 and php5 ports conflict -- they fight over > installing files to certain locations. I'm also not certain that > loading both mod_php4 and mod_php5 into the same instance of Apache > is viable. Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only thing is, I can't get GD to compile properly (which I really need). Compile keeps failing on the libxcb port. Seems it wants to install all sorts of X11 stuff (which I don't use). Can I not just build gd.so with all the X11 baggage? Thanks, - Mark From admin at asarian-host.net Thu May 7 19:42:51 2009 From: admin at asarian-host.net (Mark) Date: Thu May 7 19:43:05 2009 Subject: SOLVED (was: RE: php4 + php5) In-Reply-To: <200905071931.n47JVkNr009452@asarian-host.net> References: <4A027F86.70007@infracaninophile.co.uk> <200905071931.n47JVkNr009452@asarian-host.net> Message-ID: <200905071942.n47JgjkY024057@asarian-host.net> -----Original Message----- From: Mark [mailto:admin@asarian-host.net] Sent: donderdag 7 mei 2009 21:32 To: freebsd-questions@freebsd.org Subject: RE: php4 + php5 > ... So I just upgraded to PHP5 already. :) Only thing is, I can't get > GD to compile properly (which I really need). Compile keeps failing on > the libxcb port. Seems it wants to install all sorts of X11 stuff > (which I don't use). Can I not just build gd.so without all the X11 > baggage? LOL, just adding "WITHOUT_X11=yes" did the trick! Sometimes the obvious is just staring you in the face; and then, obviously, you miss it. :) Thanks, - Mark From wojtek at wojtek.tensor.gdynia.pl Thu May 7 21:23:54 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu May 7 21:24:00 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: man crontab @reboot On Thu, 7 May 2009, Nerius Landys wrote: > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. I gave my friends access to my > FreeBSD server and I want to let them start for example Apache and/or > MySQL on higher ports running as their own user. > _______________________________________________ > 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 mark at summersault.com Thu May 7 21:28:24 2009 From: mark at summersault.com (Mark Stosberg) Date: Thu May 7 21:28:33 2009 Subject: Specifying only constrained options in /etc/libmap.conf ? Message-ID: <20090507172804.2ceaca4c@summersault.com> I would like to use /etc/libmap.conf to apply some mappings which only apply to the "darcs" executable. However the man page for "libmap.conf" contains this warning: "WARNING! Constrained mappings must never appear first in the configura- tion file. While there is a way to specify the ``default'' constraint, its use is not recommended." Warning aside, I thought what I would want is the following. Is there a better way? I want to limit the scope of this change because I'm not sure how it will affect the rest of the system, particularly MySQL. [darcs] libpthread.so.1 libthr.so.1 libpthread.so.2 libthr.so.2 libkse.so.3 libthr.so.3 Thanks for your help! Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer mark@summersault.com Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . From cwhiteh at onetel.com Thu May 7 21:28:55 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Thu May 7 21:29:05 2009 Subject: ndis0 interrrupt storm In-Reply-To: References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> Message-ID: <4A03528F.7070405@onetel.com> Tim Judd wrote: > I think project evil (ndis) requires a specific driver version, such as the > WinXP drivers versus the Vista or 2000 or anything else. > > > > What drivers did you use? Any other drivers available on the manufacturer > website? > > > If you're not using XP, I recall reading that XP is the preferred driver for > the recent project evil versions. > > > --TJ > _______________________________________________ > 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" > Sorry about the delay replying, I've been away. In the meantime I've tried the three possible drivers (XP, NT and an unlabelled one). I've also installed a recent 8-current snapshot, updated to latest source and built world, and tried the XP driver. Still get interrupt storms everywhere, also a panic (I think) in 8-current. Should I give up or are there other things to try? Thanks Chris From apseudoutopia at gmail.com Thu May 7 21:46:58 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Thu May 7 21:47:05 2009 Subject: Frozen on Boot - Kernel Hanging? Message-ID: <27ade5280905071446ucdb53f0q263efc713860d11b@mail.gmail.com> Hey, My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the "Welcome to FreeBSD" menu, it just freezes up. I have no idea where to start to fix this. Any ideas? Thanks. From wojtek at wojtek.tensor.gdynia.pl Thu May 7 22:17:38 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu May 7 22:17:45 2009 Subject: Frozen on Boot - Kernel Hanging? In-Reply-To: <27ade5280905071446ucdb53f0q263efc713860d11b@mail.gmail.com> References: <27ade5280905071446ucdb53f0q263efc713860d11b@mail.gmail.com> Message-ID: > My server was fine when I went to work. When I got back, it was dead. > I had the datacenter reboot it, and it refused to boot. It just hangs > with no error message when booting. After the "Welcome to FreeBSD" > menu, it just freezes up. > > I have no idea where to start to fix this. Any ideas? > most probably hardware failure > Thanks. > _______________________________________________ > 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 jmc-freebsd2 at milibyte.co.uk Thu May 7 23:13:57 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Thu May 7 23:14:05 2009 Subject: Problems after upgrading to xorg-7.4_1 Message-ID: <200905072343.46922.jmc-freebsd2@milibyte.co.uk> I'm having a couple of problems getting X to work after upgrading to xorg-7.4_1 (on 6.4-RELEASE-p3) The first problem is that I can't get the nvidia driver to load. I ran "Xorg -configure" to create a new xorg.conf. This generated a file using the nv driver, which works but causes the display to be offset about 15mm to the right. Things were working fine with the nvidia driver prior to upgrading the ports so I then ran nvidia-xconfig to update xorg.conf to use the nvidia driver but then X won't start. The error message I get is: (EE) Failed to load /usr/local/lib/xorg/modules/drivers//nvidia_drv.so ... but it does exist curlew:/root# ls -l /usr/local/lib/xorg/modules/drivers//nvidia_drv.so -r--r--r-- 1 root wheel 1650756 Feb 16 11:18 /usr/local/lib/xorg/modules/drivers//nvidia_drv.so To get round this it looks like I either need to get the nv driver to position the display correctly or get the nvidia driver to load. I've included copies of xorg.conf and Xorg0.log at the end of this email. The second problem is that when I revert to the nv driver X treats my UK keyboard as a US one, even though it functions correctly as a UK keyboard in console mode before starting X. The original config file created by "X -configure" didn't detect my keyboard type and generated the following keyboard section: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Then I added the following lines from my previous config file: Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" ... but it still uses the US keymap. ----------------------------------------------------------------- xorg.conf ----------------------------------------------------------------- # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (root@curlew.lan) Thu May 7 22:48:56 BST 2009 Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" 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 "extmod" Load "record" Load "dbe" Load "glx" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "SAM" ModelName "SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" 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 "C51PV [GeForce 6150]" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" EndSubSection EndSection ----------------------------------------------------------------- Xorg0.log ----------------------------------------------------------------- _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/curlew.lan:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.4-RELEASE-p3 i386 Current Operating System: FreeBSD curlew.lan 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #2: Mon Feb 16 11:27:38 GMT 2009 root@curlew.lan:/usr/obj/usr/src/sys/CURLEW i386 Build Date: 07 May 2009 02:16:52AM 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: Thu May 7 23:07:46 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) 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: 0x1ae0 (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@0:5:0) nVidia Corporation C51PV [GeForce 6150] rev 162, Mem @ 0xfc000000/16777216, 0xe0000000/268435456, 0xfb000000/16777216, 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. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "record" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded by default. (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.0, 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: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.6.0, 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: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.6.0, 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.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "nvidia" (II) Loading /usr/local/lib/xorg/modules/drivers//nvidia_drv.so dlopen: /usr/local/lib/xorg/modules/drivers//nvidia_drv.so: Undefined symbol "PictureScreenPrivateIndex" (EE) Failed to load /usr/local/lib/xorg/modules/drivers//nvidia_drv.so (II) UnloadModule: "nvidia" (EE) Failed to load module "nvidia" (loader failed, 7) (EE) No drivers available. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. -- Mike Clarke From nlandys at gmail.com Fri May 8 00:19:48 2009 From: nlandys at gmail.com (Nerius Landys) Date: Fri May 8 00:19:54 2009 Subject: Command-line IRC client Message-ID: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what ____ is to IRC. From nlandys at gmail.com Fri May 8 00:22:03 2009 From: nlandys at gmail.com (Nerius Landys) Date: Fri May 8 00:22:31 2009 Subject: Run script on boot, as ordinary user In-Reply-To: References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> Message-ID: <560f92640905071722t79978104v1401f99b5cedabb0@mail.gmail.com> Seems that @reboot in cron is what I need. It's too bad that there's no straightforward shutdown hook. From djuatdelta at gmail.com Fri May 8 00:26:42 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri May 8 00:26:50 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: Message-ID: I added the line "127.0.0.1 bsdbox bsdbox.my.domain" and now it works perfectly, thanks! Question: what does the line I added tell my computer? I.e., what does that line "do"? From amitabhkant at gmail.com Fri May 8 00:44:43 2009 From: amitabhkant at gmail.com (Amitabh Kant) Date: Fri May 8 00:44:55 2009 Subject: php4 + php5 In-Reply-To: <200905071912.n47JCrgs008541@asarian-host.net> References: <4A027F86.70007@infracaninophile.co.uk> <200905071912.n47JCrgs008541@asarian-host.net> Message-ID: <84b68b3d0905071719x167ea19w343fa58655761315@mail.gmail.com> Add WITHOUT_X11=yes in /etc/make.conf file before running make command. Amitabh On Fri, May 8, 2009 at 12:42 AM, Mark wrote: > -----Original Message----- > From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk] > Sent: donderdag 7 mei 2009 8:29 > To: Mark > Cc: freebsd-questions@freebsd.org > Subject: Re: php4 + php5 > > Mark wrote: > > > > Using a single Apache 1.3.x install, is there a way to install > > > both mod_php4 + mod_php5 together? I can't just upgrade to php5: > > > not every webboard and such accepts php5 yet. On some dirs (or per > > > vhost) I like the Apache server to use php5, though. > > > No. At least, not within the current ports system. Quite apart from > > anything else, the php4 and php5 ports conflict -- they fight over > > installing files to certain locations. I'm also not certain that > > loading both mod_php4 and mod_php5 into the same instance of Apache > > is viable. > > Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only > thing is, I can't get GD to compile properly (which I really need). > Compile keeps failing on the libxcb port. Seems it wants to install all > sorts of X11 stuff (which I don't use). Can I not just build gd.so with > all the X11 baggage? > > Thanks, > > - Mark > > _______________________________________________ > 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 johndoeismyname at gmail.com Fri May 8 00:44:48 2009 From: johndoeismyname at gmail.com (gabe g) Date: Fri May 8 00:44:56 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: Irssi or Weechat will be most recommended. From looptigger at gmail.com Fri May 8 01:27:30 2009 From: looptigger at gmail.com (looptigger) Date: Fri May 8 01:27:37 2009 Subject: Command-line IRC client In-Reply-To: References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <62e85f970905071756k59eb0eefj48c4182dc63253ca@mail.gmail.com> irssi On Fri, May 8, 2009 at 3:36 AM, gabe g wrote: > Irssi or Weechat will be most recommended. > _______________________________________________ > 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 received at postcard.org Fri May 8 02:24:33 2009 From: received at postcard.org (received@postcard.org) Date: Fri May 8 02:24:40 2009 Subject: You have just received a virtual postcard from a friend ! Message-ID: <20090508022429.E4DCD21F1FC8@rhodamine.com.au> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe From paul at paulstewart.org Fri May 8 02:38:52 2009 From: paul at paulstewart.org (Paul Stewart) Date: Fri May 8 02:39:00 2009 Subject: 7.2 Installation Problem - Large Disk Message-ID: <00f401c9cf84$b0582850$110878f0$@org> Hi there.. I hope this is the correct mailing list to ask this question. I have a Dell Poweredge R710 server (brand new)... 7.2-RELEASE installs fine but I'm having a problem getting any large partitions over approximately 500GB. During the installation it allows me to create 4.5TB partition but after rebooting it's only really 500GB +/- Has anyone successfully installed into a disk this large? This is a RAID5 array using the Dell Perc 6/I controller I have installed now 6+ times with smaller partitions (100GB even) and run into problems . hoping someone could share how they got large disk support working.. I'd be happy with several 1TB partitions but when I configure it this way and exceed 4 partitions it tells me disk error creating partitions.. Thanks, Paul From received at postcard.org Fri May 8 03:07:43 2009 From: received at postcard.org (received@postcard.org) Date: Fri May 8 03:07:55 2009 Subject: You have just received a virtual postcard from a friend ! Message-ID: <20090508030739.7929E22013A9@rhodamine.com.au> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe From ben at b1c1l1.com Fri May 8 03:13:59 2009 From: ben at b1c1l1.com (Benjamin Lee) Date: Fri May 8 03:14:06 2009 Subject: 7.2 Installation Problem - Large Disk In-Reply-To: <00f401c9cf84$b0582850$110878f0$@org> References: <00f401c9cf84$b0582850$110878f0$@org> Message-ID: <4A03A36A.6000507@b1c1l1.com> On 05/07/2009 07:28 PM, Paul Stewart wrote: > Hi there.. > > > > I hope this is the correct mailing list to ask this question. > > > > I have a Dell Poweredge R710 server (brand new)... 7.2-RELEASE installs fine > but I'm having a problem getting any large partitions over approximately > 500GB. During the installation it allows me to create 4.5TB partition but > after rebooting it's only really 500GB +/- > > > > Has anyone successfully installed into a disk this large? This is a RAID5 > array using the Dell Perc 6/I controller > > > > I have installed now 6+ times with smaller partitions (100GB even) and run > into problems . hoping someone could share how they got large disk support > working.. I'd be happy with several 1TB partitions but when I configure it > this way and exceed 4 partitions it tells me disk error creating > partitions.. Unfortunately, MBR and BSD disklabel use 32 bit values, so they are limited to 2TB. GPT uses 64 bit values, but I don't believe that FreeBSD fully supports it. You can see the Big Disk project page [1] for more information. As a workaround, you may wish redo your RAID configuration so that you have multiple logical volumes (e.g. 2T, 2T, 0.5T). [1] http://www.freebsd.org/projects/bigdisk/index.html -- Benjamin Lee http://www.b1c1l1.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090508/a7756a04/signature.pgp From kingedgar at gmail.com Fri May 8 03:22:20 2009 From: kingedgar at gmail.com (Jason Garrett) Date: Fri May 8 03:22:28 2009 Subject: Autofs howto In-Reply-To: References: <20090507035523.GA6073@lpthe.jussieu.fr> Message-ID: <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> On Thu, May 7, 2009 at 10:14, Paul Schmehl wrote: > --On Wednesday, May 06, 2009 22:55:23 -0500 Michel Talon < > talon@lpthe.jussieu.fr> wrote: > > >> Paul Schmehl wrote: >> >> I'm wondering if I can use autofs on FreeBSD. Last time I asked the >>> question someone said I need amd, which I found rather cryptic. >>> >> >> Indeed it is cryptic, let me gave an example which works: >> >> niobe% cat /etc/amd.conf >> [global] >> auto_dir = /.amd >> log_file = /var/log/amd.log >> log_options = error,fatal,user >> map_type = file >> search_path = /etc >> [/Cd] >> map_name = amd.cdrom >> # For nfs mounts >> [/Net] >> map_name = amd.net >> >> >> >> niobe% cat /etc/amd.cdrom >> cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom >> >> >> niobe% cat /etc/amd.net >> /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} >> * opts:=rw,grpid,resvport,nosuid,nodev,soft >> >> Now some comments. I use amd without options so it just uses >> /etc/amd.conf to configure itself. When you try to access /Cd >> it uses the configuration in /etc/amd.cdrom, and if you try to access >> /Net it uses the configuration in /etc/amd.net. >> >> Finally if you try to access /Net/ada for example, the key is ada, and >> so is the remote host. It is queried for NFS mounts and everything is >> mounted. After >> niobe% cd /Net/ada >> i have: >> niobe% df >> ... >> ada:/ada 36196652 26972064 7356232 79% /.amd/ada/ada >> ada:/ada1 287391356 246682696 26109996 90% /.amd/ada/ada1 >> ada:/ada2 288362876 180649856 93064956 66% /.amd/ada/ada2 >> ada:/ada3 99188500 80794628 13273960 86% /.amd/ada/ada3 >> ada:/adm 36204684 1682772 32653156 5% /.amd/ada/adm >> >> Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can >> see. >> >> Getting out of /Net/ada those mounts are unmounted. >> >> I hope this helps explaining some of the mysteries of amd. >> >> > Indeed it does, and I thank you very much for that example. > While cryptic, It has worked well for me with multiple FreeBSD and Linux hosts on my network. > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > Check the headers before clicking on Reply. > > _______________________________________________ > 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 andrewlylegould at gmail.com Fri May 8 03:39:58 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri May 8 03:40:05 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: Message-ID: On Thu, May 7, 2009 at 7:26 PM, Daniel Underwood wrote: > I added the line > > "127.0.0.1 bsdbox bsdbox.my.domain" > > and now it works perfectly, thanks! > > Question: what does the line I added tell my computer? I.e., what does > that line "do"? > The /etc/hosts file is used to map host names to IP addresses. It is very useful for assigning names to computers on your home network since those computers are (probably) not mapped in a DNS system. As you can see, an IP address, such as 127.0.0.1 (local host and bsdbox), can be mapped to multiple names. Andrew From freebsd at edvax.de Fri May 8 03:50:49 2009 From: freebsd at edvax.de (Polytropon) Date: Fri May 8 03:50:56 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <20090508055041.c885b0c2.freebsd@edvax.de> On Thu, 7 May 2009 17:19:47 -0700, Nerius Landys wrote: > What is the most recommended IRC client that runs in a terminal? > rtorrent is to bit torrent what ____ is to IRC. Solution = { irc, BitchX } :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri May 8 03:58:32 2009 From: freebsd at edvax.de (Polytropon) Date: Fri May 8 03:58:43 2009 Subject: Xfce unable to lookup hostname In-Reply-To: References: Message-ID: <20090508055824.e4c425f5.freebsd@edvax.de> On Thu, 7 May 2009 20:26:40 -0400, Daniel Underwood wrote: > I added the line > > "127.0.0.1 bsdbox bsdbox.my.domain" > > and now it works perfectly, thanks! > > Question: what does the line I added tell my computer? I.e., what does > that line "do"? It simply associates the given hostname to that IP adress. This enables the system to resolve to this IP when the "literal" name is given. This resolution is one of the basic principles. Allthough the line works, it should be formed this way (or, it should be two lines): 127.0.0.1 . 127.0.0.1 .. Note the dot. In your case, it would be 127.0.0.1 bsdbox.my.domain bsdbox 127.0.0.1 bsdbox.my.domain. This enables the following resolve patterns: bsdbox -----> 127.0.0.1 bsdbox.my.domain -----> 127.0.0.1 (You've got only this) The first one is the "alias" / "short name" of the host, its hostname. The second one is the "full name" including the hostname and the domainname. Refer to % man hosts for a much better explaination. :-) An addition: It's important that the system can resolve "localhost", too, because that's an important "reserved literal name". For example, the CUPS often addresses "localhost:631" (if I remember correctly, I use apsfilter). Furthermore, the system's mail subsystem relies on such settings. So you could add or complete: ::1 localhost 127.0.0.1 localhost It can cause big (stupid) problems if you miss them. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From received at postcard.org Fri May 8 03:58:50 2009 From: received at postcard.org (received@postcard.org) Date: Fri May 8 03:59:02 2009 Subject: You have just received a virtual postcard from a friend ! Message-ID: <20090508034056.289EC220DB2A@rhodamine.com.au> You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http:.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://85.17.150.185/~paco/postcard.gif.exe From member at e-bay.com Fri May 8 04:39:44 2009 From: member at e-bay.com (eBay) Date: Fri May 8 04:39:52 2009 Subject: You've received a question about your eBay item, 4 2009 BCS NCAA Football National Championship Tickets Message-ID: <20090508004325.14181.qmail@ns1.jrc.hk> eBay eBay sent this message to your email. Your registered name is included to show this message originated from eBay. [1]Learn more. [ltCurve.gif] This member has a question for you. [rtCurve.gif] [iconAlert_32x32.gif] Do not respond to the sender if this message requests that you complete the transaction outside of eBay. This type of offer is against eBay policy, may be fraudulent, and is not covered by buyer protection programs. [2]Learn More. Dear user, your listing says 4 items, but the description says 2...which is it? - dwayne080865 Answer the question [s.gif] [3][btnRespond.gif] Item and user details Item Title: 4 2008 BCS NCAA Football National Championship Tickets Item Number: 150188880233 Item URL: [4]http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=150188880233 End Date: Dec-03-07 02:36:20 PST From User: [5]dwayne080865 ([6]0) 0.0% Positive Feedback Member since Nov-28-07 in United States Location : MO, United States Activity with dwayne080865 (last 90 days):dwayne080865 has bid on 0 of my items This message was sent while the listing was active.dwayne080865 is a potential buyer. Marketplace Safety Tip Marketplace Safety Tip * Second Chance Offer emails with the subject of "message from eBay Member" are fake. Real [7]Second Chance Offers come directly from eBay and also appear in [8]My Messages with a subject stating "You have a second chance offer...". * Never pay for your eBay item using instant case wire transfer services through [9]Western Union or [10]MoneyGram. These payment methods are unsafe when paying someone you don't know. [11]Learn more about sending payments. * Is this email inappropriate? Does it violate [12]eBay policy? Help protect the Community by [13]reporting it. [s.gif] _________________________________________________________________ [14]Learn More to protect yourself from spoof (fake) emails. Another eBay member sent this email to jumulit.67@gmail.com through the eBay platform. eBay takes no liability for the sending of this email or its content Visit our [15]Privacy Policy and [16]User Agreement if you have any questions. You can [17]report this message as unsolicited (spam/spoof) email. Copyright © 2009 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. eBay and the eBay logo are trademarks of eBay Inc. eBay Inc. is located at 2145 Hamilton Avenue, San Jose, CA 95125. References 1. http://pages.ebay.com/help/confidence/name-userid-emails.html 2. http://pages.ebay.com/help/policies/rfe-spam-non-ebay-sale.html 3. http://signnincgi.com/login.html 4. http://signnincgi.com/login.html 5. http://myworld.ebay.com/dwayne080865&ssPageName=ADME:X:AAQ:US:1181 6. http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&&userid=dwayne080865&ssPageName=ADME:X:AAQ:US:1183 7. http://pages.ebay.com/help/buy/personal-offer.html 8. http://pages.ebay.com/help/myebay/my-messages.html 9. http://pages.ebay.com/securitycenter/mrkt_safety/instantcashtransfer.html 10. http://pages.ebay.com/securitycenter/mrkt_safety/instantcashtransfer.html 11. http://pages.ebay.com/help/tp/payment-ov.html 12. http://pages.ebay.com/help/policies/rfe-unwelcome-email-misuse.html 13. http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?ReportEmailAbuseShow&reporteruserid=jumulit.67&reporteduserid=dwayne080865&emaildate=2009/11/29:16:32:11&emailtype=1&emailtext=your+listing+says+4+tickets%2C+but+the+description+says+2...which+is+it%3F 14. http://pages.ebay.com/education/spooftutorial/index.html 15. http://pages.ebay.com/help/policies/privacy-policy.html 16. http://pages.ebay.com/help/policies/user-agreement.html 17. http://pages.ebay.com/help/policies/rfe-spam-ov.html From bsam at ipt.ru Fri May 8 05:05:07 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Fri May 8 05:05:18 2009 Subject: Problems after upgrading to xorg-7.4_1 In-Reply-To: <200905072343.46922.jmc-freebsd2@milibyte.co.uk> (Mike Clarke's message of "Thu\, 7 May 2009 23\:43\:46 +0100") References: <200905072343.46922.jmc-freebsd2@milibyte.co.uk> Message-ID: <69401662@bb.ipt.ru> On Thu, 7 May 2009 23:43:46 +0100 Mike Clarke wrote: > The second problem is that when I revert to the nv driver X treats my UK > keyboard as a US one, even though it functions correctly as a UK > keyboard in console mode before starting X. > The original config file created by "X -configure" didn't detect my > keyboard type and generated the following keyboard section: > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > Then I added the following lines from my previous config file: > Option "XkbRules" "xorg" > Option "XkbModel" "pc105" > Option "XkbLayout" "gb" New xorg uses hal by default. You have two options: either use hal [1] (i.e. start dbus and hald while booting) or not use it (then you should tweak xorg.conf). Either way please read recent freebsd-x11@ mail list archieves to understand what's up and what to do. [1] http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From steve at ibctech.ca Fri May 8 05:10:00 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri May 8 05:10:07 2009 Subject: Licensing Message-ID: <4A03BE9F.5050906@ibctech.ca> I've got a question that is likely not suited for this list, but I know that there are people here who can guide me off-list. Being a network engineer, I'm far from a developer. With that said, I've written numerous network automation programs (mostly in Perl), and have developed several small patches for software written in C related to ISP operations (including the OS itself). I'm looking for advice on how I can take all of my code, and license it into the public domain. I'm sure that most people won't have any interest in it, but I really want to ensure that what I have done is freely accessible. All of my code is pretty well separated into different files that contain different functions, so isolating portions of my programs that use modules or functions that are external is not a problem. GPL seems too verbose legally for me. Can the BSD license fit into any code, no matter what language it is in, and if so, can I have my code overlooked by someone who can verify that the BSD license will fit? Steve From mel.flynn+fbsd.questions at mailing.thruhere.net Fri May 8 05:38:55 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri May 8 05:39:03 2009 Subject: Frozen on Boot - Kernel Hanging? In-Reply-To: <27ade5280905071446ucdb53f0q263efc713860d11b@mail.gmail.com> References: <27ade5280905071446ucdb53f0q263efc713860d11b@mail.gmail.com> Message-ID: <200905080738.52013.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 07 May 2009 23:46:54 APseudoUtopia wrote: > Hey, > > My server was fine when I went to work. When I got back, it was dead. > I had the datacenter reboot it, and it refused to boot. It just hangs > with no error message when booting. After the "Welcome to FreeBSD" > menu, it just freezes up. > > I have no idea where to start to fix this. Any ideas? Like Wojchiech said, most likely hardware. Try to boot a livecd and if that won't work either, it's time to yank out hardware. If you have a replacement or test machine, put the HDD in there and if the HDD isn't the problem you might be able to read it's log files to get hints about what hardware part is the problem. -- Mel From daniels.vanags at smpbank.lv Fri May 8 06:48:00 2009 From: daniels.vanags at smpbank.lv (Daniels Vanags) Date: Fri May 8 06:48:08 2009 Subject: Teaming NIC Message-ID: Hello, FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. Thanks, Daniel Vanags Information Technology Department IT infrastructure system engineer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JSC SMP Bank www.smpbank.lv Phone: +371 67019386 E-mail: Daniels.Vanags@smpbank.lv From odhiambo at gmail.com Fri May 8 06:59:15 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Fri May 8 06:59:22 2009 Subject: Teaming NIC In-Reply-To: References: Message-ID: <991123400905072359r127873d8rd7e0b93009e6d226@mail.gmail.com> On Fri, May 8, 2009 at 9:47 AM, Daniels Vanags wrote: > Hello, > > > > FreeBSD 6.3 has new device called lagg(4). > > Lagg is a link aggregation and link failover interface. > > With lagg we can easily bond two NIC interfaces together. > > But how we can do NIC teaming in FreeBSD 6.2? Please help. > Upgrade to FreeBSD 6.4 and stay there if you must stay at 6.x. 6.2 is not supported anymore so don't ask questions about it:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain From admin at whatsmyip.org Fri May 8 07:33:22 2009 From: admin at whatsmyip.org (Admin) Date: Fri May 8 07:33:29 2009 Subject: BSD Discs Message-ID: <94A03087-4A61-4170-8440-56C2EC94A0A0@whatsmyip.org> Hi I just started a BSD 'Download-Burn-Mail' service for downloading ISO's for people. It's not a free service, but its very very cheap, and we get the discs in the mail next-day. So if you are interested in linking to our service, please feel free to do so :-) http://www.whatsmyip.org/osdiscsbymail/ And of course, email me if you have any questions or comments about it. Thanks John From guru at unixarea.de Fri May 8 08:28:37 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri May 8 08:28:43 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <4A019719.6070001@eskk.nu> References: <20090506085405.GA5251@rebelion.Sisis.de> <4A0165EA.1060003@otenet.gr> <20090506120827.GA10242@rebelion.Sisis.de> <20090506144346.35d7d9a2@server15.gelita.swe> <4A019719.6070001@eskk.nu> Message-ID: <20090508082833.GA4565@rebelion.Sisis.de> El d?a Wednesday, May 06, 2009 a las 03:56:41PM +0200, Leslie Jensen escribi?: > I've done this a few times and the best procedure is to use the Parted > magic CD and resize the partition. The Vista shrink tool is not > something I would recommend. You don't have to think of defragging when > you use Parted Magic. I did it with Pmagic 4.0 and Vista is now in its jail of 50 GByte and I have around 180 GByte for FreeBSD CURRENT. I still have to look for and install EasyBCD to be able to boot CURRENT after the installation... Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From antonio.tommasi at unile.it Fri May 8 08:34:58 2009 From: antonio.tommasi at unile.it (Antonio Tommasi) Date: Fri May 8 08:35:05 2009 Subject: sshfs Message-ID: <4A03EAE0.6060907@unile.it> Hi to all, I'm trying to use sshfs on freebsd 7.1 box After i've installed port (ls /var/db/pkg|grep fuse fusefs-kmod-0.3.9.p1.20080208_5 fusefs-libs-2.7.4 fusefs-sshfs-2.2 ) i run command sshfs user@host:/ /mnt/test/ and after inser password for host i've this message "fuse: failed to open fuse device: No such file or directory" Where is the problem Local directory /mnt/test exist. Regards Antonio Tommasi From mel.flynn+fbsd.questions at mailing.thruhere.net Fri May 8 08:45:04 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Fri May 8 08:45:12 2009 Subject: sshfs In-Reply-To: <4A03EAE0.6060907@unile.it> References: <4A03EAE0.6060907@unile.it> Message-ID: <200905081045.00996.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 08 May 2009 10:18:40 Antonio Tommasi wrote: > "fuse: failed to open fuse device: No such file or directory" > Where is the problem There's no fuse device. Read the pkg-message again (fuse_enable in rc.conf and start fuse service - too rusty on the exact fuse* variable name). -- Mel From gahr at FreeBSD.org Fri May 8 09:09:09 2009 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Fri May 8 09:09:42 2009 Subject: sshfs In-Reply-To: <4A03EAE0.6060907@unile.it> References: <4A03EAE0.6060907@unile.it> Message-ID: <20090508104431.vt9zzjikv4kkk0ow@cpanel05.rubas-s05.net> On Fri, 08 May 2009, Antonio Tommasi wrote: > Hi to all, Hi Antonio, > I'm trying to use sshfs on freebsd 7.1 box > After i've installed port > > (ls /var/db/pkg|grep fuse > fusefs-kmod-0.3.9.p1.20080208_5 > fusefs-libs-2.7.4 > fusefs-sshfs-2.2 > ) > > i run command > > sshfs user@host:/ /mnt/test/ > > and after inser password for host i've this message > > "fuse: failed to open fuse device: No such file or directory" > Where is the problem You have to load the fuse kernel module: kldload fuse > Regards Cheers, > Antonio Tommasi -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp From fam.vanderschaft at kpnplanet.nl Fri May 8 09:17:00 2009 From: fam.vanderschaft at kpnplanet.nl (Familie van der Schaft) Date: Fri May 8 09:17:07 2009 Subject: kerberos and php5 Message-ID: <066301c9cfbc$ce869ea0$0302a8c0@VANDERSCHAFT.NET> LS, It seems that KRB5 is not a default implementation within php5. How can i add KRB5 in php5. Reg,Danny From vince at unsane.co.uk Fri May 8 09:27:54 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri May 8 09:28:02 2009 Subject: Teaming NIC In-Reply-To: References: Message-ID: <4A03FB17.1030503@unsane.co.uk> On 8/5/09 07:47, Daniels Vanags wrote: > Hello, > > > > FreeBSD 6.3 has new device called lagg(4). > > Lagg is a link aggregation and link failover interface. > > With lagg we can easily bond two NIC interfaces together. > > But how we can do NIC teaming in FreeBSD 6.2? Please help. > > > I would highly recommend you upgrade to the latest 6.4 (or even better the 7 series) but if you cannot for some reason, have a look at netgraph, ng_fec might be ok if you have a cisco switch, and ng_one2many looks interesting. I havent tried them but I'm sure others on here could comment on them. Vince > Thanks, > > > > > > > > > > > > Daniel Vanags > > Information Technology Department > > IT infrastructure system engineer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > JSC SMP Bank www.smpbank.lv > > Phone: +371 67019386 > > E-mail: Daniels.Vanags@smpbank.lv > > > > > _______________________________________________ > 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 ml at netfence.it Fri May 8 09:41:49 2009 From: ml at netfence.it (Andrea Venturoli) Date: Fri May 8 09:41:55 2009 Subject: GSM modems Message-ID: <4A03F71D.1010509@netfence.it> Hello. I'm working on a project where we need to use GSM modems to be able to send and receive short messages; right now this is implemented through SMSTools. We are having a lot of problems like the modem hanging and stopping any communication with the computer, the modems suddenly saying the SIM card is bad or that the ISP network is refusing registration. Most of these are resolved by unplugging/replugging the modem. I was wondering: _ can (some of) these problems be FreeBSD related (e.g. USB driver issue, or something)? _ has anyone had any similar experience? _ can someone suggest a brand/model which works fine? (We tried three different ones, but all show some glitch). bye & Thanks av. From bsam at ipt.ru Fri May 8 10:00:37 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Fri May 8 10:00:44 2009 Subject: GSM modems In-Reply-To: <4A03F71D.1010509@netfence.it> (Andrea Venturoli's message of "Fri\, 08 May 2009 11\:10\:53 +0200") References: <4A03F71D.1010509@netfence.it> Message-ID: <90836432@bb.ipt.ru> Hi, On Fri, 08 May 2009 11:10:53 +0200 Andrea Venturoli wrote: > I'm working on a project where we need to use GSM modems to be able to > send and receive short messages; right now this is implemented through > SMSTools. Have you ever tried comms/gammu? > We are having a lot of problems like the modem hanging and stopping > any communication with the computer, the modems suddenly saying the > SIM card is bad or that the ISP network is refusing registration. > Most of these are resolved by unplugging/replugging the modem. Did you try to change a cable? Prior to using GSM modems we had tested some mobile phones and had got much trouble with their cables. > I was wondering: > _ can (some of) these problems be FreeBSD related (e.g. USB driver > issue, or something)? So you use USB modems, aren't you? Which FreeBSD version have you tried? If it comes about USB, FreeBSD 8-CURRENT is very nice. It has a rewritten USB stack. And a release is approaching. > _ has anyone had any similar experience? No. But we use comms/gammu and modems with COM interface. > _ can someone suggest a brand/model which works fine? (We tried three > different ones, but all show some glitch). Siemence MC35i is very stable. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From m.e.sanliturk at gmail.com Fri May 8 10:22:59 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri May 8 10:23:06 2009 Subject: Licensing In-Reply-To: <4A03BE9F.5050906@ibctech.ca> References: <4A03BE9F.5050906@ibctech.ca> Message-ID: On Fri, May 8, 2009 at 1:09 AM, Steve Bertrand wrote: > I've got a question that is likely not suited for this list, but I know > that there are people here who can guide me off-list. > > Being a network engineer, I'm far from a developer. With that said, I've > written numerous network automation programs (mostly in Perl), and have > developed several small patches for software written in C related to ISP > operations (including the OS itself). > > I'm looking for advice on how I can take all of my code, and license it > into the public domain. I'm sure that most people won't have any > interest in it, but I really want to ensure that what I have done is > freely accessible. > > All of my code is pretty well separated into different files that > contain different functions, so isolating portions of my programs that > use modules or functions that are external is not a problem. > > GPL seems too verbose legally for me. Can the BSD license fit into any > code, no matter what language it is in, and if so, can I have my code > overlooked by someone who can verify that the BSD license will fit? > > Steve > > Dear Steve , You may inspect the following pages and links in them : http://en.wikipedia.org/wiki/Category:Free_software http://en.wikipedia.org/wiki/Category:Free_software_licenses http://en.wikipedia.org/wiki/Category:Software_by_license http://en.wikipedia.org/wiki/Category:Software_licenses http://en.wikipedia.org/wiki/Category:Software_distribution http://en.wikipedia.org/wiki/Category:Public_domain I am not a lawyer and I can not comment on your possible decisions . My suggestion would be to study related laws in your country before making software available to public because some companies may not allow employees to disclose any software whether they write themselves without getting any support form their employers . There is no any relationship between programming language used and the license kind selected . License is the terms of use of the disclosed sources by the others . Another concept is Copyrights . You can only license a source which its copyright is exactly belongs to you . In some countries specifying a copyright on a work actually copyrighted by another entity may induce a legal penalty . For me , the best license is BSD-style licenses because recipients of software may use them in open and closed source applications . Since licenses like GPL and LGPL Version 3 requires disclosure of linked main programs , they can not be used in closed source applications . Therefore , any commercial entity can not use them and would NOT support them . Thank you very much . Mehmet Erol Sanliturk From onemda at gmail.com Fri May 8 10:26:05 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri May 8 10:26:13 2009 Subject: ndis0 interrrupt storm In-Reply-To: <4A03528F.7070405@onetel.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <4A03528F.7070405@onetel.com> Message-ID: <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> On 5/7/09, Chris Whitehouse wrote: > Tim Judd wrote: >> I think project evil (ndis) requires a specific driver version, such as >> the >> WinXP drivers versus the Vista or 2000 or anything else. >> >> >> >> What drivers did you use? Any other drivers available on the manufacturer >> website? >> >> >> If you're not using XP, I recall reading that XP is the preferred driver >> for >> the recent project evil versions. >> >> >> --TJ >> _______________________________________________ >> 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" >> > Sorry about the delay replying, I've been away. > > In the meantime I've tried the three possible drivers (XP, NT and an > unlabelled one). I've also installed a recent 8-current snapshot, > updated to latest source and built world, and tried the XP driver. Still > get interrupt storms everywhere, also a panic (I think) in 8-current. > > Should I give up or are there other things to try? Panic should not happen. Please provide backtrace(or crashdump or textdump) -- Paul From guru at unixarea.de Fri May 8 10:31:13 2009 From: guru at unixarea.de (Matthias Apitz) Date: Fri May 8 10:31:20 2009 Subject: reducing Windows Vista to install FreeBSD dual-boot In-Reply-To: <4A0165EA.1060003@otenet.gr> References: <20090506085405.GA5251@rebelion.Sisis.de> <4A0165EA.1060003@otenet.gr> Message-ID: <20090508103011.GA6364@rebelion.Sisis.de> El d?a Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis Kiagias escribi?: > Sure, You can even reduce Vista's partition from Control Panel -> > Administrative Tools -> Computer Management -> Disk Management. Right > click on the partition and select to shrink. The amount that it will > allow you to shrink will vary (probably depends on the fragmentation) > but I guess you will be able to get 50G on a 200G disk. Then install > FreeBSD as usual, but do not allow it to install any boot manager (it > will mess with Vista's BCD system). After installing, use EasyBCD (free > download) within Vista to add FreeBSD to the boot menu. Hi Manolis, I've fetched EasyBCD and installed it in the Vista. Just to make sure: The 180 GB partition is visible as /dev/ad8s4 to the CURRENT booted from USB and I will just label it as: # bsdlabel -w ad8s4 auto # bsdlabel -B ad8s4 edit the disk label and change partition "a" from "unused" to "4.2BSD" as partition type: # setenv EDITOR /usr/bin/vi # bsdlabel -e ad8s4 create the filesystem on it and mount it to /mnt for the installation: # newfs -m 0 -o space /dev/ad8s4a # mount /dev/ad8s4a /mnt and install CURRENT into /mnt: # cd /usr/src # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt ... Any comments? Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From jochen at daten-chaos.de Fri May 8 11:13:14 2009 From: jochen at daten-chaos.de (Jochen enterhaken Neumeister) Date: Fri May 8 11:13:46 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <20090508125559.15f17923@donald.home.jochen-neumeister.de> On Thu, 7 May 2009 17:19:47 -0700 Nerius Landys wrote: i think irssi http://www.irssi.org/ http://www.freshports.org/irc/irssi/ > What is the most recommended IRC client that runs in a terminal? > rtorrent is to bit torrent what ____ is to IRC. > _______________________________________________ > 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 derek at computinginnovations.com Fri May 8 11:36:20 2009 From: derek at computinginnovations.com (Derek Ragona) Date: Fri May 8 11:36:27 2009 Subject: Snapshots In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE7ED@w2003s01.double-l.l ocal> References: <57200BF94E69E54880C9BB1AF714BBCB5DE7ED@w2003s01.double-l.local> Message-ID: <6.0.0.22.2.20090508063516.025a3578@mail.computinginnovations.com> At 04:00 AM 5/5/2009, Johan Hendriks wrote: >Are there no more snapshots of current? >The last is from 02-2009 > > >Regards, >Johan I downloaded one from this month a couple days ago. You should see a May snapshot available. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From seklecki at noc.cfi.pgh.pa.us Fri May 8 11:38:44 2009 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki) Date: Fri May 8 11:38:56 2009 Subject: Configuring an IPv6 router to assign addresses In-Reply-To: <000e0cd47d9cda8db004693f3d0c@google.com> References: <000e0cd47d9cda8db004693f3d0c@google.com> Message-ID: <1241782483.2053.8.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2009-05-06 at 14:30 +0000, af300wsm@gmail.com wrote: > Hi, > > I've found in the handbook how to start up a v6 router and some other > helpful links on this topic at the FreeBSD diary. However, I'm wondering, You want to the rtadvd(8) daemon. $ sudo grep -i rtadvd /etc/defaults/rc.conf rtadvd_enable="NO" # Set to YES to enable an IPv6 router rtadvd_interfaces="" # Interfaces rtadvd sends RA packets. To hand out DNS servers, you'll want DHCPv6, but most folks are okay with the DNS servers they're getting via IPv4 static/dhcp. I recommend purchasing ipvbook.ca. Great read. ~BAS > how do I configure the router to assign addresses to hosts. > > Thanks, > Andy From seklecki at noc.cfi.pgh.pa.us Fri May 8 11:38:44 2009 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki) Date: Fri May 8 11:38:57 2009 Subject: filesystem: 12h to delete 32GB of data In-Reply-To: <1241610888.16418.64.camel@ompc.insign.local> References: <1241610888.16418.64.camel@ompc.insign.local> Message-ID: <1241782516.2053.10.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2009-05-06 at 13:54 +0200, Olivier Mueller wrote: > -> it took about 12 hours to delete these 30GB of files and > sub-directories (smarty cache files: many small files in many dirs). Haven't you ever had the pleasure of running Sendmail on Solaris? :) Move this data store to a separate partition. When it comes time to burn the queue, stop the service, unmount the partition, newfs it, remount, restart svc. Long live Pisces v2. ~BAS From seklecki at noc.cfi.pgh.pa.us Fri May 8 11:43:45 2009 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki) Date: Fri May 8 11:43:57 2009 Subject: HyperThreading In-Reply-To: <27ade5280905052320r55949c9v26c1c9db25a5d9ae@mail.gmail.com> References: <27ade5280905052320r55949c9v26c1c9db25a5d9ae@mail.gmail.com> Message-ID: <1241782470.2053.6.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2009-05-06 at 02:20 -0400, APseudoUtopia wrote: > Am I correct to assume that the above means that HTT is enabled? > There is nothing in my loader.conf, sysctl.conf, or kernel config file > related to hyperthreading. Yes, you are correct. Try: % sudo ps gauxww Or % sudo top You can see the currently assigned CPU for each proc/thread. ~BAS From seklecki at noc.cfi.pgh.pa.us Fri May 8 11:43:46 2009 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki) Date: Fri May 8 11:43:59 2009 Subject: FreeBSD on VMware ESXi In-Reply-To: References: Message-ID: <1241782461.2053.5.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2009-05-06 at 13:44 +0300, Daniels Vanags wrote: > We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD > Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon > processor. > > Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. > When trying to boot, getting error: BTX halted. > > Please explain, how to start FreeBSD on different hardware. Well, assuming that HFUX's RAID, VMWare and Linux doesn't totally shit the bed from the hypervisor CPU type change, the VMs are controllable from the spiffy AJAX/.Net20 VMWare management console. There's plenty of debugging available from there. Presumably all of the virtual hardware presented to the VM will be the same, except the CPU details. ~BAS From derek at computinginnovations.com Fri May 8 11:47:16 2009 From: derek at computinginnovations.com (Derek Ragona) Date: Fri May 8 11:48:53 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: References: Message-ID: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> At 09:42 AM 5/7/2009, Pieter Donche wrote: >FreeBSD7 with isc-dhcp30-server. >It hands out an IP address, OK, >but the BASH environment variable HOSTNAME is not set. Why? > >(A DNS server is active on the network and can succesfully be queried from >a FreeBSD bash command (nslookup or host) to see the hostname associated >with the IP-address) I have a later version of dhcpd running on FreeBSD without problems. If your DHCP scope is setup correctly and your DHCP clients are getting settings that work, I'm not sure what is the problem you are experiencing. You hostname variable can be set in the startup bash (or any other shell's startup scripts) scripts on login. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From vince at unsane.co.uk Fri May 8 12:00:30 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri May 8 12:00:37 2009 Subject: Snapshots In-Reply-To: <6.0.0.22.2.20090508063516.025a3578@mail.computinginnovations.com> References: <57200BF94E69E54880C9BB1AF714BBCB5DE7ED@w2003s01.double-l.local> <6.0.0.22.2.20090508063516.025a3578@mail.computinginnovations.com> Message-ID: <4A041ECC.2080301@unsane.co.uk> On 8/5/09 12:36, Derek Ragona wrote: > At 04:00 AM 5/5/2009, Johan Hendriks wrote: >> Are there no more snapshots of current? >> The last is from 02-2009 >> >> >> Regards, >> Johan > > I downloaded one from this month a couple days ago. You should see a > May snapshot available. > > -Derek > > Also see http://pub.allbsd.org/FreeBSD-snapshots/ From freebsd-questions-local at be-well.ilk.org Fri May 8 12:21:04 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri May 8 12:21:18 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071722t79978104v1401f99b5cedabb0@mail.gmail.com> (Nerius Landys's message of "Thu\, 7 May 2009 17\:22\:01 -0700") References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> <560f92640905071722t79978104v1401f99b5cedabb0@mail.gmail.com> Message-ID: <447i0riy55.fsf@lowell-desk.lan> Nerius Landys writes: > Seems that @reboot in cron is what I need. It's too bad that there's > no straightforward shutdown hook. If you really want an rc-style system available to users, it should only be ten minutes work to write something simple... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From nvass9573 at gmx.com Fri May 8 12:21:09 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Fri May 8 12:21:19 2009 Subject: Teaming NIC In-Reply-To: References: Message-ID: <4A042396.6060508@gmx.com> Daniels Vanags wrote: > FreeBSD 6.3 has new device called lagg(4). > > Lagg is a link aggregation and link failover interface. > > With lagg we can easily bond two NIC interfaces together. > > But how we can do NIC teaming in FreeBSD 6.2? Please help. Take a look at ng_fec, it implements Cisco's EtherChannel. ng_one2many can also be used to bond two or more interfaces, but keep in mind that it is not based on any standard and it will handle of course only outgoing traffic since incoming traffic must be handled from the remote side, the ethernet switch. There are plenty of choices to implement such a thing, beyond those two approaches... If you want some ideas, please state your needs. Nikos From keramida at ceid.upatras.gr Fri May 8 12:53:30 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri May 8 12:53:39 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> (Nerius Landys's message of "Thu, 7 May 2009 17:19:47 -0700") References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <874ovvwybd.fsf@kobe.laptop> On Thu, 7 May 2009 17:19:47 -0700, Nerius Landys wrote: > What is the most recommended IRC client that runs in a terminal? > rtorrent is to bit torrent what ____ is to IRC. If you are into Emacs, there are a few clients that run inside Emacs, both in GUI/X11 frames and console sessions. One of the major features of ERC (one of these clients) is that small customizations and extensions are *very* easy to hack when you know a bit of Emacs Lisp already. Here are for example some of the local customizations I made to my local setup: http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-116 A small function that autojoins channels after Freenode's NickServ has had a chance to cloak user information. http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-177 http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-183 http://bitbucket.org/keramida/dot-emacs/src/tip/elisp/keramida-erc.el#cl-189 Shorthand aliases for /cs -> /chanserv, /ns -> /nickserv and /ms -> /memoserv. There is also a ton of information about ERC and other Emacs-based IRC clients at the EmacsWiki: http://www.emacswiki.org/emacs/InternetRelayChat From wtf.jlaine at gmail.com Fri May 8 13:02:29 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Fri May 8 13:02:37 2009 Subject: 6.0 to 6.4 upgrade - buildkernel fails Message-ID: <2b98f2f70905080602n4dcafa0dk84a9e097f94a5ba5@mail.gmail.com> Hello, everybody. I'm trying to source upgrade from 6.0-RELEASE to 6.4. I really need to update this system, because 6.0 has too many holes now. I cvsup'ed to RELENG_6_4 and buildworld went ok, but buildkernel fails ait this stage: [skipped] -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/obj/usr/src/sys/KERNEL; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make -DNO_CPU_CFLAGS -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/usr/src/sys/KERNEL yacc -b aicasm_gram -d -o aicasm_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symbol_delete': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:91: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:135: warning: assignment makes pointer from integer without a cast /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_close': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: structure has no member named `seq' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: `R_FIRST' undeclared (first use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:151: error: for each function it appears in.) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:157: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_get': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:176: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: warning: passing arg 2 of pointer to function from incompatible pointer type /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:189: error: too few arguments to function /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_dump': /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:486: error: `R_FIRST' undeclared (first use in this function) /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:487: error: structure has no member named `seq' /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:524: error: `R_NEXT' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/KERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. My config is the same as GENERIC, but with pf and altq options included. Is it possible to use freebsd-udate on this old system? Any help will be much appreciated. -- Best regards, Jeff From mike.jeays at rogers.com Fri May 8 13:05:03 2009 From: mike.jeays at rogers.com (Mike Jeays) Date: Fri May 8 13:05:10 2009 Subject: Licensing In-Reply-To: <4A03BE9F.5050906@ibctech.ca> References: <4A03BE9F.5050906@ibctech.ca> Message-ID: <200905080838.20628.mike.jeays@rogers.com> On May 8, 2009 01:09:51 am Steve Bertrand wrote: > I've got a question that is likely not suited for this list, but I know > that there are people here who can guide me off-list. > > Being a network engineer, I'm far from a developer. With that said, I've > written numerous network automation programs (mostly in Perl), and have > developed several small patches for software written in C related to ISP > operations (including the OS itself). > > I'm looking for advice on how I can take all of my code, and license it > into the public domain. I'm sure that most people won't have any > interest in it, but I really want to ensure that what I have done is > freely accessible. > > All of my code is pretty well separated into different files that > contain different functions, so isolating portions of my programs that > use modules or functions that are external is not a problem. > > GPL seems too verbose legally for me. Can the BSD license fit into any > code, no matter what language it is in, and if so, can I have my code > overlooked by someone who can verify that the BSD license will fit? > > Steve > > > _______________________________________________ > 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 would keep away from the term 'public domain', which means you would lose any rights to it whatsoever. I don't think the language makes any difference. Basically, the BSD license is OK if you don't mind others taking the code, modifying it and distributing binaries without making the modified source available. If you don't like the last part, consider the GPL. From jos at webrz.net Fri May 8 13:24:20 2009 From: jos at webrz.net (Jos Chrispijn) Date: Fri May 8 13:24:27 2009 Subject: Changing NIC Message-ID: <4A0432A0.40901@webrz.net> - FreeBSD 7.2-STABLE I am about the change the (working) nic of my FreeBSD server with a gigabit one. Logically I think it would be good to add the new nic first and test it and if it is working, just remove the old one (or leave it without cable). Is that the common way of doing such? Are there disadvantages with that? Jos Chrispijn From Johan at double-l.nl Fri May 8 13:56:01 2009 From: Johan at double-l.nl (Johan Hendriks) Date: Fri May 8 13:56:09 2009 Subject: Changing NIC References: <4A0432A0.40901@webrz.net> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE810@w2003s01.double-l.local> >- FreeBSD 7.2-STABLE > >I am about the change the (working) nic of my FreeBSD server with a >gigabit one. >Logically I think it would be good to add the new nic first and test it >and if it is working, just remove the old one (or leave it without cable). >Is that the common way of doing such? Are there disadvantages with that? > >Jos Chrispijn The only thing need to change is the line ifconfig_(interface_name)="xxx.xxx ...... in the file /etc/rc.conf If the server can be offline for some time, install the new NIC and remove the old one. Then look in dmesg what name the new nic has, like bge0 or em0 or something like that. Edit your /etc/rc.conf file so the line ifconfig_ has your new nic module name, like ifconfig_em0= and restart the network with /etc/netstart If all is working a final reboot and all should be OK Regards, Johan No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.21/2102 - Release Date: 05/08/09 06:34:00 From m.e.sanliturk at gmail.com Fri May 8 14:11:02 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri May 8 14:11:09 2009 Subject: Licensing In-Reply-To: <200905080838.20628.mike.jeays@rogers.com> References: <4A03BE9F.5050906@ibctech.ca> <200905080838.20628.mike.jeays@rogers.com> Message-ID: On Fri, May 8, 2009 at 8:38 AM, Mike Jeays wrote: > On May 8, 2009 01:09:51 am Steve Bertrand wrote: > > I've got a question that is likely not suited for this list, but I know > > that there are people here who can guide me off-list. > > > > Being a network engineer, I'm far from a developer. With that said, I've > > written numerous network automation programs (mostly in Perl), and have > > developed several small patches for software written in C related to ISP > > operations (including the OS itself). > > > > I'm looking for advice on how I can take all of my code, and license it > > into the public domain. I'm sure that most people won't have any > > interest in it, but I really want to ensure that what I have done is > > freely accessible. > > > > All of my code is pretty well separated into different files that > > contain different functions, so isolating portions of my programs that > > use modules or functions that are external is not a problem. > > > > GPL seems too verbose legally for me. Can the BSD license fit into any > > code, no matter what language it is in, and if so, can I have my code > > overlooked by someone who can verify that the BSD license will fit? > > > > Steve > > > > > I would keep away from the term 'public domain', which means you would lose > any rights to it whatsoever. Public Domain does NOT invalidate Copyright : The owner of the work is the copyright holder . Public Domain is a license kind which means that there is no any condition on the usage . For example , BSD-style licenses generally are mentioned as 2-clause ( conditions ) , 3-clause ( conditions ) , etc. . Public Domain license means Zero-clause license . > > I don't think the language makes any difference. Basically, the BSD license > is > OK if you don't mind others taking the code, modifying it and distributing > binaries without making the modified source available. If you don't like > the > last part, consider the GPL. > > Language and used libraries sometimes may cause problems for the users of the sources when they want to distribute executables . For example , if a BSD-style licensed source uses GPL parts as called procedures , NOT the users of the both sources have any restriction , but when executable is distributed to others , BSD-style licensed sources also should be distributed due to GPL conditions although BSD-styled licensed part itself does not require distribution . My opinion is that most restrictive license is GPL although it is claimed that it gives freedom to users to get the source and modify it when they need . One point is forgotten or ignored : A BSD-style licensed source is also available from its originators whether it is distributed by its users or not . Thank you very much . Mehmet Erol Sanliturk From utisoft at googlemail.com Fri May 8 14:41:05 2009 From: utisoft at googlemail.com (Chris Rees) Date: Fri May 8 14:41:14 2009 Subject: Changing NIC In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE810@w2003s01.double-l.local> References: <4A0432A0.40901@webrz.net> <57200BF94E69E54880C9BB1AF714BBCB5DE810@w2003s01.double-l.local> Message-ID: 2009/5/8 Johan Hendriks : >>- FreeBSD 7.2-STABLE >> >>I am about the change the (working) nic of my FreeBSD server with a >>gigabit one. >>Logically I think it would be good to add the new nic first and test it >>and if it is working, just remove the old one (or leave it without cable). >>Is that the common way of doing such? Are there disadvantages with that? >> >>Jos Chrispijn > > The only thing need to change is the line ifconfig_(interface_name)="xxx.xxx ...... in the file /etc/rc.conf If the server can be offline for some time, install the new NIC and remove the old one. > Then look in dmesg what name the new nic has, like bge0 or em0 or something like that. > Edit your /etc/rc.conf file so the line ifconfig_ has your new nic module name, like ifconfig_em0= and restart the network with /etc/netstart If all is working a final reboot and all should be OK > > Regards, > Johan > > To be honest, it should be OK even without the final reboot. Johan, is there a reason you prefer /etc/netstart rather than /etc/rc.d/netif restart? Are they equivalent, or is netstart 'better' for any reason? 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 e-mail? From jon at radel.com Fri May 8 15:12:35 2009 From: jon at radel.com (Jon Radel) Date: Fri May 8 15:12:42 2009 Subject: Licensing In-Reply-To: References: <4A03BE9F.5050906@ibctech.ca> <200905080838.20628.mike.jeays@rogers.com> Message-ID: <4A044BCF.1090607@radel.com> Mehmet Erol Sanliturk wrote: > On Fri, May 8, 2009 at 8:38 AM, Mike Jeays wrote: > >> I would keep away from the term 'public domain', which means you would lose >> any rights to it whatsoever. > > > > Public Domain does NOT invalidate Copyright : The owner of the work is the > copyright holder . > Public Domain is a license kind which means that there is no any condition > on the usage . For example , BSD-style licenses generally are mentioned as > 2-clause ( conditions ) , 3-clause ( conditions ) , etc. . Public Domain > license means Zero-clause license . > Giving advice like this on an international list is practically an exercise in futility, as there's pretty much a 100% chance that what you're saying is completely wrong in at least one country (and, yes, that goes for everything I say below too :-). However, in some places, "public domain" does indeed mean that there is no copyright on it. It is my understanding that in some countries it is difficult, if not impossible, to disclaim copyright, so you can't put your own works into the public domain. "Public Domain license" is conflating copyrights and licenses, which while they interact, are not at all the same thing. In fairness I will grant that this is a common usage, despite the fact that some of us deplore its imprecision. My suggestion to the OP: 1) Make sure your employer (if any) doesn't have rules on this that you wish to follow, 2) Pick a license that appeals to you, 3a) If the software isn't important enough or valuable enough that you see hiring a lawyer if somebody violates your license, you're done, as so long as the license expresses what you'd prefer people to do, it really doesn't matter much whether or not you theoretically could enforce it, 3b) If this is valuable software, see a lawyer *before* you publish the software, preferably one who understands intellectual property *and* the various licenses that are available for "free" software. Do NOT depend on free advice from amateurs such as myself. Frankly, unless you see this software as providing revenue, or being part of some grand product you're releasing in phases, your license is making a philosophical declaration that a fair percentage of honorable users will more or less honor. The costs of bringing legal action to actually enforce a license are probably completely out of line with the value of the network utilities that you want to share. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090508/5978d8fd/smime.bin From andrewlylegould at gmail.com Fri May 8 15:22:38 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri May 8 15:22:44 2009 Subject: print test page - false negative Message-ID: Just an anecdote to any of you who may be having trouble configuring printing: I installed FreeBSD 7.2 Release with CUPS and gutenprint-cups. The printer in question is an Epson Stylus Photo R280, which is supported by gutenprint. After configuring CUPS, including permissions for /dev/ulpt0, I could print; but the test page came out as garbage. In a moment of frustration, I tried to print the CUPS configuration window from the File menu in firefox......it worked! I then shutdown and left to see Star Trek before anything could go wrong. :-) I'll try to print from other applications later. Andrew From pschmehl_lists at tx.rr.com Fri May 8 15:26:23 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri May 8 15:26:30 2009 Subject: Autofs howto In-Reply-To: <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> References: <20090507035523.GA6073@lpthe.jussieu.fr> <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> Message-ID: <115CE74FFEDF152EA4EFA58F@utd65257.utdallas.edu> --On Thursday, May 07, 2009 22:16:01 -0500 Jason Garrett wrote: >> > While cryptic, It has worked well for me with multiple FreeBSD and Linux > hosts on my network. > Hopefully it will work well for me too. However, I am struggling with the documentation, trying to figure out how to translate the developer-speak into normal human language. Here's what one of our guys is using on linux (I changed the hostname to foobar): cat /etc/auto.master /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp /proj ldap //foobar.utdallas.edu/nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp /net -hosts So how do I tranlsate that into FreeBSD amd conf and map files? It's got me stumped. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From jerrymc at msu.edu Fri May 8 15:43:24 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri May 8 15:43:31 2009 Subject: Licensing In-Reply-To: <4A03BE9F.5050906@ibctech.ca> References: <4A03BE9F.5050906@ibctech.ca> Message-ID: <20090508154228.GA4202@gizmo.acns.msu.edu> On Fri, May 08, 2009 at 01:09:51AM -0400, Steve Bertrand wrote: > I've got a question that is likely not suited for this list, but I know > that there are people here who can guide me off-list. > > Being a network engineer, I'm far from a developer. With that said, I've > written numerous network automation programs (mostly in Perl), and have > developed several small patches for software written in C related to ISP > operations (including the OS itself). > > I'm looking for advice on how I can take all of my code, and license it > into the public domain. I'm sure that most people won't have any > interest in it, but I really want to ensure that what I have done is > freely accessible. > > All of my code is pretty well separated into different files that > contain different functions, so isolating portions of my programs that > use modules or functions that are external is not a problem. > > GPL seems too verbose legally for me. Can the BSD license fit into any > code, no matter what language it is in, and if so, can I have my code > overlooked by someone who can verify that the BSD license will fit? The first thing to determine is if any other entity might hold some interest (ownership/copyright interest) in any of it. If you were employed by someone or some institution to do the work or the work was done during time paid by those entities, then they may have an interest. If that is not the case, then the next thing to determine is if any of it should be submitted to existing OSen or Utilities as patches - bug fixes or improvements. These two may not be a conflict as many businesses will have no problem with you submitting back fixes in software you are using in their behalf. eg, for example, if you are using FreeBSD to run a system for the business and write a patch for FreeBSD while on company time that helps that business operate better, they probably will have no problem with your submitting the patch for permanent inclusion in FreeBSD. As much as possible, then, submit PRs and include the diffs that cover the fixes or improvements. Finally, if you have complete clear ownership of some unique utilities, then include license terms in the source with a requirement that the license term be included in any subsequent distributions and then submit the utilitie as a port - if it is for FreeBSD. For a reasonable idea of how to compose license terms, check out the license terms for FreeBSD on the web site. I really don't know where to submit it if it is not for FreeBSD, although there are several sites that such as SourceForge that make themselves repositories for various usefull utilities. You'd have to check with them for how to go about submitting things and what is expected in the way of support, etc. Please include well documented source and clear statements as to what the utilities do and how to use them. Writing man pages and why-to as well as how-tos is important. You don't have to worry a whole lot Good luck, ////jerry > > Steve > > _______________________________________________ > 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 tundra at tundraware.com Fri May 8 15:49:27 2009 From: tundra at tundraware.com (Tim Daneliuk) Date: Fri May 8 15:49:34 2009 Subject: 7.2-Stable - smbfs.ko Is Missing Message-ID: <4A045472.9050404@tundraware.com> I just did an update and make world/kernel with the stable sources as of this morning. The boot process grumbles and goes single user because it cannot find smbfs.ko to mount some SMB shares. Any ideas why this module has suddenly disappeared and/or a workaround? Thanks, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From tundra at tundraware.com Fri May 8 15:51:21 2009 From: tundra at tundraware.com (Tim Daneliuk) Date: Fri May 8 15:51:28 2009 Subject: 7.2-Stable - smbfs.ko Is Missing Message-ID: <4A044F12.2040801@tundraware.com> I just did an update and make world/kernel with the stable sources as of this morning. The boot process grumbles and goes single user because it cannot find smbfs.ko to mount some SMB shares. Any ideas why this module has suddenly disappeared and/or a workaround? Thanks, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From mail at ozzmosis.com Fri May 8 16:33:13 2009 From: mail at ozzmosis.com (andrew clarke) Date: Fri May 8 16:33:20 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <20090508163309.GA24958@ozzmosis.com> On Thu 2009-05-07 17:19:47 UTC-0700, Nerius Landys (nlandys@gmail.com) wrote: > What is the most recommended IRC client that runs in a terminal? irssi From illoai at gmail.com Fri May 8 17:24:24 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Fri May 8 17:24:31 2009 Subject: What make is in 7.1? In-Reply-To: <20090506163222.C6023@qroenaqrq.6qbyyneqvnyhc.pbz> References: <20090506163222.C6023@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: 2009/5/6 Lars Eighner : > > When I do man make I get a man page and it includes references to > the pmake tutorial which seems to be basis of an HTMLize pmake > tutorial in one of the books. > > But clearly the installed make is not the pmake described in the tutorial. > The tutorial frequently suggest using Pmake -h for more details about > particular points. ?But in 7.1 make -h results in an illegal option message. > There is no pmake or Pmake. ?There is a pmake port but it won't build in > 7.1. > > So it seems I have a lot of documentation for pmake, which clearly I don't > have and can't get. ?Where is the documentation for the make I do have? > Have you tried % man /usr/share/man/man1/make.1.gz ? % man -d make . . . searching in /usr/share/man trying section 1 with globbing globbing /usr/share/man/man1/make.1* found ultimate source file /usr/share/man/man1/make.1.gz to_name in convert_name () is: /usr/share/man/cat1/make.1.gz will try to write /usr/share/man/cat1/make.1.gz if needed . . . -- -- From perryh at pluto.rain.com Fri May 8 17:49:13 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri May 8 17:49:21 2009 Subject: how to fix "interrupt storm" Message-ID: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> What, exactly, is an "interrupt storm", and how do I fix it? I have added a 64GB Patriot flash drive to a 7.0 system, but it does not seem to be working properly. Pertinent parts of dmesg.boot: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (449.85-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 67100672 (63 MB) avail memory = 51662848 (49 MB) ... atapci1: port 0x1800-0x180f,0x14f0-0x14ff,0x14e0-0x14ef,0x14d0-0x14df,0x14a0-0x14bf,0x1000-0x10ff irq 9 at device 16.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ... ad6: FAILURE - SET_MULTI status=51 error=4 ad6: 61136MB at ata3-master SATA150 At first things look OK, despite the "FAILURE" message: $ ls -l /dev/ad6* crw-r----- 1 root operator 0, 88 May 3 20:30 /dev/ad6 $ file -s /dev/ad6 /dev/ad6: x86 boot sector, Microsoft Windows XP MBR, Serial 0x9e5523de $ grep -w ad6 /usr/local/etc/mtools.conf drive f: file="/dev/ad6" $ mdir f: init F: non DOS media Cannot initialize 'F:' Now this seems a bit odd: file(1) says it's a Windows disk, but mdir(1) says it isn't. (Note that there are no slices, else the initial ls(1) should have shown them, so I suppose the drive has a single FAT filesystem as one would expect on a floppy disk.) Then, when I tried to investigate further by examining the contents of the drive with "od -c /dev/ad6 | more", I got one screenful of output followed by (on console and in dmesg): interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source ad6: FAILURE - SET_MULTI status=51 error=4 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10712 interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source interrupt storm detected on "irq9:"; throttling interrupt source ad6: FAILURE - SET_MULTI status=51 error=4 ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 etc. etc. until I killed it with ^C. (Just entering "q", to cause more(1) to exit and presumably stop od(1) with a SIGPIPE, did not stop the spew of messages.) What does this indicate? Hardware problems? Bad configuration? Something else? From nightrecon at verizon.net Fri May 8 18:22:28 2009 From: nightrecon at verizon.net (Michael Powell) Date: Fri May 8 18:22:35 2009 Subject: Changing NIC References: <4A0432A0.40901@webrz.net> Message-ID: Jos Chrispijn wrote: > - FreeBSD 7.2-STABLE > > I am about the change the (working) nic of my FreeBSD server with a > gigabit one. > Logically I think it would be good to add the new nic first and test it > and if it is working, just remove the old one (or leave it without cable). > Is that the common way of doing such? Are there disadvantages with that? > One caveat comes to mind is don't make the mistake of putting the new NIC in the same subnet as the old one. If it tests out OK you can flip them with an rc.conf edit and a reboot, and/or a netif restart if you don't want to reboot. -Mike From perrin at apotheon.com Fri May 8 18:36:45 2009 From: perrin at apotheon.com (Chad Perrin) Date: Fri May 8 18:36:53 2009 Subject: Licensing In-Reply-To: <4A03BE9F.5050906@ibctech.ca> References: <4A03BE9F.5050906@ibctech.ca> Message-ID: <20090508180532.GA69045@kokopelli.hydra> On Fri, May 08, 2009 at 01:09:51AM -0400, Steve Bertrand wrote: > > I'm looking for advice on how I can take all of my code, and license it > into the public domain. I'm sure that most people won't have any > interest in it, but I really want to ensure that what I have done is > freely accessible. The term "public domain" has a very specific legal meaning and, unfortunately, that meaning can actually vary from jurisdiction to jurisdiction. For instance, while France does have a public domain, you cannot release a work into the public domain -- you must use a specific license if you want to grant open access to that work. In most jurisdictions, "public domain" refers to a state where one has disclaimed copyright for something or otherwise given up all copyright claims on it. Note that "copyright" and "credit" are not the same thing, however. Attribution is ethically a matter of fraud, and most jurisdictions will legally treat it as a matter of fraud as well if something is misrepresented as being written by someone other than its actual author, though some jurisdictions add additional attribution protection through copyright. It is for reason of the fact that copyright law is much more widely supported across different jurisdictions (i.e., in different countries or legal systems) than any standardized understanding of public domain that most people with any understanding of the complexities will recommend using a license rather than the public domain, even if what you want is effectively "the public domain". If that's your actual goal, select a license whose terms most closely approximate the public domain as you understand it, and let that be your legally binding statement of intent (for any jurisdiction that recognizes your copyright and your licensing privilege under copyright law). I'm happy to see someone wanting to make his code available to the world, by the way. Kudos to you. If there are no competing copyright claims on any of the work (such as an employment agreement that might interfere with your sole copyright claims), I absolutely encourage you to see through your intent to open the code up. Note, however, that I am not a lawyer in *any* jurisdiction, and the above should not be considered legal advice per se. Courts of law are notoriously fickle things that, for some reason, tend to be really bad at interpreting things the way the majority of humans believe they should be interpreted. Let the buyer beware, as they say. > > All of my code is pretty well separated into different files that > contain different functions, so isolating portions of my programs that > use modules or functions that are external is not a problem. > > GPL seems too verbose legally for me. Can the BSD license fit into any > code, no matter what language it is in, and if so, can I have my code > overlooked by someone who can verify that the BSD license will fit? Have you considered choosing a license that doesn't lock what you give to the world into the realm of "code"? While the terms of the BSD license for code in particular are great in my opinion, the fact that they specify software source code is not so great, because sticky ambiguities can arise when someone wants to include that code in a non-software context (such as writing an article or a book that makes use of the code, including it in music lyrics, showing it in a video production of some sort, and so on). My favorite license for all purposes at present is the Open Works License, and I actually use it to license all my emails to this mailing list: http://owl.apotheon.org While I'm at it, my favorite general licensing policy is copyfree. Where strong copyright protection is the default for many countries, notably the US and much of Europe, and copyleft is the Free Software Foundation's answer to copyright as a way of turning the purpose of copyright on its head, copyfree is kind of a rejection of both copyright and copyleft. Check out the canonical explanation: http://copyfree.org/policy/ Both the BSD license and the Open Works License are copyfree licenses, as are a number of other popular and widely used licenses. I hope you get some value from my rambling. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Thomas McCauley: "The measure of a man's real character is what he would do if he knew he would never be found out." -------------- 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/20090508/3b249b61/attachment.pgp From chris at vindaloo.com Fri May 8 20:28:51 2009 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Fri May 8 20:28:59 2009 Subject: Autofs howto In-Reply-To: <115CE74FFEDF152EA4EFA58F@utd65257.utdallas.edu> References: <20090507035523.GA6073@lpthe.jussieu.fr> <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> <115CE74FFEDF152EA4EFA58F@utd65257.utdallas.edu> Message-ID: On May 8, 2009, at 10:57 AM, Paul Schmehl wrote: > --On Thursday, May 07, 2009 22:16:01 -0500 Jason Garrett > wrote: >>> >> While cryptic, It has worked well for me with multiple FreeBSD and >> Linux >> hosts on my network. >> > > Hopefully it will work well for me too. However, I am struggling > with the documentation, trying to figure out how to translate the > developer-speak into normal human language. > > Here's what one of our guys is using on linux (I changed the > hostname to foobar): > cat /etc/auto.master > /home ldap //foobar.utdallas.edu/ > nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp > /proj ldap //foobar.utdallas.edu/ > nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp > /net -hosts > I haven't played with Linux's autofs and when I did my look at it was shallow. From what you have here it looks like foobar.utdallas.edu is a NFS v3 server that offers a pair of directory hierarchies. He's mounting one of them on locally as /home and another as /proj. If you want to do that in FreeBSD this should get you going. *** /etc/amd/amd.conf *** [ global ] browsable_dirs = no map_type = file mount_type = nfs search_path = /etc auto_dir = /.amd cache_duration = 30 log_file = syslog:daemon log_options = fatal,error print_pid = yes pid_file = /var/run/ amd.pid restart_mounts = yes selectors_in_defaults = no [ /home ] map_name = /etc/amd/ home.map [ /proj ] map_name = /etc/amd/ proj.map *** /etc/amd/home.map *** /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3;\ rhost:=foobar.utdallas.edu;rfs:=/home/${key} * fs:=${autodir}/home/${key} *** /etc/amd/proj.map *** /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3;\ rhost:=foobar.utdallas.edu;rfs:=/proj/${key} * fs:=${autodir}/proj/${key} ------------------------------- In the map files you'll need to make sure that the rfs entry matches the directory tree that foobar.utdallas.edu is exporting. e.g. if you would manually mount the directory under FreeBSD like this: # mount_nfs -o tcp,intr,nodev,nosuid foobar.utdallas.edu:/home/ pschmehl /home/pschmehl or the fstab entry that you would use looks like this: # foobar.utdallas.edu:/home/pschmehl /home/pschmehl nfs noauto,tcp,intr 0 0 Then the rfs entry should look like this: ...;rfs:=/home/${key} This setup assumes that you've exported the directory try with FreeBSD's equivalent of the -alldirs option. This option allows you to mount any point under the exported tree rather than forcing you to mount the entire filesystem. A typical setup on FreeBSD would be to export /home with --alldirs then an NFS client can mount /home/ cshilton or /home/jbauer or whatever. Hope this helps -- Chris Sorry if I've got some minor bobbles in the syntax on the mount or fstab lines. > So how do I tranlsate that into FreeBSD amd conf and map files? > It's got me stumped. > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > Check the headers before clicking on Reply. > > _______________________________________________ > 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 > " > -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From cwhiteh at onetel.com Fri May 8 20:31:14 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri May 8 20:31:21 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <4A03528F.7070405@onetel.com> <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> Message-ID: <4A04968E.5060203@onetel.com> Paul B. Mahol wrote: > On 5/7/09, Chris Whitehouse wrote: > >> In the meantime I've tried the three possible drivers (XP, NT and an >> unlabelled one). I've also installed a recent 8-current snapshot, >> updated to latest source and built world, and tried the XP driver. Still >> get interrupt storms everywhere, also a panic (I think) in 8-current. >> >> Should I give up or are there other things to try? > > Panic should not happen. Please provide backtrace(or crashdump or textdump) `fetch http://www.fishercroft.plus.com/vmcore.1.gz' should get a crashdump from a non-debug kernel, see below. It's about 17mb I built a driver with the XP driver using ndisgen and the same source as my recent build world. I kldload the driver module which also loads ndis.ko and if_ndis.ko. I've got wlans_ndis0="wlan0" in rc.conf and I get ndis0 and wlan0 created when I plug in the card. The interrupt storm starts when I do # ifconfig wlan0 The panic occurs maybe a minute or two after the ifconfig. I got a panic but I couldn't get a crashdump with the GENERIC kernel (nothing relevant to dumpon or savecore happened at all, no boot messages, nothing in /var/crash). I did get a bunch of stuff on ttyv0, I can post a photo somewhere if required. Or is there a way to get the screen output in text format? I built a kernel with the following changes #cpu I486_CPU #cpu I586_CPU #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #options KDB # Enable kernel debugger support. #options DDB # Support DDB. #options GDB # Support remote GDB. #options INVARIANTS # Enable calls of extra sanity checking #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed I got on ttyv0: interrupt storm detected on "irq11:"; throttling interrupt source repeated about 20 times then Sleeping thread (tid 100084, pid 0) owns a non-sleepable lock panic: sleeping thread cpuid = 0 Uptime:17m26s Physical memory: 434 MB Dumping 79 MB: 64 48 32 16 Dump complete (The above typed by hand) Let me know if there is more I can do but (caveat) I'm not a developer and I only put CURRENT on the machine to test if the problem had been fixed, ie please don't flame me if you ask me really difficult stuff and I don't understand it :) uname -a FreeBSD eight.config 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri May 8 11:20:35 BST 2009 root@eight.config:/usr/obj/usr/src/sys/MYKERNEL i386 Thanks Chris From tundra at tundraware.com Fri May 8 20:34:00 2009 From: tundra at tundraware.com (Tim Daneliuk) Date: Fri May 8 20:34:07 2009 Subject: 7.2-Stable - smbfs.ko Is Missing In-Reply-To: <4A045472.9050404@tundraware.com> References: <4A045472.9050404@tundraware.com> Message-ID: <4A04972C.6010606@tundraware.com> Tim Daneliuk wrote: > I just did an update and make world/kernel with the stable sources as of > this morning. The boot process grumbles and goes single user because > it cannot find smbfs.ko to mount some SMB shares. Any ideas why this > module has suddenly disappeared and/or a workaround? > > Thanks, Nevermind - a new make world/kernel fixed things ... it may have been an artifact of a full /tmp filesystem ... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From talon at lpthe.jussieu.fr Fri May 8 21:00:54 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Fri May 8 21:01:01 2009 Subject: Autofs howto Message-ID: <20090508210050.GA35589@lpthe.jussieu.fr> Paul Schmehl wrote: > /home ldap > //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu > nfsvers=3 proto=tcp According to the documentation of FreeBSD amd one can use ldap maps with it (i have no experience of that). The doc is in: /usr/src/contrib/amd/doc/am-utils.texi -- Michel TALON From pschmehl_lists at tx.rr.com Fri May 8 21:08:09 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri May 8 21:08:17 2009 Subject: Autofs howto In-Reply-To: References: <20090507035523.GA6073@lpthe.jussieu.fr> <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> <115CE74FFEDF152EA4EFA58F@utd65257.utdallas.edu> Message-ID: --On Friday, May 08, 2009 14:56:34 -0500 Christopher Sean Hilton wrote: > > In the map files you'll need to make sure that the rfs entry matches > the directory tree that foobar.utdallas.edu is exporting. e.g. if you > would manually mount the directory under FreeBSD like this: > > # mount_nfs -o tcp,intr,nodev,nosuid foobar.utdallas.edu:/home/ > pschmehl /home/pschmehl > I can mount my homedir this way: # mount_nfs foobar.utdallas.edu:/home/003/p/pa/pauls /mnt/unix_home I assume this means that this should work: rfs:=/home/003/p/pa/${key} And then I cd to /Home/pauls (there's a section in my amd.conf file named [/Home] that has a corresponding map file amd.home which contains the syntax for mapping the drive. # cat /etc/amd.conf | grep -A3 Home [/Home] map_type =nfs map_name =amd.home mount_type =autofs # cat /etc/amd.home /defaults type:=nfs;opts:=tcp,intr,nodev,nosuid,umount,vers=3 \ rhost:olympus.utdallas.edu;rfs:=/home/003/p/pa/${key} * fs=${autodir}/${key} But that fails with a directory does not exist error. But I can already map my home drive manually. What I'm trying to figure out is how to use our ldap server to mount my home drive so that when/if it gets moved again (which happens occasionally) it will still mount and not break. The Linux construction is: ldap //rhost/nismapname=auto_home,ldap_base,nfsvers=3,proto=tcp. I can't for the life of me figure out how to get from that syntax to the amd syntax. But since I can't even automount my home using what I thought was the right syntax for amd, I guess I need to figure that out first. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From Ggatten at waddell.com Fri May 8 21:23:50 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Fri May 8 21:23:56 2009 Subject: [warn] kevent: Bad file descriptor Message-ID: <70C0964126D66F458E688618E1CD008A0793EC47@WADPEXV0.waddell.com> I just compiled and installed nTop 3.3.10 and now I'm getting this error. Had an older version running before this with no problem. I'm on 6.0 RELEASE. I'm still googling, any quick fixes would be GREATLY appreciated! I've been debugging and compiling all day and want to leave with this $hhh IT working! TIA! Gary
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From vogelke+unix at pobox.com Fri May 8 21:51:44 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Fri May 8 21:51:52 2009 Subject: Run script on boot, as ordinary user In-Reply-To: <560f92640905071722t79978104v1401f99b5cedabb0@mail.gmail.com> (message from Nerius Landys on Thu, 7 May 2009 17:22:01 -0700) Message-ID: <20090508214726.948D0BEAA@kev.msw.wpafb.af.mil> >> On Thu, 7 May 2009 17:22:01 -0700, >> Nerius Landys said: N> Seems that @reboot in cron is what I need. It's too bad that there's N> no straightforward shutdown hook. I use something like the script below to send me a popup message whenever one of my boxes shuts down, planned or otherwise. It assumes that if you can run cron jobs, you can be trusted to run something as yourself at system shutdown. For safety, nothing is run as root, and cron users can only run a script called called '/home/./$username/rc.d/shutdown'. Add this to /etc/rc.shutdown: run-rc-shutdown | sh If you don't have "setuidgid" installed, replace with "su -c ..." -- Karl Vogel I don't speak for the USAF or my company The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. --bizarre expressions found in student English papers --------------------------------------------------------------------------- #!/usr/bin/perl -w # run-rc-shutdown: print commands to run any non-root shutdown scripts. use strict; my ($dir, $dh, $home, $script, $uid, $usr); $dir = '/var/cron/tabs'; # BSD. #$dir = '/var/spool/cron/crontabs'; # Solaris. opendir($dh, "$dir") || die "opendir $dir: $!\n"; my @users = sort (grep (!/^\./, readdir($dh))); closedir($dh); foreach (@users) { ($usr, $uid, $dir) = (getpwnam($_))[0,2,7]; next unless $dir =~ m!/home/./$usr!; next unless $uid > 0; $script = $dir . '/rc.d/shutdown'; print "/usr/local/bin/setuidgid $usr $script\n" if -x $script; } exit(0); From invocatum at gmail.com Fri May 8 22:37:40 2009 From: invocatum at gmail.com (D C) Date: Fri May 8 22:37:47 2009 Subject: Help creating bpf0 device (bpf won't do it for me) Message-ID: Hello, I'm in the final stages of setting up a new wireless connection but have been having problems getting bpf running. For some reason, even though bpf has been compiled into a new kernel, the system won't automatically create a bpf0 device. On boot, the system complains "pcap_open_live: (no devices found) /dev/bpf0: No such file or directory". The ultimate goal is to have this laptop connect wirelessly to my WPA2-protected WAP (already working fine with other boxes) using a static IP. I've successfully compiled in support for the Atheros-based PCMCIA card, edited rc.conf to exclude DHCP and to use wpa_supplicant.conf, and eventually compiled in bpf when I started receiving the pcap_open_live messages. I suspect bpf is needed not for DHCP which is not running, but for some of the parameters I added to wpa_supplicant.conf, which is as follows: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="my_ssid" scan_ssid=1 proto=RSN key_mgmt=WPA-PSK pairwise=CCMP psk="my_ssid" } If someone would be so kind as to explain what is calling bpf and how I can create a bpf0 device by hand, I would be indebted. Thanks... From mike at sentex.net Sat May 9 01:38:03 2009 From: mike at sentex.net (mike@sentex.net) Date: Sat May 9 01:38:16 2009 Subject: Compass 597 Sprint In-Reply-To: References: Message-ID: On Thu, 7 May 2009 08:25:39 -0700, in sentex.lists.freebsd.questions you wrote: >Has anyone got a Compass 597 from Sprint to work? >And if so can I get some pointers? Not sure about the sprint version, but I use the Telus version and it works quite well with u3g from STABLE and HEAD Manufacturer: Sierra Wireless, Inc. Model: C597 Rev 1.0 (2) Revision: p2314500,8087 [Mar 06 2008 17:19:08] QCOM: SWI6800V2_FD.00.32 BOOT: SWI6800V2_FP.01.45 2008/03/07 16:36:13 APPL: SWI6800V2_FP.01.45 2008/03/07 16:36:13 SWOC: CDPC_00004_01.02.02 USB VID: 0x1199 PID: 0x0023 +GCAP: +CIS707-A, CIS-856, CIS-856-A, +MS, +ES, +DS, +FCLASS For ppp I use evdo: set device /dev/cuaU0.0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0s7=60 OK \\dATDT\\T TIMEOUT 40 CONNECT" set phone "#777" # The authname and authkey are meaningless, but you need to have them set. # Verizon's servers don't seem to care what you auth as. set authname "doesn't matter" set authkey "doesn't matter either" disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route enable dns From mikealbritton at aol.com Sat May 9 01:40:01 2009 From: mikealbritton at aol.com (Mike Albritton) Date: Sat May 9 01:40:09 2009 Subject: Instant Workstation Message-ID: <000801c9d044$4c6af000$4401a8c0@gateway.2wire.net> What the fsck happened to the "Instant Workstation" port??? I'm using FreeBSD 7.2 Netinstall. Good network connection, clean install, etc. Just not finding that specific port. Has it been renamed (or abandoned?) Thanks in advance. --- Mike Albritton From glarkin at FreeBSD.org Sat May 9 02:46:42 2009 From: glarkin at FreeBSD.org (Greg Larkin) Date: Sat May 9 02:46:49 2009 Subject: Instant Workstation In-Reply-To: <000801c9d044$4c6af000$4401a8c0@gateway.2wire.net> References: <000801c9d044$4c6af000$4401a8c0@gateway.2wire.net> Message-ID: <4A04EE7A.10108@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Albritton wrote: > What the fsck happened to the "Instant Workstation" port??? > I'm using FreeBSD 7.2 Netinstall. Good network connection, clean install, etc. > Just not finding that specific port. > Has it been renamed (or abandoned?) > > Thanks in advance. > --- > Mike Albritton > _______________________________________________ > 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 Mike, The port was deleted a while back: http://www.freshports.org/misc/instant-workstation/ I suppose you could pull your own local copy of the port, if you needed to: http://www.freebsd.org/cgi/cvsweb.cgi/ports/misc/instant-workstation/?hideattic=0#dirlist The port was deleted due to an incomplete pkg-list and no one fixed it before the expiration date. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ http://twitter.com/sourcehosting -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoE7noACgkQ0sRouByUApB15gCfavPMo57kUmPnAQg6s0NeMM04 fpQAoMN2lNZH+LuIhb04mTEIdy5CVq6P =gnCK -----END PGP SIGNATURE----- From wojtek at wojtek.tensor.gdynia.pl Sat May 9 07:57:34 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 9 07:57:41 2009 Subject: Help creating bpf0 device (bpf won't do it for me) In-Reply-To: References: Message-ID: > I'm in the final stages of setting up a new wireless connection but have > been having problems getting bpf running. For some reason, even though bpf > has been compiled into a new kernel, the system won't automatically create a are you sure? your symptops suggest it was not compiled it From derek at computinginnovations.com Sat May 9 08:04:14 2009 From: derek at computinginnovations.com (Derek Ragona) Date: Sat May 9 08:04:23 2009 Subject: FreeBSD on VMware ESXi In-Reply-To: References: Message-ID: <6.0.0.22.2.20090508063723.025c28b0@mail.computinginnovations.com> At 05:44 AM 5/6/2009, Daniels Vanags wrote: >We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD >Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon >processor. > >Disks contain FreeBSD Virtual Machines running in VMware ESXi Server. >When trying to boot, getting error: BTX halted. > >Please explain, how to start FreeBSD on different hardware. > >Thanks, > > > > > > > > > > > >Daniel Vanags > >Information Technology Department > >IT infrastructure system engineer I'm not sure what exactly you've done from your posting above. I have FreeBSD running in VM's under ESXi. I have moved the FreeBSD VM's from physical server to server without much trouble. The devices presented to the FreeBSD VM are dependent the VM configuration, so I would check there first. You may have selected a different SCSI host adapter in the VM settings for instance. I believe the problem you are experiencing is more to do with your ESXi/VM configuration than FreeBSD. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From jos at webrz.net Sat May 9 11:05:02 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sat May 9 11:05:08 2009 Subject: Perl upgrade Message-ID: <4A05637C.1040005@webrz.net> Not that I am that paranoid, but can someone tell me why Perl 5.8 is not automatically updated to 5.10 thru the ports, but (accordingly by UPDATING) has to be updated by some manual interaction? -- Jos Chrispijn From rwmaillists at googlemail.com Sat May 9 12:10:20 2009 From: rwmaillists at googlemail.com (RW) Date: Sat May 9 12:10:27 2009 Subject: Perl upgrade In-Reply-To: <4A05637C.1040005@webrz.net> References: <4A05637C.1040005@webrz.net> Message-ID: <20090509131016.66f4332f@gumby.homeunix.com> On Sat, 09 May 2009 13:05:32 +0200 Jos Chrispijn wrote: > Not that I am that paranoid, but can someone tell me why Perl 5.8 is > not automatically updated to 5.10 thru the ports, but (accordingly by > UPDATING) has to be updated by some manual interaction? That's the way the port system works. perl5.6, perl5.8 and perl5.10 are separate ports, making it automatic would involve forcing people off perl5.8 and marking it as "moved". From luvbeastie at larseighner.com Sat May 9 12:21:50 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sat May 9 12:21:57 2009 Subject: Perl upgrade In-Reply-To: <4A05637C.1040005@webrz.net> References: <4A05637C.1040005@webrz.net> Message-ID: <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> On Sat, 9 May 2009, Jos Chrispijn wrote: > Not that I am that paranoid, but can someone tell me why Perl 5.8 is not > automatically updated to 5.10 thru the ports, but (accordingly by UPDATING) > has to be updated by some manual interaction? You must be new around here. The process described in UPDATING for upgrading to Perl 5.10 is relatively painless compared to previous perl upgrades. So much stuff depends upon perl that: 1) special treatment is required to be sure you end up with a system that is functional in practice, and 2) people should not be misled as to the extent of the work involved. Use pkg_info -R to see what you may be in for. Perl was once ("recently" for some of us) part of the system. Logic may be on the side of considering it an application, but as a practical matter it is a distinction without a (big) difference. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From Pieter.Donche at ua.ac.be Sat May 9 13:09:58 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Sat May 9 13:10:06 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> References: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> Message-ID: On Fri, 8 May 2009, Derek Ragona wrote: > At 09:42 AM 5/7/2009, Pieter Donche wrote: > FreeBSD7 with isc-dhcp30-server. > It hands out an IP address, OK, > but the BASH environment variable HOSTNAME is not set. Why? > > (A DNS server is active on the network and can succesfully be > queried from a FreeBSD bash command (nslookup or host) to see > the hostname associated with the IP-address) > > > I have a later version of dhcpd running on FreeBSD without problems. If > your DHCP scope is setup correctly and your DHCP clients are getting > settings that work, I'm not sure what is the problem you are experiencing. > You hostname variable can be set in the startup bash (or any other shell's > startup scripts) scripts on login. Of course, it can be set by oneself in a startup script, but this should not be needed... In fact when I switch the network cable of that DHCP client PC to another subnet, where another DHCP server is active (don't know on what OS that DHCP server runs but certainly not FreeBSD), then HOSTNAME is set. My DHCPclient is triple boot (SUSE linux, FreeBSD7 and Windows), With network cable again in first network (with the FreeBSD7/isc-dhcp-server DHCP server) when I boot into SuSE Linux, the HOSTNAME variable is set ... So it is the combination FreeBSD7-amd64/isc-dhcp30-server as a DHCP server that does not set HOSTNAME ... I am puzzled why ... overview: case DHCP server DHCP client HOSTNAME env. var. 1 isc-dhcp30-server FreeBSD7-i386 not set on FreeBSD-amd64 2 isc-dhcp30-server SuSE Linux 10.3 set on FreeBSD-amd64 3 some DHCP server FreeBSD7-i386 set on unkown serverOS 4 some DHCP server SuSE Linux 10.3 set on unkown serverOS I compared from case 1 and 3 all variables that are set after a login (unix set command, and with a login using standard .profile and .bashrc startup scripts as created when creating a new user via useradd), and the only difference is precisely this HOSTNAME env. variable not being set (and of course some of them derived from that env. var.) > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > From jos at webrz.net Sat May 9 13:13:24 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sat May 9 13:13:32 2009 Subject: Perl upgrade In-Reply-To: <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <4A058193.6040703@webrz.net> Lars Eighner wrote: > On Sat, 9 May 2009, Jos Chrispijn wrote: > > You must be new around here. Yes, I am L-) > The process described in UPDATING for upgrading to Perl 5.10 is > relatively > painless compared to previous perl upgrades. So much stuff depends upon > perl that: [snip] Do you recommend having Perl updated or should I stay with 5.8? thanks, Jos Chrispijn From m.seaman at infracaninophile.co.uk Sat May 9 13:25:55 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat May 9 13:26:02 2009 Subject: Perl upgrade In-Reply-To: <4A058193.6040703@webrz.net> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> <4A058193.6040703@webrz.net> Message-ID: <4A058450.2020606@infracaninophile.co.uk> Jos Chrispijn wrote: > Lars Eighner wrote: >> On Sat, 9 May 2009, Jos Chrispijn wrote: >> The process described in UPDATING for upgrading to Perl 5.10 is >> relatively >> painless compared to previous perl upgrades. So much stuff depends upon >> perl that: > Do you recommend having Perl updated or should I stay with 5.8? I've updated a number of machines to perl-5.10, and apart from the sheer amount of stuff that needs re-installing it has been virtually painless. Most publicly available perl modules are written to be compatible with perl-5.8.3 or later and unless you're being bitten by some version specific bug there's no really pressing reason to upgrade to 5.10 right now. On the other hand, neither is there any really pressing reason /not/ to upgrade. It's all down to personal preference. However, I expect the consensus on the minimum supported version to change over time and more use to be made of 5.10 specific features, so I'd certainly recommend installing brand new machines with perl-5.10 in order to minimize the potential for future pain. 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/20090509/99f4be08/signature.pgp From luvbeastie at larseighner.com Sat May 9 13:34:32 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sat May 9 13:34:39 2009 Subject: Perl upgrade In-Reply-To: <4A058193.6040703@webrz.net> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> <4A058193.6040703@webrz.net> Message-ID: <20090509082129.R56383@qroenaqrq.6qbyyneqvnyhc.pbz> On Sat, 9 May 2009, Jos Chrispijn wrote: > Lars Eighner wrote: >> On Sat, 9 May 2009, Jos Chrispijn wrote: >> >> You must be new around here. > Yes, I am L-) >> The process described in UPDATING for upgrading to Perl 5.10 is relatively >> painless compared to previous perl upgrades. So much stuff depends upon >> perl that: > [snip] > > Do you recommend having Perl updated or should I stay with 5.8? Unless you know there is something in 5.10 that you need now, I recommend waiting at least a little bit. Let the gotta-have-the-newest-shiny folks take the sharp edges off. Study the dependencies list from pkg_info and dependencies of any big thing you plan to install. If you are going to (re-)build something big or a lot of little things anyway, it may make sense to upgrade perl just before you do that so that rebuilding the ports that depend on perl will kill two birds with one stone. If such an opportunity doesn't arise, maybe do it anyway about the time of the first frost --- snuggle up in front of the blazing compiler and sip hot chocolate. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From steve at ibctech.ca Sat May 9 13:47:58 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat May 9 13:48:05 2009 Subject: Licensing In-Reply-To: <20090508180532.GA69045@kokopelli.hydra> References: <4A03BE9F.5050906@ibctech.ca> <20090508180532.GA69045@kokopelli.hydra> Message-ID: <4A058988.8080808@ibctech.ca> Chad Perrin wrote: [..huge snip..] > I hope you get some value from my rambling. I have gained very much value from what everyone has had to say, and I want to thank everyone. Although I have very much reading to do, I've come to a few conclusions thus far. One thing that did not cross my mind prior was regarding the comments Chad made, use in media other than within the programming scope itself. FYI, almost all of my apps are for systems/network management and automation. I've written an application that bridges our wireless hotspots to our payment bank site (the bank supplied me a Perl module), through to radius, and with an expiry method to automatically remove the users so that the entire process is hands off. Most of my code would have to be changed to make it generic and not so site specific before being put out there. Being that I'm not really a programmer, having my code out there for peer review would make it much, much better if it was useful. (I'd probably be on the receiving end of finger pointing and laughing, but that's ok ;) Thanks all! Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090509/9e04b1fa/smime.bin From luvbeastie at larseighner.com Sat May 9 14:00:53 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sat May 9 14:00:59 2009 Subject: Perl upgrade In-Reply-To: <4A058450.2020606@infracaninophile.co.uk> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> <4A058193.6040703@webrz.net> <4A058450.2020606@infracaninophile.co.uk> Message-ID: <20090509085542.F56540@qroenaqrq.6qbyyneqvnyhc.pbz> On Sat, 9 May 2009, Matthew Seaman wrote: > However, I expect the consensus on the minimum supported version to change > over time and more use to be made of 5.10 specific features, so I'd certainly > recommend installing brand new machines with perl-5.10 in order to minimize > the potential for future pain. I concur. If you do the pkg_info thing and the list of stuff depending on perl is very short, by all means upgrade before it gets long. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From onemda at gmail.com Sat May 9 14:43:00 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sat May 9 14:43:14 2009 Subject: ndis0 interrrupt storm In-Reply-To: <4A04968E.5060203@onetel.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <4A03528F.7070405@onetel.com> <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> <4A04968E.5060203@onetel.com> Message-ID: <3a142e750905090742i4bf80d45n323a81d3e18223a@mail.gmail.com> On 5/8/09, Chris Whitehouse wrote: > Paul B. Mahol wrote: >> On 5/7/09, Chris Whitehouse wrote: >> >>> In the meantime I've tried the three possible drivers (XP, NT and an >>> unlabelled one). I've also installed a recent 8-current snapshot, >>> updated to latest source and built world, and tried the XP driver. Still >>> get interrupt storms everywhere, also a panic (I think) in 8-current. >>> >>> Should I give up or are there other things to try? >> >> Panic should not happen. Please provide backtrace(or crashdump or >> textdump) > > `fetch http://www.fishercroft.plus.com/vmcore.1.gz' should get a > crashdump from a non-debug kernel, see below. It's about 17mb > > I built a driver with the XP driver using ndisgen and the same source as > my recent build world. > > I kldload the driver module which also loads ndis.ko and if_ndis.ko. > > I've got > wlans_ndis0="wlan0" > in rc.conf and I get ndis0 and wlan0 created when I plug in the card. > > The interrupt storm starts when I do > > # ifconfig wlan0 > > The panic occurs maybe a minute or two after the ifconfig. > > I got a panic but I couldn't get a crashdump with the GENERIC kernel > (nothing relevant to dumpon or savecore happened at all, no boot > messages, nothing in /var/crash). > I did get a bunch of stuff on ttyv0, I can post a photo somewhere if > required. Or is there a way to get the screen output in text format? > > I built a kernel with the following changes > > #cpu I486_CPU > #cpu I586_CPU > > #makeoptions DEBUG=-g # Build kernel with gdb(1) debug Oh nooooo, crash dump is useless with that option commented in kernel. [You can alway just look at documentation installed in /usr/share/doc/, for example developers handbook] > symbols > > #options KDB # Enable kernel debugger support. > #options DDB # Support DDB. > #options GDB # Support remote GDB. > #options INVARIANTS # Enable calls of extra sanity > checking > #options INVARIANT_SUPPORT # Extra sanity checks of > internal structures, required by INVARIANTS > #options WITNESS # Enable checks to detect > deadlocks and cycles > #options WITNESS_SKIPSPIN # Don't run witness on spinlocks > for speed Both KDB, DDB, GDB, WITNESS and INVARIANTS are usefull in debugging kernel. So please uncomment all that debugging support. After all you can build two kernels, and use boot loader command or nextboot(8) > > > > I got on ttyv0: > > interrupt storm detected on "irq11:"; throttling interrupt source > > repeated about 20 times then > > Sleeping thread (tid 100084, pid 0) owns a non-sleepable lock Heh, thats is bug, now only remains to find where it is caused. > panic: sleeping thread > cpuid = 0 > Uptime:17m26s > Physical memory: 434 MB > Dumping 79 MB: 64 48 32 16 > Dump complete > > (The above typed by hand) > > Let me know if there is more I can do but (caveat) I'm not a developer > and I only put CURRENT on the machine to test if the problem had been > fixed, ie please don't flame me if you ask me really difficult stuff and > I don't understand it :) You can always ask me off list for anything that you don't understand. -- Paul From utisoft at googlemail.com Sat May 9 14:46:14 2009 From: utisoft at googlemail.com (Chris Rees) Date: Sat May 9 14:46:22 2009 Subject: Help creating bpf0 device (bpf won't do it for me) In-Reply-To: References: Message-ID: 2009/5/8 D C : > Hello, > > I'm in the final stages of setting up a new wireless connection but have > been having problems getting bpf running. ?For some reason, even though bpf > has been compiled into a new kernel, the system won't automatically create a > bpf0 device. ?On boot, the system complains "pcap_open_live: (no devices > found) /dev/bpf0: No such file or directory". > > The ultimate goal is to have this laptop connect wirelessly to my > WPA2-protected WAP (already working fine with other boxes) using a static > IP. > > I've successfully compiled in support for the Atheros-based PCMCIA card, > edited rc.conf to exclude DHCP and to use wpa_supplicant.conf, and > eventually compiled in bpf when I started receiving the pcap_open_live > messages. > > I suspect bpf is needed not for DHCP which is not running, but for some of > the parameters I added to wpa_supplicant.conf, which is as follows: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > > network={ > ssid="my_ssid" > scan_ssid=1 > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP > psk="my_ssid" > } > > If someone would be so kind as to explain what is calling bpf and how I can > create a bpf0 device by hand, I would be indebted. > > Thanks... [chris@amnesiac]~% ls /dev/bpf0 /dev/bpf0 [chris@amnesiac]~% grep bpf /root/AMN AMNESIAC.conf AMNESIAC.xbox.conf [chris@amnesiac]~% grep bpf /root/AMNESIAC.conf # The `bpf' device enables the Berkeley Packet Filter. # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter [chris@amnesiac]~% Are you *sure* you've compiled in bpf? Did you reboot after recompiling? 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 e-mail? From onemda at gmail.com Sat May 9 14:46:25 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sat May 9 14:46:32 2009 Subject: how to fix "interrupt storm" In-Reply-To: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> Message-ID: <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> On 5/8/09, perryh@pluto.rain.com wrote: > What, exactly, is an "interrupt storm", and how do I fix it? > > I have added a 64GB Patriot flash drive to a 7.0 system, but it does > not seem to be working properly. Pertinent parts of dmesg.boot: > > FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium II/Pentium II Xeon/Celeron (449.85-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x652 Stepping = 2 > > Features=0x183f9ff > real memory = 67100672 (63 MB) > avail memory = 51662848 (49 MB) > ... > atapci1: port > 0x1800-0x180f,0x14f0-0x14ff,0x14e0-0x14ef,0x14d0-0x14df,0x14a0-0x14bf,0x1000-0x10ff > irq 9 at device 16.0 on pci0 > atapci1: [ITHREAD] > ata2: on atapci1 > ata2: [ITHREAD] > ata3: on atapci1 > ata3: [ITHREAD] > ata4: on atapci1 > ata4: [ITHREAD] > ... > ad6: FAILURE - SET_MULTI status=51 error=4 > ad6: 61136MB at ata3-master SATA150 > > At first things look OK, despite the "FAILURE" message: > > $ ls -l /dev/ad6* > crw-r----- 1 root operator 0, 88 May 3 20:30 /dev/ad6 > $ file -s /dev/ad6 > /dev/ad6: x86 boot sector, Microsoft Windows XP MBR, Serial 0x9e5523de > $ grep -w ad6 /usr/local/etc/mtools.conf > drive f: file="/dev/ad6" > $ mdir f: > init F: non DOS media > Cannot initialize 'F:' > > Now this seems a bit odd: file(1) says it's a Windows disk, but > mdir(1) says it isn't. (Note that there are no slices, else the > initial ls(1) should have shown them, so I suppose the drive has > a single FAT filesystem as one would expect on a floppy disk.) > Then, when I tried to investigate further by examining the contents > of the drive with "od -c /dev/ad6 | more", I got one screenful of > output followed by (on console and in dmesg): > > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > ad6: FAILURE - SET_MULTI status=51 error=4 > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10712 > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > interrupt storm detected on "irq9:"; throttling interrupt source > ad6: FAILURE - SET_MULTI status=51 error=4 > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 > > etc. etc. until I killed it with ^C. (Just entering "q", to cause > more(1) to exit and presumably stop od(1) with a SIGPIPE, did not > stop the spew of messages.) > > What does this indicate? Hardware problems? Bad configuration? > Something else? > _______________________________________________ > 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" > Output of "vmstat -i"? -- Paul From dleal at webvolution.net Sat May 9 15:15:57 2009 From: dleal at webvolution.net (Daniel Leal) Date: Sat May 9 15:16:05 2009 Subject: freebsd-update Message-ID: <4A0598AE.1080403@webvolution.net> Hi. I just read about freebsd-update in the handbook. It seams very useful to upgrade my 7.1 system to 7.2. But what about ports and docs? Is it able to deal with that upgrade also ? thanks, daniel From mel.flynn+fbsd.questions at mailing.thruhere.net Sat May 9 17:09:28 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sat May 9 17:09:35 2009 Subject: [warn] kevent: Bad file descriptor In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EC47@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793EC47@WADPEXV0.waddell.com> Message-ID: <200905091909.25788.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 08 May 2009 23:23:32 Gary Gatten wrote: > I just compiled and installed nTop 3.3.10 and now I'm getting this > error. Had an older version running before this with no problem. I'm > on 6.0 RELEASE. I'm still googling, any quick fixes would be GREATLY > appreciated! Shot in the dark: mount /proc. -- Mel From jos at webrz.net Sat May 9 17:16:12 2009 From: jos at webrz.net (Jos Chrispijn) Date: Sat May 9 17:16:19 2009 Subject: Perl upgrade In-Reply-To: <20090509085542.F56540@qroenaqrq.6qbyyneqvnyhc.pbz> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> <4A058193.6040703@webrz.net> <4A058450.2020606@infracaninophile.co.uk> <20090509085542.F56540@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <4A05BA7A.4080902@webrz.net> Lars Eighner wrote: > On Sat, 9 May 2009, Matthew Seaman wrote: > > I concur. If you do the pkg_info thing and the list of stuff > depending on > perl is very short, by all means upgrade before it gets long. After having some investigation on this subject, it comes clear to me that Perl is a very important part of my FreeBSD. Before that I considered it only as an app, nothing more than that *-) I did the update on a backup server and it took me 5 hours to get this done (going thru a full install of FreeBSD). Rebooted the system and so far no strange side-effects. I will though keep attention on evt. flaws on its behavior, allthough I expect the developer has it throuroughly tested before releasing it. thanks for sharing, -- Jos Chrispijn From river at loreley.flyingparchment.org.uk Sat May 9 17:32:01 2009 From: river at loreley.flyingparchment.org.uk (River Tarnell) Date: Sat May 9 17:32:07 2009 Subject: connect() records in BSM auditing Message-ID: <20090509173157.GO17743@loreley.flyingparchment.org.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, i'm using BSM auditing on 7.2-RELEASE to log network connections. i enabled 'nt' in audit_control: flags:lo,ad,+ex,na,+nt when examining the audit log with praudit, i see records for connect() calls: header,68,10,connect(2),0,Sat May 9 16:00:00 2009, + 560 msec subject,rriver,root,wheel,root,wheel,43709,835,15007,255.255.255.255 return,success,0 trailer,68 however, i don't see that the destination (or source) address is logged anywhere. i don't really see the point of auditing network activity without this information--is this a missing feature, or have i misconfigured something? thanks, river. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (HP-UX) iEYEARECAAYFAkoFvg0ACgkQIXd7fCuc5vKRFACeJaVKeRBe9OUyPU/j9HrfBVMw XYQAoIR7CAb/SqujCg1QIFUoVRFhyGnD =M1bm -----END PGP SIGNATURE----- From nevadadirren at gmail.com Sat May 9 19:00:12 2009 From: nevadadirren at gmail.com (Fabian Krook) Date: Sat May 9 19:00:19 2009 Subject: 7.2-RELEASE Xorg Problem Message-ID: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> When i try to do ex X -configure it tell me that there are no Driver and then create xorg.conf.new which have the driver. But when i tries to use X -config xorg.conf.new it will just go into a blank screen and can only be terminated through kill command. (Have installed the ATI radeon Driver) Any clue? From pschmehl_lists at tx.rr.com Sat May 9 19:11:10 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 19:11:30 2009 Subject: Autofs howto In-Reply-To: <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> References: <20090507035523.GA6073@lpthe.jussieu.fr> <970380130905072016gecc607cr1e5401d8e396366b@mail.gmail.com> Message-ID: <93D8ECC8AF9F5E43679AE26B@Macintosh-2.local> --On May 7, 2009 10:16:01 PM -0500 Jason Garrett wrote: >> > While cryptic, It has worked well for me with multiple FreeBSD and Linux > hosts on my network. > And I'm sure it will for me as well, if I can ever figure it out. Here's how our linux hosts are automounting drives: cat /etc/auto.master /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp /proj ldap //foobar.utdallas.edu/nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp /net -hosts How do I translate that into FBSD amd speak? I have to tell you, the amd docs are not for the faint of heart. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From pschmehl_lists at tx.rr.com Sat May 9 19:11:11 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 19:11:32 2009 Subject: Autofs howto Message-ID: --On May 7, 2009 10:16:01 PM -0500 Jason Garrett wrote: >> > While cryptic, It has worked well for me with multiple FreeBSD and Linux > hosts on my network. > And I'm sure it will for me as well, if I can ever figure it out. Here's how our Linux hosts are automounting drives. cat /etc/auto.master /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp /proj ldap //foobar.utdallas.edu/nismapname=auto_proj,dc=utdallas,dc=edu nfsvers=3 proto=tcp /net -hosts Can anyone translate that into FBSD amd speak? I have to tell you, the docs for amd are not for the faint of heart. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From pschmehl_lists at tx.rr.com Sat May 9 19:11:13 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 19:11:33 2009 Subject: Problems with amd Message-ID: It looks like my install of amd is screwed up. Is there a way to rebuild amd from source without rebuilding world? # uname -a FreeBSD utd65257.utdallas.edu 7.2-STABLE FreeBSD 7.2-STABLE #12: Wed May 6 12:12:16 CDT 2009 root@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386 amd -r May 9 13:38:22 utd65257 amd[22655]/info: no logfile defined; using stderr May 9 13:38:22 utd65257 amd[22655]/info: AM-UTILS VERSION INFORMATION: May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1997-2006 Erez Zadok May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 Jan-Simon Pendry May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 Imperial College of Science, Technology & Medicine May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 The Regents of the University of California. May 9 13:38:22 utd65257 amd[22655]/info: am-utils version 6.1.5 (build 702100). May 9 13:38:22 utd65257 amd[22655]/info: Report bugs to https://bugzilla.am-utils.org/ or am-utils@am-utils.org. May 9 13:38:22 utd65257 amd[22655]/info: Configured by David O'Brien on date 4-December-2007 PST. May 9 13:38:22 utd65257 amd[22655]/info: Built by root@utd65257.utdallas.edu on date Wed May 6 11:44:19 CDT 2009. May 9 13:38:22 utd65257 amd[22655]/info: cpu=i386 (little-endian), arch=i386, karch=i386. May 9 13:38:22 utd65257 amd[22655]/info: full_os=freebsd7.2, os=freebsd7, osver=7.2, vendor=undermydesk, distro=The FreeBSD Project. May 9 13:38:22 utd65257 amd[22655]/info: domain=utdallas.edu, host=utd65257, hostd=utd65257.utdallas.edu. May 9 13:38:22 utd65257 amd[22655]/info: Map support for: root, passwd, union, nis, ndbm, file, exec, error. May 9 13:38:22 utd65257 amd[22655]/info: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, ufs, cdfs, May 9 13:38:22 utd65257 amd[22655]/info: pcfs, auto, direct, toplvl, error, inherit. May 9 13:38:22 utd65257 amd[22655]/info: FS: cd9660, nfs, nfs3, nullfs, msdosfs, ufs, unionfs. May 9 13:38:22 utd65257 amd[22655]/info: Network: wire="129.110.3.0" (netnumber=129.110.3). May 9 13:38:22 utd65257 amd[22655]/info: My ip addr is 127.0.0.1 This all looks OK, but look what happens when I try to load the amd.conf file: # amd -F /etc/amd.conf AMDCONF: syntax error on line 2 (section global) Here's the first two lines of the amd.conf file: # cat -n /etc/amd.conf 1 # GLOBAL OPTIONS SECTION 2 [global] 3 auto_dir =/.amd_net Line two is the syntax for the global section and is correct. I've tried putting spaces around the word global. I've tried using other types of brackets. Nothing works. And there's another thing. The /etc/defaults/rc.conf file has a flags line for amd: # grep amd_flags /etc/defaults/rc.conf bootparamd_flags="" # Flags to bootparamd amd_enable="NO" # Run amd service with $amd_flags (or NO). amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map" If I add an amd_flags section to /etc/rc.conf (which should override what's in /etc/defaults/rc.conf, amd will not start: # grep amd_flags /etc/rc.conf amd_flags="-l /var/log/amd.log" # /etc/rc.d/amd restart Stopping amd. Waiting for PIDS: 22821, 22821. NFS access cache time=60 Starting amd. # /etc/rc.d/amd status amd is not running. Apparently, when amd starts with the /etc/defaults/rc.conf settings, it does not parse the /etc/amd.conf file, which allows it to run. But that means I have to edit /etc/defaults/rc.conf if I want to make any changes *and* I can't have an amd.conf file. Clearly this is not correct behavior. So I'd like to rebuild amd and see if that fixes the problem, but I don't want to rebuild world if I can avoid it. One last thing. Is there any way to unmount nfs mounts without rebooting the box? I've tried amq -u and umount without success. The mounts are stale and have been that way for almost 24 hours now. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From crankbuster at gmail.com Sat May 9 19:14:12 2009 From: crankbuster at gmail.com (Old Crankbuster) Date: Sat May 9 19:14:18 2009 Subject: 7.2-RELEASE Xorg Problem In-Reply-To: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> References: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> Message-ID: <20090509191359.GH4754@gecko.davescrunch.net> * Fabian Krook [2009-05-09 20:35:43 +0200]: > When i try to do ex X -configure it tell me that there are no Driver and > then create xorg.conf.new which have the driver. But when i tries to use X > -config xorg.conf.new it will just go into a blank screen and can only be > terminated through kill command. (Have installed the ATI radeon Driver) Any > clue? Nothing but problem here with Radeon. Move the xorg.conf.new to /etc/X11/xorg.conf then run startx. Will start, but on my machine had tearing, and the laptop started running VERY hot. I dropped back to 7.1-RELEASE, That system won't fry my machine. -- Cheers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090509/64381715/attachment.pgp From nightrecon at verizon.net Sat May 9 20:22:45 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sat May 9 20:22:53 2009 Subject: Help creating bpf0 device (bpf won't do it for me) References: Message-ID: D C wrote: > Hello, > > I'm in the final stages of setting up a new wireless connection but have > been having problems getting bpf running. For some reason, even though > bpf has been compiled into a new kernel, the system won't automatically > create a > bpf0 device. On boot, the system complains "pcap_open_live: (no devices > found) /dev/bpf0: No such file or directory". > > The ultimate goal is to have this laptop connect wirelessly to my > WPA2-protected WAP (already working fine with other boxes) using a static > IP. > > I've successfully compiled in support for the Atheros-based PCMCIA card, > edited rc.conf to exclude DHCP and to use wpa_supplicant.conf, and > eventually compiled in bpf when I started receiving the pcap_open_live > messages. > > I suspect bpf is needed not for DHCP which is not running, but for some of > the parameters I added to wpa_supplicant.conf, which is as follows: > [snip] I confess to not having much knowledge in this area, but am interested from considering adding a card to my gateway-firewall-router box. I have two servers here at home, one is the afore mentioned gateway and the other is an Apache/MySQL/Samba server. Looking at the /dev on both I noticed that the gateway box has the bpf entries while the web server box does not. So I believe there needs to be an interface such as a firewall or DHCP which will consume the bpf in order for the /dev entry to be created. I suspect that you may have skipped over the proper creation of your wireless interface which would have created the bpf when initialized. You may consider trying to get the interface up and running with wireless connectivity without WEP/WPA first, then work on adding in the supplicant afterwards. My belief is when the network interface for the card comes up you will automagically then have the bpf entries in /dev. You may also take a look at /etc/devd.conf and /etc/defaults/pccard.conf for brain-jogging ideas. I do confess to not knowing enough about them. -Mike From pschmehl_lists at tx.rr.com Sat May 9 20:26:34 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 20:26:41 2009 Subject: Can I rebuild amd without rebuilding world? Message-ID: <4CF4FA213774B69765C455FB@Macintosh-2.local> I have a problem with amd. It's not working right, and I don't think I can fix it without rebuilding it. Here's the problems: # uname -a FreeBSD utd65257.utdallas.edu 7.2-STABLE FreeBSD 7.2-STABLE #12: Wed May 6 12:12:16 CDT 2009 root@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386 amd appears to be obtaining the correct information from my system: # amd -r May 9 13:38:22 utd65257 amd[22655]/info: no logfile defined; using stderr May 9 13:38:22 utd65257 amd[22655]/info: AM-UTILS VERSION INFORMATION: May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1997-2006 Erez Zadok May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 Jan-Simon Pendry May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 Imperial College of Science, Technology & Medicine May 9 13:38:22 utd65257 amd[22655]/info: Copyright (c) 1990 The Regents of the University of California. May 9 13:38:22 utd65257 amd[22655]/info: am-utils version 6.1.5 (build 702100). May 9 13:38:22 utd65257 amd[22655]/info: Report bugs to https://bugzilla.am-utils.org/ or am-utils@am-utils.org. May 9 13:38:22 utd65257 amd[22655]/info: Configured by David O'Brien on date 4-December-2007 PST. May 9 13:38:22 utd65257 amd[22655]/info: Built by root@utd65257.utdallas.edu on date Wed May 6 11:44:19 CDT 2009. May 9 13:38:22 utd65257 amd[22655]/info: cpu=i386 (little-endian), arch=i386, karch=i386. May 9 13:38:22 utd65257 amd[22655]/info: full_os=freebsd7.2, os=freebsd7, osver=7.2, vendor=undermydesk, distro=The FreeBSD Project. May 9 13:38:22 utd65257 amd[22655]/info: domain=utdallas.edu, host=utd65257, hostd=utd65257.utdallas.edu. May 9 13:38:22 utd65257 amd[22655]/info: Map support for: root, passwd, union, nis, ndbm, file, exec, error. May 9 13:38:22 utd65257 amd[22655]/info: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, ufs, cdfs, May 9 13:38:22 utd65257 amd[22655]/info: pcfs, auto, direct, toplvl, error, inherit. May 9 13:38:22 utd65257 amd[22655]/info: FS: cd9660, nfs, nfs3, nullfs, msdosfs, ufs, unionfs. May 9 13:38:22 utd65257 amd[22655]/info: Network: wire="129.110.3.0" (netnumber=129.110.3). May 9 13:38:22 utd65257 amd[22655]/info: My ip addr is 127.0.0.1 But it can't seem to parse the amd.conf file correctly: # amd -F /etc/amd.conf AMDCONF: syntax error on line 2 (section global) However the conf file is correct: # cat -n /etc/amd.conf 1 # GLOBAL OPTIONS SECTION 2 [global] 3 auto_dir =/.amd_net I have tried putting spaces on either side of global without success. I have tried using different types of brackets without success. The global line is correct yet amd claims that it is not. That's not all. There are some settings for amd_flags in /etc/defaults/rc.conf: grep "amd_flags=" /etc/defaults/rc.conf bootparamd_flags="" # Flags to bootparamd amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map" If I override those flags by adding amd_flags to /etc/rc.conf, amd will not run: # grep amd_flags /etc/rc.conf amd_flags="-l /var/log/amd.log" # /etc/rc.d/amd start NFS access cache time=60 Starting amd. [root@utd65257 ~]# /etc/rc.d/amd status amd is not running. It runs fine with the default flags: # grep amd_flags /etc/rc.conf #amd_flags="-l /var/log/amd.log" # /etc/rc.d/amd start NFS access cache time=60 Starting amd. # /etc/rc.d/amd status amd is running as pid 23091. I'd like to rebuild amd without having to rebuild world as well, although I'll do that if I have to. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From nightrecon at verizon.net Sat May 9 20:39:08 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sat May 9 20:39:15 2009 Subject: Can I rebuild amd without rebuilding world? References: <4CF4FA213774B69765C455FB@Macintosh-2.local> Message-ID: Paul Schmehl wrote: > I have a problem with amd. It's not working right, and I don't think I > can fix it without rebuilding it. [snip] > > I'd like to rebuild amd without having to rebuild world as well, although > I'll do that if I have to. > [...] I think you can just cd to /usr/src/sys/modules/amd and do: make obj && make depend && make && make install to rebuild the kernel module by itself. For the userland side it would be cd /usr/src/usr.sbin/amd/amd and make obj && make depend && make && make install I think. -Mike From nightrecon at verizon.net Sat May 9 20:44:32 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sat May 9 20:44:38 2009 Subject: Can I rebuild amd without rebuilding world? References: <4CF4FA213774B69765C455FB@Macintosh-2.local> Message-ID: Michael Powell wrote: > Paul Schmehl wrote: > >> I have a problem with amd. It's not working right, and I don't think I >> can fix it without rebuilding it. > [snip] >> >> I'd like to rebuild amd without having to rebuild world as well, although >> I'll do that if I have to. >> > [...] > > For the userland side it would be cd /usr/src/usr.sbin/amd/amd and ^^^^ OOPs - make that: cd /usr/src/usr.sbin/amd typo on me > make obj && make depend && make && make install > -Mike From mel.flynn+fbsd.questions at mailing.thruhere.net Sat May 9 21:13:48 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sat May 9 21:13:55 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: References: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> Message-ID: <200905092313.45418.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 09 May 2009 15:09:45 Pieter Donche wrote: > case DHCP server DHCP client HOSTNAME env. var. > > 1 isc-dhcp30-server FreeBSD7-i386 not set > on FreeBSD-amd64 > 2 isc-dhcp30-server SuSE Linux 10.3 set > on FreeBSD-amd64 > > 3 some DHCP server FreeBSD7-i386 set > on unkown serverOS > 4 some DHCP server SuSE Linux 10.3 set > on unkown serverOS Judging from this, you have a hostname set in /etc/rc.conf on freebsd 7 client and/or dhcpd isn't configured to send one as it receives one from the client and perhaps you have dynamic DNS configured? If that's not the case, then you should add some debugging to /sbin/dhclient- script in the check_hostname function. -- Mel From pschmehl_lists at tx.rr.com Sat May 9 21:22:44 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 21:22:51 2009 Subject: Can I rebuild amd without rebuilding world? In-Reply-To: References: <4CF4FA213774B69765C455FB@Macintosh-2.local> Message-ID: --On May 9, 2009 3:40:23 PM -0500 Michael Powell wrote: > > Paul Schmehl wrote: > >> I have a problem with amd. It's not working right, and I don't think I >> can fix it without rebuilding it. > [snip] >> >> I'd like to rebuild amd without having to rebuild world as well, >> although I'll do that if I have to. >> > [...] > > I think you can just cd to /usr/src/sys/modules/amd and do: > > make obj && make depend && make && make install to rebuild the kernel > module by itself. > > For the userland side it would be cd /usr/src/usr.sbin/amd/amd and > > make obj && make depend && make && make install > > I think. Thanks. That worked (with the correction you posted later), but I still have the same problem. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From frank at shute.org.uk Sat May 9 21:37:34 2009 From: frank at shute.org.uk (Frank Shute) Date: Sat May 9 21:37:42 2009 Subject: 7.2-RELEASE Xorg Problem In-Reply-To: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> References: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> Message-ID: <20090509213723.GA83617@melon.esperance-linux.co.uk> On Sat, May 09, 2009 at 08:35:43PM +0200, Fabian Krook wrote: > > When i try to do ex X -configure it tell me that there are no Driver and > then create xorg.conf.new which have the driver. But when i tries to use X > -config xorg.conf.new it will just go into a blank screen and can only be > terminated through kill command. (Have installed the ATI radeon Driver) Any > clue? Check that the ATI Radeon driver supports your card. pciconf(8) and the manpage for the ATI driver should help. It sounds like it's working (bare X no longer has the hatch screen) so it might be worth trying to launch an xterm & wm through ~/.xinitrc assuming you use startx. You need the line: Option "DontZap" "off" in: Section "ServerLayout" of your xorg.conf in order to kill X with ctl-alt-backspace. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From 240olofsson at telia.com Sat May 9 21:44:16 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Sat May 9 21:44:23 2009 Subject: Tips & Trix: Eclipse on 7.1 STABLE and swt-gtk issue Message-ID: <4A05E8C2.2010105@telia.com> Dear mailing list, I don't know if anyone has noticed or if it's my machine having stale ports but it seems that to make eclipse 3.4.1 working on FreeBSD 7.1 STABLE with diablo-jdk-1.6.0.07.02_4 you need to do the following: Do _not_ make clean until you have made: cp /usr/ports/java/eclipse/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library/libswt* /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/ It seems like make install builds the swt-gtk:s but that the .jar somehow 'misses' adding them in. /Roger From perryh at pluto.rain.com Sat May 9 21:49:38 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat May 9 21:49:45 2009 Subject: how to fix "interrupt storm" In-Reply-To: <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> Message-ID: <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> "Paul B. Mahol" wrote: > On 5/8/09, perryh@pluto.rain.com wrote: > > What, exactly, is an "interrupt storm", and how do I fix it? ... > > interrupt storm detected on "irq9:"; throttling interrupt source > > interrupt storm detected on "irq9:"; throttling interrupt source > > interrupt storm detected on "irq9:"; throttling interrupt source > > interrupt storm detected on "irq9:"; throttling interrupt source > > interrupt storm detected on "irq9:"; throttling interrupt source > > ad6: FAILURE - SET_MULTI status=51 error=4 > > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 > > > > etc. etc. until I killed it with ^C. (Just entering "q", to cause > > more(1) to exit and presumably stop od(1) with a SIGPIPE, did not > > stop the spew of messages.) > > > > What does this indicate? Hardware problems? Bad configuration? > > Something else? > > Output of "vmstat -i"? $ vmstat -i interrupt total rate irq0: clk 497386851 1004 irq1: atkbd0 2491 0 irq3: xl0 2030 0 irq6: fdc0 11 0 irq7: ppbus0 ppc0 1 0 irq8: rtc 63654324 128 irq9: uhci0+ 166216 0 irq14: ata0 369620 0 irq15: ata1 691 0 Total 561582235 1133 From pschmehl_lists at tx.rr.com Sat May 9 21:52:15 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 21:52:24 2009 Subject: Can I rebuild amd without rebuilding world? In-Reply-To: References: <4CF4FA213774B69765C455FB@Macintosh-2.local> Message-ID: <59F581887B7A3CF91A4510E9@Macintosh-2.local> --On May 9, 2009 3:45:43 PM -0500 Michael Powell wrote: >>> >> [...] >> >> For the userland side it would be cd /usr/src/usr.sbin/amd/amd and > ^^^^ > OOPs - make that: cd /usr/src/usr.sbin/amd typo on me > >> make obj && make depend && make && make install >> There are two related files in /boot/kernel: # ls -lsa /boot/kernel/amd.ko* 24 -r-xr-xr-x 1 root wheel 24414 May 9 16:37 /boot/kernel/amd.ko 78 -r-xr-xr-x 1 root wheel 79484 May 6 12:36 /boot/kernel/amd.ko.symbols The amd.ko.symbols file was created when I upgraded to 7.2 last Wednesday. What creates that file? And how do I update it? Could it be the cause of the problem? All the other related files were updated today. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From nevadadirren at gmail.com Sat May 9 21:53:35 2009 From: nevadadirren at gmail.com (Fabian Krook) Date: Sat May 9 21:53:43 2009 Subject: 7.2-RELEASE Xorg Problem In-Reply-To: <20090509213723.GA83617@melon.esperance-linux.co.uk> References: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> <20090509213723.GA83617@melon.esperance-linux.co.uk> Message-ID: <50f801fe0905091453yf2147e4v6343d134d9c34306@mail.gmail.com> I see, well i have done that in xorg.conf.new file (snice it didn't create any xorg.conf) the ctrl + alt + backspace doesn't seems to work even with X -config xorg.conf.new. 2009/5/9 Frank Shute > On Sat, May 09, 2009 at 08:35:43PM +0200, Fabian Krook wrote: > > > > When i try to do ex X -configure it tell me that there are no Driver and > > then create xorg.conf.new which have the driver. But when i tries to use > X > > -config xorg.conf.new it will just go into a blank screen and can only be > > terminated through kill command. (Have installed the ATI radeon Driver) > Any > > clue? > > Check that the ATI Radeon driver supports your card. pciconf(8) and > the manpage for the ATI driver should help. > > It sounds like it's working (bare X no longer has the hatch screen) > so it might be worth trying to launch an xterm & wm through ~/.xinitrc > assuming you use startx. > > You need the line: > > Option "DontZap" "off" > > in: > > Section "ServerLayout" > > of your xorg.conf in order to kill X with ctl-alt-backspace. > > > Regards, > > -- > > Frank > > > Contact info: http://www.shute.org.uk/misc/contact.html > > From talon at lpthe.jussieu.fr Sat May 9 22:54:32 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Sat May 9 22:54:39 2009 Subject: Can I rebuild amd without rebuilding world? Message-ID: <20090509225428.GA18943@lpthe.jussieu.fr> Paul Schmehl wrote: > The amd.ko.symbols file was created when I upgraded to 7.2 last > Wednesday. What creates that file? And how do I update it? Could it > be the cause of the problem? The amd.ko kernel module has nothing to do with the automounter. It is a device driver for some hardware (man 4 amd). As for your config file, it seems fine at first sight, but perhaps there are some "invisible" characters in it causing problems. The syntax is explained in man amd.conf -- Michel TALON From dan at langille.org Sat May 9 23:10:10 2009 From: dan at langille.org (Dan Langille) Date: Sat May 9 23:10:18 2009 Subject: The FreeBSD Diary: 2009-05-09 Message-ID: <20090509231004.13EC550A7B@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From darryl at osborne-ind.com Sat May 9 23:18:10 2009 From: darryl at osborne-ind.com (Darryl Hoar) Date: Sat May 9 23:18:31 2009 Subject: Openvpn question Message-ID: <000001c9d0a0$8ecfd620$ac6f8260$@com> Installed Openvpn on my freebsd server. Had to revoke a certificate already. The Openvpn howto guide says to add crl-verify crl.pem to the server config script. Is that the openvpn server config script or the openssl config script (I self generate certificates) ? Been googling and searching but can't find a definitive answer. Thanks and I know this is not strictly a Freebsd question. From pschmehl_lists at tx.rr.com Sat May 9 23:49:57 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sat May 9 23:50:05 2009 Subject: Can I rebuild amd without rebuilding world? In-Reply-To: <20090509225428.GA18943@lpthe.jussieu.fr> References: <20090509225428.GA18943@lpthe.jussieu.fr> Message-ID: <88A443E2BCA8F51F7DC9DD55@Macintosh-2.local> --On May 9, 2009 5:54:28 PM -0500 Michel Talon wrote: > > Paul Schmehl wrote: >> The amd.ko.symbols file was created when I upgraded to 7.2 last >> Wednesday. What creates that file? And how do I update it? Could it >> be the cause of the problem? > > The amd.ko kernel module has nothing to do with the automounter. It is a > device driver for some hardware (man 4 amd). > > As for your config file, it seems fine at first sight, but perhaps there > are some "invisible" characters in it causing problems. The syntax is > explained in > man amd.conf > Thanks. I moved the amd.conf file to amd.conf.bak and created a new one. Amd still thinks there's a problem: # amd -F /etc/amd.conf AMDCONF: syntax error on line 2 (section global) # cat /etc/amd.conf # GLOBAL OPTIONS SECTION [global] I think I'm going to csup sources again and rebuild world. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From socketss at hotmail.com Sun May 10 01:50:18 2009 From: socketss at hotmail.com (firak jotawski) Date: Sun May 10 01:50:25 2009 Subject: 7.2-release and xorg Message-ID: hi sirs, apologized me for disturbing the list but i really have problem, X -config /root/xorg.conf.new produce a black screen and die. i attached my machine uname -a, my xorg packages installed, X -configure output and its' configuration file. any helps anf hints would highly appreciated. with best regards, psr _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ -------------- next part -------------- A non-text attachment was scrubbed... Name: uname-a.out Type: application/octet-stream Size: 166 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090510/2f52ba31/uname-a.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg.out Type: application/octet-stream Size: 675 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090510/2f52ba31/xorg.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: X-configure.out Type: application/octet-stream Size: 1414 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090510/2f52ba31/X-configure.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg.conf.new Type: application/octet-stream Size: 3996 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090510/2f52ba31/xorg.conf.obj From apseudoutopia at gmail.com Sun May 10 04:08:43 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Sun May 10 04:08:52 2009 Subject: Upgrading to New Kernel - Hung on Boot Message-ID: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> Hey, I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, specifically the RELENG_7_2 tag. I synced my sources via csup, built world, built kernel, and installed kernel. All went well. I rebooted into single user mode, and the kernel hung. The loader menu came up, but when the kernel starts loading it hangs. I recovered it by dropping to a loader prompt and loading kernel.old. It booted up fine. I have attached the kernel config I used to buildkernel. I'm guessing it has something to do with this. In case it's relevant, the system is a dual-core Intel Xeon, with HyperThreading disabled. Thanks. -------------- next part -------------- # # Kernel configuration file for FreeBSD/i386 # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # cpu I686_CPU ident KERN options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #options UFS_ACL # Support for access control lists #options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling #options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options SCSI_DELAY=100 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support #options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI #options AUDIT # Security event auditing #options KDTRACE_HOOKS # Kernel DTrace hooks # SMP options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC options IPI_PREEMPTION # Preempt threads running on other CPUs if needed # Networking options DEVICE_POLLING options HZ=1000 device em # Intel PRO/1000 Gigabit Ethernet Family device loop # Network loopback device ether # Ethernet support device tun # Packet tunnel. device bpf # Berkeley packet filter device pf # OpenBSD's Packet Filter device pflog options ALTQ options ALTQ_RED # Random Early Detection options ALTQ_RIO # RED In/Out options ALTQ_PRIQ # Priority Queueing options ALTQ_NOPCC # Required for SMP options ACCEPT_FILTER_DATA options ACCEPT_FILTER_HTTP # Misc device pci # PCI Bus Support options PANIC_REBOOT_WAIT_TIME=-1 # Wait indefinitely after kernel panic # ATA and ATAPI devices device ata device atadisk # ATA disk drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse #device atkbdc # AT keyboard controller #device atkbd # AT keyboard #device kbdmux # keyboard multiplexer #device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console #device sc # Pseudo devices. device random # Entropy device device pty # Pseudo-ttys (telnet etc) From Pieter.Donche at ua.ac.be Sun May 10 06:15:17 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Sun May 10 06:15:25 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: <200905092313.45418.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <6.0.0.22.2.20090508064144.026c0fe0@mail.computinginnovations.com> <200905092313.45418.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: On Sat, 9 May 2009, Mel Flynn wrote: > On Saturday 09 May 2009 15:09:45 Pieter Donche wrote: > >> case DHCP server DHCP client HOSTNAME env. var. >> >> 1 isc-dhcp30-server FreeBSD7-i386 not set >> on FreeBSD-amd64 >> 2 isc-dhcp30-server SuSE Linux 10.3 set >> on FreeBSD-amd64 >> >> 3 some DHCP server FreeBSD7-i386 set >> on unkown serverOS >> 4 some DHCP server SuSE Linux 10.3 set >> on unkown serverOS > > Judging from this, you have a hostname set in /etc/rc.conf on freebsd 7 client > and/or dhcpd isn't configured to send one as it receives one from the client > and perhaps you have dynamic DNS configured? There is no hostname= declaration in /etc/rc.conf in that FreeBSD7 dhcp client. My dhcpd.conf contains mostly statically defined addresses (over a 100) e.g. host somehostname { hardware ethernet aa:bb:cc:dd:ee:ff; fixed-address AAA.BBB.CCC.DDD; } and one set of 6 dynamically assigned addresses. We want regular users to always get the same IP address based on the MAC address of their system, the pool of 6 is for visitors for one or a few days that we do allow not to register their MAC address. The freebsd7 client is one of the 100+ statically assigned ones, but I might have done a try for the dynamic assignment with this PC (by taking it temporarily out of /usr/local/etc/dhcpd.conf, restart dhcpd, try, then put it back in, restart dhcpd. In fact in /var/db/dhcpd/dhcpd.conf I see I do have an entry lease AAA.BBB.CCC.DDD { starts 4 2009/05/07 12:49:13; ends 4 2009/05/07 13:19:16; tstp 4 2009/05/07 13:19:16; binding state free; hardware ethernet aa.bb.cc.dd.ee.ff; uid "\001\000\013\333S>\025"; } AAA.BBB.CCC.DDD being one of the pool of 6 and the ethernet adddress that of the freebsd client. I see that's "free'd" already (max lease time is 12 hours) and I tried back with that entry again as a statically defined one. Or does this dhcpd.lease entry still have an impact ??? The man of dhcpd.leases says "In order to prevent the lease database from growing without bound, the file is rewritten from time to time." Can one do such a "rewrite" oneself, how ? would that help? On the other hand the AAA.BBB.CCC.DDD IP address does have a hostname specified in the DNS server (somewhere in our campus) (and that DNS server can be queried from the freebsd client via nslookup or host command and it returns the correct hostname). So even in dynamic assignment, shouldn't HOSTNAME been set with that hostname from DNS? > > If that's not the case, then you should add some debugging to /sbin/dhclient- > script in the check_hostname function. > > -- > Mel > From kenneth.hatteland at kleppnett.no Sun May 10 07:51:39 2009 From: kenneth.hatteland at kleppnett.no (kenneth hatteland) Date: Sun May 10 07:51:46 2009 Subject: libcups missing Message-ID: <4A06877D.1030807@kleppnett.no> First of all I`d like to say thank you for putting up with all my amateur questions. I hope I can be of use here on the list some day...:) I had CUPS working nicely on an networked HP cp1515n from all machines in the house. But after upgrading FreeBSD and ports to 7.2 my FreeBSD machines states this problem when reaching login : /libexec/ld-elf.so.1 : shared object "libcups.so.2" not found, required by "cupsd" I guess this has something either to do with cups being recently upgraded, or I have negelcted inspecting a file when doing mergemaster during upgrade to 7.2 Googling and reading the handbook etc haven`t enlightened me so far.... Anyone have an idea or a know a online source that can help ? While I am bugging you anyway, I have a problem getting my permissions for use of my Packard Bell scanner with xscan not as root to stick when I rebbot. It all works nicely when I chmod every time, but where and how to make this stick ? Blessed be kenneth, Norway From m.seaman at infracaninophile.co.uk Sun May 10 07:55:45 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun May 10 07:55:52 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: References: Message-ID: <4A068874.8030408@infracaninophile.co.uk> Pieter Donche wrote: > FreeBSD7 with isc-dhcp30-server. > It hands out an IP address, OK, > but the BASH environment variable HOSTNAME is not set. Why? > > (A DNS server is active on the network and can succesfully be queried > from a FreeBSD bash command (nslookup or host) to see the hostname > associated with the IP-address) Hostname is not one of the parameters usually requested from a DHCP server by a Unix machine. In fact, it's normally the other way round: the client tells the DHCP server what it's hostname is and the DHCP server can then inject an A record into the DNS dynamically. However it is possible to operate in the way you want. To tell the dhcp server to look up names from the DNS based on the address supplied to a host, search for the description of the 'get-lease-hostnames' flag in the dhcpd.conf(5) man page. To tell dhcp clients to fetch their hostname from DHCP, you need to add it to a 'request' or 'require' block in dhclient.conf -- see dhclient.conf(5). It's been a long time since I ran a setup anything like that, so I cannot recall if that was all that was required, or if it was also necessary to write a small dhclient-script(8) to actually set the hostname. Another alternative is to use a dhclient-script to take the IP number allocated by the DHCP server, look up the corresponding address and then set that as the hostname. The bash HOSTNAME environment variable will be set from the output of the hostname(1) command, which is usually set from the hostname variable in /etc/rc.conf or from the output of '/bin/kenv dhcp.host-name' if that is set. Otherwise it uses a default hostname of 'amnesiac'. 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/20090510/1c128fbb/signature.pgp From rsmith at xs4all.nl Sun May 10 08:31:37 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 10 08:31:45 2009 Subject: libcups missing In-Reply-To: <4A06877D.1030807@kleppnett.no> References: <4A06877D.1030807@kleppnett.no> Message-ID: <20090510083129.GA4295@slackbox.xs4all.nl> On Sun, May 10, 2009 at 09:51:25AM +0200, kenneth hatteland wrote: > First of all I`d like to say thank you for putting up with all my > amateur questions. I hope I can be of use here on the list some day...:) > > I had CUPS working nicely on an networked HP cp1515n from all machines > in the house. But after upgrading FreeBSD and ports to 7.2 my FreeBSD > machines states this problem when reaching login : /libexec/ld-elf.so.1 > : shared object "libcups.so.2" not found, required by "cupsd" > > I guess this has something either to do with cups being recently > upgraded, or I have negelcted inspecting a file when doing mergemaster > during upgrade to 7.2 I had the same problem when upgrading recently. Rebuilding the cups-client port fixed it. If you have portmaster installed you can do: portmaster -B -d cups-client If not, go to /usr/ports/print/cups-client and run 'make deinstall' and 'make install clean' as root. > While I am bugging you anyway, I have a problem getting my permissions > for use of my Packard Bell scanner with xscan not as root to stick when > I rebbot. It all works nicely when I chmod every time, but where and how > to make this stick ? You need to set that in /etc/devfs.rules, and activate the ruleset in /etc/rc.conf. The devfs.rules(5) manual pages explains it. Scanners are even used as an example. :-) If you wish to give unrestricted access, change the mode to 0666. 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/20090510/2eeb3a58/attachment.pgp From sonicy at otenet.gr Sun May 10 08:32:22 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sun May 10 08:32:58 2009 Subject: 7.2-RELEASE Xorg Problem In-Reply-To: <50f801fe0905091453yf2147e4v6343d134d9c34306@mail.gmail.com> References: <50f801fe0905091135k8673300jb785bafeb132c554@mail.gmail.com> <20090509213723.GA83617@melon.esperance-linux.co.uk> <50f801fe0905091453yf2147e4v6343d134d9c34306@mail.gmail.com> Message-ID: <4A069106.60609@otenet.gr> Fabian Krook wrote: > I see, well i have done that in xorg.conf.new file (snice it didn't create > any xorg.conf) the ctrl + alt + backspace > doesn't seems to work even with X -config xorg.conf.new. > > > > 2009/5/9 Frank Shute > > There are several changes in Xorg 7.4. Please read the updated handbook section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html particularly section 5.4.2 From itavy at itavy.com Sun May 10 08:35:13 2009 From: itavy at itavy.com (Octavian Ionescu) Date: Sun May 10 08:35:20 2009 Subject: Openvpn question In-Reply-To: <000001c9d0a0$8ecfd620$ac6f8260$@com> References: <000001c9d0a0$8ecfd620$ac6f8260$@com> Message-ID: <4A068B4E.9050605@itavy.com> Darryl Hoar wrote: > Installed Openvpn on my freebsd server. Had to revoke a certificate > already. The Openvpn howto guide says to add crl-verify crl.pem to the > server config script. Is that the openvpn server config script or the > openssl config script (I self generate certificates) ? > > Been googling and searching but can't find a definitive answer. > > Thanks and I know this is not strictly a Freebsd question. > > > > _______________________________________________ > 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" read this, http://openvpn.net/index.php/documentation/howto.html#revoke you have to revoke the certificate(s) using the scripts and adding "crl-verify crl.pem" to the server configuration file. first time when you add that line you have to restart the openvpn daemon, afterthat it will check every time the crl.pem to see if the certificate is revoked or not. -- Best regards, Octavian From glen.j.barber at gmail.com Sun May 10 09:32:25 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun May 10 09:32:31 2009 Subject: Tips & Trix: Eclipse on 7.1 STABLE and swt-gtk issue In-Reply-To: <4A05E8C2.2010105@telia.com> References: <4A05E8C2.2010105@telia.com> Message-ID: <4ad871310905100232r6f45a3ceufad2eedf1891ce9f@mail.gmail.com> On Sat, May 9, 2009 at 4:34 PM, Roger Olofsson <240olofsson@telia.com> wrote: [snip] > Do _not_ make clean until you have made: > ?cp > /usr/ports/java/eclipse/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library/libswt* > /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/ > > It seems like make install builds the swt-gtk:s but that the .jar somehow > 'misses' adding them in. > That should automatically happen when building the port. If your tree is current, try contacting the port maintainer: cd /usr/ports/java/eclipse; make maintainer If that fails, submit a PR: http://freebsd.org/send-pr.html Regards, -- Glen Barber From ivan at ivangelion.tw Sun May 10 09:39:18 2009 From: ivan at ivangelion.tw (Chun-fan Ivan Liao) Date: Sun May 10 09:39:27 2009 Subject: 4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE Message-ID: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> OS version: FreeBSD 7.2 RELEASE apcupsd version: 3.14.5 UPS model: APC-MGE Back-UPS RS 1000VA (BR1000TW) UPS cable type: usb 3 important lines in /usr/local/etc/apcupsd/apcupsd.conf: --------- UPSCABLE usb UPSTYPE usb DEVICE --------- Other lines are default. Problem Description: 1. The APC box cannot be detected when connected to the FreeBSD system on system boot. (apcupsd_enable="YES" is set in /etc/rc.conf ) The associated messages in /var/log/messages: --------- May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd FATAL ERROR in bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see . May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd error shutdown completed --------- 2. Continuing 1, if I unplug the connecting USB then re-plug it to the same port, the USB cannot be identified. The associated message in /var/log/messages: --------- May 10 16:36:17 aura-cosmetics kernel: uhub0: device problem (TIMEOUT), disabling port 3 --------- 3. Contiuning 2, changing the port to plug the USB will do, and /var/log/messages reads: --------- May 10 16:41:07 aura-cosmetics root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub1 May 10 16:41:08 aura-cosmetics kernel: ugen0: on uhub1 --------- But when starting the apcupsd now using [apcupsd start], there is no "freebsd startup succeeded" message appearing in /var/log/messages. However using [ps ax| grep apcupsd], there is the following associated procedure in the standard output: --------- 1264? ??? Ss???? 0:00.01 apcupsd start --------- 4. The last problem continuing 3, if stopping the apcupsd now using [apcupsd stop], the following error messages occur in /var/log/messages: --------- May 10 16:48:11 aura-cosmetics apcupsd[1270]: Valid lock file for pid=1264, but not ours pid=1270 May 10 16:48:11 aura-cosmetics apcupsd[1271]: apcupsd FATAL ERROR in bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see . May 10 16:48:11 aura-cosmetics apcupsd[1271]: Valid lock file for pid=1264, but not ours pid=1271 May 10 16:48:11 aura-cosmetics apcupsd[1271]: apcupsd error shutdown completed --------- Any help will be greatly appreciated. From gesbbb at yahoo.com Sun May 10 11:02:55 2009 From: gesbbb at yahoo.com (Jerry) Date: Sun May 10 11:03:02 2009 Subject: Perl upgrade In-Reply-To: <20090509082129.R56383@qroenaqrq.6qbyyneqvnyhc.pbz> References: <4A05637C.1040005@webrz.net> <20090509064241.W51488@qroenaqrq.6qbyyneqvnyhc.pbz> <4A058193.6040703@webrz.net> <20090509082129.R56383@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <20090510070241.40eafc8d@scorpio> On Sat, 9 May 2009 08:31:45 -0500 (CDT) Lars Eighner wrote: >On Sat, 9 May 2009, Jos Chrispijn wrote: > >> Lars Eighner wrote: >>> On Sat, 9 May 2009, Jos Chrispijn wrote: >>> >>> You must be new around here. >> Yes, I am L-) >>> The process described in UPDATING for upgrading to Perl 5.10 is >>> relatively painless compared to previous perl upgrades. So much >>> stuff depends upon perl that: >> [snip] >> >> Do you recommend having Perl updated or should I stay with 5.8? > >Unless you know there is something in 5.10 that you need now, I >recommend waiting at least a little bit. Let the >gotta-have-the-newest-shiny folks take the sharp edges off. Study the >dependencies list from pkg_info and dependencies of any big thing you >plan to install. If you are going to (re-)build something big or a >lot of little things anyway, it may make sense to upgrade perl just >before you do that so that rebuilding the ports that depend on perl >will kill two birds with one stone. If such an opportunity doesn't >arise, maybe do it anyway about the time of the first frost --- >snuggle up in front of the blazing compiler and sip hot chocolate. Perl-5.10 was released to the public over a year ago. Another year transpired before it was released into the ports system. There was an immediate problem that was corrected when the maintainer switched to 'bison' from 'YACC'. Other than that, it has performed flawlessly as far as I can tell. -- Jerry gesbbb@yahoo.com The Martian Canals were clearly the Martian's last ditch effort! -------------- 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/20090510/82ff5514/signature.pgp From roberthuff at rcn.com Sun May 10 11:19:00 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun May 10 11:19:07 2009 Subject: libcups missing In-Reply-To: <20090510083129.GA4295@slackbox.xs4all.nl> References: <4A06877D.1030807@kleppnett.no> <20090510083129.GA4295@slackbox.xs4all.nl> Message-ID: <18950.47087.394536.369834@jerusalem.litteratus.org> Roland Smith writes: > On Sun, May 10, 2009 at 09:51:25AM +0200, kenneth hatteland wrote: > > First of all I`d like to say thank you for putting up with all my > > amateur questions. I hope I can be of use here on the list some day...:) > > > > I had CUPS working nicely on an networked HP cp1515n from all machines > > in the house. But after upgrading FreeBSD and ports to 7.2 my FreeBSD > > machines states this problem when reaching login : /libexec/ld-elf.so.1 > > : shared object "libcups.so.2" not found, required by "cupsd" > > > > I guess this has something either to do with cups being recently > > upgraded, or I have negelcted inspecting a file when doing mergemaster > > during upgrade to 7.2 > > I had the same problem when upgrading recently. Rebuilding the > cups-client port fixed it. If you have portmaster installed you can do: > > portmaster -B -d cups-client > > If not, go to /usr/ports/print/cups-client and run 'make > deinstall' and 'make install clean' as root. I ended up having to de-install both -client and -base, then install -base. (Mergemaster should have nothing to do with this, as it only affects files porvided by FreeBSD proper.) Robert Huff From onemda at gmail.com Sun May 10 11:53:01 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun May 10 11:53:09 2009 Subject: how to fix "interrupt storm" In-Reply-To: <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> Message-ID: <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> On 5/9/09, perryh@pluto.rain.com wrote: > "Paul B. Mahol" wrote: >> On 5/8/09, perryh@pluto.rain.com wrote: >> > What, exactly, is an "interrupt storm", and how do I fix it? > ... >> > interrupt storm detected on "irq9:"; throttling interrupt source >> > interrupt storm detected on "irq9:"; throttling interrupt source >> > interrupt storm detected on "irq9:"; throttling interrupt source >> > interrupt storm detected on "irq9:"; throttling interrupt source >> > interrupt storm detected on "irq9:"; throttling interrupt source >> > ad6: FAILURE - SET_MULTI status=51 error=4 >> > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 >> > >> > etc. etc. until I killed it with ^C. (Just entering "q", to cause >> > more(1) to exit and presumably stop od(1) with a SIGPIPE, did not >> > stop the spew of messages.) >> > >> > What does this indicate? Hardware problems? Bad configuration? >> > Something else? >> >> Output of "vmstat -i"? > > $ vmstat -i > interrupt total rate > irq0: clk 497386851 1004 > irq1: atkbd0 2491 0 > irq3: xl0 2030 0 > irq6: fdc0 11 0 > irq7: ppbus0 ppc0 1 0 > irq8: rtc 63654324 128 > irq9: uhci0+ 166216 0 uhci0 is doing strange things, what usb device are connected? It could be bad configuration, bug or hardware problem. > irq14: ata0 369620 0 > irq15: ata1 691 0 > Total 561582235 1133 > -- Paul From bsam at ipt.ru Sun May 10 12:06:00 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Sun May 10 12:06:09 2009 Subject: Upgrading to New Kernel - Hung on Boot In-Reply-To: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> (apseudoutopia@gmail.com's message of "Sun\, 10 May 2009 00\:08\:42 -0400") References: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> Message-ID: <24737181@bb.ipt.ru> On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, > specifically the RELENG_7_2 tag. > I synced my sources via csup, built world, built kernel, and installed > kernel. All went well. I rebooted into single user mode, and the > kernel hung. The loader menu came up, but when the kernel starts > loading it hangs. > I recovered it by dropping to a loader prompt and loading kernel.old. > It booted up fine. > I have attached the kernel config I used to buildkernel. I'm guessing > it has something to do with this. > In case it's relevant, the system is a dual-core Intel Xeon, with > HyperThreading disabled. If you have a custom kernel and get any problems than the first thing to do is to build GENERIC kernel and see if the problem still exists. BTW, don't forget to copy your /boot/kernel.old directory to /boot/kernel.good, else it will be deletted when installing a new kernel. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From tajudd at gmail.com Sun May 10 12:33:13 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun May 10 12:33:20 2009 Subject: Upgrading to New Kernel - Hung on Boot In-Reply-To: <24737181@bb.ipt.ru> References: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> <24737181@bb.ipt.ru> Message-ID: On Sun, May 10, 2009 at 6:05 AM, Boris Samorodov wrote: > On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > > > I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, > > specifically the RELENG_7_2 tag. > > > I synced my sources via csup, built world, built kernel, and installed > > kernel. All went well. I rebooted into single user mode, and the > > kernel hung. The loader menu came up, but when the kernel starts > > loading it hangs. > > > I recovered it by dropping to a loader prompt and loading kernel.old. > > It booted up fine. > > > I have attached the kernel config I used to buildkernel. I'm guessing > > it has something to do with this. > > > In case it's relevant, the system is a dual-core Intel Xeon, with > > HyperThreading disabled. > > If you have a custom kernel and get any problems than the first thing to > do is to build GENERIC kernel and see if the problem still exists. BTW, > don't forget to copy your /boot/kernel.old directory to > /boot/kernel.good, else it will be deletted when installing a new > kernel. > > > WBR > Among the same lines, when it's convenient, when there's time, I normally compile an updated GENERIC and store it to /boot/kernel.GENERIC My normal custom kernel enables IPSEC and PF (among others), and if there's time i throw a GENERIC buildkernel under the above to keep as good record. :) Just $.02 From itetcu at FreeBSD.org Sun May 10 12:40:33 2009 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Sun May 10 12:40:40 2009 Subject: 4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE In-Reply-To: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> References: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> Message-ID: <20090510152310.2ecc3a47@it.buh.tecnik93.com> On Sun, 10 May 2009 17:08:03 +0800 Chun-fan Ivan Liao wrote: > OS version: FreeBSD 7.2 RELEASE > apcupsd version: 3.14.5 > UPS model: APC-MGE Back-UPS RS 1000VA (BR1000TW) > UPS cable type: usb > > 3 important lines in /usr/local/etc/apcupsd/apcupsd.conf: > --------- > UPSCABLE usb > UPSTYPE usb > DEVICE > --------- > Other lines are default. > > > Problem Description: > 1. > The APC box cannot be detected when connected to the FreeBSD system on > system boot. (apcupsd_enable="YES" is set in /etc/rc.conf ) > > The associated messages in /var/log/messages: > --------- > May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd FATAL ERROR in > bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed > USB trouble shooting information, please see > . > May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd error shutdown > completed --------- Please post your /var/run/dmesg.boot after a roobot. > 2. > Continuing 1, if I unplug the connecting USB then re-plug it to the > same port, the USB cannot be identified. > > The associated message in /var/log/messages: > --------- > May 10 16:36:17 aura-cosmetics kernel: uhub0: device problem > (TIMEOUT), disabling port 3 > --------- I'd say we hava a problem here. I'd be curios to know if you see the same thing with a kernel w/o usb in it and the following klds loaded: usb.ko, ugen.ko, umass.ko -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B -------------- 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/20090510/b974015f/signature.pgp From apseudoutopia at gmail.com Sun May 10 13:48:06 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Sun May 10 13:48:13 2009 Subject: Upgrading to New Kernel - Hung on Boot In-Reply-To: <24737181@bb.ipt.ru> References: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> <24737181@bb.ipt.ru> Message-ID: <27ade5280905100648p22b8ff31w9e9dfd6aa370b3a0@mail.gmail.com> On Sun, May 10, 2009 at 8:05 AM, Boris Samorodov wrote: > On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > >> I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, >> specifically the RELENG_7_2 tag. > >> I synced my sources via csup, built world, built kernel, and installed >> kernel. All went well. I rebooted into single user mode, and the >> kernel hung. The loader menu came up, but when the kernel starts >> loading it hangs. > >> I recovered it by dropping to a loader prompt and loading kernel.old. >> It booted up fine. > >> I have attached the kernel config I used to buildkernel. I'm guessing >> it has something to do with this. > >> In case it's relevant, the system is a dual-core Intel Xeon, with >> HyperThreading disabled. > > If you have a custom kernel and get any problems than the first thing to > do is to build GENERIC kernel and see if the problem still exists. BTW, > don't forget to copy your /boot/kernel.old directory to > /boot/kernel.good, else it will be deletted when installing a new > kernel. > > Ah, yes, sorry, I forgot to mention that I have GENERIC installed to /boot/GENERIC, and it does load perfectly fine without any problems. It's just the new kernel that hangs on boot. From bsam at ipt.ru Sun May 10 13:56:46 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Sun May 10 13:56:53 2009 Subject: Upgrading to New Kernel - Hung on Boot In-Reply-To: <27ade5280905100648p22b8ff31w9e9dfd6aa370b3a0@mail.gmail.com> (apseudoutopia@gmail.com's message of "Sun\, 10 May 2009 09\:48\:04 -0400") References: <27ade5280905092108t19375fn63c63c10c72fefa8@mail.gmail.com> <24737181@bb.ipt.ru> <27ade5280905100648p22b8ff31w9e9dfd6aa370b3a0@mail.gmail.com> Message-ID: <58650531@bb.ipt.ru> On Sun, 10 May 2009 09:48:04 -0400 APseudoUtopia wrote: > On Sun, May 10, 2009 at 8:05 AM, Boris Samorodov wrote: > > On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > > > >> I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, > >> specifically the RELENG_7_2 tag. > > > >> I synced my sources via csup, built world, built kernel, and installed > >> kernel. All went well. I rebooted into single user mode, and the > >> kernel hung. The loader menu came up, but when the kernel starts > >> loading it hangs. > > > >> I recovered it by dropping to a loader prompt and loading kernel.old. > >> It booted up fine. > > > >> I have attached the kernel config I used to buildkernel. I'm guessing > >> it has something to do with this. > > > >> In case it's relevant, the system is a dual-core Intel Xeon, with > >> HyperThreading disabled. > > > > If you have a custom kernel and get any problems than the first thing to > > do is to build GENERIC kernel and see if the problem still exists. BTW, > > don't forget to copy your /boot/kernel.old directory to > > /boot/kernel.good, else it will be deletted when installing a new > > kernel. > Ah, yes, sorry, I forgot to mention that I have GENERIC installed to > /boot/GENERIC, and it does load perfectly fine without any problems. > It's just the new kernel that hangs on boot. Is it a GENERIC kernel from the new FreeBSD version? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From jmc-freebsd2 at milibyte.co.uk Sun May 10 14:00:36 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sun May 10 14:00:44 2009 Subject: Building gimp without gvfs Message-ID: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> Each time gimp-app gets upgraded I lose the ability to open URI's with "Open location" or by dragging images from firefox. Apparently this is because I need to explicitly pass --without-gvfs to configure [1] [2]. I was rather surprised that I needed to do this since I have the gvfs port installed but it did the trick for me. What I do is to edit the Makefile and add --without-gvfs to the CONFIGURE_ARGS lines. The snag is that I invariably forget about this by the next time the port gets upgraded and I have to sort the problem out again. What could I add to /etc/make.conf to have this option added to CONFIGURE_ARGS automatically? [1] http://www.shallowsky.com/blog/gimp/index.html [2] http://www.gimp.org/release-notes/gimp-2.6.html -- Mike Clarke From jmc-freebsd2 at milibyte.co.uk Sun May 10 14:05:14 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sun May 10 14:05:21 2009 Subject: Problems after upgrading to xorg-7.4_1 In-Reply-To: <69401662@bb.ipt.ru> References: <200905072343.46922.jmc-freebsd2@milibyte.co.uk> <69401662@bb.ipt.ru> Message-ID: <200905101435.17396.jmc-freebsd2@milibyte.co.uk> On Friday 08 May 2009, Boris Samorodov wrote: > New xorg uses hal by default. > > You have two options: either use hal [1] (i.e. start dbus and hald > while booting) or not use it (then you should tweak xorg.conf). > Either way please read recent freebsd-x11@ mail list archieves to > understand what's up and what to do. > [1] http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html Thanks for the link. I was aware that xorg now uses hal but I didn't realise I would need to make any configuration adjustments to hal. Adding the keyboard details to /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi as described in the link fixed the problem. I was also able to get the keyboard working correctly without hal and dbus by adding Option "AllowEmptyInput" "off" to xorg.conf. Since hal doesn't appear to usefully do anything else for me I've gone for the AllowEmptyInput option. I still need to fix my problem with the nv and nvidia drivers but I've discovered that things work OK with the vesa driver so I'll use that for now. -- Mike Clarke From info at lottery.co.uk Sun May 10 15:49:26 2009 From: info at lottery.co.uk (UK NATIONAL LOTTERY) Date: Sun May 10 15:49:34 2009 Subject: National Lottery: Your Email Won Message-ID: <20090510153230.6AF283C15B@hm1207.locaweb.com.br> United Kingdom National Lottery 101 Bovill Road, London SE23 1EL United Kingdom File #: EGS/2251256003/02 Congratulations, we are pleased to inform you of the result of the United Kingdom National Lottery Award Winners. Your email address have been randomly selected as a winner in the ongoing United Kingdom National Lottery Online program, the draw was held on 30th April, 2009 using a computerized balloting system of selection. The United Kingdom National Lottery is aimed and focused at global development and improvement of living standard across the world. Free £77 Million Pounds won including *four* Ten Million Pounds Winners and *fourteen* Millionaires plus thousands of other cash prizes. Winner from all over the world, India, France, Singapore, USA, United Kingdom, Spain, South America, Malaysia, Indonesia, South Africa, Belgium, Denmark, Ireland and many more. We wish to express our sincere apologies for the late notification, this free award online program is been conducted bi-quarterly. United Kingdom National Lottery Free Award draw was conducted at the Europe Issuing Centre, you were selected from an exclusive list of 1,000,000,000 e-mail addresses of internet users from the following categories; consumers, professionals and corporate bodies picked by an advanced automated random computer ballot search from the internet 'NO TICKETS OR DRAFTS WERE SOLD'. Your email address attached to Security File #: EGS/2251256003/02 with Serial number No: 002839 emerged as a winner of Six Hundred Thousand Pounds (£600.000.00 GBP), therefore you are eligible to file claim for your prize as one of our lucky winners for the payout of your total sum after a thorough verification that will be conducted by our various credible financial institutions. This online program is precisely aimed at enabling all internet users across the world benefit from the United Kingdom National Lottery, your email address falls within the First Category Winner as such your file has been designated to our European Centre, where the complete verification and payout will be conducted only if there are no exceptions during the claims process, to file your claim immediately please contact our International Programs Director Anderson Spencer with the following information: 1. Name in full----------------------------------------- 2. Phone/Fax------------------------------------------- 3. Occupation------------------------------------------ TO: Contact Person: Anderson Spencer European Payment Issuing Office Tel: +447024065192 (8am - 5pm GMT) Fax: +447092894160 Email: zonal.anderson-spencer@msn.com NOTE: In order to benefit from this program, you are advised in your own best interest to file your claim not later than 7days days from the date of this notification to avoid disqualification; anybody under the age of 18 is automatically disqualified. Please include this File #: EGS/2251256003/02 in every of your correspondence with our Foreign Service Director Anderson Spencer. IMPORTANT: Solemn confidentiality should be ensured until successful remittance of your prize to you to avoid undue taking of advantage, unwarranted claim and abuse of program, any breach of confidentiality on the part of the winner will result to automatic disqualification. Sincerely Yours, Mrs. Julie Van Hans, Executive Director. United Kingdom National Lottery. From rsmith at xs4all.nl Sun May 10 16:02:37 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 10 16:02:45 2009 Subject: Building gimp without gvfs In-Reply-To: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> References: <200905101500.26477.jmc-freebsd2@milibyte.co.uk> Message-ID: <20090510160234.GA16039@slackbox.xs4all.nl> Skipped content of type multipart/mixed-------------- 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/20090510/2f8a05e2/attachment.pgp From saifi.khan at twincling.org Sun May 10 17:12:47 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Sun May 10 17:13:00 2009 Subject: FreeBSD 8.0 i386 200905 snapshot DVD does not boot Message-ID: Hi all: The FreeBSD 8.0 i386 200905 snapshot DVD does not boot up. I'm on a normal Celeron 1.6GHz Presario C300TU laptop with 160GB HDD and 2GB DDR2 RAM. The system just whirrs up the DVD drive, the LEDs blink for a few moments and then the installed FreeBSD 7.1 screen is presented. I tested the DVD drive by putting in the old FreeBSD 7.1 DVD and it works fine. As an additional investigation i wrote another DVD with -J -R flags (unnecessary though in my opinion) and even this DVD does not get booted up. The first thing i did was do a md5sum on the downloaded .ISO image and that is fine. Has anybody tried FreeBSD 8.0 i386 200905 DVD and could get it to boot ? Is there something that i'm missing here ? Any pointers are appreciated. thanks Saifi. From perryh at pluto.rain.com Sun May 10 17:13:42 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun May 10 17:13:50 2009 Subject: how to fix "interrupt storm" In-Reply-To: <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> Message-ID: <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> "Paul B. Mahol" wrote: > On 5/9/09, perryh@pluto.rain.com wrote: > > "Paul B. Mahol" wrote: > >> On 5/8/09, perryh@pluto.rain.com wrote: > >> > What, exactly, is an "interrupt storm", and how do I fix it? > > ... > >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> > ad6: FAILURE - SET_MULTI status=51 error=4 > >> > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 > >> > > >> > etc. etc. until I killed it with ^C. (Just entering "q", to cause > >> > more(1) to exit and presumably stop od(1) with a SIGPIPE, did not > >> > stop the spew of messages.) > >> > > >> > What does this indicate? Hardware problems? Bad configuration? > >> > Something else? > >> > >> Output of "vmstat -i"? > > > > $ vmstat -i > > interrupt total rate > > irq0: clk 497386851 1004 > > irq1: atkbd0 2491 0 > > irq3: xl0 2030 0 > > irq6: fdc0 11 0 > > irq7: ppbus0 ppc0 1 0 > > irq8: rtc 63654324 128 > > irq9: uhci0+ 166216 0 > > uhci0 is doing strange things, what usb device are connected? There are no USB devices connected. I think those must actually be atapci1 interrupts, since irq9 is where dmesg reported it. > It could be bad configuration, bug or hardware problem. From frank at shute.org.uk Sun May 10 18:00:27 2009 From: frank at shute.org.uk (Frank Shute) Date: Sun May 10 18:00:40 2009 Subject: 4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE In-Reply-To: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> References: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> Message-ID: <20090510180012.GA87871@melon.esperance-linux.co.uk> On Sun, May 10, 2009 at 05:08:03PM +0800, Chun-fan Ivan Liao wrote: > > OS version: FreeBSD 7.2 RELEASE > apcupsd version: 3.14.5 > UPS model: APC-MGE Back-UPS RS 1000VA (BR1000TW) > UPS cable type: usb > > 3 important lines in /usr/local/etc/apcupsd/apcupsd.conf: > --------- > UPSCABLE usb > UPSTYPE usb > DEVICE > --------- > Other lines are default. I've got an APC SmartUPS 750 (USB on 6.4-RELEASE). When I hacked my apcupsd.conf (sometime ago now), I put in: DEVICE ugen0 I don't know if that's your problem i.e: you haven't specified the DEVICE. > > > Problem Description: > 1. > The APC box cannot be detected when connected to the FreeBSD system on > system boot. (apcupsd_enable="YES" is set in /etc/rc.conf ) > > The associated messages in /var/log/messages: > --------- > May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd FATAL ERROR in > bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed > USB trouble shooting information, please see > . > May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd error shutdown completed > --------- > > 2. > Continuing 1, if I unplug the connecting USB then re-plug it to the > same port, the USB cannot be identified. > > The associated message in /var/log/messages: > --------- > May 10 16:36:17 aura-cosmetics kernel: uhub0: device problem > (TIMEOUT), disabling port 3 > --------- > > 3. > Contiuning 2, changing the port to plug the USB will do, and > /var/log/messages reads: > --------- > May 10 16:41:07 aura-cosmetics root: Unknown USB device: vendor 0x051d > product 0x0002 bus uhub1 > May 10 16:41:08 aura-cosmetics kernel: ugen0: Conversion Back-UPS RS 1000 FW:7.g9a.D USB FW:g9a, class 0/0, rev > 1.10/1.06, addr 2> on uhub1 > --------- > > But when starting the apcupsd now using [apcupsd start], there is no > "freebsd startup succeeded" message appearing in /var/log/messages. > > However using [ps ax| grep apcupsd], there is the following associated > procedure in the standard output: > --------- > 1264? ??? Ss???? 0:00.01 apcupsd start > --------- > > 4. > The last problem continuing 3, if stopping the apcupsd now using > [apcupsd stop], the following error messages occur in > /var/log/messages: > --------- > May 10 16:48:11 aura-cosmetics apcupsd[1270]: Valid lock file for > pid=1264, but not ours pid=1270 > May 10 16:48:11 aura-cosmetics apcupsd[1271]: apcupsd FATAL ERROR in > bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed > USB trouble shooting information, please see > . > May 10 16:48:11 aura-cosmetics apcupsd[1271]: Valid lock file for > pid=1264, but not ours pid=1271 > May 10 16:48:11 aura-cosmetics apcupsd[1271]: apcupsd error shutdown completed > --------- > > Any help will be greatly appreciated. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From mailinglist at modernbiztonsag.org Sun May 10 19:08:38 2009 From: mailinglist at modernbiztonsag.org (mailinglist@modernbiztonsag.org) Date: Sun May 10 19:08:45 2009 Subject: 7.0 -> 7.1 crash every two day Message-ID: <54a3573b09fae93458481c998ad6b538@127.0.0.1> Dear List, I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general purpose server for a small company and it's clients, running web, sql, mail and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was running on it for a year now without any problem. After 30 of April I've upgraded to 7.1 (I've followed the handbook) and since then nearly every two day the machine becomes unreachable except for echorequest. If i try to log in in the terminal it just hangs after i give my password. I'm out of any ideas. Please feel free to ask any more info that I've forgotten to provide. Thank You for your help in advance. Here's the dmesg: 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.1-RELEASE-p5 #2: Fri Apr 24 18:44:13 CEST 2009 root@lildevil.datawlan:/usr/obj/usr/src/sys/FIREWALL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (996.85-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 536854528 (511 MB) avail memory = 511340544 (487 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 0/2 [20070320] acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) unknown: I/O range not supported Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0 pcib0: on acpi0 pci_link0: apparently invalid index 0 pci0: on pcib0 sym0: <1510d> port 0x2000-0x20ff mem 0xc6effc00-0xc6efffff,0xc6efe000-0xc6efefff irq 10 at device 1.0 on pci0 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym0: [ITHREAD] sym1: <1510d> port 0x2400-0x24ff mem 0xc6efdc00-0xc6efdfff,0xc6efc000-0xc6efcfff irq 11 at device 1.1 on pci0 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: [ITHREAD] fxp0: port 0x2800-0x283f mem 0xc6efb000-0xc6efbfff,0xc6d00000-0xc6dfffff irq 15 at device 2.0 on pci0 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:50:8b:ee:d2:d6 fxp0: [ITHREAD] vgapci0: port 0x2c00-0x2cff mem 0xc5000000-0xc5ffffff,0xc6cff000-0xc6cfffff at device 3.0 on pci0 pci0: at device 4.0 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 15.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pcib1: on acpi0 pci3: on pcib1 ida0: port 0x4000-0x40ff mem 0xc6fff000-0xc6ffffff irq 5 at device 3.0 on pci3 ida0: [GIANT-LOCKED] ida0: [ITHREAD] ida0: drives=1 firm_rev=1.22 idad0: on ida0 idad0: 34727MB (71122560 sectors), blocksize=512 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] fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] cpu0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) 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> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 996851056 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle GEOM_LABEL: Label for provider idad0s3 is msdosfs/SYSTEMCFG. Trying to mount root from ufs:/dev/idad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /usr/home was not properly dismounted /usr/home: mount pending error: blocks 48 files 4 WARNING: /usr/home/ftp was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 From onemda at gmail.com Sun May 10 19:47:52 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun May 10 19:48:00 2009 Subject: how to fix "interrupt storm" In-Reply-To: <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> Message-ID: <3a142e750905101247h7f01d6a4obbcbc81d3ae4b7a7@mail.gmail.com> On 5/10/09, perryh@pluto.rain.com wrote: > "Paul B. Mahol" wrote: >> On 5/9/09, perryh@pluto.rain.com wrote: >> > "Paul B. Mahol" wrote: >> >> On 5/8/09, perryh@pluto.rain.com wrote: >> >> > What, exactly, is an "interrupt storm", and how do I fix it? >> > ... >> >> > interrupt storm detected on "irq9:"; throttling interrupt source >> >> > interrupt storm detected on "irq9:"; throttling interrupt source >> >> > interrupt storm detected on "irq9:"; throttling interrupt source >> >> > interrupt storm detected on "irq9:"; throttling interrupt source >> >> > interrupt storm detected on "irq9:"; throttling interrupt source >> >> > ad6: FAILURE - SET_MULTI status=51 >> >> > error=4 >> >> > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 >> >> > >> >> > etc. etc. until I killed it with ^C. (Just entering "q", to cause >> >> > more(1) to exit and presumably stop od(1) with a SIGPIPE, did not >> >> > stop the spew of messages.) >> >> > >> >> > What does this indicate? Hardware problems? Bad configuration? >> >> > Something else? >> >> >> >> Output of "vmstat -i"? >> > >> > $ vmstat -i >> > interrupt total rate >> > irq0: clk 497386851 1004 >> > irq1: atkbd0 2491 0 >> > irq3: xl0 2030 0 >> > irq6: fdc0 11 0 >> > irq7: ppbus0 ppc0 1 0 >> > irq8: rtc 63654324 128 >> > irq9: uhci0+ 166216 0 >> >> uhci0 is doing strange things, what usb device are connected? > > There are no USB devices connected. I think those must actually > be atapci1 interrupts, since irq9 is where dmesg reported it. Try editing /boot/device.hints lines with irq or adding similar lines ... > >> It could be bad configuration, bug or hardware problem. > -- Paul From cwhiteh at onetel.com Sun May 10 19:56:05 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sun May 10 19:56:16 2009 Subject: 7.2-release and xorg In-Reply-To: References: Message-ID: <4A073151.6060904@onetel.com> firak jotawski wrote: > hi sirs, > > apologized me for disturbing the list but i really have problem, X -config /root/xorg.conf.new produce a black screen and die. > > i attached my machine uname -a, my xorg packages installed, X -configure output and its' configuration file. > > any helps anf hints would highly appreciated. > > with best regards, > psr > > _________________________________________________________________ > More than messages?check out the rest of the Windows Live?. > http://www.microsoft.com/windows/windowslive/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html eg # Xorg -config xorg.conf.new Starting with Xorg 7.4 and above, this test produces a black screen which may make it difficult to diagnose whether X11 is working properly. The older behavior is still available by using the retro option: # Xorg -config xorg.conf.new -retro Chris From perryh at pluto.rain.com Sun May 10 21:00:55 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun May 10 21:01:02 2009 Subject: how to fix "interrupt storm" In-Reply-To: <3a142e750905101247h7f01d6a4obbcbc81d3ae4b7a7@mail.gmail.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> <3a142e750905101247h7f01d6a4obbcbc81d3ae4b7a7@mail.gmail.com> Message-ID: <4a073f61.RrxzC7F5VdEWczgd%perryh@pluto.rain.com> "Paul B. Mahol" wrote: > On 5/10/09, perryh@pluto.rain.com wrote: ... > >> >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> >> > interrupt storm detected on "irq9:"; throttling interrupt source > >> >> > ad6: FAILURE - SET_MULTI status=51 > >> >> > error=4 > >> >> > ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=136936 > >> >> > > >> >> > etc. etc. until I killed it with ^C ... > >> >> > >> >> Output of "vmstat -i"? > >> > > >> > $ vmstat -i > >> > interrupt total rate > >> > irq0: clk 497386851 1004 > >> > irq1: atkbd0 2491 0 > >> > irq3: xl0 2030 0 > >> > irq6: fdc0 11 0 > >> > irq7: ppbus0 ppc0 1 0 > >> > irq8: rtc 63654324 128 > >> > irq9: uhci0+ 166216 0 > >> > >> uhci0 is doing strange things, what usb device are connected? > > > > There are no USB devices connected. I think those must actually > > be atapci1 interrupts, since irq9 is where dmesg reported it. > > Try editing /boot/device.hints lines with irq or adding similar > lines ... How would I go about figuring out what to add or change? I suppose I want to move either uhci0 or atapci1 to an unused irq, but my recollection is that I don't have unlimited choice in the matter because the IRQ used by a particular PCI device -- or at least the set available for assignment -- is determined by how the motherboard is wired. Granted it's been several years since I was into PCI at this level. From bbdl21548 at blueyonder.co.uk Sun May 10 22:25:11 2009 From: bbdl21548 at blueyonder.co.uk (Jasvinder S. Bahra) Date: Sun May 10 22:48:36 2009 Subject: cups-base upgrade failure Message-ID: <8CE8C5111A56466A86106CAA7C1881D4@atlantis> Hi, I'm trying to upgrade cups-base on my system, but i'm having some problems. When I try (using portupgrade), i'm presented with the following... ----------8<---------- gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/ppd' Making all in templates... gmake[1]: Entering directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' ===> Installing for cups-client-1.3.10_1 ===> Generating temporary packing list ===> Checking if print/cups-client already installed ===> cups-client-1.3.10_1 is already installed 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 print/cups-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090510-49660-5q2d8w-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.3.9_3 UPGRADE_PORT_VER=1.3.9_3 make reinstall ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 39 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/cups-base (cups-base-1.3.9_3) (install error) ----------8<---------- If I do a "uname -a", I get the following... ----------8<---------- FreeBSD pearl.xxxxxxxxxx.xxx 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #0: Mon Apr 27 19:11:59 BST 2009 jazz@watchtower.xxxxxxxxxx.xxx:/usr/obj/usr/src/sys/WATCHTOWER i386 ----------8<---------- I've looked in /usr/ports/UPDATING, but i'm not seeing anything regarding cups. Anyone have any ideas? Jazz From mbeis at xs4all.nl Sun May 10 23:27:13 2009 From: mbeis at xs4all.nl (Marco Beishuizen) Date: Sun May 10 23:27:20 2009 Subject: GDM users list Message-ID: Hi, When I use GDM for logging in, the only possible users I can choose from are the "logcheck system account" and "other", but not my regular user account. Why is that? Marco -- Only way to open lips of pigeon, sledgehammer. From keramida at ceid.upatras.gr Mon May 11 00:02:36 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon May 11 00:02:42 2009 Subject: GDM users list In-Reply-To: (Marco Beishuizen's message of "Mon, 11 May 2009 01:07:10 +0200 (CEST)") References: Message-ID: <87fxfch5h5.fsf@kobe.laptop> On Mon, 11 May 2009 01:07:10 +0200 (CEST), Marco Beishuizen wrote: > When I use GDM for logging in, the only possible users I can choose > from are the "logcheck system account" and "other", but not my regular > user account. Why is that? FWIW, the gdm user list applet seems to be having a few problems in 8.0-CURRENT too. It is auto-enabled when procfs(5) is mounted at `/proc' but it only shows `other' a few dozen times on my laptop, and clicking on them sometimes crashes gdm. I'm still trying to find out why, but you may find it easier to get help by posting to the freebsd-gnome list. From mbeis at xs4all.nl Mon May 11 00:11:04 2009 From: mbeis at xs4all.nl (Marco Beishuizen) Date: Mon May 11 00:11:12 2009 Subject: GDM users list In-Reply-To: <87fxfch5h5.fsf@kobe.laptop> References: <87fxfch5h5.fsf@kobe.laptop> Message-ID: On Mon, 11 May 2009, Giorgos Keramidas wrote: > FWIW, the gdm user list applet seems to be having a few problems in > 8.0-CURRENT too. > > It is auto-enabled when procfs(5) is mounted at `/proc' but it only > shows `other' a few dozen times on my laptop, and clicking on them > sometimes crashes gdm. I'm still trying to find out why, but you may > find it easier to get help by posting to the freebsd-gnome list. Procfs is mounted at /proc on my system, but I'm not experiencing crashes. I'll send my question to the freebsd-gnome mailing list. Thanks. Marco -- Mustgo, n.: Any item of food that has been sitting in the refrigerator so long it has become a science project. -- Rich Hall & Friends, "Sniglets" From kelly.terry.jones at gmail.com Mon May 11 00:22:41 2009 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Mon May 11 00:22:57 2009 Subject: Reading warnings when installing multiple ports Message-ID: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> I often use "make -DBATCH install" to install ports. Problem: many ports spew out a warning/todo message after you install them (eg, "you must manually create an x user" or something). Since ports install "recursively", I miss most of these messages. Can I tell ports to store these messages for me somewhere? Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll log all the "install", "test", etc commands that I don't want to see: I just want to see the warnings at the end of each install. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From freebsd-questions at k-moeller.dk Mon May 11 00:22:42 2009 From: freebsd-questions at k-moeller.dk (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Mon May 11 00:22:59 2009 Subject: Command-line IRC client In-Reply-To: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> References: <560f92640905071719v22fdc862sa0eb50632df3a96e@mail.gmail.com> Message-ID: <8250ac3f0905101722q11d8c199sbc3065e61c068986@mail.gmail.com> irssi + screen On Fri, May 8, 2009 at 2:19 AM, Nerius Landys wrote: > What is the most recommended IRC client that runs in a terminal? > rtorrent is to bit torrent what ____ is to IRC. > _______________________________________________ > 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" > -- Med Venlig Hilsen Kalle R. M?ller From michel.dicroci at gmail.com Mon May 11 01:41:59 2009 From: michel.dicroci at gmail.com (Michel Di Croci) Date: Mon May 11 01:42:06 2009 Subject: Booting question Message-ID: Hello! When I boot, it takes about 5 mins before being up and running. Since it's my first FreeBSD, I didn't thought there was an issue, but I think there's one ;) I have a P4 2.8 HT which is too bad computer and I really think the issue is in freeBSD and the Giant Locked and stuff like that. The computer stays in a waiting "mode" for about 3 minutes or something like that. It's unbearable, however, since I reboot like once in a month, it's not that bad ;) But I'm still wondering why it's so slow. I have compiled my own kernel, removed driver I don't use but I kept all usb drivers. Like I told you, it's really the USB part that seems to be long to load. It's like it's waiting for a stabilization mode that is never coming. Anyone had that kind of issue? I'm running 7.2 and it's been there since the installation with 7.1. Thanks and have a nice day Michel From glen.j.barber at gmail.com Mon May 11 01:52:35 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon May 11 01:52:42 2009 Subject: Booting question In-Reply-To: References: Message-ID: <4ad871310905101852s413792cdi31a57da3cb6325f8@mail.gmail.com> On Sun, May 10, 2009 at 8:31 PM, Michel Di Croci wrote: > Hello! > > When I boot, it takes about 5 mins before being up and running. Since it's > my first FreeBSD, I didn't thought there was an issue, but I think there's > one ;) > > I have a P4 2.8 HT which is too bad computer and I really think the issue is > in freeBSD and the Giant Locked and stuff like that. The computer stays in a > waiting "mode" for about 3 minutes or something like that. It's unbearable, > however, since I reboot like once in a month, it's not that bad ;) But I'm > still wondering why it's so slow. > > I have compiled my own kernel, removed driver I don't use but I kept all usb > drivers. Like I told you, it's really the USB part that seems to be long to > load. It's like it's waiting for a stabilization mode that is never coming. > > Anyone had that kind of issue? I'm running 7.2 and it's been there since the > installation with 7.1. > Did it hang with GENERIC? If not, do a diff on your config and the GENERIC config, and paste it for us. (On a side note, is your machine's `hostname` in /etc/hosts? I've had a problem with sendmail hanging for some time because the hostname was not resolvable. Just a side-thought.) -- Glen Barber From glen.j.barber at gmail.com Mon May 11 02:03:46 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon May 11 02:03:52 2009 Subject: Booting question In-Reply-To: References: <4ad871310905101852s413792cdi31a57da3cb6325f8@mail.gmail.com> Message-ID: <4ad871310905101903k7911f101ra4940b826a83de63@mail.gmail.com> On Sun, May 10, 2009 at 9:57 PM, Michel Di Croci wrote: >> >> Did it hang with GENERIC? ?If not, do a diff on your config and the >> GENERIC config, and paste it for us. > > If I remember correctly, yes but I don,t remember. Can you tell me if I > don't want to lose my actual kernel, how can I make a new kernel and install > it not as principal one. > This is explained in the handbook and the manual pages. http://www.freebsd.org/doc/en/books/handbook/kernelconfig-trouble.html You want to use 'nextboot' and specify the kernel location. >> >> (On a side note, is your machine's `hostname` in /etc/hosts? ?I've had >> a problem with sendmail hanging for some time because the hostname was >> not resolvable. ?Just a side-thought.) > > Yes it is in. And it's not the sendmail that is slow, it's the detection / > kernel step... not the service steps. > If you're using 7.2 (-RELEASE I assume?) and this has been happening since 7.1, it's not something that has changed recently. I don't recall seeing issues like this on this list (or stable@ for that matter). Perhaps it is a hardware problem, but I've never been good at diagnosing hardware issues. -- Glen Barber From michel.dicroci at gmail.com Mon May 11 02:21:13 2009 From: michel.dicroci at gmail.com (Michel Di Croci) Date: Mon May 11 02:21:20 2009 Subject: Booting question In-Reply-To: <4ad871310905101852s413792cdi31a57da3cb6325f8@mail.gmail.com> References: <4ad871310905101852s413792cdi31a57da3cb6325f8@mail.gmail.com> Message-ID: On Sun, May 10, 2009 at 9:52 PM, Glen Barber wrote: > On Sun, May 10, 2009 at 8:31 PM, Michel Di Croci > wrote: > > Hello! > > > > When I boot, it takes about 5 mins before being up and running. Since > it's > > my first FreeBSD, I didn't thought there was an issue, but I think > there's > > one ;) > > > > I have a P4 2.8 HT which is too bad computer and I really think the issue > is > > in freeBSD and the Giant Locked and stuff like that. The computer stays > in a > > waiting "mode" for about 3 minutes or something like that. It's > unbearable, > > however, since I reboot like once in a month, it's not that bad ;) But > I'm > > still wondering why it's so slow. > > > > I have compiled my own kernel, removed driver I don't use but I kept all > usb > > drivers. Like I told you, it's really the USB part that seems to be long > to > > load. It's like it's waiting for a stabilization mode that is never > coming. > > > > Anyone had that kind of issue? I'm running 7.2 and it's been there since > the > > installation with 7.1. > > > > Did it hang with GENERIC? If not, do a diff on your config and the > GENERIC config, and paste it for us. > If I remember correctly, yes but I don,t remember. Can you tell me if I don't want to lose my actual kernel, how can I make a new kernel and install it not as principal one. > > (On a side note, is your machine's `hostname` in /etc/hosts? I've had > a problem with sendmail hanging for some time because the hostname was > not resolvable. Just a side-thought.) > Yes it is in. And it's not the sendmail that is slow, it's the detection / kernel step... not the service steps. Michel > > -- > Glen Barber > From glen.j.barber at gmail.com Mon May 11 02:35:47 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon May 11 02:35:54 2009 Subject: Reading warnings when installing multiple ports In-Reply-To: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> References: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> Message-ID: <4ad871310905101935s40671484k2712a57e5342ea55@mail.gmail.com> On Sun, May 10, 2009 at 7:49 PM, Kelly Jones wrote: > I often use "make -DBATCH install" to install ports. > > Problem: many ports spew out a warning/todo message after you install > them (eg, "you must manually create an x user" or something). > > Since ports install "recursively", I miss most of these messages. > > Can I tell ports to store these messages for me somewhere? > > Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll > log all the "install", "test", etc commands that I don't want to see: > I just want to see the warnings at the end of each install. > Have a look at: /usr/ports///pkg-message Some ports have the message output in the Makefile instead. -- Glen Barber From saifi.khan at twincling.org Mon May 11 02:36:36 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 02:36:43 2009 Subject: geometry does not match label Message-ID: Hi all: when i try to boot the system using FreeBSD 8.0 i386 200905 bootonly CD, the following line is shown. GEOM: ad4: geometry does not match label (255h,63S != 16h, 63s) i just selected the entire disk and marked it bootable in the fdisk partition editor option. The system has a 160GB SATA HDD with 255 heads, 63 sectors/track, 19457 cylinders Any pointers or suggestions ? thanks Saifi. From terry at sucked-in.com Mon May 11 04:20:26 2009 From: terry at sucked-in.com (Terry Sposato) Date: Mon May 11 04:20:33 2009 Subject: cups-base upgrade failure In-Reply-To: <8CE8C5111A56466A86106CAA7C1881D4@atlantis> References: <8CE8C5111A56466A86106CAA7C1881D4@atlantis> Message-ID: <20090511140459.36541e17zd7r6twg@webmail.tabmow.info> Quoting "Jasvinder S. Bahra" : > Hi, > > I'm trying to upgrade cups-base on my system, but i'm having some problems. > > When I try (using portupgrade), i'm presented with the following... > > ----------8<---------- > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory > `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/ppd' > Making all in templates... > gmake[1]: Entering directory > `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory > `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' > ===> Installing for cups-client-1.3.10_1 > ===> Generating temporary packing list > ===> Checking if print/cups-client already installed > ===> cups-client-1.3.10_1 is already installed > 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 print/cups-client > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /basejail/usr/ports/print/cups-client. > *** Error code 1 > > Stop in /basejail/usr/ports/print/cups-client. > *** Error code 1 > > Stop in /basejail/usr/ports/print/cups-base. > *** Error code 1 > > Stop in /basejail/usr/ports/print/cups-base. > *** Error code 1 > > Stop in /basejail/usr/ports/print/cups-base. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20090510-49660-5q2d8w-0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=cups-base-1.3.9_3 UPGRADE_PORT_VER=1.3.9_3 make reinstall > ---> Restoring the old version > ** Fix the installation problem and try again. > [Updating the pkgdb in /var/db/pkg ... - 39 > packages found (-0 +1) . done] > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! print/cups-base (cups-base-1.3.9_3) (install error) > ----------8<---------- > > If I do a "uname -a", I get the following... > > ----------8<---------- > FreeBSD pearl.xxxxxxxxxx.xxx 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 > #0: Mon Apr 27 19:11:59 BST 2009 > jazz@watchtower.xxxxxxxxxx.xxx:/usr/obj/usr/src/sys/WATCHTOWER i386 > ----------8<---------- > > I've looked in /usr/ports/UPDATING, but i'm not seeing anything > regarding cups. > > Anyone have any ideas? > > > Jazz _______________________________________________ > 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 re-installing cups-client and then upgrading cups-base. I see the same issue when using portmaster, after you re-install the dependency it usually builds/installs fine. Regards, Terry Sposato terry@sucked-in.com Have you been sucked in? http://www.sucked-in.com ------------------------------------------------------------------------------------- This message was sent from the Sucked In Webmail Interface - http://www.sucked-in.com From saifi.khan at twincling.org Mon May 11 05:12:37 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 05:12:44 2009 Subject: Unable to find device node for /dev/ad4s1b in /dev ! Message-ID: Hi all: Issue faced Installer on 'Commit' step shows Unable to find device node for /dev/ad4s1b in /dev! The creation of filesystems will be aborted. System Intel Celeron M 1.6 GHz Intel 945GM board 2GB DDR2 160GB SATA Seagate HDD i'm using FreeBSD 8.0 200905 i386 DVD to try and install the OS. Using the FreeBSD 7.1 DVD, i'm able to make the partition, define the slices and install a 'minimal' distribution set. However with FreeBSD 8.0 200905 snapshot i'm getting the above mentioned error. Any pointers or workarounds ? thanks Saifi. From saifi.khan at twincling.org Mon May 11 05:16:04 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 05:16:11 2009 Subject: howto sidestep sysinstall during installation Message-ID: Hi all: Is there a way to sidestep the sysinstall during the installation process, beyond selecting the 'location' ? i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking for an approach to drive the entire installation from the Fixit# command line console. i'm a experienced Gentoo Linux user. Any suggestions, pointers or observations ? thanks Saifi. From saifi.khan at twincling.org Mon May 11 05:45:00 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 05:45:14 2009 Subject: fdisk: class not found Message-ID: Hi all: Trying to write a partition table using fdisk supplied in the installation DVD of FreeBSD 8.0 i386 200905 snapshot. Should we write new partition table ? [n] y fdisk: Class not found When i again run 'fdisk' it should the old partition table. What exactly does 'Class not found' mean ? There is no mention of the 'Class' in fdisk man page at http://www.freebsd.org/cgi/man.cgi?query=fdisk&sektion=8 Can the experienced BSD guys explain ? thanks Saifi. From m.seaman at infracaninophile.co.uk Mon May 11 05:52:54 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon May 11 05:53:01 2009 Subject: Reading warnings when installing multiple ports In-Reply-To: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> References: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> Message-ID: <4A07BD27.8080805@infracaninophile.co.uk> Kelly Jones wrote: > I often use "make -DBATCH install" to install ports. > > Problem: many ports spew out a warning/todo message after you install > them (eg, "you must manually create an x user" or something). > > Since ports install "recursively", I miss most of these messages. > > Can I tell ports to store these messages for me somewhere? > > Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll > log all the "install", "test", etc commands that I don't want to see: > I just want to see the warnings at the end of each install. portmaster will save up package messages and display them all at the end of the session. I believe a similar feature is planned for portupgrade but as far as I know it hasn't been released yet. In any case, you can redisplay the pkg-message for any installed port by: % pkg_info -Dx portname 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/20090511/f0fe18dc/signature.pgp From doconnor at gsoft.com.au Mon May 11 06:31:28 2009 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Mon May 11 06:31:34 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: References: Message-ID: <200905111545.11696.doconnor@gsoft.com.au> On Mon, 11 May 2009, Saifi Khan wrote: > Is there a way to sidestep the sysinstall during the > installation process, beyond selecting the 'location' ? > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking > for an approach to drive the entire installation from the > Fixit# command line console. > > i'm a experienced Gentoo Linux user. > > Any suggestions, pointers or observations ? You won't be able to partition the disk from the command line because the install MFS doesn't have any of the requisite tools to do so. You could do it from a livefs disk however. As for observations.. I think you're wasting your time :) -- 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/20090511/c0ea4f59/attachment.pgp From saifi.khan at twincling.org Mon May 11 07:31:25 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 07:31:33 2009 Subject: Unable to find device node for /dev/ad4s1b in /dev ! In-Reply-To: <184059.72466.qm@web65505.mail.ac4.yahoo.com> References: <184059.72466.qm@web65505.mail.ac4.yahoo.com> Message-ID: On Sun, 10 May 2009, James Phillips wrote: > > --- On Mon, 5/11/09, Saifi Khan wrote: > > > From: Saifi Khan > > Subject: Unable to find device node for /dev/ad4s1b in /dev ! > > To: freebsd-current@freebsd.org, "FreeBSD Questions" > > Received: Monday, May 11, 2009, 6:45 AM > > Hi all: > > > > Issue faced > > Installer on 'Commit' step shows > > Unable to find device node for /dev/ad4s1b in /dev! > > The creation of filesystems will be aborted. > > I am missing some context, but for me ad4 refers to the first drive on an add-on card. (ad0,1 -> Primary IDE controller, ad2,3 -> Secondary IDE controller) > > handbook reference: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html > (Rule out the situation described in: > 2.6.1 BIOS Drive Numbering) > > Your hardware in newer than mine: you have only one PATA port and 2 SATA ports. While having your drive labeled as ad4 strikes me as weird, I don't have enough BSD experience to know if it is a symptom of a problem or not. (I know my drive is on ad4 because the on-board controllers are slower than my add-on card. After a BIOS update booting is no problem. (I initially tried to forcibly disable the on-board controller: now, I ignore it.)) > > > Do you think you may have come across an installer bug? > If so, I suspect we will need more information about exactly what you were trying to do. > > Regards, > > James Phillips > > > > > System > > Intel Celeron M 1.6 GHz > > Intel 945GM board > Mobile chipset apparently. > > > 2GB DDR2 > > 160GB SATA Seagate HDD > > > > > > > Any pointers or workarounds ? > > > > Thank you for your kind reply. Thank you for the handbook reference, i did read the section. In fact, there is only one SATA HDD in my laptop. PCI information 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01) 08:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) I've got two identical Compaq Presario C300TU laptops - one running Gentoo Linux and other "would" run FreeBSD 8.0 (when it gets) Additionally, from the BIOS i've activated . Wireless Radio (Broadcom chipset) . Native SATA Controller . Realtek Netboot agent There is only ONE SATA Seagate HDD of 160GB in the system. Currently, i'm struggling to get the installation work from the Fixit# command line. Any suggestions ? thanks Saifi. From vince at unsane.co.uk Mon May 11 09:01:30 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon May 11 09:01:51 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: References: Message-ID: <4A07E966.60503@unsane.co.uk> On 11/5/09 11:48, Saifi Khan wrote: > Hi all: > > Is there a way to sidestep the sysinstall during the > installation process, beyond selecting the 'location' ? > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking > for an approach to drive the entire installation from the > Fixit# command line console. > > i'm a experienced Gentoo Linux user. > > Any suggestions, pointers or observations ? > > Since you are using the snapshot DVD you should have the live/fixit environment which is very handy for this. I would suggest a combination of LOTS of reading and understanding of the pages at http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2 (which goes though the steps for partitoning and installing using fdisk and bsdlabel, adjust paths to your dvd-rom) and if you want zfs http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ (goes though using gpart instead of fdisk and bsdlabel if you want to use zfs on root) should be enough to get you started. I assume you dont need too much hand holding since you want to install -CURRENT. Vince > thanks > Saifi. > _______________________________________________ > 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 rlopes at cern.ch Mon May 11 09:37:35 2009 From: rlopes at cern.ch (RAUL H C LOPES) Date: Mon May 11 09:37:42 2009 Subject: Sun E250 Message-ID: <4A07EF76.4040801@cern.ch> Hello, We've got a Sun server E250 with a disk array Storedge A1000. We'd like to have Freebsd running on it. I see from the http://www.freebsd.org/releases/5.0R/hardware-sparc64.html#AEN30 that freebsd runs on E250, but it is not clear for me whether it supports the disk array. Would you know of anyone running FreeBSD on that storage? Thanks, Raul From csergetov at gmail.com Mon May 11 11:19:37 2009 From: csergetov at gmail.com (Renato A. Rocabo) Date: Mon May 11 11:19:46 2009 Subject: Processors Message-ID: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Hi, I'm new with FreeBSD setup. Just want to as if Core 2 Duo processor compatible with FreeBSD. Thanks a lot.......... -- Renato A. Rocabo mobile: 09208095152 email: csergetov@gmail.com ym: carlos_sergetov@yahoo.com skype: rrocabo If you don't write it down, then it never happen.... From on at cs.ait.ac.th Mon May 11 11:29:32 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon May 11 11:29:40 2009 Subject: Processors In-Reply-To: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> (csergetov@gmail.com) References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: <200905111128.n4BBSOhr091963@banyan.cs.ait.ac.th> > I'm new with FreeBSD setup. Just want to as if Core 2 Duo processor > compatible with FreeBSD. yes it is. Olivier From ns at got2get.net Mon May 11 11:56:18 2009 From: ns at got2get.net (Nicolais) Date: Mon May 11 11:56:25 2009 Subject: how to fix "interrupt storm" In-Reply-To: <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> References: <4a04702a.ZaIfHAUzw/YexVK2%perryh@pluto.rain.com> <3a142e750905090746g5324d8ffl1ea10645c0e5f45c@mail.gmail.com> <4a05f963.OI3CMfJ3/j2hbi4D%perryh@pluto.rain.com> <3a142e750905100452s73aa391bjcdc8fea49636ee37@mail.gmail.com> <4a070969.mYZsiV8emLhJVvVg%perryh@pluto.rain.com> Message-ID: <23481884.post@talk.nabble.com> PerryH-2 wrote: > > There are no USB devices connected. I think those must actually > be atapci1 interrupts, since irq9 is where dmesg reported it. > I think this could be related to previous issues on same topic. I don't recall the thread titles, but the solution is located here: http://confighell.com/FreeBSD#How_to_get_rid_of_interrupt_storm_atapci0_and_others_ I hope it can solve things out for you as well. - Nicolai -- View this message in context: http://www.nabble.com/how-to-fix-%22interrupt-storm%22-tp23450486p23481884.html Sent from the freebsd-questions mailing list archive at Nabble.com. From kheuer2 at gwdg.de Mon May 11 12:01:45 2009 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Mon May 11 12:01:52 2009 Subject: 64-Bit Linux Applications Message-ID: <20090511140011.S64769@gwdu60.gwdg.de> Hello, can I run 64 bit Linux applications on FreeBSD/amd64? Or is Linux emulation 32 bit only? Thanks and best regards Konrad Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From socketss at hotmail.com Mon May 11 12:37:01 2009 From: socketss at hotmail.com (firak jotawski) Date: Mon May 11 12:37:09 2009 Subject: 7.2-release and xorg In-Reply-To: <4A073151.6060904@onetel.com> References: <4A073151.6060904@onetel.com> Message-ID: > Date: Sun, 10 May 2009 20:56:01 +0100 > From: cwhiteh@onetel.com > To: socketss@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: 7.2-release and xorg > > firak jotawski wrote: > > hi sirs, > > > > apologized me for disturbing the list but i really have problem, X -config /root/xorg.conf.new produce a black screen and die. > > > > i attached my machine uname -a, my xorg packages installed, X -configure output and its' configuration file. > > > > any helps anf hints would highly appreciated. > > > > with best regards, > > psr > > > > _________________________________________________________________ > > More than messages?check out the rest of the Windows Live?. > > http://www.microsoft.com/windows/windowslive/ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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" > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html > > eg > > # Xorg -config xorg.conf.new > > Starting with Xorg 7.4 and above, this test produces a black screen > which may make it difficult to diagnose whether X11 is working properly. > The older behavior is still available by using the retro option: > > # Xorg -config xorg.conf.new -retro > Thank you for your kind reply. And the links that i have read but i have no lucks in starting X. i have to revert back to 7.3 instead since i need to bring my box up and running for works tomorrow. i will try again by the end of this month anyway. i appreciate all of helps and hints for my case. with best regards, psr > > 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" _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ From jerrymc at msu.edu Mon May 11 12:45:03 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 11 12:45:10 2009 Subject: Reading warnings when installing multiple ports In-Reply-To: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> References: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> Message-ID: <20090511124358.GA20271@gizmo.acns.msu.edu> On Sun, May 10, 2009 at 04:49:27PM -0700, Kelly Jones wrote: > I often use "make -DBATCH install" to install ports. > > Problem: many ports spew out a warning/todo message after you install > them (eg, "you must manually create an x user" or something). > > Since ports install "recursively", I miss most of these messages. > > Can I tell ports to store these messages for me somewhere? > > Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll > log all the "install", "test", etc commands that I don't want to see: > I just want to see the warnings at the end of each install. Check out script(1) It is not perfect, but it will put a copy of everything in and out in to a file that you can peruse later. There may be other ways, but this is easy. ////jerry > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > _______________________________________________ > 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 saifi.khan at twincling.org Mon May 11 12:47:36 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 12:47:49 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <4A07E966.60503@unsane.co.uk> References: <4A07E966.60503@unsane.co.uk> Message-ID: On Mon, 11 May 2009, Vincent Hoffman wrote: > On 11/5/09 11:48, Saifi Khan wrote: > > Hi all: > > > > Is there a way to sidestep the sysinstall during the > > installation process, beyond selecting the 'location' ? > > > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking > > for an approach to drive the entire installation from the > > Fixit# command line console. > > > > i'm a experienced Gentoo Linux user. > > > > Any suggestions, pointers or observations ? > > > > > Since you are using the snapshot DVD you should have the live/fixit > environment which is very handy for this. > I would suggest a combination of LOTS of reading and understanding of > the pages at > http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2 > (which goes though the steps for partitoning and installing using fdisk > and bsdlabel, adjust paths to your dvd-rom) > and if you want zfs > http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ > (goes though using gpart instead of fdisk and bsdlabel if you want to > use zfs on root) > should be enough to get you started. I assume you dont need too much > hand holding since you want to install -CURRENT. > > > Vince > Vince, thanks for the freebsd-on-usb link. i really appreciate your help. "Unknown giant" i still wonder why a snapshot should have a dysfunctional installer ? stable slice and partition support is key to trying or helping or contributing towards testing/coding for an evolving "unknown giant". Oh well :) Check this out http://www.twincling.org/node/237 If you scan this page for a minute, you will appreciate the overall flow of installation of Gentoo Linux. Even if you haven't tried the weekly Gentoo build, you may be encouraged to try this out ! Putting out a monthly snapshot is nice and if the people are going to not find info about 'Fixit#' and commands in the legendary handbook, that is not very helpful. thanks Saifi. the time has come ... 1227. From jerrymc at msu.edu Mon May 11 13:05:10 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 11 13:05:17 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <200905111545.11696.doconnor@gsoft.com.au> References: <200905111545.11696.doconnor@gsoft.com.au> Message-ID: <20090511130405.GB20271@gizmo.acns.msu.edu> On Mon, May 11, 2009 at 03:45:03PM +0930, Daniel O'Connor wrote: > On Mon, 11 May 2009, Saifi Khan wrote: > > Is there a way to sidestep the sysinstall during the > > installation process, beyond selecting the 'location' ? > > > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking > > for an approach to drive the entire installation from the > > Fixit# command line console. > > > > i'm a experienced Gentoo Linux user. > > > > Any suggestions, pointers or observations ? > > You won't be able to partition the disk from the command line because > the install MFS doesn't have any of the requisite tools to do so. ??????? I don't understand this comment. Recreating a disk - slice/parttion/newfs - is one of the main things to do under a fixit. You should have fdisk, bsdlabel and newfs there as well as restore for sucking dumps back in. The only thing to remember is that the running writable root file system under fixit is in memory. You have to make sure that what you do is to the disk and that the fstab you create is on the disk. It is easy to lose track and make an /etc/fstab modification or a mount point in the MFS and then find it is no longer there when you reboot. But, you just have to pay attention to where you are doing things. ////jerry > > You could do it from a livefs disk however. > > As for observations.. I think you're wasting your time :) > > -- > 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 From jerrymc at msu.edu Mon May 11 13:22:28 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 11 13:22:38 2009 Subject: Reading warnings when installing multiple ports In-Reply-To: <4A07BD27.8080805@infracaninophile.co.uk> References: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com> <4A07BD27.8080805@infracaninophile.co.uk> Message-ID: <20090511132124.GD20271@gizmo.acns.msu.edu> On Mon, May 11, 2009 at 06:52:39AM +0100, Matthew Seaman wrote: > Kelly Jones wrote: > >I often use "make -DBATCH install" to install ports. > > > >Problem: many ports spew out a warning/todo message after you install > >them (eg, "you must manually create an x user" or something). > > > >Since ports install "recursively", I miss most of these messages. > > > >Can I tell ports to store these messages for me somewhere? > > > >Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll > >log all the "install", "test", etc commands that I don't want to see: > >I just want to see the warnings at the end of each install. > > > portmaster will save up package messages and display them all at the > end of the session. I believe a similar feature is planned for portupgrade > but as far as I know it hasn't been released yet. > > In any case, you can redisplay the pkg-message for any installed port > by: > > % pkg_info -Dx portname > > Cheers, > > Matthew > This is handy and seems to work. But, I very often wish there was a convenient way to see some of those messages and especially messages about things one has to do during the install, such as manually installing something or getting some license thing handled, before I start the port install. Sometimes I get a question in the middle of an install that I do not know how to answer and it is an awfully inconvenient time to have to start scrounging for information. Having a commannd that would display all those things and maybe some related information or pointers to information for making an intelligent response - before starting the make - would be very helpful. ////jerry > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > From andrewlylegould at gmail.com Mon May 11 13:23:45 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Mon May 11 13:23:52 2009 Subject: Processors In-Reply-To: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: On Mon, May 11, 2009 at 5:48 AM, Renato A. Rocabo wrote: > Hi, > > I'm new with FreeBSD setup. Just want to as if Core 2 Duo processor > compatible with FreeBSD. > > Thanks a lot.......... > > -- > Renato A. Rocabo > mobile: 09208095152 > email: csergetov@gmail.com > ym: carlos_sergetov@yahoo.com > skype: rrocabo > Welcome to FreeBSD. Since you're new, it's likely that you'll have many such questions regarding hardware compatibility. The link below will take you to the hardware notes for the most recent release (7.2): http://www.freebsd.org/releases/7.2R/hardware.html Best of luck, Andrew From doconnor at gsoft.com.au Mon May 11 13:47:35 2009 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Mon May 11 13:47:48 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <20090511130405.GB20271@gizmo.acns.msu.edu> References: <200905111545.11696.doconnor@gsoft.com.au> <20090511130405.GB20271@gizmo.acns.msu.edu> Message-ID: <200905112317.17225.doconnor@gsoft.com.au> On Mon, 11 May 2009, Jerry McAllister wrote: > On Mon, May 11, 2009 at 03:45:03PM +0930, Daniel O'Connor wrote: > > On Mon, 11 May 2009, Saifi Khan wrote: > > > Is there a way to sidestep the sysinstall during the > > > installation process, beyond selecting the 'location' ? > > > > > > i'm using FreeBSD 8.0 200905 i386 snapshot DVD and looking > > > for an approach to drive the entire installation from the > > > Fixit# command line console. > > > > > > i'm a experienced Gentoo Linux user. > > > > > > Any suggestions, pointers or observations ? > > > > You won't be able to partition the disk from the command line > > because the install MFS doesn't have any of the requisite tools to > > do so. > > ??????? I don't understand this comment. > Recreating a disk - slice/parttion/newfs - is one of the main things > to do under a fixit. You should have fdisk, bsdlabel and newfs > there as well as restore for sucking dumps back in. Depends what sort of fixit you have. A holographic shell won't have it, but the others will. It's pretty easy to do a minimal install on your new disk and then go into the fixit shell, then you will have the full suite of tools (although if you're doing a full restore you should use the /rescue version or odd things will happen when you overwrite the binary you're using). -- 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/20090511/efa1a0a1/attachment.pgp From ricardo.souza at cmtsp.com.br Mon May 11 13:57:18 2009 From: ricardo.souza at cmtsp.com.br (Ricardo Augusto de Souza) Date: Mon May 11 13:57:27 2009 Subject: Cant setup carp as BACKUP Message-ID: Hi, i have 2 servers running FreeBSD 7.1 on IBM 3550. I configured 2 carp: internal and external carps. Internal carp is working fine, but external one are MASTER on both servers. Trinity# cat rc.conf|grep carp cloned_interfaces="carp0 carp1" ifconfig_carp1="up 10.100.0.119/24 vhid 2 pass fw_cmt123" ifconfig_carp2="up 200.143.111.113/28 vhid 1 pass fw_cmt123" # carp1: flags=49 metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: MASTER vhid 2 advbase 1 advskew 0 ng1: flags=88d1 metric 0 mtu 1460 inet 172.16.0.1 --> 172.16.0.2 netmask 0xffffffff carp2: flags=49 metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 0 Ajax# cat rc.conf |grep carp cloned_interfaces="carp0 carp1" #ifconfig_carp0="up 200.143.111.113/28 vhid 1 advskew 100 pass fw_cmt123" ifconfig_carp2="vhid 1 advskew 100 pass fw_cmt123 200.143.111.113/28" ifconfig_carp1="up 10.100.0.119/24 vhid 2 advskew 100 pass fw_cmt123" Ajax# carp1: flags=49 metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: BACKUP vhid 2 advbase 1 advskew 100 carp2: flags=49 metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 100 Ajax# How do i set carp2 on Ajax to be BACKUP? AT this configuration, most packets to 200.143.111.113 are going to Trinity and some going to Ajax. Thanks From doconnor at gsoft.com.au Mon May 11 14:04:09 2009 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Mon May 11 14:04:21 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: References: <4A07E966.60503@unsane.co.uk> Message-ID: <200905112334.03387.doconnor@gsoft.com.au> On Tue, 12 May 2009, Saifi Khan wrote: > "Unknown giant" > i still wonder why a snapshot should have a dysfunctional installer ? > > stable slice and partition support is key to trying or helping > or contributing towards testing/coding for an evolving "unknown > giant". Oh well :) I think you're missing the point of a -current snapshot. It is _not_ designed for someone to come along and go "hey I'd like to get into developing FreeBSD, I'll install it". It is there as a "system test" (ie make sure make release works) and to provide a handy ISO for gurus if they need to bootstrap something. The fact the installer is broken should be reported as a bug though (ie send-pr). > Check this out > http://www.twincling.org/node/237 > > If you scan this page for a minute, you will appreciate the > overall flow of installation of Gentoo Linux. Even if you > haven't tried the weekly Gentoo build, you may be encouraged to > try this out ! > > Putting out a monthly snapshot is nice and if the people are > going to not find info about 'Fixit#' and commands in the > legendary handbook, that is not very helpful. FreeBSD doesn't work this way, you are trying to fit FreeBSD into your Gentoo way of thinking. Obviously this causes pain, please stop. If you want to try FreeBSD, start with a release, if that works then you can update to HEAD and install that way. -- 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/20090511/af366f8c/attachment.pgp From saifi.khan at twincling.org Mon May 11 14:06:05 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 14:06:13 2009 Subject: single SATA disk and yet identified as 'ad4' Message-ID: Hi all: The system has just one SATA disk and yet bootloader process identified it as 'ad4'. Ideally, it should be ad1. Here is the PCI information 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01) 08:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) How does the labelling logic work ? thanks Saifi. From seklecki at noc.cfi.pgh.pa.us Mon May 11 14:07:53 2009 From: seklecki at noc.cfi.pgh.pa.us (Brian A. Seklecki) Date: Mon May 11 14:08:00 2009 Subject: Sun E250 In-Reply-To: <4A07EF76.4040801@cern.ch> References: <4A07EF76.4040801@cern.ch> Message-ID: <1242050567.2053.225.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Mon, 2009-05-11 at 10:27 +0100, RAUL H C LOPES wrote: > Hello, > > We've got a Sun server E250 with a disk array Storedge A1000. We'd like > to Try a LiveCD on it? Also, does the Storedge A1000 require a special RAID controller or does it appear on the onboard HBA as a logical volume? In my experience, Sun has a limited set of RAID cards, but most RAIDs are DAS with a management interface (Ethernet mostly) ~BAS From saifi.khan at twincling.org Mon May 11 14:12:39 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 14:12:46 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <200905112334.03387.doconnor@gsoft.com.au> References: <4A07E966.60503@unsane.co.uk> <200905112334.03387.doconnor@gsoft.com.au> Message-ID: On Mon, 11 May 2009, Daniel O'Connor wrote: > > > > Putting out a monthly snapshot is nice and if the people are > > going to not find info about 'Fixit#' and commands in the > > legendary handbook, that is not very helpful. > > FreeBSD doesn't work this way, you are trying to fit FreeBSD into your > Gentoo way of thinking. Obviously this causes pain, please stop. > i'll be highly obliged, if you could share some nuggets of wisdom on 'the FreeBSD way' ! Please. thanks Saifi. From dkarapet at nd.edu Mon May 11 14:15:22 2009 From: dkarapet at nd.edu (David Karapetyan) Date: Mon May 11 14:15:30 2009 Subject: Unable to compile Hal Message-ID: <20090511135956.GA12125@vagrant> I am currently running FBSD RELEASE-7.2. I have updated the system using freebsd-update, ran portsnap fetch update to update all ports, and then ran portupgrade to upgrade all installed ports to their current versions. Yet, I am unable to compile hal; I get an error message "/usr/local/lib/libpolkit.so: undefined reference to 'strndup@FBSD_1.1'". Any suggestions would be welcome. -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579 From j.mckeown at ru.ac.za Mon May 11 14:30:26 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Mon May 11 14:30:34 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: References: Message-ID: <200905111630.23123.j.mckeown@ru.ac.za> On Monday 11 May 2009 21:38:50 Saifi Khan wrote: > Hi all: > > The system has just one SATA disk and yet bootloader process > identified it as 'ad4'. Ideally, it should be ad1. [snip] > How does the labelling logic work ? FreeBSD reserves numbers for devices that aren't currently connected, so that if you connect them later your existing devices don't need to be renumbered. Your BIOS is reporting two IDE interfaces, each of which could have a master and slave disk drive, so ad0-3 are reserved for those four drives, meaning SATA starts at ad4. Some BIOSes let you change this. Jonathan From stefan.lambrev at moneybookers.com Mon May 11 14:37:09 2009 From: stefan.lambrev at moneybookers.com (Stefan Lambrev) Date: Mon May 11 14:37:21 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: References: Message-ID: <65FA500B-0FDC-4C75-95B9-2B99C6117DBF@moneybookers.com> You may want to become familiar with: # # The following options are valid on the ATA driver: # # ATA_STATIC_ID: controller numbering is static ie depends on location # else the device numbers are dynamically allocated. options ATA_STATIC_ID Long time ago FreeBSD people decided that it's very annoying when you plug ata CD or another HDD and then your ad1 (which is ad4) becomes ad2, and makes your OS un- bootable without manual intervention. Today we have geom labels, but still ATA_STATIC_ID is something I really miss on every linux .. P.S. -current removed. On May 11, 2009, at 10:38 PM, Saifi Khan wrote: > Hi all: > > The system has just one SATA disk and yet bootloader process > identified it as 'ad4'. Ideally, it should be ad1. > > Here is the PCI information > > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, > 943/940GML and 945GT Express Memory Controller Hub (rev 03) > 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/ > GMS, 943/940GML Express Integrated Graphics Controller (rev 03) > 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, > 943/940GML Express Integrated Graphics Controller (rev 03) > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High > Definition Audio Controller (rev 01) > 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI > Express Port 1 (rev 01) > 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI > Express Port 3 (rev 01) > 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB > UHCI Controller #1 (rev 01) > 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB > UHCI Controller #2 (rev 01) > 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB > UHCI Controller #3 (rev 01) > 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 > EHCI Controller (rev 01) > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) > 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC > Interface Bridge (rev 01) > 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE > Controller (rev 01) > 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 > Family) SATA AHCI Controller (rev 01) > 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus > Controller (rev 01) > 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan > mini-PCI (rev 01) > 08:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. > RTL-8139/8139C/8139C+ (rev 10) > > How does the labelling logic work ? > > > thanks > Saifi. > _______________________________________________ > 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 > " -- Best Wishes, Stefan Lambrev ICQ# 24134177 From ertr1013 at student.uu.se Mon May 11 14:38:03 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Mon May 11 14:38:11 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: <200905111630.23123.j.mckeown@ru.ac.za> References: <200905111630.23123.j.mckeown@ru.ac.za> Message-ID: <20090511143719.GA15035@owl.midgard.homeip.net> On Mon, May 11, 2009 at 04:30:23PM +0200, Jonathan McKeown wrote: > On Monday 11 May 2009 21:38:50 Saifi Khan wrote: > > Hi all: > > > > The system has just one SATA disk and yet bootloader process > > identified it as 'ad4'. Ideally, it should be ad1. > [snip] > > How does the labelling logic work ? > > FreeBSD reserves numbers for devices that aren't currently connected, so that > if you connect them later your existing devices don't need to be renumbered. It does this if you have 'options ATA_STATIC_ID' in your kernel config (which is the default.) Otherwise all PATA/SATA disks installed will numbered from ad0 upwards without any gaps. The drawback of that is that without the static numbering the disk devices can (and often will) be renumbered if you add or remove a disk, which often is not desirable. > > Your BIOS is reporting two IDE interfaces, each of which could have a master > and slave disk drive, so ad0-3 are reserved for those four drives, meaning > SATA starts at ad4. > > Some BIOSes let you change this. > > Jonathan -- Erik Trulsson ertr1013@student.uu.se From perrin at apotheon.com Mon May 11 14:42:21 2009 From: perrin at apotheon.com (Chad Perrin) Date: Mon May 11 14:42:28 2009 Subject: Licensing In-Reply-To: <4A058988.8080808@ibctech.ca> References: <4A03BE9F.5050906@ibctech.ca> <20090508180532.GA69045@kokopelli.hydra> <4A058988.8080808@ibctech.ca> Message-ID: <20090511143758.GB11330@kokopelli.hydra> On Sat, May 09, 2009 at 09:47:52AM -0400, Steve Bertrand wrote: > > One thing that did not cross my mind prior was regarding the comments > Chad made, use in media other than within the programming scope itself. I think that's an important consideration that most programmers overlook. One of the greatest benefits of open source software is the availability of the code for viewing by people who want to *learn*. To use licenses that make it difficult to include code in a single instructional work distributed under the terms of a single license seems extremely short-sighted to me. Even if you don't think your code will ever be used in such a way, code that *incorporates* yours may some day be suitable for such a purpose, and it would be nice if the license you choose lends itself to such use in the future. > > FYI, almost all of my apps are for systems/network management and > automation. I've written an application that bridges our wireless > hotspots to our payment bank site (the bank supplied me a Perl module), > through to radius, and with an expiry method to automatically remove the > users so that the entire process is hands off. The bank's Perl module may well impose constraints on how you can license your code, in addition to any restrictions that may exist as a result of employment agreements and contracts, at least if the module ends up being part of, or a source of necessary functionality for, your code. > > Most of my code would have to be changed to make it generic and not so > site specific before being put out there. Being that I'm not really a > programmer, having my code out there for peer review would make it much, > much better if it was useful. (I'd probably be on the receiving end of > finger pointing and laughing, but that's ok ;) That's a great attitude. I wish you the best of luck in coming to an equitable and satisfying decision about licensing, and in future coding efforts. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Mike Maples, as quoted by James Gleick: "My job is to get a fair share of the software applications market, and to me that's 100 percent." -------------- 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/20090511/c2904487/attachment.pgp From spawk at acm.poly.edu Mon May 11 14:44:51 2009 From: spawk at acm.poly.edu (Boris Kochergin) Date: Mon May 11 14:45:00 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: References: Message-ID: <4A083356.6020100@acm.poly.edu> By default, ATA disks are assigned numbers based on the ATA controller they are on, and whether they are primary or secondary on the controller. For example, the primary disk on the first controller would be ad0, the secondary disk on the first controller would be ad1, the primary disk on the second controller would be ad2, etc. This is the ATA_STATIC_ID kernel option. I expect that there are two ATA controllers before the one your disk is on. You may confirm this by running "atacontrol list". -Boris Saifi Khan wrote: > Hi all: > > The system has just one SATA disk and yet bootloader process > identified it as 'ad4'. Ideally, it should be ad1. > > Here is the PCI information > > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) > 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) > 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) > 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) > 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) > 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) > 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) > 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) > 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) > 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) > 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) > 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01) > 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) > 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01) > 08:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) > > How does the labelling logic work ? > > > thanks > Saifi. > _______________________________________________ > 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 jamesoff at gmail.com Mon May 11 14:56:15 2009 From: jamesoff at gmail.com (James Seward) Date: Mon May 11 14:56:22 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: <200905111630.23123.j.mckeown@ru.ac.za> References: <200905111630.23123.j.mckeown@ru.ac.za> Message-ID: <720051dc0905110734h387d39cbm9ff969336fe9d0fa@mail.gmail.com> On Mon, May 11, 2009 at 3:30 PM, Jonathan McKeown wrote: > Your BIOS is reporting two IDE interfaces, each of which could have a master > and slave disk drive, so ad0-3 are reserved for those four drives, meaning > SATA starts at ad4. > > Some BIOSes let you change this. Or you can take "option ATA_STATIC_ID" out of your kernel config. /JMS From rlopes at cern.ch Mon May 11 15:19:20 2009 From: rlopes at cern.ch (RAUL H C LOPES) Date: Mon May 11 15:19:27 2009 Subject: Sun E250 In-Reply-To: <1242050567.2053.225.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <4A07EF76.4040801@cern.ch> <1242050567.2053.225.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <4A0841FD.6070502@cern.ch> Brian A. Seklecki wrote: > On Mon, 2009-05-11 at 10:27 +0100, RAUL H C LOPES wrote: > >> Hello, >> >> We've got a Sun server E250 with a disk array Storedge A1000. We'd like >> to >> > > Try a LiveCD on it? Also, does the Storedge A1000 require a special > RAID controller or does it appear on the onboard HBA as a logical > volume? > > In my experience, Sun has a limited set of RAID cards, but most RAIDs > are DAS with a management interface (Ethernet mostly) > > ~BAS > > Hi, Thanks for your reply. No. the A1000 does not require any special RAID controller. Freebsd 7.2 is freezing after message: Jumping to kernel entry at 0xc0078000 I tried boot both with "bootonly" and "install" CDs. raul From saifi.khan at twincling.org Mon May 11 15:55:02 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Mon May 11 15:55:08 2009 Subject: boot0 installation not permitted in single slice config Message-ID: Hi all: Trying to install the 'boot0' boot manager on the MBR, from the Fixit# command prompt as Fixit# boot0cfg -v -B -o noupdate /dev/ad4 the response is: boot0cfg: write_mbr: /dev/ad4: Operation not permitted. i've configured a single slice for the entire disk as Fixit# fdisk -B -I /dev/ad4 Is it that by default the sector 0 is taken as the start point if the entire disk is configured with a single slice ? thanks Saifi. From ricardo.souza at cmtsp.com.br Mon May 11 15:58:37 2009 From: ricardo.souza at cmtsp.com.br (Ricardo Augusto de Souza) Date: Mon May 11 15:58:44 2009 Subject: RES: Cant setup carp as BACKUP In-Reply-To: References: Message-ID: Anyone know how do i 'force' a carp to be backup? I set a advskew higher than the master but it comes up as master. ;( -----Mensagem original----- De: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] Em nome de Ricardo Augusto de Souza Enviada em: segunda-feira, 11 de maio de 2009 10:46 Para: freebsd-questions@freebsd.org Assunto: Cant setup carp as BACKUP Hi, i have 2 servers running FreeBSD 7.1 on IBM 3550. I configured 2 carp: internal and external carps. Internal carp is working fine, but external one are MASTER on both servers. Trinity# cat rc.conf|grep carp cloned_interfaces="carp0 carp1" ifconfig_carp1="up 10.100.0.119/24 vhid 2 pass fw_cmt123" ifconfig_carp2="up 200.143.111.113/28 vhid 1 pass fw_cmt123" # carp1: flags=49 metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: MASTER vhid 2 advbase 1 advskew 0 ng1: flags=88d1 metric 0 mtu 1460 inet 172.16.0.1 --> 172.16.0.2 netmask 0xffffffff carp2: flags=49 metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 0 Ajax# cat rc.conf |grep carp cloned_interfaces="carp0 carp1" #ifconfig_carp0="up 200.143.111.113/28 vhid 1 advskew 100 pass fw_cmt123" ifconfig_carp2="vhid 1 advskew 100 pass fw_cmt123 200.143.111.113/28" ifconfig_carp1="up 10.100.0.119/24 vhid 2 advskew 100 pass fw_cmt123" Ajax# carp1: flags=49 metric 0 mtu 1500 inet 10.100.0.119 netmask 0xffffff00 carp: BACKUP vhid 2 advbase 1 advskew 100 carp2: flags=49 metric 0 mtu 1500 inet 200.143.111.113 netmask 0xfffffff0 carp: MASTER vhid 1 advbase 1 advskew 100 Ajax# How do i set carp2 on Ajax to be BACKUP? AT this configuration, most packets to 200.143.111.113 are going to Trinity and some going to Ajax. Thanks _______________________________________________ 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 mister.olli at googlemail.com Mon May 11 16:17:01 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Mon May 11 16:17:14 2009 Subject: Assign IP address and hostname via kernel parameter In-Reply-To: <57A9FCBA-CBCB-45D2-9B95-5E5DBC0DB964@gid.co.uk> References: <1241623255.12407.6.camel@phoenix.blechhirn.net> <57A9FCBA-CBCB-45D2-9B95-5E5DBC0DB964@gid.co.uk> Message-ID: <1242058599.25870.26.camel@phoenix.blechhirn.net> Hi, I had a short look on google for this parameters, and from my understanding the NFS diskless client is using the informations out of it to set the appropriate settings on the network interface. So no luck when supplying them as kernel parameters. Oh and btw I'm not sure how to setup kernel options. Normally this is done in 'loader.conf', but since para-virtualized xen does start the kernel directly there's no way to do this via loader.conf. Does anyone have some idea or hints how to solve this problem? Regards, --- Mr. Olli On Wed, 2009-05-06 at 17:52 +0100, Bob Bishop wrote: > Hi, > > On 6 May 2009, at 16:20, Mister Olli wrote: > > > is there a way to configure IP address and hostname on freebsd systems > > via kernel command line parameters? [etc] > > When running diskless, the loader sets kernel variables like: > > boot.netif.gateway="192.168.198.1" > boot.netif.hwaddr="00:15:17:47:14:fc" > boot.netif.ip="192.168.198.8" > boot.netif.netmask="255.255.255.0" > > to values obtained from BOOTP or DHCP, and the right things happen. I > guess you could just set these in loader.conf or at the loader prompt. > > -- > Bob Bishop > rb@gid.co.uk > > > > From jerrymc at msu.edu Mon May 11 16:52:44 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 11 16:52:51 2009 Subject: boot0 installation not permitted in single slice config In-Reply-To: References: Message-ID: <20090511165130.GA32142@gizmo.acns.msu.edu> On Mon, May 11, 2009 at 09:27:34PM +0000, Saifi Khan wrote: > Hi all: > > Trying to install the 'boot0' boot manager on the MBR, from the > Fixit# command prompt as > > Fixit# boot0cfg -v -B -o noupdate /dev/ad4 > > the response is: > boot0cfg: write_mbr: /dev/ad4: Operation not permitted. > > i've configured a single slice for the entire disk as > Fixit# fdisk -B -I /dev/ad4 > > Is it that by default the sector 0 is taken as the start point > if the entire disk is configured with a single slice ? Use fdisk. fdisk -B ad4 The fdisk commane you indicate does all you need. eg: fdisk -B -I ad4 does what you want and you do not need the boot0cfg ////jerry > > > thanks > Saifi. > _______________________________________________ > 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 website at betflip.com Mon May 11 17:01:37 2009 From: website at betflip.com (Peter Jackson) Date: Mon May 11 17:01:45 2009 Subject: Possible Link? Message-ID: <5D34911863834FEE95D195FD756287DD@twean.com> Hi, I was wondering whether you would like to link to my site http://www.betflip.com from your page? http://www.opennet.ru/docs/handbook/hw-configs.html We provide the latest information about free bets and bonuses from UK Bookmakers, and think it would be a useful resource for your readers. Thank you for your consideration. Kind Regards, Peter http://www.betflip.com From jochen at daten-chaos.de Mon May 11 17:22:31 2009 From: jochen at daten-chaos.de (Jochen Neumeister) Date: Mon May 11 17:22:42 2009 Subject: Sun E250 In-Reply-To: <4A0841FD.6070502@cern.ch> References: <4A07EF76.4040801@cern.ch> <1242050567.2053.225.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <4A0841FD.6070502@cern.ch> Message-ID: <20090511192220.7fb70c80@donald.home.jochen-neumeister.de> On Mon, 11 May 2009 16:19:25 +0100 RAUL H C LOPES wrote: > Brian A. Seklecki wrote: > > On Mon, 2009-05-11 at 10:27 +0100, RAUL H C LOPES wrote: > > > >> Hello, > >> > >> We've got a Sun server E250 with a disk array Storedge A1000. We'd > >> like to > >> > > > > Try a LiveCD on it? Also, does the Storedge A1000 require a special > > RAID controller or does it appear on the onboard HBA as a logical > > volume? > > > > In my experience, Sun has a limited set of RAID cards, but most > > RAIDs are DAS with a management interface (Ethernet mostly) > > > > ~BAS > > > > > Hi, > > Thanks for your reply. > > No. the A1000 does not require any special RAID controller. > > Freebsd 7.2 is freezing after message: > Jumping to kernel entry at 0xc0078000 > The same to me. I have a Sun Enterprise 250 to, and on the same place it freeze to. I test it with FreeBSD 6.2, 7.1, 7.2 and 8 current (all sparc64) Here the output from a FreeBSD 7.1 sparc64 boot: Rebooting with command: boot cdrom Boot devices: /pc@1f,4000/scsi@3/disk@6,0:f File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,4000/scsi@3/disk@6,0:a Boot loader: /boot/loader Consoles: Open Firmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@obrian.cse.buffalo.edu, Thu Jan 1 08:47:00 UTC 2009) bootpath="/pci@1f,4000/scsi@3/disk@6,0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x739b48+0x74b38 syms=[0x8+0x7d058+0x8+0x6bd34] / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... jumping to kernel entry at 0xc007000. No RAID controller in the SUN too. > > I tried boot both with "bootonly" and "install" CDs. > > raul > > _______________________________________________ > 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 gahr at FreeBSD.org Mon May 11 17:37:05 2009 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Mon May 11 17:37:12 2009 Subject: fdisk: class not found In-Reply-To: References: Message-ID: <4A0861D9.4050308@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Saifi Khan wrote: | Hi all: Hi Saifi, | Trying to write a partition table using fdisk supplied in the | installation DVD of FreeBSD 8.0 i386 200905 snapshot. | | Should we write new partition table ? [n] y | fdisk: Class not found | | When i again run 'fdisk' it should the old partition table. | | What exactly does 'Class not found' mean ? This comes from geom. See geom(8). | | There is no mention of the 'Class' in fdisk man page at | http://www.freebsd.org/cgi/man.cgi?query=fdisk&sektion=8 | | Can the experienced BSD guys explain ? | | | thanks | Saifi. - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp +-----------------+ | How do you get | |that backwards b?| +-----------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEAREKAAYFAkoIYdgACgkQwMJqmJVx947R0QCcDrLUjkU+z/shQQtmPzGGVJFN nF8AnA1m/emOWiq7v1jKypLyOZYWNJHj =bIVF -----END PGP SIGNATURE----- pi From monya3 at asiamail.co.kr Mon May 11 18:32:42 2009 From: monya3 at asiamail.co.kr (monya3@asiamail.co.kr) Date: Mon May 11 18:32:50 2009 Subject: Appointment Invitation - YOU HAVE WIN $450,000.00 DOLLARS. Message-ID: <20090511173206.26287.qmail@cal5-1.us4.outblaze.com> You're invited to the following event: Event Information ================== Organizer: monya3@asiamail.co.kr Title: YOU HAVE WIN $450,000.00 DOLLARS. Details: You have won sum of $450,000.00 organized by Yahoo mail that gives members random 3rd quarter year cash prizes and your email address is randomly selected as the one of 12 top winners accounts who will get cash prizes from us.FOUR HUNDRED AND FIFTY THOUSAND UNITED STATES DOLLARS. (US$450,000.00) for the month of May 2009 lottery promotion which is organized by Yahoo mail. Please contact us for the full details. (yahoo_lottery2009@libero.it) Congratulations!!! Date/Time: May/12/2009 12:00am GMT+8 Duration: 1 hour(s) 0 minute(s) Will you attend? Reply to this invitation at: http://cal01.asiamail.com/scripts/cal2/cal_redirect.cgi?uri=1&ereq=b04fb4272c9bf636b9f9b0d8ccddde5283b815785530bba47fe179e01b32559cd60d946bf37356a6394e3bbdf70ac5be8ba12202071eb157409d6cfd7c0857e8dd52ccccd8159b4a7ce582708c29f4be9242da5ed2a08ffaf0a2813f48f598d0dea8037f15ad8df2be8d5ad9949ccb48f931a86909a0cd527a4be08968e620e7194585d032cc2a16d0b4eee906f6f74bdd52ccccd8159b4a7ce582708c29f4beb616ccd01e943412f5383cf185ac0609990d111527312688 From mail at ozzmosis.com Mon May 11 19:07:04 2009 From: mail at ozzmosis.com (andrew clarke) Date: Mon May 11 19:07:12 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <200905112317.17225.doconnor@gsoft.com.au> References: <200905111545.11696.doconnor@gsoft.com.au> <20090511130405.GB20271@gizmo.acns.msu.edu> <200905112317.17225.doconnor@gsoft.com.au> Message-ID: <20090511190700.GB9749@ozzmosis.com> On Mon 2009-05-11 23:17:09 UTC+0930, Daniel O'Connor (doconnor@gsoft.com.au) wrote: > > Recreating a disk - slice/parttion/newfs - is one of the main things > > to do under a fixit. You should have fdisk, bsdlabel and newfs > > there as well as restore for sucking dumps back in. > > Depends what sort of fixit you have. > A holographic shell won't have it, but the others will. That reminds me... Can someone explain to me why it's called a "holographic shell"? From freebsd at optiksecurite.com Mon May 11 19:19:40 2009 From: freebsd at optiksecurite.com (Martin Turgeon) Date: Mon May 11 19:19:47 2009 Subject: Advices for a jailed MySQL server In-Reply-To: <20090506150933.d0ef0178.wmoran@potentialtech.com> References: <4A01DBCE.9070304@optiksecurite.com> <20090506150933.d0ef0178.wmoran@potentialtech.com> Message-ID: <4A087A57.1050202@optiksecurite.com> Bill Moran a ?crit : > In response to Martin Turgeon : > >> Hi everyone, >> >> I'm starting to build a new dedicated MySQL server. I will be using >> FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and >> to put the MySQL data outside the jail. My objective is to be able to >> update MySQL without down time. My objective would be to create another >> up to date MySQL jail and when I'm ready to make the switch, just point >> the new jail to the data outside the jail using something like a nullfs >> mount. >> >> Is someone using something like this? >> >> Did someone have any advice about how to update a MySQL server without >> down time? >> >> Did someone have any advice on how to tune a dedicated MySQL server >> running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 >> controler 2x146G 15K)? >> >> Thanks everyone for sharing your precious knowledge :) > > I expect that what you're trying to do will work, however it's > horrifically error-prone during the upgrade procedure (what if you > forget to stop the first MySQL before you start the new one!) > > If you need to do anything zero-downtime, then you probably want > to run multiple MySQL instances and use database replication to > keep the data in sync. That way you just switch which DB is > master, then upgrade the slave ... rinse/repeat. > Hi and thanks for your reply. Sorry for the late response... I thought about the risk of the procedure and that's why I asked here hoping that someone had a better idea! Do you mean to have another jail with an up to date slave MySQL, get it in sync with the master and then switch the config file of the slave to make it a master, restart the new MySQL, change the config so that the apps are connecting to the new DB? Martin From wmoran at potentialtech.com Mon May 11 19:34:23 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon May 11 19:34:30 2009 Subject: Advices for a jailed MySQL server In-Reply-To: <4A087A57.1050202@optiksecurite.com> References: <4A01DBCE.9070304@optiksecurite.com> <20090506150933.d0ef0178.wmoran@potentialtech.com> <4A087A57.1050202@optiksecurite.com> Message-ID: <20090511153420.439eed75.wmoran@potentialtech.com> In response to Martin Turgeon : > Bill Moran a ?crit : > > In response to Martin Turgeon : > > > >> Hi everyone, > >> > >> I'm starting to build a new dedicated MySQL server. I will be using > >> FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and > >> to put the MySQL data outside the jail. My objective is to be able to > >> update MySQL without down time. My objective would be to create another > >> up to date MySQL jail and when I'm ready to make the switch, just point > >> the new jail to the data outside the jail using something like a nullfs > >> mount. > >> > >> Is someone using something like this? > >> > >> Did someone have any advice about how to update a MySQL server without > >> down time? > >> > >> Did someone have any advice on how to tune a dedicated MySQL server > >> running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 > >> controler 2x146G 15K)? > >> > >> Thanks everyone for sharing your precious knowledge :) > > > > I expect that what you're trying to do will work, however it's > > horrifically error-prone during the upgrade procedure (what if you > > forget to stop the first MySQL before you start the new one!) > > > > If you need to do anything zero-downtime, then you probably want > > to run multiple MySQL instances and use database replication to > > keep the data in sync. That way you just switch which DB is > > master, then upgrade the slave ... rinse/repeat. > > > > Hi and thanks for your reply. Sorry for the late response... > > I thought about the risk of the procedure and that's why I asked here > hoping that someone had a better idea! > > Do you mean to have another jail with an up to date slave MySQL, get it > in sync with the master and then switch the config file of the slave to > make it a master, restart the new MySQL, change the config so that the > apps are connecting to the new DB? Yeah. That's what we do here (although we're using PostgreSQL/Slony). It works on a number of levels. In our case, each database is on a separate physical server, so we can move the master database to a different server, then do a complete OS/software upgrade with no downtime to the application (ok, there _is_ some downtime, it takes about 60 seconds to move everything around, but that amount of downtime is hardly even noticeable to a client, and our front-end code is designed to wait it out and continuously reconnect, so if the user is just patient, the site eventually comes up) I'm not nearly as familiar with MySQL's replication solution as I am with PostgreSQL's, but Slony allows us to have multiple versions of PostgreSQL running, so we can do our upgrading a little at a time as the situation allows. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From eitanadlerlist at gmail.com Mon May 11 19:39:57 2009 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Mon May 11 19:40:14 2009 Subject: Installation - VT4 In-Reply-To: References: Message-ID: <4A087A1D.9060309@gmail.com> When you install freeBSD via sysinstall you could switch to VT2 which displays what files it is currently installing and you could switch to VT4 which displays some kind of prompt. What exactly is that prompt? sh? What utilities does it have access to? When would you want to use it? -- Eitan Adler "Security is increased by designing for the way humans actually behave." -Jakob Nielsen From tajudd at gmail.com Mon May 11 19:52:52 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon May 11 19:53:00 2009 Subject: Installation - VT4 In-Reply-To: <4A087A1D.9060309@gmail.com> References: <4A087A1D.9060309@gmail.com> Message-ID: On Mon, May 11, 2009 at 1:18 PM, Eitan Adler wrote: > When you install freeBSD via sysinstall you could switch to VT2 which > displays what files it is currently installing and you could switch to > VT4 which displays some kind of prompt. What exactly is that prompt? sh? > What utilities does it have access to? When would you want to use it? > > -- > Eitan Adler > "Security is increased by designing for the way humans actually behave." > -Jakob Nielsen > ttyv4 is the holographic shell otherwise mentioned. It only has access to built-in commands (such as echo, cd, etc) It's really limited and so far, haven't found a use for it yet. I think it was a "new thing" when sysinstall was out and was useful back then. Since then, we've kept it and just haven't done much to it. If you find a use, share it. From doug at polands.org Mon May 11 19:53:09 2009 From: doug at polands.org (Doug Poland) Date: Mon May 11 19:53:23 2009 Subject: Advices for a jailed MySQL server In-Reply-To: <4A087A57.1050202@optiksecurite.com> References: <4A01DBCE.9070304@optiksecurite.com> <20090506150933.d0ef0178.wmoran@potentialtech.com> <4A087A57.1050202@optiksecurite.com> Message-ID: On Mon, May 11, 2009 14:19, Martin Turgeon wrote: > Bill Moran a ?crit : >> In response to Martin Turgeon : >> >>> Hi everyone, >>> >>> I'm starting to build a new dedicated MySQL server. I will be >>> using FreeBSD 7.2-REL. My plan is to jail the latest version of >>> MySQL 5.0 and to put the MySQL data outside the jail. My >>> objective is to be able to update MySQL without down time. My >>> objective would be to create another up to date MySQL jail and >>> when I'm ready to make the switch, just point the new jail to the >>> data outside the jail using something like a nullfs mount. >>> >>> Is someone using something like this? >>> >>> Did someone have any advice about how to update a MySQL server >>> without down time? >>> >>> Did someone have any advice on how to tune a dedicated MySQL >>> server running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID >>> on a PERC5 controler 2x146G 15K)? >>> >>> Thanks everyone for sharing your precious knowledge :) >> >> I expect that what you're trying to do will work, however it's >> horrifically error-prone during the upgrade procedure (what if you >> forget to stop the first MySQL before you start the new one!) >> >> If you need to do anything zero-downtime, then you probably want to >> run multiple MySQL instances and use database replication to keep >> the data in sync. That way you just switch which DB is master, >> then upgrade the slave ... rinse/repeat. >> > > Hi and thanks for your reply. Sorry for the late response... > > I thought about the risk of the procedure and that's why I asked here > hoping that someone had a better idea! > > Do you mean to have another jail with an up to date slave MySQL, get > it in sync with the master and then switch the config file of the > slave to make it a master, restart the new MySQL, change the config > so that the apps are connecting to the new DB? > You may want to research using MySQL in "dual-master" mode. In this architecture, each MySQL instance is both a master and a slave. Some care must be taken in the configuration but is well-documented and googalable. I recently deployed such a configuration using a jail for each instance. Upgrading from 5.1.33 to 5.1.34 was a snap and there was no down time. In my case, I use a DNS CNAME to identify the "master" instance that all clients access. -- Regards, Doug From doug at polands.org Mon May 11 19:53:10 2009 From: doug at polands.org (Doug Poland) Date: Mon May 11 19:53:25 2009 Subject: Advices for a jailed MySQL server Message-ID: <4de4835defb78776458c3ec9a5fc88fb.squirrel@email.polands.org> On Mon, May 11, 2009 14:19, Martin Turgeon wrote: > Bill Moran a ?crit : >> In response to Martin Turgeon : >> >>> Hi everyone, >>> >>> I'm starting to build a new dedicated MySQL server. I will be >>> using FreeBSD 7.2-REL. My plan is to jail the latest version of >>> MySQL 5.0 and to put the MySQL data outside the jail. My >>> objective is to be able to update MySQL without down time. My >>> objective would be to create another up to date MySQL jail and >>> when I'm ready to make the switch, just point the new jail to the >>> data outside the jail using something like a nullfs mount. >>> >>> Is someone using something like this? >>> >>> Did someone have any advice about how to update a MySQL server >>> without down time? >>> >>> Did someone have any advice on how to tune a dedicated MySQL >>> server running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID >>> on a PERC5 controler 2x146G 15K)? >>> >>> Thanks everyone for sharing your precious knowledge :) >> >> I expect that what you're trying to do will work, however it's >> horrifically error-prone during the upgrade procedure (what if you >> forget to stop the first MySQL before you start the new one!) >> >> If you need to do anything zero-downtime, then you probably want to >> run multiple MySQL instances and use database replication to keep >> the data in sync. That way you just switch which DB is master, >> then upgrade the slave ... rinse/repeat. >> > > Hi and thanks for your reply. Sorry for the late response... > > I thought about the risk of the procedure and that's why I asked here > hoping that someone had a better idea! > > Do you mean to have another jail with an up to date slave MySQL, get > it in sync with the master and then switch the config file of the > slave to make it a master, restart the new MySQL, change the config > so that the apps are connecting to the new DB? > You may want to research using MySQL in "dual-master" mode. In this architecture, each MySQL instance is both a master and a slave. Some care must be taken in the configuration but is well-documented and googalable. I recently deployed such a configuration using a jail for each instance. Upgrading from 5.1.33 to 5.1.34 was a snap and there was no down time. In my case, I use a DNS CNAME to identify the "master" instance that all clients access. -- Regards, Doug -- Regards, Doug From kientzle at freebsd.org Mon May 11 20:00:01 2009 From: kientzle at freebsd.org (Tim Kientzle) Date: Mon May 11 20:00:08 2009 Subject: single SATA disk and yet identified as 'ad4' In-Reply-To: References: Message-ID: <4A0883BC.9050505@freebsd.org> Saifi Khan wrote: > > The system has just one SATA disk and yet bootloader process > identified it as 'ad4'. Ideally, it should be ad1. > > 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) > 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01) The ide interface gets ad0, ad1, ad2, ad3, the sata controller numbering starts with ad4. Tim From m.seaman at infracaninophile.co.uk Mon May 11 20:01:12 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon May 11 20:01:20 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: <20090511190700.GB9749@ozzmosis.com> References: <200905111545.11696.doconnor@gsoft.com.au> <20090511130405.GB20271@gizmo.acns.msu.edu> <200905112317.17225.doconnor@gsoft.com.au> <20090511190700.GB9749@ozzmosis.com> Message-ID: <4A0883F9.8090409@infracaninophile.co.uk> andrew clarke wrote: > On Mon 2009-05-11 23:17:09 UTC+0930, Daniel O'Connor (doconnor@gsoft.com.au) wrote: >> A holographic shell won't have it, but the others will. > > That reminds me... > > Can someone explain to me why it's called a "holographic shell"? It's an 'emergency holographic shell' actually. http://en.wikipedia.org/wiki/Doctor_(Star_Trek) 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/20090511/aa8122a3/signature.pgp From nightrecon at verizon.net Mon May 11 20:09:55 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon May 11 20:10:04 2009 Subject: howto sidestep sysinstall during installation References: <4A07E966.60503@unsane.co.uk> <200905112334.03387.doconnor@gsoft.com.au> Message-ID: Saifi Khan wrote: > On Mon, 11 May 2009, Daniel O'Connor wrote: > >> > >> > Putting out a monthly snapshot is nice and if the people are >> > going to not find info about 'Fixit#' and commands in the >> > legendary handbook, that is not very helpful. >> >> FreeBSD doesn't work this way, you are trying to fit FreeBSD into your >> Gentoo way of thinking. Obviously this causes pain, please stop. >> > > i'll be highly obliged, if you could share some nuggets of > wisdom on 'the FreeBSD way' ! Please. > > Don't know about 'wisdom', per se, from me... But consider this: FreeBSD software development is a tree with 3 main branches from the trunk. They are -Release, -Stable, and -Current (aka HEAD). -Release is what a newcomer should use, or if used in a production environment. The -Release branch does receive ongoing maintenance in the form of security updates. -Stable is where newer software from -Current (HEAD) is merged backwards. An example would be a driver bug that was fixed in 8.0-Current would be made available in 7.2-Stable. The main purpose for using -Stable is for when some specific problem you are having in 7.2-Release has been fixed, and updating from -Release to -Stable is how you go about obtaining the fix. -Current (aka HEAD) is the place where active development on the next version takes place. For example, the code that is in -Current today will eventually be FreeBSD-8. You would run this if you were an active developer knowing full well that it could have deficiencies at any given time. The work is fluid and is known to break, with the idea that only programmers who can assist in fixing what breaks should be using it. A Snapshot is a frozen in time snapshot of -Current. Therefore, it is not what a newcomer or regular user should be using. The -Release install can always be updated to -Stable or -Current at a later time should it be necessary. -Mike From rwmaillists at googlemail.com Mon May 11 21:07:34 2009 From: rwmaillists at googlemail.com (RW) Date: Mon May 11 21:07:42 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: References: <4A07E966.60503@unsane.co.uk> <200905112334.03387.doconnor@gsoft.com.au> Message-ID: <20090511220728.497ea7d0@gumby.homeunix.com> On Mon, 11 May 2009 16:11:08 -0400 Michael Powell wrote: > -Stable is where newer software from -Current (HEAD) is merged > backwards. An example would be a driver bug that was fixed in > 8.0-Current would be made available in 7.2-Stable. The main purpose > for using -Stable is for when some specific problem you are having in > 7.2-Release has been fixed, and updating from -Release to -Stable is > how you go about obtaining the fix. Also bear in mind that only the base system is branched, not the ports tree. And most user-visible change takes place in ports. From lconrad at Go2France.com Mon May 11 21:22:48 2009 From: lconrad at Go2France.com (Len Conrad) Date: Mon May 11 21:22:56 2009 Subject: 4 GB RAM hardware but only 3.4 GB real/avail Message-ID: <200905112305.AA963444956@mail.Go2France.com> I'm sure this has been answered but I can't Google it. Where's the 600 MB gone to? Len From wmoran at potentialtech.com Mon May 11 21:25:29 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon May 11 21:25:38 2009 Subject: 4 GB RAM hardware but only 3.4 GB real/avail In-Reply-To: <200905112305.AA963444956@mail.Go2France.com> References: <200905112305.AA963444956@mail.Go2France.com> Message-ID: <20090511172526.da28cd61.wmoran@potentialtech.com> In response to "Len Conrad" : > I'm sure this has been answered but I can't Google it. Really? This question has been asked a gazillion times ... > Where's the 600 MB gone to? i386 arch can only see 4G total, but much hardware reserves the last 500M or so for special hardware addressing. The best option it so move to using amd64/EM64T arch, which doesn't have this problem. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From cwhiteh at onetel.com Mon May 11 21:37:15 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon May 11 21:37:22 2009 Subject: ndis0 interrrupt storm In-Reply-To: <3a142e750905090742i4bf80d45n323a81d3e18223a@mail.gmail.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <4A03528F.7070405@onetel.com> <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> <4A04968E.5060203@onetel.com> <3a142e750905090742i4bf80d45n323a81d3e18223a@mail.gmail.com> Message-ID: <4A089A87.8040800@onetel.com> Paul B. Mahol wrote: > On 5/8/09, Chris Whitehouse wrote: >> Paul B. Mahol wrote: >>> On 5/7/09, Chris Whitehouse wrote: >>> >>>> In the meantime I've tried the three possible drivers (XP, NT and an >>>> unlabelled one). I've also installed a recent 8-current snapshot, >>>> updated to latest source and built world, and tried the XP driver. Still >>>> get interrupt storms everywhere, also a panic (I think) in 8-current. >>>> >>>> Should I give up or are there other things to try? >>> Panic should not happen. Please provide backtrace(or crashdump or >>> textdump) >> `fetch http://www.fishercroft.plus.com/vmcore.1.gz' should get a >> crashdump from a non-debug kernel, see below. It's about 17mb >> >> I built a driver with the XP driver using ndisgen and the same source as >> my recent build world. >> >> I kldload the driver module which also loads ndis.ko and if_ndis.ko. >> >> I've got >> wlans_ndis0="wlan0" >> in rc.conf and I get ndis0 and wlan0 created when I plug in the card. >> >> The interrupt storm starts when I do >> >> # ifconfig wlan0 >> >> The panic occurs maybe a minute or two after the ifconfig. >> >> I got a panic but I couldn't get a crashdump with the GENERIC kernel >> (nothing relevant to dumpon or savecore happened at all, no boot >> messages, nothing in /var/crash). >> I did get a bunch of stuff on ttyv0, I can post a photo somewhere if >> required. Or is there a way to get the screen output in text format? >> >> I built a kernel with the following changes >> >> #cpu I486_CPU >> #cpu I586_CPU >> >> #makeoptions DEBUG=-g # Build kernel with gdb(1) debug > > Oh nooooo, crash dump is useless with that option commented in kernel. > [You can alway just look at documentation installed in /usr/share/doc/, > for example developers handbook] > >> symbols >> >> #options KDB # Enable kernel debugger support. >> #options DDB # Support DDB. >> #options GDB # Support remote GDB. >> #options INVARIANTS # Enable calls of extra sanity >> checking >> #options INVARIANT_SUPPORT # Extra sanity checks of >> internal structures, required by INVARIANTS >> #options WITNESS # Enable checks to detect >> deadlocks and cycles >> #options WITNESS_SKIPSPIN # Don't run witness on spinlocks >> for speed > Both KDB, DDB, GDB, WITNESS and INVARIANTS are usefull in debugging kernel. > So please uncomment all that debugging support. > After all you can build two kernels, and use boot loader command or nextboot(8) > I tried with GENERIC and with my no-debug kernel. The panic happened with both but there was no crashdump with the GENERIC. All other settings were the same, eg no change to rc.conf. My setup seems to be right according to the developers handbook section 10.1. Is there something special I have to do with -CURRENT to get the crashdump? >> >> >> I got on ttyv0: >> >> interrupt storm detected on "irq11:"; throttling interrupt source >> >> repeated about 20 times then >> >> Sleeping thread (tid 100084, pid 0) owns a non-sleepable lock > > Heh, thats is bug, now only remains to find where it is caused. > I got this screendump (copied and pasted) from ttyv0 before the panic with GENERIC. It was repeated maybe 20 times then dropped to db> prompt. interrupt storm detected on "irq11:"; throttling interrupt source Waiting on "KeWFS" with the following non-sleepable locks held: exclusive sleep mutex ndis0 (network driver) r = 0 (0xc34fd06c) locked @ /usr/sr c/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:3432 KDB: stack backtrace: db_trace_self_wrapper(c0c40c0b,d40e3ac0,c089d245,c3888072,d68,...) at db_trace_s elf_wrapper+0x26 kdb_backtrace(c3888072,d68,ffffffff,c0eca774,d40e3af8,...) at kdb_backtrace+0x29 _witness_debugger(c0c42f9c,d40e3b0c,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,c38a24d0,c0c37d7c,c389ea81,d40e3b3c,...) at witness_warn+0x1fd _cv_timedwait(d40e3b6c,c38a24d0,1389,ffffffff,c38cafc8,...) at _cv_timedwait+0xc 6 KeWaitForSingleObject(c38cafc0,0,0,0,d40e3bbc,...) at KeWaitForSingleObject+0x1b 0 ndis_set_info(c34fd000,d01011a,0,d40e3bf8,c37b2524,...) at ndis_set_info+0x1c8 ndis_scan_start(c3a14000,0,c0c5286b,36e,80246,...) at ndis_scan_start+0xe8 scan_task(c3a04800,1,c0c42357,54,c38c485c,...) at scan_task+0x150 taskqueue_run(c38c4840,c38c485c,0,c0c33ff4,0,...) at taskqueue_run+0x10b taskqueue_thread_loop(c3a14074,d40e3d38,c0c39438,333,c0d88ca0,...) at taskqueue_ thread_loop+0x68 fork_exit(c08963e0,c3a14074,d40e3d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xd40e3d70, ebp = 0 --- interrupt storm detected on "irq11:"; throttling interrupt source >> panic: sleeping thread >> cpuid = 0 >> Uptime:17m26s >> Physical memory: 434 MB >> Dumping 79 MB: 64 48 32 16 >> Dump complete >> >> (The above typed by hand) >> >> Let me know if there is more I can do but (caveat) I'm not a developer >> and I only put CURRENT on the machine to test if the problem had been >> fixed, ie please don't flame me if you ask me really difficult stuff and >> I don't understand it :) > > You can always ask me off list for anything that you don't understand. thanks :) > From wojtek at wojtek.tensor.gdynia.pl Mon May 11 22:14:26 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 11 22:14:32 2009 Subject: Processors In-Reply-To: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: > I'm new with FreeBSD setup. Just want to as if Core 2 Duo processor > compatible with FreeBSD. yes. FreeBSD/amd64 > Thanks a lot.......... > > -- > Renato A. Rocabo > mobile: 09208095152 > email: csergetov@gmail.com > ym: carlos_sergetov@yahoo.com > skype: rrocabo > > If you don't write it down, then it never happen.... > _______________________________________________ > 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 wojtek at wojtek.tensor.gdynia.pl Mon May 11 22:16:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 11 22:16:09 2009 Subject: Sun E250 In-Reply-To: <4A07EF76.4040801@cern.ch> References: <4A07EF76.4040801@cern.ch> Message-ID: isn't it external disk array connected with SCSI connector? if so - it looks like SCSI disk(s) to the computer and is supported by FreeBSD disk driver On Mon, 11 May 2009, RAUL H C LOPES wrote: > Hello, > > We've got a Sun server E250 with a disk array Storedge A1000. We'd like to > have Freebsd running on it. I see from the > http://www.freebsd.org/releases/5.0R/hardware-sparc64.html#AEN30 > > that freebsd runs on E250, but it is not clear for me whether it supports the > disk array. Would you know of anyone running FreeBSD on that storage? > > Thanks, Raul > _______________________________________________ > 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 Mon May 11 22:19:07 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon May 11 22:19:14 2009 Subject: Wake-on-LAN support in FreeBSD? Message-ID: <17798633.2121242080310610.JavaMail.HALO$@halo> Has anyone successfully used the wake-on-LAN tool wol to wake-up a FreeBSD system? If yes, what NICs did you need to use to get this to work? From tajudd at gmail.com Mon May 11 22:49:15 2009 From: tajudd at gmail.com (Tim Judd) Date: Mon May 11 22:49:22 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: <17798633.2121242080310610.JavaMail.HALO$@halo> References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: On Mon, May 11, 2009 at 4:18 PM, Peter Steele wrote: > Has anyone successfully used the wake-on-LAN tool wol to wake-up a FreeBSD > system? If yes, what NICs did you need to use to get this to work? > Search the archives. The question of Wake-on-LAN has been around for a while. I typically respond. Long story short: Wake-on-LAN requires OS/NIC driver support. The OS puts the NIC in a mode at shutdown that allows Wake-on-LAN to work. FreeBSD has no Wake-on-LAN driver support, hence, no host running FreeBSD has Wake-on-LAN capabilities. I'm shocked that the Intel NICs don't have this support, given that Intel provides such excellent documentation and/or drivers for FreeBSD. Please search the archives. From pgiessel at mac.com Mon May 11 22:54:13 2009 From: pgiessel at mac.com (Peter Giessel) Date: Mon May 11 22:54:20 2009 Subject: 4 GB RAM hardware but only 3.4 GB real/avail In-Reply-To: <20090511172526.da28cd61.wmoran@potentialtech.com> References: <200905112305.AA963444956@mail.Go2France.com> <20090511172526.da28cd61.wmoran@potentialtech.com> Message-ID: <160278566753602359077573106687879407718-Webmail@me.com> On Monday, May 11, 2009, at 01:25PM, "Bill Moran" wrote: >In response to "Len Conrad" : > >> I'm sure this has been answered but I can't Google it. > >Really? This question has been asked a gazillion times ... Agreeing with Bill Moran: http://www.google.com/search?q=+4+GB+RAM+hardware+but+only+3.4+GB+real%2Favail The first link takes me to: http://www.codinghorror.com/blog/archives/000811.html Which appears to be largely Windows specific, but very detailed if you are looking for a more in-depth explanation and also says: "To be perfectly clear, this isn't a Windows problem-- it's an x86 hardware problem. From wblock at wonkity.com Mon May 11 22:55:39 2009 From: wblock at wonkity.com (Warren Block) Date: Mon May 11 22:55:48 2009 Subject: Booting question In-Reply-To: References: Message-ID: On Sun, 10 May 2009, Michel Di Croci wrote: > When I boot, it takes about 5 mins before being up and running. Since it's > my first FreeBSD, I didn't thought there was an issue, but I think there's > one ;) > > I have a P4 2.8 HT which is too bad computer and I really think the issue is > in freeBSD and the Giant Locked and stuff like that. The computer stays in a > waiting "mode" for about 3 minutes or something like that. It's unbearable, > however, since I reboot like once in a month, it's not that bad ;) But I'm > still wondering why it's so slow. It would help to know what shows on the screen. But my first guess is sendmail trying to get a FQDN and timing out. What happens if you press ctrl-c when it's waiting? Second guess is that you have some external USB device that your BIOS is trying to use for booting. Without knowing what the screen shows, it's hard to say. -Warren Block * Rapid City, South Dakota USA From wblock at wonkity.com Mon May 11 22:56:34 2009 From: wblock at wonkity.com (Warren Block) Date: Mon May 11 22:56:42 2009 Subject: Processors In-Reply-To: References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: On Tue, 12 May 2009, Wojciech Puchar wrote: >> I'm new with FreeBSD setup. Just want to as if Core 2 Duo processor >> compatible with FreeBSD. > > yes. FreeBSD/amd64 Or i386. -Warren Block * Rapid City, South Dakota USA From psteele at maxiscale.com Mon May 11 23:04:21 2009 From: psteele at maxiscale.com (Peter Steele) Date: Mon May 11 23:04:28 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: Message-ID: <19092079.2261242083020759.JavaMail.HALO$@halo> > Long story short: Wake-on-LAN requires OS/NIC driver support. The OS puts the NIC in a mode at shutdown that >allows Wake-on-LAN to work. FreeBSD has no Wake-on-LAN driver support, hence, no host running FreeBSD has >Wake-on-LAN capabilities. > >I'm shocked that the Intel NICs don't have this support, given that Intel provides such excellent documentation and/or >drivers for FreeBSD. > >Please search the archives. I did do a search before posting and I wasn't very encouraged by what I found. You've confirmed my findings, unfortunately. From wojtek at wojtek.tensor.gdynia.pl Mon May 11 23:05:51 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 11 23:05:57 2009 Subject: Processors In-Reply-To: References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: >> >> yes. FreeBSD/amd64 > > Or i386. if you want limited system - yes > > -Warren Block * Rapid City, South Dakota USA > > From wojtek at wojtek.tensor.gdynia.pl Mon May 11 23:06:35 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 11 23:06:42 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: <17798633.2121242080310610.JavaMail.HALO$@halo> References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: > Has anyone successfully used the wake-on-LAN tool wol to wake-up a FreeBSD system? wake on lan works before any OS is started, actually before computer is powered up - as it's made to power up computer by LAN From wojtek at wojtek.tensor.gdynia.pl Mon May 11 23:07:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 11 23:07:09 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: > Long story short: Wake-on-LAN requires OS/NIC driver support. The OS puts > the NIC in a mode at shutdown that allows Wake-on-LAN to work. FreeBSD has isn't it BIOS option? From doconnor at gsoft.com.au Mon May 11 23:10:13 2009 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Mon May 11 23:10:21 2009 Subject: howto sidestep sysinstall during installation In-Reply-To: References: <200905112334.03387.doconnor@gsoft.com.au> Message-ID: <200905120840.02575.doconnor@gsoft.com.au> On Tue, 12 May 2009, Saifi Khan wrote: > On Mon, 11 May 2009, Daniel O'Connor wrote: > > > Putting out a monthly snapshot is nice and if the people are > > > going to not find info about 'Fixit#' and commands in the > > > legendary handbook, that is not very helpful. > > > > FreeBSD doesn't work this way, you are trying to fit FreeBSD into > > your Gentoo way of thinking. Obviously this causes pain, please > > stop. > > i'll be highly obliged, if you could share some nuggets of > wisdom on 'the FreeBSD way' ! Please. Like I said, install a release and upgrade that. You could try finding a -current snap that does work, but it's probably going to be quicker to just get the latest 7 release, install and then cvsup/csup to HEAD then build & install. -- 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/20090511/46287cec/attachment.pgp From glen.j.barber at gmail.com Mon May 11 23:11:22 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon May 11 23:11:28 2009 Subject: Processors In-Reply-To: References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> Message-ID: <4ad871310905111611u7045356bn32895b7ae36adb71@mail.gmail.com> On Mon, May 11, 2009 at 7:04 PM, Wojciech Puchar wrote: >>> >>> yes. FreeBSD/amd64 >> >> Or i386. > > if you want limited system - yes >> If by 'limited' you mean being able to use nVidia drivers, that's not very 'limited' to me. -- Glen Barber From fbsdlilly at gmail.com Mon May 11 23:35:02 2009 From: fbsdlilly at gmail.com (mojo fms) Date: Mon May 11 23:35:09 2009 Subject: 7.0 -> 7.1 crash every two day In-Reply-To: <54a3573b09fae93458481c998ad6b538@127.0.0.1> References: <54a3573b09fae93458481c998ad6b538@127.0.0.1> Message-ID: Have you tried: freebsd-update IDS ? I am assuming you did the freebsd-update to update the machine but if not maybe run through mergemaster and another rebuild of the world and kernel to make sure that none of the files got an error from the build. On Sun, May 10, 2009 at 11:51 AM, wrote: > Dear List, > > I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general > purpose server for a small company and it's clients, running web, sql, mail > and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was > running on it for a year now without any problem. After 30 of April I've > upgraded to 7.1 (I've followed the handbook) and since then nearly every > two day the machine becomes unreachable except for echorequest. If i try to > log in in the terminal it just hangs after i give my password. > > I'm out of any ideas. Please feel free to ask any more info that I've > forgotten to provide. Thank You for your help in advance. > > Here's the dmesg: > > 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.1-RELEASE-p5 #2: Fri Apr 24 18:44:13 CEST 2009 > root@lildevil.datawlan:/usr/obj/usr/src/sys/FIREWALL > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (996.85-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > > > Features=0x383f9ff > real memory = 536854528 (511 MB) > avail memory = 511340544 (487 MB) > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or > length: 0 0/2 [20070320] > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > unknown: I/O range not supported > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0 > pcib0: on acpi0 > pci_link0: apparently invalid index 0 > pci0: on pcib0 > sym0: <1510d> port 0x2000-0x20ff mem > 0xc6effc00-0xc6efffff,0xc6efe000-0xc6efefff irq 10 at device 1.0 on pci0 > sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking > sym0: [ITHREAD] > sym1: <1510d> port 0x2400-0x24ff mem > 0xc6efdc00-0xc6efdfff,0xc6efc000-0xc6efcfff irq 11 at device 1.1 on pci0 > sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking > sym1: [ITHREAD] > fxp0: port 0x2800-0x283f mem > 0xc6efb000-0xc6efbfff,0xc6d00000-0xc6dfffff irq 15 at device 2.0 on pci0 > miibus0: on fxp0 > inphy0: PHY 1 on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:50:8b:ee:d2:d6 > fxp0: [ITHREAD] > vgapci0: port 0x2c00-0x2cff mem > 0xc5000000-0xc5ffffff,0xc6cff000-0xc6cfffff at device 3.0 on pci0 > pci0: at device 4.0 (no driver attached) > isab0: at device 15.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 15.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > pcib1: on acpi0 > pci3: on pcib1 > ida0: port 0x4000-0x40ff mem > 0xc6fff000-0xc6ffffff irq 5 at device 3.0 on pci3 > ida0: [GIANT-LOCKED] > ida0: [ITHREAD] > ida0: drives=1 firm_rev=1.22 > idad0: on ida0 > idad0: 34727MB (71122560 sectors), blocksize=512 > 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] > fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 > fdc0: [FILTER] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > cpu0: on acpi0 > pmtimer0 on isa0 > orm0: at iomem > 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff pnpid > ORM0000 on isa0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) 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> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 996851056 Hz quality 800 > Timecounters tick every 1.000 msec > acd0: CDROM at ata0-master PIO4 > Waiting 5 seconds for SCSI devices to settle > GEOM_LABEL: Label for provider idad0s3 is msdosfs/SYSTEMCFG. > Trying to mount root from ufs:/dev/idad0s1a > WARNING: / was not properly dismounted > WARNING: /tmp was not properly dismounted > WARNING: /usr was not properly dismounted > WARNING: /usr/home was not properly dismounted > /usr/home: mount pending error: blocks 48 files 4 > WARNING: /usr/home/ftp was not properly dismounted > WARNING: /var was not properly dismounted > /var: mount pending error: blocks 4 files 1 > > _______________________________________________ > 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 djuatdelta at gmail.com Tue May 12 01:18:15 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue May 12 01:18:22 2009 Subject: Reformatting external harddrive Message-ID: After unsuccessfully trying to reformat my external harddrive on my linux machine, I'm trying to reformat the disk in FreeBSD. Frankly, I just don't know how to do that. Please help me get the disk back to working order; I don't need to keep any data that is currently on the disk. The command $ /dev/da0 gives the following output: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=38913 heads=255 sectors/track=63 (16065 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 625137282 (305242 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 0/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: From tajudd at gmail.com Tue May 12 02:07:03 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue May 12 02:07:11 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: On Mon, May 11, 2009 at 5:05 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > Has anyone successfully used the wake-on-LAN tool wol to wake-up a FreeBSD >> system? >> > > wake on lan works before any OS is started, actually before computer is > powered up - as it's made to power up computer by LAN > > Like normal, you've completely missed the point. I will try not to scream at you. I've read Google, I've done my research, and know that what I say is the last word. They've exampled how WOL works, and as I said, it's a mode the NIC gets set to and then the ACPI shuts the power off. Without this mode, the WOL packets get to it, but it doesn't consider them magic, and as a result, it will not power on the box. There were some examples, but not enough testing/any testing results were posted online so I assume the poster left it stagnant. Wojciech - I get so disappointed, you seem to mislead people more than the rest. I strongly encourage you to read into the topics BEFORE you post to the mailing list. --TJ From pschmehl_lists at tx.rr.com Tue May 12 02:35:07 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Tue May 12 02:35:14 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: --On May 11, 2009 8:06:41 PM -0600 Tim Judd wrote: > > I've read Google, I've done my research, and know that what I say is the > last word. They've exampled how WOL works, and as I said, it's a mode > the NIC gets set to and then the ACPI shuts the power off. > > Without this mode, the WOL packets get to it, but it doesn't consider > them magic, and as a result, it will not power on the box. > > There were some examples, but not enough testing/any testing results were > posted online so I assume the poster left it stagnant. > Tim, I know nothing about WOL on FreeBSD, but according to the wiki, development just started in 8 CURRENT: http://wiki.freebsd.org/WakeOnLan So unless you're running CURRENT, it doesn't look like you're going to have any success trying to get it to work. Even if you have 8 CURRENT, you'll still need to figure out if your NIC is supported yet, or write the code yourself if you have that capability. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From ulrich at pukruppa.net Tue May 12 02:58:04 2009 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Tue May 12 02:58:11 2009 Subject: Processors In-Reply-To: <4ad871310905111611u7045356bn32895b7ae36adb71@mail.gmail.com> References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> <4ad871310905111611u7045356bn32895b7ae36adb71@mail.gmail.com> Message-ID: <1242097273.1568.101.camel@pukruppa.net> Am Montag, den 11.05.2009, 19:11 -0400 schrieb Glen Barber: > On Mon, May 11, 2009 at 7:04 PM, Wojciech Puchar > wrote: > >>> > >>> yes. FreeBSD/amd64 > >> > >> Or i386. > > > > if you want limited system - yes > >> > > If by 'limited' you mean being able to use nVidia drivers, that's not > very 'limited' to me. > Please do correct me: Only Graphic Cards by nVidia are a problem on amd64, everything else can be run via OpenSource drivers (?!) Greetings Uli. From glen.j.barber at gmail.com Tue May 12 03:05:44 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue May 12 03:05:51 2009 Subject: Processors In-Reply-To: <1242097273.1568.101.camel@pukruppa.net> References: <2434cab10905110348l65704a92m553da409a0e5371a@mail.gmail.com> <4ad871310905111611u7045356bn32895b7ae36adb71@mail.gmail.com> <1242097273.1568.101.camel@pukruppa.net> Message-ID: <4ad871310905112005h43e69c05j98297827ac9ec169@mail.gmail.com> On Mon, May 11, 2009 at 11:01 PM, Peter Ulrich Kruppa wrote: >> >> If by 'limited' you mean being able to use nVidia drivers, that's not >> very 'limited' to me. >> > Please do correct me: > Only Graphic Cards by nVidia are a problem on amd64, everything else can > be run via OpenSource drivers (?!) > nVidia was just an example. Yes, the nv driver will do the job, but 3D is lacking. -- Glen Barber From tajudd at gmail.com Tue May 12 03:18:51 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue May 12 03:18:57 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: On Mon, May 11, 2009 at 8:34 PM, Paul Schmehl wrote: > --On May 11, 2009 8:06:41 PM -0600 Tim Judd wrote: > >> >> I've read Google, I've done my research, and know that what I say is the >> last word. They've exampled how WOL works, and as I said, it's a mode >> the NIC gets set to and then the ACPI shuts the power off. >> >> Without this mode, the WOL packets get to it, but it doesn't consider >> them magic, and as a result, it will not power on the box. >> >> There were some examples, but not enough testing/any testing results were >> posted online so I assume the poster left it stagnant. >> >> > Tim, I know nothing about WOL on FreeBSD, but according to the wiki, > development just started in 8 CURRENT: > http://wiki.freebsd.org/WakeOnLan > > So unless you're running CURRENT, it doesn't look like you're going to have > any success trying to get it to work. Even if you have 8 CURRENT, you'll > still need to figure out if your NIC is supported yet, or write the code > yourself if you have that capability. > > Paul Schmehl, If it isn't already > obvious, my opinions are my own > and not those of my employer. > ****************************************** > WARNING: Check the headers before replying > > Paul, That's excellent news, and I will remember this as something to look forward to. Seems to be a very important thing to many people and I'm glad we're moving that way. Thank you, Paul for the update. --TJ From saifi.khan at twincling.org Tue May 12 05:31:42 2009 From: saifi.khan at twincling.org (Saifi Khan) Date: Tue May 12 05:31:49 2009 Subject: fdisk: class not found In-Reply-To: <4A0861D9.4050308@FreeBSD.org> References: <4A0861D9.4050308@FreeBSD.org> Message-ID: On Mon, 11 May 2009, Pietro Cerutti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Saifi Khan wrote: > | Hi all: > Hi Saifi, > > | Trying to write a partition table using fdisk supplied in the > | installation DVD of FreeBSD 8.0 i386 200905 snapshot. > | > | Should we write new partition table ? [n] y > | fdisk: Class not found > | > | When i again run 'fdisk' it should the old partition table. > | > | What exactly does 'Class not found' mean ? > > This comes from geom. See geom(8). > Hi Pietro: Does this imply, geom_mbr needs to be loaded, if one is using the Fixit# (DVD/Live) console ? thanks Saifi. From Pieter.Donche at ua.ac.be Tue May 12 07:52:25 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue May 12 07:52:33 2009 Subject: isc-dhcpd server, HOSTNAME In-Reply-To: <4A068874.8030408@infracaninophile.co.uk> References: <4A068874.8030408@infracaninophile.co.uk> Message-ID: On Sun, 10 May 2009, Matthew Seaman wrote: > Pieter Donche wrote: >> FreeBSD7 with isc-dhcp30-server. >> It hands out an IP address, OK, >> but the BASH environment variable HOSTNAME is not set. Why? >> >> (A DNS server is active on the network and can succesfully be queried from >> a FreeBSD bash command (nslookup or host) to see the hostname associated >> with the IP-address) > > Hostname is not one of the parameters usually requested from a DHCP server > by a Unix machine. In fact, it's normally the other way round: the client > tells the DHCP server what it's hostname is and the DHCP server can then > inject an A record into the DNS dynamically. So, the normal way is that you have an entry hostname="somename.somedomain" in /etc/rc.conf ? I can't remember the details of the install of this FreeBSD7 system, set up as a DHCPclient, but is during the installation the name of the host you want this machine to have and its domainname something that is asked for? (and then recorded in /etc/rc.conf) > However it is possible to operate in the way you want. To tell the dhcp > server to look up names from the DNS based on the address supplied to a > host, search for the description of the 'get-lease-hostnames' flag in > the dhcpd.conf(5) man page. > > To tell dhcp clients to fetch their hostname from DHCP, you need to add it > to a 'request' or 'require' block in dhclient.conf -- see dhclient.conf(5). > > It's been a long time since I ran a setup anything like that, so I cannot > recall if that was all that was required, or if it was also necessary to > write a small dhclient-script(8) to actually set the hostname. > Another alternative is to use a dhclient-script to take the IP number > allocated by the DHCP server, look up the corresponding address and then > set that as the hostname. > > The bash HOSTNAME environment variable will be set from the output of the > hostname(1) command, which is usually set from the hostname variable in > /etc/rc.conf or from the output of '/bin/kenv dhcp.host-name' if that is set. > Otherwise it uses a default hostname of 'amnesiac'. > 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 > > From dektec at vip.163.com Tue May 12 08:08:20 2009 From: dektec at vip.163.com (Leo Peng in Dektec) Date: Tue May 12 08:08:29 2009 Subject: Small and Middle Wave Solder and Reflow Oven Message-ID: <1242114773_SectionID-455225_HitID-1242114673000_SiteID-30068_EmailID-16405925_DB-2@eb13.ebhost8.com> Your email program does not support HTML. To view an online version of this email, please click the link below. http://www.emailbrain.com/rwcode/content.asp?SID=1&SiteID=30068&Section=455225&EmailID=16405925&HitID=1242114673000 To unsubscribe, click the link below. http://www.emailbrain.com/RWCode/subscribe.asp?SID=1&SiteID=30068&Email=questions@freebsd.org&HitID=1242114673000 From onemda at gmail.com Tue May 12 10:10:17 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue May 12 10:10:24 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: References: <17798633.2121242080310610.JavaMail.HALO$@halo> Message-ID: <3a142e750905120310j7b811549xb01cd88ff2481ec4@mail.gmail.com> On 5/12/09, Tim Judd wrote: > On Mon, May 11, 2009 at 4:18 PM, Peter Steele wrote: > >> Has anyone successfully used the wake-on-LAN tool wol to wake-up a FreeBSD >> system? If yes, what NICs did you need to use to get this to work? >> > > Search the archives. The question of Wake-on-LAN has been around for a > while. I typically respond. > > Long story short: Wake-on-LAN requires OS/NIC driver support. The OS puts > the NIC in a mode at shutdown that allows Wake-on-LAN to work. FreeBSD has > no Wake-on-LAN driver support, hence, no host running FreeBSD has > Wake-on-LAN capabilities. FUD, read ifconfig(8) > > I'm shocked that the Intel NICs don't have this support, given that Intel > provides such excellent documentation and/or drivers for FreeBSD. > > Please search the archives. > _______________________________________________ > 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" > -- Paul From om-lists-bsd at omx.ch Tue May 12 10:11:02 2009 From: om-lists-bsd at omx.ch (Olivier Mueller) Date: Tue May 12 10:11:09 2009 Subject: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.' Message-ID: <1242123058.945.31.camel@ompc.insign.local> Hello, I have a strange situation on our internal svn server. Since a few days and some upgrades, if I try to access a new created repository via apache, I get a blank page and this error in the apache error log: ==> /var/log/httpd/httpd-error.log <== Fatal error 'Recurse on a private mutex.' at line 986 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 86) [Tue May 12 11:56:02 2009] [notice] child pid 64353 exit signal Abort trap (6) The only difference between both repositories is the db/format file: diff -r repos/websites/testing/db/format repos/websites/testing2/db/format 1c1 < 4 --- > 3 If format is "3" (subversion "pre-1.6"), everything works fine, but if the format is "4" the DAV/SVN part crashes (while everything remains fine via svn client / svnserve). I guess I should recompile something (apache?), or change a configuration somewhere, but I'm still looking where. Maybe you will have an idea? I'd still like to be able to use SVN/DAV with the new svn 1.6.x features... Thanks & regards, Olivier httpd.conf: [...] LoadModule dav_module libexec/apache2/mod_dav.so LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so [...] DAV svn SVNParentPath /[...]/repos/websites AuthType Basic AuthName "SVNoverApache" AuthUserFile /.[...]./passwd Require valid-user [...] [om@dev ~]$ pkg_info |grep subv py-subversion-1.6.2 Python bindings for version control system subversion-1.6.2 Version control system [om@dev ~]$ pkg_info |grep thre libpthread-stubs-0.1 This library provides weak aliases for pthread functions FreeBSD 6.2/amd64 (upgrade to 7.2 planed for later this month) From onemda at gmail.com Tue May 12 10:16:14 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue May 12 10:16:25 2009 Subject: fdisk: class not found In-Reply-To: References: <4A0861D9.4050308@FreeBSD.org> Message-ID: <3a142e750905120316g2d511e3dq558fe286b4d135e9@mail.gmail.com> On 5/12/09, Saifi Khan wrote: > On Mon, 11 May 2009, Pietro Cerutti wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> Saifi Khan wrote: >> | Hi all: >> Hi Saifi, >> >> | Trying to write a partition table using fdisk supplied in the >> | installation DVD of FreeBSD 8.0 i386 200905 snapshot. >> | >> | Should we write new partition table ? [n] y >> | fdisk: Class not found >> | >> | When i again run 'fdisk' it should the old partition table. >> | >> | What exactly does 'Class not found' mean ? >> >> This comes from geom. See geom(8). >> > > Hi Pietro: > > Does this imply, geom_mbr needs to be loaded, if one is using > the Fixit# (DVD/Live) console ? No, geom_part* are already replacing obsolete modules; geom_mbr is one of them targeted for removal. Until fdisk and bsdlabel got fixed you should use gpart(8) instead. I switched to gpart(8) months ago(did complete reinstallation) so that I could have more than 8 labels :) -- Paul From onemda at gmail.com Tue May 12 10:22:49 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue May 12 10:22:55 2009 Subject: ndis0 interrrupt storm In-Reply-To: <4A089A87.8040800@onetel.com> References: <49F78DD0.70007@onetel.com> <3a142e750904290530p7189e3d2y40328186dd4141f7@mail.gmail.com> <49FB6C6A.8020308@onetel.com> <3a142e750905011711pc9c77f7p67e883e96fac7170@mail.gmail.com> <4A03528F.7070405@onetel.com> <3a142e750905080326q2c21e669xc08aaafbf0fbf36@mail.gmail.com> <4A04968E.5060203@onetel.com> <3a142e750905090742i4bf80d45n323a81d3e18223a@mail.gmail.com> <4A089A87.8040800@onetel.com> Message-ID: <3a142e750905120322h2eb984a6q786ad99287ae2cbb@mail.gmail.com> On 5/11/09, Chris Whitehouse wrote: > Paul B. Mahol wrote: >> On 5/8/09, Chris Whitehouse wrote: >>> Paul B. Mahol wrote: >>>> On 5/7/09, Chris Whitehouse wrote: >>>> >>>>> In the meantime I've tried the three possible drivers (XP, NT and an >>>>> unlabelled one). I've also installed a recent 8-current snapshot, >>>>> updated to latest source and built world, and tried the XP driver. >>>>> Still >>>>> get interrupt storms everywhere, also a panic (I think) in 8-current. >>>>> >>>>> Should I give up or are there other things to try? >>>> Panic should not happen. Please provide backtrace(or crashdump or >>>> textdump) >>> `fetch http://www.fishercroft.plus.com/vmcore.1.gz' should get a >>> crashdump from a non-debug kernel, see below. It's about 17mb >>> >>> I built a driver with the XP driver using ndisgen and the same source as >>> my recent build world. >>> >>> I kldload the driver module which also loads ndis.ko and if_ndis.ko. >>> >>> I've got >>> wlans_ndis0="wlan0" >>> in rc.conf and I get ndis0 and wlan0 created when I plug in the card. >>> >>> The interrupt storm starts when I do >>> >>> # ifconfig wlan0 >>> >>> The panic occurs maybe a minute or two after the ifconfig. >>> >>> I got a panic but I couldn't get a crashdump with the GENERIC kernel >>> (nothing relevant to dumpon or savecore happened at all, no boot >>> messages, nothing in /var/crash). >>> I did get a bunch of stuff on ttyv0, I can post a photo somewhere if >>> required. Or is there a way to get the screen output in text format? >>> >>> I built a kernel with the following changes >>> >>> #cpu I486_CPU >>> #cpu I586_CPU >>> >>> #makeoptions DEBUG=-g # Build kernel with gdb(1) debug >> >> Oh nooooo, crash dump is useless with that option commented in kernel. >> [You can alway just look at documentation installed in /usr/share/doc/, >> for example developers handbook] >> >>> symbols >>> >>> #options KDB # Enable kernel debugger support. >>> #options DDB # Support DDB. >>> #options GDB # Support remote GDB. >>> #options INVARIANTS # Enable calls of extra sanity >>> checking >>> #options INVARIANT_SUPPORT # Extra sanity checks of >>> internal structures, required by INVARIANTS >>> #options WITNESS # Enable checks to detect >>> deadlocks and cycles >>> #options WITNESS_SKIPSPIN # Don't run witness on spinlocks >>> for speed >> Both KDB, DDB, GDB, WITNESS and INVARIANTS are usefull in debugging >> kernel. >> So please uncomment all that debugging support. >> After all you can build two kernels, and use boot loader command or >> nextboot(8) >> > I tried with GENERIC and with my no-debug kernel. The panic happened > with both but there was no crashdump with the GENERIC. All other > settings were the same, eg no change to rc.conf. My setup seems to be > right according to the developers handbook section 10.1. > > Is there something special I have to do with -CURRENT to get the crashdump? Just typing bt on db prompt for now should be enough. > >>> >>> >>> I got on ttyv0: >>> >>> interrupt storm detected on "irq11:"; throttling interrupt source >>> >>> repeated about 20 times then >>> >>> Sleeping thread (tid 100084, pid 0) owns a non-sleepable lock >> >> Heh, thats is bug, now only remains to find where it is caused. >> > I got this screendump (copied and pasted) from ttyv0 before the panic > with GENERIC. It was repeated maybe 20 times then dropped to db> prompt. > > interrupt storm detected on "irq11:"; throttling interrupt source > Waiting on "KeWFS" with the following non-sleepable locks held: > exclusive sleep mutex ndis0 (network driver) r = 0 (0xc34fd06c) locked @ > /usr/sr > c/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:3432 > KDB: stack backtrace: > db_trace_self_wrapper(c0c40c0b,d40e3ac0,c089d245,c3888072,d68,...) at > db_trace_s > elf_wrapper+0x26 > kdb_backtrace(c3888072,d68,ffffffff,c0eca774,d40e3af8,...) at > kdb_backtrace+0x29 > > _witness_debugger(c0c42f9c,d40e3b0c,4,1,0,...) at _witness_debugger+0x25 > witness_warn(5,c38a24d0,c0c37d7c,c389ea81,d40e3b3c,...) at > witness_warn+0x1fd > _cv_timedwait(d40e3b6c,c38a24d0,1389,ffffffff,c38cafc8,...) at > _cv_timedwait+0xc > 6 > KeWaitForSingleObject(c38cafc0,0,0,0,d40e3bbc,...) at > KeWaitForSingleObject+0x1b > 0 > ndis_set_info(c34fd000,d01011a,0,d40e3bf8,c37b2524,...) at > ndis_set_info+0x1c8 > ndis_scan_start(c3a14000,0,c0c5286b,36e,80246,...) at ndis_scan_start+0xe8 > scan_task(c3a04800,1,c0c42357,54,c38c485c,...) at scan_task+0x150 > taskqueue_run(c38c4840,c38c485c,0,c0c33ff4,0,...) at taskqueue_run+0x10b > taskqueue_thread_loop(c3a14074,d40e3d38,c0c39438,333,c0d88ca0,...) at > taskqueue_ > thread_loop+0x68 > fork_exit(c08963e0,c3a14074,d40e3d38) at fork_exit+0xb8 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xd40e3d70, ebp = 0 --- > interrupt storm detected on "irq11:"; throttling interrupt source Thats is something. >>> panic: sleeping thread >>> cpuid = 0 >>> Uptime:17m26s >>> Physical memory: 434 MB >>> Dumping 79 MB: 64 48 32 16 >>> Dump complete >>> >>> (The above typed by hand) >>> >>> Let me know if there is more I can do but (caveat) I'm not a developer >>> and I only put CURRENT on the machine to test if the problem had been >>> fixed, ie please don't flame me if you ask me really difficult stuff and >>> I don't understand it :) >> >> You can always ask me off list for anything that you don't understand. > thanks :) -- Paul From laladelausanne at gmail.com Tue May 12 10:50:59 2009 From: laladelausanne at gmail.com (=?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?=) Date: Tue May 12 10:51:05 2009 Subject: Failing to get dc-misses with pmc Message-ID: <2580F282-ABE0-448B-AB10-16CB9A3EC16D@gmail.com> Hi, I'm trying to get number of L2 cache misses on a system level via: sudo pmcstat -S dc-misses -O /tmp/sample.out However, I'm getting this error: pmcstat: ERROR: Cannot allocate system-mode pmc with specification "dc- misses": Invalid argument I'm running 7.1-RELEASE-p3 on: CPU: Intel(R) Xeon(R) CPU X5472 @ 3.00GHz (3004.49-MHz K8- class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features = 0xbfebfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP ,MTRR ,PGE ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2 = 0xce3bd > AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8570097664 (8173 MB) avail memory = 8243294208 (7861 MB) ACPI APIC Table: What am I doing wrong? Thanks, Nikola From martinbadie at yahoo.com Tue May 12 12:46:12 2009 From: martinbadie at yahoo.com (Martin Badie) Date: Tue May 12 12:46:18 2009 Subject: mount_nfs and fstab options Message-ID: <312995.95999.qm@web59916.mail.ac4.yahoo.com> Hi, I have mounted an NFS share like: mount_nfs -LisT 10.10.10.199:/vol/share /mnt but I can't use -LisT on fstab because man mount_nfs states: Historic -o Options Use of these options is deprecated, they are only mentioned here for compatibility with historic versions of mount_nfs. bg Same as -b. fg Same as not specifying -b. conn Same as not specifying -c. dumbtimer Same as -d. intr Same as -i. lockd Same as not specifying -L. nfsv2 Same as -2. nfsv3 Same as -3. rdirplus Same as -l. mntudp Same as -U. resvport Same as -P. soft Same as -s. hard Same as not specifying -s. tcp Same as -T. Thus since I can't give this in -o section at fstab how can I use -List at fstab .. I have used rw,lockd,intr,soft,tcp but that didn't work: 10.10.10.199:/vol/share /mnt nfs rw,lockd,intr,soft,tcp 0 0 Regards. From psteele at maxiscale.com Tue May 12 13:33:41 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue May 12 13:33:48 2009 Subject: Wake-on-LAN support in FreeBSD? In-Reply-To: <30891392.2381242135163014.JavaMail.HALO$@halo> Message-ID: <6044475.2401242135180402.JavaMail.HALO$@halo> >Tim, I know nothing about WOL on FreeBSD, but according to the wiki, >development just started in 8 CURRENT: >http://wiki.freebsd.org/WakeOnLan I came across that same reference. Unfortunately we're stuck on 7.0. I take it the point of the "wol" command that available in the ports collection is that it can be used to wake any system that supports wake-on-LAN, and these systems can be running any OS. So, based on what I've read here and in my searches, for wake-on-LAN to work on a given system, the NIC itself has to suppor