problems with cups
Hello, Every time I choose print or print preview option in my X applications (for example firefox, okular, thunderbird) then my system freezes. WCPU of given program goes up to 100% very quickly and I cannot kill it or even shut down the machine cleanly. I got that problem both on 8.0 (amd64) and 7.2 (i386). It's all good without cups-client. Problem occurs only after it is installed on my systems. Any ideas, please? Michal -- Every man dies, not every man really lives. -William Wallace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
installing cups-client kills my machines
Hello, I don't have any printers attached to my system but sometimes I have to print something to a pdf file from my www browser or email client. Everything works fine without cups but some ports are installing it (or parts of it) as dependencies and that's when all problems starts. With cups-client installed I can not print to PDF files any more. In fact just touching anything related to printing results with [almost] frozen machine. For example pushing page setup, print preview or print options in Firefox is going to result in 100% WCPU usage by firefox-bin and it sits like that forever. Currently I'm running cups-client-1.4.2_1. Same problem when I try to access print-related options from within Thunderbird and Firefox. Same problem on two different machines with 7.2-RELEASE-i386 and 8.0-RELEASE-amd64. Don't really know what should I look at - any ideas, please? It drives me crazy and ruins my desktop experience (i.e. I have to reboot into Windows just to print something to a file). Michal -- Make everything as simple as possible, but not simpler. -Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
zfs on root and zpool.cache importance
Hello I'm a bit confused about zpool.cache file. I've got a configuration with /boot sitting on a usb drive (UFS) and everything else on internal ZFS hard drive. I'm booting my system off the usb drive so zpool.cache file is there (usb drive). Basic zfs root + ufs boot setup. Everything works like a charm no problems so far and I would like to keep it that way hence my question. I've noticed that zpool.cache on ZFS drive is being updated from time to time and it is different from zpool.cache file on usb drive. Even when I remove zpool.cache file on hard disk then it gets recreated automatically and system still boots and works fine because it starts with zpool.cache on usb drive which is intact. Now how important it is to keep them in sync and what I'm risking by not doing that? Am I stomping on a thin ice? Should I copy zpool.cache from hard drive to usb boot disk every day or should I leave it how it is? I know that zpool.cache is critical to boot and it keeps some informations about pool configuration but don't quite understand implications of having it outside of the pool itself (without zfs even knowing about that). Michal -- Every man dies, not every man really lives. -William Wallace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ndis interface doesn't show up (intel 5300)
Paul B Mahol wrote: I'm struggling to get Intel 5300 wireless mini pci-e card working on FreeBSD 8.0-RC1 (amd64, both GENERIC and my custom kernel). Try i386. amd64 doesnt work for me, panic on kldload. Ok I'll try it tonight. Is your card working fine on i386? And is it Intel WiFi Link 5300 or some other card? So NETw5x64_sys.ko has been successfully generated. Note that when it asks me for additional firmware files I don't give it any - is that ok? Depends. Look what are other files. That's the problem, I'm looking at them but I can't really tell the difference. List of files: NETw2c32.dll NETw2r32.dll NETw5c32.dll NETw5r32.dll NETw5x32.cat NETw5x32.inf NETw5x32.sys dpinst32.exe iProDifX.dll iProDifX.exe w29n50.sys w29n51.INF w29n51.cat w29n51.sys Cheers. Michal -- By failing to prepare, you are preparing to fail. -Benjamin Franklin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ndis interface doesn't show up (intel 5300)
Hello, I'm struggling to get Intel 5300 wireless mini pci-e card working on FreeBSD 8.0-RC1 (amd64, both GENERIC and my custom kernel). I get no error messages. Kernel module builds and loads fine but then ndis interface never shows up. Here is exactly what I'm doing: Drivers for XP64 downloaded from intel website. I've tried latest and old drivers. Unzipped on FreeBSD. Then: ndisgen NETw5x64.inf NETw5x64.sys This .INF file appears to be ASCII. [return] This .SYS file appears to be in Windows(r) PE format. [return] Driver file conversion - conversion was successful. [enter] Firmware file conversion [enter] Kernel module generation Generating Makefile... done. Building kernel module... done. Cleaning up... done. So NETw5x64_sys.ko has been successfully generated. Note that when it asks me for additional firmware files I don't give it any - is that ok? Then I'm moving this module to /boot/modules and I'm loading it: kldload -v NETw5x64_sys.ko Loaded NETw5x64_sys.ko, id=8 And that's pretty much it, module get loaded together with nids.ko and if_nids.ko but nothing really happens. No additional network interfaces, nothing in dmesg output. Tried with debug.ndis=1 and get no additional informations. Any ideas, please? Anybody got this card to work on FreeBSD? Michal -- The future is here. It's just not widely distributed yet. -William Gibson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
switching from one network interface to another without reboot
Hello, How can I switch from one network interface to another without rebooting my system (7.2R)? Problem description: I've got a laptop with two network interfaces (wired em0 and wireless ath0). Every now and then I have to set up a DSL wireless box which comes with default settings so that I have to start with connecting my laptop via em0. em0 gets IP address from wireless box by DHCP. I log in to web interface and set everything up including WLAN and restart wireless box. At this point I would like to switch to ath0 and start using internet connection via wireless box. I'm taking em0 interface down with ifconfig em0 down and unplug the cable. I'm changing /etc/rc.conf entries to: ifconfig_em0=NOAUTO ifconfig_ath0=WPA DHCP Then I'm doing /etc/rc.d/netif restart and ath0 gets IP address via DHCP and is connected to wireless box (/etc/wpa_supplicant.conf is set up). But whenever I try to ping anything (including wireless box) I get interface down message because my system still tries to use em0. What else should I do to tell it that I'm connected to network via ath0 now? Any suggestions are welcome. Michal -- The quiter you become, the more you can hear. -Ram Dass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: switching from one network interface to another without reboot
Adam Vande More wrote: /etc/rc.d/netif stop em0 /etc/rc.d/netif start ath0 Works like a charm, thank you so much. Michal -- Attacks always get better; they never get worse. -NSA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
digital camera and devd
Hello, I've got a Canon digital camera set up and working with gphoto2 via devfs+devd but it's not elegant/clean enough: attach 0 { device-name ugen[0-9]+; match vendor 0x0123; match product 0x3210; match sernum 1234567890; action devfs rule -s 10 add 100 path $device-name* user joe; \ devfs rule -s 10 add 200 path usb[0-9] user joe; \ devfs rule -s 10 applyset; }; Problem with this solution is that it changes owner for all /dev/usb files i.e. usb, usb0, usb1, usb2 and usb3. How can I check exactly which /dev/usb* entry corresponds to my camera? And by the way /dev/usb3 means port 3, hub 3 or what are they? Tried with: usb_number=`sysctl dev.ugen.0.%location | cut -d '=' -f 2` but it turns out that it's not what I'm looking for because sometimes when it returns 2 then I still need write access to just /dev/usb3. Any ideas please? Michal -- Power tends to corrupt, and absolute power corrupts absolutely. -John Dalberg-Acton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: digital camera and devd
Roland Smith wrote: I'm not exactly sure what you are trying to achieve here. But here is my €0,02: Create a group called 'usb'. Make every user that you want to be able to use usb devices a member of this group. Next, add the following rules to your active ruleset in /etc/devfs.rules: add path 'da*' mode 0660 group usb add path 'msdosfs/*' mode 0660 group usb add path 'uscanner*' mode 0660 group usb add path 'usb*' mode 0660 group usb add path 'ugen*' mode 0660 group usb And that is pretty much what I'm doing with two differences: 1. I'm using user name instead of designated group. 2. Following principle of least privilege I don't want to give him (which just happens to be myself) rights to anything other than my digital camera. Only this specific camera should trigger changes in ownership/rights of camera-related device nodes. I know it looks a bit anal at first glance but it is not ;) Michal -- Let him who desires peace prepare for war. -Flavius Vegetius Renatus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: digital camera and devd
RW wrote: I'm not very familiar with devfs+devd, but can you not use glabel to give the camera a persistent name. I should have mentioned that this camera works only in PTP mode so I cannot access it as a disk device. At first I thought that it's PITA but now I think it's even better because I don't have to worry about mounting/unmounting anymore. Just plug and unplug the lead whenever I want. Michal -- Computers are like bikinis. They save people a lot of guesswork. -Sam Ewing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: digital camera and devd
b. f. wrote: How can I check exactly which /dev/usb* entry corresponds to my camera? If you are using the old USB stack, use usbdevs(8). If you are using the new USB stack from less than 5 months ago, then use usbconfig(8): usbdevs -v Yes, I should have mentioned beforehand that it's 7.2 Release. Your solution with usbdevs gives me what I was looking for (after my clumsy grep|tail|sed|cut manipulation), thank you very much for your help. Michal -- The reverse side also has a reverse side -Japanese Proverb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: switching from one network interface to another without reboot
Mel Flynn wrote: If these are on the same network (like most wireless routers), it can pay off to use lagg(4) and then simply unplug the cable. Plug it back in and it will use the cable again. You would need: In my case usually it's some testing environment so I needed more of a quick kludge. But thats very interesting idea for my home network, I'll definitely have to check it out, thanks! Michal -- If the facts don't fit the theory, change the facts. -Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: disk usage statistics
Wojciech Puchar wrote: Could you suggest me how can I get my disk usage statistics in terms of percentage of the possible disk activity (like in gstat) or megabytes per second (like in iostat), please? systat then type :vmstat I need something not interactive, command that prints what it knows and quits. I want to use it's output in a script. Michal. -- But all endings are also beginnings. We just don't know it at the time. -Mitch Albom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
disk usage statistics
Hello. Could you suggest me how can I get my disk usage statistics in terms of percentage of the possible disk activity (like in gstat) or megabytes per second (like in iostat), please? I need something that gives actual usage statistics, not any averages. And something that prints what I want and quits (not like gstat in default mode). It have to be available for unprivileged user and I don't want to use any temporally files in the process. The closest I can get is (last column of): iostat -c 2 -d ad0 | tail -n 1 Problem is that it takes two seconds, which is not acceptable for me because I want it's output to be printed in status bar beside date and time. I'm using wmii window manager. Any suggestions and hints are very welcome. Michal -- Never interrupt your enemy when he is making a mistake. -Napoleon Bonaparte ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
driver for wifi as usb device
Hi, I'm struggling with installation of driver for my wifi visible as usb device (hp 8730w laptop) on both, 7.1 and 8.0, versions of FreeBSD. I've tried to use Windows drivers with no significant effect (still, USB wifi is not assigned with the driver). Has anyone succeeded in resolving similar problem? Any help will be most appreciated. Best, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
wpa_supplicant wired
Hi folks, can anyone manage to have wired driver enabled in wpa_supplicant? How to do this? I'm playing with wpa_supplicant and hostapd sources for a while but without any significant progress. Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wpa_supplicant wired
Paul B. Mahol wrote: On 10/21/08, Michal Kulczewski [EMAIL PROTECTED] wrote: Hi folks, can anyone manage to have wired driver enabled in wpa_supplicant? How to do this? I'm playing with wpa_supplicant and hostapd sources for a while but without any significant progress. What FreeBSD vesion? On CURRENT and 7.0= it is enabled by default, on older I think you need to rebuild it yourself. Enabling wired driver in wpa_supplicant is straightforward. well, it's not, at least not for me. I'm running 7.0, wpa_supplicant tells me that wired driver is not supported (BSD and NDIS are the only correct values). -- Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd7 kde4 performance
Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd7 kde4 performance
Brian wrote: [EMAIL PROTECTED] wrote: Hi Michael, Unfortunetly I've been having the same difficulty with KDE4. I've tried using both the nv driver as well as nvidia. My hardware is intel core2 duo 1.8ghz, nvidia 8600 gs with 512 dedicated memory and 2gigs of system memory. I've tried using 7.0, 7.1 and 8.0(Current) with all malloc debugging features disabled as well as kernel debugging options turned off. I've also tried switching back to UFS filesystems from ZFS(root install) to no avail. In the end I ended up using kde3 due to endless headaches. I felt I'd share this in hopes someone has managed to get it to run reasonably well. Regards, Tom --Original Message-- From: Michal Kulczewski Sender: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: freebsd7 kde4 performance Sent: Oct 11, 2008 12:18 AM Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Cheers, Michal Here is some additional info, I too am doing v3. http://freebsd.kde.org/instructions.php well, there is no much information available though. IMHO it's a pity that once fancy gui is available, freebsd users can not make use of it. I have to switch to gnome (somehow I don't like kde3). Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd7 kde4 performance
mdh wrote: Michal, can you describe in more detail just what is performing poorly? Things like what effects, what actions you're taking, what your settings are that effect those actions, etc? I'm running KDE4.1.1 from ports on 7-STABLE and have no performance problems at all with an AthlonX2, 2gigs of memory, and a GeForce6200 card using nvidia binary drivers. One thing I have come up against was the nvidia black windows bug with OpenGL effects turned on, but turning them off doesn't signifigantly hinder my enjoyment of KDE4, or make it too much less sexy to be honest. The performance was also fine even with them turned on; it simply caused that bug to occur which made it less usable. Generally speaking, I've found GNOME to run with more performance issues despite less bells and whistles than KDE every time on any system where I've tried it. If you provide some more information, maybe I can direct you to some setting tweaks, etc, but as I said it's working just lovely for me (and this is with a ton of apps open, by the way - several seamonkey windows, a bunch of kpdf, eclipse, many many konsole tabs, xmms, ktorrent, and more. One thing I am curious of is if you're running i386 FreeBSD, or another architecture (amd64, ia64, etc?) I'm running 7.0 stable with ULE scheduler on i386 architecture (since it's Pentium M). I've tried to use kde4 out of the box (after compilation). Whole kde is running poorly. I have to wait seconds for any action to complete (right mouse button, moving windows, moving widgets, etc), so, as you can imagine, I'm not that patient to tweak any settings while using kde4. Now I see that many of you are using nvidia binary drivers, maybe this is the answer why my kde4 is running so slow. However, beryl is working quite fast for me. kde4 is using only 4% of processor, hal and dbus are enabled and running. -- Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
First, thanks for your response. Did you previously have kde-4 on this machine? ldconfig -r |grep gettext should show a /usr/local/kde4/../libgettext.so, but that isn't usuable, so new port builds will see 'a libgettext', so wont install gettext, but kde's configure finds it is not usuable, so will default to it's internal copy of gettext, which doesn't compile cleanly. cd /usr/ports/devel/kdesdk ${EDITOR} `make -V WRKSRC`/config.log that should show hints why it does not find gettext usable. (Yep, been bitten by it). Well, I didn't yet install kde4 and I don't intend to. (-: Anyway, ldconfig -r | grep gettext shows only the following output: ~~ 271:-lgettextpo.4 = /usr/local/lib/libgettextpo.so.4 ~~ I don't understand why it doesn't list libgettextlib.so since it is installed by the port devel/gettext (gettext-0.17_1 is installed here) I uploaded the whole config.log to http://johnny64.fixinko.sk/junk/config.log.kdesdk3 but I don't see any relevant messages concerning gettext... But anyway, how did you solve the error you were getting? Do you think just running ldconfig will help? Won't it spoil something important? Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpxQlTpdHWrU.pgp Description: PGP signature
Re: Error building editors/openoffice.org-2
I just tried building OpenOffice.org 2.4.1_2 from ports. All dependencies are already installed. After some minutes of compilation the build crashed with ~~ Disabling crypto support Enabling debugger checking for libxml libraries =3D 2.6.17... test: 1: unexpected operator configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/. dmake: Error code 1, while making 'unxfbsdi.pro/misc/build/so_configured_s= o_libxslt' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-= 2/work/OOH680_m17/libxslt dmake: Error code 1, while making 'build_instsetoo_native' ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.23991= =2E0 env make LOCALIZED_LANG=3Dalllangs -DWITH_TTF_BYTECODE_ENABLED -DWITH_= KDE ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! editors/openoffice.org-2 (checksum mismatch) ~~ The whole script is at http://johnny64.fixinko.sk/openoffice.org-2-2008-09-21.gz See ports/98949. Robert Huff Either I completely misunderstood this PR, or it really addresses some completely different build issue and doesn't even provide a solution for the problem reported and has been closed only because of the fact the port had been updated many times since the initial report... (Although there's been some discussion about too little RAM in reference to this PR, but that isn't the problem here.) The one I am experiencing looks rather like a syntax error in configure for libxslt shipped with OOo. (By the way, why does it use shipped libraries like libxml, libxslt and so on instead of the ones already present on the system...?) More specifically the problem seems to be with line 21990 of the configure script: if test 1 == 1 which seems to use bash-specific syntax. (At least FreeBSD test(1) doesn't seem to like this.) Any suggestion would be appreciated. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpYkUDwzsugP.pgp Description: PGP signature
Re: Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
Replying to myself... Hello everybody, I get an error while upgrading the port mentioned in $subj. When I run # portupgrade -c devel/kdesdk3 it starts compiling, but after a while it always crashes at this point: - Making all in libgettext gmake[4]: Entering directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' flex -+ -opofiles.cc ./pofiles.ll /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -march=athlon -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pofiles.lo -MD -MP -MF .deps/pofiles.Tpo -c -o pofiles.lo pofiles.cc pofiles.cc:450:5: warning: YY_STACK_USED is not defined pofiles.cc:1518:5: warning: YY_MAIN is not defined [...] gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/kdesdk3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.2946.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdesdk-3.5.9 UPGRADE_PORT_VER=3.5.9 make ** Fix the problem and try again. - Since it crashes while compiling gettext support, I tried to rebuild devel/gettext, but with no success. On friday I'll probably try # portupgrade -Rf devel/kdesdk3 as I am getting really desperate, but if anybody has any better suggestion, I'd be really thankful. (Rebuilding all of the dependencies will be really painful since I am getting ZFS deadlocks on a weekly basis, depending on the uptime, and I won't have physical access to the machine from morning until afternoon in case it hangs...) All right, so I tried rebuilding all ports devel/kdesdk3 depends on but in the end I got the same error message. So... Anybody has an idea what's going on? Thanks in advance. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpEIzLAIkMnI.pgp Description: PGP signature
Error building editors/openoffice.org-2
Hello everybody I just tried building OpenOffice.org 2.4.1_2 from ports. All dependencies are already installed. After some minutes of compilation the build crashed with ~~ Disabling crypto support Enabling debugger checking for libxml libraries = 2.6.17... test: 1: unexpected operator configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/. dmake: Error code 1, while making 'unxfbsdi.pro/misc/build/so_configured_so_libxslt' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/libxslt dmake: Error code 1, while making 'build_instsetoo_native' ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.23991.0 env make LOCALIZED_LANG=alllangs -DWITH_TTF_BYTECODE_ENABLED -DWITH_KDE ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! editors/openoffice.org-2 (checksum mismatch) ~~ The whole script is at http://johnny64.fixinko.sk/openoffice.org-2-2008-09-21.gz Any help would be appreciated. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpWY3zXwDymw.pgp Description: PGP signature
Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
Hello everybody, I get an error while upgrading the port mentioned in $subj. When I run # portupgrade -c devel/kdesdk3 it starts compiling, but after a while it always crashes at this point: - Making all in libgettext gmake[4]: Entering directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' flex -+ -opofiles.cc ./pofiles.ll /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -march=athlon -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pofiles.lo -MD -MP -MF .deps/pofiles.Tpo -c -o pofiles.lo pofiles.cc pofiles.cc:450:5: warning: YY_STACK_USED is not defined pofiles.cc:1518:5: warning: YY_MAIN is not defined In file included from pofiles.cc:249: /usr/local/include/FlexLexer.h:130: error: expected unqualified-id before numeric constant pofiles.cc: In member function 'virtual int GettextBaseFlexLexer::yylex()': pofiles.cc:575: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:731: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:754: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In constructor 'GettextBaseFlexLexer::GettextBaseFlexLexer(std::istream*, std::ostream*)': pofiles.cc:871: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In destructor 'virtual GettextBaseFlexLexer::~GettextBaseFlexLexer()': pofiles.cc:883: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::switch_streams(std::istream*, std::ostream*)': pofiles.cc:890: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'int GettextBaseFlexLexer::yy_get_next_buffer()': pofiles.cc:943: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yyunput(int, char*)': pofiles.cc:1138: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'int GettextBaseFlexLexer::yyinput()': pofiles.cc:1180: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yyrestart(std::istream*)': pofiles.cc:1239: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1242: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yy_switch_to_buffer(yy_buffer_state*)': pofiles.cc:1249: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1252: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1260: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yy_load_buffer_state()': pofiles.cc:1274: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yy_delete_buffer(yy_buffer_state*)': pofiles.cc:1311: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yy_flush_buffer(yy_buffer_state*)': pofiles.cc:1353: error: 'yy_current_buffer' was not declared in this scope gmake[4]: *** [pofiles.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/kdesdk3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.2946.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdesdk-3.5.9 UPGRADE_PORT_VER=3.5.9 make ** Fix the problem and try again. - Since it crashes while compiling gettext support, I tried to rebuild devel/gettext, but with no success. On friday I'll probably try # portupgrade -Rf devel/kdesdk3 as I am getting really desperate, but if anybody has any better suggestion, I'd be really thankful. (Rebuilding all of the dependencies will be really painful since I am getting ZFS deadlocks on a weekly basis, depending on the uptime, and I won't have physical access to the machine from morning until afternoon in case it hangs...) Thanks in advance. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL
svpn
I want to connect to vpn by F5Networks. But still its hang up for me :(. I have installed in /compat/linux libpam pam passwd su sudo and required packages.. But now when I execute /compat/linux/bin/su -c ls, I receive: could not open session in dmesg: linux: pid 14155 (su): syscall keyctl not implemented linux: pid 14155 (su): syscall setfsuid not implemented When I try to connect by linux-firefox to vpn, it tries to connect and after several seconds shows me connection failed. But then in the top I see that process of svpn consumes almost 100% of processor. Is it posible to run F5Networks plugin in freebsd? michal zielonka uname -a : FreeBSD ffrrbbssdd 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Mon Aug 11 16:25:43 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
F5Networks
FreeBSD ffrrbbssdd 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Mon Aug 11 16:25:43 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I want to connect to vpn by F5Networks. But still its hang up for me :(. I install in /compat/linux libpam pam passwd su sudo and required packages.. But now when I exec /compat/linux/bin/su -c ls, I receive: could not open session in dmesg: linux: pid 14155 (su): syscall keyctl not implemented linux: pid 14155 (su): syscall setfsuid not implemented When I am trying to connect by linux-firefox to vpn, it tries to connect and after several seconds shows me connection failed. But then in the top I see that process svpn consumes almost 100% of processor. Is it posible to run F5Networks plugin in freebsd?? michal zielonka ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upek fingerprint on FreeBSD 7
Hi, I followed the instructions given on http://www.shapeshifter.se/articles/upek_touchchip_freebsd/ to make my fingerprint sensor working on FreeBSD. However when I try to enroll the user via 'bbdm' I'm getting an error: 'port_LoadLibrary: dlopen(/usr/local/lib/libtfmessbsp.so) failed, error = (null)' and bbdm is simply hanging (or waiting for something). Does anyone have a clue how to solve it ? I've alredy downloaded the lates version of upek driver for FreeBSD 7 and libtfmessbsp.so is placed in the accurate location. Regards, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tool for managing network settings?
Niels Kobschaetzki escribió: I'm using FreeBSD 7 with XFce and I'm searching a tool for managing network settings (gui or cli doesn't matter). E.g at home I need a static IP, at work DHCP on my ethernet-card. take a look at this magnificent tool http://www.kts.org/hm/download/setnetparm/ (however, it allows you to change network profile only uppon booting) Cheers, Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fork bomb immune to limits for user.
Hello, Did You start start program via screen -m -d -s ~/kaboom ? This is important here. And I want ask You, how you can stop screen -m -d -s ~/kaboom via ctrl+c ? It's impossible with that bomb. (number of PIDs is going to infinity, you can't find that one 'root pid', which will kill all children). Regards... Bill Moran wrote: Michal Garbowski [1][EMAIL PROTECTED] wrote: Hello, I've the question, to the bug report: [2]http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 . Is there any limit, (which I didn't wrote in PR), which can stop gives memory for user (not root) in fBSD ? Can't help you much here because I can't reproduce the problem. I compiled your program and ran it and I was still able to use the system just fine as it was scrolling numbers past. I was also able to CTRL-C the program from the terminal and it stopped without any problems. Nor did I see any unusual memory usage. -- Asy i Cieniasy pilkarskiej ekstraklasy kliknij [3]http://link.interia.pl/f1d27 References 1. mailto:[EMAIL PROTECTED] 2. http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 3. http://link.interia.pl/f1d27 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fork bomb, which can stop the system in spite of limits for user.
Hello, I've the question, to the bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 . Is there any limit, (which I didn't wrote in PR), which can stop gives memory for user (not root) in fBSD ? Regards, Michal Garbowski -- Rozmiar ma znaczenie... czy nie? kliknij http://link.interia.pl/f1d1f ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fork bomb immune to limits for user.
Hello, I've the question, to the bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=121949 . Is there any limit, (which I didn't wrote in PR), which can stop gives memory for user (not root) in fBSD ? Regards, Michal Garbowski -- Wez udzial w konkursie i wygraj super nagrody! Ciesz sie zdrowym usmiechem! Zobacz http://link.interia.pl/f1d58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix with Cyrus SASL
Your postfix is trying to use saslauthd, which usually listens on /var/run/saslauthd/mux. The right way to fix this depends on whether you want to use saslauthd and the place you store your e-mail user data. mf -- Speak softly and carry a big lion pgpNdevFsSGQS.pgp Description: PGP signature
Re: Password Security
VeeJay wrote: On 11/23/06, Olivier Nicole [EMAIL PROTECTED] wrote: And how can one into the System by booting from a CD if it still requires the Password even in Single User mode? Booting from CD, floppy or hard disk is slected at BIOS level. Booting in single or multi user mode is at Operating system level. Booting is in the following order: 1) BIOS select what medium to boot from 2) the operating system boot from the selected medium So when it comes to the Single user password, itis already at stage 2) it has passed the stage 1 (booting from hard disk ofr CD) without password. Olivier So, it means, that I should take the following steps 1. Password on BIOS 2. Change the order of booting i.e. When system is installed and working once, then I just the change the Booting FIRST from HardDisk. 3. Put the password on Single User mode. So, what more? Do you people think that I have got somehow security barrier for unauthorized access? Not much. Default FreeBSD install has two more places where one can influence booting with console access - boot blocks and loader. To disable the access to OK prompt of boot blocks create file /boot.config with '-n'. To disable access to loader put autoboot_delay=-1 and beastie_disable=YES into /boot/loader.conf. You can also instead put password=... into it and the loader will then require password to allow access to it. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
Skylar Thompson wrote: Michal Mertl wrote: No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). Could you clarify note 20031022 in /usr/src/UPDATING? It states that HTT CPUs are used for interrupts if they are detected, even if they aren't used by regular processes. Was this something that just showed up in pre-6.x releases? I think it means that if an interrupt would for some reason be signalled to the unused logical core it wouldn't be lost or something. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP detection
backyard píše v čt 31. 08. 2006 v 07:45 -0700: --- Michal Mertl [EMAIL PROTECTED] wrote: Skylar Thompson wrote: Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help perormance. You can check dmesg to see how it's actually handling it. No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). When FreeBSD sees logical CPUs it means HTT is either enabled in BIOS or that disabling HTT in BIOS does not hide the CPUs to FreeBSD (bug in BIOS/FreeBSD). Until you enable scheduler to schedule tasks to HTT cores (with machdep.hyperthreading_allowed=1 in loader.conf) (disabled by default due to mentioned security/performance reasons) machine won't utilize the logical HTT CPUs. Therefore total CPU utilization won't be more than 50%, because there are the (unused) logical CPUs which don't get scheduled tasks. are you sure about this??? Almost sure but can't check at the moment. I believe there were problems when all HTT CPUs weren't launched sometimes (when HTT wasn't disabled with BIOS), so the logical CPU cores are started and fully visible but only run the idle kernel thread (are 100% idle). I would have figured the scheduler wouldn't see the other core at all without this option set and so it wouldn't be used in calculating load at all. 50% on a compile is fairly normal from my experience. I don't have too much experience with HT
Re: SMP detection
Skylar Thompson wrote: Jordi Carrillo wrote: 2006/8/30, backyard [EMAIL PROTECTED]: --- Jordi Carrillo [EMAIL PROTECTED] wrote: I've read that SMP should be disabled for performance issues (I did not know that before installing freebsd). I have a P4 3GHz with hyperthreading technology. I have the SMP-GENERIC kernel and it only launches one cpu. So, I've decided to disable SMP from BIOS. Is that ok?, knowing that I have a Smp enabled kernel? or should I install one without smp? If so, is there a way to install one already precompiled? Thanks in advance -- http://jordilin.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] if the system runs with one cpu now and you don't enable smp with HT with the sysctl variable then you should be ok. If your not doing SMP then recompiling the kernel for single processor mode will make things run a little quicker because the SMP code won't come into play. with HT disabling in FreeBSD is more for the security issues about a potential exploit whereby one process in one pipe can access the priveledged information of a process in another pipe because the two cores share one processor cache and thus one cache table. To my knowledge this hasn't been exploited yet. If you just install the generic kernel you it should be only the uniprocessor one. I would just do a: cd /usr/src make buildworld make KERNCONF=GENERIC buildkernel make KERNCONF=GENERIC installkernel as opposed to a binary version assuming you haven't updated yet you won't have to install world but I believe it must have the build in the source tree to build a kernel. On your P4 though the difference between SMP and uniproc may not be worth the trouble because I don't think much of a gain would be made. on a P1 a much different story... if you aren't concerned with bad users or hackers hitting the box I would just enable HT with the sysctl variable. This will not make things run slower at all, just (in theory) less secure, which is why the veriable was created in the first place as I recall. If you are concerned I would wait until you update your system and then just build a GENERIC/CUSTOM kernel without the SMP option set. -brian I will disable smp from bios. If I have a smp kernel, I suppose there will be no problem after all. Would that be ok? The problem with having SMP enabled is that the smp kernel only detects one cpu and the system monitor only features one cpu as well as gkrellm (in Linux it shows two cpus). When compiling the system monitor shows the cpu at a maximum of 50%, so what's going on with the other 50%? writing machdep.hlt_logical_cpus to 2 in loader.conf does not solve anything. I believe FreeBSD uses the other logical CPU to handle hardware interrupts, which can still help perormance. You can check dmesg to see how it's actually handling it. No! Kernel threads (e.g. handling interrupts) aren't that much different to normal processes. Logical CPUs on a single HTT capable CPU share most of the CPU logic, especially all the external stuff (handling interrupts). Scheduling handling of interrupts on the secondary/logical core wouldn't probably help performance at all (if that is at all possible). When FreeBSD sees logical CPUs it means HTT is either enabled in BIOS or that disabling HTT in BIOS does not hide the CPUs to FreeBSD (bug in BIOS/FreeBSD). Until you enable scheduler to schedule tasks to HTT cores (with machdep.hyperthreading_allowed=1 in loader.conf) (disabled by default due to mentioned security/performance reasons) machine won't utilize the logical HTT CPUs. Therefore total CPU utilization won't be more than 50%, because there are the (unused) logical CPUs which don't get scheduled tasks. As far as know - trying to use HTT normally hurts performance and only a very special load on a machine can show increase in overall performance. Newer Intel CPUs have better HTT (probably meaning less sharing of stuff among the HTT cores - towards current trend - multi-core) and there they say it performs quite good with real world load to handle the logical cores as separate CPUs. Of course (if you built purpose built appliance) you can squeeze more from the HW when you exactly know what you need to do - you have some task(s) which do the data analysis and kernel threads which do the interrupt processing/data shifting) - than effectively using HTT might be possible (I have never heard of anyone effectively using HTT). Newest Intel CPUs don't bother with HTT - they are multicore - close to nothing is shared among (logical) CPUs. You would see each of these CPUs as a CPU in FreeBSD and they will get scheduled tasks to finish. Michal
Re: e-mail server farm question
On Mon, May 22, 2006 at 11:16:41PM -0500, Vulpes Velox wrote: Maildir makes it easy to distribute it across multiple machines as well. Cyrus Murder looks even better --- take a look at http://cyrusimap.web.cmu.edu/configuration.html There is, of course, a catch --- you can only access the mail store via IMAP/POP3/LMTP (you cannot touch the files directly, though it _is_ easy to extract the data in case you decide you do not want to see Cyrus any more), but that can be considered an advantage. (I have stardet reading this thread in the middle, if you have already considered cyrus, just ignore me) mf -- May God bless and keep the Tsar far away from us. pgpG2SQ1rKXLK.pgp Description: PGP signature
Re: memory usage
Jonathan Horne wrote: On Sunday 07 May 2006 12:09, Jonathan Horne wrote: i have a server that has 2GB ram, recently upgraded from 1GB ram. it runs apache2.0 with php5, sendmail with spamass-milter, dovecot, mysql5.0, cacti, and a couple other small things (like snmp, my bx irc shell, etc). when ever i look at the memory usage (via phpsysinfo, or cacti graphs), its nearly always showing less than 100mb of ram available. top shows several perls (probably spamassassin), 8 or so httpds (typical), but that would probably only account for (a liberal guess) 500-600 mb of ram. is there a good way to find out where this bottomless ram funnel leads to? or, should this behavior just be considered typical? thanks, jonathan update... i just upgraded to the new phpsysinfo rc2, and it shows more detailed information about what the memory usage is doing. it shows that 1.57GB is being used by buffers. what is the significance of 1.57GB of memory being used by 'buffers'? I would expect a question like this is somewhere in the FAQ. It is typical that you only see a couple of hundred kilobytes of free memory on a (at least a little used) FreeBSD system. The system allocates 'physical' memory as needed (as long as there is some free) and only when there is no free memory, it starts to reuse some of the 'almost' free memory. 'Almost' free memory is mainly disk cache (your buffers). This is nothing to worry about. You can see there is a memory shortage when there is some swapping during normal workload (in top there appears kb in/out on the swap line). It is neither anything to worry about when you have some swap space used - FreeBSD is rather aggresively copying parts of memory to swap when it feels to. As long as it doesn't need to use the data in the swap often it's an optimization - even disk cache is better usage of your memory then inactive parts of your programs' memory. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Purchasing the correct hardware: dual-core intel? Big cache?
Bill Moran wrote: I've been asked to make some hardware recommendations, I'm hoping some folks on the list can make some suggestions. We're looking hard at getting either Intel dual-core procs, or getting hyperthreaded procs with huge (8M) caches. We currently have a few dual proc Intel HT machines that we can test out our workload on, and I'm trying to get a feel for how to determine if a larger cache size will generate better performance than replacing HT procs with full-blown dual-core procs. We're looking at the 6850 from Dell, which supports both processor families: I can't answer your question either but I'd like to raise a couple of questions. If I won't help you I would at least (I hope) learn a little from reactions :-). As far as I know Intel boxes scale quite badly to larger SMP configurations because of at least partially shared FSB which limits memory throughput and which is also consumed great deal by cache coherency maintenance traffic I believe. Dual core may help a little I suppose (I would expect that Intel engineers made memory snooping a little more efficient when accesses are going through one piece of silicon (e.g. the cache coherency traffic's pressure on FSB should be lower between the cores on the same die in comparison to separate cores)). As you may have guessed by now I think that there's some possibility that you would get better performance with AMD Opteron based solution (I know that Dell doesn't normally sell it though) which probably scaler better or even something more exotic (Sun Hardware - UltraSparc, T processors). Even when there isn't pressure on the I/O hardware in your case you may have suboptimally configured PostgreSQL. I believe that PostgreSQL processes do not tend to grow much (at least in comparison to other RDBMS engines). I think that the explanation by psql people is that the huge amounts of memory other engines are using is often used for caching the data and that they (psql) believe that the operating system should be doing that (otherwise you waste memory on caching both in the OS and in the application). With huge databases you should at the end become I/O bound (or at least there must be big I/O traffic) and then I would agree with psql people that there's not much point replicating OS caching in the DB engine. But if crucial parts of working data fit into the memory I would expect that storing them in process should be beneficial. I expect there must be at least a little data verification and shuffling before psql uses the pages from the DB files. Maybe the amount of this work is negligible with real disk I/O, but it may play some role when no real disk I/O is involved. Another explanation why PostgreSQL doesn't grow much may be that they use a lot of shared memory and this is in general probably rather scarce resource (at least the users have to configure something rather low-level to have it up and running). What are your needs regarding the SQL engine anyway? Can't the needs be fulfilled by something other than PostgreSQL? I hate to say that, but possibly MySQL? Or can Firebird be better? I don't know firebird much but I think that it is quite full-featured and although it isn't such widespread it has great performance at least in some benchmarks. What about the operating system? I haven't seen FreeBSD mentioned in your question but I suppose you are running it (because you write to a FreeBSD ML). What about Linux? (Open)Solaris? I think when you are in such big need for performance you shouldn't try just one solution. We (FreeBSDers) would of course like to help you to get the best performance from our favorite OS but maybe you will help make FreeBSD better if you find your application runs considerably better on something else and someone may later find the reason. Last I would like to only express my belief that bigger cache may in fact help you but that nobody can probably say it in advance. Regards Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chkrootkit
Hi you can use also this port /usr/ports/security/rkhunter after the instalation update the database rkhunter --update rkhunter -c Best regards Michal Kapalka Ні, questions! I badly know english, beforehand I apologize for the illiteracy. I ask the help you in the decision of my problem. I have loaded program stock-takings rootkit from a site http://www.chkrootkit.org/. Has started, and has received below resulted result. I am disturbed with a line Checking `date'... INFECTED # ./chkrootkit ROOTDIR is `/' Checking `amd'... not infected Checking `basename'... not infected Checking `biff'... not infected Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `date'... INFECTED Checking `du'... not infected Checking `dirname'... not infected Checking `echo'... not infected Checking `egrep'... not infected Checking `env'... not infected Checking `find'... not infected Checking `fingerd'... not infected Checking `gpm'... not found Checking `grep'... not infected Checking `hdparm'... not found Checking `su'... not infected Checking `ifconfig'... not infected Checking `inetd'... not infected Checking `inetdconf'... not infected Checking `identd'... not found Checking `init'... not infected Checking `killall'... not infected Checking `ldsopreload'... not tested Checking `login'... not infected Checking `ls'... not infected Checking `lsof'... not found Checking `mail'... not infected Checking `mingetty'... not found Checking `netstat'... not infected Checking `named'... not infected Checking `passwd'... not infected Checking `pidof'... not found Checking `pop2'... not found Checking `pop3'... not found Checking `ps'... not infected Checking `pstree'... not found Checking `rpcinfo'... not infected Checking `rlogind'... not infected Checking `rshd'... not infected Checking `slogin'... not infected Checking `sendmail'... not infected Checking `sshd'... not infected Checking `syslogd'... not infected Checking `tar'... not infected Checking `tcpd'... not infected Checking `tcpdump'... not infected Checking `top'... not infected Checking `telnetd'... not infected Checking `timed'... not infected Checking `traceroute'... not infected Checking `vdir'... not found Checking `w'... not infected Checking `write'... not infected Checking `aliens'... no suspect files Searching for sniffer's logs, it may take a while... nothing found Searching for HiDrootkit's default dir... nothing found Searching for t0rn's default files and dirs... nothing found Searching for t0rn's v8 defaults... nothing found Searching for Lion Worm default files and dirs... nothing found Searching for RSHA's default files and dir... nothing found Searching for RH-Sharpe's default files... nothing found Searching for Ambient's rootkit (ark) default files and dirs... nothing found Searching for suspicious files and dirs, it may take a while... nothing found Searching for LPD Worm files and dirs... nothing found Searching for Ramen Worm files and dirs... nothing found Searching for Maniac files and dirs... nothing found Searching for RK17 files and dirs... nothing found Searching for Ducoci rootkit... nothing found Searching for Adore Worm... nothing found Searching for ShitC Worm... nothing found Searching for Omega Worm... nothing found Searching for Sadmind/IIS Worm... nothing found Searching for MonKit... nothing found Searching for Showtee... nothing found Searching for OpticKit... nothing found Searching for T.R.K... nothing found Searching for Mithra... nothing found Searching for OBSD rk v1... nothing found Searching for LOC rootkit ... nothing found Searching for Romanian rootkit ... nothing found Searching for Suckit rootkit ... nothing found Searching for Volc rootkit ... nothing found Searching for Gold2 rootkit ... nothing found Searching for TC2 Worm default files and dirs... nothing found Searching for Anonoying rootkit default files and dirs... nothing found Searching for ZK rootkit default files and dirs... nothing found Searching for ShKit rootkit default files and dirs... nothing found Searching for AjaKit rootkit default files and dirs... nothing found Searching for zaRwT rootkit default files and dirs... nothing found Searching for anomalies in shell history files... nothing found Checking `asp'... not infected Checking `bindshell'... not infected Checking `lkm'... nothing detected Checking `rexedcs'... not found Checking `sniffer'... rl0 is not promisc plip0 is not promisc Checking `w55808'... not infected Checking `wted'... nothing deleted Checking `scalper'... not infected Checking `slapper'... not infected Checking `z2'... nothing deleted Mine FreeBSD: FreeBSD server.alf-ua.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Jan1112:41:53GMT2006 root@:/usr/src/sys/i386/compile/kernel_11.01.06 i386 Has come home, has put same FreeBSD on a domestic computer, the same report, Checking `date'... INFECTED How to me
Re: Attacking our pc router at work
Mark Jayson Alvarez wrote: Hi, I have one question. What if I change my ip and mac address at the same time to that of our pcrouter's ip and mac... Will this going to kick out that router in our network, causing the rest of the entire lan to be out of service?? No one's gonna caught me right?? Arpwatch can only watch if an ip address has moved to another mac address but not when both ip and mac has moved to another ip and mac... Do you know any possible solution to this?? Your question is off topic for this list. Use inteligent switches (not hubs) and port security (you can allow only a specific MAC address behind a switch port). You could also use static entries on the switch for some MAC addresses (entry on a switch is a MAC address + port behind which the address can be found) but that isn't as safe. An attacker can generate traffic with lots of source MAC addresses. Every switch has limited memory to store the MAC addresses and usually when the table is full it starts working as a hub. A sophisticate attacker may still be able to contaminate end stations - if he sends a gratuitous ARP reply to a station where he pretends he is the router (changes the MAC address), he will receive the traffic for the router and can also then make man-in-the-middle attacks (insert himself into forwarding chain of the station). More sophisticated solution is using 802.1x - port-based authentication - a switch will only start forwarding traffic to you once you authenticate and you of course shouldn't be able to authenticate as the server. On FreeBSD you can disable ARP and/or create static ARP entries and it will protect you a little but you also need to configure some protection on the network infrastructure. It's quite a complex issue to protect against this type of attack and I am no real guru so please take what I said with a grain of salt. HTH Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terrible performance in 6.1beta4
Miguel wrote: .. postgresql is slow for me and others wrote: ... you may have to dedicate more memory to it Sorry for the above, but I haven't seen the beginning of the thread. I don't know PostgreSQL much but I also has been recently running quite simple program on one quite large table (2 milions of rows) and was trying to tune it. I haven't benchmarked anything (only that it was several orders of magnitude faster to run it on much bigger machine (2x2.8G Xeon, 2GB RAM, 10/15kRPM SCSI disks vs. 1xP4 Celeron 2.4G, 256MB RAM and an IDE disk)). I did the tuning after reading a little on the Net but the _POSSIBLY_IMPORTANT_ message I found was that PostgreSQL is a little different to other DB engines that it normally doesn't eat comparatively much memory even on loaded system because the developers believe that when a data set is much bigger than available memory (usual for big databases) it doesn't make sense to cache much in the DB engine because the OS can do it too and you can save memory... Above is the core of what I wanted to say - PostgreSQL process size was quite small (~100MB) on the bigger machine yet I think I tuned it according to the recommendations and that it is probably expected and correct with PostgreSQL. After comparing my config file to yours I see some differences: I have set some limits lower than you (shared_buffers 65536 vs. 1, work_mem 83886 vs. 1) and one higher (max_fsm_pages 2 vs. 10). I suspect that the main difference in our configs is fsync setting though. I have fsync = off and you the default (on). This may be very important difference, maybe similar to MySQL's innodb_flush_log_at_trx_commit (which, when set to 2, raises the performance of MySQL with InnoDB on FreeBSD significantly). I seem to remember that I read somewhere that fsync is pretty expensive on FreeBSD in comparison to Linux (because they cheat, as usual :-)) so maybe you can give it a try on your PostgreSQL too. It probably is a little dangerous though. HTH Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bluetooth - obexapp - get/put files with spaces in names
On Sun, Feb 19, 2006 at 01:25:28AM +, dgmm wrote: After some fiddling and hair pulling I eventually got my bluetooth adapter to see the mobile phone. I'd like to pull some files from it but either I'm not seeing the obvious or it just ain't obvious. Does anyone know how to change to a directory which has spaces in the name or get a file which has spaces in the name? $ obexapp -a siemens -c -C ftrn -f obex ls AccessOwnerGroupSize Modified Name RWD Wn/a n/a n/a01-Jan-04 00:00 Data/ RWD Wn/a n/a n/a15-Jan-04 00:00 MMCard/ Success, response: OK, Success (0x20) obex cd Data Success, response: OK, Success (0x20) obex ls AccessOwnerGroupSize Modified Name WD Wn/a n/a n/a01-Apr-04 03:00 System/ RWD Wn/a n/a n/a01-Apr-04 03:00 Misc/ RWD Wn/a n/a n/a01-Apr-04 03:00 Animations/ RWD Wn/a n/a n/a01-Apr-04 03:00 Pictures/ RWD Wn/a n/a n/a01-Apr-04 03:00 Sounds/ RWD Wn/a n/a n/a01-Apr-04 03:00 Themes/ RWD Wn/a n/a n/a01-Apr-04 03:00 Videos/ RWD Wn/a n/a n/a01-Apr-04 03:00 Java/ RWD Wn/a n/a n/a01-Apr-04 03:07 Skins/ RWD Wn/a n/a n/a01-Apr-04 05:00 Voice memo/ RWD Wn/a n/a n/a21-Oct-05 21:11 Sms archive/ RWD Wn/a n/a n/a19-Feb-06 14:55 Video clips/ Success, response: OK, Success (0x20) obex cd cd: remote directory Video clips Success, response: OK, Success (0x20) obex Not really intuitive. mf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: again canon printer trouble
[EMAIL PROTECTED] wrote: Michal Mertl wrote: [EMAIL PROTECTED] wrote: Ok, two short questions. -Is someone able to translate this for me (seems to be Czech)? http://www.abclinuxu.cz/hardware/show/65412;jsessionid=10vmgmw8u8l16 -May my problem be due to acpi in any way? I don't know acpi either. But may try something like debug.acpi.disabled=isa in /boot/device.hints. Good or bad idea ? Hello. I am Czech. The page talks about using the printer under Linux. Canon provides drivers for it. I don't know if they can be used because I don't know the CUPS much. If the driver/filter program is (can be) invoked manually, you could probably use it with FreeBSD native CUPS. If not you can possibly run Linux CUPS and print to it even from FreeBSD native applications. If the program directly communicates with the printer you may be out of luck because you don't run Linux kernel and the emulation may not be complete in these low-level areas. I didn't see your original post but printing issue can not be caused by ACPI unless the interface for printing doesn't work at all. If for example you use USB connection to the printer and something else USB works, than ACPI can't be at fault. HTH Michal Hi Michal, Definetely this ML should be read at least by czech people. Others are welcome for sure. Thanks a million for your translation and re-explanation. I am going to test in that way tomorrow. Of course, I still do not understand why I cannot print directly with /dev/lpt0. I have never tried this but I believe it should work. You have to know how to talk to your printer, usualy using some language like Postscript or PCL or some vendor special language for modern ink printers. About acpi, I told that because I have ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0 in dmesg and all the examples I saw had isa instead of acpi. Any idea? Is it normal? I think that the old reports were from older FreeBSD version which didn't have ACPI or from old machines which didn't have lpt in ACPI. Nowadays on acpi0 is pretty common. Thanks again Michal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quotas + jail ?
Vladimir Dvorak wrote: Hello, I have simple question - is possible to use quotas in jail(8) environment ? Yes, it is, although with some restrictions. You have to enable the disk quotas from the host (have them listed in host's /etc/fstab). To operate the quotas from inside the jail quotas have to be mentioned in jail's /etc/fstab too (when using the file name of quota file it has to be relative to jail's root). Repquota/edquota/quota work inside the jail. You have to keep in mind that disk quotas are in fact a property of a filesystem and are not related to jails at all. So if two jails share a filesystem the disk quotas are shared too. If you have users with the same UID in both the jails they will share the quota. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quotas + jail ?
Marc G. Fournier wrote: On Wed, 11 Jan 2006, Michal Mertl wrote: Vladimir Dvorak wrote: Hello, I have simple question - is possible to use quotas in jail(8) environment ? Yes, it is, although with some restrictions. You have to enable the disk quotas from the host (have them listed in host's /etc/fstab). To operate the quotas from inside the jail quotas have to be mentioned in jail's /etc/fstab too (when using the file name of quota file it has to be relative to jail's root). Repquota/edquota/quota work inside the jail. You have to keep in mind that disk quotas are in fact a property of a filesystem and are not related to jails at all. So if two jails share a filesystem the disk quotas are shared too. If you have users with the same UID in both the jails they will share the quota. How hard would it be to extend quotas so that its not just uid/gid based, but directory? ie. everything under /vm/jail1 falls under this quota, regardless of uid/gid? I don't think I understand your goal. Do you want some grand limit for whole jail's disk usage or have separated quotas for jails on the same partition? Neither can be done at the moment with disk quotas. The needed changes to support either will be quite extensive I believe. I recommend using separate partition for each jail. This will allow you to achieve both goals at the same time. If you have lot of jails and the number of partitions is the problem you can use gpt(8) or vnode based md(4) (see mdconfig(8)). With md(4) you can also use sparse backing files and that way have more space than you have on physical drives. Beware of overcommit though - I wouldn't be surprised if the system crashed when the disk is full and the md(4) file system is supposed to have free space in it. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gmirror dump device does not exist?
Nick Pavlica wrote: All, I have just set up a FBSD6.0 server configured with gmirror/raid1 using two SATA drives ad4 ad6 according to these instructions: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Everything is functioning properly with the exception of a boot warning that indicates that a dump device does not exist. I'm sure that I just missed something simple during the setup procedure. Does anyone have the quick fix for this? It is not possible to dump kernel to gmirror. The reason is that at the time, when the kernel is dumping core, it is usually in pretty bad state, kernel internals may be corrupted and so on. The dumping code is therefore written to be quite low level so that even wedged kernel can be dumped. The dumping code is part of hard disk controller's drivers. The gmirror is quite high-level device and geom itself needs working scheduler so there will probably never be a way to dump on gmirror provided swap. When the dumpon command is issued the check is performed whether the driver for the disk you want to dump on supports kernel core dumps. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipnat and ping problem.
Maślanka Wojciech píše v pá 23. 12. 2005 v 23:07 +0100: This is my network: Internet---[rl0, 192.168.0.50_10.0.0.1 ,rl1]--[10.0.0.2] On 10.0.0.2 machine I cant ping any host in internet. I can ping only 10.0.0.1 and 192.168.0.50. :( Whats wrong?? [/usr/src]#uname -a FreeBSD freebsd.mila10.6 6.0-RELEASE FreeBSD 6.0-RELEASE [/usr/src]#ipfstat -io pass out quick all pass in quick all [/usr/src]#ipnat -l List of active MAP/Redirect filters: map rl0 10.0.0.0/24 - 192.168.0.50/32 proxy port ftp ftp/tcp map rl0 10.0.0.0/24 - 192.168.0.50/32 portmap tcp/udp auto map rl0 10.0.0.0/24 - 192.168.0.50/32 You need also map rl0 10.0.0.0/24 - 192.168.0.50/32 icmpidmap icmp 64000:65535 In the documentation of ipnat(5) there's written that for this to reliably work you have to recompile the world with limited PID_MAX but it works without it. List of active sessions: MAP 10.0.0.2 3610 - - 192.168.0.508666 [66.249.85.83 80] MAP 10.0.0.2 3609 - - 192.168.0.508665 [66.249.85.83 80] MAP 10.0.0.2 3608 - - 192.168.0.508664 [66.249.85.19 80] MAP 10.0.0.2 3607 - - 192.168.0.508663 [194.204.152.34 53] MAP 10.0.0.2 3606 - - 192.168.0.508662 [66.249.85.83 80] Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to remove a Hotplug Laptop CD/DVD Drive
On Thu, Oct 20, 2005 at 05:27:22PM +0200, Thomas Linton wrote: What is the correct and safe way to remove a Hotplug CD/DVD Drive from a Laptop? If the drive is on a separate IDE channel, try atacontrol stop channel mf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ath driver within 5.4-RELEASE
Glyn Tebbutt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew L. Gould wrote: On Tue, 16 Aug 2005 13:36:14 -0500 Nikolas Britton [EMAIL PROTECTED] wrote: On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I just wanted to know if the ath driver is included within the 5.4- RELEASE as I can't seem to find it with the GENERIC config or do I just load auth with kldload ? I can't check as I'm not at home atm. Thanks in advance Glyn Yes it's part of 5.4, started life in 5.2, man ath: http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html http://www.freebsd.org/cgi/man.cgi The ath driver is available in 5.4 RELEASE; but is not compiled into the GENERIC kernel. If my memory serves me correctly, people on this list have reported problems loading the kernel modules. Therefore, you'll probably need to recompile the kernel with the following: device ath device ath_hal Regards, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks for your replies guys. Will this support 11g as I read something about the wireless stack in 6.0 is different in some way compared to 5.4 ? I tried to compile 6.0-BETA 2 with both device ath and device ath_hal but the kernel compile died with undefined symbol error's, i've google it but not found anything, any idea's guy's ? I don't know if 5.4 supports 11g but it I know it doesn't support too much advanced authentication mechanisms (WPA). I believe you need not only ath and ath_hal in the kernel config file but also wlan and some ath_rate module (one of ath_rate_onoe, ath_rate_amrr or ath_rate_sample). The recommended rate module is ath_rate_sample. Why do you compile the modules statically into the kernel? Modules should work too. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ath driver within 5.4-RELEASE
Glyn Tebbutt wrote: Michal Mertl wrote: I don't know if 5.4 supports 11g but it I know it doesn't support too much advanced authentication mechanisms (WPA). I believe you need not only ath and ath_hal in the kernel config file but also wlan and some ath_rate module (one of ath_rate_onoe, ath_rate_amrr or ath_rate_sample). The recommended rate module is ath_rate_sample. Why do you compile the modules statically into the kernel? Modules should work too. My other cards on linux dont support WPA yet anyway so I'm using WEP atm (yes I know its crappy and insecure:() I'm new to freebsd so im not exactly sure how everything works yet, so the kernel config builds all the stuff you need into the kernel but modules for everything else is still compiled? Yes. By default all the modules are always compiled and installed (in /boot/kernel/*.ko). because on my 6.0-BETA 2 ath module doesn't exists :? so in theory which module's do I need to load Modules for network cards are called if_$cardname(.ko). So to load ath(4) support you'd issue 'kldload if_ath'. The linker loads whatever other modules are required for function of the module which aren't compiled in or already loaded (so ath would load wlan, ath_rate and ath_hal). Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any ipf wizards out there?
Gary Kline wrote: Folks, A couple weeks ago I realized that my ipf ruleset was messing up my web access ... ad had been for months I just tried an older, simpler ipf.rules. Same results. Can anybody out there in FreeBSD-land clue me in please? Without any concrete information it's hard to guess. The only thing I can think of is that you don't allow outgoing ICMP packet-too-big. This will make it for users with small MTU (e.g. some dial-up, PPPoE (ADSL) impossible to receive bigger pages (longer then their MTU minus something). gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: inbound ssh ceased on 4 servers at same time
John Brooks wrote: sshd is running on the affected machines no errors on console or logs, just times out waiting for the password prompt. interestingly: when investigating this at the console, attempting ssh sessions from the db server and backup server to the file server (these two are 'deeper' in the network so there was never an occasion to ssh FROM them before) produced the std warning about an unknown host prompting for inclusion in the ~/.ssh/known_hosts file. dns is not really involved, the ssh session is sent to the ip address directly as in ssh [EMAIL PROTECTED] With SSH a host name lookup is always involved. The server performs reverse and forward lookup on the connecting IP. I've recently also had problem with SSH and it was DNS issue. A good test if a daemon is running is connecting with telnet to its port - you can see three kinds of responses - connection reset (refused) on a closed port (nothing listens on this port), nothing (just message 'Trying...' - on non-existent/firewalled host/port) and established connection (telnet says 'Connected to...'). If you get 'Connected' with ssh and nothing is displayed it's in 99% of cases a DNS issue. If you get some message or the server just disconnects you (you get 'Connection closed' message) it might be tcpwrappers' decision (man 5 hosts_access). If you happen to have intermittent DNS issues you might better put the important hosts into /etc/hosts which is by default queried before the DNS servers. The other daemons working need not to mean much - they may not do a reverse DNS lookup on connecting IP. ping works in both directions as does all other network services (internal mysql, intranet http, pop3, smtp, smbd, nmdb, dns). network hardware and cabling issues have been effectively ruled out. -- John Brooks [EMAIL PROTECTED] -Original Message- From: Glenn Dawson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 2:56 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: inbound ssh ceased on 4 servers at same time At 09:05 AM 6/4/2005, you wrote: Yesterday at about noon, all four freebsd servers on a clients lan quit accepting ssh connections. All were running 4.11-release-p4, and had been cvsup'd at the same time from cvs-10, cvs-11, or cvs-12. Outbound ssh (from console of the affected boxes) works as expected, both to local openbsd boxes and to remote locations. There are no host based firewalls involved, and all other network services are operating correctly. Netstat shows port 22 as listening. At 11:20 am (40 minutes earlier), ssh was working properly on all boxes. Has anybody encountered a situation like this before? Not specifically, but the first things I would check: is sshd running on the affected machines? when trying to connect to the affected machines, do the clients give any error messages? or does the connection just time out? are there any relevant entries in the log files on the affected machines? specifically /var/log/messages and /var/log/auth.log are the affected machines using the same name server? and if they are, can the affected machines do forward and reverse lookups for the IP of the system you are trying to connect from? -Glenn -- John Brooks [EMAIL PROTECTED] ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTP issues with 5.4 (SOLVED)
I wrote: Hello, I run ntpd in daemon mode on several FreeBSD computers and synchronize with 'ntpd -q' all others. I've just updated one machine to 5.4 (from 5.3) and noticed the daemon was unhappy, often logging 'time reset' and resynchronizing with peers. On other machines I also only recently (after the upgrade to 5.4) see ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were all fine before. I searched the web and archives and found some more people complaining about similar issues but I haven't found any good answer. At first I thought it was happening only on SMP computers but it isn't the case. The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and i8254. I'd like to let you all know that I don't think the problem is as widespread as I originally thought. After tens of restarts of ntpd processes I've never experienced any problem synchronizing. No more hung 'ntpd -q' processes either. I suspect the latter was a consequence of my server having problems synchronizing. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up ntpd on FreeBSD (5.4)
Benjamin Keating wrote: I'm running a generic install of FreeBSD 5.4 and would like to setup ntpd. ntpdate doesn't do me much good as I rarely reboot, but I took the handbooks suggestion of using it anyway (and I've verified it works)). Anyway, I'm having trouble setting up ntpd and it'd be great if I could get your input on my steps. I'd like for other machines on my network to talk to this one (ntpd server) to get the time rather then define each machine with it's own public ntpd servers. 1). Add ntpd_enable=YES to /etc/rc.conf 2). Create /etc/ntp.conf and (touch) /etc/ntp/ntp.drift /etc/ntp directory isn't used by default on 5.4. The default location for ntp.drift file is /var/db. I've never created it by hand (not even by 'touching' it), it gets created automatically. Permissions: /etc/ntp.conf-rw-r--r-- root:wheel /etc/ntp/ntp.drift -rw-r--r-- root:wheel %- BEGIN /etc/ntp.conf - restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap server clepsydra.dec.com server clock.fmt.he.net server clock.isc.org driftfile /etc/ntp/ntp.drift %- END /etc/ntp.conf - I rebooted and watched my /var/log/messages and saw: May 12 15:17:08 toki ntpd[349]: Frequency format error in /etc/ntp/ntp.drift I did a sockstat -l and you can see ntpd is running (BTW, is there anyway to have it not listen to for IPv6? I only use 4 and I hate seeing that clutter). I don't know. I run kernels without IPv6 so I only get a warning message it can't bind to IPv6. Have you searched the documentation in /usr/share/doc/ntp? After a quick search I haven't found anything but it well may be there. Some programs don't compile IPv6 support is NO_INET6 is defined (e.g. in /etc/make.conf) but ntp utilities' source doesn't contain the string so this wouldn't probably help either. What am I doing wrong? /etc/ntp/ntp.drift is writeable by root, which ntpd is running as... Im confused. Anyhelp would be greatly appreciated. Thanks - bpk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up ntpd on FreeBSD (5.4)
Rob wrote: Michal Mertl wrote: /etc/ntp directory isn't used by default on 5.4. The default location for ntp.drift file is /var/db. I've never created it by hand (not even by 'touching' it), it gets created automatically. No, there's no such default as /var/db/ntp.drift. It's either /etc/ntp.drift or /var/db/ntpd.drift, depending on which of the two you consider is the 'most' default :). Sorry, I haven't actually checked my 'facts' before replying. It was because, as I wrote in my reply, the file gets created automatically and I don't change the defaults. I don't do it without a good reason. Sorry again for increasing the confusion. I hope it still helped the original poster. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: NTP issues with 5.4
Ted Mittelstaedt pe v st 11. 05. 2005 v 21:05 -0700: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michal Mertl Sent: Wednesday, May 11, 2005 3:59 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: NTP issues with 5.4 Ted Mittelstaedt wrote: Did you do an in-place update or a nuke-and-repave update? if it's an in-place update, then do a nuke-and-repave on your test system and see if the problem still happens. If not then there's a library or something somewhere that the updater forgot about. It update with buildworld and mergemaster. I doubt the issue can be cause by something in my config or installation. By 'nuke-and-repave' you mean fresh install? I can't do that on the machines in question, one of them is acting as a router. Then go to Goodwill and buy a $10 PC and load 5.4 on it. Your making excuses. If you have that many production systems that you just can't turn off, then you damn well better have a test system. Please calm down and don't order me what to do. I have been doing upgrades from source for ages and never had a problem. It is a documented process and I only upgraded some of the computers from 5.3 to 5.4, e.g. not across major versions. I believe the chance it's caused by borked installation is minimal - what do you think influences ntpd? It's linked to 4 libraries, all of them are updated, it doesn't use any system config files and there was only a slight change in imported ntp version. It can be caused by bad config of ntpd which only recently began to matter or more probably by a kernel change. I will try to boot with 5.3 kernel. I'll also try to see if I can reproduce it on some computer which I can try fresh install on. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTP issues with 5.4
Rob pe v t 12. 05. 2005 v 07:47 -0700: Michal Mertl wrote: I have been doing upgrades from source for ages and never had a problem. It is a documented process and I only upgraded some of the computers from 5.3 to 5.4, e.g. not across major versions. I'm running 5-Stable, and each time I restart my router/gateway/server (also ntpd server), I have trouble getting the ntpd server operate properly. I still haven't figured out what's going wrong. Somehow ntpd can't access the external servers; during that time it will also refuse to be the server to my local network (so also the PCs on my local network are in ntpd trouble). After some time (hours or days) it seems to work suddenly, like magic. No, no, it's not that time is off to much. All PCs involved here are running approximately the correct time; at most 10 seconds off. However, I noticed something strange this week: I again had rebooted my router/server and the ntpd was 'out-of-order', as usual. I ran tcpdump on the external internet interface to monitor the activity on port 123, and I noticed something strange. My ntpd server was initializing itself by sending out udp requests not from port 123, but from a high port number, like this for example: my.gate.way:5045 ext.ntp.server:123 ext.ntp.server:123 my.gate.way:5045 So my server was sending udp request from the high port number to the ntp server on port 123. The ntp server then answered the udp request from port 123 to the high number port on my server. Because my firewall allows ntp/udp communication only via port 123, this communication was blocked. I guess this was causing my ntpd server to hang kind of indefinitely. When I opened up my firewall, the ntpd server suddenly made contact and all was fine. A little later, I ran the same tcpdump again, and found out that now both, my gateway/server and the external ntp server, were communicating via port 123. So I switched my firewall on again, and ntpd was still very happy, because now the ntp/udp communication went all via port 123. Hm. This is not my case. I've got firewalls configured too, but they allow this kind of traffic too. And I don't have them on all the computers I experience the problems either. Once ntpd was running for some time on the gateway, it suddenly started to function as a server to my local network; there is some delay here as if the ntpd server on my gateway has to stabilize some time first. Any comments to this? Some time is always needed before NTPD server responds to client queries AFAIK. I've just tried restarting the daemon and have been checking when it starts answering. It took about 5 minutes. When you issue sysinfo command from ntpdc you should see system peer set to something other than 0.0.0.0. My gateway is a production server, so I can't do too many experiments with rebooting the system ;(. Regards, Rob. Discover Yahoo! Find restaurants, movies, travel and more fun for the weekend. Check it out! http://discover.yahoo.com/weekend.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTP issues with 5.4
Hello, I run ntpd in daemon mode on several FreeBSD computers and synchronize with 'ntpd -q' all others. I've just updated one machine to 5.4 (from 5.3) and noticed the daemon was unhappy, often logging 'time reset' and resynchronizing with peers. On other machines I also only recently (after the upgrade to 5.4) see ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were all fine before. I searched the web and archives and found some more people complaining about similar issues but I haven't found any good answer. At first I thought it was happening only on SMP computers but it isn't the case. The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and i8254. Do you have any idea? Michal Mertl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: NTP issues with 5.4
Ted Mittelstaedt wrote: Did you do an in-place update or a nuke-and-repave update? if it's an in-place update, then do a nuke-and-repave on your test system and see if the problem still happens. If not then there's a library or something somewhere that the updater forgot about. It update with buildworld and mergemaster. I doubt the issue can be cause by something in my config or installation. By 'nuke-and-repave' you mean fresh install? I can't do that on the machines in question, one of them is acting as a router. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michal Mertl Sent: Wednesday, May 11, 2005 3:37 PM To: freebsd-questions@freebsd.org Subject: NTP issues with 5.4 Hello, I run ntpd in daemon mode on several FreeBSD computers and synchronize with 'ntpd -q' all others. I've just updated one machine to 5.4 (from 5.3) and noticed the daemon was unhappy, often logging 'time reset' and resynchronizing with peers. On other machines I also only recently (after the upgrade to 5.4) see ntp problems - 'ntpd -q' gets stuck and time goes off. The machines were all fine before. I searched the web and archives and found some more people complaining about similar issues but I haven't found any good answer. At first I thought it was happening only on SMP computers but it isn't the case. The machines have all kinds of timecounters - ACPI-fast, ACPI-safe and i8254. Do you have any idea? Michal Mertl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server-based address book with LDAP
darren david wrote: Hi all- So having sold my Mac (boo!) and being stuck with FreeBSD (yay!), I'm looking for a server-based address book replacement. LDAP seems like the way to go, but i have yet to find a good HOWTO and/or GUI based application for administering said contact repository. I'd ultimately like to be able to wire up a lightweight web-based solution for browsing addresses remotely, but first i need to get LDAP off the ground. If i ever get a Mac again, i'd likely use the new Auto LDAP-sync features in Tiger's Address Book, but for now, can anyone point me in the right direction? I found the page http://www.feldt.com/work/projects/openLDAP/ very usefull when setting up shared addressbook with OpenLDAP. The only mail client which can correctly authenticate against OpenLDAP and can insert/change records is AFAIK Evolution which works well on FreeBSD. thanks in advance, darren david ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: realplay: can't find library.
On Tue, 12 Apr 2005 11:57:54 -0700 Gary Kline [EMAIL PROTECTED] wrote: People, Anybody know where this library is built? p9 11:50 tao [4374] realplay /usr/local/lib/RealPlayer/realplay.bin: error while loading shared libraries: \ libgobject-2.0.so.0: cannot open shared object file: No such file or directory I haven't been able to find this so far. gary Try to install devel/linux-glib2 Best Regards Michal Stanislawski ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting CVSup to work
On Tue, 12 Apr 2005 01:14:34 +0200 Joost van Dijk [EMAIL PROTECTED] wrote: Then tried # cvsup -g -L 2 /root/cvsup/ports-supfile The result was cvsup command not found Where do I go, and what do I try next? Must I put something into PATH to make this work, or do I need to go to a specific directory to run cvsup? Joost Type: # rehash and try again with # cvsup -g -L 2 /root/cvsup/ports-supfile Best Regards Michal Stanislawski ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: Didier Wiroth wrote: Hi, I'm using freebsd 5.4-prerelease on my laptop. My laptop has an ati mobility radeon 9600. Unfortunately it has very poor console vesa support. SC_PIXEL_MODE does not work, 90x60 is the highest resolution I can get for now. It looks like I'm not the only one having this problem with ati chipsets: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1091839+1096057+/usr/local/w ww/db/text/2005/freebsd-questions/20050123.freebsd-questions I saw this posting: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035621.ht ml Unfortunately I'm not a programmer and have no ... to very poor patching skills. It looks to me, that in this posting(s) a few patches are grouped together to enable vesa 1024x768. 1) Has someone applied this patches? 2) As the patch(es) is/are on the entire page, I don't know how to separate them. Would someone mail me as an attachment the different patches and tell me how I should apply them: for example, mail me patch1, patch2, patch3 and the explanation how to patch them: cd /usr/src patch ~/patch1 patch ~/patch2 ...etc I think the newest and probably best (?) patch was prepared by Xin Li ([EMAIL PROTECTED]) who is also committer. I sent this email to him (or she? - sorry about that) in case he has some comments. Beware that he said he experienced some problems with previous version of the patch. I haven't tested this version of the patch myself but it at least compiles. It's available at http://people.freebsd.org/~delphij/vesa/ in files syscons.diff.20050215 and vidcontrol.diff.20050215 You would apply them with: cd /usr/src/sys/dev/syscons patch /path/syscons.diff.20050215 cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 make clean make all make install You need also to rebuild and reinstall the kernel. You must have 'options SC_PIXEL_MODE' in your kernel config. You also need to have VESA available - you can load it with kldload vesa or include it in the kernel with 'options VESA'. After reboot with the new kernel you should be able to get list of all VESA and standard modes your card support with 'vidcontrol -i mode'. To be able to use them as your console mode you need to have the appropriate font loaded. The font resolution is seen in vidcontrol output in the 'font' column. To load the font 8x8 you can use 'vidcontrol -f /usr/share/syscons/fonts/cp437-8x8.fnt' or similar. To set the mode use 'vidcontrol MODE_$num' where $num is the mode number (first column in 'vidcontrol -i mode' output). HTH Michal I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. It doesn't matter. I only saw the most complaints from notebook owners who didn't have text mode console covering all LCD surface. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. man syscons(4). It's also mentioned in NOTES although not the NOTES you were looking at. Don't forget that on 5.x there are two conf directories - one platform independent in /sys/conf and other in /sys/$ARCH/conf. Common (platform independent) options like this one are in /sys/conf/NOTES. To rebuild and reinstall the kernel, after editing my /usr/src/sys/i386/conf/GENERIC to insert 'options SC_PIXEL_MODE', would I 'make buildkernel' and then 'make installkernel' or is there something else I'm missing? No, that's the way to do it. I note that some of the messages are posted to multiple mailing lists, and I suspect that as I only read [EMAIL PROTECTED] I'm not seeing the entire story. I'm afraid that's quite possible. Please go search the archives. Jay O'Brien Rio Linda, California USA Michal Mertl Prague, Bohemia, Czech Republic :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: I feel like I am missing a lot here. I want to display 132 characters per line on my console. I am not running X Windows and it is not a notebook. It doesn't matter. I only saw the most complaints from notebook owners who didn't have text mode console covering all LCD surface. I am running 5.3-RELEASE-p5 #0. What is this SC_PIXEL_MODE and where may I find documentation on it? I don't find it in /usr/src/sys/i386/conf/NOTES. man syscons(4). It's also mentioned in NOTES although not the NOTES you were looking at. Don't forget that on 5.x there are two conf directories - one platform independent in /sys/conf and other in /sys/$ARCH/conf. Common (platform independent) options like this one are in /sys/conf/NOTES. Thanks! Now that I see that it is perhaps not required for my system, that is not a laptop, is it possible that I don't need this at all? Is it definitely needed to support 132 character terminal mode, or is just needed for laptops? There's no standard VGA 132 character text mode. It's either provided by VESA or emulated using some graphics mode. Newer graphics hardware stopped supporting extended text modes. If you want such modes you need to emulate them (render the characters using lots of small dots instead of just writing characters to the adapter which renders them for you). Support for this functionality is included in syscons/vga driver when you define options SC_PIXEL_MODE. Standard FreeBSD supports only planar graphics mode 800x600 dots with 4 bits (16) of color information per pixel which can be run on old plain VGA with 256KB of memory. The patches we are talking about add support for rendering the characters in any graphics mode your card supports (through VESA) with = 15 bits per pixel. You could then run say 1600x1200x32 bpp (16milions of colours) for a text mode console. You can't use any graphics there but the textual resolution will be bigger. There also isn't support for using simultaneously more than 16 (or is it 15?) different colors for characters even when milions are technically possible. It is wonderful to be a part of a caring community that spans the world, without concern for international borders. Fortunately for me, everyone uses english; I'm stuck with only one language (plus international morse code, but that's another story). Yes, it really is great. Not the English though. I'd prefer Czech but I'm afraid it's a lost battle :-). Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien pe v ne 10. 04. 2005 v 15:21 -0700: Michal Mertl wrote: There's no standard VGA 132 character text mode. It's either provided by VESA or emulated using some graphics mode. Newer graphics hardware stopped supporting extended text modes. If you want such modes you need to emulate them (render the characters using lots of small dots instead of just writing characters to the adapter which renders them for you). Support for this functionality is included in syscons/vga driver when you define options SC_PIXEL_MODE. Standard FreeBSD supports only planar graphics mode 800x600 dots with 4 bits (16) of color information per pixel which can be run on old plain VGA with 256KB of memory. The patches we are talking about add support for rendering the characters in any graphics mode your card supports (through VESA) with = 15 bits per pixel. You could then run say 1600x1200x32 bpp (16milions of colours) for a text mode console. You can't use any graphics there but the textual resolution will be bigger. There also isn't support for using simultaneously more than 16 (or is it 15?) different colors for characters even when milions are technically possible. Thanks for the explanation, it is appreciated. I tried the process and encountered errors. Here's what happened: patch /tmp/syscons.diff.20050215 this went fine. patch /tmp/vidcontrol.diff.20050215 returned errors as shown below: # patch /tmp/vidcontrol.diff.20050215 Hmm... Looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.1 |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v |retrieving revision 1.55 |diff -u -r1.55 vidcontrol.1 |--- vidcontrol.1 2 Mar 2003 21:04:21 - 1.55 |+++ vidcontrol.1 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.1 using Plan A... Hunk #1 succeeded at 11. Hunk #2 succeeded at 88. Hunk #3 succeeded at 297. Hunk #4 succeeded at 532. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |Index: vidcontrol.c |=== |RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.c,v |retrieving revision 1.48 |diff -u -r1.48 vidcontrol.c |--- vidcontrol.c 13 Jan 2005 03:59:44 - 1.48 |+++ vidcontrol.c 17 Jan 2005 05:27:25 - -- Patching file vidcontrol.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 48. Hunk #3 succeeded at 66 with fuzz 1. Hunk #4 failed at 187. Hunk #5 succeeded at 223. Hunk #6 failed at 239. Hunk #7 failed at 257. Hunk #8 failed at 297. Hunk #9 failed at 332. Hunk #10 succeeded at 348 with fuzz 2. Hunk #11 failed at 377. Hunk #12 failed at 419. Hunk #13 failed at 507. Hunk #14 failed at 572. Hunk #15 failed at 669. Hunk #16 failed at 722. Hunk #17 failed at 743. Hunk #18 failed at 806. Hunk #19 succeeded at 891. Hunk #20 failed at 900. Hunk #21 failed at 933. Hunk #22 succeeded at 950 with fuzz 2. Hunk #23 failed at 962. Hunk #24 failed at 985. Hunk #25 failed at 1035. Hunk #26 failed at 1050. Hunk #27 succeeded at 1148. Hunk #28 succeeded at 1173. Hunk #29 succeeded at 1217. Hunk #30 succeeded at 1234. 19 out of 30 hunks failed--saving rejects to vidcontrol.c.rej done Not being a c programmer, I can't understand what the vidcontrol.c.rej file is trying to tell me. It is a 29K file. As I recalled a previous email telling someone to go ahead anyway, I went ahead with make clean and that went ok. Then I did make all and here's the results: You haven't read the thread in the archives carefully enough, have you? Here is what I wrote (privately to the original poster but I explained the error to the mailing list too): What? I don't know how the patching of vidcontrol ended but you'd better redo it with fresh files from current. Go download vidcontrol.c v 1.48 and vidcontrol.1 from http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/ Then run the patch on it again and recompile/reinstall vidcontrol binary. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Jay O'Brien wrote: Michal Mertl wrote: You haven't read the thread in the archives carefully enough, have you? Yes, but unfortunately I didn't comprehend. Here is what I wrote (privately to the original poster but I explained the error to the mailing list too): What? I don't know how the patching of vidcontrol ended but you'd better redo it with fresh files from current. Go download vidcontrol.c v 1.48 and vidcontrol.1 from http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/vidcontrol/ Then run the patch on it again and recompile/reinstall vidcontrol binary. I did that. The files are vidcontrol.1 Rev 1.55 and Vidcontrol.c Rev 1.48. Now all hunks failed. The results are below. I don't know. The text before the line starting with Patching is taken from the patch file. The patch program doesn't retrieve any files. So I think you either used bad files to patch or bad patchfile. You need to have the original files. To check they're correct you can use md5 utility. md5 vidcontrol.c MD5 (vidcontrol.c) = 1068e5a6aff863e2bc7a0c02098d43b1 md5 vidcontrol.1 MD5 (vidcontrol.1) = 080d2b84f2e3914090279fee6e5f2406 md5 vidcontrol.diff.20050215 MD5 (vidcontrol.diff.20050215) = 67ae12fe2a4fecae1bb7adb141efe021 You need to see the same strings. Then command 'patch /path/to/vidcontro.diff.20050215' must work. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to log all process launches?
Richard Morse wrote: On 8 Apr 2005, at 10:41 AM, Giorgos Keramidas wrote: On 2005-04-08 10:32, Richard Morse [EMAIL PROTECTED] wrote: Hi! I'm trying to track down an odd problem, for which it would be very useful to be able to have the computer keep track of every process that gets created -- ie, keep a list of every fork / exec that occurs. Is this possible? Yes, it is possible. This is part of what `process accounting' does. Look at the manpages of accton(8), lastcomm(1); then check the accounting_enable knob in rc.conf(5) and /etc/defaults/rc.conf Thanks! I was looking under logging and auditing and tracing -- not accounting... If you need more detailed information some patches at garage.freebsd.pl might be interesting - especially lrexec. It may be a bit outdated but it provides you with the information standard utilities don't. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any way to log all process launches?
markzero pe v p 08. 04. 2005 v 19:44 +0100: If you need more detailed information some patches at garage.freebsd.pl might be interesting - especially lrexec. It may be a bit outdated but it provides you with the information standard utilities don't. Michal Thanks for the interesting link. How much of this is committed to the tree (perhaps -CURRENT)? Quite a few of those patches seem to provide zero-cost security (like the setgid crontab) and I for one would certainly like to see them in FreeBSD in the future... Not much. His GEOM modules, jailfsstat and kern.msgbuf in some form or other as far as I can tell. The author of the patches became FreeBSD committer so you'd better ask him. Lot's of people would love to see some more it the tree. I like and would use mijail and privipc for sure. There were some discussions about the patches on the mailing lists in the past. E.g. everyone likes the idea of privipc but it seems to be almost impossible to do really correctly. Try to ask [EMAIL PROTECTED] Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Didier Wiroth wrote: Hi, I'm using freebsd 5.4-prerelease on my laptop. My laptop has an ati mobility radeon 9600. Unfortunately it has very poor console vesa support. SC_PIXEL_MODE does not work, 90x60 is the highest resolution I can get for now. It looks like I'm not the only one having this problem with ati chipsets: http://www.freebsd.org/cgi/getmsg.cgi?fetch=1091839+1096057+/usr/local/w ww/db/text/2005/freebsd-questions/20050123.freebsd-questions I saw this posting: http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035621.ht ml Unfortunately I'm not a programmer and have no ... to very poor patching skills. It looks to me, that in this posting(s) a few patches are grouped together to enable vesa 1024x768. 1) Has someone applied this patches? 2) As the patch(es) is/are on the entire page, I don't know how to separate them. Would someone mail me as an attachment the different patches and tell me how I should apply them: for example, mail me patch1, patch2, patch3 and the explanation how to patch them: cd /usr/src patch ~/patch1 patch ~/patch2 ...etc I think the newest and probably best (?) patch was prepared by Xin Li ([EMAIL PROTECTED]) who is also committer. I sent this email to him (or she? - sorry about that) in case he has some comments. Beware that he said he experienced some problems with previous version of the patch. I haven't tested this version of the patch myself but it at least compiles. It's available at http://people.freebsd.org/~delphij/vesa/ in files syscons.diff.20050215 and vidcontrol.diff.20050215 You would apply them with: cd /usr/src/sys/dev/syscons patch /path/syscons.diff.20050215 cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 make clean make all make install You need also to rebuild and reinstall the kernel. You must have 'options SC_PIXEL_MODE' in your kernel config. You also need to have VESA available - you can load it with kldload vesa or include it in the kernel with 'options VESA'. After reboot with the new kernel you should be able to get list of all VESA and standard modes your card support with 'vidcontrol -i mode'. To be able to use them as your console mode you need to have the appropriate font loaded. The font resolution is seen in vidcontrol output in the 'font' column. To load the font 8x8 you can use 'vidcontrol -f /usr/share/syscons/fonts/cp437-8x8.fnt' or similar. To set the mode use 'vidcontrol MODE_$num' where $num is the mode number (first column in 'vidcontrol -i mode' output). HTH Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re : Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Didier Wiroth wrote: Hello, Thank you very much for replying. cd /usr/src/usr.sbin/vidcontrol patch /path/vidcontrol.diff.20050215 I'm using the RELENG_5 sources from today. The syscons.diff.20050215 works but the vidcontrol.diff.20050215 gives some errors. The diff is against the sources from -CURRENT where it applies and compiles cleanly. You should be ok using the current vidcontrol sources on -STABLE. The only difference is just some code purity fixes by Xin Li - probably in preparation for integrating the changes we speak about. Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: drm/dri/glxinfo on 6-current xorg 6.8.2 with radeon 9200
Randy Primeaux wrote: Hi, I'm having trouble getting DRI direct rendering enabled. I had it enabled in October, however since then I've upgraded everything but my video card. The earliest point where I can find a failure report is in Xorg.0.log: (EE) RADEON(0): [drm] Failed to map vertex/indirect buffers list I believe the problem was caused by a major changes in the tree and a bug in DRM which was exposed by them. DRM was crippled on Feb 22. It was fixed on Apr 10. Try with newer CURRENT and I believe it will work for you again. You really only need a new kernel. HTH Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT
Didier Wiroth wrote: Unfortunately with patch applied it does not compile on stable: Warning: Object directory not changed from original /usr/src/usr.sbin/vidcontrol cc -O -pipe -c vidcontrol.c vidcontrol.c: In function `video_mode': vidcontrol.c:500: error: `_VESA_800x600_DFL_COLS' undeclared (first use in this function) vidcontrol.c:500: error: (Each undeclared identifier is reported only once vidcontrol.c:500: error: for each function it appears in.) vidcontrol.c:505: error: `_VESA_800x600_DFL_FNSZ' undeclared (first use in this function) vidcontrol.c:509: error: `_VESA_800x600_DFL_ROWS' undeclared (first use in this function) *** Error code 1 I believe Didier used broken vidcontrol.c file. The patch was for current and needs to be applied to clean vidcontrol.c ver 1.48. It works for me (on CURRENT anyways). Michal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenBSD's pf and traffic
Eugene M. Minkovskii pe v ne 20. 03. 2005 v 12:31 +0300: Hello! Does any body know, how can I use OpenBSD's pf (packet filter) for determine total traffic volume on network interface? If it's impossible, what facility you recommend me to do this? I don't know much about pf, but I use ipfw and /usr/ports/sysutils/ipa for the purpose. Works very well for me. IPFW itself has counters but ipa makes the stats persist across reboots and changes to the ruleset. Be carefull not to reconfigure ipfw from under running ipa - it will think the counters overflowed and add huge numbers to the last known value. Additionally ipa can do much more than just simple counters. I configure it like this: ipfw: 100 add allow all from any to any in via xl0 110 add allow all from any to any out via xl0 ipa(/usr/local/etc/ipa.conf): rule xl0-in { ipfw = 100 info = Incoming traffic for xl0 } rule xl0-out { ipfw = 110 info = Outgoing traffic for xl0 } HTH Michal Mertl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone running Trend Micro IWSS in linux-compat mode?
David Landgren wrote: Hello List, I'm running a squid proxy on FreeBSD. The big problem today is web-borne viruses, spyware and other crap. The general feeling on the Squid users mailing list is that Trend Micro's InterScan Web Security Suite product is the way to go. Having looked at the various incomplete, non-functional free offerings, I have no problem going with a commercial product. The trouble is, they only offer it on Windows, Linux and Solaris. I like apache + mod_clamav. Unfortunately from reading Apache changelogs I decided to go with 2.1-alpha and had to modify mod_clamav to fit there. I sent my modifications to mod_clamav author who said he'll probably incorporate most of it in the next release. They were pretty big and in addition to making mod_clamav work with 2.1 they fixed some real bugs (and probably added some). I can send you what I have. Michal Mertl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Daily run output message
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2004-02/0336.html Best Regards fofo I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. TIA Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0503-2, 21/01/2005 Tested on: 22/01/2005 17:46:33 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsd book
you can look here http://kaste.lv/OreilltyBookshelf/ or send me e-mail what you need for e-books Best regards Michal alias fofo(at)hysteria(dot).sk I own The Complete FreeBSD, but a keep going back to the Handbook for most of my information. I find The Complete FreeBSD a little too general for my needs. The operating-system specific books don't go into networking too deeply. I thoroughly recommend :TCP/IP Network Administration to set up your FreeBSD networks, servers and routers. The TCP/IP book explains differences for FreeBSD as well as Red Hat, Solaris and others. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: When Unix Stops Being Fun
Ted Mittelstaedt [Sat, Oct 02, 2004 at 10:46:05PM -0700]: As an analogy - there's lots of people that know how to pull into a service station and add air to their car tires. But out of all those people that have learned how to do this only a tenth of them know that tire pressure rises when the tire gets warmer, and of those people, only another tenth WOULD ASSUME THAT THIS WOULD BE THE CASE IF THEY THOUGHT ABOUT IT because they actually understand what gas pressure is. And if one of the people in that group had never added air in his life to a tire, and you told him to go do it, he would not only be able to go do it, he would be able to add exactly the correct amount of air needed for the tire. I really liked that part about a sciencist! On the other hand, I think it is too enthusiastic, applying theory to practice needs a few things more... :) -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open Office?
h.kriege [Wed, Aug 11, 2004 at 10:11:41AM +0200]: Hi there, Will Open Offoice run on Free BSD? Hello, Yes - both native and linux Open Offoice work. -- m signature.asc Description: Digital signature
Re: Is there a /dev/video in freebsd?
David [Mon, Jul 26, 2004 at 03:49:01AM -0400]: I am using freebsd 5.2. Xawtv has a command called streamer to capture video/audio from /dev/video. I cannot find /dev/video in freebsd. Which kind of TV card do you have? -- m signature.asc Description: Digital signature
Re: Is there a /dev/video in freebsd?
David [Mon, Jul 26, 2004 at 10:29:52AM -0400]: Hi, I figure out how to disable attachment viewing. That was my PGP signature. I am using a Hauppauge wintv card which uses the bt878 chipset. I also used that once. All information about it on FreeBSD (oh, almost all, use links) can be found here: http://telepresence.dmem.strath.ac.uk/bt848/ . IIRC, fxtv worked for me with that. -- m signature.asc Description: Digital signature
Re: Compilation
Carlos Torchia [Wed, Jul 21, 2004 at 06:02:43AM +0100]: Hi. I can't compile a program using the G2 graphics library. When I tried compiling the program the first time, cc said it didn't know that g2.h was in /usr/local/include, which I think is pretty stupid. Anyway, I put /usr/local/include and /usr/local/lib in the -I and -L parameters respectively. Yes, that's correct. You need to pass -I and -L each time you compile a program, that has its libs / includes not in /usr/{lib,include} . There are 3 options: use Linux (which has almost everything in /usr/include and /usr/lib, but you still have to pass -I and -L sometimes, for postgresql for example); symlink all files in /usr/X11R6/{lib,include} and /usr/local/{lib,include} in your /usr/{lib,include} - which will clobber up your filesystem a bit; learn to write / use Makefiles or pkg-config stuff. For example, you could write Makefile like: myprogram: myprogram.c $(CC) -o myprogram `gtk-config --libs --cflags` myprogram.c Then it saw the header and library files, but there were constant errors saying that there were undefined references to X11 functions within libg2.a. Aye! That's why you specify -L/usr/X11R6/lib -lX11 and some more stuff on gcc command line. Too hard, too complicated, takes too much time? Well. Either write a good makefile, or try to learn some IDE for GCC (anjuta, kdevelop), which can propably take care of this automatically. I think, that learning automake/autoconf (the scripts, that generate configure script, that autodetects library locations) can be hard/unneeded for you at the moment. and how to redirect error output from programs to files (or pipe them), because everything I need to now about Unix or FreeBSD comes from 72 hours of trying to figure out how to make a directory or something. Google is your friend: http://www.bo.infn.it/alice/alice-doc/mll-doc/usrgde/node18.html I'm sorry, but I just can't do anything in this operating system. I mean, finally I've found a library that makes it simple to simply plot a pixel in a window without spending hours looking for a GTK tutorial that will tell me about this stupid graphics context stuff that I don't even know. And now I gotta figure out about this stupid g2 thing. Ok. Well anyway, thanks for any help you can give me. If you just want to get the job done, I'd suggest Python. You don't care about compilation, libraries, other stuff - and it is extremely simple to draw stuff using PyGTK - http://www.moeraki.com/pygtktutorial/pygtk2tutorial/ch-DrawingArea.html If graphics context stuff bothers you, well, that's somehow standard way to draw stuff, well, X has it and win32 also has it :) If you want to use something like a framebuffer, I am sure you can find something, no matter if in GTK or X11 (I'd suggest XSHM extension for framebuffer-like stuff, but well, I've written my last pure-X11 application about 5 years ago, and I'm sure, that things have changed). Hope this helps. Don't get frustrated - spend another 72 hours actually reading the docs, unix is simple, but sometimes not as simple, as you may suppose :) -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doc
muhammad javed [Mon, Jul 19, 2004 at 10:08:41AM +]: sir my name is javed. i want to learn learn unix opreating stystam .it is possible to send me free book or basics documents. i am great full to you. Hello Javed, You can download FreeBSD handbook here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html FreeBSD FAQ is also interesting: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html Check also this section of FreeBSD for newbies: http://www.freebsd.org/projects/newbies.html#unix Another big repository of documentation are Linux HOWTOs - many of them aren't really linux specific: http://www.tldp.org/docs.html#howto Have fun, -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware not supported
On Wed, Jul 14, 2004 at 02:10:40PM +0300, Sergey Limarenko wrote: why don't supported ethernet card D-Link 580TX, but 570TX - supported i very need this driver, where i can find it? D-Link 580TX is supported by ste(4). (However, I haven't tried it yet) mf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory test
adrian kok [Wed, Jul 07, 2004 at 02:29:57AM +0800]: Hi all Suse linux startup has linux testing feature Well, you can also get a Linux kernel with httpd built-in :) To test your memory, use http://memtest86.com Sincerely, -- m signature.asc Description: Digital signature
Re: AMD64 vs i386 for FreeBSD
David O'Brien [Sat, Jun 26, 2004 at 04:00:26PM -0700]: You do know you can run FreeBSD/i386 on the Athlon64 3200+ laptop, right? :-) A 3200+ running 32-bit FreeBSD will out-perform the P4 2.8GHz running the same OS. ... but will it outperform it also by heat dissipation? -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting xterm font from the command line
Robert Huff [Thu, Jun 24, 2004 at 09:05:49AM -0400]: Michael A. Smith writes: xfontsel works great and works fine for the sample string above (Bitstream Charter), but xterm barfs on font strings that have spaces, for example: -bitstream-bitstream vera sans mono-*-r-normal-*-*-*-*-*-*-*-*-* As far as I know, a correct fontspec has no spaces. Try replacing the ' 's with '-'s and see what happens. No, it can. Dash is a separator of given fields in font specification, so what you just said is totally wrong. -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bad clusters problem
hi, i try to install a freebsd miniinstall distribution on my laptop compaq armada 4150T with 2GB disk space, from dos partition, everything was work OK until the installation begin copy the files to a created freebsd partition. On this space is some bad clusters, and therefore installation will irretrievably stop. My question is, it is possible that installation skip the badblocks and write data only on good clusters ? I try to install bsd by many ways already the fifth day and i dont want resign just now before finish line. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: voice talk between 2 FBSD boxs
JJB [Sun, Jun 06, 2004 at 01:13:31PM -0400]: Is there an 2 way voice talk command or port application between 2 unix type systems with an ms/windows version? Try: http://shtoom.sf.net/ It's in very early stage of development, but as every Python project, it is highly portable - Windows, MacOS X, Unices supported - and it can talk to VoIP phones too. HTH, -- m pgpSw9vjlb2fC.pgp Description: PGP signature
Re: Sending a message to another computer on the network
Hasse [Sat, Jun 05, 2004 at 02:25:49PM +0200]: I'm on a FreeBSD 4.10-STABLE machine on 217.209.211.x , and would like to send a message to Win-box ( on the same network, but not my machine ) that's filling up my httpd-access.log with junk. The only thing I know is his IP-adress. What? Lookup his/hers IP via whoisdb (www.ripe.net) and report abuse to proper Internet Service Provider. Is this possible ? If it is, how. smbclient -M Or do I have to block his IP ? That's also an option. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sending messages
arden [Sat, Jun 05, 2004 at 02:45:31PM +0100]: reading the windows messaging thread with interest was wondering how you would message a *nix box on the same network ? man talk Pity it's disabled by default in many today's unices, it was a great time using it to talk with various people on the net (and, sometimes exploiting bugs in talkd ;). pgpGoYLSvFt6E.pgp Description: PGP signature
Re: Large window causes monitor to degauss/reset!!
Jacob Rhoden [Sun, Jun 06, 2004 at 01:24:47AM +]: I have been using freebsd for quite some time now, I have come across a machine with a 19 viewmaster, whereby if you open a window bigger than about 500x500 pixels, the monitor resets and degausses every 8 seconds until you close the window. Has anyone had this happen to them? Hardware error or X misconfigured. Try to lower resolution / refresh rate and see if problem persists. Try another video card. If degausing occurs at the lowest supported resolution and refresh rate, this is clearly hardware issue. Examine, if degausing depends on the background color of the window (try black, white, red, green, blue). pgpmjzqOpFHQZ.pgp Description: PGP signature
Re: PHP IDE instead of Bluefish
Bruce Hunter [Sat, Jun 05, 2004 at 09:46:09PM -0400]: I have recently gotten rid of window and now only run FBSD. I am a programmer of many kinds. I program in PHP and was wondering what is a good PHP IDE? Maybe something in the ports collection. editors/xemacs works just great! :^) -- m pgpPwZFutG3iQ.pgp Description: PGP signature
Re: How to make a screenshot?
Andrew L. Gould [Fri, Jun 04, 2004 at 12:17:10PM -0500]: I flubbed my first attempt with xwd -- I need to spend more time with it's man page. Try: xwd | xwdtopnm | pnmtojpeg foo.jpg ... and xli (xloadimage) for lightweight image viewing program. Gimp, ImageMagick, ksnapshot are too heavyweight IMO if you just want a screenshot. -- m pgprFOoVKWgGO.pgp Description: PGP signature
Re: How to make a screenshot?
JJB [Fri, Jun 04, 2004 at 01:22:27PM -0400]: DO any of the suggestions made so for work from the command line or do they all just run under x? screen has a hardcopy function (C-a h) and a log function (C-a H), if you want to play with textmode. pgpjHMgA7fFFm.pgp Description: PGP signature
Re: ifconfig documentation
Aldinson C. Esto [Tue, Jun 01, 2004 at 09:39:11PM +0800]: Does the handbook or man page you are referring to have the documentation for each function of the ifconfig.c's source code? I really need this for our DHCP server development. ISC-DHCPD already comes with some framework for writing DHCP stuff. Perhaps you should see it, http://www.isc.org/products/DHCP/ . pgpMpE4My03R3.pgp Description: PGP signature
Profiling debugging on FreeBSD: loadable modules, profiler output, threads
Hi, I need to debug some software, written in Python (with threads), which uses dynamically loadable modules, written in C. FreeBSD version is 5.2.1-RC. All Python modules are compiled with -g -pg, so is the python binary. By default, -g -pg -pthread doesn't seem to link libc to Python binary (modules complain about missing 'strftime' on load). Any other combination of options, than -g -pg -lc_r -lc -pthread causes Python binary to dump core with sig 10 at start (with never ending _pthread_self calls in backtrace). Even if python.gmon is created, it contains only an information about calls to '__fpsetreg'. My sysctl kern.debug.threads is 1. kdump output seems to reveal: 88107 python2p3 NAMI python2p3.gmon 88107 python2p3 RET open 5 ... but only at the *end* of the log (shouldn't it be open some time earlier)? I'd appreciate any help in this matter. I need this working by yesterday. Thanks, -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net Frankly, any company would look bad if their corporate e-mail was available for anyone to read, -- Jim Dose of Ritual Entertainment. pgpOScSnwIlfy.pgp Description: PGP signature
Re: your mail
[EMAIL PROTECTED] [Mon, May 24, 2004 at 03:58:05PM +0200]: I have an older computer wich cant`t boot CD-ROM discs and I hawe two ways: -to boot from the hard disc; -or to boot from the floppy and instal it from CD-ROM. But i have no idea how to do this. Start with FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UsersFiles and Quota
Chris Collins [Mon, May 24, 2004 at 11:58:30PM -0500]: Is there a way to list files on my system that belong to a certain user. I have quotas enabled and cannot find out where all the space is being used. Common procedure is to read the docs before asking! :) man find, EXAMPLES section, 2nd example counting from top. HTH, -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]