Re: sysctl, HW_PHYSMEM, and crippled gcc

2005-12-08 Thread Dan Nelson
In the last episode (Dec 08), Steve Kargl said: > Anyone have any insight into fixing gcc to make better use of system > memory on systems with more than 4 GB. It appears that > libiberty/physmem.c tries to use sysctl() to determine the amount of > physical memory in a system. > > { /* This work

Re: [WIP] uhid(4): Support for the Microsoft Xbox360 gamepad

2005-12-08 Thread Hans Petter Selasky
On Thursday 08 December 2005 23:56, Ed Schouten wrote: > Hello, > > Last week I heard that Microsoft's new Xbox360 uses regular USB > connectors for their gamepads. Because the guys at Xbox-Linux.org > already wrote a driver for Linux, I decided to buy one and write a > FreeBSD driver for it. > > T

Re: Object reusement implementation in 6.0release: HELP Wanted!!!

2005-12-08 Thread Bowen Zhou
Thanks for concerning my question. I need to clean all the data blocks of a inode, including direct disk blocks, indirect disk blocks and external attributes blocks. I have tried to insert cleaning code into ffs_blkfree(/ufs/ffs/ffs_alloc.c), but the result was not good enough. After compiled the

sysctl, HW_PHYSMEM, and crippled gcc

2005-12-08 Thread Steve Kargl
Anyone have any insight into fixing gcc to make better use of system memory on systems with more than 4 GB. It appears that libiberty/physmem.c tries to use sysctl() to determine the amount of physical memory in a system. { /* This works on *bsd and darwin. */ unsigned int physmem; size

Re: [WIP] uhid(4): Support for the Microsoft Xbox360 gamepad

2005-12-08 Thread Ed Schouten
Sorry for replying to myself, but... * Ed Schouten <[EMAIL PROTECTED]> wrote: > - For some reason, I can only read data when polling the gamepad. > `usbhidctl -f -al` does not return any output. I've just fixed this. It seems that there were some trailing unused bytes in the device input repor

[WIP] uhid(4): Support for the Microsoft Xbox360 gamepad

2005-12-08 Thread Ed Schouten
Hello, Last week I heard that Microsoft's new Xbox360 uses regular USB connectors for their gamepads. Because the guys at Xbox-Linux.org already wrote a driver for Linux, I decided to buy one and write a FreeBSD driver for it. The Xbox360 gamepad is like any normal HID gamepad, except that it has

Re: Object reusement implementation in 6.0release: HELP Wanted!!!

2005-12-08 Thread John-Mark Gurney
Bowen Zhou wrote this message on Thu, Dec 08, 2005 at 15:29 +0800: > I need solutions to implement object reusement in FreeBSD6.0. > > What I want to do is to clean the content of data blocks before the > re-allocation of them. > > Then where (in which function ) should I insert my cleaning code

OpenSolaris emulation? (was Re: FreeBSD list of projects for volunteers)

2005-12-08 Thread pfgshield-freebsd
(sorry for cross-posting, in the future this seems better suited for emulation@ ) Hi; I didn't see any interest for this on the website but perhaps we should be working on improving our SVR4 emulation now that OpenSolaris is available. Possible tasks include: - Updating the emulator wrt NetBSD.

Re: scsi-target and the buffer cache

2005-12-08 Thread Nate Lawson
Scott Long wrote: Eric Anderson wrote: Nate Lawson wrote: Agree 100%. While having it in usermode means there are boundary crossings that increase per-transaction latency, the actual bulk data transfer is via zero-copy IO and you should be able to exceed the data transfer rates of several 1

FreeBSD list of projects for volunteers

2005-12-08 Thread Joel Dahl
Hi all, As some of you may have noticed, we've added a new section to the website, which contains a lot of interesting projects and ideas that volunteers and developers are encouraged to evaluate and work on. Some of these projects are simple, and someone just needs to spend some time on them and