On Mon, Oct 24, 2011 at 8:38 PM, Matthew Jacob wrote:
>
> On 10/24/2011 5:21 PM, Chuck Tuffli wrote:
>>
>> Is there an easy way to determine the amount of bus_dma memory
>> allocated by a driver? Something similar to vmstat -m
>>
>
> bus_dma memory allocatio
Is there an easy way to determine the amount of bus_dma memory
allocated by a driver? Something similar to vmstat -m
TIA
---chuck
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send
On Fri, Apr 22, 2011 at 9:41 AM, Andriy Gapon wrote:
> on 22/04/2011 18:56 Chuck Tuffli said the following:
>> On Fri, Apr 22, 2011 at 8:44 AM, Andriy Gapon wrote:
>>> Also, dtrace process needs to access the module file for address-to-name
>>> translation.
>
On Fri, Apr 22, 2011 at 8:44 AM, Andriy Gapon wrote:
> on 22/04/2011 18:24 Alexander Kabaev said the following:
>> Do ctfdump -tf on your kld and verify that what it outputs actually
>> makes sense. Do kldload and see if fbt provider knows about your module
>> and functions. There is nothing else
On Thu, Apr 21, 2011 at 7:16 PM, Alexander Kabaev wrote:
...
> There is an omission on our .mk files which prevents CTF info to be
> generated for kld modules, regardless of WITH_CTF flag. I had
> discovered this at work just recently and have been using the
> following patch for the time being:
>
(Note I'm new to DTrace, so this may be ignorance on my part)
I have re-built a stock 8.2 kernel and enabled dtrace as per the
handbook (including WITH_CTF=1) and have built a kld also using
WITH_CTF=1. When I run the following
dtrace -n"bus_release_resource:entry { stack(); }"
the output looks
chine and don't
remember having to do anything special.
--
Chuck Tuffli
Agilent Technologies, Storage Area Networking
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nd unmap
the segments that didn't contain devices.
--
Chuck Tuffli
Agilent Technologies, Storage Area Networking
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
TIVE | RF_SHAREABLE);
A call to bus_get_resource() shows that the resource did get set as
the call returns the correct starting address and count. Is there
something else that needs to happen between the set and the alloc? Is
this even the correct approach? Thanks in advance!
--
Chuck Tuffli
Agile
_io':
> @/pci/pcivar.h:280: warning: implicit declaration of function
> `PCI_DISABLE_IO'
> @/pci/pcivar.h: In function `pci_set_powerstate':
> @/pci/pcivar.h:307: warning: implicit declaration of function
> `PCI_SET_POWERSTATE'
>
> code is here: http://chiak
just type make. See src/sys/modules/*/Makefile for other
examples.
--
Chuck Tuffli
Agilent Technologies, Storage Area Networking
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
un -1 ()
> scbus-1 on xpt0 bus 0:
What does 'camcontrol rescan 1:0:0' report?
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rs")
http://www.freebsd.org/cgi/getmsg.cgi?fetch=127033+0+/usr/local/www/db/text/2002/freebsd-hackers/20021110.freebsd-hackers
for some additional information.
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
#
ExtINT active-hiedge5 0 20
...
INT active-lo level2 1:A 40
INT active-lo level2 1:B 41
INT active-lo level 3 3:
r Kernel
! options APIC_IO # Symmetric (APIC) I/O
! devicesio0at isa? port IO_COM1 flags 0x90 irq 4
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Tue, Dec 10, 2002 at 04:58:34PM +0100, [EMAIL PROTECTED] wrote:
> In message <[EMAIL PROTECTED]>, Chuck Tuffli write
> s:
> >I've been chasing down some weird panics in my CAM driver and have
> >noticed that functions don't seem to save all register values befo
s ecx as a loop index. The bad part is
function B never saves/restores the value of ecx and function A starts dereferencing
garbage.
An informal sampling of my driver seems to indicate that ebx gets
pushed/poped at entry/exit but ecx and edx don't. Does any of this
sound familiar? Thanks!
-
t;Frame pointers for dummies") that I can use to figure out what went
wrong? Thanks!
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
explanation. Would a physical
defragmenter be of interest? I can't work on it right away, but if
there is interest, I could take a look at this later.
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe free
(), can other
drivers or the kernel not use this memory?
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
up the memory
if (virt != NULL) {
bus_dmamap_unload(child, map);
bus_dmamem_free(child, virt, map);
bus_dmamap_destroy(child, map);
}
bus_dma_tag_destroy(child);
bus_dma_tag_destroy(parent);
I'm clearly doing something wrong, but I don't understand what the
problem is. An
I insist setting
> it, is there a way? Thanks.
'i' is shorthand (or an alias) for the info command. Not sure if you
can effectively "unalias" i.
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
efore after
Tnx!
--
Chuck Tuffli
Agilent Technologies, Storage and Networking
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
the drivers grabed information from the
"environment" using getenv_int(), but I couldn't seem to get this to
work. Thanks for any thoughts.
--
Chuck Tuffli
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
24 matches
Mail list logo