Re: Questions on portmaster
On 7/2/09, Manish Jain invalid.poin...@gmail.com wrote: b. f. wrote: Manish Jain wrote: Regarding the download speeds I was getting with portmaster fetches (0.7 kBps to 4.0 kBps), I immediately booted into Windows/Cygwin and did a wget from the same site portmaster was using. The speed I got from wget was ~ 35 kBps. This happened not just once but multiple times. Each time I did this, I had to interrupt portmaster. Finally I managed to get to install the wget port on FreeBSD itself. When I ran wget from FreeBSD, it reported comparable transfer rates (~ 35 kBps) from the same sites as portmaster was using. This has nothing to do with portmaster. Remember, portmaster is just a (sometimes) convenient shell script wrapper for the normal ports infrastructure. What you're probably seeing is either the usual fluctuations in network performance, or the difference between wget and FreeBSD fetch(1), which by default is used for getting distfiles and packages. This is set in bsd.port.mk, and you can override it if you prefer to use something else. See the comments concerning FETCH_BINARY, FETCH_ARGS, FETCH_CMD, FETCH_{BEFORE,AFTER}_ARGS, FETCH_ENV, and FETCH_REGET at the top of bsd.port.mk, or the relevant portion of that script. You can also try tuning your network settings, which can speed things up significantly in some cases. It respects IGNORE (it checks for it in the port Makefile, and also hands off to bsd.port.mk, which respects it). I got a curl port from portsnap marked IGNORE. portmaster did not ignore it anywhere near gracefully enough and finally killed off all child processes and itself. Uh, yeah -- but that's another matter. It did IGNORE it, but it just stopped entirely. This is another one of the things that need improvement. portupgrade, by contrast, will keep going, only ignoring the port in question and any ports that depend upon it, but updating the rest. You should be able to patch portmaster to mimic this behavior. Anyway, my system became so unpredictable that I had to reinstall FreeBSD. For the moment, I am avoiding portmaster till I can try it out on a dummy PC first. Well, something is awry if your system was damaged that badly, and it probably wasn't because of portmaster. In general, few ports ought to damage the base system. You're probably better off trying to remove and then reinstall all of your ports first (the instructions in the portmaster manpage are good in this regard), before reinstalling everything. BTW, I also tried portmanager and it segfaulted at the stage of generating a report. Oh, well. Sounds like a job for rnol...@freebsd.org. But wait -- who wants to bother him about some tiny piece of port management software when he is heroically staging a single-handed campaign to maintain X11 on FreeBSD? b. ___ 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
Audio visual for Open Source Convention
Hello this is Kavin Patel from RentSonic. We are a premier tradeshow equipment supplier. We provide computers and audio/visual rentals to exhibitors across the country. Our focus is on providing the best service and equipment at excellent prices. Our experience assures us of the ability to provide you with the exact equipment and service you require for your tradeshow / expo. Please contact me to discuss how we can provide for your specific needs. While other rental companies have come and gone, our focus on service has gave us to thrive. You can checks us also at www.RENTSONIC.com I will be pleased to assist you in any need you may have in your upcoming show. Place your first order now and receive a $25 Gift Card to STARBUCKS! Use reference rent2day when you check out to receive your discount. You can contact me at 1-877-766-4205 or email me at kavin.pa...@rentsonic.com Kavin Patel Operations Manager 1-877-766-4205 Fax: 510-252-1199 RENTSONIC, INC www.RENTSONIC.com Why Choose RENTSONIC as your rental vendor? -24-hour a day, 7 day a week Technical Support on rentals -Full Service Delivery, Set-Up, Breakdown Nationwide -We Give the Best Service, Equipment, and Support -The only true one-stop-business for Computer Audio-Visual Rental Rentsonic, LLC P.O Box 3292 Chandler, AZ 85244 Unsubscribe me from this contact list http://marketing.rentsonic.com/unsubscribe.php?M=3837807C=6acd3edbf0ec7c783b2f57285cd1175dL=619N=745 ___ 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
X fails to start
I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) 4. What do I need to do about the Mesa library? Is this related to the core issue? Is this a known bug in the port build? I've considered manually debugging the drmGetBusID failure, but I don't exactly relish the idea of going through that much code. I could easily follow the procedures in the wiki, but I'd rather go through ports. I've also just completely removed xorg and started again with the cflags, but it has failed again at the dri port. I hope someone help here... :/ Cheers _ Get the latest news, goss and sport Make ninemsn your homepage! http://windowslive.ninemsn.com.au/article.aspx?id=813730___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
kernel panic on SATA drive
I've been having an intermittent problem, wonder if someone on the list has any ideas. First my setup: FreeBSD 7.2-RELEASE (amd64) quad-core Phenom processor mobo: MSI K9N2G Neo chipset: NVIDIA GeForce 8200, which FreeBSD recognizes as nForce (not sure how that works) I have a 3ware RAID card (RAID 1), which is the boot device. A seagate drive connected via SATA A WD external drive via USB I will have the system running fine, then the seagate will apparently fall off the bus, resulting in a panic. The dump fails as well, presumably due to the 3ware driver not being able to handle the panic? not sure... If anyone knows a way I can get the dump to succeed, I'd appreciate that info, too. See below output for details. The first time I had the problem, it would regularly happen when I tried to install a particular port (sudo). Then I changed where the SATA cable was plugged in and tried un/re-plugging the USB external drive and rebooting and managed to get it working (so I thought). One weird aspect of that process is that the BIOS would not even list the SATA drive until I switched it to a different plug... freaked me out a bit. Also during POST it would hang for many seconds, when I had the USB drive plugged in, until I went through my random plugging/unplugging/replugging shenanigans. But now it has happened again, this time while copying lots of files from the USB external drive to the SATA one. Both drives are recognized by BIOS (and FreeBSD) on reboot this time, at least. But I'm hesitant to just 'call it good' - I'd like this to be a stable server (: I manually transcribed the bulk of the output - is there a nicer way to get the output of a kernel panic so I can copy/paste? I didn't find an obvious command, though I'm no FreeBSD guru. If someone could tell me how to get that output, I'd be greatful. output below ad7: FAILURE - device detached g_vfs_done():ad7s1d[WRITE(offset=340978335744, length=16384)]error = 6 g_vfs_done():ad7s1d[WRITE(offset=340978352128, length=16384)]error = 6 /dev: got error 6 while accessing filesystem panic: softdep_deallocate_dependencies: unrecovered I/O error cpuid=2 Uptime: 15h23m39s Physical memory: 7923MB Dumping 733MB: 718 702 686 670 654 638twe0:completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: FATAL STATUS BIT(S) 20MCERR twe0: status 13207fd2CQEMPTY,UCREADY,RQEMPTY,MCERR, ### At this point in the log a bunch of output starts getting interleaved, character-by-character even. ### Maybe due to multi-cpus dumping output simultaneously? I don't know... ### eventually... twe0: can't drain AEN queue twe0: controller reset in progress twe0: reset 1 failed ### snip more failing messages twe0: can't reset controller, giving up #Then some more stuff that I haven't written down end log --- So any thoughts? Maybe it's just a mobo / chipset compatibility issue? I should have known with a mobo that says GeForce 8200 for chipset. I thought NVIDIA support was pretty good in FreeBSD though... Do you think recompiling my own kernel would help? Do you think installing a different version of FreeBSD would help? (My main experience is with 6.2) It was quite odd to me that even the BIOS stopped recognizing the SATA drive the first time. Any thoughts on that? Thanks for any feedback -John ___ 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: POLL: Linux preferences from FreeBSD users
On Thursday 02 July 2009 07:21:25 Polytropon wrote: On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood djuatde...@gmail.com wrote: QUESTION: Of the various modern Linux distributions, which do you prefer? and why? Actually, I'm not a Linux user. But Linux was my first step into using UNIX on a x86 PC. More than 10 years ago, I started with Slackware Linux, and with the rise of FreeBSD 4.0, I did abandon it. I was wondering if there were any other Slackers out there! I've still got my first Linux distribution, and possibly my first FreeBSD release too: I bought the Walnut Creek 4-CD box of Slackware 3.6 in a little shop in the West End of London, and a couple of years later, the boxed set of FreeBSD 4.5 from either the Linux Emporium or CheapBytes (can't remember which). Jonathan ___ 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
FreeBSD Raid Monitoring website moved
Good morning everybody, the FreeBSD raid monitoring website, which contains a lot information regarding raid monitoring under FreeBSD, has a new home: http://www.nico.schottelius.org/docs/freebsd-raid-monitoring/ If you've additional information or updates, please let me know at nico-freebsd-raid-monitoring-web --at-- schottelius.org. Sincerly, Nico -- Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ... PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C signature.asc Description: Digital signature
Re: Wireless NICs on 7.2
On 7/2/09, Robert Hall rjh...@gmail.com wrote: And what about TX/RX signal? I don't know where to look for that. :) It is part of scan output. Could you put backtrace somewhere? http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html Backtrace from crashing with a Belkin ndis: (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055bece in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc079041c in trap_fatal (frame=0xd5f9571c, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0790680 in trap_pfault (frame=0xd5f9571c, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0790fd9 in trap (frame=0xd5f9571c) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc32b5239 in BLKWGDv7_sys_drv_data_start () from /boot/modules/BLKWGDv7_sys.ko Previous frame inner to this frame (corrupt stack?) And from a Linksys crash (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055bece in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc079041c in trap_fatal (frame=0xd600cb98, eva=382216) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0790680 in trap_pfault (frame=0xd600cb98, usermode=0, eva=382216) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0790fd9 in trap (frame=0xd600cb98) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc329dde6 in rt61_sys_drv_data_start () from /boot/modules/./rt61_sys.ko Previous frame inner to this frame (corrupt stack?) I hope this is what you were asking for. :) Does crash happens if you load them after boot? -- Paul ___ 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: POLL: Linux preferences from FreeBSD users
Hello! On Thu, Jul 2, 2009 at 12:58 AM, Daniel Underwood djuatde...@gmail.com wrote: QUESTION: Of the various modern Linux distributions, which do you prefer? and why? I used to like Slackware but moved to Ubuntu two or three years before. I liked Slackware simplicity but its package system was too simple and then I moved to FreeBSD. Some years before I had found Ubuntu and stayed there for Linux boxes. Some people prefer Debian over Ubuntu but I dislike Debian approach on packages (namely patch the older version as long as you can instead of switch to a newer one). Bye, a ___ 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: X fails to start
On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) You can still use xf86-video-vesa even without dri. Debug flags are useful only if Xorg crashed and dropped core. 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? What kernel modules are loaded? What version of server, Mesa, drivers are installed and how are they installed? 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) You are using custom kernel without sysv* modules. Not a good idea for X. 4. What do I need to do about the Mesa library? Is this related to the core issue? Is this a known bug in the port build? Your environment is highly polluted. I've considered manually debugging the drmGetBusID failure, but I don't exactly relish the idea of going through that much code. I could easily follow the procedures in the wiki, but I'd rather go through ports. I've also just completely removed xorg and started again
RE: X fails to start
Date: Thu, 2 Jul 2009 12:16:49 +0200 Subject: Re: X fails to start From: one...@gmail.com To: rock_on_the_...@hotmail.com CC: freebsd-questions@freebsd.org On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) You can still use xf86-video-vesa even without dri. Debug flags are useful only if Xorg crashed and dropped core. Nuts! :( 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? What kernel modules are loaded? What version of server, Mesa, drivers are installed and how are they installed? KMods: i915.ko drm.ko Xorg Server: 1.6.1 (in the Xorg log) Mesa (not entirely sure now, was current I believe though- I'll have to wait and see once I can build again...) Drivers: (installed or used?) used intel- xorg ports. Incidentally vesa is available, and is failover in the conf, but it
Re: X fails to start
On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: Date: Thu, 2 Jul 2009 12:16:49 +0200 Subject: Re: X fails to start From: one...@gmail.com To: rock_on_the_...@hotmail.com CC: freebsd-questions@freebsd.org On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) You can still use xf86-video-vesa even without dri. Debug flags are useful only if Xorg crashed and dropped core. Nuts! :( 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? What kernel modules are loaded? What version of server, Mesa, drivers are installed and how are they installed? KMods: i915.ko drm.ko Xorg Server: 1.6.1 (in the Xorg log) Mesa (not entirely sure now, was current I believe though- I'll have to wait and see once I can build again...) Drivers: (installed or used?) used
ssl acceleration cards
Just wondering if anyone knows whether any ssl acceleration cards on the market support the asynchronous or public-key algorithms? Though I've tested cards I know have public key functionality, the driver FreeBSD uses never seems to support the public key algorithms, only improves processing speed on private key functionality. Ultimately my goal here is to speed up HTTPS on my server. Thanks, Cameron ___ 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: boot0 / LILO / GRUB: dual boot FreeBSD and Linux
Thanks, this is great! ___ 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: X fails to start
Date: Thu, 2 Jul 2009 13:54:22 +0200 Subject: Re: X fails to start From: one...@gmail.com To: rock_on_the_...@hotmail.com CC: freebsd-questions@freebsd.org On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: Date: Thu, 2 Jul 2009 12:16:49 +0200 Subject: Re: X fails to start From: one...@gmail.com To: rock_on_the_...@hotmail.com CC: freebsd-questions@freebsd.org On 7/2/09, Da Rock rock_on_the_...@hotmail.com wrote: I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) You can still use xf86-video-vesa even without dri. Debug flags are useful only if Xorg crashed and dropped core. Nuts! :( 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? What kernel modules are
Re: POLL: Linux preferences from FreeBSD users
I'm very interested to see the spread of opinion about Linux distributions from FreeBSD fans. Why? Good question. Because of the perspective many FreeBSD fans (people who like and use FreeBSD) have toward *NIX OS's. You said it well: Modern Linux distributions don't appeal very much to me, because they are messy: Missing manpages, partially ununderstandable file system hierarchy layout, untidy source code. These are things, I'm guessing, that the casual Linux user may not appreciate. Someone who has a great deal of experience with both FreeBSD and various Linux distributions, however, probably would appreciate these things. If I were to poll a sample of individuals who only have experience with, say, Windows and Linux, then the responses would likely represent opinions formed upon a wholly different set of criteria. ___ 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: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt
On Wed, Jul 01, 2009 at 10:00:54PM +0200, Wojciech Puchar wrote: It's better to use gmirror per partition. Like this? # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? should it not be mounted? Sorry, I was just following the handbook, but I now understand it is incorrect when it comes to ia64. many thanks anton ___ 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 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ 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
How to get SystemMemorySize?
Hi All, In linux driver in order to get the system memory size we can get it using the following call. struct sysinfo si; si_meminfo(si); return (si.tatotalram); Is there any similar call in freebsd to get the following information.Currently i am using freebsd 6.3.Please let me know. Thanks and regards, Deepak ___ 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: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt
# gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? should it not be mounted? yes it should not, no matter what architecture. ___ 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: POLL: Linux preferences from FreeBSD users
On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood djuatde...@gmail.com wrote: QUESTION: Of the various modern Linux distributions, which do you prefer? and why? Modern Linux distributions don't appeal very much to me, because they are messy: Missing manpages... That and Linux seems to only ever get the abridged version of manual pages. When you compare manual pages for an equivalent commands between FreeBSD and most Linux flavors, it really shows. I noticed this when I went from Debian to FreeBSD. Finally! Real documentation! -Modulok- ___ 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
Strange startup behaviour.
Since I recently started using freebsd as a adsl gateway I have noticed some strange things at startup. /etc/rc.d/natd does not get executed. If I run it manually it works fine but not at boot time. I just rebooted now and (again) had to re-start natd. Looking at the startup scipts I see some strange things. The access time on some scripts is from yesterday. I wonder if someone might have an idea on where I'd start to look at this, or perhaps has seen this behaviour before? The systems is 7.2 P5. # ls -lasut /etc/rc.d/ total 382 2 -r-xr-xr-x 1 root wheel285 Jul 3 00:17 adjkerntz 2 -r-xr-xr-x 1 root wheel 1763 Jul 3 00:17 random 2 -r-xr-xr-x 1 root wheel405 Jul 3 00:17 FILESYSTEMS 10 -r-xr-xr-x 1 root wheel 9386 Jul 3 00:17 bluetooth 2 -r-xr-xr-x 1 root wheel328 Jul 3 00:17 ccd 2 -r-xr-xr-x 1 root wheel523 Jul 3 00:17 ddb 2 -r-xr-xr-x 1 root wheel 1120 Jul 3 00:17 dumpon 2 -r-xr-xr-x 1 root wheel383 Jul 3 00:17 early.sh 2 -r-xr-xr-x 1 root wheel 1151 Jul 3 00:17 encswap 2 -r-xr-xr-x 1 root wheel 1248 Jul 3 00:17 fsck 4 -r-xr-xr-x 1 root wheel 2173 Jul 3 00:17 gbde 4 -r-xr-xr-x 1 root wheel 2702 Jul 3 00:17 geli 4 -r-xr-xr-x 1 root wheel 2800 Jul 3 00:17 hostid 2 -r-xr-xr-x 1 root wheel 1780 Jul 3 00:17 initrandom 6 -r-xr-xr-x 1 root wheel 5130 Jul 3 00:17 mdconfig 2 -r-xr-xr-x 1 root wheel983 Jul 3 00:17 mountcritlocal 2 -r-xr-xr-x 1 root wheel747 Jul 3 00:17 root 2 -r-xr-xr-x 1 root wheel260 Jul 3 00:17 swap1 4 -r-xr-xr-x 1 root wheel 3147 Jul 3 00:17 var 2 -r-xr-xr-x 1 root wheel593 Jul 3 00:17 wpa_supplicant 2 -r-xr-xr-x 1 root wheel 1335 Jul 3 00:17 zfs 4 drwxr-xr-x 2 root wheel 2560 Jul 2 14:20 . 4 drwxr-xr-x 20 root wheel 2560 Jul 2 14:20 .. 2 -r-xr-xr-x 1 root wheel887 Jul 2 14:17 bgfsck 4 -r-xr-xr-x 1 root wheel 2298 Jul 2 14:17 bridge 2 -r-xr-xr-x 1 root wheel313 Jul 2 14:17 bsnmpd 2 -r-xr-xr-x 1 root wheel382 Jul 2 14:17 cron 2 -r-xr-xr-x 1 root wheel277 Jul 2 14:17 ftp-proxy 2 -r-xr-xr-x 1 root wheel385 Jul 2 14:17 ftpd 2 -r-xr-xr-x 1 root wheel 1951 Jul 2 14:17 geli2 2 -r-xr-xr-x 1 root wheel446 Jul 2 14:17 hostapd 2 -r-xr-xr-x 1 root wheel322 Jul 2 14:17 idmapd 2 -r-xr-xr-x 1 root wheel367 Jul 2 14:17 inetd 16 -r-xr-xr-x 1 root wheel 15107 Jul 2 14:17 jail 2 -r-xr-xr-x 1 root wheel 1147 Jul 2 14:17 localpkg 4 -r-xr-xr-x 1 root wheel 2462 Jul 2 14:17 mixer 2 -r-xr-xr-x 1 root wheel 1668 Jul 2 14:17 moused 2 -r-xr-xr-x 1 root wheel283 Jul 2 14:17 msgs 2 -r-xr-xr-x 1 root wheel350 Jul 2 14:17 othermta 2 -r-xr-xr-x 1 root wheel528 Jul 2 14:17 securelevel 4 -r-xr-xr-x 1 root wheel 2570 Jul 2 14:17 sendmail 2 -r-xr-xr-x 1 root wheel933 Jul 2 14:17 sysctl 4 -r-xr-xr-x 1 root wheel 2299 Jul 2 14:17 sshd 6 -r-xr-xr-x 1 root wheel 4552 Jul 2 14:17 syscons 2 -r-xr-xr-x 1 root wheel 1673 Jul 2 14:17 watchdogd 2 -r-xr-xr-x 1 root wheel745 Jul 2 14:17 ypset 2 -r-xr-xr-x 1 root wheel755 Jul 2 14:17 ypupdated 2 -r-xr-xr-x 1 root wheel764 Jul 2 14:17 ypxfrd 2 -r-xr-xr-x 1 root wheel404 Jul 2 14:17 LOGIN 2 -r-xr-xr-x 1 root wheel977 Jul 2 14:17 motd 2 -r-xr-xr-x 1 root wheel713 Jul 2 14:17 mountlate 2 -r-xr-xr-x 1 root wheel 1083 Jul 2 14:17 nscd 2 -r-xr-xr-x 1 root wheel 1268 Jul 2 14:17 ntpd 2 -r-xr-xr-x 1 root wheel432 Jul 2 14:17 powerd 2 -r-xr-xr-x 1 root wheel346 Jul 2 14:17 rarpd 4 -r-xr-xr-x 1 root wheel 2400 Jul 2 14:17 rfcomm_pppd_server 2 -r-xr-xr-x 1 root wheel 1684 Jul 2 14:17 rtadvd 2 -r-xr-xr-x 1 root wheel279 Jul 2 14:17 rwho 2 -r-xr-xr-x 1 root wheel471 Jul 2 14:17 sdpd 2 -r-xr-xr-x 1 root wheel286 Jul 2 14:17 timed 2 -r-xr-xr-x 1 root wheel682 Jul 2 14:17 ugidfw 2 -r-xr-xr-x 1 root wheel802 Jul 2 14:17 yppasswdd 2 -r-xr-xr-x 1 root wheel614 Jul 2 14:17 apm 2 -r-xr-xr-x 1 root wheel784 Jul 2 14:17 apmd 2 -r-xr-xr-x 1 root wheel333 Jul 2 14:17 bootparams 2 -r-xr-xr-x 1 root wheel656 Jul 2 14:17 bthidd 2 -r-xr-xr-x 1 root wheel460 Jul 2 14:17 hcsecd 2 -r-xr-xr-x 1 root wheel535 Jul 2 14:17 local 2 -r-xr-xr-x 1 root wheel439 Jul 2 14:17 lpd 2 -r-xr-xr-x 1 root wheel241 Jul 2 14:17 DAEMON 2 -r-xr-xr-x 1 root wheel 1610 Jul 2 14:17 virecover 2 -r-xr-xr-x 1 root wheel979 Jul 2 14:17 amd 4 -r-xr-xr-x 1 root wheel 2406 Jul 2 14:17 atm3 2 -r-xr-xr-x 1 root wheel574 Jul 2 14:17 auditd 2 -r-xr-xr-x 1 root wheel 1703 Jul 2 14:17 cleartmp 2 -r-xr-xr-x 1 root wheel 1237 Jul 2 14:17 dhclient 2 -r-xr-xr-x 1 root wheel427 Jul 2 14:17 dmesg 2 -r-xr-xr-x 1 root wheel317 Jul 2 14:17
Re: Strange startup behaviour.
In response to Danny Carroll f...@dannysplace.net: Since I recently started using freebsd as a adsl gateway I have noticed some strange things at startup. /etc/rc.d/natd does not get executed. If I run it manually it works fine but not at boot time. I just rebooted now and (again) had to re-start natd. Looking at the startup scipts I see some strange things. The access time on some scripts is from yesterday. I wonder if someone might have an idea on where I'd start to look at this, or perhaps has seen this behaviour before? The systems is 7.2 P5. Probably good to attach your rc.conf file, as that's the most likely thing that's wrong, given the information you provided. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: POLL: Linux preferences from FreeBSD users
On Thu, 2 Jul 2009 09:07:08 +0200, Jonathan McKeown j.mcke...@ru.ac.za wrote: I was wondering if there were any other Slackers out there! Of course we are still `out there'. I started using a UNIX-like clone on my 386 SX with Slackware, by fetching the floppy disk images. I've abandoned Linux for serious work for years now, but I still have my Infomagic CD-ROMs :) ___ 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
intermittent failures with sendmail
I have sendmail 8.14.2 running on freebsd 7.0: [gouda:root]/var/spool/mqueue# sendmail -d0 /dev/null Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG SYSTEM IDENTITY (after readcf) (short domain name) $w = gouda (canonical domain name) $j = gouda.acatysmoof.com (subdomain name) $m = acatysmoof.com (node name) $k = gouda.acatysmoof.com [gouda:root]/var/spool/mqueue# uname -a FreeBSD gouda.acatysmoof.com 7.0-STABLE-200806 FreeBSD 7.0-STABLE-200806 #0: Mon Jun 30 03:43:40 PDT 2008 a...@xxx.com:/usr/obj/usr/src/sys/CORE2-STABLE-7 i386 mails sent out to the internet are intermittently causing these error reports in the daily run output: n5UNkYTo06980923878 Tue Jun 30 16:46 a...@x.com (reply: read error from mail.OO.net.) r...@oo.net n5ULKB0i064252* 7028205 Tue Jun 30 14:20 ki...@.com 8BITMIME (timeout writing message to c.mx.mail.yahoo.com.: Broken pipe) xxx...@yahoo.com n5TM36Jn012370 420 Mon Jun 29 15:03 ...@acat (Deferred: Name server: YYY.com.: host name lookup failur) avalderr...@yy.com The yahoo one is particularly puzzling. Most mails make it, but some fail. I can't figure out why. The recipient is valid and they have plenty of space in their account. Sometimes mail to them works with no problem. I checked the sendmail logs and found: Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout writing message to b.mx.mail.yahoo.com.: Broken pipe Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout writing message to e.mx.mail.yahoo.com.: Broken pipe Jul 2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): timeout writing message to d.mx.mail.yahoo.com.: Broken pipe I thought it might be an MTU problem: http://anthony.zerosandones.co.uk/?q=node/451 I set my MTU to 1300, but that hasn't helped. [gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1300 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:1c:c0:36:85:62 inet 24.205.141.134 netmask 0xfffc broadcast 24.205.141.135 media: Ethernet autoselect (100baseTX full-duplex) status: active DNS is working fine everywhere, so I don't think thats it. PTR is fine, reverse lookups work fine. I've googled my brains out. Does anyone have any ideas? Thanks, Alex ___ 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
Dependency confusion
Hello, I have a number of ports installed on my 7.2Release box. When I issue pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. Is there an easy way to see which program is linked to which db? Is this some sort of redundant listing and I really only have db4.6 installed or can you have both side by side? My real concern is about which db backend my cyrus-imap-23 is linked against. Thank you, Peter ___ 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: Dependency confusion
In the last episode (Jul 02), Peter Clark said: I have a number of ports installed on my 7.2Release box. When I issue pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. Is there an easy way to see which program is linked to which db? Is this some sort of redundant listing and I really only have db4.6 installed or can you have both side by side? My real concern is about which db backend my cyrus-imap-23 is linked against. All the db* ports install files with the version number embedded in them, so you can have multiple versions installed without conflicts. ldd /path/to/exe will tell you which library a given binary is linked with, and you can run pkg_info -R 'db4*' to determine which ports depend on which versions of db. -- Dan Nelson dnel...@allantgroup.com ___ 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: Dependency confusion
In response to Peter Clark cla...@mtmary.edu: I have a number of ports installed on my 7.2Release box. When I issue pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. Is there an easy way to see which program is linked to which db? Is this some sort of redundant listing and I really only have db4.6 installed or can you have both side by side? My real concern is about which db backend my cyrus-imap-23 is linked against. You can use ldd on the binary to see which libraries it's linked against. Also, if you pkg_delete each of the packages, it will refuse to delete them if they're still used by other packages, and it will tell you which packages are using them. (You can probably do that second one with pkg_info as well, but I don't know the syntax off the top of my head) -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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
replacing harddisks
I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 system. root, /var and /boot are on other disk, but I need to replace those both disks with bigger ones now. To get bigger /usr. So what I'm wondering now is if there is way to take one disk out of mirror (geom) and add bigger. So it would be one 200g and one 640g. And after sync replace other 200g with 640g so there would be two 640g disks. What I don't know is if mirror would still be original 200g or can I get it working full 640g this way? Or do I need to do it some harder way? Like adding both disks, creating mirror of them, copy original mirror with dd to new one and then removing old disks? -- pepe ___ 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: replacing harddisks
pepe wrote: I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 system. root, /var and /boot are on other disk, but I need to replace those both disks with bigger ones now. To get bigger /usr. So what I'm wondering now is if there is way to take one disk out of mirror (geom) and add bigger. So it would be one 200g and one 640g. If you add the 640G in the 200G mirror, it will be used as a 200G. And after sync replace other 200g with 640g so there would be two 640g disks. What I don't know is if mirror would still be original 200g or can I get it working full 640g this way? Or do I need to do it some harder way? Like adding both disks, creating mirror of them, copy original mirror with dd to new one and then removing old disks? There are probably a couple of way to achieve this, but I would add the new disk as a standalone one, copy (rather dump) contents from the array to it, disconnect the older array, create a gmirror on the new disk, and finally connect the second new disk and resync. You don't need to add both new disks at the same time (you may not even have enough sata connectors) and you don't even have to leave both of the original mirror disks connected while copying the data. It will still work the same if the original array is degraded. ___ 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: Dependency confusion
Dan Nelson wrote: In the last episode (Jul 02), Peter Clark said: I have a number of ports installed on my 7.2Release box. When I issue pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. Is there an easy way to see which program is linked to which db? Is this some sort of redundant listing and I really only have db4.6 installed or can you have both side by side? My real concern is about which db backend my cyrus-imap-23 is linked against. All the db* ports install files with the version number embedded in them, so you can have multiple versions installed without conflicts. ldd /path/to/exe will tell you which library a given binary is linked with, and you can run pkg_info -R 'db4*' to determine which ports depend on which versions of db. Thanks Dan and Bill. Dan, ldd and pkg_info -R did the trick. I really appreciate it. Peter ___ 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: POLL: Linux preferences from FreeBSD users
On Thu, Jul 02, 2009, Artifex Maximus wrote: Hello! On Thu, Jul 2, 2009 at 12:58 AM, Daniel Underwood djuatde...@gmail.com wrote: QUESTION: Of the various modern Linux distributions, which do you prefer? and why? I used to like Slackware but moved to Ubuntu two or three years before. I liked Slackware simplicity but its package system was too simple and then I moved to FreeBSD. Some years before I had found Ubuntu and stayed there for Linux boxes. Some people prefer Debian over Ubuntu but I dislike Debian approach on packages (namely patch the older version as long as you can instead of switch to a newer one). We currently use CentOS for servers and Macs for desktops. Over the years we have gone from Caldera-SuSE-CentOS, and I am most comfortable in an RPM environment having used it since 1995 or so. All our server software is built under the OpenPKG portable packaging system whether the system is FreeBSD, Linux, OS X, OpenSolaris, or even SCO OpenServer 5.0.6. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy is the theory that the common people know what they want and deserve to get it good and hard. == H.L. Mencken ___ 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: scripting tip needed
On Wed, Jul 1, 2009 at 10:07 PM, Giorgos Keramidas keram...@ceid.upatras.gr wrote: On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Using an interactive language like Python you can actually *test* the code as you are writing it. This is a major win most of the time. could you explain what you mean? You can and you have to test a code on any language be it bash, ksh python or C Yes. I mean that one can directly interact with the interpret in a REPL prompt, doing stuff like: import re devre = re.compile(r'(/dev/\S+)\s+(\S+)\s.*$') devre _sre.SRE_Pattern object at 0x28462780 devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var') _sre.SRE_Match object at 0x28432e78 devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974') devre = re.compile(r'(/dev/\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$') devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974', '390512', '541426', '42%', '/var') See how I am 'refining' the initial regular expression without ever leaving the Python prompt? That sort of interactivity is entirely lost when you have to edit a file, save it, switch screen(1) windows or type ^Z to background the editor, run a script, watch it fail and repeat. Then I can keep testing bits and pieces of code: from subprocess import Popen, PIPE pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout for l in pipe: ... m = devre.match(l) ... if m: ... print device %s, size %ld KB % (m.group(1), long(m.group(2))) ... device /dev/ad0s1a, size 1012974 KB device /dev/ad0s1d, size 1012974 KB device /dev/ad0s1e, size 2026030 KB device /dev/ad0s1f, size 10154158 KB device /dev/ad0s1g, size 284455590 KB device /dev/md0, size 19566 KB So piping df output to a Python bit of code works! That's nice. Then once I have a 'rough idea' of how I want the script to work, I can refactor a bit the repetitive bits: def devsize(line): ... m = devre.match(line) ... if m: ... return (m.group(1), m.group(2)) ... devsize('/dev/ad0s1d 1012974 390512 541426 42% /var') ('/dev/ad0s1d', '1012974') So here's a short function to return a nice 2-item tuple with two values (device name, number of 1 KB blocks). Can we pipe df output through it? pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout map(devsize, pipe.readlines()) [ None, ('/dev/ad0s1a', '1012974'), None, ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), None, None, None, None, None, None, None, None, None, None, None, None, None, None, ('/dev/md0', '19566'), None] It looks we can do that too, but the tuple list may be more useful if we trim the null items in the process: pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout [t for t in map(devsize, pipe.readlines()) if t] [ ('/dev/ad0s1a', '1012974'), ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), ('/dev/md0', '19566') ] So there it is. A nice structure, supported by the core of the language, using a readable, easy syntax, and listing all the /dev nodes of my laptop along with their sizes in KBytes. The entire thing was built 'piece by piece', in the same Python session, and I now have not only a 'rough idea' of how the code should work, but also a working copy of the code in my history. Note the complete *lack* of care about how to append to a list, how to create dynamic pairs of devicename-size tuples, how to map all elements of a list through a function, and more importantly the complete and utter lack of any sort of '${[]}' quoting for variable names, values, nested expansions, and so on. That's what I am talking about. Shell scripts are nice, but if we are not constrained for some reason to use only /bin/sh or ksh, there's no excuse for wasting hours upon hours to decipher cryptic quoting rules and exceptional edge-cases of black quoting magic, just to get a short job done. Being able to _easily_ use higher level structures than a plain 'stream of bytes' is nice :) Guys, I eventually found it with lots of rtfm on variable substitution and such.. [...@dada~]$ z=0 [...@dada~]$ y=1 [...@dada~]$ x=aaa [...@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x [...@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]}) aaa [...@dada~]$ Thanks anyway! -- Alexandre Vieira - nul...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to
JDK6 for FreeBSD-64?
Is there an alternative to Diablo JDK for FreeBSD-64? We've been using this port for a while and it works fine, but some of the tools available in Java distributions for other platforms are not fully implemented in the Diablo port. We're particularly interested in the memory profiling tool jmap. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Maholone...@gmail.com wrote: On 7/2/09, Robert Hall rjh...@gmail.com wrote: And what about TX/RX signal? I don't know where to look for that. :) It is part of scan output. I don't remember seeing that in the output. I'll put the Linksys back in the FBSD box and look for it. Does it have another name? I can't find it on the ifconfig man page. On the XP box, the Linksys utility says that the transmit rate is 12 Mbps and the receive rate is 5.5 Mbps. When I move the Linksys NIC to the FBSD box, I get: $ ifconfig ral0 list scan SSIDBSSID CHAN RATE S:N INT CAPS livingroom 00:13:10:b9:e7:d66 54M -93:-95 100 E I think the 54M is what you're asking for? I looked in man ifconfig and couldn't find TX or RX so I'm guessing that you're asking about the rate at which data is passed. Thanks for your help. ___ 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: JDK6 for FreeBSD-64?
On Thu, Jul 02, 2009 at 11:51:13AM -0700, Peter Steele wrote: Is there an alternative to Diablo JDK for FreeBSD-64? We've been using this port for a while and it works fine, but some of the tools available in Java distributions for other platforms are not fully implemented in the Diablo port. We're particularly interested in the memory profiling tool jmap. There's java/jdk16 and the java/openjdk6 ports. However, I don't know whether they support jmap or not. Cheers. -- Jonathan Chen j...@chen.org.nz -- Lots of folks confuse bad management with destiny - Kin Hubbard ___ 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: intermittent failures with sendmail
Hi-- On Jul 2, 2009, at 8:33 AM, Alex Teslik wrote: Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout writing message to b.mx.mail.yahoo.com.: Broken pipe Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout writing message to e.mx.mail.yahoo.com.: Broken pipe Jul 2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): timeout writing message to d.mx.mail.yahoo.com.: Broken pipe I thought it might be an MTU problem: http://anthony.zerosandones.co.uk/?q=node/451 I set my MTU to 1300, but that hasn't helped. [gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1300 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:1c:c0:36:85:62 inet 24.205.141.134 netmask 0xfffc broadcast 24.205.141.135 media: Ethernet autoselect (100baseTX full-duplex) status: active DNS is working fine everywhere, so I don't think thats it. PTR is fine, reverse lookups work fine. I've googled my brains out. Does anyone have any ideas? Intermittent network connectivity problems could be a firewall problem or an actual physical connectivity issue. Presumably your ISP can run a line quality test or something for your DSL/cable/T1/whatever link. tcpdump might give some insight, also Regards, -- -Chuck ___ 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
Transferring dump files ASCII or BINARY
Hi all, I am attempting to restore a root filesystem I donwloaded this morning. I downloaded it in binary mode, and when I try to restore -rf /usbstick/root.dump I am getting: Tape is not a dump tape Should dumps be transfered in BINARY or ASCII mode? Any other insights welcome. Also, should I remove the .snap file in the pristine filesystem before performing the restore? Also, The dump was done on a freebsd 7.2 R machine, and I am using the FreeBSD 7.2 live filesystem CD to do the restores. -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
On 7/2/09, Robert Hall rjh...@gmail.com wrote: On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Maholone...@gmail.com wrote: On 7/2/09, Robert Hall rjh...@gmail.com wrote: And what about TX/RX signal? I don't know where to look for that. :) It is part of scan output. I don't remember seeing that in the output. I'll put the Linksys back in the FBSD box and look for it. Does it have another name? I can't find it on the ifconfig man page. On the XP box, the Linksys utility says that the transmit rate is 12 Mbps and the receive rate is 5.5 Mbps. When I move the Linksys NIC to the FBSD box, I get: $ ifconfig ral0 list scan SSIDBSSID CHAN RATE S:N INT CAPS livingroom 00:13:10:b9:e7:d66 54M -93:-95 100 E 93 is too low. I think the 54M is what you're asking for? I looked in man ifconfig and couldn't find TX or RX so I'm guessing that you're asking about the rate at which data is passed. Thanks for your help. -- Paul ___ 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: JDK6 for FreeBSD-64?
There's java/jdk16 and the java/openjdk6 ports. However, I don't know whether they support jmap or not. The jmap tool in java/jdk16 doesn't appear to be complete either. Has anyone successfully built openjdk6 for FreeBSD? ___ 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: Grid computing under FreeBSD using jails ... ?
On Sun, Sep 7, 2008 at 6:36 AM, Norberto Meijomefree...@meijome.net wrote: On Sat, 6 Sep 2008 20:27:10 -0500 Sam Fourman Jr. sfour...@gmail.com wrote: I am also interested in using FreeBSD as the host in some grid/cloud solution I am open to any Ideas anyone has. Hey Sam, do you have any particular grid/cloud/clustering solution in mind? I think that Sun's grid engine works in FBSD (it is present in ports)... /usr/ports $ make search info=grid\ engine There was a similar,but short discussion in this list around August 11th 2008, Subject 'cluster filesystem', mentioning things like hadoop + gluster on BSD. I know this thread has been dormant for quite some time, but I want to see if anyone has any ideas how how we could do cloud hosting using FreeBSD as the host system. A better way to put it is a FreeBSD Based Amazon EC2. basically a bunch of FreeBSD servers, that are in a cluster, and could host a bunch of Xen Domu's . I am aware that FreeBSD does not yet have Xen dom0 support. but are there any other competing projects to xen that I am unaware of. Sam Fourman Jr. ___ 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: Strange startup behaviour.
Bill Moran wrote: Probably good to attach your rc.conf file, as that's the most likely thing that's wrong, given the information you provided. That would surprise me. The thing that looked strange to me was that there was a heap of files in /etc/rc.d/ that look like they had not been accessed since the last shutdown of the machine. Here is my rc.conf named_enable=YES gateway_enable=YES hostname=nas.lan keymap=us.iso sshd_enable=YES zfs_enable=YES openntpd_enable=YES natd_enable=YES natd_interface=tun0 natd_flags=-f /etc/natd.conf apache2_enable=YES apache2_profiles=default backuppc apache2_default_configfile=/usr/local/etc/apache2/httpd.conf apache2_backuppc_configfile=/usr/local/etc/apache2/httpd-backuppc.conf inetd_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=NO backuppc_enable=YES rpcbind_enable=YES nfs_server_enable=YES mountd_enable=YES mountd_flags=-n -r nut_enable=YES nut_upslog_enable=YES nut_upsmon_enable=YES firewall_enable=YES firewall_logging=YES firewall_type=custom firewall_script=/etc/firewall.rules racoon_enable=NO pf_enable=NO # Enable PF (load module if required) pf_rules=/etc/pf.conf # rules definition file for pf pf_flags= # additional flags for pfctl startup pflog_enable=NO # start pflogd(8) pflog_logfile=/var/log/pflog # where pflogd should store the logfile pflog_flags= # additional flags for pflogd startup ppp_enable=YES ppp_mode=ddial ppp_nat=NO #For Office subnet ifconfig_fxp0=inet 172.21.5.118 netmask 255.255.255.248 #Lan subnet ifconfig_em0=inet 192.168.10.21 netmask 255.255.255.0 media 1000baseTX mediaopt full-duplex #Media subnet ifconfig_em1=inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex # Wireless lan subnet ifconfig_ath0=inet 192.168.2.1 netmask 255.255.255.0 ssid WIFI wepmode on weptxkey 1 wepkey 1:0xSomeKeyThatIsPrivate channel 4 mode 11g mediaopt hostap # For the internet PPP0E link ifconfig_fxp1=inet 10.0.0.2 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex syslogd_flags=-a 172.21.5.0/24:* -a 192.168.10.0/24:* smartd_enable=YES doorman_enable=YES pureftpd_enable=YES dhcpd_enable=YES # dhcpd enabled? dhcpd_flags=-q# command option(s) dhcpd_conf=/usr/local/etc/dhcpd.conf # configuration file dhcpd_ifaces=ath0 em0 em1 # ethernet interface(s) dhcpd_withumask=022 # file creation mask mysql_enable=YES asterisk_enable=YES ___ 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: Transferring dump files ASCII or BINARY
I downloaded it in binary mode, and when I try t that's right. restore -rf /usbstick/root.dump I am getting: Tape is not a dump tape Should dumps be transfered in BINARY or ASCII mode? binary. Any other insights welcome. there is other problem somewhere else. Also, should I remove the .snap file in the pristine filesystem before performing the restore? no need. Also, The dump was done on a freebsd 7.2 R machine, and I am using the FreeBSD 7.2 live filesystem CD to do the restores. ALL fine. ___ 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: replacing harddisks
I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 system. root, /var and /boot are on other disk, but I need to replace those both disks with bigger ones now. To get bigger /usr. So what I'm wondering now is if there is way to take one disk out of mirror (geom) and add bigger. yes. man gmirror gmirror remove , gmirror forget. So it would be one 200g and one 640g. And after sync replace other 200g with yes. make new (single disk at first) gmirror on new drive, copy data and make it bootable, shutdown, replace other 200G drive, boot from 640G and do gmirror insert ___ 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: Strange startup behaviour.
Danny Carroll wrote: That would surprise me. The thing that looked strange to me was that there was a heap of files in /etc/rc.d/ that look like they had not been accessed since the last shutdown of the machine. I think I figured out this behaviour. I believe that the access times are different because at boot time adjkerntz runs and sets the correct time (or rather zone) during boot. The times are 10 hours apart which is the difference between UTC and my time zone. It was a strange co-incidence that I rebooted my machine yesterday twice, the second time was almost 10 hours after the first which is why I was confused. Perhaps if the clock was set to UTC then this would not happen. It still does not explain why /etc/rc.d/natd does not start natd at boot. I also tried copying /etc/rc.d/natd to /usr/local/etc/rc.d in the thought that this was a chicken/egg problem and /usr/local/etc/rc.d scripts might run late enough to work. But I still need to restart natd manually. -D ___ 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: JDK6 for FreeBSD-64?
On Thu, Jul 02, 2009 at 02:32:54PM -0700, Peter Steele wrote: There's java/jdk16 and the java/openjdk6 ports. However, I don't know whether they support jmap or not. The jmap tool in java/jdk16 doesn't appear to be complete either. Has anyone successfully built openjdk6 for FreeBSD? Yes. However the GUI support under openjdk6 is iffy. % java -version openjdk version 1.6.0-internal OpenJDK Runtime Environment (build 1.6.0-internal-root_24_may_2009_16_24-b00) OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) Cheers. -- Jonathan Chen j...@chen.org.nz -- Only the meek get pinched. The bold survive. - Ferris Bueller ___ 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: Portaudit strange behavior.
Hi again, Today portaudit works fine with ${portaudit_sites=http://portaudit.FreeBSD.org/} Now I need to change this option in portaudit on all servers. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl UNIX allows me to work smarter, not harder. ___ 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: POLL: Linux preferences from FreeBSD users
On Wed, 1 Jul 2009 18:58:15 -0400 Daniel Underwood djuatde...@gmail.com wrote: Of the various modern Linux distributions, which do you prefer? and why? we use archlinux (though we've enjoyed debian and the ubuntus). arch is very clean and fast - rather bsd like in fact. it is very well supported by the community - even before you use it: http://wiki.archlinux.org/index.php/Arch_vs_Others -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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