Re: pc card on watchguard firebox II

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Sunday 27 November 2005 11:49 pm, Anthony Mattke wrote: : > I have a WatchGuard Firebox II that I've been working on turning into : > a decent router. I see many people have installed monowall : > (http://m0n0

Re: puzzle about the pci_add_child

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> kylin <[EMAIL PROTECTED]> writes: : i am reading the pci code of freeBSD 53 ,and come to the puzzle of :pci_add_child. :1 : why should we =09pci_cfg_save(dinfo->cfg.dev, dinfo, 0); after we have :already fill the cfg in pci_read_device ?

Re: to list all the devices in freebsd &definition analyse

2005-11-28 Thread John-Mark Gurney
kylin wrote this message on Tue, Nov 29, 2005 at 00:04 +0800: > > > > devclass is the information about all instances of the device. > > > > device_t is an instance of the device. The only difference between a > > > > bus and a device is that a bus has children. > > > but pcib and cbb still have p

Re: Loading gzipped mfsroot

2005-11-28 Thread Ruslan Ermilov
On Mon, Nov 28, 2005 at 04:38:11PM +0200, Iasen Kostov wrote: > On Mon, 2005-11-28 at 09:18 -0500, David S. Madole wrote: > > From: "Iasen Kostov" <[EMAIL PROTECTED]> > > > > > I've seen a lot of examples where peeple load gzipped mfsroot images > > > and everything looks fine for them, but not fo

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

2005-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : On Thursday 24 November 2005 01:26 pm, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > : > Thiemo Nordenholz <[EMAIL PROTECTED]> writes: : > : Hi Warner, : > : : > : > to be set. Can yo

Re: pc card on watchguard firebox II

2005-11-28 Thread John Baldwin
On Sunday 27 November 2005 11:49 pm, Anthony Mattke wrote: > I have a WatchGuard Firebox II that I've been working on turning into > a decent router. I see many people have installed monowall > (http://m0n0.ch/wall/) on these boxes with good success. I would be > done myself unless I was setting up

Re: libutil properties_read() bug: patch for review

2005-11-28 Thread John Baldwin
On Wednesday 23 November 2005 07:14 pm, Antony Mawer wrote: > 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 onl

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

2005-11-28 Thread John Baldwin
On Thursday 24 November 2005 01:26 pm, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > > Thiemo Nordenholz <[EMAIL PROTECTED]> writes: > : Hi Warner, > : > : > to be set. Can you send me a pointer to the winbond datasheet you are > : > using? IIRC, this chip has an odd API s

puzzle about the pci_add_child

2005-11-28 Thread kylin
i am reading the pci code of freeBSD 53 ,and come to the puzzle of pci_add_child. 1 why should we =09pci_cfg_save(dinfo->cfg.dev, dinfo, 0); after we have already fill the cfg in pci_read_device ? 2 what 's the purpose of the function couple pci_cfg_save(dinfo->cfg.dev, dinfo

Re: to list all the devices in freebsd &definition analyse

2005-11-28 Thread kylin
my god ,mercy me On 11/28/05, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > kylin <[EMAIL PROTECTED]> writes: > > M. Warner Losh <[EMAIL PROTECTED]> writes: > > > devinfo -v > > devinfo is different with pciconf > > devinfo depends on the sysctl mechanism while pciconf ioctl the > > /dev/pci wh

Re: to list all the devices in freebsd &definition analyse

2005-11-28 Thread Dag-Erling Smørgrav
kylin <[EMAIL PROTECTED]> writes: > M. Warner Losh <[EMAIL PROTECTED]> writes: > > devinfo -v > devinfo is different with pciconf > devinfo depends on the sysctl mechanism while pciconf ioctl the > /dev/pci who will directly read the pci configuration space there is more in life than pci. > > dev

Re: Loading gzipped mfsroot

2005-11-28 Thread Iasen Kostov
On Mon, 2005-11-28 at 09:18 -0500, David S. Madole wrote: > From: "Iasen Kostov" <[EMAIL PROTECTED]> > > > I've seen a lot of examples where peeple load gzipped mfsroot images > > and everything looks fine for them, but not for me. It loads > > uncompressed image and boots ok, it loads compressed

Re: Loading gzipped mfsroot

2005-11-28 Thread David S. Madole
From: "Iasen Kostov" <[EMAIL PROTECTED]> I've seen a lot of examples where peeple load gzipped mfsroot images and everything looks fine for them, but not for me. It loads uncompressed image and boots ok, it loads compressed image and does not uncompress it and then tries to mount ufs directly on

Loading gzipped mfsroot

2005-11-28 Thread Iasen Kostov
I've seen a lot of examples where peeple load gzipped mfsroot images and everything looks fine for them, but not for me. It loads uncompressed image and boots ok, it loads compressed image and does not uncompress it and then tries to mount ufs directly on it which fails ofcourse. As I saw b

Re: Possible way to distribute NFS?

2005-11-28 Thread Ivan Voras
mike wrote: If someone could write an NFS client using FUSE (perhaps?) and have it integrate with memcached[1], couldn't that basically allow for n+1 scaling I have had a similar idea to do in FUSE for some time now, but I'm waiting until I can spare the time to do it and the FUSE system beco

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

2005-11-28 Thread Thiemo Nordenholz
> to find on the mmc web site. These registers are standard, and I > anticipate that FreeBSD will have a mmc-bus layer that interacts with > these things. My initial take on the newbus hierarchy will look > something like: [ ... ] > Where each bridge driver takes care of providing a standard inte

Re: Running a shell script on becoming the CARP master?

2005-11-28 Thread Max Laier
On Saturday 26 November 2005 16:14, Matthew Hagerty wrote: > Are there any hooks into CARP to run a shell script when a machine > becomes the master? Also, is there a way to force a machine to become > the master without powering off the current master (for example to do > maintenance on the curre