backspace-key and ^H when ssh -X remote.
guys, here's a bug with how the backspace key doesn't work across computers. i'm not sure if there were troubles going from FBSD to FBSD, but there is when i ssh from my ubuntu platform to my main desktop. i do this to edit files or for replying to mutt mail using vi. going from ethos [ubuntu] to tao [fbsd] and using vi, the backspace key is translated to \177 and is echoed as "^?". it does not erase. i have to type % stty erase ^V [backspacekey] to fix this problem. otherwise, to erase a character, i have to type a control-H. it is exact the same problem going from fbsd to ubunto. has anybody seen this before? tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 4.91a release of Jottings: http://jottings.thought.org/index.php ___ 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"
archivers/file-roller
csup this morning, errors during build. See last error. Is related to somehow somebody's own home directory being encoded. --- Snip cc -DHAVE_CONFIG_H -I. -I.. -I../copy-n-paste/ -I.. -I.. -DFR_PREFIX=\"/usr/local\" -DFR_SYSCONFDIR=\"/usr/local/etc\" -DFR_DATADIR=\"/usr/local/share\" -DUI_DIR=\"/usr/local/share/file-roller/ui\" -DFR_LIBDIR=\"/usr/local/lib\" -DPKG_DATA_DIR=\"/usr/local/share/file-roller\" -DPIXMAPSDIR=\""/usr/local/share/pixmaps"\" -DGLADEDIR=\"""\" -DPRIVEXECDIR=\""/usr/local/libexec/file-roller/"\" -D_REENTRANT -D_THREAD_SAFE -DORBIT2=1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT fr-enum-types.o -MD -MP -MF .deps/fr-enum-types.Tpo -c -o fr-enum-types.o fr-enum-types.c fr-enum-types.c:7:60: error: /home/paolo/workspace/file-roller/src/typedefs.h: No such file or directory fr-enum-types.c: In function 'fr_compression_get_type': fr-enum-types.c:14: error: 'FR_COMPRESSION_VERY_FAST' undeclared (first use in this function) fr-enum-types.c:14: error: (Each undeclared identifier is reported only once fr-enum-types.c:14: error: for each function it appears in.) fr-enum-types.c:15: error: 'FR_COMPRESSION_FAST' undeclared (first use in this function) fr-enum-types.c:16: error: 'FR_COMPRESSION_NORMAL' undeclared (first use in this function) fr-enum-types.c:17: error: 'FR_COMPRESSION_MAXIMUM' undeclared (first use in this function) gmake[4]: *** [fr-enum-types.o] Error 1 gmake[4]: Leaving directory `/usr/ports/archivers/file-roller/work/file-roller-2.26.2/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/archivers/file-roller/work/file-roller-2.26.2/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/archivers/file-roller/work/file-roller-2.26.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/archivers/file-roller/work/file-roller-2.26.2' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/archivers/file-roller. *** Error code 1 Stop in /usr/ports/archivers/file-roller. *** Error code 1 Stop in /usr/ports/x11/gnome2. *** Error code 1 Stop in /usr/ports/x11/gnome2. *** Error code 1 Stop in /usr/ports/x11/gnome2. /Snip Can anyone else confirm this? I have no user paolo 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"
geom_label usb cdrom
My system FreeBSD 7.2 Problem with CDROM and usb card reader. It works but swithc from da4s1 to da0s1. OK it is no so frustraiting because I mount "manualy" in console. The bigger problem is cdrom which switch too but if I use KDE and K3b is a problem because K3b cannot find cdrom. Restart of computer help. umass1: on uhub4 da4 at umass-sim1 bus 1 target 0 lun 0 da4: Removable Direct Access SCSI-2 device da4: 40.000MB/s transfers da4: 976MB (1999872 512 byte sectors: 64H 32S/T 976C) GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50. GEOM_LABEL: Label msdosfs/NIKON D50 removed. GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50. umass1: at uhub4 port 7 (addr 3) disconnected (da4:umass-sim1:1:0:0): lost device (da4:umass-sim1:1:0:0): removing device entry GEOM_LABEL: Label msdosfs/NIKON D50 removed. umass1: detached *** and later: umass0: on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C) GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50. GEOM_LABEL: Label msdosfs/NIKON D50 removed. GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50. umass0: at uhub4 port 7 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (dGaE0O:Mu_mLaAsBsE-Ls:i mL0a:b0e:l0 :m0s)d:o srfesm/oNvIiKnOgN dDe5v0i cree me onvterdy. Thanks in advance. -- Mitja - http://starikarp.redbubble.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: My FreeBSD-current/Xen install notes
Kip Macy writes: > Based on L4Linux, I believe that the amount of work required for > porting a PV OS is much less than creating a new "personality" for a > microkernel. That said, isn't a hypervisor really a microkernel with > device and virtual memory abstraction API? OS personalities were a promise that was always brought up with microkernels, but never really delivered. Although, L4Linux could be seen as "Linux personality" for L4. The nice thing about microkernels is that they abstract enough of the underlying hardware to be open for a lot of experimenting. I think this is quite nice for student projects. On the microkernel vs. hypervisor topic: L4 has a very nice virtual memory abstraction and you can build device abstraction quite easily on top of it. If you only want paravirtualization, L4 could have delivered that years before Xen did. And actually it did: L4Linux exists for quite some time and I believe that there was also a paper on live migration of L4Linux instances way before Xen did that. IMHO given some commercial support (and some foresight), L4 could have been the better Xen. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge ___ 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: My FreeBSD-current/Xen install notes
Peter Jeremy writes: > On 2009-May-20 08:30:09 +0800, Adrian Chadd wrote: >>Xen also lets you write "other" OSes without needing to care about the >>hardware. One of my friends bootstrapped a toy OS of his inside Xen. >>He can then run it on any and all Xen boxes, unmodified, regardless of >>the underlying hardware. That really hasn't been exploited to its full >>potential though. > > This isn't a particularly new idea: The 'CMS' part of IBM VM/CMS was a > hypervisor-aware OS that couldn't run on bare metal. > > Relying on the hypervisor for some "traditional" OS services offers > plenty of scope for interesting developments. One area would be in > University Operating Systems courses - it would again be possible to > offer practical coursework on operating systems that are comprehendable > in their entirety (ala V6 and Minix). You can use microkernels[1] for almost the same thing. It's what we do at Technische Universität Dresden. Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge Footnotes: [1] There is a sexy new microhypervisor to be released Real Soon Now(tm) too: http://eurosys09dw.systems.ethz.ch/steinberg.pdf ___ 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"
A port for FireGPG?
Hi, I'd like to use GnuPG with Webmail (e.g. with gmail or other webmails). AFAICS, the following Firefox add-on would help: http://www.getfiregpg.org/ Unfortunately, according to http://www.getfiregpg.org/install.html one needs to compile an IPC library (?) out of the firefox3 sources, like this: http://blog.getfiregpg.org/2008/10/17/how-to-compile-the-ipc-library/ Is there a port to automate this task, or could someone with the necessary skills please create such a port? That would be great! Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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"
Win4BSD 1.1 on 7.1
I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. Here is the error-msg: kqemu-freebsd.c: In function 'kqemu_schedule': kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this function) kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only once uname -a: FreeBSD pops.sniffenett.no 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Thu May 21 21: sysctl kern.sched.name kern.sched.name: 4BSD All sources are installed. Suggestions are very welcome and will be appreciated! Regards, Ronny Mandal ___ 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: My FreeBSD-current/Xen install notes
> You can use microkernels[1] for almost the same thing. It's what we do > at Technische Universität Dresden. > > Regards, > -- > Julian Stecklina > > The day Microsoft makes something that doesn't suck is probably the day > they start making vacuum cleaners - Ernst Jan Plugge > > Footnotes: > [1] There is a sexy new microhypervisor to be released Real Soon > Now(tm) too: > http://eurosys09dw.systems.ethz.ch/steinberg.pdf > Based on L4Linux, I believe that the amount of work required for porting a PV OS is much less than creating a new "personality" for a microkernel. That said, isn't a hypervisor really a microkernel with device and virtual memory abstraction API? Cheers, Kip ___ 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"
FM801-AU Soundcard Problem
On FreeBSD 7.2-Release I can't get this card working. I thought the snd_fm801 driver should work with this card but I doesn't seem like it will. Any suggestions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as USB joystick
On Friday 22 May 2009 01:05:57 pm Warren Block wrote: > Seems like it'd be less work to have the FreeBSD system close the > switches of a real USB joystick. Think so? I had an Arduino writing messages to my kids on a 7-segment display in about an hour. I would think that finding the right USB codes would be reasonably do-able. ___ 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: OpenSSH
Jerry wrote: I have the following version of SSH installed: OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 I noticed an article regarding a flaw in OpenSSH below version 5.2. The article is here: http://news.zdnet.com/2100-9595_22-303182.html Is this anything to worry about? Does the FreeBSD team have to update the base version of SSH to correct this problem? cant you install OpenSSH-portable or better yet, update your FreeBSD installation (which includes a new version of OpenSSH)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as USB joystick
On Fri, 22 May 2009, Kirk Strauser wrote: On Friday 22 May 2009 11:07:34 am Sebastiaan van Erk wrote: Ok, that's a clear answer. Are there any alternatives? For example a PCI expansion card that does USB device mode and is programmable? Might be difficult to get working under FreeBSD though maybe? You might look at getting an Arduino board ($30 or so) with built-in USB and enough RAM to hold your controller software. Write your joystick emulator to run on the Arduino, and control *that* via your FreeBSD system's parallel port (if you still have one). Just a thought. Seems like it'd be less work to have the FreeBSD system close the switches of a real USB joystick. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can't play videos on 7.2
jery wrote: Hi, I am using Freebsd 7.2 my system hangs when playing videos, it's the same for vlc and totem. > >From the Xorg.0.log file intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel® GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Thank you Rihaz Manolis Kiagias said: If you haven't already, try upgrading the xf86-video-intel port to the latest version (I think 2.7.1). This seems to solve many problems with video playback. If you crash like this image shows, switch to the x11 driver for video playback, and avoid xv. (mplayer -ao x11) I have the same issue, lockup, crashes with xv, and appears still not to be fixed with the latest Intel drivers in ports :( http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg HTH -- Over the years I've come to regard you as people I've met. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as USB joystick
On Friday 22 May 2009 11:07:34 am Sebastiaan van Erk wrote: > Ok, that's a clear answer. Are there any alternatives? For example a PCI > expansion card that does USB device mode and is programmable? Might be > difficult to get working under FreeBSD though maybe? You might look at getting an Arduino board ($30 or so) with built-in USB and enough RAM to hold your controller software. Write your joystick emulator to run on the Arduino, and control *that* via your FreeBSD system's parallel port (if you still have one). Just a thought. - Kirk ___ 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: How to recover disk space after "filesystem full"
On Fri, 22 May 2009, Steve Bertrand wrote: Luke Dean wrote: I ended up rebooting the box. Was there any other possible solution I could've tried? You have to restart the service that was holding the log file(s) open. The system does not release the space while an application is 'using' the file, even after it's been deleted. Oh yeah! I forgot. I've got it configured to use syslogd to handle the dhcp logging, so I probably just needed to restart that one. I probably could've left dhcpd running. This kind of emergency always seems to happen before I get a chance to make coffee. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can't play videos on 7.2
jery wrote: > Hi, > > I am using Freebsd 7.2 > my system hangs when playing videos, it's the same for vlc and totem. > > > >From the Xorg.0.log file > > intel: Driver for Intel Integrated Graphics Chipsets: i810, > i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, > E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, > 965GM, 965GME/GLE, G33, Q35, Q33, > Mobile Intel® GM45 Express Chipset, > Intel Integrated Graphics Device, G45/G43, > > > Thank you > Rihaz > If you haven't already, try upgrading the xf86-video-intel port to the latest version (I think 2.7.1). This seems to solve many problems with video playback. ___ 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: How to recover disk space after "filesystem full"
On Friday 22 May 2009 18:19:25 Steve Bertrand wrote: > # pkg_add -r lsof Or use the native fstat(1). -- Mel ___ 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: How to recover disk space after "filesystem full"
On Fri, May 22, 2009 at 9:14 AM, Luke Dean wrote: > > Yes, it sounds like a stupid question, but let me tell the story. > > The log for my dhcp server filled up /var last night, which meant that > dhcpd was also unable to hand out new leases, which meant that I had > effectively been DOSed. I'll have to look into changing my logging > policies. > > So, to correct the problem, I log into the router, removed the big > log and several other files in /var to free up some space, and assumed > this would correct the problem. > > It did not. > Several minutes after freeing up a lot of space on /var, I continued > to get "filesystem full" messages and "df" continued to show the > capacity at >100%. I checked "df -i" for the inodes too. That was > fine. I ran a quick fsck to see if that might shock the system into > seeing all the space that I'd freed up, but no good. > > I ended up rebooting the box. > > Was there any other possible solution I could've tried? > > Why wouldn't the free space immediately appear as free? Because unlinking the file does not close the file. Restarting the dhcp daemon probably would have done the trick. The filesystem will free the disk space only when all references to the file have gone away. ___ 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: How to recover disk space after "filesystem full"
Luke Dean writes: > Yes, it sounds like a stupid question, but let me tell the story. > > The log for my dhcp server filled up /var last night, which meant that > dhcpd was also unable to hand out new leases, which meant that I had > effectively been DOSed. I'll have to look into changing my logging > policies. > > So, to correct the problem, I log into the router, removed the big > log and several other files in /var to free up some space, and assumed > this would correct the problem. > > It did not. > Several minutes after freeing up a lot of space on /var, I continued > to get "filesystem full" messages and "df" continued to show the > capacity at >100%. I checked "df -i" for the inodes too. That was > fine. I ran a quick fsck to see if that might shock the system into > seeing all the space that I'd freed up, but no good. > > I ended up rebooting the box. > > Was there any other possible solution I could've tried? > > Why wouldn't the free space immediately appear as free? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF ___ 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: How to recover disk space after "filesystem full"
Luke Dean wrote: > > Yes, it sounds like a stupid question, but let me tell the story. > > The log for my dhcp server filled up /var last night, which meant that > dhcpd was also unable to hand out new leases, which meant that I had > effectively been DOSed. I'll have to look into changing my logging > policies. > > So, to correct the problem, I log into the router, removed the big > log and several other files in /var to free up some space, and assumed > this would correct the problem. > > It did not. > Several minutes after freeing up a lot of space on /var, I continued > to get "filesystem full" messages and "df" continued to show the > capacity at >100%. I checked "df -i" for the inodes too. That was > fine. I ran a quick fsck to see if that might shock the system into > seeing all the space that I'd freed up, but no good. > > I ended up rebooting the box. > > Was there any other possible solution I could've tried? You have to restart the service that was holding the log file(s) open. The system does not release the space while an application is 'using' the file, even after it's been deleted. > Why wouldn't the free space immediately appear as free? Because technically, the space is not freed. "lsof" will help identify which process(es) are holding a particular file open, if you see that disk space is not recovered as expected after deletion: # pkg_add -r lsof pearl# lsof | grep auth.log syslogd 850 root 15wVREG 0,127 75199 237484 /var/log/auth.log Steve smime.p7s Description: S/MIME Cryptographic Signature
How to recover disk space after "filesystem full"
Yes, it sounds like a stupid question, but let me tell the story. The log for my dhcp server filled up /var last night, which meant that dhcpd was also unable to hand out new leases, which meant that I had effectively been DOSed. I'll have to look into changing my logging policies. So, to correct the problem, I log into the router, removed the big log and several other files in /var to free up some space, and assumed this would correct the problem. It did not. Several minutes after freeing up a lot of space on /var, I continued to get "filesystem full" messages and "df" continued to show the capacity at >100%. I checked "df -i" for the inodes too. That was fine. I ran a quick fsck to see if that might shock the system into seeing all the space that I'd freed up, but no good. I ended up rebooting the box. Was there any other possible solution I could've tried? Why wouldn't the free space immediately appear as free? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Do not copy kernel to kernel.old
Lowell Gilbert wrote: > Steve Bertrand writes: > >> Many of my routers boot/run from a USB thumb stick. To upgrade these >> routers, I "dd" the device onto another one, pop the backup into a build >> machine, and do the normal build*/install* with a DESTDIR parameter. >> >> If the upgraded device does not boot (due to kernel problems), I just >> wipe it clean and start over. >> >> Having a kernel.old in this case is a waste of time and of space. Is >> there any parameter I can tell the build process to ensure that the >> kernel.old work does not get done? > > Did you look at the makefiles or build(7)? No. I was not in the vicinity of a machine to do that at the time of my post. I was hoping to get the info for later, when I need to do the builds, which you provided: > "reinstallkernel" was what you were > looking for. Thanks! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: FreeBSD as USB joystick
Hi, Wojciech Puchar wrote: That is, I have a PS2 and want to be able to control it via my laptop. This would amount to connecting a USB cable between my PS2 and my laptop, and getting the PS2 to detect it as a joystick with the right identifier string, and being able to send button presses etc via my laptop to the PS2. PC USB controllers has only host mode, not device mode, so the answer is no. Ok, that's a clear answer. Are there any alternatives? For example a PCI expansion card that does USB device mode and is programmable? Might be difficult to get working under FreeBSD though maybe? Regards, Sebastiaan smime.p7s Description: S/MIME Cryptographic Signature
Re: Do not copy kernel to kernel.old
Steve Bertrand writes: > Many of my routers boot/run from a USB thumb stick. To upgrade these > routers, I "dd" the device onto another one, pop the backup into a build > machine, and do the normal build*/install* with a DESTDIR parameter. > > If the upgraded device does not boot (due to kernel problems), I just > wipe it clean and start over. > > Having a kernel.old in this case is a waste of time and of space. Is > there any parameter I can tell the build process to ensure that the > kernel.old work does not get done? Did you look at the makefiles or build(7)? About 20 seconds of investigation led me to think that "reinstallkernel" was what you were looking for. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Limiting resources in cron jobs
exec the script with softlimit from daemontools (very easy to use), or exec with ulimit in the shell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as USB joystick
That is, I have a PS2 and want to be able to control it via my laptop. This would amount to connecting a USB cable between my PS2 and my laptop, and getting the PS2 to detect it as a joystick with the right identifier string, and being able to send button presses etc via my laptop to the PS2. PC USB controllers has only host mode, not device mode, so the answer is no. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: FreeBSD as USB joystick
As a drummer in my past life this sounds pretty sweet, but unfortunately I don't have the development / programming skills to help you out. I still have my acoustic kit, but no triggers or electronics anymore to play with :( -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Sebastiaan van Erk Sent: Friday, May 22, 2009 10:00 AM To: freebsd-questions@freebsd.org Subject: FreeBSD as USB joystick Hi, I'm wondering if I can turn my FreeBSD into a (very expensive ;-)) joystick. That is, I have a PS2 and want to be able to control it via my laptop. This would amount to connecting a USB cable between my PS2 and my laptop, and getting the PS2 to detect it as a joystick with the right identifier string, and being able to send button presses etc via my laptop to the PS2. Does anybody have any starting points as to how I can achieve this? Regards, Sebastiaan P.S.: For those of you who must know, I want to interface my electronic drum module (Roland TD-9KS) with the Rockband game. The idea is to use a cheap midi card and convert the incoming notes into joystick button presses :) "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FreeBSD as USB joystick
Hi, I'm wondering if I can turn my FreeBSD into a (very expensive ;-)) joystick. That is, I have a PS2 and want to be able to control it via my laptop. This would amount to connecting a USB cable between my PS2 and my laptop, and getting the PS2 to detect it as a joystick with the right identifier string, and being able to send button presses etc via my laptop to the PS2. Does anybody have any starting points as to how I can achieve this? Regards, Sebastiaan P.S.: For those of you who must know, I want to interface my electronic drum module (Roland TD-9KS) with the Rockband game. The idea is to use a cheap midi card and convert the incoming notes into joystick button presses :) smime.p7s Description: S/MIME Cryptographic Signature
Do not copy kernel to kernel.old
Hi all, Many of my routers boot/run from a USB thumb stick. To upgrade these routers, I "dd" the device onto another one, pop the backup into a build machine, and do the normal build*/install* with a DESTDIR parameter. If the upgraded device does not boot (due to kernel problems), I just wipe it clean and start over. Having a kernel.old in this case is a waste of time and of space. Is there any parameter I can tell the build process to ensure that the kernel.old work does not get done? Steve smime.p7s Description: S/MIME Cryptographic Signature
Can't play videos on 7.2
Hi, I am using Freebsd 7.2 my system hangs when playing videos, it's the same for vlc and totem. >From the Xorg.0.log file intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel® GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Thank you Rihaz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can't play videos on 7.2
On Fri, May 22, 2009 at 8:50 AM, jery wrote: > Hi, > > I am using Freebsd 7.2 > my system hangs when playing videos, it's the same for vlc and totem. > > > >From the Xorg.0.log file > > intel: Driver for Intel Integrated Graphics Chipsets: i810, > i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, > E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, > 965GM, 965GME/GLE, G33, Q35, Q33, > Mobile Intel® GM45 Express Chipset, > Intel Integrated Graphics Device, G45/G43, What are you using to play the vids? > > > Thank you > Rihaz > ___ > 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" > -- www.nealhogan.net www.lambdaserver.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"
Can't play videos on 7.2
Hi, I am using Freebsd 7.2 my system hangs when playing videos, it's the same for vlc and totem. >From the Xorg.0.log file intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel® GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Thank you Rihaz ___ 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"
Problem with LOCK_PROFILING stats in 7.2
Hi, I'm using LOCK_PROFILING to, well, profile some locks in the module I'm working on. I also have INVARIANTS turned on. Numbers I'm getting look correct, however, name of the lock is strange (for some of the locks I'm using): 25725 51777294 10979957 7331938 7 1 408303 896814 /home/knl/work/mx/click/bsdmodule/..//include/ click/sync.hh:395 (sleep mutex:?? ?Yf;??? ??:?) Why am I getting this instead of lock's real name: MasterLock[10060]? Cheers, Nikola___ 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"
Jboss
Hi, I have jboss4 from ports installed on 7.2 Freebsd i386. If I enable jboss in rc.conf it works fine but only on 127.0.0.1. How can I bind IP for jboss4 startup script? -b 0.0.0.0 in jboss4_flags or jboss4_run/jboss4_java_opts with -Djboss.bind.address=0.0.0.0 also don't work. Any idea how to start jboss with jboss4ctl? 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"
More info (was Re: 4.11 panic every 23 hours 55 minutes or so)
On Sun, May 17, 2009 at 07:06:57AM -0400, Doug Lee wrote: > One of the weirder things I've seen in a while here... > > OS: FreeBSD 4.11 (yeah I know, old, but generally stable) > CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz > real memory = 536608768 (524032K bytes) > Hds: IDE > > Problem: Ever since a suspitious power outage (I say suspitious > because we think a surge was also involved), this box has been > exhibiting kernel panics about every 23 hours 55 minutes, give or > take about 4 minutes either way. Obviously hardware is suspect, > and hopefully in line for upgrade; but as FreeBSD has always proven > so stable for me, I'm curious what on earth could cause this sort > of regular panic? > > It's not time of day; if I reboot at 2:00 AM, 3:55 PM, or any other > time, it's 23:55 or so later I get a panic, whenever that may be. > I think this rules out cron jobs, external attacks, and load-based > issues. Update: I killed mysqld, four nfsiods, Apache2, mpd, and maybe a couple more no-longer-needed processes two mornings ago. I also disabled them at that time in rc.conf. the next morning, the system restarted with a panic as usual, BUT... This morning, on the first boot that never ran all those processes, I have not seen a restart yet, and we're at 1 day 1 hour as I speak. I looked in /var/at earlier in the week and never found any scheduled jobs. It shouldn't be Cron, since it's sensitive to boot time, not clock time. Is there some way one of those processes, like mysqld, could be scheduling an event to occur 24 hours after launch, without using `at', and without having to be running 24 hours later? Example: Could mysqld schedule something without `at' that will run 24 hours after mysqld starts even if mysqld is no longer running? Also, is it even possible that any process could cause a kernel-mode page fault without there being damaged hardware? Example: Could some mysql file be so corrupt that it would panic a perfectly fine machine? I should hope not, but I wonder. -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "When there is no enemy within, the enemies outside cannot hurt you." --African Proverb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
OpenSSH
I have the following version of SSH installed: OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 I noticed an article regarding a flaw in OpenSSH below version 5.2. The article is here: http://news.zdnet.com/2100-9595_22-303182.html Is this anything to worry about? Does the FreeBSD team have to update the base version of SSH to correct this problem? -- Jerry ges...@yahoo.com Consider the little mouse, how sagacious an animal it is which never entrusts its life to one hole only. Titus Maccius Plautus signature.asc Description: PGP signature
Re: My FreeBSD-current/Xen install notes
VIMAGE and jails are OS-level virtualization, orthogonal to Xen. I want to run Xen so I can build and test Ogg Frog[1] on each of the target platforms I plan to support. I built a fancy Xeon box so that I could even build and test on all the platforms simultaneously. I also operate a couple Internet servers, which are themselves Xen DomUs at commercial Xen Virtual Private Server hosting services. I'd like to place each service that they operate into a jail, so that if someone manages to bust in because of a security hole in one of the server programs, they would only be able to get at the contents of that particular jail. But all of the jails are just subdivisions of a single operating system; I can't run other OSes within them. [1] http://www.oggfrog.com/free-music-software/ No, there is nothing to download yet. Real Soon Now. Mike -- Michael David Crawford m...@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen ___ 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: kb problem.
On Thu, May 21, 2009 at 08:06:18PM -0400, Ali Muridi Ahmed wrote: > I bought my macbook alum while on vacation in Dubai.. when I bought the > macbook, it had an arabic/english keyboard, it wasn't a problem.. > figured out which button is the "return/enter" "shift" etc.. When trying > to install freebsd on macbook, using sysinstall, I keep having "wrong > key input" .. like the whole key was reassigned. > > For example, pressed "X" to try and exit the installation but It opened > up a different menu, tried to press "C" to go to the Config part of the > sysinstall, but it exit the installation. > > .. how do I fix it? Once you're able to get past sysinstall by trial and error, just use kbdcontrol(1) to change the keymap. Basically, all you have to do is to copy one of the keymaps from /usr/share/syscons/keymaps, and modify it according to your layout. Then use kbdcontrol(1) to activate it. Of course, this doesn't apply to Xorg: that's another can of worms. Check out setxkbmap(1) and /usr/local/share/X11/xkb for that. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: will Soundblaster Audigy 2 ZS PCMCIA ever be supported?
On Fri, 22 May 2009 00:00:19 +0200 Pieter de Goeje wrote: >On Thursday 21 May 2009 12:11:27 Scott Bennett wrote: >> Looking at the release notes for 7.2-RELEASE, I still don't see any >> mention of support for the Soundblaster Audigy 2 ZS PCMCIA card. Do any >> of the developers know whether there is any plan ever to support this card? >> I've been waiting and hoping for over three years already, but haven't seen >> any news other than "No, there's no driver support for in in FreeBSD >> [67].x". Thanks in advance for any information on this matter. > >I assume you've tried both the snd_emu10k1 and the snd_emu10kx drivers. I had hoped to install 7.2-RELEASE a few days ago, but will probably not get to it now until this weekend. In the meantime, I'm still running 6.3. In 6.x, if snd_emu10k1_load="YES" is present in /boot/loader.conf, the kernel fails during driver initialization. snd_emu10kx does not exist in 6.x. Is there some undocumented support for this card in 7.2? >You should be able to get your sound card working by installing 4Front's OSS >driver: >http://www.opensound.com/oss.html > Thank you *very* much! I just downloaded the FreeBSD .tbz file and the installation guide. I'll probably still give the native drivers a trial first, but if they don't work, then I'll try this one. I had no idea that the Open Sound project existed, so thanks again. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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: Why so many ports have run-dependencies on non-system gcc versions?
On Fri, May 22, 2009 at 10:32:58AM +0200, Mel Flynn wrote: > On Friday 22 May 2009 02:00:29 Yuri wrote: > > When I tried to delete gcc-4.3.4_20090517 I got this message: > > pkg_delete: package 'gcc-4.3.4_20090517' is required by these other > > packages and may not be deinstalled: > > blas-1.0_3 > > cgnslib-2.5.3_1 > > fftw3-3.2 > > fftw3-float-3.2_1 > > fr-med-2.3.5 > > getdp-1.2.1_7 > > gmsh-2.3.1 > > lapack-3.2.1 > > libofa-0.9.3_3 > > libsamplerate-0.1.7_1 > > octave-3.0.5_1 > > suitesparse-3.3.0 > > Probably only fftw3 requires gcc43 and the rest comes from needing fftw3. As > others said, it's not just building, it will need runtime libraries and in > the > case of fftw3, fortran support. At least blas and lapack need gcc, by default gcc43, see /usr/ports/Mk/bsd.gcc.mk. I cannot build gcc43 on alpha-6.4, so I'm trying to switch to gcc44 by modifying bsd.gcc.mk. Not sure if this will not cause many other problems with other ports. -- 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"
Re: synchronize time
On Friday 22 May 2009 06:57:59 Roy Stuivenberg wrote: > Tnx guys, > > So now my /etc/ntp.conf is like : > server ntp.xs4all.nl > > driftfile /var/db/ntp.drift > > Problem is, when I open time-admin from console (root), > everything is greyed out, and I can't change from manual to > time servers. > I have added a screenshot. That has probably to do with gnome/dbus/polkit, which I leave to other people to answer, as they're on stay far away from it list ;) -- Mel ___ 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: Why so many ports have run-dependencies on non-system gcc versions?
On Friday 22 May 2009 02:00:29 Yuri wrote: > When I tried to delete gcc-4.3.4_20090517 I got this message: > pkg_delete: package 'gcc-4.3.4_20090517' is required by these other > packages and may not be deinstalled: > blas-1.0_3 > cgnslib-2.5.3_1 > fftw3-3.2 > fftw3-float-3.2_1 > fr-med-2.3.5 > getdp-1.2.1_7 > gmsh-2.3.1 > lapack-3.2.1 > libofa-0.9.3_3 > libsamplerate-0.1.7_1 > octave-3.0.5_1 > suitesparse-3.3.0 Probably only fftw3 requires gcc43 and the rest comes from needing fftw3. As others said, it's not just building, it will need runtime libraries and in the case of fftw3, fortran support. -- Mel ___ 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: Kernel Panic
On Friday 22 May 2009 05:30:42 Shawn Badger wrote: > Hi, I installed FreeBSD 7.2 Release on a mini nettop (Intel > Atom/945gc/ICH7 hardware), and everything seemed to go smoothly. > However, when I boot the system and the filesystem checks have been > going for awhile, it always ends in a panic. Here's the dump: > > dev = ad4s1f, block = 1, fs = /usr > panic: ffs_blkfree: freeing free block > cpuid: 1 > uptime: 15m47s > Physical memory: 2027 MB > Dumping 180 MB: > > Fatal Trap 12: page fault while in kernel mode > ... > > I am using the default filesystem. Does anyone know what might cause > this, and how I can fix it? This will likely go away after booting into single user and running fsck -y. See the archives for various discussions about the problems with background_fsck. -- Mel ___ 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: compiling FreeBSD date on Linux
On Thu, May 21, 2009 at 09:08:31PM -0300, francis keyes wrote: > I patched date.c and tried to compile but I get a few errors, as you > suspected: > > In file included from date.c:59: > vary.h:35: warning: *struct tm* declared inside parameter list > vary.h:35: warning: its scope is only this definition or declaration, which > is probably not what > you want > date.c: In function *main*: > date.c:85: error: storage size of *lt* isn*t known Add "#include " to date.c. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpgIVk88ORtA.pgp Description: PGP signature
Re: Links Exhange Invitation Letter
Dear Webmaster, I am seeking out possible link partners that our visitors would be interesting in visiting. I could say that I visited your website and really liked the article that was written about treadmills. Your website seems like it has many excellent articles that I've found your website to be a very good fit for our visitors. I have already gone ahead and added your link to our website at: http://www.suntechpro.com I am contacting you to see if it is ok to have done so. Also, I would like to ask if you mind linking back to us? If so, please use the linking details below and send me the location of our link on your website. Here is our linking details: Title: USB Bluetooth | NDSL PSP Wii | DSTTi | Card Reader | iPod | iPhone | cable adpater | Computer accessory supplier. Description: iPhone iPod PSP NDSL Wii DSTTI CardReader and USB bluetooth Device URL: http://www.suntechpro.com We've got several PR6 to 9 websites, so we expect this site to become at least a PR4-5 within 1 month and will eventually become a 6 or 7 in 2-3 months. I hope this can be a way for us to benefit our visitors with excellent content. Hope to hear from you soon. Best Regards, Stanley Lee www.suntechpro.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"
·s¼W¤å¦r¤å¥ó
Dear Webmaster, I am seeking out possible link partners that our visitors would be interesting in visiting. I could say that I visited your website and really liked the article that was written about treadmills. Your website seems like it has many excellent articles that I've found your website to be a very good fit for our visitors. I have already gone ahead and added your link to our website at: http://www.suntechpro.com I am contacting you to see if it is ok to have done so. Also, I would like to ask if you mind linking back to us? If so, please use the linking details below and send me the location of our link on your website. Here is our linking details: Title: USB Bluetooth | NDSL PSP Wii | DSTTi | Card Reader | iPod | iPhone | cable adpater | Computer accessory supplier. Description: iPhone iPod PSP NDSL Wii DSTTI CardReader and USB bluetooth Device URL: http://www.suntechpro.com We've got several PR6 to 9 websites, so we expect this site to become at least a PR4-5 within 1 month and will eventually become a 6 or 7 in 2-3 months. I hope this can be a way for us to benefit our visitors with excellent content. Hope to hear from you soon. Best Regards, Stanley Lee www.suntechpro.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"