(no subject)

2005-06-04 Thread Matthew Dillon
Subject: Re: Possible instruction pipelining problem between HT's on the same die ? References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] :I would expect that putting the fence on the write side will solve the :problem. As Stephen discussed, the writes

ath port for 4.11?

2005-06-04 Thread Hanspeter Roth
Hello, is there a port of the ath driver for FreeBsd 4.11? -Hanspeter ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

USB CDC ACM

2005-06-04 Thread OMestre
Hello all... Has anyone a mobile phone (motorola v300?), in the FreeBSD environment? There are some apps like: kmobiletools, kandy, moto4lin, that just need a modem interface to contact to the cell phone and sync (contacts, meetings...). But i don't know if FreeBSD have these 'specs'

RE: cc1: internal compiler error: Abort trap: 6

2005-06-04 Thread Singh, Vijay
I figured this out, basically somehow the pf_table.c file got truncated during the install. When I installed a fresh complete file, the make succeeded. However I am surprised that gcc did not report a more verbose warning. Br vijay -Original Message- From: Kris Kennaway [mailto:[EMAIL

Re: Possible instruction pipelining problem between HT's on the same die ? (fwd)

2005-06-04 Thread Keir Fraser
Hi, I did a fair amount of lock-free programming during my PhD and for Xen, so I may be able to shed some light on this situation. OTOH I may also be confused: the x86 memory model is poorly specified and the reference manuals are often badly written and misleading. I'll address the points

playing audio CD's on modern laptops

2005-06-04 Thread Hans Petter Selasky
Hi, On my laptop, which is not very old, they have dropped support for playing CD's through cdcontrol. To play CD's one has to read the samples off the CD-ROM and send it to the soundcard in software. The problem is that the ATAPI driver complains when trying to read audio data: acd0: WARNING

vmstat reporting incorrect cpu usage

2005-06-04 Thread Neo-Vortex
I've noticed if i run vmstat with no params when rebuilding the kernel i get this right: # vmstat procs memory page disk faults cpu r b w avmfre flt re pi po fr sr ad0 in sy cs us sy id 2 1 0 294156 44596 313 0 0 0 296 1 0 82

Re: playing audio CD's on modern laptops

2005-06-04 Thread Joerg Sonnenberger
On Sat, Jun 04, 2005 at 03:47:42PM +0200, Hans Petter Selasky wrote: Why is PIO mode not selected automatically by the ATAPI driver? Hence obviously some manufacturers try to save money here, not supporting all modes for all mediums? UDMA works for data CD-ROM's though. (a) Because it adds a

Re: vmstat reporting incorrect cpu usage

2005-06-04 Thread Matt Emmerton
- Original Message - From: Neo-Vortex [EMAIL PROTECTED] To: freebsd-hackers@freebsd.org Sent: Saturday, June 04, 2005 10:01 AM Subject: vmstat reporting incorrect cpu usage I've noticed if i run vmstat with no params when rebuilding the kernel i get this right: # vmstat procs

Re: vmstat reporting incorrect cpu usage

2005-06-04 Thread Andriy Tkachuk
On Saturday 04 June 2005 17:58, Matt Emmerton wrote: The first line is the average since the system was last booted; all other lines are instantaneous. yeap. from man page: -c Repeat the display count times. The first display is for the time since a reboot and each

Re: How FREEBSD deals with request for continuous physical pages

2005-06-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bao Zhao [EMAIL PROTECTED] writes: : Linux use buddy allocator.but I find it seems that : FREEBSD uses single page linked list. but SLAB and : some drivers need continuous physical pages, so I : wonder how FREEBSD solved this problem. contigmalloc()

help me with C languaje please, re: files.

2005-06-04 Thread Pablo Mora
Hi all, I am programming in C and I need to read a quantity of lines of a file. How can I know when a line arrives at his end? exists some special character? exists some file in C in the kernel of FreeBSD (4.11) where I can find somewhat similar? example: how read four lines of a file.

Re: help me with C languaje please, re: files.

2005-06-04 Thread Victor Balada Diaz
On Sat, Jun 04, 2005 at 02:11:01PM -0400, Pablo Mora wrote: Hi all, I am programming in C and I need to read a quantity of lines of a file. How can I know when a line arrives at his end? exists some special character? exists some file in C in the kernel of FreeBSD (4.11) where I can find

Re: Fork mystries....

2005-06-04 Thread Aziz Kezzou
Thank you guys, I got it fork is creating a different process. Currently, I am working a lot that I forget even the basic principales ;-) I need a break ... -aziz On 6/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Aziz, Fork is for process creation. Look up pthread_create() and/or

Re: NMI handlers ??

2005-06-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Dipjyoti Saikia [EMAIL PROTECTED] writes: : I am working on IPMI watchdog implementation . The problem that I am : facing is that in case of improper system shutdown or powerfail the : watchdog keeps running and the next time system boots up , BIOS :

Re: USB CDC ACM

2005-06-04 Thread M. Warner Losh
I beleive that umodem implements the usb cdc acm interface. Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: help me with C languaje please, re: files.

2005-06-04 Thread Pablo Mora
#include stdio.h #include stdlib.h int main(void) { FILE *p_to_f; char buf[1024]; int i, j = 0; p_to_f = fopen(test,r); if(p_to_f == NULL) { perror(fopen); exit(EXIT_FAILURE); } for(i = 0; i 4 !feof(p_to_f); i++) { fgets(buf,1024,p_to_f); printf(%s, buf); } fclose(p_to_f);