Re: ARM + CACHE_LINE_SIZE + DMA

2012-05-21 Thread Mark Tinguely
On Mon, May 21, 2012 at 11:20 AM, Ian Lepore wrote: > On Fri, 2012-05-18 at 16:13 +0200, Svatopluk Kraus wrote: >> On Thu, May 17, 2012 at 10:07 PM, Ian Lepore >> wrote: >> > On Thu, 2012-05-17 at 15:20 +0200, Svatopluk Kraus wrote: >> >> Hi, >> >> >> >> I'm working on DMA bus implementation for

Re: ARM + CACHE_LINE_SIZE + DMA

2012-05-17 Thread Mark Tinguely
On Thu, May 17, 2012 at 8:20 AM, Svatopluk Kraus 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 > aligned on CACHE

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 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 of attributes ( pvh_attrs

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

2012-04-16 Thread Mark Tinguely
d address support, etc). I eventually want to change the boot (fold chunks of initarm() into pmap/machdep because they are constant for every 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
does not make that assumption. Without the assumption 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 25

Re: question about amd64 pagetable page allocation.

2012-04-03 Thread Mark Tinguely
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 > wrote: >

Re: question about amd64 pagetable page allocation.

2012-04-03 Thread Mark Tinguely
access memory at address 0x8000 > > 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

Re: Porting FreeBSD to Raspberry Pi

2011-11-04 Thread Mark Tinguely
9 have some differences, 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

Re: Kernel Space Memory Allocation

2011-10-27 Thread Mark Tinguely
ame address space as the caller. 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 &

Re: mmap performance and memory use

2011-10-11 Thread Mark Tinguely
contiguous, then MAP_PREFAULT_READ 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 http://www.starforce.bi

Re: [GSoc] Timeconter Performance Improvements

2011-03-27 Thread Mark Tinguely
the kernel per cpu 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
reebsd.org/mailman/listinfo/freebsd-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 __

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 (ma

Re: bus_dmamap_load_uio() and user data

2010-01-10 Thread Mark Tinguely
we have the same situation in the bus dma sync routine. I will see if those with this hardware would put a test case 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.

Re: bus_dmamap_load_uio() and user data

2010-01-08 Thread Mark Tinguely
I was hoping you would say, don't worry the scheduler would always reload the same thread to execute the dma 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

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 gl

Re: understanding of PTD symbol

2009-02-11 Thread Mark Tinguely
s for the page table and 12 bits for the physical page. The ARM processor 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
ds like the syscall will have manually create the inheritance. You can manually link the object_shadows the way you want to get the desired inheritance. Process removals should collapse the shadows automatically. Matt Dillion wrote a brief VM description (http://www.freebsd.org/doc/en

Re: "indefinite" wait buffer patch

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

Re: IBM / FreeBSD Install problem

2007-04-23 Thread Mark Tinguely
inguely/acpicid.patch . I saw one more change needed to use 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
PIC IDs programmable? not that I am 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-ha

Re: contigmalloc() and mmap()

2005-06-14 Thread Mark Tinguely
on sounds like you did not check the return status from contigmalloc() and were 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
ystem 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
page 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
> 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 pag

Re: bus_dmamem_alloc failing

2002-11-15 Thread mark tinguely
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

Re: Supporting HW_WDOG?

2002-09-12 Thread mark tinguely
ot use 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 "unsubscr

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
or in the code 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
unknown class on the DPT board that stops the PCI bus traversal? 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
ally reproducable, could you add DDB 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
a size VM limit, 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: 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 *)

Re: DMA memory allocation/deallocation

2002-03-13 Thread mark tinguely
t expand the kernel virtual map. then we don't put back the contiguous memory back into the available array. since you should have a kernel 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: DMA memory allocation/deallocation

2002-03-13 Thread mark tinguely
erate normally and the problem is related to someone allocating a block and breaking 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: ARP and AX.25 (help needed)

2002-02-01 Thread mark tinguely
ng the soft-changing of the link level address compatiable with ethernet. 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
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: 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 + sizeof(multicast_enc

Re: UDP checksum error after encapsulating multicast packet

2001-12-06 Thread mark tinguely
S() or htons() 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
sum error. 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: contiguous memory of a buffer

2001-11-29 Thread mark tinguely
memory 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
d cards. My guess every 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
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-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? -

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 [

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
x27;t say if there is or is not a feature of the loading/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 &quo

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 > >

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 autom

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 y

Re: memory + apache

2001-08-30 Thread mark tinguely
exitted. Is your memory/CPU peaks periodic enough to watch with top(1) or other diagnostic tool. Something is eating your memory (like a run-away CGI). --mark tinguely. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: VM statistics per process?

2001-08-24 Thread mark tinguely
> Worse, pmap_pid_dump() is undocumented, and I don't > understand what for(i=0;i<1024;i++) for(j=0;j<1024;j++) {} loop there is > supposed to do... :-( > > I'd appreciate if someone would explain this to me. the process' virtual memory is mapped into physical memory with page directory ta

Re: How to visit physical memory above 4G?

2001-08-03 Thread mark tinguely
time. There is a third mode of addressing using 2MB pages (simular to the 4MB page addressing mode for the 32 bit addressing scheme) that will only give a process access to 4GB of memory (not segmentable to a larger space, but can address physical memory located above the 4GB address). --mark ti

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
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: Forwarding broadcast packets

2000-11-15 Thread mark tinguely
> I wish to forward broadcast packets from one subnet to another via a FreeBSD > box. > Both subnets are on the same Ethernet interface. Is this possible? You should not do this in a routed environment, but is required in a bidged enviroment. the kernel bridge(4) support should allow you to

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 Networks

Re: PCI Specification !!!

2000-06-27 Thread Mark Tinguely
order page: 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: A bug in the sppp driver?

1999-09-29 Thread Mark Tinguely
> When you trying to establish connection from one peer (local) to another > (remote), you sent a CONF_REQ message to the remote peer. The remote peer > should answer with a CONF_ACK message. In the code of the sppp driver > (net/if_spppsubr.c, lines 1321 - 1357) you can see that the remote p

Re: The sppp driver

1999-09-29 Thread Mark Tinguely
(deletes and edits) > But, in the later case, the control messages are queued to > the control queue (sp->pp_cpq) which the if_start functions > doesn't have access to. in the ISDN (sys/i4b/driver) code, the interface target of the if_start(), there is a call to sppp_dequeue() which gets the top

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: # ro

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: # r

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: 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: 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 a