netgear GA622T problem

2002-03-06 Thread Hyong-Youb Kim
I have several machines with Netgear GA622T. They all run FreeBSD 4.5-REL and are connected via a Netgear gigabit switch. My problem is that the nge driver more often than not does not bring up the link. The cards are always detected but the link LED does not come up. I wonder if any one else has

another VM question

2002-01-29 Thread Hyong-Youb Kim
First off, for each open file, does the kernel keep a unique vnode structure? If so, will it have at most one vm_object reference at any time? I am guessing that mmaping a file will create vm_object with a vnode pager that references vnode. But then under what circumstances does vnode not have a v

vm and vfs_bio

2002-01-25 Thread Hyong-Youb Kim
>From what I have gathered from 4.4bsd book and 4.3 freebsd source code, struct buf and various b* (read, write etc) functions implement the file cache. I am wondering where the physical pages that struct buf has references to reside in the vm map. It seems its virtual addresses are allocated usi

PCI DMA codes

2002-01-16 Thread Hyong-Youb Kim
To the great minds of the freebsd hackers, I am trying to measure the amount of data (plus # of bytes required to set up a dma transfer) transferred via DMA transfers between a PCI device and the main memory. I am wondering if any one knows what source codes I should look for. Thanks. John To