Re: make release stop at Creating ISO imagess

2009-10-26 Thread ไพรัช ศรีโยธา
Quoting Ruben de Groot : On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release

MIPS: bus_dma(9) and cache problems

2009-10-26 Thread Oleksandr Tymoshenko
This problem haunts for a couple of days and I can't find a nice and clean solution so this email is actually a cry for help. The problem: There is a buffer loaded by bus_dmamap_load for use as a DMA buffer. Right before this buffer resides block of vital data structure. Consider following s

Re: writing a FreeBSD C library

2009-10-26 Thread Gabor Kovesdan
Oliver Mahmoudi escribió: I compiled the library file in the following way. % gcc -I../include -Wall -c lb.c % ar rsv mylib.a lb.o You can study bsd.lib.mk and bsd.prog.mk in /usr/share/mk. With these two includes you can deal easily with your C programs/libraries. It will serve you very we

Re: writing a FreeBSD C library

2009-10-26 Thread Florian Loeber
Hi, you have to link your executable to your library. The command-line option is -l. % gcc -o testfile -lmylib source.c Without it, your program doesn't know that this library exists (somewhere, /usr/lib, ...) Regards, Florian ___ freebsd-hackers@free

writing a FreeBSD C library

2009-10-26 Thread Oliver Mahmoudi
Hello all y'all Kernel Hackers, Trying to get a deeper understanding of the FreeBSD kernel I am currently I am studying C library files. For this reason I wrote a very simple library, just to understand how it works. Below are my source codes for: 1. the header 2. the library file 3. a simple C

in_cksum.h for sparc64 missing ifdef KERNEL?

2009-10-26 Thread Ulrich Spörlein
Hi, while trying to cleanup some WARNS issues under sbin/, I noticed that natd(8) fails to compile for sparc64 only, due to missing "struct mbuf" declaration in in_cksum.h. Comparing that header to other arch's headers leads me to believe an #ifdef is missing. See attached patch, but please note

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86aazecl00@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > Yes. Of course I have local modifications, but none in the usb stack. : > But I've also done a svn update from the top of the tree multiple : > times and this version number persists. :

Re: Help troubleshooting...

2009-10-26 Thread Hans Petter Selasky
On Monday 26 October 2009 14:37:59 M. Warner Losh wrote: > In message: <86skd6cmm8@ds4.des.no> > > Dag-Erling_Smørgrav writes: > : "M. Warner Losh" writes: > : > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: > : > Fri Oct 23 10:08:48 MDT 2009 > : > i.

Re: Help troubleshooting...

2009-10-26 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > Yes. Of course I have local modifications, but none in the usb stack. > But I've also done a svn update from the top of the tree multiple > times and this version number persists. Weird. r185338 was a commit to the old USB stack. Try to run svnversion in sys/dev/usb,

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86skd6cmm8@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: Fri Oct 23 10:08:48 MDT 2009 i...@lighthouse:/cache/svn/head/sys/amd64/compile/LIGHTHOUSE amd64 : > : > so

Re: Help troubleshooting...

2009-10-26 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: Fri > Oct 23 10:08:48 MDT 2009 > i...@lighthouse:/cache/svn/head/sys/amd64/compile/LIGHTHOUSE amd64 > > so it would have r197682 baked in (the first number in my rev string > is a mystery to m

Re: Help troubleshooting...

2009-10-26 Thread Hans Petter Selasky
On Monday 26 October 2009 14:01:17 M. Warner Losh wrote: > In message: <200910261258.08135.hsela...@c2i.net> > > Hans Petter Selasky writes: > : On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: > : > I know that the august 25th version failed badly when I tried to burn > : > DV

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910261258.08135.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: : > I know that the august 25th version failed badly when I tried to burn : > DVDs from a USB drive to a USB attached DVD burner. This used to work

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-26 Thread Dag-Erling Smørgrav
Rong-En Fan writes: > devel/ncurses-devel will be updated this week. For base's ncurses, I'll > check with Thomas Dickey to see if there will be 5.8 soon. If not, we > can also import a recent snapshot. There is no reason to wait, nor to import an entire snapshot. Se my earlier message to Alexan

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-26 Thread Rong-En Fan
On Mon, Oct 26, 2009 at 11:44:14AM +0100, Alexander Best wrote: > Eygene Ryabinkin schrieb am 2009-10-24: > > Ed, good day. > > > Fri, Oct 23, 2009 at 07:13:01PM +0200, Ed Schouten wrote: > > > Have you sent it to Thomas Dickey as well? > > > Sent the patch to bug-ncur...@gnu.org. Do you think t

Re: Help troubleshooting...

2009-10-26 Thread Hans Petter Selasky
On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: > In message: <200910260959.20772.hsela...@c2i.net> > > Hans Petter Selasky writes: > : On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: > : > M. Warner Losh wrote: > : > > I have a usb stick (8GB) on it. This sti

Re: Help troubleshooting...

2009-10-26 Thread Hans Petter Selasky
On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: > I know that the august 25th version failed badly when I tried to burn > DVDs from a USB drive to a USB attached DVD burner. This used to work > flawlessly. Hi, There has been a recent fix to the EHCI driver, which might affect Mass Stor

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-26 Thread Dag-Erling Smørgrav
Alexander Best writes: > the patch got committed by thomas and is included in > ncurses-5.7-20091024.patch.gz. > > i guess it will be included in our base version of ncurses once 5.8 gets > released, but the patch should quickly make it into the port version of > ncurses. Apply the upstream patch

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910260959.20772.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: : > M. Warner Losh wrote: : > > I have a usb stick (8GB) on it. This stick has about 5GB of junk on : > > it at this point. : > > : > > I tri

Re: make release stop at Creating ISO imagess

2009-10-26 Thread Ruben de Groot
On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: > hi sirs, > > apologized me for disturbing this list but ireally have problem s. > i make my own release by follwoing document in releng articles. > > here is my command > > cd /usr/src/release > time make C

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-26 Thread Alexander Best
Dag-Erling Smørgrav schrieb am 2009-10-25: > Alexander Best writes: > > i just tried building ee under linux without using new_curse.c and > > linking the > > executable against ncurses. running the binary is showing the same > > problems > > with SIGWINCH. so if this is in fact caused by a ncurse

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-26 Thread Alexander Best
Eygene Ryabinkin schrieb am 2009-10-24: > Ed, good day. > Fri, Oct 23, 2009 at 07:13:01PM +0200, Ed Schouten wrote: > > Have you sent it to Thomas Dickey as well? > Sent the patch to bug-ncur...@gnu.org. Do you think that I should > send it to Thomas directly as well? the patch got committed by

Re: Help troubleshooting...

2009-10-26 Thread Warner Losh
But there was no indication the device went missing on the console. And it wasn't until I unplugged it that da0 detached. Usually in the past when it has started throwing errors the console was chatty about why. Warner On Oct 26, 2009, at 2:59 AM, Hans Petter Selasky wrote: On Monda

Re: make release stop at Creating ISO imagess

2009-10-26 Thread ไพรัช ศรีโยธา
Quoting Ruben de Groot : On Mon, Oct 26, 2009 at 02:36:39PM +0700, ??? ? typed: hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release

Re: Help troubleshooting...

2009-10-26 Thread Hans Petter Selasky
On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: > M. Warner Losh wrote: > > I have a usb stick (8GB) on it. This stick has about 5GB of junk on > > it at this point. > > > > I tried to do 'cat * > /dev/null' recently, to measure how fast it > > goes. It got about 1GB into the driv

make release stop at Creating ISO imagess

2009-10-26 Thread ไพรัช ศรีโยธา
hi sirs, apologized me for disturbing this list but ireally have problem s. i make my own release by follwoing document in releng articles. here is my command cd /usr/src/release time make CHROOTDIR=/kaitag/KAITAG BUILDNAME=7.2-RELEASE \ CVSROOT=/var/ftp/pub/ncvs RELEASETAG=RELENG_7_2_0_RELEASE