Fwd: puc(4) and single I/O port cards.

2010-11-28 Thread Jonathan Chen
of the system? Cheers. -- Jonathan Chen j...@chen.org.nz --- I love deadlines. I like the whooshing sound they make as they fly by                                                        - Douglas Adams

mlock COW

2008-03-09 Thread Jonathan Chen
I've been battling with a bug related to mlock and COW pages. Since I'm basically clueless when it comes to the VM subsystem, I was hoping someone with more clue can look at my fix and let me know if I'm doing the right thing here. The problem: User programs will crash (SEGV/BUS) if COW pages

bge on 64-bit pci: corrupt packets

2004-07-01 Thread Jonathan Chen
Hi all, I've been experiencing a problem with using bge on 64-bit pci slots. After looking at this for the whole day, I still have no idea what the problem is. Perhaps one of you can help... The setup: SuperMicro P4SCT+ motherboard (E7210 Canterwood ES) 3Com 3c996-SX

Re: anoncvs down?

2001-10-26 Thread Jonathan Chen
On Fri, Oct 26, 2001 at 09:15:28AM +0200, Peter Wullinger wrote: Have I just missed, that anoncvs.FreeBSD.org was shut down? This would be a problem for me since I do not have access to a FreeBSD machine with good internet connection and I didn't get cvsup (i.e. M3) to compile on the

Re: proposed change to pci_pci.c

2001-09-06 Thread Jonathan Chen
On Wed, Sep 05, 2001 at 06:37:28PM -0700, Mike Smith wrote: I'd be OK with this being done as a hack for now. I think the bridge code needs to be a bit kinder about allowing stupid things to be done if they're set up by the BIOS. I'd like to propose committing the following change which

Re: Junior Kernel Hacker task: improve vnode-v_tag

2001-09-05 Thread Jonathan Chen
While on the subject of VFS locking... Accessing devfs through a nullfs redirection causes a panic() due to locking issues. I haven't had time to look at this in detail yet, if somebody wants to jump up and fix the problem, feel free... -Jon To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: pthreads and poll()

2001-08-14 Thread Jonathan Chen
On Mon, Aug 13, 2001 at 01:18:52PM -0400, Daniel M. Eischen wrote: We don't provide locking for fd's any longer (I thought this was only in -current, but your results seem to indicate otherwise). If we did, only one thread would wake up. The mistake in your sample seems to be that you're

pthreads and poll()

2001-08-13 Thread Jonathan Chen
Yesterday marked my first attempt at mixing poll() with pthreads. Needless to say, things did not work out the way I wanted them to. So, I began the task of finding out the behaviors of various OSes to see if my code would run fine on them. For your reference and amusement, my results and

forwarding broadcast

2001-08-09 Thread Jonathan Chen
On FreeBSD -CURRENT and -STABLE, packets to broadcast addresses are not forwarded. For instance, if I have a FreeBSD router with interfaces 192.168.1.1 and 192.168.2.1, and I send packets from 192.168.1.2 to 192.168.2.255, the packets are dropped to the floor. IMO, this is wrong... but I

Re: forwarding broadcast

2001-08-09 Thread Jonathan Chen
On Thu, Aug 09, 2001 at 09:20:55AM -0700, Matthew Jacob wrote: I haven't consulted the RFCs either, but, ahem, I thought this was a major point of netmasks and routers and why multicast was invented- to keep broadcasts from clogging the world. It would be nice if all applications supported

Re: forwarding broadcast

2001-08-09 Thread Jonathan Chen
On Thu, Aug 09, 2001 at 12:23:52PM -0400, Bill Vermillion wrote: On Thu, Aug 09, 2001 at 11:36:38AM -0400, Jonathan Chen thus sprach: On FreeBSD -CURRENT and -STABLE, packets to broadcast addresses are not forwarded. For instance, if I have a FreeBSD router with interfaces

Re: forwarding broadcast

2001-08-09 Thread Jonathan Chen
On Thu, Aug 09, 2001 at 12:57:47PM -0400, Bill Vermillion wrote: On Thu, Aug 09, 2001 at 12:30:56PM -0400, Jonathan Chen thus sprach: On Thu, Aug 09, 2001 at 12:23:52PM -0400, Bill Vermillion wrote: On Thu, Aug 09, 2001 at 11:36:38AM -0400, Jonathan Chen thus sprach: On FreeBSD

mtree exit code [pr:28424]

2001-08-03 Thread Jonathan Chen
Been trying to close some PR's, but I'm not so sure about this one. According to the man page, mtree is supposed to return an exit code of 2 when the file hierarchy did not match the specification. However, mtree does not return an exit code of 2 when a file/directory is missing. OpenBSD

Re: NFS local mount

2001-07-21 Thread Jonathan Chen
On Thu, Jul 19, 2001 at 02:38:07PM -0400, Michael Sinz wrote: I had been meaning to ask if there was a reason why NFS mounts happened before NFS servers were started but life kept getting in the way :-) If /usr was nfs mounted on a machine, then /usr needs to be mounted before nfsd was

NEWCARD updates

2001-07-16 Thread Jonathan Chen
For a while now I've been playing with NEWCARD, and I ended up making a lot of changes. I would appreciate any comments on them. Since there are a number of large changes, I'm not going to commit right away. You can find the diffs at http://people.freebsd.org/~jon/newcard.diff (.gz version

Resource reservation idea

2001-06-04 Thread Jonathan Chen
? -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\Jonathan Chen [EMAIL PROTECTED] /_/// ) No electrons were harmed during production of this message

Re: Solution: Sendmail 8.11.3 on FreeBSD 4.2

2001-03-13 Thread Jonathan Chen
was empty. Mail stopped. chmod u+s /usr/libexec/mail.local That's not the right fix. Incidentally, the right place to ask this is [EMAIL PROTECTED]; and this question has been answered quite a few times by me. Check out the archives. -- Jonathan Chen [EMAIL PROTECTED

PCI secondary bus

2000-10-14 Thread Jonathan Chen
, how do I get the numbers? Would it be alright if I assign an arbitrary number as long as there is no conflict? Any help would be appreciated. Thanks. -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\ Jonathan Chen [EMAIL

csa sound card not generating interrupt?

2000-09-19 Thread Jonathan Chen
-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\ Jonathan Chen [EMAIL PROTECTED] /_/// ) No electrons were harmed during production of this message ( ~ To Unsubscribe: send mail to [EMAIL

Re: What is missing in CardBus support?

2000-08-01 Thread Jonathan Chen
that there is a small problem with suspending with a busy network - you should unplug the ethernet cord before suspending. Also, there is no support for insert/removal. -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\Jonathan Chen [EMAIL PROTECTED

realigning mbufs?

2000-03-30 Thread Jonathan Chen
when they designed this card? -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\Jonathan Chen [EMAIL PROTECTED] /_/// ) WARNING:This email contains 100% nonbiodegradable electrons