Re: Article on Sun's DTrace

2004-07-08 Thread Nicolas Bérard Nault
David Schultz said: > But if you *do* happen to know 60 good programmers who are willing > to work on FreeBSD full time for very little money, let me know > and I'll see what I can do about that baby thing. Repartition of tasks would take more time than programming. I think the key to that kind of

Re: [Fwd: FreeBSD 4.8 probe error message]

2004-07-08 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Julian Elischer <[EMAIL PROTECTED]> writes: : Hi guys : I have no idea about the pci probe/allocation stuff.. : : I just put a EHCI USB-2 card into a known good machine and on boot : I see the following error message.. : : what does this indicate? : :

Re: Article on Sun's DTrace

2004-07-08 Thread Leo Bicknell
In a message written on Thu, Jul 08, 2004 at 06:28:22PM +0200, Dag-Erling Smørgrav wrote: > Avleen Vig <[EMAIL PROTECTED]> writes: > > They said "6 staff-years". > > No, they said three engineers working full-time for two years. I will also point out that many software "features" exhibit an expo

Re: rapid file creation on snapshotted filesystems panics lockmgr

2004-07-08 Thread John Kozubik
On Wed, 7 Jul 2004, John Kozubik wrote: > Rapid file creation on filesystems with as few as one snapshot on them > will panic lockmgr: > > panic: lockmgr: locking against myself > cpuid = 0; > > syncing disks, buffers remaining... panic: ffs_copyonwrite: recursive call > cpuid = 0; > uptime: 5m1

Re: Article on Sun's DTrace

2004-07-08 Thread Harti Brandt
On Thu, 8 Jul 2004 [EMAIL PROTECTED] wrote: Avleen Vig <[EMAIL PROTECTED]> writes: They said "6 staff-years". No, they said three engineers working full-time for two years. So if we put all committers on this it would take us not more than two days :-) harti

Re: where to get info to write basic usb driver for own device?

2004-07-08 Thread Mark Dixon
On Sunday 04 Jul 2004 19:20, Avleen Vig wrote: > > I am actually in a similar situation. > I know some C, and want to write a device driver for a USB device (web > cam), but I have no idea where to start. > I've searched for a "beginners guide to writing device drivers" but > failed miserably :-(

Re: where to get info to write basic usb driver for own device?

2004-07-08 Thread Rita Lin
I would read up some code in /dev/usb and see how others did theirs. I would also read the Dynamic Kernel Linker by Andrew Reiter http://www.daemonnews.org/200010/blueprints.html, and the white paper by zep software http://www.zepsoftware.com/whitepapers/bsd_devtree.php. That's how I wrote my firs

Re: where to get info to write basic usb driver for own device?

2004-07-08 Thread Zera Holladay
This may go without saying, but have you read Chapter 22 of the FreeBSD Developers' Handbook? I have not read intro(4) extensively but that is probably a good starting place, if you are completely in the dark. -Zera Holladay On Sun, 4 Jul 2004, Avleen Vig wrote: > On Sun, Jul 04, 2004 at 12:

Re: Article on Sun's DTrace

2004-07-08 Thread David Schultz
On Thu, Jul 08, 2004, Wilko Bulte wrote: > On Thu, Jul 08, 2004 at 01:23:04AM -0700, Avleen Vig wrote: > > On Thu, Jul 08, 2004 at 03:46:24AM -0400, Daniel Ellard wrote: > > > I don't doubt that DTrace took a long time to do. However, in most > > > projects the design phase consumes a lot of time,

Re: Article on Sun's DTrace

2004-07-08 Thread Dag-Erling Smørgrav
Avleen Vig <[EMAIL PROTECTED]> writes: > They said "6 staff-years". No, they said three engineers working full-time for two years. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listin

Re: Article on Sun's DTrace

2004-07-08 Thread Eitarou Kamo
Hi, Avleen Vig wrote: They said "6 staff-years". This means if they have 6 people working on it full time, it took 1 year to complete. If they had 60 people full time, it took just over 5 weeks (technically, i doubt that would work practically). From speaking to a friend at sun, I do know it took a

Re: Adding DMA support for a device

2004-07-08 Thread Joerg Sonnenberger
On Thu, Jul 08, 2004 at 01:17:26AM -0700, Avleen Vig wrote: > I have a DVD drive which is recognised by FreeBSD: > acd0: DVD-R at ata1-slave PIO4 > > Can anyone point me in the right direction for this? hw.ata.atapi_dma=1 in /boot/loader.conf. DMA for ATAPI is not active by default because a l

Re: Adding DMA support for a device

2004-07-08 Thread Martin Nilsson
Avleen Vig wrote: The drive supports DMA, and Windows sets it to use UDMA mode 5 (I think), but BSD does not. Can anyone point me in the right direction for this? have you tried man ata ? The following tunables are settable from the loader: hw.ata.atapi_dma set to 1 for DMA access, 0 for PIO (

Re: Article on Sun's DTrace

2004-07-08 Thread Eitarou Kamo
Hi Julian, Julian Elischer wrote: On Thu, 8 Jul 2004, Steven Smith wrote: It's also possible to put probes on the return instruction of the function. I'm not sure how they're actually finding that, though. I think the return probe is done by adding a call probe that changes the return add

Re: where to get info to write basic usb driver for own device?

2004-07-08 Thread Avleen Vig
On Sun, Jul 04, 2004 at 12:53:39PM +, [EMAIL PROTECTED] wrote: > So what I guess what I am asking is how hard would this be? (I have a > reasonable knowledge of C and Java and have been using FreeBSD for a > couple of years but have never written a device driver (for any OS)) Do I > actuall

Adding DMA support for a device

2004-07-08 Thread Avleen Vig
I have a DVD drive which is recognised by FreeBSD: acd0: DVD-R at ata1-slave PIO4 The drive supports DMA, and Windows sets it to use UDMA mode 5 (I think), but BSD does not. I am assume because the device is not listed as supported correct driver? I had a look in ata-dma.c but that file seems t

Re: Article on Sun's DTrace

2004-07-08 Thread Avleen Vig
On Thu, Jul 08, 2004 at 03:46:24AM -0400, Daniel Ellard wrote: > I don't doubt that DTrace took a long time to do. However, in most > projects the design phase consumes a lot of time, and it is often the > case that unforeseen problems or changes in the feature set cost the > developers a lot of t

Re: getaddrinfo

2004-07-08 Thread Hajimu UMEMOTO
Hi, > On Thu, 8 Jul 2004 12:05:52 +0300 > Jan Mikael Melen <[EMAIL PROTECTED]> said: Jan.Melen> /etc/hosts: Jan.Melen> 1ffe::10 oneffeten Jan.Melen> 1ffe:1000:0001:10 oneffeten Jan.Melen> 1ffe:1000:0002:10 oneffeten It should be: 1ffe::10 oneffeten 1ffe:1000:0001::10 one

getaddrinfo

2004-07-08 Thread Jan Mikael Melen
Hi, I'm having problems with getaddrinfo call. When resolving multiple IPv6 addresses that are specified in /etc/hosts, the response from getaddrinfo call contains only the first address not the whole list. If I'll configure the corresponding addresses in to DNS I'll get all the addresses as

what's wrong with uhid ?

2004-07-08 Thread Werner Backes
I tried to access an UHID device using FreeBSD (4.10) and I'm a bit confused. I did the same thing before with NetBSD and expected the device to behave the same under FreeBSD, because the man pages are pretty much the same. Two things I've noticed: - There is an man page for uhidev(4). uhidev claim

Re: Article on Sun's DTrace

2004-07-08 Thread Julian Elischer
On Thu, 8 Jul 2004, Steven Smith wrote: > It's also possible to put probes on the return instruction of the > function. I'm not sure how they're actually finding that, though. I think the return probe is done by adding a call probe that changes the return address. _

Re: Article on Sun's DTrace

2004-07-08 Thread Steven Smith
> - It has no impact on the system when it is not used. So you can > leave it in all the time, instead of having a debug kernel and > a production kernel. > > [I don't know how they achieve the "no impact" but they claim > that they really mean "no", not just "negligible".

Re: Article on Sun's DTrace

2004-07-08 Thread Daniel Ellard
On Wed, 7 Jul 2004, David Schultz wrote: > The page referenced earlier in this thread pointed out that 6 > staff-years went into DTrace. That's accurate, and we're not > talking about part-time employees or people who don't know what > they're doing. The D compiler aside, this is not a small mat