Re: Strange messages in /var/log/messages
Hello Mel Thank you for your answer. Regards. Am Fri, Jan 30, 2009 at 09:29:35AM -0900 Mel schrieb: On Friday 30 January 2009 08:20:00 Martin Schweizer wrote: Jan 30 17:54:45 firewall kernel: c Jan 30 17:54:46 firewall kernel: 0 Jan 30 17:54:57 firewall kernel: w Jan 30 17:54:57 firewall kernel: . Jan 30 17:55:53 firewall kernel: c Jan 30 17:55:53 firewall kernel: C Jan 30 17:55:53 firewall kernel: A Jan 30 17:55:57 firewall kernel: i Jan 30 17:55:57 firewall kernel: 9 Jan 30 17:56:29 firewall kernel: Jan 30 17:56:29 firewall kernel: 2 Jan 30 17:56:29 firewall kernel: 5 Jan 30 17:56:41 firewall kernel: 6 Jan 30 17:56:41 firewall kernel: Jan 30 17:56:41 firewall kernel: 6 Jan 30 17:56:44 firewall kernel: 9 Jan 30 17:56:44 firewall kernel: Jan 30 17:56:44 firewall kernel: . Jan 30 17:56:45 firewall kernel: e Jan 30 17:56:45 firewall kernel: Jan 30 17:56:45 firewall kernel: A Jan 30 17:57:01 firewall kernel: e Jan 30 17:57:01 firewall kernel: t Jan 30 17:57:01 firewall kernel: Jan 30 17:57:02 firewall kernel: 0 Jan 30 17:57:02 firewall kernel: . [snip] Known problem on SMP systems, supposedly fixed in 7.1, but I don't use ipfw. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ 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 -- Martin Schweizer off...@pc-service.ch PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ 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: Graphics tablet / Xorg / mouse problems
Antonio Rieser said: 2) If I remove the tablet from the computer (I've only tried it during an X session), the system panics and shuts down, whether or not I stop the wacom driver before removing the tablet. Can you replicate this while viewing the console [ctrl+alt+f1] rather than an X session, to see exactly what the kernel is panicing from? (I know systems don't really like being forcibly paniced, but it may help figure out what is happening.) -- Glen Barber ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
Alex Goncharov wrote: ,--- You/O. (Sun, 01 Feb 2009 12:07:32 +0100) * | Alex Goncharov wrote: | ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) * | | I did a 'ldd' on the Firefox3 binary | | and I got the attached dump of the linked shared objects. | | Interestingly, the first three entries show up something missing - | | LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 | /usr/local/lib/firefox3/firefox-bin: | libxul.so = /usr/local/lib/firefox3/libxul.so (0x28087000) | libmozjs.so = /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) | libxpcom.so = /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) | | firefox3 sets LD_LIBRARY_PATH for you :-) | | It does not! -- $ grep run-mozilla.sh /usr/local/bin/firefox3 # Use run-mozilla.sh in the current dir if it exists # If not, then start resolving symlinks until we find run-mozilla.sh run_moz=$curdir/run-mozilla.sh run_moz=$curdir/run-mozilla.sh run_moz=$dist_bin/run-mozilla.sh if [ -x $moz_libdir/run-mozilla.sh ]; then echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@ $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@ $ grep LD_LIBRARY_PATH /usr/local/lib/firefox3/run-mozilla.sh ## Set LD_LIBRARY_PATH ## On Solaris we use $ORIGIN (set in RUNPATH) instead of LD_LIBRARY_PATH ## under dist/bin. To solve the problem, we should rely on LD_LIBRARY_PATH LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} if [ -n $LD_LIBRARY_PATH_64 ]; then LD_LIBRARY_PATH_64=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH_64+:$LD_LIBRARY_PATH_64} ## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin) DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MRE_HOME}${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH} echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH if [ -n $LD_LIBRARY_PATH_64 ]; then echo LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64 echo DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH export MOZILLA_FIVE_HOME LD_LIBRARY_PATH export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH -- No, it doesn't? | ... on all of my boxes (amd64), it does not ... even on those | machines where Firefox3 is running, these libs are empty. But I | realized that those boxes are capable running firefox3 after the | 'great Xorg-update-catastrophy' have still installed firefox2 ... I | will check tomorrow at the lab if this do have an influence of the | proper work abilities of firefox3 when removing the old firefox2. | | When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it | doesn't change the bad situation on the failing CURRENT amd64 box. All I was saying was that your ldd experiment was... hmm... not correct (if you agree with mine, of course). Saying, it was stupid? You're correct. It was stupid and, of course, it doesn't matter if the libs show up or not. I thought, at the first shot, firefox3 binary needs to have a complete reference to all of its libraries, but thinking so leads the advantage of having dynamical loadable objects ad absurdum. Greetings, Oliver ___ 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
Tool to uncat file
Dear list, before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. An example could be this: % uncat -p 0x12,0x52,0xf1,0x09 file_orig It creates file_1 file_2 file_3. And, of course, % cat file_1 file_2 file_3 file_orig would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the file starting pattern (-p), where a new file begins. I cannot use dd due to the fact that the files concatenated are of a different size. So the idea would be to look for specific byte pattern and then start a new file each time it occurs on input. Is there such a tool, or any other ideas? -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: dump(8) using snapshot + recommended cache
I regularly use dump(8) with snapshots to back up my server. While this seems to have been working perfectly well so far, upon (re)reading the man page for dump(8), I have noticed a somewhat scary pair of lines in the paragraph describing the option for -C cachesize (emphasis with stars mine): [Use of this option] will greatly improve performance at the cost of ***dump possibly not noticing changes in the file system*** between passes. ***It is recommended that you always use this option when dumping a snapshot.*** Does anyone know what, exactly, this means? no, in my experience it's no difference in speed with this enabled or not. ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
,--- You/Mel (Sat, 31 Jan 2009 20:05:50 -0900) * | As a sidenote, it would be nice if xorg-server14 port would be created till | the dust has settled. Very, very nice. Almost as nice as xorg-server being the old, working xorg-server and xorg-server-devel the new, broken one. -- Alex -- alex-goncha...@comcast.net -- ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
On Jan 31, 2009, at 9:05 PM, Mel wrote: On Saturday 31 January 2009 15:39:03 O. Hartmann wrote: Mel wrote: On Friday 30 January 2009 13:19:41 O. Hartmann wrote: After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 and having done hurting recompiling nearly everything/package twice now firefox3 still doesn't work properly and hits me when starting with this error message: Xlib: extension Generic Event Extension missing on display : 0.0. Then firefox3 freezes forever, showing something like the background or pixel remnants of windows/picograms moving over its window. http://lists.freedesktop.org/archives/xorg/2008-October/039134.html Well, that doesn't help very much. As R. Noland wrote, the error coming up isn't of any harm. I still have Firefox3 not working on a FreeBSD 8.0-CURRENT/AMD64 UP box, running the most recent FreeBSD 8.0-CURRENT and having now recompiled three time EVERYTHING, Firefox3 inclusive. Firefox3 is still stuck when it comes to pulldown menus or requester for download destination, eating up 100% CPU time and slowing down the box incredible. I pretty sure I have all the stuff of the X11 suite in the right place and the right revision number, as I said, I recompiled everything three times and I did several attempts upgrading the whole Xorg since sunday last week. You have 2 choices: - revert to known working xorg-server-1.4 (xorg 7.3) - try to debug this using the send-pr system, given the ammount of problems people are posting with this xorg-server, more datapoints are not a bad thing. As a sidenote, it would be nice if xorg-server14 port would be created till the dust has settled. I don't have an issue with any cairo related ports after upgrading to xorg 7.4. Of course I had to rebuild everything dependent on libxcb, but that took no more than one iteration to complete (apart from xchat2, which took 4 iterations to finish because of some wonky library mucking up the works). Yay for statically linked library code - _-... -Garrett ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
,--- I/Alex (Sun, 01 Feb 2009 07:56:40 -0500) * | All I was saying was that your ldd experiment was... hmm... not | correct (if you agree with mine, of course). ,--- You/O. (Sun, 01 Feb 2009 14:50:47 +0100) * | Saying, it was stupid? You're correct. It was stupid and, of course, it | doesn't matter if the libs show up or not. Not stupid -- you tried various things in desperation and hurry, and reported your observations and thoughts. It's normal :-) | I thought, at the first shot, firefox3 binary needs to have a | complete reference to all of its libraries, but thinking so leads | the advantage of having dynamical loadable objects ad absurdum. Glad this is cleared now! -- Alex -- alex-goncha...@comcast.net -- ___ 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: Graphics tablet / Xorg / mouse problems
Antonio Rieser wrote: Hi, I recently installed FreeBSD 7.1 on an ACER Aspire 1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a Wacom Bamboo tablet and the wacom driver from the ports collection. I have the following problems with the tablet and mouse: 1) If I boot without the tablet plugged in, then plug it in later and restart X, the error message (EE) intel(0): [DRI] Unlocking inconsistency: Context 676684348 trying to unlock lock held by context 2 (EE) intel(0): [DRI] Locking deadlock. Already locked with context 676684348, trying to lock with context 2. is written to Xorg.0.log and kdm-bin.log so many times that it fills my /var partition and locks my system. Note that if I boot with the tablet already plugged in, this error doesn't appear, and everything works fine. This is actually not connected to the tablet in my opinion, it's a problem with 3D-acceleration of your video card, which apparently does not like being reset/restarted. Can you show us your Device Section? I loading the driver via the line 'uwacom_load=YES in /boot/loader.conf 2) If I remove the tablet from the computer (I've only tried it during an X session), the system panics and shuts down, whether or not I stop the wacom driver before removing the tablet. OK, this sounds like a serious kernel problem. 3) If I stop the wacom driver, then start it again, I cannot simply restart X and have the tablet work. I have to reboot in order for the tablet to be recognized, even in mouse mode. That's because the driver can not start a rescan of the hardware. It can only hook in when the tablet gets first detected. This is why the module has to be loaded from loader.conf. 4) Occasionally the pointer refuses to stay put and drifts to the top of the screen. Controlling the pointer with the mouse becomes difficult at this point, too, since it wants to float upwards. Unfortunately, I have difficulty reproducing this reliably. Once it starts, though, it doesn't stop until I end the X session. If the problem starts and then I stop the wacom driver without restarting X, it continues anyway. I have that with a cheap optical mouse sometimes, I plug it out and back in and the problem is gone. Since that panics your system this is hardly an acceptable solution. Anyway it looks to me like that is a hardware problem. 5) Xorg.0.log contains the following error (also included below): pad Wacom X driver can't grab event device, errno=1005 (I haven't honestly noticed any strange behavior on the 'pad' device, however.) Well, I have taken the liberty to forward this mail to Bartosz, he might be able to do something with that. Obviously the driver does not handle all data generated by the pad. Regarding 1) - and maybe 3) 4) - my guess is that the tablet is fighting with the mouse for control of the pointer, but I don't know how to check if that's the case or how to fix it if it is. No, that's not the way things work. I think you are facing two distinct problems here. One with your video card and one with the tablet driver. ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
Alex Goncharov wrote: ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) * | I did a 'ldd' on the Firefox3 binary | and I got the attached dump of the linked shared objects. | Interestingly, the first three entries show up something missing - LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 /usr/local/lib/firefox3/firefox-bin: libxul.so = /usr/local/lib/firefox3/libxul.so (0x28087000) libmozjs.so = /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) libxpcom.so = /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) firefox3 sets LD_LIBRARY_PATH for you :-) It does not! ... on all of my boxes (amd64), it does not ... even on those machines where Firefox3 is running, these libs are empty. But I realized that those boxes are capable running firefox3 after the 'great Xorg-update-catastrophy' have still installed firefox2 ... I will check tomorrow at the lab if this do have an influence of the proper work abilities of firefox3 when removing the old firefox2. When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it doesn't change the bad situation on the failing CURRENT amd64 box. | thor# ldd firefox-bin | firefox-bin: | libxul.so = not found (0x0) | libmozjs.so = not found (0x0) | libxpcom.so = not found (0x0) | libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000) -- Alex -- alex-goncha...@comcast.net -- ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
,--- You/O. (Sun, 01 Feb 2009 12:07:32 +0100) * | Alex Goncharov wrote: | ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) * | | I did a 'ldd' on the Firefox3 binary | | and I got the attached dump of the linked shared objects. | | Interestingly, the first three entries show up something missing - | | LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin | head -n 5 | /usr/local/lib/firefox3/firefox-bin: | libxul.so = /usr/local/lib/firefox3/libxul.so (0x28087000) | libmozjs.so = /usr/local/lib/firefox3/libmozjs.so (0x28e8f000) | libxpcom.so = /usr/local/lib/firefox3/libxpcom.so (0x28f1f000) | | firefox3 sets LD_LIBRARY_PATH for you :-) | | It does not! -- $ grep run-mozilla.sh /usr/local/bin/firefox3 # Use run-mozilla.sh in the current dir if it exists # If not, then start resolving symlinks until we find run-mozilla.sh run_moz=$curdir/run-mozilla.sh run_moz=$curdir/run-mozilla.sh run_moz=$dist_bin/run-mozilla.sh if [ -x $moz_libdir/run-mozilla.sh ]; then echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@ $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@ $ grep LD_LIBRARY_PATH /usr/local/lib/firefox3/run-mozilla.sh ## Set LD_LIBRARY_PATH ## On Solaris we use $ORIGIN (set in RUNPATH) instead of LD_LIBRARY_PATH ## under dist/bin. To solve the problem, we should rely on LD_LIBRARY_PATH LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} if [ -n $LD_LIBRARY_PATH_64 ]; then LD_LIBRARY_PATH_64=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH_64+:$LD_LIBRARY_PATH_64} ## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin) DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MRE_HOME}${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH} echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH if [ -n $LD_LIBRARY_PATH_64 ]; then echo LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64 echo DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH export MOZILLA_FIVE_HOME LD_LIBRARY_PATH export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH -- No, it doesn't? | ... on all of my boxes (amd64), it does not ... even on those | machines where Firefox3 is running, these libs are empty. But I | realized that those boxes are capable running firefox3 after the | 'great Xorg-update-catastrophy' have still installed firefox2 ... I | will check tomorrow at the lab if this do have an influence of the | proper work abilities of firefox3 when removing the old firefox2. | | When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it | doesn't change the bad situation on the failing CURRENT amd64 box. All I was saying was that your ldd experiment was... hmm... not correct (if you agree with mine, of course). -- Alex -- alex-goncha...@comcast.net -- ___ 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
dump(8) using snapshot + recommended cache
Hi All; I regularly use dump(8) with snapshots to back up my server. While this seems to have been working perfectly well so far, upon (re)reading the man page for dump(8), I have noticed a somewhat scary pair of lines in the paragraph describing the option for -C cachesize (emphasis with stars mine): [Use of this option] will greatly improve performance at the cost of ***dump possibly not noticing changes in the file system*** between passes. ***It is recommended that you always use this option when dumping a snapshot.*** Does anyone know what, exactly, this means? In particular, is the first statement actually trying to say: Use of this option will greatly improve performance; however it may be that changes made to the filesystem made between _dump_ passes will be ignored. ***The resulting dumped filesystem image will be consistent and correct based on a timestamp no later than that of the point at which the dump was started***. Is this a fair statement? Is this guaranteed? Or are we trying to say that: The resulting filesystem will contain images of individual files based on a timestamp no later than that of the point at which the dump was started, however any individual files modified after the dump begins may be stored using any of the version that appeared written to disk during the period of the dump. As far as the second line goes, I am not at all clear on what this is trying to say. Why is the cache recommended? For speed? Stability? Output correctness? In particular, if a snapshot dump is made without a cache option, is it potentially corrupt? In particular, if the second attempt above is more true than the first, it seems to me that we should _not_ recommend the use of a cache with snapshots, as it seems to erode the utility of the snapshot itself. It is for this reason that I am suspecting that there is more here than meets the eye, which is why I am keen to make sure that this is clear. I am very happy to put in an update to the docs if we can make sure that we know exactly what we are trying to say here. Thanks, Andrew. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using Serial Port Other Than sio0 for the Console
Hello Tim Probably I find the problem. I did not read care enough the article 26.6.5.2. I will try it asap (in the next few days). I will keep you updated. Regards, Am Sat, Jan 31, 2009 at 12:09:28PM -0700 Tim Judd schrieb: On Fri, Jan 30, 2009 at 10:28 AM, Martin Schweizer lists_free...@bluewin.ch wrote: Hello I want to use sio1 for console access. I read chapter 26.6 in the handbook and did the following: /boot.config: -P /boot/device.hints: [snip] hint.sio.0.at=isa hint.sio.0.port=0x3F8 ### hint.sio.0.flags=0x10 hint.sio.0.irq=4 hint.sio.1.at=isa hint.sio.1.port=0x2F8 hint.sio.1.flags=0x10 hint.sio.1.irq=3 [snip] My custom kernel: [snip] device sio [snip] /var/run/dmesg.boot: [snip] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio1: type 16550A, console sio1: [FILTER] [snip] /etc/ttys: [snip] ttyd0 /usr/libexec/getty std.9600 vt100 on secure ttyd1 /usr/libexec/getty std.9600 vt100 on secure ttyd2 /usr/libexec/getty std.9600 vt100 on secure ttyd3 /usr/libexec/getty std.9600 vt100 on secure [snip] The baud rate etc. are correct as well (the standard settings). The problem is I get no connection. I'm sure that my terminal works correct because I can connect other FreeBSD sever over the serial cable but not the above. Any ideas? Kind regards, -- Martin Schweizer off...@pc-service.ch PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; Surprised nobody's really responded. Enabling serial logins on ttyd1 (COM2 in Microsoft terms) is on -- it's defined in your ttys. The guaranteed enabling is to restart, but I've heard that sigHUP init will reread ttys and enable logins (but I hadn't got that to work yet). Enabling serial as your console output (in terms of the boot process and everything) should be, if available, enabled in /boot/loader.conf There doesn't seem to be a setting to enable COM2 as your console device, the only options (by reading through /boot/defaults/loader.conf) is to enable comconsole, which runs over COM1 You would likely have to hack the bootloader files in source and reinstall to get that kind of functionality. Does this help? let me know if you want more help. I like enabling serial console for the fact that you can get into out-of-bounds management this way easily. --Tim ___ 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 -- Martin Schweizer off...@pc-service.ch PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ 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: Excessive letter-spacing in firefox3 under wine
On Thursday 29 January 2009 22:02:35 Tore Lund wrote: Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. What exactly did you do to import those fonts? You should put them in a separate directory under /usr/local/lib/X11/fonts, create fonts.scale and fonts.dir in that directory using mkfontscale and mkfontdir, then run fc-cache -f -v and (for completeness) add a FontPath entry to your xorg.conf. Alternatively, you can install the x11-fonts/webfonts port, which contains the most commonly used fonts. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) Try to get it to work under linux-firefox first. - Remove all linux-*, linux_base-* and nspluginwrapper packages you've currently installed. - Remove any stale npwrapper plugins from the following directories and their subdirectories: ~/.mozilla/plugins /usr/local/lib/browser_plugins /usr/local/lib/npapi /usr/local/lib/firefox/plugins - Check that you have these settings in each file: * /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f8 * /etc/sysctl.conf: compat.linux.osrelease=2.6.16 * /etc/rc.conf: linux_enable=YES * /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 - Reboot or alternatively you can run these commands as root: sysctl compat.linux.osrelease=2.6.16 mount /compat/linux/proc - Install www/linux-firefox and www/linux-flashplugin9. - Check if the plugin works in linux-firefox. - Install www/nspluginwrapper. - Run these commands as root: nspluginwrapper -v -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so ln -sf /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/npapi/symlinks/firefox/ - Check if the plugin works in native firefox. This should get the plugin working, but it'll still crash or freeze the browser sometimes. You can kill the plugin with killall npviewer.bin. You also might want to install a plugin like www/xpi-flashblock. ___ 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
Reading a DVD UDF volume label
Hello, Does anyone know how to retrieve a DVD's UDF volume label from the CLI? I'm trying to write a script that will catalog a DVD's contents and automatically assign it a filename based on the UDF label. Things I've tried so far: The file -s /dev/acd0 command. cdrtools-devel's cdrecord -minfo Using dd and strings. Any help appreciated. Thanks! ___ 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: Gnucash slow startup on FreeBSD 7.1
Here I notice that the problem is in glib2 gnucach, and evolution makes a dlopen with a wrong option in BSD, so it scans all the machine for shared libraries... and it takes a lot of cpu and a lot of time a fix in glib makes the trick... (it is an ugly fix, but works...) the fix at http://patches.k1.com.br/glib20-patch-x1 and insert code for gnucash and apply it to glib code (/usr/ports/deve/glib20) reinstall glib, and see if works. Hope it helps Sergio ___ 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: dump(8) using snapshot + recommended cache
I regularly use dump(8) with snapshots to back up my server. While this seems to have been working perfectly well so far, Sorry to follow-up my own post; I just realized I hadn't mentioned any version info. The docs I am reading are the ones associated with 7.1-RELEASE; I haven't checked whether this part of the dump documentation got updated with 7.1 or not. Thanks, Andrew. ___ 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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
Scot Hetzel wrote: On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary and I got the attached dump of the linked shared objects. Interestingly, the first three entries show up something missing - therefore I deinstalled Firefox and rebuild the browser after an additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg thor# ldd firefox-bin firefox-bin: libxul.so = not found (0x0) libmozjs.so = not found (0x0) libxpcom.so = not found (0x0) libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000) libplc4.so.1 = /usr/local/lib/libplc4.so.1 (0x80076f000) When firefox3 was first added to the ports collection, I had noticed this problem with firefox3 (after using sysutils/libchk), but I didn't have this problem with the firefox 2. A look at the difference between the www/firefox and www/firefox3 Makefiles showed that firefox3 was missing this: LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} After adding this line to the ports Makefile, and rebuilding the port, these libraries are now showing as found in the ldd output. Scot Isn't that worth a PR? ___ 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: Shuttle for a BSD file server?
On Thu, Jan 29, 2009 at 10:33 PM, Maxim Khitrov mkhit...@gmail.com wrote: Greetings, I'm planning to build a new home file server for myself, starting with about 2TB of RAID6 space, but with room to grow in the future. Most of that will be on SATA drives, but I may throw in two SAS drives in RAID1 for the base OS, hence the SAS raid controller and enclosure. The highest priority for this build is data security, followed by performance and uptime. Rather than go for server-grade components, I thought that I should instead try to separate storage from the server itself. It's cheaper (sort of), easier to upgrade in the future, and if the server goes down for some reason, I can just put the raid card into another machine and once again have access to my data. The other advantage with this build is that I already have a Q6600 and some DDR2 memory around, so that will save me money on having to get Xeons and ECC memory. With that in mind, I currently have the following components picked out (listed below). I would like to know whether anyone has used any of these with FreeBSD 7.x, or if you have some other suggestions for what I should look into (am I asking for trouble by using these parts for a 24/7 file server in terms of stability)? I know that the 3ware controller should be supported, but I'm not sure about the Shuttle. How does FreeBSD play with X48 chipset? The drive enclosure obviously doesn't interact with the OS, but I'd still like your opinion on it or maybe some alternatives. Please let me know what you think. - Max Barebone: Shuttle SX48P2 E http://www.newegg.com/Product/Product.aspx?Item=N82E16856101070 Raid Card: 3ware 9690SA-8E-KIT http://www.newegg.com/Product/Product.aspx?Item=N82E16816116062 SAS Enclosure: RAIDAGE iAge840ML2 http://www.newegg.com/Product/Product.aspx?Item=N82E16816702014 Ok, other components aside for now, I've been thinking about what video card to get. Since the raid controller will occupy one slot, and BBU another, I thought about using a usb video adapter. Can anyone please let me know if something like this is supported by FreeBSD: eVGA UV Plus USB VGA Adapter 100-U2-UV16-A1 http://www.newegg.com/Product/Product.aspx?Item=N82E16815101001 - Max ___ 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: Tool to uncat file
$ man split This (split) is the standard unix utility to break a file up into pieces. It breaks it down either by a fixed number of lines or by a fixed number of bytes. Also the rules for dividing lines is simplistic: simple newline division, no special escape handling. If that doesn't suit your purpose, then you have to write your own custom split-like utility. I've done that in the past. For instance I once wrote a routine in Perl at work to divide Informix format .unl files (database dump), with special escape rules for newlines and special handling of binary data. For what you're describing you probably want to write a C program to do the job. -Will Polytropon wrote: Dear list, before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. An example could be this: % uncat -p 0x12,0x52,0xf1,0x09 file_orig It creates file_1 file_2 file_3. And, of course, % cat file_1 file_2 file_3 file_orig would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the file starting pattern (-p), where a new file begins. I cannot use dd due to the fact that the files concatenated are of a different size. So the idea would be to look for specific byte pattern and then start a new file each time it occurs on input. Is there such a tool, or any other ideas ___ 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
request responsibility timeout
I want to request a responsibility timeout for bin/120784, I have submitted a patch matching the previously discussed criteria for a commit a couple of weeks ago and I would like to receive some kind of reaction. What is the appropriate channel to do so? Regards http://www.freebsd.org/cgi/query-pr.cgi?pr=120784 ___ 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
xorg 7.4 keyboard localisation (xorg.conf vs hal)
Hi, I've upgrade to xorg7.4 and apparently keyboard and mouse are now working with hald. In xorg.conf changing old keybord config as no effect and I can't find how change it with hal. I've got /usr/local/etc/hal/fdi/* but no *keymap* and I don't know how build such a file. Thank you. -- [] [][][] Sebastien Chassot - Geneva (Switzerland) || ___ 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: xorg 7.4 keyboard localisation (xorg.conf vs hal)
On Sun, Feb 01, 2009 at 05:42:39PM +0100, Sebastien Chassot wrote: Hi, I've upgrade to xorg7.4 and apparently keyboard and mouse are now working with hald. In xorg.conf changing old keybord config as no effect and I can't find how change it with hal. I've got /usr/local/etc/hal/fdi/* but no *keymap* and I don't know how build such a file. This should get you started: ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device match key=info.capabilities contains=input.keyboard merge key=input.xkb.layout type=stringgb/merge /match /device /deviceinfo Change the `gb' in the example to your local keymap name, save the file as /usr/local/etc/hal/fdi/policy/x11-input.fdi and restart hald. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpYsxps4y2qv.pgp Description: PGP signature
Re: request responsibility timeout
On Sunday 01 February 2009 07:48:46 Dominic Fandrey wrote: I want to request a responsibility timeout for bin/120784, I have submitted a patch matching the previously discussed criteria for a commit a couple of weeks ago and I would like to receive some kind of reaction. What is the appropriate channel to do so? -hackers -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ 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: dump(8) using snapshot + recommended cache
On Sun, 1 Feb 2009 08:59:02 -0400 (AST) Andrew Hamilton-Wright andre...@ieee.org wrote: Hi All; I regularly use dump(8) with snapshots to back up my server. While this seems to have been working perfectly well so far, upon (re)reading the man page for dump(8), I have noticed a somewhat scary pair of lines in the paragraph describing the option for -C cachesize (emphasis with stars mine): [Use of this option] will greatly improve performance at the cost of ***dump possibly not noticing changes in the file system*** between passes. ***It is recommended that you always use this option when dumping a snapshot.*** When you dump a snapshot there are, by definition, no changes between passes. So it's saying that in that case there in no reason not to cache. ___ 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: Tool to uncat file
Polytropon wrote: Dear list, before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. An example could be this: % uncat -p 0x12,0x52,0xf1,0x09 file_orig It creates file_1 file_2 file_3. And, of course, % cat file_1 file_2 file_3 file_orig would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the file starting pattern (-p), where a new file begins. I cannot use dd due to the fact that the files concatenated are of a different size. So the idea would be to look for specific byte pattern and then start a new file each time it occurs on input. Is there such a tool, or any other ideas? csplit(1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.
On Sun, Feb 1, 2009 at 5:28 AM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: Scot Hetzel wrote: On Sat, Jan 31, 2009 at 6:39 PM, O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: build-process, but I doubt this. I did a 'ldd' on the Firefox3 binary and I got the attached dump of the linked shared objects. Interestingly, the first three entries show up something missing - therefore I deinstalled Firefox and rebuild the browser after an additional rebuild of libxcb (via portupgrade -rf). Previously, all Xorg thor# ldd firefox-bin firefox-bin: libxul.so = not found (0x0) libmozjs.so = not found (0x0) libxpcom.so = not found (0x0) libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000) libplc4.so.1 = /usr/local/lib/libplc4.so.1 (0x80076f000) When firefox3 was first added to the ports collection, I had noticed this problem with firefox3 (after using sysutils/libchk), but I didn't have this problem with the firefox 2. A look at the difference between the www/firefox and www/firefox3 Makefiles showed that firefox3 was missing this: LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} After adding this line to the ports Makefile, and rebuilding the port, these libraries are now showing as found in the ldd output. Scot Isn't that worth a PR? Submitted and rejected: http://www.freebsd.org/cgi/query-pr.cgi?pr=131237 As it doesn't affect the operation of Firefox3's firefox-bin program. Scot ___ 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: Xorg upgrade disaster: Xlib: extension Generic Event Extension missing on display :0.0.
O. Hartmann wrote: After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4 and having done hurting recompiling nearly everything/package twice now firefox3 still doesn't work properly and hits me when starting with this error message: Xlib: extension Generic Event Extension missing on display :0.0. Looks like libraries (Xext among others) already support the XGE extension: http://thread.gmane.org/gmane.comp.freedesktop.xorg/36483 but the current the 1.5 Xorg server does not support and the 1.6 release is behind schedule a bit: http://www.phoronix.com/scan.php?page=news_itempx=Njg4OA I keep getting this error after upgrade of X today but everything works as usual. Then firefox3 freezes forever, showing something like the background or pixel remnants of windows/picograms moving over its window. The firefox problem is unrelated I think to the message above (as demonstrated later in the thred) --Marcin ___ 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: dump(8) using snapshot + recommended cache
On Sun, 1 Feb 2009, RW wrote: ***It is recommended that you always use this option when dumping a snapshot.*** When you dump a snapshot there are, by definition, no changes between passes. So it's saying that in that case there in no reason not to cache. Ah, that makes sense. That being the case, perhaps we can update the text to: If dumping from a snapshot, the filesystem is already frozen, therefore using a cache with a snapshot will ensure that consistency is maintained while also providing best performance. If that sounds good, I'll make a doc patch. Out of curiosity, under what circumstances is the improved performance the most likely? I dump from cron when the system usage is low, and haven't noticed any significant difference in time with or without cacheing -- but I haven't done any testing under heavy load, nor with limited RAM, so there are many mbufs available in any case. Thanks for the info, Andrew. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem gdm 2.24, xdmcp D-BUS?
On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote: I tried to remove the directories that was not removed by deinstall manually, and then installed again, now no complaints about not being able to uninstall I can now start gdm again, with out any complaints, but when I run sockstat I cannot see gdm-binary active nor any listen on udp 177. Any suggestions? GDM 2.24 ist broken, not only on FreeBSD but also on other systems like Fedora. My personal workaround ist to keep using 2.20 for now, which seems to be the last working version that came from the gnome team. gdm-2.24.1_5 is not broken, else I couldn't have logged onto my gnome-desktop some minutes ago. But there are some feature-regressions compared to 2.20 - developers say they have rewritten important parts of the code. Greetings, Uli. Thanks, but how do I reverse back to gdm 2.20? Is this possible with the portupgrade tools? /Klaus -- Klaus F. Østergaard, farremosen(at)gmail dot 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
Dear Freebsd-questions the Dubai Shopping Festival 2009 Special Offers are here - International Property Directory
Dubai Shopping Festival 2009 Special Offers - International Property Directory Dubai | United Arab Emirates Choose Your Language: Investors - purchase your property through our services and you can list and market your property FREE of charge to our growing database of buyers when you wish to sell. Agent and Private Property Listings Please forward this newsletter If you know someone who might be interested in our latest newsletter please click here to forward this email to up to 5 friends at once. IMPORTANT: International Property Directory will never ask for any monies. All contracts are issued directly and we will assist throughout the process and be on hand for after sales services. Dubai Shopping Festival 2009 Property Bonanza! International Property Directory are pleased to be able to bring an exclusive selection of offers to investors and enthusiasts of the Dubai Property Market in celebration of the Dubai Shopping Festival 2009. Review the FREE 6 page brochure here To start your negotiations to get the very best deals on offer click here We work with the Developers - Directly! Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list Newsletter Removal - Please remove email from the IPD Newsletter list DISCLAIMER This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. This e-mail has been prepared using information believed by the author to be reliable and accurate, but International Property Directory make no warranty as to its accuracy or completeness. Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of International Property Directory. They maybe subject to change without notice. International Property Directory do not accept responsibility for changes made to this e-mail after it was sent. If verification is required please request a hard-copy version. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, lost, destroyed, corrupted, arrive late or incomplete, or contain viruses. For information regarding our privacy policy please visit contact us for further details. International Property Directory does not take receipt of any monies or sign contracts with investors. We operate independently, sourcing property investment opportunities for our interested parties. All contracts and monies are always handled directly with the property developer offering the property. We always recommend our investors seek Independent legal and financial advice before purchasing a property. International Property Directory can accept no liability for any damages or losses resulting from the purchase of one our listed Investment Opportunities. International Property Directory is a Canadian registered company. Registered Address: London, Ontario, N6G 4V4, CANADA © International Property Directory ___ 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
IPFW in-kernel NAT: How to compile?
All: I'm building a machine using FreeBSD 7.1-RELEASE, and noticed that there was now a kernel configuration option to enable in-kernel NAT in IPFW. So, starting with a pristine system, I tried to rebuild the kernel with this feature as I trimmed out the unneeded device drivers. But the build failed -- and the error messages suggest that the problem had to do with linking libalias into the kernel. libalias seems to be there, so I'm not sure what's wrong. Ideas? --Brett Glass ___ 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 and multicasting software
Hi, all: Does anyone know multicasting packages (udp based) that I can test on the freebsd? I am using 6.3 and it comes with vlc-0.8.6i and doesn't support udp streaming. Any help would be greatly appreciated.. ___ 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: Tool to uncat file
before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. An example could be this: % uncat -p 0x12,0x52,0xf1,0x09 file_orig It creates file_1 file_2 file_3. And, of course, % cat file_1 file_2 file_3 file_orig would re-create the original file. The bytes 0x12,0x52,0xf1,0x09 tell the file starting pattern (-p), where a new file begins. I cannot use dd due to the fact that the files concatenated are of a different size ... csplit(1) csplit would cover the case where the input file is text, to be split on line boundaries based on patterns found within the lines; but the example given looks like a binary pattern and my reading of the inquiry is that the split should occur at the pattern rather than at a nearby newline. Grepping the ports INDEX for split yields the following candidates which might bear examination, to see if any of them will work: misc/granulate sysutils/gfslicer sysutils/hoz sysutils/lxsplit ___ 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: Tool to uncat file
Polytropon wrote: Dear list, before starting to code on my own, I'd like to ask if there's already a tool to uncat files, defining the file separation position as a string of bytes, usually given in hexadecimal form. Is there such a tool, or any other ideas? If I understand correctly you are looking for split(1). -p pattern The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first line of the next output file. This option is incompatible with the -b and -l options. -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ 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: IPFW in-kernel NAT: How to compile?
In the last episode (Feb 01), Brett Glass said: I'm building a machine using FreeBSD 7.1-RELEASE, and noticed that there was now a kernel configuration option to enable in-kernel NAT in IPFW. So, starting with a pristine system, I tried to rebuild the kernel with this feature as I trimmed out the unneeded device drivers. But the build failed -- and the error messages suggest that the problem had to do with linking libalias into the kernel. libalias seems to be there, so I'm not sure what's wrong. Ideas? Do you have options LIBALIAS in your kernel config? -- 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: IPFW in-kernel NAT: How to compile?
At 05:43 PM 2/1/2009, Dan Nelson wrote: Do you have options LIBALIAS in your kernel config? Nope. There was nothing that said that such an option was needed (or even that it existed). I did find it, via a recursive grep, in a file labeled NOTES a couple of levels up in the directory hierarchy. I'm trying a compile now to see if that's all that's needed to fix the problem. It looks as if there's no longer one easy place to find out how to configure a kernel. The options used to all be in a LINT file that was present in the configuration directory No more. --Brett ___ 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: Looking for a Good FreeBSD and General Unix Backup System
After all the good suggestions by several people from this list, I think we will go with dump and restore. I used to use dump around ten years ago when our departmental Unix work station was a Sun and I don't ever remember it letting us down, even after something dreadful happened to the main drive and I had to rebuild it. There turns out to be a dump package for Linux which should give us the coverage we were looking for. The scripts I set up for doing backups are much smaller and easier to maintain with dump with the idea being that a shell script determines whether this is week 1 through 5 in a given month. The first day of that week is Level 0 followed by 6 more levels until we start another week such that the path to a backup looks like 02-1/systemname/systemname_0 systemname_1 and so forth. The defaults appear to be slightly different between the bsd dump and Linux's dump, but it wasn't difficult to get both to dump one volume containing all the inodes to a file which is actually a named pipe on the backup server. Many thanks to all. Martin McCormick ___ 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: IPFW in-kernel NAT: How to compile?
In the last episode (Feb 01), Brett Glass said: At 05:43 PM 2/1/2009, Dan Nelson wrote: Do you have options LIBALIAS in your kernel config? Nope. There was nothing that said that such an option was needed (or even that it existed). I did find it, via a recursive grep, in a file labeled NOTES a couple of levels up in the directory hierarchy. I'm trying a compile now to see if that's all that's needed to fix the problem. It looks as if there's no longer one easy place to find out how to configure a kernel. The options used to all be in a LINT file that was present in the configuration directory No more. LINT was removed back in 2000 and replaced with NOTES, since that better describes what it's really used for. IPFIREWALL_NAT and LIBALIAS should additionally be documented in ipfw(4) imho. -- 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
problems building Parse::RecDescent
I'm trying to build p5-Apache-MP3-4.00 from ports. I had it installed and working, but it recently stopped working so I'm rebuilding it. Unfortunately I'm having build problems. === Building for p5-Ogg-Vorbis-Header-0.03_1 cp Header.pm blib/lib/Ogg/Vorbis/Header.pm /usr/local/bin/perl5.8.9 -Mblib -MInline=NOISY,_INSTALL_ -MOgg::Vorbis::Header -e1 0.03 blib/arch Starting Build Prepocess Stage Finished Build Prepocess Stage Starting Build Parse Stage This innvocation of Inline requires the Parse::RecDescent module. Can't locate version.pm in @INC (@INC contains: /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/arch /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03/blib/lib /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Parse/RecDescent.pm line 1722. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/Inline/C/ParseRecDescent.pm line 14. at /usr/local/lib/perl5/site_perl/5.8.9/Inline/C.pm line 322 INIT failed--call queue aborted. *** Error code 2 Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header/work/Ogg-Vorbis-Header-0.03. *** Error code 1 Stop in /usr/ports/audio/p5-Ogg-Vorbis-Header. *** Error code 1 Stop in /usr/ports/www/p5-Apache-MP3. Any suggestions? Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpbqvtpCcxkh.pgp Description: PGP signature
Vinum/FreeBSD 6.4
Are there any disk size/volume size limitations on Vinum with FreeBSD 6.4? Can I run Vinum on 4 500 G drives and get a 1Tbyte RAID10 config? ___ 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
Confirmation Message from MIXSHOWBLAST
questi...@freebsd.org, You are receiving this message because of your relationship with the artist 'MIXSHOWBLAST': We recently switched mail servers, and are required to send out this courtesy re-confirmation email. You don't need to do anything to remain on our mailing list. You will be receiving updates from us soon, so stay tuned! Your options: [1]Confirm my email so that I will be eligible for any exclusives from MIXSHOWBLAST [2]Unsubscribe from this list [3]Report Spam or Abuse _ [fanreach_logo_white_94x22.png] [powered_by_reverbnation.png] This email sent through FanReach from ReverbNation. MIXSHOWBLAST have indicated that you have requested this information. ReverbNation.com: 501 Washington St., Suite J, Durham NC 27701 [4] Update Contact Info [5] Unsubscribe [6] Report Abuse [7] Privacy References 1. http://www.reverbnation.com/c./a1/label_12232?eid=1398434_13494323fid=13494323fsc=d706ee2b860action_code=opt_in 2. http://www.reverbnation.com/c./fr2/label_12232?eid=1398434_13494323fid=13494323fsc=d706ee2b860 3. http://www.reverbnation.com/?popup_render=%2Fc.%2Ffr1%2Flabel_12232%3Feid%3D1398434_13494323%26fid%3D13494323%26fsc%3Dd706ee2b860 4. http://www.reverbnation.com/c./a1/label_12232?eid=1398434_13494323fid=13494323fsc=d706ee2b860 5. http://www.reverbnation.com/c./fr2/label_12232?eid=1398434_13494323fid=13494323fsc=d706ee2b860 6. http://www.reverbnation.com/?popup_render=%2Fc.%2Ffr1%2Flabel_12232%3Feid%3D1398434_13494323%26fid%3D13494323%26fsc%3Dd706ee2b860 7. http://www.reverbnation.com/c./cms/PrivacyPolicy?layout=popupdisplay=view_popup ___ 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: Load balancing multiple virtual hosts on 1 IP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for all the responses ... turns out the solution was simplier ... I tried the various solutions presented, and each of them did the same thing ... The setup I have, I'm using csync2 to maintain the file systems on each backend, and in order to simplify that, I'm using: VirtualHost *:80 instead of VirtualHost IP:80 which works fine ... *but*, something gets confused when you mix-n-match the above ... its either all of one or the other, but not both ... once I fixed my config files, the pages now load consistently ... Thank you all for the help on this, the pointers to the other software(s) provided proof that it wasn't the software, but my configuration ... - --On Saturday, January 31, 2009 13:55:08 + Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Marc G. Fournier wrote: Simple: is it possible? I have two VMs that contain the same content, on two different IPs .. I want to setup a third VM with something like haproxy on it that will take the URL (http://domain1) and pull the content from one or the other ... So far, all works well if I only have one virtual host, but as soon as I add a second one (http://domain2), when I try to go to http://domain2, it pulls up the content for domain1 also, as if I was going to http://IP instead. Is there a way to set this up (with haproxy, or some other software), that it will actually pass the URL through to the backend apache server and load up the right content? Or is this a limitation in the protocol itself?/ This is certainly possible -- most of the world's big web sites work in exactly this way, although they would tend to use dedicated hardware LB if they were of any appreciable size. I think what's going wrong for you is that you are using a front-end proxy, and it's rewriting the requests with the host names of the real servers, which will certainly screw up name based virtual hosts. Instead of ha-proxy, look into relayd -- in conjunction with a pf(4) firewall this will do exactly what you want. It can operate purely at the IP level or even at layer 2 if you want to implement DSR. Another alternative to consider is varnish, although I'm not sure that has much in the way of health-checking the back-end servers behind it. varnish is a reverse-proxy / web accelerator so can give you some performance boost as well. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scra...@hub.org MSN . scra...@hub.org Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkmGd6IACgkQ4QvfyHIvDvOlzwCfT5CpD8LdE4MlMD4ugmjP8tTC Z0YAoOl6F83j4t4WqTFqfQVutKLMQUj1 =fEn7 -END PGP SIGNATURE- ___ 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: IPFW in-kernel NAT: How to compile?
At 08:41 PM 2/1/2009, Dan Nelson wrote: LINT was removed back in 2000 and replaced with NOTES, since that better describes what it's really used for. IPFIREWALL_NAT and LIBALIAS should additionally be documented in ipfw(4) imho. Indeed they should. I'm not a committer, or I'd add the information. --Brett Glass ___ 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
Error compiling Imagmagick
Im running AMD64 4gig RAM FreeBSD 7.1-STABLE, ports an src are all up to date... Below is the error output trying to compile imagmagick as part of the dependency whilst installing DVDrip = cd PerlMagick make CC='cc -std=gnu99' test /bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.9 -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t t/tiff/*.t t/x11/*.t t/zlib/*.t t/blobok t/bzlib/read..ok t/bzlib/write.ok t/composite...ok t/filter..ok t/fpx/readok t/fpx/write...ok t/getattributeok t/jbig/read...ok t/jbig/write..ok t/jp2/readok t/jpeg/read...ok t/jpeg/write..ok t/montage.ok t/png/read-16.ok t/png/readok t/png/write-16ok t/png/write...ok t/readok t/setattributeok t/tiff/read...ok t/tiff/write..ok t/write...ok t/x11/readNo protocol specified t/x11/readok t/x11/write...No protocol specified t/x11/write... Failed 1/2 subtests t/zlib/read...ok t/zlib/write..ok Test Summary Report --- t/x11/write (Wstat: 0 Tests: 2 Failed: 1) Failed test: 1 Files=27, Tests=345, 8 wallclock secs ( 0.32 usr 0.10 sys + 5.52 cusr 1.16 csys = 7.09 CPU) Result: FAIL Failed 1/27 test programs. 1/345 subtests failed. *** Error code 255 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3/PerlMagick. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick/work/ImageMagick-6.4.8-3. *** Error code 1 Stop in /usr/ports/graphics/ImageMagick. *** Error code 1 Stop in /usr/ports/multimedia/dvdrip. ___ 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