malloc: errno: 22: Invalid argument

2011-04-09 Thread Sami Kerola
Hello FreeBSD answers, I am a maintainer of a dhcp analysis software, which is before exit checking errno. I got report from FreeBSD user, Roar who is CC:d, that my software is reporting invalid argument at that section of the program. After sending debugging messages back and forth issue was

Re: Mailing list etiquette (Was: Re: Linksys-E4200 Wireless N-router)

2011-04-09 Thread Daniel Staal
--As of April 8, 2011 3:50:52 PM -0600, Chad Perrin is alleged to have said: You seem to fail to realize that it's possible to CC someone who isn't on the list, but not CC someone who *is* on the list. That would be why people who aren't members of the list say thinks like please CC me, while

Re: malloc: errno: 22: Invalid argument

2011-04-09 Thread John Levine
-- snip #include err.h #include errno.h #include stdlib.h int main(void) { int *i; warn(errno: %d, errno); i = malloc(sizeof(int)); warn(errno: %d, errno); free(i); return (errno); } -- snip Your code is wrong. There's only a useful value in errno

Re: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-09 Thread Warren Block
On Fri, 8 Apr 2011, Sascha Vieweg wrote: As a curious beginner I am running FreeBSD on VMWare Fusion 3.1.2 on a MacBook Pro 13'' i5, and I want to do two things on the normal (startup) console: (1) use my apple keyboard, especially, scroll through console output man syscons | less -p'Back

Re: malloc: errno: 22: Invalid argument

2011-04-09 Thread Sami Kerola
On Sat, Apr 9, 2011 at 16:43, John Levine jo...@iecc.com wrote: Your code is wrong.  There's only a useful value in errno after something fails.  This would be more reasonable: int main(void) {        int *i;        /* warn(errno: %d, errno); -- no error, nothing to check */        i =

Re: Mailing list etiquette

2011-04-09 Thread Boris Samorodov
On Fri, 8 Apr 2011 23:38:26 +0100 Bruce Cran wrote: On Fri, 8 Apr 2011 23:15:11 +0200 Erik Trulsson ertr1...@student.uu.se wrote: You seem to miss one crucial fact: Not all the people who write to this list are subscribed to it. They will not see any replies directed only to the list.

shell programming question: help with expr command

2011-04-09 Thread Dino Vliet
Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax  error in my console after I run this little script? #! /usr/local/bin/bash # testscript var1=trees.J48 #other value will be rules.Jrip, rules.DecisionTable len=${#var1} ind=`expr

Re: shell programming question: help with expr command

2011-04-09 Thread Polytropon
On Sat, 9 Apr 2011 06:31:28 -0700 (PDT), Dino Vliet dino_vl...@yahoo.com wrote: Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax  error in my console after I run this little script? #! /usr/local/bin/bash # testscript

Re: shell programming question: help with expr command

2011-04-09 Thread Devin Teske
On Apr 9, 2011, at 6:31 AM, Dino Vliet dino_vl...@yahoo.com wrote: Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax error in my console after I run this little script? #! /usr/local/bin/bash # testscript var1=trees.J48

Re: SSHD Strangeness

2011-04-09 Thread Scott Ballantyne
On Fri, Apr 8, 2011 at 5:15 PM, ill...@gmail.com ill...@gmail.com wrote: On 8 April 2011 15:22, Scott Ballantyne s...@ssr.com wrote: I've never seen this before, but when ssh'ing to my server today, I got: ssh_exchange_identification: Connection closed Was this multiple log-in failures

Re: SSHD Strangeness

2011-04-09 Thread ill...@gmail.com
On 9 April 2011 13:22, Scott Ballantyne s...@ssr.com wrote: On Fri, Apr 8, 2011 at 5:15 PM, ill...@gmail.com ill...@gmail.com wrote: On 8 April 2011 15:22, Scott Ballantyne s...@ssr.com wrote: I've never seen this before, but when ssh'ing to my server today, I got:

Re: Mailing list etiquette (Was: Re: Linksys-E4200 Wireless N-router)

2011-04-09 Thread Lowell Gilbert
___ 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: Difficulty installing 8.2 stable.

2011-04-09 Thread lottamiata
Another addendum: I used the sysinstall debugger on tty1 to determine that my tarball files were not unzipped during the ISO image extraction from the .bz file. Does anyone know how I can both extract the ISO image and uncompress the tarballs without destroying the image? On Fri, Apr 8, 2011 at

Problem with an ATI x2900 video adapter

2011-04-09 Thread Michael D. Norwick
Good Day; I am in the final steps of completing a fresh installation of FreeBSD 8.2 on a workstation with a DFI LanParty motherboard, AMD Athlon 64 processor, 3 GB of ram, an ATI Radeon x2900 graphics card, and root on ZFS filesystem. Using ports.tar.gz downloaded, and src CVSup'd this

ZFS Striping and Optimizing Capabilities

2011-04-09 Thread Chris Telting
Just a few questions about what ZFS actually does. So if anyone has intimate knowledge about ZFS's implementation on Freebsd I'm sure I and others would appreciate the answers. When you add a second and or thrid drive/partition to a zpool I'm assuming that it's going to start using the