Re: Can't use gcc in a clang built world

2013-06-27 Thread Andrew Turner
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=revisionrevision=244382 Don't provide clear_cache or the __sync_* functions on ARM with clang as they are provided by clang

RE: Multiple page size support on FreeBSD?

2013-04-10 Thread Andrew Duane
allocations, a rarely used API to advise for big TLBs, and some background work that coalesced when possible.   Andrew L. Duane Resident Architect - ATT Technical Lead m   +1 603.770.7088 o +1 408.933.6944 (2-6944) skype: andrewlduane adu...@juniper.net

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Andrew Young
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

Re: Question on io monitoring tools such as gstat and iostat

2012-08-28 Thread Andrew Young
Thanks Andrey! Sent from my iPhone On Aug 28, 2012, at 1:42 PM, Andrey Zonov z...@freebsd.org 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

Re: dtraceall.ko with old nfsclient

2012-07-12 Thread Andrew Boyer
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

RE: /proc filesystem

2012-07-12 Thread Andrew Duane
?  ... 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 mail to freebsd

Re: distinguish between Maxmem, realmem, physmem

2012-06-28 Thread Andrew Boyer
. -Andrew -- 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

Re: distinguish between Maxmem, realmem, physmem

2012-06-28 Thread Andrew Boyer
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...@averesystems.com

Wide character types

2012-06-06 Thread Andrew Turner
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

RE: proper newfs options for SSD disk

2012-05-24 Thread Andrew Duane
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   ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-21 Thread Andrew Boyer
... Thanks! You could try switching mpt to MSI. MSI interrupts are never shared. Add this to /boot/device.hints: hint.mpt.0.msi_enable=1 -Andrew -- Andrew Boyerabo...@averesystems.com

RE: GSoC Project: Automated Kernel Crash Reporting System - Discussion

2012-05-16 Thread Andrew Duane
.)  ... 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 mail to freebsd-hackers-unsubscr

Re: How does loader(8) decide where to load the kernel?

2012-05-08 Thread Andrew Turner
. 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

Re: Ways to promote FreeBSD?

2012-04-28 Thread Andrew Young
Andy Young ayo...@mosaicarchive.com 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

Re: Ways to promote FreeBSD?

2012-04-28 Thread Andrew Young
. What are the current efforts to promote and educate people on FreeBSD? I'd love to help spread the word. Hi Andrew, Your message caught my eye because of your company name in your signature. I thought I had seen it somewhere before, and I had - I was at the VentureX competition at the abi

Re: Ways to promote FreeBSD?

2012-04-28 Thread Andrew Young
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 to promote

cron(8): openlog: ProgramName - cron

2012-04-21 Thread Andrew Pantyukhin
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

RE: mount_nfs does not like exports longer then 88 chars

2012-04-19 Thread Andrew Duane
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

Re: Rebooting/Halting system from kernel module

2012-01-22 Thread Andrew Davis
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 jul...@freebsd.org wrote: On 1/22/12 2:19 AM, geoffrey levand wrote: Hi, how would

Re: mfi (Dell H700) + hot swapping doesn't appear to work with RC1

2011-12-16 Thread Andrew Boyer
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 the sysutils/megacli port, and use that to clear

Re: mfi (Dell H700) + hot swapping doesn't appear to work with RC1

2011-12-15 Thread Andrew Boyer
anything. The documentation only lists JBOD mode as a feature of the lower-end controllers. Hope this helps. -Andrew -- Andrew Boyerabo...@averesystems.com ___ freebsd-hackers@freebsd.org mailing

Re: mfi (Dell H700) + hot swapping doesn't appear to work with RC1

2011-12-15 Thread Andrew Boyer
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 configuration: # MegaCli -AdpSetProp AutoEnhancedImportEnbl -aALL

RE: BUG: 'glabel label' name's lenght, is truncated without err/warn

2011-11-08 Thread Andrew Duane
.  ... 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 Schouten Sent: Tuesday, November 08

RE: Hello World assembly language

2011-09-28 Thread Andrew Duane
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- hack

RE: Soliciting opinions on an extension of the bootinfo structure

2011-09-12 Thread Andrew Duane
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.org Cc

RE: Soliciting opinions on an extension of the bootinfo structure

2011-09-09 Thread Andrew Duane
.  ... 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@freebsd.org

Soliciting opinions on an extension of the bootinfo structure

2011-09-08 Thread Andrew Duane
*/ 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 http://lists.freebsd.org/mailman/listinfo

Dumping core over NFS

2011-08-11 Thread Andrew Duane
, 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. ... Andrew Duane

RE: DEBUG - analysing core dumps

2011-05-25 Thread Andrew Duane
the firewall. Thanks for your input :) For what it's worth, the addresses shown in frames 15, 16, 17, and 18 are ASCII: ops/rav/ lsysr/lo _npvo/go tats.gol /Andrew ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: device_detach() on a device used by ixgbe driver (FreeBSD 7-STABLE through to 9-CURRENT)

2011-05-23 Thread Andrew Boyer
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 a purpose in our testing and I thought it would be useful for others. -Andrew

scd and mcd

2011-04-23 Thread Andrew Lankford
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

Fwd: Re: scd and mcd

2011-04-23 Thread Andrew Lankford
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

RE: retry mounting with ro when rw fails

2011-04-08 Thread Andrew Duane
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 Juniper Networks o   +1

RE: retry mounting with ro when rw fails

2011-04-08 Thread Andrew Duane
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

RE: looking for error codes

2011-04-02 Thread Andrew Duane
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 [owner-freebsd-hack

RE: looking for error codes

2011-04-01 Thread Andrew Duane
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-0551

RE: looking for error codes

2011-04-01 Thread Andrew Duane
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: Andriy Gapon

Re: Unsigned wchar_t

2011-03-28 Thread Andrew Turner
On Sun, 27 Mar 2011 22:07:30 +0200 Stefan Farfeleder ste...@fafoe.narf.at 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 wchar.h and machine/_stdint.h. I would like to remove the copy from wchar.h and add

RE: New Boot-Loader

2011-03-28 Thread Andrew Duane
 ... 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 To unsubscribe, send any

Unsigned wchar_t

2011-03-27 Thread Andrew Turner
the __wchar_t typedef and define WCHAR_MIN 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

RE: seeking into /dev/{null,zero}

2011-02-22 Thread Andrew Duane
, 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, MA 01886-3418

RE: reverse of getchar() read() open() fopen() ?

2011-02-11 Thread Andrew Duane
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 Park Dr adu...@juniper.net

Strange problems in the old libc malloc routines

2011-02-02 Thread Andrew Duane
. 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 10 Technology Park Dr adu...@juniper.net Westford, MA 01886

Re: KERN - mfi driver for Dell raid h200 on r210 servers

2011-01-29 Thread Andrew Thompson
On 30 January 2011 06:20, Damien Fleuriot m...@my.gd 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 HEAD at the moment. Andrew

Question about process rlimits

2010-12-02 Thread Andrew Duane
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 http://lists.freebsd.org

Re: international crypto laws

2010-10-17 Thread Andrew Stesin
I think this is reasonable. WBR, Andrew 2010/10/15 Julian H. Stacey j...@berklix.com: 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

Re: disassembler

2010-09-05 Thread Andrew MacIntyre
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. -- - Andrew I MacIntyre

Re: 8.1-STABLE amd64 machine check

2010-08-11 Thread Andrew Heybey
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 kraken kernel: MCA: Bank

Re: 8.1RC2 amd64 machine check question

2010-07-15 Thread Andrew Heybey
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 0x0106, Status 0x

8.1RC2 amd64 machine check question

2010-07-14 Thread Andrew Heybey
): APIC ID: 0 cpu1 (AP): APIC ID: 1 My questions are: 1. Did I interpret the message correctly (correctable error on my L3 cache)? 2. Is it anything to worry about? Or is this just one of those things that happens but now it gets logged whereas before I was blissfully ignorant? thanks, andrew

Re: using cupsd instead of base lpr [was Re: [HEADS UP] Kernel modules don't work properly in FreeBSD 8.1-RC1 (solved)]

2010-06-24 Thread Andrew Reilly
from /usr/bin, but make delete-old will probably do that nicely anyway. 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

RE: loader prompt: list / on other device

2010-06-23 Thread Andrew Duane
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 -Original

Re: Are POSIX mqueues supposed to be functional on FreeBSD?

2010-06-20 Thread Andrew Thompson
/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

Re: [FreeBSD 8/9] [64-bit IOCTL] Using the USB stack from a 32-bit application under a 64-bit kernel.

2010-05-30 Thread Andrew Thompson
. This has been done for other usb ioctls but the above struct has a pointer to an array of pointers in userland which makes it difficult. It isnt copied in with the ioctl so doesnt get the chance to be fixed up. so far, http://people.freebsd.org/~thompsa/linux_usb_amd64_2.diff Andrew

RE: bad RAM? prove it with a crash dump?

2010-05-06 Thread Andrew Duane
corruption until you realize the garbage is always something specific like a vnode structure. /Andrew ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: GSoC:Complete Package support in the pkg_install tools and cleanup

2010-05-04 Thread Andrew Brampton
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

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
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

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
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 three machines that i have access to i'm already

Re: kenv - output needed

2010-03-23 Thread Andrew Thompson
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 the

Re: ATA 4K sector issues

2010-03-17 Thread Andrew Stesin
of whatever the 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

RE: Dead store elimination in the kernel?

2010-03-08 Thread Andrew Duane
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) correctly using volatile declarations is intermittent at best. /Andrew

Per core, per device interrupt counts

2010-02-17 Thread Andrew Brampton
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

RE: Future CPUs - 128 threads

2010-02-12 Thread Andrew Duane
purpose computing. --Artem I believe I know of one such company... :-) -- Andrew Duane Juniper Networks 978-589-0551 10 Technology Park Dr adu...@juniper.net Westford, MA 01886-3418 ___ freebsd-hackers@freebsd.org

Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-11 Thread Andrew Brampton
box and it compiles and loads fine. How are you compiling your code? I used this makefile http://pastebin.com/f3ab71917 and all I typed was this: make sudo make install sudo make load and I get the hello, fail message, and then I typed sudo make unload and I got the unload fail message. Andrew

sysctl with regex?

2010-02-09 Thread Andrew Brampton
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/mailman/listinfo

Re: sysctl with regex?

2010-02-09 Thread Andrew Brampton
2010/2/9 Dag-Erling Smørgrav d...@des.no: Andrew Brampton brampton+free...@gmail.com 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

Re: sysctl with regex?

2010-02-09 Thread Andrew Brampton
. 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-hackers To unsubscribe, send any mail to freebsd

Re: sysctl with regex?

2010-02-09 Thread Andrew Brampton
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

Re: devfs panic w/INVARIANTS

2010-02-05 Thread Andrew Gallatin
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 a panic

Re: devfs panic w/INVARIANTS

2010-02-05 Thread Andrew Gallatin
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(). When I

RE: Spin down HDD after disk sync or before power off

2010-02-04 Thread Andrew Duane
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 RB_POWEROFF) { /* Spin Down */ } -- Andrew Duane

devfs panic w/INVARIANTS

2010-02-04 Thread Andrew Gallatin
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

Re: Cross-building amd64-i386 fails at RESCUE

2010-01-12 Thread Andrew Thompson
=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

Re: heap limits: mmap(2) vs. break(2) on i386

2009-11-28 Thread Andrew MacIntyre
, 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 These thoughts are mine alone... E

Re: semaphores between processes

2009-10-23 Thread Andrew Gallatin
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 lock

Re: semaphores between processes

2009-10-23 Thread Andrew Gallatin
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

Re: semaphores between processes

2009-10-23 Thread Andrew Gallatin
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

[Fwd: Failure to boot from HD formatted not by FreeBSD]

2009-10-23 Thread Andrew Lankford
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 Andrew Lankford

semaphores between processes

2009-10-22 Thread Andrew Gallatin
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

Re: semaphores between processes

2009-10-22 Thread Andrew Gallatin
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

Failure to boot from HD formatted not by FreeBSD

2009-10-22 Thread Andrew Lankford
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 get angry at me. Regards, Andrew Lankford ___ freebsd-hackers

Re: namei (via firmware_get(9)) from taskq in 7.x

2009-10-19 Thread Andrew Gallatin
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 ___

namei (via firmware_get(9)) from taskq in 7.x

2009-10-15 Thread Andrew Gallatin
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 =

Re: sysinstall colours

2009-10-15 Thread Andrew D. Boyd
Ed Schouten wrote: * Paul B Mahol one...@gmail.com 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.

Re: crashtar

2009-10-15 Thread Andrew D. Boyd
is sufficient some people might find this helpful. Regards, 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

Re: Make top display thread IDs

2009-10-07 Thread Andrew Brampton
it when 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.freebsd.org/mailman

Make top display thread IDs

2009-10-04 Thread Andrew Brampton
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 copy) @@ -108,18 +108,18

netstat -i Ierrs column, Is it total, or per second?

2009-08-31 Thread Andrew Brampton
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

Re: netstat -i Ierrs column, Is it total, or per second?

2009-08-31 Thread Andrew Brampton
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 +0100 @@ -3978,7 +3978,6

DTrace lockup on a dual processor VMWare

2009-08-21 Thread Andrew Brampton
and debug/fix this problem. I'm happy to hack the kernel sources if need be. 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

vm_map_protect / pmap_protect Can't lower protection

2009-07-20 Thread Andrew Brampton
, 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 ___ freebsd

Re: kthreads and sched_relinquish

2009-05-11 Thread Andrew Brampton
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

kthreads and sched_relinquish

2009-05-08 Thread Andrew Brampton
sleeping 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

Definition of NULL

2009-05-02 Thread Andrew Brampton
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 my new definition I hope this makes sense, and I welcome all feedback. Andrew

Re: Definition of NULL

2009-05-02 Thread Andrew Brampton
2009/5/2 Erik Trulsson ertr1...@student.uu.se: 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?  I don't think so

Re: FreeBSD memguard + spinlocks

2009-04-11 Thread Andrew Brampton
2009/4/11 Robert Watson rwat...@freebsd.org: 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 thread

FreeBSD memguard + spinlocks

2009-04-10 Thread Andrew Brampton
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 list http://lists.freebsd.org/mailman/listinfo

pahole - Finding holes in kernel structs

2009-02-12 Thread Andrew Brampton
) 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 Andrew [1

Re: pahole - Finding holes in kernel structs

2009-02-12 Thread Andrew Brampton
2009/2/12 Kostik Belousov kostik...@gmail.com: On Thu, Feb 12, 2009 at 02:08:22PM +, 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, but to my

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Andrew Thompson
/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://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

  1   2   3   4   5   6   7   >