Re: sym(4) broken on amd64 (Time to port new driver?)

2005-11-23 Thread Scott Long
Sergey N. Voronkov wrote: Looks like it is broken for a while - "_sym_calloc2: failed to allocate HCB" is always there... And... Looks like Gerard Roudier havn't more interest in maintaining this driver - there is the second generation of the original driver into linux source three since 2001,

Writing a driver for a card reader controller - how?

2005-11-23 Thread Thiemo Nordenholz
Hi there, (Trying here now after no response on -drivers... If nothing happens here, I guess I'll stop bothering you.) I am writing a device driver for a card reader controller which is installed in my notebook, using the Winbond W83L518D chip. It's FreeBSD 6.0-STABLE running there now, though I

Re: Writing a driver for a card reader controller - how?

2005-11-23 Thread Daniel O'Connor
On Wed, 23 Nov 2005 19:50, Thiemo Nordenholz wrote: > I am writing a device driver for a card reader controller which is > installed in my notebook, using the Winbond W83L518D chip. It's FreeBSD > 6.0-STABLE running there now, though I started programming under 5.4-R, and > the symptoms have not ch

Re: getdirentries_args and other kernel syscall structures

2005-11-23 Thread Stefan Farfeleder
On Tue, Nov 22, 2005 at 08:32:10PM -0800, Daniel Rudy wrote: > > Ok, I'va got a little question here. In the structure > getdirentries_args, there seems to be duplicated fields that I'm not > entirely sure what they do. Here's the definition of a structure > verbatim from sys/sysproto.h: > > st

Re: getdirentries_args and other kernel syscall structures

2005-11-23 Thread rookie
2005/11/23, Daniel Rudy <[EMAIL PROTECTED]>: > > Ok, I'va got a little question here. In the structure > getdirentries_args, there seems to be duplicated fields that I'm not > entirely sure what they do. Here's the definition of a structure > verbatim from sys/sysproto.h: > > struct getdirentries

even more stats for your pleasure

2005-11-23 Thread Pav Lucistnik
Number crunchers, alert! I've put together never before presented statistics related to our bug tracking system, GNATS. PR Arrival Rates http://www.oook.cz/bsd/prstats/arriverates.html PR Closing Rates http://www.oook.cz/bsd/prstats/closerates.html PR New Flow http://www.oook.cz/bsd/prstats/rat

Re: a puzzle about FreeBSD

2005-11-23 Thread Andrey Simonenko
On Sat, Nov 19, 2005 at 09:51:58PM +0800, ?? wrote: > > I read the source code of a project. I don??t understand SYSCTL_IN macro and > SYSCTL_PROC macro. I want to know when my function registered in SYSCTL_PROC > is called. This sysctl handler is called, for example, from __sysctl -> userlan

Re: getdirentries_args and other kernel syscall structures

2005-11-23 Thread Daniel Rudy
At about the time of 11/23/2005 3:23 AM, rookie stated the following: > 2005/11/23, Daniel Rudy <[EMAIL PROTECTED]>: > >>Ok, I'va got a little question here. In the structure >>getdirentries_args, there seems to be duplicated fields that I'm not >>entirely sure what they do. Here's the definitio

Re: getdirentries_args and other kernel syscall structures

2005-11-23 Thread Daniel Rudy
At about the time of 11/23/2005 3:11 AM, Stefan Farfeleder stated the following: > On Tue, Nov 22, 2005 at 08:32:10PM -0800, Daniel Rudy wrote: > >>Ok, I'va got a little question here. In the structure >>getdirentries_args, there seems to be duplicated fields that I'm not >>entirely sure what th

Re: Question about closeing and opening stdin

2005-11-23 Thread Michael C. Shultz
On Wednesday 23 November 2005 11:21, Joan Picanyol i Puig wrote: > [private reply, I'm 100% unsure I understand what you want] > > * Michael C. Shultz <[EMAIL PROTECTED]> [20051122 19:58]: > > How do I close then open stdin and keep it set to the same terminal > > as when it was closed? > > ? If it

libutil properties_read() bug: patch for review

2005-11-23 Thread Antony Mawer
Hi, I recently hit upon a bug in sysinstall, getting an "Invalid realloc size of 0" error that caused sysinstall to terminate. I eventually tracked it down to a bug in the properties_read() function of libutil, which occurs only when reading a properties file of 4096 bytes or greater. This is

6.0-STABLE & powerd: eating my keyboard input

2005-11-23 Thread BSD
Hi all, I just upgraded from 6.0-RELEASE to -STABLE today (FreeBSD 6.0-STABLE #0: Thu Nov 24 00:40:48 WET 2005). After the upgrade I couldn't login anymore, so I thought I probably erased master.passwd by mistake with mergemaster, and rebooted into single user mode. Here I reset both root and

Is there disk blocks cleaning function in FreeBSD6.0?

2005-11-23 Thread bwzhou
Hello, everyone. I used to find VOP_FREEBLK macro cleaning the content of disk blocks of a file in 5.4, however I cannot find any kind of these operations doing the same thing in 6.0release. I wonder if there is any function or macro which will clean the data blocks after the file containing thes