Re: Apache Corefile issues

2011-10-24 Thread Bernd Walter
On Mon, Oct 24, 2011 at 04:52:15PM -0400, Mark Saad wrote: Hackers I have a strange apache issue , and I wonder if anyone has seen this before. I am running Apache 1.3.34 on freeBSD 7.3-RELEASE amd64 . At some point in the day apache's children segfault and die. No core files are generated.

Re: New Boot-Loader

2011-03-29 Thread Bernd Walter
On Mon, Mar 28, 2011 at 01:50:20PM -0400, Andrew Duane wrote: -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd-hack...@freebsd.org] On Behalf Of Andriy Gapon Sent: Monday, March 28, 2011 8:00 AM To: Alexander Best Cc: FreeBSD Hackers Subject: Re: New

Re: [GSoC] About the idea: Unicode support in vi

2011-03-26 Thread Bernd Walter
On Sat, Mar 26, 2011 at 03:55:12AM -0500, Zhihao Yuan wrote: On Sat, Mar 26, 2011 at 3:45 AM, Paul Schenkeveld free...@psconsult.nl wrote: On Wed, Mar 23, 2011 at 08:20:07PM -0500, Zhihao Yuan wrote: On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe lacom...@gmail.com wrote: I like the

Re: [GSoC] About the idea: Unicode support in vi

2011-03-24 Thread Bernd Walter
On Wed, Mar 23, 2011 at 08:20:07PM -0500, Zhihao Yuan wrote: On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi, On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan lich...@gmail.com wrote: Among *all* the GNU/Linux distributions I used, they include a vim compiled in

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Bernd Walter
On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: Hi, I'm a Computer Science student at Northern Illinois University, and I used FreeBSD for a long time. I'm interested in the idea that to improve the nvi in the base system. My proposal is slightly different: I want to fork nvi

Re: hw.physmem (loader.conf and sysctl)

2011-03-04 Thread Bernd Walter
On Fri, Mar 04, 2011 at 07:48:55PM +0200, Andriy Gapon wrote: on 04/03/2011 16:36 Dmitry Krivenok said the following: Hello Hackers, I've limited the amount of physical memory visible for my FreeBSD-8.2 by adding the following in loader.conf: $ cat /boot/loader.conf | grep

Re: /dev/null zero inside chroot for make release

2010-05-17 Thread Bernd Walter
On Sat, May 15, 2010 at 05:32:41PM +0200, Tjado Mäcke wrote: Thanks for trying to help :-) But this is in Wrong. Line 4 on that page: Last updated: 2005-08-11 5 years later, FreeBSD-8.0 has via ls -l /dev/null crw-rw-rw- 1 root wheel0, 31 May 15 14:17 /dev/null so both

Re: disabling all serial input / output at boot time

2010-04-15 Thread Bernd Walter
On Wed, Apr 14, 2010 at 09:57:57AM -0400, Mike Tancsa wrote: (Tried on questions, but no luck...) I have an embedded device (Alix box) that is running RELENG_8 off a CF that is designed to monitor / control a serial sensor device. The sensor is quite chatty and is always outputing

Re: disabling all serial input / output at boot time

2010-04-15 Thread Bernd Walter
On Thu, Apr 15, 2010 at 01:45:36PM -0400, Mike Tancsa wrote: At 01:36 PM 4/15/2010, Bernd Walter wrote: Is the sensor prohibiting the use of USB RS232 in any way? Just our wallets :) Extra cost to include it and the case would need to change as well as its in an environment where it can

Re: disabling all serial input / output at boot time

2010-04-15 Thread Bernd Walter
On Thu, Apr 15, 2010 at 09:04:05PM +0200, Bernd Walter wrote: On Thu, Apr 15, 2010 at 01:45:36PM -0400, Mike Tancsa wrote: At 01:36 PM 4/15/2010, Bernd Walter wrote: Is the sensor prohibiting the use of USB RS232 in any way? Just our wallets :) Extra cost to include it and the case

Re: disabling all serial input / output at boot time

2010-04-15 Thread Bernd Walter
On Thu, Apr 15, 2010 at 09:25:24PM +0200, Bernd Walter wrote: On Thu, Apr 15, 2010 at 09:04:05PM +0200, Bernd Walter wrote: On Thu, Apr 15, 2010 at 01:45:36PM -0400, Mike Tancsa wrote: At 01:36 PM 4/15/2010, Bernd Walter wrote: Is the sensor prohibiting the use of USB RS232 in any way

Re: Build world with DEBUG_FLAGS='-g -O0'

2010-04-13 Thread Bernd Walter
On Tue, Apr 13, 2010 at 10:49:08AM +0400, Dmitry Krivenok wrote: Is there a simple way to build size constrained parts of world (e.g. bootcode) with '-O2' and other parts with '-O0'? You can build without bootcode: WITHOUT_BOOT=YES On Mon, Apr 12, 2010 at 11:54 PM, Bernd Walter ti...@cicely7

Re: Build world with DEBUG_FLAGS='-g -O0'

2010-04-12 Thread Bernd Walter
On Mon, Apr 12, 2010 at 10:34:30PM +0400, Dmitry Krivenok wrote: Hello Hackers, I'm trying to build FreeBSD-CURRENT (r206494) with DEBUG_FLAGS='-g -O0'. Below are the commands I executed: export DEBUG_FLAGS='-g -O0' cd /usr/src/ time make buildworld I got the following error:

Re: NFS write corruption on 8.0-RELEASE

2010-02-13 Thread Bernd Walter
On Fri, Feb 12, 2010 at 04:08:55PM -0800, alan bryan wrote: --- On Fri, 2/12/10, Rick Macklem rmack...@uoguelph.ca wrote: From: Rick Macklem rmack...@uoguelph.ca Subject: Re: NFS write corruption on 8.0-RELEASE To: Dmitry Marakasov amd...@amdmi3.ru Cc: freebsd-hackers@freebsd.org,

Re: our little daemon abused as symbol of the evil

2010-02-09 Thread Bernd Walter
On Tue, Feb 09, 2010 at 01:27:16PM +0100, Dag-Erling Smørgrav wrote: Julian H. Stacey j...@berklix.com writes: I asked someone who registers trademarks as part of her job: One can apply to register a trademark in {(my (Julian) brackets) at least all of} Germany Britain America

Re: our little daemon abused as symbol of the evil

2010-02-09 Thread Bernd Walter
On Tue, Feb 09, 2010 at 03:30:37PM +0100, Dag-Erling Smørgrav wrote: Bernd Walter ti...@cicely7.cicely.de writes: There is no copyright in Germany. Yes, there is. Germany is signatory to the Berne convention. Ah - I was misslead by a lawyer, but I think he wasn't refering to copyright

Re: Superpages on amd64 FreeBSD 7.2-STABLE

2009-12-10 Thread Bernd Walter
On Wed, Dec 09, 2009 at 09:07:33AM -0500, John Baldwin wrote: On Thursday 26 November 2009 10:14:20 am Linda Messerschmidt wrote: It's not clear to me if this might be a problem with the superpages implementation, or if squid does something particularly horrible to its memory when it forks

Re: global TCP_NODELAY?

2009-10-12 Thread Bernd Walter
On Mon, Oct 12, 2009 at 01:27:28PM +0200, Ivan Voras wrote: I'm trying to work around some extreme brain damageness in PHP (yes, it sucks) which doesn't have a way to set TCP_NODELAY on stream sockets so I'm wondering what are my other options? Is there a way to set TCP_NODELAY system-wide?

Re: global TCP_NODELAY?

2009-10-12 Thread Bernd Walter
On Mon, Oct 12, 2009 at 01:42:08PM +0200, Ivan Voras wrote: Bernd Walter wrote: On Mon, Oct 12, 2009 at 01:27:28PM +0200, Ivan Voras wrote: I'm trying to work around some extreme brain damageness in PHP (yes, it sucks) which doesn't have a way to set TCP_NODELAY on stream sockets so I'm

Re: Fw: Re: ZFS continuously growing [SOLVED]

2009-09-03 Thread Bernd Walter
On Thu, Sep 03, 2009 at 03:41:14PM +0400, Andrey V. Elsukov wrote: krad wrote: There was a change between zfs v7 and v13. IN 7 when you did a zfs list it would show snapshots, after 13 it didnt unless you supplied the switch. It still catches me out as we have a right mix of zfs version at

Re: is there any chance to get HP blade servers supported again?

2009-08-24 Thread Bernd Walter
On Mon, Aug 24, 2009 at 02:11:23PM +0200, Christoph Weber-Fahr wrote: Hello, is there any chance to get HP blade servers (BL460, BL465) supported again? They used to be supported until G5, but the most recent generation doesn't work with FrreeBSD (no support for the network controllers).

close-on-exec alternatives (was: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?)

2009-06-02 Thread Bernd Walter
On Fri, May 29, 2009 at 12:31:37PM -0700, Alfred Perlstein wrote: * Dag-Erling Sm??rgrav d...@des.no [090529 02:49] wrote: Alfred Perlstein alf...@freebsd.org writes: Dag-Erling Sm??rgrav d...@des.no writes: Usually, what you see is closer to this: if ((pid = fork()) == 0) {

Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

2009-05-21 Thread Bernd Walter
On Thu, May 21, 2009 at 10:52:26AM -0700, Yuri wrote: Nate Eldredge wrote: Suppose we run this program on a machine with just over 1 GB of memory. The fork() should give the child a private copy of the 1 GB buffer, by setting it to copy-on-write. In principle, after the fork(), the child

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-08 Thread Bernd Walter
On Wed, Apr 08, 2009 at 12:43:53PM +0100, Max Laier wrote: On Wednesday 08 April 2009 13:25:39 Bernd Walter wrote: On Thu, Apr 02, 2009 at 08:10:03AM +0200, Ed Schouten wrote: * Paul Schenkeveld fb-hack...@psconsult.nl wrote: Or change 'pts' to, for example, 'pt' so without changing utmp

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-08 Thread Bernd Walter
On Thu, Apr 02, 2009 at 08:10:03AM +0200, Ed Schouten wrote: * Paul Schenkeveld fb-hack...@psconsult.nl wrote: Or change 'pts' to, for example, 'pt' so without changing utmp and related stuff we'll have space for a four digit pty number. I've noticed lots of apps already misbehave because

Re: Spin down HDD after disk sync or before power off

2009-03-09 Thread Bernd Walter
On Mon, Mar 09, 2009 at 04:17:15PM -0600, Rick C. Petty wrote: On Sun, Mar 08, 2009 at 01:36:09PM +0100, Bernd Walter wrote: On Fri, Mar 06, 2009 at 03:47:38PM -0600, Rick C. Petty wrote: On Fri, Mar 06, 2009 at 03:30:14PM -0600, Octavian Covalschi wrote: Why is spinning down is bad

Re: Spin down HDD after disk sync or before power off

2009-03-08 Thread Bernd Walter
On Fri, Mar 06, 2009 at 03:47:38PM -0600, Rick C. Petty wrote: On Fri, Mar 06, 2009 at 03:30:14PM -0600, Octavian Covalschi wrote: Why is spinning down is bad for HDD ? I believe it's better to spindown a drive, instead of cutting power too sudden. Comparing those two, I'd say it

Re: Spin down HDD after disk sync or before power off

2009-03-06 Thread Bernd Walter
On Thu, Mar 05, 2009 at 09:37:10PM +0100, Daniel Thiele wrote: Travelstar 5K320 Specification - HTSxxx models v1.0 avilable at http://www.hitachigst.com/tech/techlib.nsf/products/Travelstar_5K320 says in the paragraph Required power-off sequence: The required host system sequence for

Re: When does the pool get bigger?

2009-02-15 Thread Bernd Walter
On Sun, Feb 15, 2009 at 01:58:05PM +0200, Antti Louko wrote: Bernd Walter wrote: On Sat, Feb 14, 2009 at 02:00:23PM -0500, Zaphod Beeblebrox wrote: When does the pool get bigger? The resilver of the last drive has finished, but the pool still reads ... which is the size with 750G

Re: When does the pool get bigger?

2009-02-14 Thread Bernd Walter
On Sat, Feb 14, 2009 at 02:00:23PM -0500, Zaphod Beeblebrox wrote: I have a ZFS raid-Z array (FreeBSD-7.1p2) that I use for storing backups and media. I'm keenly awaiting the MFC of the ZFS v13 code, but I'm not in a hurry to run -CURRENT on this box. Anyways... The array was 5x 750G drives

Re: smbus i2c: why i2c is not enabled on ich?

2008-09-21 Thread Bernd Walter
On Sun, Sep 21, 2008 at 01:55:45PM +0200, Paolo Pisati wrote: Any reason why i2c mode in not enable in ichsmb? Because the controller is a SMB controller and not a I2C one. SMB is more specific than I2C in that it defines complete I2C sequences. With SMB you don't have the individual control

Re: Obytes counter in netstat not incrementing

2008-09-05 Thread Bernd Walter
On Tue, Sep 02, 2008 at 05:22:10PM -0700, Charles Beckham wrote: i've already made the changes to rc.conf, but since its a shared machine and almost all addresses are in use, i'll have to schedule a reboot before i can make changes effective, i will post a follwup after i've made these

Re: usb match() function

2008-08-24 Thread Bernd Walter
On Fri, Aug 22, 2008 at 10:02:41PM +0200, Peter B wrote: Within the usb drivers (/usr/src/sys/dev/usb/u*.c) there's an matching routine where the 'uaa-iface' is supposed to be assigned before the routine is called. However for a new device or class this doesn't seem to work. Instead 'uaa'

Re: restore of file system into USB key terrible slow

2008-08-05 Thread Bernd Walter
On Tue, Aug 05, 2008 at 05:06:09PM +0200, Oliver Fromme wrote: Matthias Apitz wrote: [...] I'm trying to restore a DUMP into an USB key; the DUMP was extracted from another USB key which I just want to colne this way; Note that dump/restore isn't a very fast method to clone a file

Re: error 1 lba 752976 while booting from USB key to install

2008-07-10 Thread Bernd Walter
On Thu, Jul 10, 2008 at 03:17:16PM +0200, Matthias Apitz wrote: El día Thursday, July 10, 2008 a las 03:01:54PM +0200, Oliver Fromme escribió: Matthias Apitz wrote: so I cam up with the idea to boot from that USB key I have used to install 7.0-REL on that eeePC, i.e. the USB key works

Re: Looking for *cheap* embedded platform w- 2 ethernets

2008-06-25 Thread Bernd Walter
On Sun, Jun 22, 2008 at 12:24:06PM +0200, Gary Jennejohn wrote: On Sun, 22 Jun 2008 11:58:32 +0200 Bernd Walter [EMAIL PROTECTED] wrote: On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: I'm looking for a cheap and small embedded platform to use as a portable vpn endpoint

Re: Looking for *cheap* embedded platform w- 2 ethernets

2008-06-22 Thread Bernd Walter
On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: I'm looking for a cheap and small embedded platform to use as a portable vpn endpoint. It doesn't have to be fast, it just has to run *BSD. Any suggestions?? We build our own ARM9 based board:

Re: number of /dev/usb nodes

2008-06-08 Thread Bernd Walter
On Sat, Jun 07, 2008 at 01:18:41PM -0400, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't seem to find how many /dev/usbN bus devices there can be. I'm writing some code that scans them all looking for anything that has my device, but I while I know to start at

Re: number of /dev/usb nodes

2008-06-08 Thread Bernd Walter
On Sun, Jun 08, 2008 at 10:16:26AM -0400, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Walter wrote: On Sat, Jun 07, 2008 at 01:18:41PM -0400, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't seem to find how many /dev/usbN bus

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bernd Walter
On Thu, May 22, 2008 at 04:14:46PM +, Bjoern A. Zeeb wrote: On Thu, 22 May 2008, John Timony wrote: Hi, I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You mean like gethostbyaddr()? See also

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bernd Walter
On Thu, May 22, 2008 at 07:30:45PM +0100, Bruce Cran wrote: John Timony wrote: Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You could use gethostbyaddr(3), but those traditional functions have

Re: Why doesn't autoconf like our /bin/sh?

2008-03-11 Thread Bernd Walter
On Tue, Mar 11, 2008 at 07:08:20PM +1100, Peter Jeremy wrote: On Sun, Mar 09, 2008 at 03:27:12PM -0400, Mike Meyer wrote: I've stumbled on to an obscure problem with autoconf 2.61, and I'm not sure quite what to do with it. I've already sent mail to the autoconf folks, but I'd like to

Re: libpthread/fork issue

2008-03-09 Thread Bernd Walter
On Fri, Mar 07, 2008 at 11:08:50AM -0500, Daniel Eischen wrote: On Thu, 6 Mar 2008, Marko, Shaun wrote: I'm working on FreeBSD 6.2 and I'm wondering if anybody can help with an issue I've found using fork and threads. The attached program demonstrates the problem. In short, if a process

Re: umass: should the device specific information be moved from C code to the text file?

2008-02-29 Thread Bernd Walter
On Fri, Feb 29, 2008 at 12:44:44PM +0100, Ivan Voras wrote: Peter Jeremy wrote: This sounds like a nice idea - it's also a nuisance having to recompile the kernel just to support a weird new USB device you've acquired. You can probably keep USB support as a module if you need to

Re: cool feature of dmesg.boot file

2008-02-21 Thread Bernd Walter
On Thu, Feb 21, 2008 at 10:29:40PM +0100, Bartosz Giza wrote: Hi, I have found quite interesting feature on one of router that lately i have taken to administer. What i knew was that file /var/run/dmesg.boot holds data from kernel buffer that is taken right after file system(s) are

Re: update slices on (a)cd devices

2008-01-23 Thread Bernd Walter
On Wed, Jan 23, 2008 at 08:19:24PM +0100, Martin Laabs wrote: Hi, I ask the same question some day on -questions before but got no usefull answer. Since it is also more technical related I try it here again. I created a dvd with two slices a and b. (Don't ask for the reason - it is a

Re: Squeezing out some 70 bytes out of the boot2 loader

2008-01-20 Thread Bernd Walter
On Sun, Jan 20, 2008 at 10:39:45PM +0200, Adrian Penisoara wrote: Hello I am trying to hack in some symlink support into the [sys/boot/i386/]boot2 bootloader (for my project [1]) and I seem to fall short of about 69 bytes: as -o boot2.o boot2.s ld -static -N --gc-sections -nostdlib

Re: insufficient power for Xcraft HD enclosure

2008-01-20 Thread Bernd Walter
On Sun, Jan 20, 2008 at 09:10:50PM +0100, Gary Jennejohn wrote: On Fri, 18 Jan 2008 21:21:52 -0800 (PST) KAYVEN RIESE [EMAIL PROTECTED] wrote: it comes with a silly barebones manual that tells you to slide it in and screw the screw or some such, not very helpful. it also with a USB

Re: disk throughput

2008-01-16 Thread Bernd Walter
On Wed, Jan 16, 2008 at 10:48:27PM +1300, Atom Smasher wrote: i've got this running in one term: systat -iostat 1 and this in another term: dd if=/dev/acd0 bs=2048 count=123456 | md5 apparently the system only knows about throughput of mounted disks? It doesn't seem to know

Re: Architectures with strict alignment?

2007-12-31 Thread Bernd Walter
On Sun, Dec 30, 2007 at 11:18:08PM -0500, Mike Meyer wrote: On Sun, 30 Dec 2007 20:37:18 +0100 Bernd Walter [EMAIL PROTECTED] wrote: On Sun, Dec 30, 2007 at 01:55:06PM -0500, Mike Meyer wrote: Ok, I'm a bit confused. Since you're talking about moving code from the x86 to the alpha, I'm

Re: Architectures with strict alignment?

2007-12-30 Thread Bernd Walter
On Sat, Dec 29, 2007 at 11:37:27PM +0100, Dag-Erling Smørgrav wrote: Wilko Bulte [EMAIL PROTECTED] writes: In the past the alpha port had it too. No, it was optional and defaulted to off. It was never optional, since no alpha CPU can do missaligned access Alphas can fix missaligned access

Re: Architectures with strict alignment?

2007-12-30 Thread Bernd Walter
On Sun, Dec 30, 2007 at 01:55:06PM -0500, Mike Meyer wrote: On Sun, 30 Dec 2007 10:34:33 +0100 Bernd Walter [EMAIL PROTECTED] wrote: On Sat, Dec 29, 2007 at 11:37:27PM +0100, Dag-Erling Smørgrav wrote: Wilko Bulte [EMAIL PROTECTED] writes: In the past the alpha port had it too

Re: printing boot probe messages

2007-12-24 Thread Bernd Walter
On Sun, Dec 23, 2007 at 01:12:49PM -0500, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dag-Erling Smørgrav wrote: Chuck Robey [EMAIL PROTECTED] writes: I've lost the printing of all of th e messages you normally see, when you are booting yoiur machine (you know,

Re: printing boot probe messages

2007-12-22 Thread Bernd Walter
On Fri, Dec 21, 2007 at 10:33:52PM -0500, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Walter wrote: On Thu, Dec 20, 2007 at 05:48:18PM -0500, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've lost the printing of all of th e messages

Re: printing boot probe messages

2007-12-20 Thread Bernd Walter
On Thu, Dec 20, 2007 at 05:48:18PM -0500, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've lost the printing of all of th e messages you normally see, when you are booting yoiur machine (you know, mostly probe messages. I used to see them on this box. When I made my

Re: Getting nonstandard serial baud rates w/FTDI

2007-10-25 Thread Bernd Walter
On Thu, Oct 25, 2007 at 08:52:48AM -0700, Brooks Talley wrote: Thanks to everyone who applied. The OpenBSD approach to setting UFTDI baud rates is definitely superior. However, the root of my problem turned out to be Python. Even with the new baud rate hardcoded in the UFTDI kernel

Re: Getting nonstandard serial baud rates w/FTDI

2007-10-24 Thread Bernd Walter
On Wed, Oct 24, 2007 at 09:53:06AM -0700, Brooks Talley wrote: Hi, everyone. I'm pulling my hair out in great chunks. I need to get Python 2.5, using pyserial 2.2, to open a FTDI-based usb to serial port at 25 baud. The FTDI chip definitely supports this rate. The port mounts at

Re: Getting nonstandard serial baud rates w/FTDI

2007-10-24 Thread Bernd Walter
On Thu, Oct 25, 2007 at 10:11:36AM +1000, Antony Mawer wrote: On 25/10/2007 8:59 AM, Bernd Walter wrote: On Wed, Oct 24, 2007 at 09:53:06AM -0700, Brooks Talley wrote: Hi, everyone. I'm pulling my hair out in great chunks. I need to get Python 2.5, using pyserial 2.2, to open a FTDI-based

Re: How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?

2007-08-14 Thread Bernd Walter
On Tue, Aug 14, 2007 at 04:14:06PM +0200, Sven Hazejager wrote: So, the question really is: how to send a IRP_MN_REMOVE_DEVICE command? `camcontrol da? stop` seemed to do the trick before (5.2.1-R, AFAIR), but now I'm not sure (looks like it doesn't) sorry, I meant to say that `camcontrol

Re: pxeboot and /boot filesystem, share /boot/kernel

2007-07-01 Thread Bernd Walter
On Sun, Jul 01, 2007 at 02:13:34PM -0400, Martin Cracauer wrote: I want to tighten up my spaces for diskless machines and I came across this puzzle with pxeboot: I can share /usr and most other filesystems, but my individual roots for the machine each have to have the full kernel. But

Re: pxeboot and /boot filesystem, share /boot/kernel

2007-07-01 Thread Bernd Walter
On Sun, Jul 01, 2007 at 05:35:40PM -0400, Martin Cracauer wrote: Bernd Walter wrote on Sun, Jul 01, 2007 at 09:36:41PM +0200: On Sun, Jul 01, 2007 at 02:13:34PM -0400, Martin Cracauer wrote: 4) Use different / on the same server filesystem with hardlinked /boot. Hmm, directory hardlinks

Re: ioctl

2007-05-13 Thread Bernd Walter
On Sun, May 13, 2007 at 05:29:48PM +0330, Mohsen Pahlevanzadeh wrote: Dear all, I need to a code piece that it gets serial number of hdd. Please help me atacontrol cap shows you the serial number. -- B.Walterhttp://www.bwct.de http://www.fizon.de [EMAIL PROTECTED]

Re: atacontrol kernel crash (atausb?)

2007-01-24 Thread Bernd Walter
On Wed, Jan 24, 2007 at 12:54:51PM +0100, Hans Petter Selasky wrote: On Wednesday 24 January 2007 12:38, Ed Schouten wrote: Hello, * Pietro Cerutti [EMAIL PROTECTED] wrote: On 1/15/07, Hans Petter Selasky [EMAIL PROTECTED] wrote: No. What happens when you use/load umass and unload

Re: [SOLVED] re(4) incorrect checksum

2007-01-11 Thread Bernd Walter
On Thu, Jan 11, 2007 at 11:51:51AM +0100, Pietro Cerutti wrote: Hi lists, ifconfig re0 -txcsum -rxcsum solved the problem Anyway, is this a bug in the driver or in the interface itself? That is how checksum offloading works. tcpdump can't see a correct checksum, because it is not

Re: Capturing Parallel Port Data

2006-12-16 Thread Bernd Walter
On Sat, Dec 16, 2006 at 11:12:44AM +1030, Daniel O'Connor wrote: On Saturday 16 December 2006 10:24, Mr CW wrote: Thank you for the pointers. It sounds like reading data back from the parallel port is not a common thing to do, although I thought parallel port projects might have done this.

Re: Return value of malloc(0)

2006-06-30 Thread Bernd Walter
On Fri, Jun 30, 2006 at 06:59:37AM +0200, Johannes Weiner wrote: Hi, On Thu, Jun 29, 2006 at 07:29:16PM +0200, Matthias Andree wrote: No, sir. Operator precedence: assign first, and then compare, thus the comparison will always be true (else you'd be comparing to undefined values, which

Re: USB device with multiple interfaces, sample code anyone?

2006-05-30 Thread Bernd Walter
On Mon, May 29, 2006 at 05:01:39PM +0200, Volker wrote: Hi hackers, I'm trying to correctly implement a driver for an USB device which has multiple (serial) interfaces (at least 3). Each interface should be seen by the kernel as a tty device entry /dev(/cuaU* or /dev/ttyU*). You either

Re: Programs not accepting input?

2006-03-26 Thread Bernd Walter
On Sun, Mar 26, 2006 at 11:16:36AM +, Robert Watson wrote: On Sun, 26 Mar 2006, Peter Jeremy wrote: On Sun, 2006-Mar-26 17:50:09 +1030, Greg 'groggy' Lehey wrote: In the last month or two I've seen increasing occurrences of programs refusing keyboard input after they've been running for a

Re: Doubts about PICKUP_GIANT() and mtx_lock(Giant).

2006-03-12 Thread Bernd Walter
On Sun, Mar 12, 2006 at 04:25:07PM +0530, Pranav Peshwe wrote: Hello, What is effectively the difference between PICKUP/DROP_GIANT and mtx_lock/unlock(Giant) ? From the macro expansion, i surmise that PICKUP/DROP_GIANT deals with recursion in Giant locking.Is this correct ? is this

Re: NetBSD disk backup over network

2006-03-07 Thread Bernd Walter
On Tue, Mar 07, 2006 at 07:17:20AM -0600, Sergey Babkin wrote: From: Ashley Moran [EMAIL PROTECTED] I just saw this slashdotted article: http://ezine.daemonnews.org/200603/dermouse.html Just to satisfy my curiosity, is it the sort of thing that can be implemented as a GEOM layer? The

Re: How disable attachment of sio(4) driver to device?

2005-10-24 Thread Bernd Walter
On Sat, Oct 22, 2005 at 05:16:49PM +0200, Frank Behrens wrote: Warner, John and others, thanks for your fast responses. John Baldwin [EMAIL PROTECTED] wrote on 21 Oct 2005 12:16: But you could hack the sio(4) driver to check its IO port and return ENXIO if it has a certain value,

Re: Accessing USB Mass Storage Device

2005-10-23 Thread Bernd Walter
On Sun, Oct 23, 2005 at 07:34:45PM -0700, Daniel Rudy wrote: At about the time of 10/20/2005 4:04 AM, Bernd Walter stated the following: On Tue, Oct 18, 2005 at 10:38:45PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Daniel Rudy [EMAIL PROTECTED] writes

Re: How disable attachment of sio(4) driver to device?

2005-10-22 Thread Bernd Walter
On Sat, Oct 22, 2005 at 04:00:59PM +0930, Daniel O'Connor wrote: On Sat, 22 Oct 2005 06:09, Bernd Walter wrote: I personally build specialized USB and Ethernet devices for doing Modbus/RTU RS485 timing. We use 9 bit data RS485 (the ninth bit is used as an address mark so microcontrollers

Re: How disable attachment of sio(4) driver to device?

2005-10-21 Thread Bernd Walter
On Fri, Oct 21, 2005 at 10:35:43AM +0200, Frank Behrens wrote: Hi, I'm writing a device driver for UART with a protocol, that can not be handled by the default sio(4) driver. The driver works fine - the only problem I have is to disable the attachment of sio(4) driver to the device. If

Re: How to determine link of umass/da devices

2005-10-20 Thread Bernd Walter
On Wed, Oct 19, 2005 at 09:38:08AM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Tom Alsberg [EMAIL PROTECTED] writes: : With tools like usbdevs and sysctl, I can find out what USB devices : are connected, and also what USB drivers handle them (so I can see, : for

Re: Accessing USB Mass Storage Device

2005-10-20 Thread Bernd Walter
On Tue, Oct 18, 2005 at 10:38:45PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Daniel Rudy [EMAIL PROTECTED] writes: : : When the umass driver is compiled into the kernel, and one inserts a USB : mass storage device, how does one access the device descriptors

Re: Low umass performance with USB 2.0 ports

2005-09-01 Thread Bernd Walter
On Thu, Sep 01, 2005 at 12:44:21PM +0400, Eygene A. Ryabinkin wrote: Actually, I just peeked inside the Linux EHCI code and it does a dummy read immediately after writing to the status register: /* clear (just) interrupts */ writel (status, ehci-regs-status);

Re: PUC driver addition Sealevel cPCI 7203 possible

2005-08-29 Thread Bernd Walter
On Mon, Aug 29, 2005 at 12:13:53PM +0200, Maarten wrote: Hi, Intro My company is currently using Linux as a platform for our own control software platform (all in c). We often have clashes between kernel and the rest in the sense of timings, priority handling etc. I feel Linux is not an

Re: Converting libfoo.so for linux to freebsd

2005-08-09 Thread Bernd Walter
On Tue, Aug 09, 2005 at 01:37:34PM -0600, M. Warner Losh wrote: I have recently purcahsed a device that comes with a .so for linux, but no sources. Is there any way one can take an arbitrary linux .so which appears to have no dependencies to a FreeBSD .so? The binary code is about 20k or so.

Re: O_NONBLOCK for devices with removable media

2005-08-01 Thread Bernd Walter
On Mon, Aug 01, 2005 at 04:33:23PM +0300, victor cruceru wrote: Hi Marc, Thanks for the info. Here it is one my situation. I have a CF reader (fully detected by the USB subsystem) with two slots (one with a media and one without any media). An open with O_NONBLOCK on the empty slot

Re: O_NONBLOCK for devices with removable media

2005-08-01 Thread Bernd Walter
On Mon, Aug 01, 2005 at 09:41:30PM +0300, victor cruceru wrote: Well, if you are doing this from a daemon (multiplexing a lot of events) which is blocked in this open syscall, even 1 second is not reasonable. In my case it is something more than 30 of seconds (again, on a 5.4 box). I'll

Re: O_NONBLOCK for devices with removable media

2005-08-01 Thread Bernd Walter
it. If you want a workaround then fork another process opening the device for you and passing the descriptor back to you via domain socket. On 8/1/05, Bernd Walter [EMAIL PROTECTED] wrote: On Mon, Aug 01, 2005 at 09:41:30PM +0300, victor cruceru wrote: Well, if you are doing this from a daemon

Re: O_NONBLOCK for devices with removable media

2005-08-01 Thread Bernd Walter
On Mon, Aug 01, 2005 at 10:44:46PM +0300, victor cruceru wrote: See below. On 8/1/05, Bernd Walter [EMAIL PROTECTED] wrote: On Mon, Aug 01, 2005 at 10:04:25PM +0300, victor cruceru wrote: device requiring GIANT or any other lock. You can't open any kind device without a risk to block

Re: mfs/mdconfig under RELENG_5: malloc vs swap-backed

2005-07-29 Thread Bernd Walter
On Fri, Jul 29, 2005 at 09:41:24PM +0400, Dmitry Morozovsky wrote: Dear colleagues, can anyone please point me why mdconfig method for tmpmfs is malloc-backed instead of swap-backed, and it is hardcoded into rc.subr? Are swap-backed file systems so inefficient? If no, why not move -M to

Re: Finding out names of mountable devices

2005-05-12 Thread Bernd Walter
On Thu, May 12, 2005 at 04:54:40PM +0300, Juho Vuori wrote: Tried on freebsd-questions without an answer. I suppose this is not doable, but I'll ask here anyway. If I plug in e.g. a USB thumb drive, which becomes, say, umass0. Normally something like /dev/da0 will also be created and

Re: vinum question

2005-04-14 Thread Bernd Walter
On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks

Re: Tricky USB device.

2005-04-09 Thread Bernd Walter
On Sat, Apr 09, 2005 at 05:48:43PM -0400, David Gilbert wrote: Bernd == Bernd Walter [EMAIL PROTECTED] writes: Bernd Then the device is still working and just has nothing to send. Bernd Would be helpfull to know something about the protocol used on Bernd the endpoints. It's pretty simple

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 12:56:16PM -0400, David Gilbert wrote: Maksim == Maksim Yevmenkin [EMAIL PROTECTED] writes: ... I don't know if this is hindering me. The usbhid* commands aren't particularly helpful. The port udesc_dump seems only to work on ugen devices ... and ugen doesn't

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 03:32:56PM -0700, Maksim Yevmenkin wrote: hmm... why even use libusb? cant you just fd = open(/dev/ugen0.1, O_RDWR); and then write(fd, MK255, 5) and read(fd, ...);. note: here i assume ugen0 is the device. I'm also not entirely clear how/when to use

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Bernd Has this device multiple interfaces? e.g. one HID and another Bernd as described. I often thought about getting ugen working at Bernd interface level too. Here's the output of udesc_dump on it. Right now, using the

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 04:47:43PM -0700, Maksim Yevmenkin wrote: Bernd Walter wrote: On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Bernd Has this device multiple interfaces? e.g. one HID and another Bernd as described. I often thought about getting ugen working at Bernd

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 06:06:30PM -0700, Julian Elischer wrote: Maksim Yevmenkin wrote: Bernd Walter wrote: On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Yes - you must use 1 - there is only one out-endpoint. 0x81 is for receiving data and endpoint 0 is the mandandory

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:43:12AM +0200, Wilko Bulte wrote: http://linuxdevices.com/news/NS8386088053.html As others already said - to small to run FreeBSD. No MMU, very tight RAM and code space. Note that they are not based on Linux, but on uCLinux, which is something different. RTEMS should

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:41:42AM -0700, Scott Long wrote: Bernd Walter wrote: On Thu, Mar 31, 2005 at 03:43:12AM +0200, Wilko Bulte wrote: http://linuxdevices.com/news/NS8386088053.html As others already said - to small to run FreeBSD. No MMU, very tight RAM and code space. Note

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 03:13:07AM -0800, Kamal R. Prasad wrote: --- Scott Long [EMAIL PROTECTED] wrote: [snip] An MMU-less port of any BSD would be very worthwhile, even if it requires a radical divergence from the original codebase. I was woudn''t it be rather inefficient (in

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 11:12:05AM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered the small price distance to the smallest Soekris, which runs FreeBSD, only the size and supply power is an interesting point. Or you can

Re: So, who makes this one run FreeBSD? ;-)

2005-03-31 Thread Bernd Walter
On Thu, Mar 31, 2005 at 02:33:48PM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 23:06 +0200: On Thu, Mar 31, 2005 at 11:12:05AM -0800, John-Mark Gurney wrote: Bernd Walter wrote this message on Thu, Mar 31, 2005 at 12:36 +0200: But considered

Re: USB 2.0 with bogus Data Rate

2005-03-22 Thread Bernd Walter
On Mon, Mar 21, 2005 at 11:42:40PM +, Carlos Silva aka|Danger_Man| wrote: Julian Elischer wrote: Carlos Silva aka|Danger_Man| wrote: Hi hackers, I have a little problem with my external disk drive, my data transfer rate is 1.000MB/s. I have USB 2.0 so the rate is larger,

Re: USB 2.0 with bogus Data Rate

2005-03-22 Thread Bernd Walter
On Tue, Mar 22, 2005 at 10:13:57AM +0100, Gary Jennejohn wrote: Bernd Walter writes: On Mon, Mar 21, 2005 at 11:42:40PM +, Carlos Silva aka|Danger_Man| wrote: Here is the rate: osiris# dd if=/dev/da0 of=/dev/null bs=64k ^C16+0 records in 16+0 records out 1048576

Re: FUD about CGD and GBDE

2005-03-03 Thread Bernd Walter
On Thu, Mar 03, 2005 at 01:30:15AM +0100, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Roland Dowdeswell wri tes: Let's discuss a simple example and see how it works. Let's walk through a user login, with /etc/passwd on GBDE and the filesystem mounted with mtime. These days,

  1   2   3   4   >