Re: Patch for MS Hyper V (virtualization)

2009-04-07 Thread Alexander Sack
On Tue, Apr 7, 2009 at 9:21 AM, John Baldwin wrote: > On Monday 06 April 2009 11:12:33 pm Sergey Babkin wrote: >> John Baldwin wrote: >> > >> > On Monday 06 April 2009 1:07:38 pm Ivan Voras wrote: >> > > 2009/4/6 John Baldwin : >> > > > On Sunday 05 April 2009 12:23:39 pm Sergey Babkin wrote: >> >

Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-29 Thread Alexander Sack
On Sun, Mar 29, 2009 at 2:07 PM, Peter Jeremy wrote: > On 2009-Mar-27 14:19:16 -0400, Alexander Sack wrote: >>I'm assuming folks are still in love with the TSC because it still the >>cheapest as oppose ACPI-fast or HPET to even contemplate this? > > That is its maj

Building a DDB friendly kernel/drivers?

2009-03-27 Thread Alexander Sack
Hi Folks: I'm debugging an issue with a third-party driver that causes an NMI during driver initialization. It only occurs for one version of the driver thus far. I want to isolate what triggers the NMI and generally get a feel for the initialization of the hardware. I'm running a 6.x-amd64 ker

Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-27 Thread Alexander Sack
On Fri, Mar 27, 2009 at 1:31 PM, Poul-Henning Kamp wrote: > In message <49cd0405.1060...@samsco.org>, Scott Long writes: > >>I've been talking about this for years.  All I need is help with the VM >>magic to create the page on fork.  I also want two pages, one global >>for gettimeofday (and any ot

Re: Long double support in FreeBSD?

2009-03-23 Thread Alexander Sack
On Mon, Mar 23, 2009 at 2:03 PM, David Schultz wrote: > On Mon, Mar 23, 2009, Alexander Sack wrote: >> I'm working with building the Boost libraries and Boost.Math has long >> double support stubbed out for FreeBSD (personally I don't need it >> but..).  I bel

Long double support in FreeBSD?

2009-03-23 Thread Alexander Sack
Hello: I'm working with building the Boost libraries and Boost.Math has long double support stubbed out for FreeBSD (personally I don't need it but..). I believe looking at some historical threads about this over the weekend and a lot of it was due to compiler GNUish bugs handling long double mat

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-25 Thread Alexander Sack
On Sat, Oct 25, 2008 at 9:57 AM, Alexander Kabaev <[EMAIL PROTECTED]> wrote: > On Sat, 25 Oct 2008 08:49:19 -0400 > "Alexander Sack" <[EMAIL PROTECTED]> wrote: > >> >> Is this a bug or not in FreeBSD's rtld? >> >> -aps > > It

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-25 Thread Alexander Sack
On Fri, Oct 24, 2008 at 7:28 PM, Daniel O'Connor <[EMAIL PROTECTED]> wrote: > On Friday 24 October 2008 23:20:59 Peter Jeremy wrote: >> >this will make system trying to bind 32-bit libs to 64-bit program. it >> >can't work >> >> rtld shouldn't attempt to bind 32-bit libs to 64-bit programs. > > The

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-23 Thread Alexander Sack
On Thu, Oct 23, 2008 at 10:09 PM, Alexander Kabaev <[EMAIL PROTECTED]> wrote: > On Thu, 23 Oct 2008 21:48:47 -0400 > "Alexander Sack" <[EMAIL PROTECTED]> wrote: > >> Thanks, comments most appreciated. Damn, I was looking for someone to >> go "a ha,

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-23 Thread Alexander Sack
Alright, well I found some weirdness: [EMAIL PROTECTED] ~]# export LD_LIBRARY_PATH=/usr/bin:/usr/lib:/usr/lib32:/usr/lib64 [EMAIL PROTECTED] ~]# LD_DEBUG=1 ls /libexec/ld-elf.so.1 is initialized, base address = 0x800506000 RTLD dynamic = 0x80062ad78 RTLD pltgot = 0x0 processing main program's pr

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-23 Thread Alexander Sack
On Thu, Oct 23, 2008 at 9:23 PM, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: >> If you look at the rtld(1) man page, there are a number of environment >> variables you can set to debug the loader. I'm not sure how helpful >> they are, though. >

Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-23 Thread Alexander Sack
Hello: I have some weird behavior I'm trying to figure out and was wondering if someone can point me in the right direction. I'm running a FreeBSD 6.1-RELEASE-amd64 machine. If I add /usr/lib32 to my LD_LIBRARY_PATH it breaks all of my binaries on my 64-bit machine. For example: [EMAIL PROTECT

Re: kernel HEAD && userland 7.0-REL?

2008-07-06 Thread Alexander Sack
On Sun, Jul 6, 2008 at 7:43 AM, Robert Watson <[EMAIL PROTECTED]> wrote: > > On Fri, 4 Jul 2008, Matthias Apitz wrote: > >> I'm running a RELENG_7 kernel and a userland as 7.0-REL on one of my >> laptops; I've been asked to check if a given driver problem in RELENG_7 is >> as well with HEAD... can

Re: kernel HEAD && userland 7.0-REL?

2008-07-05 Thread Alexander Sack
On Sat, Jul 5, 2008 at 1:16 AM, Matthias Apitz <[EMAIL PROTECTED]> wrote: > El día Friday, July 04, 2008 a las 08:12:58PM -0400, Alexander Sack escribió: > >> On Fri, Jul 4, 2008 at 4:40 PM, Mike Meyer >> <[EMAIL PROTECTED]> wrote: >> > On Fri, 4 Jul 2008 14:

Re: kernel HEAD && userland 7.0-REL?

2008-07-04 Thread Alexander Sack
On Fri, Jul 4, 2008 at 8:27 PM, Mike Meyer <[EMAIL PROTECTED]> wrote: > On Fri, 4 Jul 2008 20:12:58 -0400 > "Alexander Sack" <[EMAIL PROTECTED]> wrote: > >> On Fri, Jul 4, 2008 at 4:40 PM, Mike Meyer >> <[EMAIL PROTECTED]> wrote: >> > On

Re: kernel HEAD && userland 7.0-REL?

2008-07-04 Thread Alexander Sack
On Fri, Jul 4, 2008 at 4:40 PM, Mike Meyer <[EMAIL PROTECTED]> wrote: > On Fri, 4 Jul 2008 14:42:27 +0200 > Matthias Apitz <[EMAIL PROTECTED]> wrote: >> I'm running a RELENG_7 kernel and a userland as 7.0-REL on one of my >> laptops; I've been asked to check if a given driver problem in RELENG_7 is

Re: FreeBSD 7 64 bits kernel crash debugging

2008-07-03 Thread Alexander Sack
On Wed, Jul 2, 2008 at 12:50 PM, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm experiencing several kernel crashes with the GENERIC kernel and > with custom kernels as well. One of my MP3 players seems to be > recognized, but if I disconnect it from the USB port (even without > m

Re: Cross platform building best practices (building 6 on 7)

2008-06-20 Thread Alexander Sack
On Fri, Jun 20, 2008 at 6:02 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > Alexander Sack wrote: >> >> On Fri, Jun 20, 2008 at 5:14 PM, Julian Elischer <[EMAIL PROTECTED]> >> wrote: >>> >>> Alexander Sack wrote: >>>> >>

Re: Cross platform building best practices (building 6 on 7)

2008-06-20 Thread Alexander Sack
On Fri, Jun 20, 2008 at 5:14 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > Alexander Sack wrote: >> >> On Thu, Jun 19, 2008 at 11:22 AM, Garrett Cooper <[EMAIL PROTECTED]> >> wrote: >>> >>> On Thu, Jun 19, 2008 at 6:29 AM, Alexander Sack &

Re: Cross platform building best practices (building 6 on 7)

2008-06-20 Thread Alexander Sack
On Thu, Jun 19, 2008 at 11:22 AM, Garrett Cooper <[EMAIL PROTECTED]> wrote: > On Thu, Jun 19, 2008 at 6:29 AM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> Hello Folks: >> >> I've done a lot of Googling and scouring the lists about this >> partic

Cross platform building best practices (building 6 on 7)

2008-06-19 Thread Alexander Sack
Hello Folks: I've done a lot of Googling and scouring the lists about this particular subject so I apologize for rehashing it. However, I'm still confused on what's the best way to perform BSD cross platform builds. Ideally what I want to have is an environment whereby I can build a 6.1-RELEASE

How do I list what CPU core is on what package?

2008-06-18 Thread Alexander Sack
Hi Everybody: Simple question, if I want to know if a cpu X is on a particular package is there an easy way to list this? Normally my understanding is on most machines, every other LAPIC id is on the same package. So 0,2,4,6 would be on one package and 1,3,5,7 would be on another (say in a 2-way

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

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

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

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

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