Re: sound files

2002-01-09 Thread apache
pkg_add wavplay.tgz It has wavrec utility to record sound from /dev/dspX. -- e-mail: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

ipfw fwd to named

2002-04-15 Thread apache
Hi. I have network interface rl0 rl0: flags=8843 mtu 1500 inet 192.168.10.22 netmask 0xff00 broadcast 192.168.10.255 inet 192.168.10.26 netmask 0x broadcast 192.168.10.26 ether 00:60:52:0b:a3:0a media: Ethernet autoselect (100baseTX ) status: a

Re: ipfw fwd to named

2002-04-16 Thread apache
> do you have a loopback route at the host environment like: > 192.168.10.26 127.0.0.1 UGHS3 4497lo0 > > at my side that was the problem (and this route is never mentioned at the > jail-man page...( ) it didn't help. As i've told, i can ``dig -p 2053 ...'',

Re: ipfw fwd to named (fwd)

2002-04-16 Thread apache
> >do you have a loopback route at the host environment like: > >192.168.10.26 127.0.0.1 UGHS3 4497lo0 > > sorry,... wrong ip... i meant the ip of the jailed host 192.168.10.22 > should go to the loopback. 192.168.10.26 is a jailed ip. But anyway its alias.

contigmalloc() and mmap()

2005-06-13 Thread Apache Xie
I have some experiences in writing Linux device driver, but I am new to FreeBSD kernel, although from the first glimpse, there seems no big differences between the kernel operations a char device driver can use, but I met some problems when the driver is running in FreeBSD. Our device is an exper

Re: contigmalloc() and mmap()

2005-06-13 Thread Apache Xie
From: Mark Tinguely <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], freebsd-hackers@freebsd.org Subject: Re: contigmalloc() and mmap() Date: Mon, 13 Jun 2005 07:41:33 -0500 (CDT) > I browsed kernel tree, I found those drivers which use contigmalloc() and > contigfree() always call these two ker

Re: contigmalloc() and mmap()

2005-06-15 Thread Apache Xie
I'm unsure about this usage of the timer (callout(?) ) how does the timer know which buffer pages to remove? and if each userspace process does an ioctl to allocate a different buffer, are the new pages also visible to other processes? Use mmap() we can ensure different process access differ

How to use "offset" parameter in mmap() system call

2005-09-28 Thread Apache Xie
Hi, I wrote a device driver, it supports mmap(), but I met some problems recently, it seems relate to the "offset" parameter in mmap() system call, what I want to get help are: How to use the offset parameter of mmap() correctly? Can it be used freely? My driver is a char device driver, when it

kernel panic: vm_object_reference

2002-03-26 Thread Apache Man
Hi. As i informed you earler the bug exists in freebsd 4.5. Kernel panics with `vm_object_reference: delay in getting object' when i copy files from a partition and at the same time dismount this partition (umount -f /cdrom). The sutuation is following. I mount /cdrom. Then start too man

back trace of vm_object_reference bug

2002-03-27 Thread Apache Man
# gdb -k GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty

PR kern/36329

2002-06-11 Thread Apache Man
Hi hackers! PR kern/36329 which i submitted for freebsd4.x is not fixed in freebsd5.0 $ uname -a FreeBSD 5.0-CURRENT-20010911-JPSNAP FreeBSD 5.0-CURRENT-20010911-JPSNAP #0: Tue Sep 11 06:48:53 GMT 2001 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC

Re: PR kern/36329

2002-06-12 Thread Apache Man
> $ uname -a > FreeBSD 5.0-CURRENT-20010911-JPSNAP > FreeBSD 5.0-CURRENT-20010911-JPSNAP #0: > Tue Sep 11 06:48:53 GMT 2001 > [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC i386 Sorry, i see the date above :) > Is anyone fixxxing it, cause i can't d