Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-28 Thread Alexander Leidinger
t seems that if > I created an account there and someone added me to the > ContributorsGroup for a new WakeOnLan page I would be good to go. This is right. If you tell us the name you registered (we have the convention to use FirstnameLastname), I try to get the time to add you. Bye

Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)

2007-11-29 Thread Alexander Leidinger
freebsd.org/WakeOnLan with appropriate rights for contributors. Bye, Alexander. -- Nasrudin walked into a teahouse and declaimed, "The moon is more useful than the sun." "Why?", he was asked. "Because at night we need the light more." http://www.L

Re: dlopen: resolving external library symbols to calling program

2007-11-30 Thread Alexander Kabaev
with a function pointer so it got exported in the dynamic > I remember it was me. > > > table. In this case, could that be done with "-u symbol" when > > linking the executable, or it isn't possible to export a symbol > > with linker parameters? >

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-01 Thread Alexander Leidinger
linuxulator first looks if /compat/linux/lib/libX.so.y is there, and if it isn't it looks if /lib/libX.so.y is available. AFAIR a work around is to add a link in /compat/linux/usr/lib/librt.so.1 -> /lib/librt.so.1 I want to do something like this in the FC4 port, but hadn't time to do it and

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Alexander Leidinger
Quoting Robert Watson <[EMAIL PROTECTED]> (Sat, 1 Dec 2007 23:01:46 + (GMT)): > > On Sat, 1 Dec 2007, Alexander Leidinger wrote: > > > Have a look at the search order of libs in linux. Correlate this with the > > fact that when in linux an access is done t

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-02 Thread Alexander Leidinger
Quoting Alexander Leidinger <[EMAIL PROTECTED]> (Sun, 2 Dec 2007 10:07:55 +0100): > Quoting Robert Watson <[EMAIL PROTECTED]> (Sat, 1 Dec 2007 23:01:46 + > (GMT)): > > > > > On Sat, 1 Dec 2007, Alexander Leidinger wrote: > > > > >

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-03 Thread Alexander Leidinger
this the last time I checked... Bye, Alexander. -- Ryan's Law: Make three correct guesses consecutively and you will establish yourself as an expert. http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBS

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-05 Thread Alexander Leidinger
Quoting Chuck Robey <[EMAIL PROTECTED]> (from Mon, 03 Dec 2007 13:30:50 -0500): Alexander Leidinger wrote: Quoting Chuck Robey <[EMAIL PROTECTED]> (from Sun, 02 Dec 2007 13:23:33 -0500): You've gotten some good suggestions, but I might add one more, I don't think i

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-13 Thread Alexander Leidinger
Quoting Chuck Robey <[EMAIL PROTECTED]> (from Wed, 12 Dec 2007 22:33:18 -0500): Alexander Leidinger wrote: Quoting Chuck Robey <[EMAIL PROTECTED]> (from Mon, 03 Dec 2007 13:30:50 -0500): Alexander Leidinger wrote: Quoting Chuck Robey <[EMAIL PROTECTED]> (from Sun, 02

Re: Linux executable picks up FreeBSD library over linux one and breaks

2007-12-14 Thread Alexander Leidinger
Quoting Alex Dupre <[EMAIL PROTECTED]> (from Fri, 14 Dec 2007 15:52:15 +0100): Alexander Leidinger ha scritto: To achieve this goal we have 2 possibilities, either we install everything into LINUXBASE and install a wrapper in LOCALBASE, or we install everything in a safe locat

Re: Linux version of libusb that works with FreeBSD

2007-12-17 Thread Alexander Leidinger
yer for devices already, but I don't know if it just a Linux major/minor -> FreeBSD dev mapping, or if you can map linux dev -> FreeBSD dev. AFAIR HPS' USB stack has linux compatibility, maybe you should ask him / have a look at it. Bye, Alexander. -- Power is poison. h

Re: Linux version of libusb that works with FreeBSD

2007-12-17 Thread Alexander Leidinger
Quoting Daniel O'Connor <[EMAIL PROTECTED]> (from Mon, 17 Dec 2007 21:39:39 +1030): On Mon, 17 Dec 2007, Alexander Leidinger wrote: AFAIR HPS' USB stack has linux compatibility, maybe you should ask him / have a look at it. I had a look at the code but I can't see a

Re: How would I make this work in RELENG_7

2007-12-22 Thread Alexander Motin
into uipaq driver alike OpenBSD one. But I am not sure should this device be supported with uipaq or umodem driver. umodem driver looks much more powerful, but I have nothing to test it, as my WM6 does not provides USB modem support. Could you try it also? -- Alexander Motin --- usbdevs

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Alexander Kabaev
mod.c or the > dlclose() call in datest.c prevent the segfault. > > If you find some solution, please cc me as I'm not subscribed to > freebsd-hackers. > > regards, > Markus As designed. atexit should not be used by shared objects that do not expect themselves to live until actual exit() happens. ELF provides proper _init/_fini sections to support shared object initialization/destruction. -- Alexander Kabaev signature.asc Description: PGP signature

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Alexander Kabaev
On Mon, 31 Dec 2007 14:20:51 -0800 Julian Elischer <[EMAIL PROTECTED]> wrote: > Markus Hoenicka wrote: > > Alexander Kabaev writes: > > > As designed. atexit should not be used by shared objects that do > > > not expect themselves to live until actual exit() ha

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2008-01-01 Thread Alexander Kabaev
On Mon, 31 Dec 2007 19:01:23 -0800 Tim Kientzle <[EMAIL PROTECTED]> wrote: > Markus Hoenicka wrote: > > Alexander Kabaev writes: > > > As designed. atexit should not be used by shared objects that do > > > not expect themselves to live until actual exit() ha

kstackusage() patch request for comments

2008-01-27 Thread Alexander Motin
in machdep.c? Or I should define it in machine dependent headers? Also I would be grateful for help with implementations of this function for arch different from i386/amd64. Thanks. -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list

Memory allocation performance

2008-01-31 Thread Alexander Motin
preallocated queue to avoid part of UMA calls? 3) I have seen that UMA does some kind of CPU cache affinity, but does it cost so much that it costs 30% CPU time on UP router? Thanks! -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http

Re: Memory allocation performance

2008-01-31 Thread Alexander Motin
Alexander Motin пишет: While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: I have forgotten to tell that it was mostly GENERIC kernel just built without INVARIANTS, WITNESS and SMP but with 'prof

Re: Memory allocation performance

2008-01-31 Thread Alexander Motin
Kris Kennaway пишет: Alexander Motin wrote: Alexander Motin пишет: While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: I have forgotten to tell that it was mostly GENERIC kernel just built without INVARIANTS

Re: Memory allocation performance

2008-01-31 Thread Alexander Motin
Julian Elischer пишет: Alexander Motin wrote: Hi. While profiling netgraph operation on UP HEAD router I have found that huge amount of time it spent on memory allocation/deallocation: 0.14 0.05 132119/545292 ip_forward [12] 0.14 0.05 133127/545292

Re: Memory allocation performance

2008-02-01 Thread Alexander Motin
g. What counters can you recommend me to use on it for regular time profiling? Thanks for reply. -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Memory allocation performance

2008-02-02 Thread Alexander Motin
haps due to a failure of ifdefs? I have commented out all INVARIANTS and WITNESS options from GENERIC kernel config. What else should I check? -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Memory allocation performance

2008-02-02 Thread Alexander Motin
. Is there any way to make it more precise? What sampling parameters should I use for better results? -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send a

Re: Memory allocation performance

2008-02-02 Thread Alexander Motin
Peter Jeremy пишет: On Sat, Feb 02, 2008 at 11:31:31AM +0200, Alexander Motin wrote: To check UMA dependency I have made a trivial one-element cache which in my test case allows to avoid two for four allocations per packet. You should be able to implement this lockless using atomic(9). I

Re: Memory allocation performance

2008-02-02 Thread Alexander Motin
nation. One is that due to UMA's cyclic block allocation order it does not fits CPU caches and another that it is somehow related to critical_exit(), which possibly can cause context switch. Does anybody have better explanation how such small and simple in this part function

Re: Memory allocation performance

2008-02-02 Thread Alexander Motin
chances to be still present in cache. -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Memory allocation performance

2008-02-03 Thread Alexander Motin
essing it. But as I can't prove it, it just one more crazy theory. :( -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Anybody have a patch for pdksh derivatives, for jails?

2008-02-25 Thread Alexander Leidinger
it is not clear that the bug is within the *ksh. It may be also the case that the problem should be fixed somewhere else. Bye, Alexander. -- It's easier to get forgiveness for being wrong than forgiveness for being right. http://www.Leidinger.netAlexander @ Leidinger.net: PGP

Re: Modular type GENERIC?

2008-02-25 Thread Alexander Leidinger
s as acpi is included in the amd64 DEFAULTS. acpi is also loaded automatically on i386 (or not, if specified in the loader, so it should not be added in the config) http://people.freebsd.org/~adrian/BASE.txt http://people.freebsd.org/~adrian/loader.conf I haven't looked at this. Bye, Alexa

Re: Memory allocation performance

2008-03-05 Thread Alexander Motin
r> on vgapci0 Mar 3 23:01:20 swamp kernel: agp0: detected 892k stolen memory Mar 3 23:01:20 swamp kernel: agp0: aperture size is 128M , can they be related? -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

soclose() & so->so_upcall() = race?

2008-03-06 Thread Alexander Motin
protected from being used after free? -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Alexander Leidinger
em) to post the package on their official download page. I'm not aware of something like this. Feel free to ask questions regarding the linuxulator and our linux infrastructure in the ports on [EMAIL PROTECTED] Also feel free to ask for review of the port on [EMAIL PROTECTED] Bye, Ale

Re: Documentation on writing a custom socket

2008-03-10 Thread Alexander Leidinger
aw the line between powerful enough and how do you chose this line? Bye, Alexander. -- http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-h

Re: new SATA chipsets support

2008-03-13 Thread Alexander Sack
On Thu, Mar 13, 2008 at 2:16 PM, Gary Jennejohn <[EMAIL PROTECTED]> wrote: > > I can't speak to this, but why not use a board which is already known > to work? I'm using a Gigabyte M61P-S3 myself. > > > I think that drivers from ASUS ( > http://support.asus.com/download/download.aspx?SLanguage=en-e

Re: new SATA chipsets support

2008-03-13 Thread Alexander Sack
On Thu, Mar 13, 2008 at 3:50 PM, Gary Jennejohn <[EMAIL PROTECTED]> wrote: > On Thu, 13 Mar 2008 14:49:52 -0400 > "Alexander Sack" <[EMAIL PROTECTED]> wrote: > > > On Thu, Mar 13, 2008 at 2:16 PM, Gary Jennejohn < > [EMAIL PROTECTED]> > > wrote

Re: Freebsd 7.0 on ASUS P4R8L - No Disks Found!

2008-03-17 Thread Alexander Sack
I suppose this should go to [EMAIL PROTECTED] But with that said, what mode is your SATA/IDE controller in? If there is an AHCI or Legacy mode, try it again. -aps On Mon, Mar 17, 2008 at 12:42 AM, Eddie Parra <[EMAIL PROTECTED]> wrote: > (Newbie) I have FreeBSD 6.3 working on my Asus AB-2800.

Re: Re[2]: vkernel & GSoC, some questions

2008-03-17 Thread Alexander Sack
On Sun, Mar 16, 2008 at 7:13 PM, Matthew Dillon <[EMAIL PROTECTED]> wrote: >Basically DragonFly has a syscall API that allows a userland process >to create and completely control any number of VM spaces, including >the ability to pass execution control to a VM space and get it back, >

Re: Re[2]: vkernel & GSoC, some questions

2008-03-17 Thread Alexander Sack
Some interesting reading for anyone who cares: http://citeseer.ist.psu.edu/rd/89980079%2C480988%2C1%2C0.25%2CDownload/http://citeseer.ist.psu.edu/cache/papers/cs/24361/http:zSzzSzwww.usenix.orgzSzpublicationszSzlibraryzSzproceedingszSzusenix01zSzsugermanzSzsugerman.pdf/venkitachalam01virtualizing.

Stupid driver build/debug questions

2008-03-27 Thread Alexander Sack
Hello: New to the FreeBSD kernel and I'm investigating a driver problem (wasn't sure what list this should go on). I was wondering how to make a driver statically built instead of a loadable module? Is this an artifact of the driver source build or the generic kernel configuration mechanism via

Re: Stupid driver build/debug questions

2008-03-27 Thread Alexander Sack
On Thu, Mar 27, 2008 at 3:25 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > Alexander Sack wrote: > > Hello: > > > > New to the FreeBSD kernel and I'm investigating a driver problem > > (wasn't sure what list this should go on). > > > >

Re: Stupid driver build/debug questions

2008-03-27 Thread Alexander Sack
On Thu, Mar 27, 2008 at 4:39 PM, pluknet <[EMAIL PROTECTED]> wrote: > > On 27/03/2008, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 27, 2008 at 3:25 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > > > Alexander Sack wrote: > > > &

Multiple netgraph threads

2008-03-30 Thread Alexander Motin
. URL: http://people.freebsd.org/~mav/netgraph.threads.patch -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Multiple netgraph threads

2008-03-30 Thread Alexander Motin
ption nodes). -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Multiple netgraph threads

2008-03-30 Thread Alexander Motin
n case of such forced queueing, node becomes an independent data source which can be pinned to and processed by whatever specialized thread or netisr, when it will be able to do it more effectively. -- Alexander Motin ___ freebsd-hackers@freebsd.org mai

Re: Is describing sysctl variables useful?

2008-04-04 Thread Alexander Leidinger
t pure documentation work. Maybe you can find something else you would be willing to do during the SoC. In case you haven't send multiple applications, feel free to send more than one. Bye, Alexander. -- Goldfish... what stupid animals. Even Wayne Cody stops eating before he bu

Re: C++ exceptions are broken in FreeBSD with gcc-compiled code?

2008-04-09 Thread Alexander Kabaev
.0-CURRENT #0: Sun Apr 6 14:22:23 EDT 2008 ... Same on RELENG_6 (do not have 7.0 around, but 8.0 and 7.0 are identical compiler-wise. Same on 8.0/amd64. BTW, do you have . in your PATH? > g++ -fexceptions -o exc exc.C > exc <==== should it be ./exc ? Exception raised: Memory allocation failure! ^^^ Not in your sample code. -- Alexander Kabaev signature.asc Description: PGP signature

bge dropping packets issue

2008-04-16 Thread Alexander Sack
Hello: Sorry for cross posting but this seems to be both a driver and network/kernel issue so I figure I actually thought all lists seemed appropriate. I'm investigating an issue we are seeing with 6.1-RELEASE and the bge driver dropping packets sporadically at 100MBps speed. The machine is a 2-

Re: bge dropping packets issue

2008-04-16 Thread Alexander Sack
Dieter: Thanks, at 20Mbps! That's pretty aweful. JK: Thanks again. Wow, I searched the list and didn't see much discussion with respect to bge and packet loss! I will try the rest of that patch including pushing the TCP receive buffer up (though I don't think that's going to help in this case)

Re: CopyOut Size Limits

2008-04-25 Thread Alexander Sack
On Fri, Apr 25, 2008 at 9:59 AM, Adam <[EMAIL PROTECTED]> wrote: > Hi, I am writing a custom system call that needs to transfer 16kb of data > from the kernel to userspace. I am transferring the data out of the kernel > by using copyout. This seems to work for a small struct of data < 4k. > > int

Re: glibc

1999-07-20 Thread Alexander Voropay
>> Has anybody done a port of glibc to FreeBSD? (I'm not interested in >> opinions about how poor it is or how evil the FSF are; I'm only asking to >> avoid duplicate work. Thanks.) > >Perhaps if you explain what it is you're trying to accomplish, there might >be an easier option than porting *shud

Which /etc-files do I need until vinum is initialized?

1999-07-27 Thread Alexander Maret
Hi, I configured vinum (RAID 1) on a 3.2S System. As I want to mirror as much as I need to keep the system running (in case of a drive 1 failure) I mirrored /etc as well. At boot time (until vinum is initialized) the system only has the following files: /etc/defaults/rc.conf /etc/rc.conf /etc/rc

RE: Which /etc-files do I need until vinum is initialized?

1999-07-27 Thread Alexander Maret
ng but I'm not sure which effect the missing class has. Regards, Alex > -Original Message- > From: Greg Lehey [mailto:g...@lemis.com] > Sent: Dienstag, 27. Juli 1999 09:43 > To: Alexander Maret > Cc: freebsd-hackers@freebsd.org > Subject: Re: Which /etc-files do

Re: PAPERSIZE in /etc/make.conf?

1999-09-18 Thread Alexander Langer
Thus spake Wilko Bulte (wi...@yedi.iaf.nl): Read again. > part of /etc/profile (or something similar) so that it can be picked > up from a reliable place at runtime. > > - groff has the paper size set as compile time option. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail

Re: [PATCH] RUSAGE_THREAD

2010-05-03 Thread Alexander Krizhanovsky
Kostik, thank you very much for the review! Kostik Belousov wrote: On Mon, Apr 19, 2010 at 12:46:48AM +, Alexander Krizhanovsky wrote: Hi all! This patch implements per-thread rusage statistic (like RUSAGE_THREAD in Linux and RUSAGE_LWP in OpenSolaris). Unfortunately, we have to

Re: [PATCH] RUSAGE_THREAD

2010-05-04 Thread Alexander Krizhanovsky
s possible only after about 300 thousand years of uptime... Could you please explain this? Should I write further about the patch to svn-src-all@ (sorry, but I'm new in FreeBSD mailing) ? Kostik Belousov wrote: On Mon, May 03, 2010 at 08:13:00PM +, Alexander Krizhanovsky wrote:

Re: [PATCH] RUSAGE_THREAD

2010-05-06 Thread Alexander Krizhanovsky
On 05/05/10 01:24, Kostik Belousov wrote: > On Wed, May 05, 2010 at 12:48:53AM +0000, Alexander Krizhanovsky wrote: > >> Konstantin, >> >> Concerning i/o counters we collect them in rucollect() in for loop and >> update in various places, for example in v

Re: proposed change to style(9): require yoda style if statements

2010-05-13 Thread Alexander Churanov
ot require rewriting conditionals in any way. Alexander Churanov ___ 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: Announcing PathDB

2010-05-29 Thread Alexander Leidinger
elicense is bad, I just think your introduction of it could have been a little bit more verbose (tell the people something to make them want to have a look at it). Bye, Alexander. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mail

Re: GSoC: registration of optional kernel features via sysctl: a question to the community

2010-06-09 Thread Alexander Leidinger
ect at run-time then. What we search for is a good real-life example where spoofing a non-existing feature would be helpful. So far we where able to come up with cases where this would hurt, but not help. Bye, Alexander. -- If the master dies and the disciple grieves, the lives of both hav

Re: GSoC: registration of optional kernel features via sysctl: a question to the community

2010-06-10 Thread Alexander Leidinger
stalling a new kernel). Bye, Alexander. -- "Don't worry. Clemenza is OK. It's Paulie." -- Santino Corleone, "Chapter 4", page 93 http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org net

Re: GSoC: registration of optional kernel features via sysctl: a question to the community

2010-06-10 Thread Alexander Leidinger
gt;> Hi hackers! >>> >>> While discussing my project's implementation details with my mentor, >>> Alexander Leidinger, we've found that one of the ideas needs to be discussed with community, >>> to find out possible use cases. >>> That is,

Re: GSoC: registration of optional kernel features via sysctl: a question to the community

2010-06-11 Thread Alexander Leidinger
ess-analysis and an are-there-good-alternatives-check). As the GSoC is also having a deadline, I will set the deadline for providing such ports/examples to the end of this month. Bye, Alexander. -- You are only young once, but you can stay immature indefinitely. http://www.Leidinger.netA

Re: kernel patch needed for wine?

2010-06-30 Thread Alexander Kabaev
_func[] = "\xf1\xc3"; > typedef void (*icebp_call)(void); > > int main(int argc, char **argv) > { > icebp_call func = (icebp_call)icebp_func; > > if (signal(SIGTRAP, trap_handler) == SIG_ERR) > err(1, "signal"); > > func(); > > if (trapped) > printf("Admiral Ackbar: it's a trap!\n"); > > return 0; > } > > Ran it and it segfaulted on CURRENT: > Now make icebp_func const and observe the program start working. The test case is broken as written, because icebp_func array is writable, so in ends up in a non-const part of .bss, which is not marked as executable and rightfully causes SIGSEGV when jumped to. -- Alexander Kabaev signature.asc Description: PGP signature

Re: kernel patch needed for wine?

2010-06-30 Thread Alexander Kabaev
orced in long mode, or in 32-bit with PAE, if I remember things correctly. -- Alexander Kabaev signature.asc Description: PGP signature

Re: *sigpause hanging on 8.x+

2010-07-11 Thread Alexander Kabaev
On Sun, 11 Jul 2010 15:59:05 -0700 Garrett Cooper wrote: > > +       if (!_SIG_VALID(how)) > > +               return (-EINVAL); -EINVAL? Smells too much of Linux, try returning EINVAL instead. -- Alexander Kabaev signature.asc Description: PGP signature

Re: [DTRACE] ctfconvert ".bss data: Invalid section descriptor" +

2010-07-15 Thread Alexander Kabaev
I forwarded to our libelf author. The bug if harmless otherwise. -- Alexander Kabaev PS. I usually avoid responding to messages from strangely named entities, but there's always a place for exception... signature.asc Description: PGP signature

Re: Giant free GEOM/CAM XPT

2010-07-22 Thread Alexander Motin
r that purpose - it is their own problem. But as I can see, twa uses own lock, not Giant. -- Alexander Motin ___ 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"

UDLR implementation

2010-07-23 Thread Alexander Mogilny
a device with similar to RFC 3077 functionality. I am a little new to low level kernel development so the question is: what would be the staff to start with? Thanks for help! -- AIM-UANIC | AIM-RIPE +-[ FreeBSD ]-+ Alexander Mogilny | The Power to Serve! | <> s...@sg.

Intel TurboBoost in practice

2010-07-24 Thread Alexander Motin
98MHz). PPS: I expect even better effect achieved by further reducing interrupt rates on idle CPUs. -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to &

Re: Intel TurboBoost in practice

2010-07-24 Thread Alexander Motin
Norikatsu Shigemura wrote: > On Sat, 24 Jul 2010 16:53:10 +0300 > Alexander Motin wrote: >> PS: In this case benefit is small, but it is the least that can be >> achieved, depending on CPU model. Some models allow frequency to be >> risen by up to 6 steps (+798MHz). >

Re: Intel TurboBoost in practice

2010-07-24 Thread Alexander Motin
Rui Paulo wrote: > On 24 Jul 2010, at 14:53, Alexander Motin wrote: >> Here is my test case: FreeBSD 9-CURRENT on Core i5 650 CPU, 3.2GHz + 1/2 >> TurboBoost steps (+133/+266MHz) with boxed cooler at the open air. I was >> measuring building time of the net/mpd5 from source

Re: Intel TurboBoost in practice

2010-07-26 Thread Alexander Motin
Robert Watson wrote: > On Sun, 25 Jul 2010, Alexander Motin wrote: >>> The numbers that you are showing doesn't show much difference. Have >>> you tried buildworld? >> >> If you mean relative difference -- as I have told, it's mostly because >> of

Re: Intel TurboBoost in practice

2010-07-27 Thread Alexander Motin
Alan Cox wrote: > On Mon, Jul 26, 2010 at 9:11 AM, Alexander Motin <mailto:m...@freebsd.org>> wrote: > > In that case using C2 or C3 predictably caused small performance reduce, > as after falling to sleep, CPU needs time to wakeup. Even if tested CPU0 > won&

coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
Hello hackers, while working on the "ringmap"-project I've faced a problem of "no coherency in the memory regions mapped from kernel into the user-space". Details: While integrating ringmap with the ixgbe-driver, I've made some changes to the ixgbe: 1. The mbufs for received packets will be

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
On Thursday 29 July 2010 18:13:23 Andriy Gapon wrote: > on 29/07/2010 17:13 Alexander Fiveg said the following: > > P.S. Details about hardware and used software: > > 1. /var/run/dmesg.boot : > > ... > > CPU: Dual Core AMD Opteron(tm) Processor 865 (1800.01-MHz

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
On Thursday 29 July 2010 22:16:24 Andriy Gapon wrote: > on 29/07/2010 23:02 Sergey Babkin said the following: > > Jul 29, 2010 12:58:07 PM, a...@icyb.net.ua wrote: > >> on 29/07/2010 19:13 Andriy Gapon said the following: > >>> on 29/07/2010 17:13 Alexander Fiveg sa

Re: Add -lssp_nonshared to GCC's LIB_SPEC unconditionally

2010-08-03 Thread Alexander Kabaev
unterpart: /* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-i386) GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) ) -- Alexander Kabaev signature.asc Description: PGP signature

tiny sys/sys/signal.h cleanup

2010-08-09 Thread Alexander Best
hi there, just wanted to get some feedback for this tiny patch and if people think it makes sense. cheers. alex -- a13x Index: sys/sys/signal.h === --- sys/sys/signal.h (revision 24) +++ sys/sys/signal.h (working copy) @@ -47,6

Re: tiny sys/sys/signal.h cleanup

2010-08-10 Thread Alexander Best
On Tue Aug 10 10, Kostik Belousov wrote: > On Tue, Aug 10, 2010 at 01:53:47AM +0000, Alexander Best wrote: > > hi there, > > > > just wanted to get some feedback for this tiny patch and if people think it > > makes sense. > > I almost agree with the part of

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-08-16 Thread Alexander Kabaev
gt; GDB is free software, covered by the GNU General Public > > > > License, and you are welcome to change it and/or distribute > > > > copies of it under certain conditions. Type "show copying" to > > > > see the conditions. There is absolutely no wa

Debugging Loadable Modules Using GDB

2010-08-27 Thread Alexander Fiveg
ontain sections with debugging info. With .kld-file debugging works out. Do I something incorrectly or the info in the Developers Book is outdated? regards, Alex -- Alexander Fiveg Key fingerprint = ECBB 747C 919D 78F5 E8EC 7DBC 8B46 376D 107B CCAA

tiny patch to prevent head from closing pipes

2010-08-28 Thread Alexander Best
hi there, i just had subversion complain about a broken pipe while piping its output through awk straight to head [1]. i decided to add a switch to head which will tell it to never close a pipe unless the input has stopped [2]. of course this will produce massive overhead, but some people might f

Re: tiny patch to prevent head from closing pipes

2010-08-28 Thread Alexander Best
On Sat Aug 28 10, Anonymous wrote: > Alexander Best writes: > > > hi there, > > > > i just had subversion complain about a broken pipe while piping its output > > through awk straight to head [1]. i decided to add a switch to head which > > will > >

One-shot-oriented event timers management

2010-08-29 Thread Alexander Motin
more. My latest patch against 9-CURRENT can be found here: http://people.freebsd.org/~mav/timers_oneshot4.patch Comments, ideas, propositions -- welcome! Thanks to all who read this. ;) -- Alexander Motin ___ freebsd-hackers@freebsd.org mailing

hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-29 Thread Alexander Best
just discovered this issue while going through some linux mailinglists: otaku% dd if=/dev/urandom of=testfile bs=1 count=42 42+0 records in 42+0 records out 42 bytes transferred in 0.000393 secs (106894 bytes/sec) otaku% hexdump -s 42 testfile 02a 134d b7b9 e085 da16 63b0 554a 1603 ead0 000

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
r HPET) - you may like to set such tunables: hint.atrtc.0.clock=0 hint.attimer.0.clock=0 hint.hpet.0.legacy_route=1 It will disable RTC and i8254 timers, but grant their interrupts to HPET, allowing it to work as per-CPU for dual-CPU systems. -- Alexander Motin

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
While it may be not very dangerous, it is not very good. -- Alexander Motin ___ 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: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
Gary Jennejohn wrote: > On Mon, 30 Aug 2010 13:07:38 +0300 > Alexander Motin wrote: >> Gary Jennejohn wrote: >>> Ah, I think I see it now. My desktop has only C1 enabled. Is that it? >>> Unfortunately, it appears that only C1 is supported :( >> Yes, as I h

Re: hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-30 Thread Alexander Best
On Sun Aug 29 10, Garrett Cooper wrote: > On Sun, Aug 29, 2010 at 9:27 AM, Alexander Best wrote: > > just discovered this issue while going through some linux mailinglists: > > > > otaku% dd if=/dev/urandom of=testfile bs=1 count=42 > > 42+0 records in > &

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
YAMAMOTO, Taku wrote: > On Mon, 30 Aug 2010 13:07:38 +0300 > Alexander Motin wrote: >> Gary Jennejohn wrote: > (snip) >>> So, what else did you do to reduce interrupts so much? >>> >>> Ah, I think I see it now. My desktop has only C1 enabled. Is that i

Re: hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-30 Thread Alexander Best
On Mon Aug 30 10, Dag-Erling Smørgrav wrote: > Alexander Best writes: > > *hehehe* that might be true. maybe they've bought the src from AT&T? anyway > > i > > don't think the BSD license restricts you releasing code under a new > > license. > >

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread Alexander Fiveg
On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > Hi, > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > GDB": > > "... > > (kgdb) a

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread Alexander Fiveg
On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > >

Re: One-shot-oriented event timers management

2010-08-31 Thread Alexander Motin
Alexander Motin wrote: > YAMAMOTO, Taku wrote: >> On Mon, 30 Aug 2010 13:07:38 +0300 >> Alexander Motin wrote: >>> Gary Jennejohn wrote: >> (snip) >>>> So, what else did you do to reduce interrupts so much? >>>> >>>> Ah,

Re: One-shot-oriented event timers management

2010-08-31 Thread Alexander Motin
Gary Jennejohn wrote: > On Mon, 30 Aug 2010 12:11:48 +0200 > Gary Jennejohn wrote: > >> On Mon, 30 Aug 2010 13:07:38 +0300 >> Alexander Motin wrote: >> >>> Gary Jennejohn wrote: >>>> Hmm. I applied your patches and am now running the new kerne

expand_number() for fetch'es -B and -S switches

2010-08-31 Thread Alexander Best
hi there, just having a quick look around to see, if anybody would be interested in fetch -B and fetch -S accepting humanized numbers using expand_number()? cheers. alex -- a13x ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

Re: Debugging Loadable Modules Using GDB

2010-08-31 Thread Alexander Fiveg
On Mon, Aug 30, 2010 at 05:34:01PM -0400, John Baldwin wrote: > On Monday, August 30, 2010 4:34:04 pm Alexander Fiveg wrote: > > On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > > > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > > >

Re: One-shot-oriented event timers management

2010-08-31 Thread Alexander Motin
Gary Jennejohn wrote: > On Mon, 30 Aug 2010 13:07:38 +0300 > Alexander Motin wrote: >> Yes, as I have said, at this moment empty ticks skipped only while CPU >> is in C2/C3 states. In C1 state there is no way to handle lost events on >> wake up. While it may be not very d

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Alexander Motin wrote: > Gary Jennejohn wrote: >> On Mon, 30 Aug 2010 12:11:48 +0200 >> OK, this is purely anecdotal, but I'll report it anyway. >> >> I was running pretty much all day with the patched kernel and things >> seemed to be working quite

<    1   2   3   4   5   6   7   8   9   10   >