i'm not sure
> > if that matters).
>
> Yes, the arch matters a lot. For arm, adding __clear_cache() to
> libgcc was explicitly disabled by Andrew here:
>
> http://svnweb.freebsd.org/base?view=revision&revision=244382
>
> "Don't provide clear_cache
of automatic use from big allocations, a rarely used API to advise for big
TLBs, and some background work that coalesced when possible.
....
Andrew L. Duane
Resident Architect - AT&T Technical Lead
m +1 603.770.7088
o +1 408.933.6944 (2-6944)
skype: an
I spent years using Linux before I truly appreciated the key difference between
a "desktop environment" and a "graphical environment". Probably because
everyone had to have a desktop environment.
I define graphical environment as simply X11 and a window manager. That's all
you need to run Fire
Thanks Andrey!
Sent from my iPhone
On Aug 28, 2012, at 1:42 PM, Andrey Zonov wrote:
> On 8/28/12 3:14 PM, Andy Young wrote:
>> I am relatively new to using IO monitoring tools and wanted to confirm I
>> understand them correctly. If I specify an interval of 5 seconds, my
>> assumption is that t
ts in freebsd's vm, but I think it's somehow related to
> the running processes that are based on that executable vnode. For
> example, if another copy of Xorg were running, I think REF would be 3,
> and SHD would be 2.
>
> I don't know why there is no shadow objec
gt; defined, no dependency on either NFS module is registered. The compiler has
>> no complaints, though.
>
> Interesting. Could you repeat after sufficient cleaning up?
> I am not sure where from opt_nfs.h file could come.
>
Maybe related: check out sys/modules/ipfw/Makefile. It makes its own option
headers for INET and INET6.
-A
--
Andrew Boyerabo...@averesystems.com
___
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"
On Jun 28, 2012, at 11:18 AM, Andrew Boyer wrote:
> It gets its info from the BIOS, which probed the SPD on each EEPROM at boot
> time.
Meant to say "SPD EEPROM on each DIMM."
-A
------
Andrew Boyerabo...@
use hw.physmem and round up to the nearest 1GB.
You can also check the output of 'dmidecode -t 17' and total up the listed size
of each DIMM. It gets its info from the BIOS, which probed the SPD on each
EEPROM at boot time. dmidecode is in ports/sysutils/dmidecode.
Someti
nt in ARM EABI and defined as an int
elsewhere?
Andrew
___
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"
that spiral striping down a set of disk
platters. My bet is no one has ever bothered to rethink this in the 25 years
since
...
Andrew Duane
Juniper Networks
+1 978-589-0551 (o)
+1 603-770-7088 (m)
adu...@juniper.net
_
s to have to make rc.conf
> changes, pf.conf changes, and who knows what other software could be on these
> machines that is trying to bind to a specific NIC...
>
>
> Thanks!
>
You could try switching mpt to MSI. MSI interrupts are never shared. Add this
to /boot/
y exhaustion, lock issues, etc.)
.......
Andrew Duane
Juniper Networks
+1 978-589-0551 (o)
+1 603-770-7088 (m)
adu...@juniper.net
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mai
kernel there.
I have a script at [1] that builds an image to load the kernel directly
from U-Boot. It figures out where to tell U-Boot to load a kernel by
using readelf to find the value of physaddr and kernbase to use to
calculate what physical addresses to use to load the kernel to and
where the first instruction to execute is.
Andrew
[1] http://fubar.geek.nz/files/freebsd/omap/build_beagle.sh
___
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"
> On Fri, Apr 27, 2012 at 08:27:07PM +0200, Wojciech Puchar wrote:
>
>>> After using Linux for almost 15 years, I only recently started using
>>> FreeBSD. I own an internet startup and was looking for a solution for
>>
>> Those who need FreeBSD already use it. no need to promote. Or maybe need
here! Even though there are
>> so many applications where FreeBSD seems to be a better or at least
>> more mature solution.
>>
>> What are the current efforts to promote and educate people on
>> FreeBSD? I'd love to help spread the word.
>>
>
> Hi A
> Andy Young wrote:
>> After using Linux for almost 15 years, I only recently started using
>> FreeBSD. I own an internet startup and was looking for a solution for
>> implementing large-scale storage servers. In my research I found ZFS and
>> subsequently found FreeBSD. As I learned more about i
expecting no ":", "[", and "/" in the field?
Best,
Andrew
___
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"
MNAMELEN is used to bound the Mount NAMe LENgth, and is used in many many
places. It may seem to work fine, but there are lots of utilities and such that
will almost certainly fail managing it. Search the source code for MNAMELEN.
...
Andrew Duane
Juniper
>do you want to sync the disks first? of just hard reset?
Why would anyone ever want to do that, you're a kernel mod, if you want to
do that just triple-fault.
On Sun, Jan 22, 2012 at 9:32 PM, Julian Elischer wrote:
> On 1/22/12 2:19 AM, geoffrey levand wrote:
>
>> Hi,
>>
>> how would i reboot/
On Dec 16, 2011, at 12:47 AM, Jan Mikkelsen wrote:
> On 16/12/2011, at 3:40 AM, Andrew Boyer wrote:
>> On Dec 15, 2011, at 4:19 AM, Jan Mikkelsen wrote:
>>
>>> For the mfi controllers I have been testing recently (MegaRAID 9261-8i),
>>> you need to install t
On Dec 15, 2011, at 1:10 PM, Hugo Silva wrote:
> On 12/15/11 16:40, Andrew Boyer wrote:
>> I'm not sure it would even be possible to come up with a worse interface.
>> It boggles the mind.
>>
>> I recommend you always run with this configurati
yone managed to get the real JBOD mode working on this controller? It
advertises support in the firmware but doesn't seem to do anything. The
documentation only lists JBOD mode as a feature of the lower-end controllers.
Hope this helps.
-Andrew
---
the check
and the printf.
.......
Andrew Duane
Juniper Networks
o +1 978 589 0551
m +1 603-770-7088
adu...@juniper.net
> -Original Message-
> From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd-
> hack...@freebsd.org] On Behalf Of Ed
Add a 0x0d to the end of the string (0xa = LF, 0xd = CR)
...
Andrew Duane
Juniper Networks
o +1 978 589 0551
m +1 603-770-7088
adu...@juniper.net
> -Original Message-
> From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd-
nment variables for the time being.
...
Andrew Duane
Juniper Networks
o +1 978 589 0551
m +1 603-770-7088
adu...@juniper.net
-Original Message-
From: John Baldwin [mailto:j...@freebsd.org]
Sent: Friday, September 09, 2011 8:32 AM
To: freebsd-a...@freebsd.o
uch things.
.......
Andrew Duane
Juniper Networks
o +1 978 589 0551
m +1 603-770-7088
adu...@juniper.net
-Original Message-
From: Peter Wemm [mailto:pe...@wemm.org]
Sent: Thursday, September 08, 2011 6:48 PM
To: Peter Grehan
Cc: Andrew Duane; freebsd-hackers@f
endif /* OCTEON_VENDOR_JUNIPER */
Reasonable? Unreasonable? Insane?
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology Park Dr
adu...@juniper.net Westford, MA 01886-3418
___
freebsd-hackers@freebsd.org mailing list
ht
, but nothing makes
any forward progress.
Sending SIGUSR1, SIGUSR2, or SIGABRT seem to work fine, as does any signal if
the core dump is going to a local filesystem.
Before I dig into this apparent deadlock, just wondering if it's been seen
before.
.......
An
am not sure what steps I should follow to get more information ?
>
>
>
> Also, I believe that often, core dumps with signal 11 = RAM problems
> and I would like a confirmation here.
>
> I am concerned because rsyslogd is the only process that crashes in
> this way, even afte
erally supported.
>
FYI, I submitted a patch to Jack to add this in all of the e1000/ixgbe drivers.
Setting a disabled="1" hint causes the attach to fail with ENXIO. I don't
know if it's 'correct' or not but it serves
My last desktop machine had an ASUS Pentium-3 (no ISA slots), USB1
only. It has outlived the original hard drive, CDROM, and power supply,
but I think it makes more sense these days to throw these systems out
rather than "future-proof" them, especially if a fanless SoC could be
less power-hung
While we're talking about recent MFC's for SATA hardware (works for me,
but I still need the old ata drivers for my cdrom), is anyone out there
really still using the mcd (fbsd 1.0 vintage) and scd (2.0.5) drivers?
___
freebsd-hackers@freebsd.org maili
For SCSI-attached disks, yes. But other hardware has write-protect sensing (SD
cards, CD-roms, our platform). So if you can do that, you should
Cleaning up after a failed write is a real problem, one that I needed to avoid.
/Andrew
-Original Message-
From: Andriy Gapon [mailto:a
ection from the device to the filesystem code. Our implementation uses a
platform sysctl that checks the incoming device name against some hardware or
software settings. Ick. I don't know enough about device/GEOM calls to do it
better though.
...
Andrew Duane
Jun
hese with union
filesystems instead, to save space and complexity.
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology Park Dr
adu...@juniper.net Westford, MA 01886-3418
From: owner-freebsd-hack...@freebsd.org [own
dates will not be able to complete. Once that is done, any
attempt to open a file for writing fails.
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology Park Dr
adu...@juniper.net Westford, MA 01886-3418
From: Andri
AFAIK, FreeBSD does not really detect read-only media. This was something I had
to add as a small project here at work, and was considering cleaning up to try
to get into CURRENT. If there's a real need for it, I could speed that up.
--
Andrew Duane Juniper Networks
978-589
uot; is verbose, etc
...
Andrew Duane
Juniper Networks
o +1 978 589 0551
m +1 603-770-7088
adu...@juniper.net
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
On Sun, 27 Mar 2011 22:07:30 +0200
Stefan Farfeleder wrote:
> On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote:
> > Along with this WCHAR_MIN and WCHAR_MAX are defined both in
> > and . I would like to remove the copy
> > from wchar.h and add an include
N and WCHAR_MAX?
Andrew
___
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"
ck
values, and those shouldn't change behaviour if someone uses /dev/null as a
test file. It seems pretty trivial to update it, so why not make it behave the
same.
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology Park Dr
adu...@juniper.net Westford,
I've never seen any such thing, but I've done similar things a lot. I'd say
malloc/read the whole file in and use a decrementing pointer to return the
"previous" character.
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology P
s like
page_dir look corrupted too. It seems as if maybe the "1" is coming from
sbrk(0) which is just returning the value of curbrk (which is correct, and not
even close to "1").
Does this ring any bells?
--
Andrew Duane Juniper Networks
978-589-0551
On 30 January 2011 06:20, Damien Fleuriot wrote:
> Hello lists,
>
>
>
> I'm trying to get FreeBSD 8.0 or 8.1 to run on a Dell poweredge r210 server.
>
> It ships with a SATA/SAS h200 RAID controller.
>
This card may need the mps(4) driver which is only in
continuing, just like the manuals say.
Am I missing something?
--
Andrew Duane Juniper Networks
978-589-0551 10 Technology Park Dr
adu...@juniper.net Westford, MA 01886-3418
___
freebsd-hackers@freebsd.org mailing list
I think this is reasonable.
WBR,
Andrew
2010/10/15 Julian H. Stacey :
> To quote 8.1-RELEASE/src/crypto/README
> ...
> The separation between src/contrib and src/crypto
> is the result of an old USA law, which made these sources export
> controlled, so
have developed a problem - I not long ago had this happen to me,
and the drive, when extracted (with some difficulty) from the case,
could be accessed when connected directly to a P-ATA interface.
--
-----
And
On Aug 11, 2010, at 6:47 AM, Dan Langille wrote:
> I am encountering a situation similar to one reported by Andrew Heybey
> at http://docs.freebsd.org/cgi/mid.cgi?6E83197B-9DD5-4C7E-846D-AD176C25464D
>
> This morning I found this in my /var/log/messages:
>
> Aug 11 01:59:48
On Jul 15, 2010, at 8:07 AM, John Baldwin wrote:
> On Wednesday, July 14, 2010 11:25:29 am Andrew Heybey wrote:
>> Got the following in /var/log/messages on my one-week-old amd64 box running
>> 8.1RC2:
>>
>> Jul 13 20:30:17 spaten kernel: MCA: Global Cap
things that
happens but now it gets logged whereas before I was blissfully ignorant?
thanks,
andrew
___
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"
hell will find them in their new
locations just fine. You'll want to remove the old ones from
/usr/bin, but make delete-old will probably do that nicely
anyway.
Cheers,
--
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.fre
You *should* be able to use device1s2a:/ as a syntax, but I noticed a bug in
our old loader code that parses devicenames like that where it wouldn't work
correctly with unit numbers. I don't know if that bug is still around, but
setting currdev did work around it.
/Andrew
>
I'll need to hunt down what's going on with the missing header.
opt_* headers are auto-generated by the kernel config. Just add
opt_compat.h to sys/modules/mqueue/Makefile right after opt_posix.h
Andrew
___
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"
t ABI structures and define
> compat ioctls, then handle the ioctls by converting the structures
> and calling the native handler. BIOCSRTIMEOUT32 is a good example.
This has been done for other usb ioctls but the above struct has a
pointer to an array of pointers in userland which makes
27;ve
often found code that writes some buffer into e.g. a piece of memory it no
longer owns that looks like memory corruption until you realize the garbage is
always something specific like a vnode structure.
/Andrew
___
freebsd-hackers@freebsd.org mail
efit is a
complete package over many individual ones?
Andrew
___
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"
On Wed, Mar 24, 2010 at 02:09:41PM +1300, Atom Smasher wrote:
> On Tue, 23 Mar 2010, Garrett Cooper wrote:
>
>> Are you looking for data represented similar to sysctl(8)?
>
>
> it doesn't quite have to be, but it is being parsed in a script.
How about pulling the kenv variables into
On Wed, Mar 24, 2010 at 08:06:23AM +1300, Atom Smasher wrote:
> On Wed, 24 Mar 2010, Andrew Thompson wrote:
>
>> On Tue, Mar 23, 2010 at 05:12:47PM +1300, Atom Smasher wrote:
>>> i'm trying to figure out what might be reasonable output from kenv. on
>>> the t
ader
prior to starting the kernel. If you want something more structured then
maybe the dmidecode utility would be useful.
cheers,
Andrew
___
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"
he drive is?
Thanks,
Andrew
___
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"
rs-unsubscr...@freebsd.org"
I would think the "correct" way to handle this is to make sure all appropriate
items are declared volatile. This would eliminate dead store elimination, as
the compiler can tell they are not dead.
Unfortunately, the history of drivers (or any code) co
ht find time to implement this myself.
thanks
Andrew
___
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"
ips. So they are of direct interest to us.
>>
>> They are probably not a very good fit for general purpose computing.
>>
>> --Artem
I believe I know of one such company... :-)
--
Andrew Duane Juniper Net
and I get the "hello, fail" message, and then I typed
sudo make unload
and I got the "unload fail" message.
Andrew
___
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"
venting the wheel, even if
this wheel is the wrong colour ;)
Andrew
___
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"
do something similar to what we want.
BTW Feel free to implement this, I was going to have a go but I doubt
I'd actually get around to it :(
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hacke
2010/2/9 Dag-Erling Smørgrav :
> Andrew Brampton writes:
>> Today I was writing a script to read all the dev.cpu.?.temperature
>> sysctl OIDs. I was parsing them using a simple grep, but it occurred
>> to me it might be better if sysctl supported some form of regexp.
>
>
tl
dev.cpu
which lists all the OIDs under dev.cpu. Is this a feature people would
find useful? Or would I be optimising a problem that doesn't exist?
Thanks for any input
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/m
Kostik Belousov wrote:
On Fri, Feb 05, 2010 at 08:51:25AM -0500, Andrew Gallatin wrote:
Kostik Belousov wrote:
On Thu, Feb 04, 2010 at 03:40:28PM -0500, Andrew Gallatin wrote:
I've got a commercial driver that uses device cloning.
At unload time, the driver calls clone_cleanup(). W
Kostik Belousov wrote:
On Thu, Feb 04, 2010 at 03:40:28PM -0500, Andrew Gallatin wrote:
I've got a commercial driver that uses device cloning.
At unload time, the driver calls clone_cleanup(). When I unload
the driver when the kernel is built with INVARIANTS, I'll see
I've got a commercial driver that uses device cloning.
At unload time, the driver calls clone_cleanup(). When I unload
the driver when the kernel is built with INVARIANTS, I'll see a
panic in devfs_populate_loop(). This happens in 6-stable,
as well as 8-stable.
From what I can see the clone has
t.
extern void jsrxnle_poweroff_devices(void *junk, int howto);
/* Registering power-off handler to be called at the system shutdown */
EVENTHANDLER_REGISTER(shutdown_final, jsrxnle_poweroff_devices, NULL,
SHUTDOWN_PRI_LAST + 10);
The howto argument can be checked for RB_POWEROFF:
if (howto
dworld buildkernel TARGET=i386
You may want to clear out your /usr/obj and try again.
Andrew
___
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"
n allocator, it relies on the platform malloc()
rather than sbrk(), and therefore Jason's suggestion to use '-d' in
/etc/malloc.conf should be effective for it.
--
-----
Andrew I MacIntyre "
from 8.0-RC1, and now it doesn't successfully boot. I gather
from the 8.0 release notes that there have been some changes to some
part of the boot code. In any case, I can boot via the Windows boot
menu with the help of 7-stable's /boot/boot1 file.
Hoping that helps
Daniel Eischen wrote:
We already use umtx. This really is a hack and I wouldn't
advocate it. I'm not sure how you could make it work and
not break existing ability to return appropriate error
codes without slowing down the path in the non-shared
case. You'd have to check to see if the addres
Daniel Eischen wrote:
On Fri, 23 Oct 2009, Andrew Gallatin wrote:
Daniel Eischen wrote:
On Fri, 23 Oct 2009, John Baldwin wrote:
On Thursday 22 October 2009 5:17:07 pm Daniel Eischen wrote:
On Thu, 22 Oct 2009, Andrew Gallatin wrote:
Daniel Eischen wrote:
On Thu, 22 Oct 2009, Andrew
Daniel Eischen wrote:
On Fri, 23 Oct 2009, John Baldwin wrote:
On Thursday 22 October 2009 5:17:07 pm Daniel Eischen wrote:
On Thu, 22 Oct 2009, Andrew Gallatin wrote:
Daniel Eischen wrote:
On Thu, 22 Oct 2009, Andrew Gallatin wrote:
Hi,
We're designing some software which has to
, and
now everything seems to work alright.
Anyway, all this procedure should be 75% correct since I've managed to
successfully upgrade to 8.0 from 7-stable this way. For all I know, I
might end up with a corrupted partition six months from now. Either
that or Marcel Moolenar will
Daniel Eischen wrote:
On Thu, 22 Oct 2009, Andrew Gallatin wrote:
Hi,
We're designing some software which has to lock access to
shared memory pages between several processes, and has to
run on Linux, Solaris, and FreeBSD. We were planning to
have the lock be a pthread_mutex_t residing i
Hi,
We're designing some software which has to lock access to
shared memory pages between several processes, and has to
run on Linux, Solaris, and FreeBSD. We were planning to
have the lock be a pthread_mutex_t residing in the
shared memory page. This works well on Linux and Solaris,
but FreeBS
Kostik Belousov wrote:
It seems that you want a merge of r178042,183614,184842,188057 (one of
Yes, I finally figured this out on Fri. I probably should
have posted a response to this thread to avoid others
wasting time on this.
Drew
___
freebsd-ha
the file is readable:
if [ -r FILE ]
and then print an error message.
Although the awk error message is sufficient some people might find this
helpful.
Regards,
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/l
Ed Schouten wrote:
> * Paul B Mahol wrote:
>> This have nothing to do with ncurses, colors you like simple can not
>> be displayed in current syscons(4) and making support for 256 colors
>> or even true bit color in sysinstall(so that it looks amazing in
>> konsole) is waste of time.
>
> Yes. As
Hi,
I'm trying to re-initialize a NIC which uses firmware(9)
after a hardware fault. As part of the process, I need
to re-load the firmware using firmware_get(). If the
firmware kld is not resident, then the machine will panic
like this:
Fatal trap 12: page fault while in kernel mode
cpuid = 0
there is no name wouldn't work for
me. If you haven't looked at the patch I placed the TID directly after
the PID column (when displaying threads in -H mode).
thanks
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebs
perhaps it should be included with FreeBSD.
I'd be grateful for any feedback or suggestions.
thanks
Andrew
Index: usr.bin/top/machine.c
===
--- usr.bin/top/machine.c (revision 197611)
+++ usr.bin/top/machine.c (working
his patch to freebsd intel.com unless someone can
point me toward the maintainers email address, or should I just create
a PR?
thanks
Andrew
diff -u ixgbe.old/ixgbe.c ixgbe/ixgbe.c
--- ixgbe.old/ixgbe.c 2009-08-31 18:15:05.0 +0100
+++ ixgbe/ixgbe.c 2009-08-31 19:52:14.0
t this value over time. I also tried a similar
experiment with the e1000 driver but I couldn't get that interface to
list any errors.
I'm running these tests on FreeBSD 8.0-Beta3, but I observed the same
behaviour on FreeBSD 7.2.
Thanks
Andrew
_
BREAK_TO_DEBUGGER
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options WITNESS_SKIPSPIN
options DEBUG_MEMGUARD
options HWPMC_HOOKS
device hwpmc
Can anyone suggest anything to try and debug/fix this problem. I'
otect claims to do what I want, but has long been missing
from FreeBSD.
In case it matters, I'm using FreeBSD 7.2, on a amd64 machine. I've
looked at HEAD and the relevant code looks the same, so I suspect I
will still have problems with that.
thanks for any help
Andrew
___
this more for my general understanding.
thanks
Andrew
___
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"
ing if there are no other threads waiting.
I would also be grateful if people could point me at other examples in
the kernel where something like this is done. I have looked in quite a
few places, but I can't see why my simple app is wrong.
thanks
Andrew
__
2009/5/2 Erik Trulsson :
> On Sat, May 02, 2009 at 04:59:03PM +0100, Andrew Brampton wrote:
>> I'm writing a C++ Kernel Module, and one thing that has been bugging
>> me is the kernel's definition of NULL.
>
> Is the use of C++ inside the kernel really supported?
efine NULL(0L)
#else
# define NULL0
#endif
That way, if we are using GCC 4+ we use their __null definition,
otherwise if we are not c++ we use the standard (void *)0, and then if
we are 64bit we use 0L, and finally anything else uses 0. A quick
amd64 kernel compile seems to allow m
2009/4/11 Robert Watson :
> On Sat, 11 Apr 2009, Andrew Brampton wrote:
>
> Your understanding is mostly right. The missing bit is this: there are two
> kinds of interrupt contexts -- fast/filter interrupt handlers, which borrow
> the stack and execution context of the kernel thre
be easier to acquire than sleeping?
I think for the moment I will fix my code by not using a MTX_SPIN
(since the code is not in a interrupt), however, I think memguard
should change its lock.
thanks
Andrew
___
freebsd-hackers@freebsd.org mailing li
2009/2/12 Kostik Belousov :
> On Thu, Feb 12, 2009 at 02:08:22PM +0000, Andrew Brampton wrote:
>>
>> So I ran the tool pahole over a 7.1 FreeBSD Kernel, and found that
> Did you ported it to FreeBSD, or run on the Linux host ?
>
Sorry no, I just ran it from a Linux host, b
Is it worth my time trying to rearrange structs? If so do you think
many of my patches would be accepted?
2) Is there a way to find out the most heavily used structs? There are
~3600 structs, and ~2000 holes, it might be a waste of my time fixing
the structs which are only used once.
thanks
Andre
reeBSD wiki:
>
> http://wiki.freebsd.org/OliverFromme/BootLoaderTest
>
> Any kind of feedback is welcome.
Works well here, tried various combinations of the options. This is very
cool.
Andrew
___
freebsd-hackers@freebsd.org mailing list
http://
1 - 100 of 745 matches
Mail list logo