Re: ARM + CACHE_LINE_SIZE + DMA

2012-05-21 Thread Mark Tinguely
On Mon, May 21, 2012 at 11:20 AM, Ian Lepore free...@damnhippie.dyndns.org wrote: On Fri, 2012-05-18 at 16:13 +0200, Svatopluk Kraus wrote: On Thu, May 17, 2012 at 10:07 PM, Ian Lepore free...@damnhippie.dyndns.org wrote: On Thu, 2012-05-17 at 15:20 +0200, Svatopluk Kraus wrote: Hi, I'm

Re: ARM + CACHE_LINE_SIZE + DMA

2012-05-17 Thread Mark Tinguely
On Thu, May 17, 2012 at 8:20 AM, Svatopluk Kraus onw...@gmail.com wrote: Hi, I'm working on DMA bus implementation for ARM11mpcore platform. I've looked at implementation in ARM tree, but IMHO it only works with some assumptions. There is a problem with DMA on memory block which is not

Re: [GSoC] [ARM] arm cleanup - my own proposal

2012-04-17 Thread Mark Tinguely
On Mon, Apr 16, 2012 at 8:21 AM, Mark Tinguely marktingu...@gmail.com wrote: ... There is a lot of ARM work going on in the shadows. I know of other things, but will let them say what they are doing. ... Correction to my posting. I am not removing pv_entrys but removing the flag

Re: [GSoC] [ARM] arm cleanup - my own proposal

2012-04-16 Thread Mark Tinguely
platform. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: question about amd64 pagetable page allocation.

2012-04-03 Thread Mark Tinguely
How do we relate the loc_PTmap to the page table pages allocated by vm_page_alloc() in _pmap_allocpte(). Thanks, Vasanth The answer to your questions will be more obvious when you get an understanding of the Recursive Page Tables. --Mark Tinguely

Re: question about amd64 pagetable page allocation.

2012-04-03 Thread Mark Tinguely
that with the following patch from Alon, the usage of vtopte() is removed in pmap_remove_pages(). Why was this removed? http://lists.freebsd.org/pipermail/svn-src-all/2009-March/006006.html Thanks, Vasanth On Tue, Apr 3, 2012 at 10:56 AM, Mark Tinguely marktingu...@gmail.com wrote: On Tue, Apr 3, 2012 at 8

Re: question about amd64 pagetable page allocation.

2012-04-03 Thread Mark Tinguely
that the pages are from the current map, then you have to use the direct physical - virtual mapping: 2547#ifdef PMAP_REMOVE_PAGES_CURPROC_ONLY 2548pte = vtopte(pv-pv_va); 2549#else 2550pte = pmap_pte(pmap, pv-pv_va); 2551#endif --Mark Tinguely

Re: Porting FreeBSD to Raspberry Pi

2011-11-04 Thread Mark Tinguely
, but they are more alike than the ARM11 and the Cortex-A8. It will be tough to stay current with the hardware advances without some kind of sponsorship. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Kernel Space Memory Allocation

2011-10-27 Thread Mark Tinguely
. For example: BUS_DMASYNC_POSTREAD copying a bounce buffer to a user VA. --Mark Tinguely ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: mmap performance and memory use

2011-10-11 Thread Mark Tinguely
will not result in a super-page promotion. --Mark Tinguely ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: 8.2R i386 bassed md root, doesn't like all machines

2011-09-01 Thread Mark Tinguely
On 9/1/2011 8:17 AM, rank1see...@gmail.com wrote: Works excellent! I boot it from USB stick. Now I added ~150 MB of ports to it. From that point on, it doesn't boot on all machines. Booting 2 times in a row on laptop with 4 gb ram: http://www.starforce.biz/md_root_1.jpg

Re: [GSoc] Timeconter Performance Improvements

2011-03-27 Thread Mark Tinguely
information current. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: DMA controller on Northbridge?

2011-03-22 Thread Mark Tinguely
-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org Sounds like you are referring to IOMMU: http://software.intel.com/en-us/blogs/2009/03/02/intels-virtualization-for-directed-io-aka-iommu-part-1/ --Mark Tinguely ___ freebsd

Re: FreeBSD 6 vs 8.1

2011-03-18 Thread Mark Tinguely
On 3/18/2011 3:35 AM, Mats Lindberg wrote: So - after a while I've made some observations. My problem is actually connected to arp. My config is very static so basically I want to turn off arp requests. Somewhere in the startup scripts I did sysctl -w net.link.ether.inet.max_age=2147483647

Re: bus_dmamap_load_uio() and user data

2010-01-10 Thread Mark Tinguely
for inactive user pmap into the code. We would see it more often in cache syncing than just happen to trip over bounce buffer situation. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: bus_dmamap_load_uio() and user data

2010-01-08 Thread Mark Tinguely
sync code ... Thank-you, --Mark Tinguely ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

bus_dmamap_load_uio() and user data

2010-01-07 Thread Mark Tinguely
that the routine, _bus_dmamap_sync(), copies data into the bounce buffer using current pmap. Can/should we assume the uio sent from to bus_dmamap_load_uio() is always in the same address space as thread that is executing the _bus_dmamap_sync()? --Mark Tinguely

Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)'

2009-09-29 Thread Mark Tinguely
I don't know anything about the code other than what I read today ... It appears from you boot traces the owin[0].owin_xlate_[lo | hi] values should be fine in iq80321.c - an VERBOSE_INIT_ARM would confirm it. You might want to test if the sc pointer in iq80321.c has the same value as the

Re: understanding of PTD symbol

2009-02-11 Thread Mark Tinguely
is funner with 12/8/12 bits. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: copy-on-write anonymous memory?

2008-05-16 Thread Mark Tinguely
automatically. Matt Dillion wrote a brief VM description (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/). The book, The Design and Implementation of the 4.4BSD Operating System is another great reference. Mark Tinguely ___ freebsd-hackers

Re: indefinite wait buffer patch

2007-11-02 Thread Mark Tinguely
(swap_pager_getpages: object mismatch %p/%p, putpages --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

Re: IBM / FreeBSD Install problem

2007-04-23 Thread Mark Tinguely
on FreeBSD 6.2-RELEASE. --Mark Tinguely ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: IBM / FreeBSD Install problem

2007-04-19 Thread Mark Tinguely
suggesting that, I can think of headaches of all the places (like interrupt tables) where it needs to be changed, not to mention the worry that the lower APIC IDs were assigned to IOAPICs. --Mark Tinguely ___ freebsd-hackers@freebsd.org mailing list http

Re: contigmalloc() and mmap()

2005-06-14 Thread Mark Tinguely
dereferencing a pointer on page 0. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 4.11-RELEASE SACK

2005-03-06 Thread Mark Tinguely
because of the fixes that were, at that time, forthcoming. --Mark Tinguely. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: KVA space problems?

2004-05-27 Thread Mark Tinguely
will panic soon anyway, why put them back. --Mark Tinguely ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: increasing KVA_PAGES and broken pthreads

2003-03-15 Thread Mark Tinguely
table without much benefit) than try to shuffle in the 4GB windows. Check the thread on this topic in the archives. --Mark Tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: bus_dmamem_alloc failing

2002-11-15 Thread mark tinguely
, such as hold some memory allocations static between unloads and loads if your device can take non-physical contiguous memory chunks, use another allocation technique or other imaginative tricks. --Mark Tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

Re: bus_dmamem_alloc failing

2002-11-15 Thread mark tinguely
On Fri, Nov 15, 2002 at 10:36:18AM -0600, mark tinguely wrote: since the allocated space is larger that a physical page (65536 4096), bus_dmamem_alloc() allocates physical contiguous memory. After repeated allocations and frees, the physical memory pages will fragment

Re: Supporting HW_WDOG?

2002-09-12 Thread mark tinguely
wdog_tickler. your hardware watchdog driver will have to set the varible wdog_tickler to your watch dog tickler routine, or a generic routine if multiple watchdog timers could be supported in one machine. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd

Re: More dynamic KVA_SPACE

2002-08-30 Thread mark tinguely
Another interesting processor family is the AMD x86-64 ClawHammer. I do not know the progress the FreeBSD/x86-64 project. I would imagine the major difficulty will be getting a running compiler. I just wish AMD added an 8K page size so the Page Table Maps did not eat so much memory. --mark

Re: broadcast packets not reaching sender on if_hwassist capable interfaces

2002-05-31 Thread mark tinguely
that follows a m_copy, or force the checksum calculations. if your packets are not part of a fragment, then let me know. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: 4.6-RC, Dell PowerEdge 4600, PCI boot-time bus walk

2002-05-21 Thread mark tinguely
? Is this board removable? --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: quotactl issues

2002-04-12 Thread mark tinguely
to the kernel and trace a run through the quoactl() routine to see why the EINVAL is generated? --mark tinguely To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Memory management bug in FreeBSD 4.5 RELEASE

2002-03-16 Thread mark tinguely
int i = 32; int main(){ while (1) malloc(i); } As long as i is in between 1 and 32, all memory is used up and all swap is used up, and then the process is killed. Again, when i 32, all seems well. dirty at least a byte of the data: main(){ while (1) { char *p (char *) malloc(i);

Re: Memory management bug in FreeBSD 4.5 RELEASE

2002-03-16 Thread mark tinguely
, your program is just spinning, no more pages of pointers will be squeeze out to swap backstore. dirty a byte in your malloc block to push out all of the allocated data. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: DMA memory allocation/deallocation

2002-03-13 Thread mark tinguely
up that nice contiguous chunk. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: DMA memory allocation/deallocation

2002-03-13 Thread mark tinguely
virtual of at least 1GB and only physical of 512MB, you are not hitting this situation. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: ARP and AX.25 (help needed)

2002-02-01 Thread mark tinguely
. To answer your question, the foot work has been done for you. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: UDP checksum error after encapsulating multicast packet

2001-12-06 Thread mark tinguely
. It may have something to do with this being the originating host, and wee have a copy of the packet before the net byte order was restored. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: UDP checksum error after encapsulating multicast packet

2001-12-06 Thread mark tinguely
() to place these fields in network order. If you need a diff, I can give you one, I unfortunately cannot test it for you. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: UDP checksum error after encapsulating multicast packet

2001-12-06 Thread mark tinguely
the len and offset have been put in net order, but the len is then assumed to be in host order: in sys/netinet: --- ip_mroute.c.origThu Jul 19 01:37:26 2001 +++ ip_mroute.c Thu Dec 6 12:26:25 2001 @@ -1595,6 +1595,7 @@ */ ip = (struct ip *)((caddr_t)ip_copy +

Re: UDP checksum error after encapsulating multicast packet

2001-12-06 Thread mark tinguely
ignore that patch, it is completely wrong. sorry. --mark. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: contiguous memory of a buffer

2001-11-29 Thread mark tinguely
management unit, and you are sharing the same virtual to physical map with the MMU and the host memory allocation space (for a driver, the kernel physical map). --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: meteor driver problems

2001-11-22 Thread mark tinguely
computer that you used to test the card uses the PCI 2.x chipset (a safe guess since it has been a long time since a manufacturer used a PCI 1.x chipset). --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: contigfree, free what?

2001-10-15 Thread mark tinguely
I have a potentially silly question about contigmalloc1(), if the very unlikely occurance that the kernel VM space ran out, (the vm_map_findspace() failed) wouldn't we want to return the chunk of contiguous physical space back on the free queue before we return an allocation failure? --mark

Re: contigfree, free what?

2001-10-15 Thread mark tinguely
Assuming we are using Thomas' patch that already removed the vm_page_wire() from the earlier for loop, then at the point of this VM space allocation failure, we haven't done anything too serious to the vm_page nor to the pmap, nor are they in any object. We should be able to simply place it back

Re: contigfree, free what?

2001-10-12 Thread mark tinguely
/unloading of the module that allocates memory that fills part of your contiguous range. Do you wish patches to VM code to verify that the free is done completely? --mark tinguely To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: contigfree, free what?

2001-10-12 Thread mark tinguely
think the module load process takes a block in that contig range and the allocate can not longer be satisfied. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: contigfree, free what?

2001-10-12 Thread mark tinguely
apologies, as soon as I sent that mail, I realized that I was looking at the virtual address -- duh, mark. Patrick was pointed in the right direction that the entry's object is no longer the kernel_map but is NULL, changing the release path. --mark tinguely To Unsubscribe: send mail to [EMAIL

Re: VM Documentation

2001-10-11 Thread mark tinguely
on Sun, Aug 05, 2001 at 12:20:36PM, Nik Clayton [EMAIL PROTECTED] points out: http://www.daemonnews.org/21/freebsd_vm.html That got pulled in to the documentation project a while ago, and can be found at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/index.html

Re: arcnet support for FreeBSD (request for review)

2001-09-27 Thread mark tinguely
On Wed, Sep 26, 2001 at 12:59:01PM -0500, mark tinguely wrote: There is nothing like raising a topic that was last seen several months ago, but ... Has there been any serious consideration to committing the arcnet code that mentioned on 20 Jul 2001 (http://iclub.nsu.ru/~fjoe

Re: arcnet support for FreeBSD (request for review)

2001-09-26 Thread mark tinguely
likely have another driver for arcnet in a couple months if the customer goes ahead with the project. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: CAN bus

2001-09-18 Thread mark tinguely
it is quite standard in industrial environments and still popular (at least in europe) but existant installations slowly get replaced with ethernet based (100baseFX) or industrial ethernet (10Mbit) transceivers. I believe it was designed for noisy environments and is still used in

Re: memory + apache

2001-08-30 Thread mark tinguely
Yeah that is what I am thinking to. My guess is some large array allocated in the php code maybe or a sql query taking to long to finish eating up all the ram. That is kind of interesting to know. you said that the CPU usage spikes also at the time of the memory depletion? I wonder if you

BIOS reading physical RAM

2001-07-17 Thread mark tinguely
Does anyone have a reference to the values of type field in the Intel BIOS physical system RAM mapping? I am curious why we are using only entries of type 0x01. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: find and quota find different amounts of files

2001-05-30 Thread mark tinguely
for either case is to go into single user mode. --mark tinguely To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: DMA in drivers?

2000-10-23 Thread mark tinguely
"This register is used to establish the PCI address for data moving from the the Host Computer Memory to the card. It consists of a 30 bit counter with the low-order 2 bits hardwired as zeros. The address stored may be any nonzero byte length that is a multiple of 8, since 8 bytes are

UNIXREVIEW.com

2000-09-14 Thread mark tinguely
FYI: (blatently stolen from UNIXREVIEW.COM EXTRA! Volume 1, Issue 11) UNIXREVIEW.COM Call for Papers unixreview.com is looking for contributors to write feature articles. See the list below for suggested topics, or contact us with your own article ideas. * FreeBSD * Storage Area

Re: PCI Specification !!!

2000-06-27 Thread Mark Tinguely
: http://www.pcisig.com/tech/index.html that the price for the PCI Local Bus Specification Revision 2.2 is still in that ballpark. --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: IP address caching bug?

1999-09-01 Thread Mark Tinguely
It seems that an interface configured with an address, which is then deleted, and then set to a different address on the same network, the machine continues to use the original address although all evidence of it is gone. delete any static routes before adding a new address: # route

Re: BSD XFS Port BSD VFS Rewrite

1999-08-11 Thread Mark Tinguely
This is why people should start emailing asking for a dual-license that would support incorporation into FreeBSD. good luck, the SGI crowd are very Linux-oriented. --mark. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: BSD XFS Port BSD VFS Rewrite

1999-08-11 Thread Mark Tinguely
This is why people should start emailing asking for a dual-license that would support incorporation into FreeBSD. good luck, the SGI crowd are very Linux-oriented. --mark. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Number of TUN devices

1999-05-21 Thread Mark Tinguely
(discussion moved from -questions to -hackers; bits included) On Thursday, 20 May 1999 at 9:13:12 -0500, Mark Tinguely wrote: FYI: I am playing with the idea of a direct-insert PPP for future SONET/ATM/DSL PPP connections. here compression/ACCM are not a concern but higher data