Re: Vinum crash

2002-08-27 Thread Greg 'groggy' Lehey
On Friday, 23 August 2002 at 15:58:17 -0500, Doug Swarin wrote: > On Fri, Aug 23, 2002 at 09:20:02PM +0100, Peter Edwards wrote: >> "Peter Edwards" <[EMAIL PROTECTED]> wrote: >> Urgh. Forget it, I was seeing references to rq that weren't there. >> >>> Hi, >>> >>> Ok, I'm up to my neck in code I've

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 11:54:30PM -0400, [EMAIL PROTECTED] wrote: > > I'm actually going to throw up a 5.0-current box and start > playing. By the time done what I need, there'll probably be a release of > it. :) > > It looks like a more than trivial backport, at least for my ability and > g

Re: bridge(4)

2002-08-27 Thread mark
I'm actually going to throw up a 5.0-current box and start playing. By the time done what I need, there'll probably be a release of it. :) It looks like a more than trivial backport, at least for my ability and general sleepless state. Thanks all for the help/suggestions. -

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 11:10:07PM -0400, [EMAIL PROTECTED] wrote: > > Is NG_ONE2MANY_XMIT_ALL an algorithm available in FreeBSD 5.0? It doesn't > seem to be around in 4.6.2? Oops, it's only in current at this point. I'd expect it's trivial to backport. -- Brooks -- Any statement of the for

Re: (hopefully) easy NFS question

2002-08-27 Thread Terry Lambert
"David E. Cross" wrote: > A tcpdump on the client shows seemingly normal request/reponses from the > server and _lots_ of NFS Null requests from client-->server. I am guessing > this is the client trying to see if the server is back? This is on the order > of many times a second: Null requests

Re: Replacing kernel functions.

2002-08-27 Thread Terry Lambert
Pawel Jakub Dawidek wrote: > But there is no way to do what I want to do. > I need to write something that give me filename of open file > when I gave an descriptor. > So I cache all open() calls. But there is a problem how to clean up > on close. When descriptors are closed by syscalls (close(),

Re: bridge(4)

2002-08-27 Thread mark
Is NG_ONE2MANY_XMIT_ALL an algorithm available in FreeBSD 5.0? It doesn't seem to be around in 4.6.2? --- Mark Rekai - INetU, Inc.(tm) - http://www.INetU.net Electronic commerce - Web development - Web hosting [EMAIL PROTECTED] - Phone:

(hopefully) easy NFS question

2002-08-27 Thread David E. Cross
I have an NFS server that recently began to display the following behaviour (technically the brhaviour is displayed on the clients): (4.6.2-RELEASE) mount_nfs -3 -T server:/path /mnt (UDP doesn't exhibit this) dd bs=64k if=/dev/zero of=/mnt/somefile I now get about 7 times/second on the client:

Re: Replacing kernel functions.

2002-08-27 Thread Pawel Jakub Dawidek
On Tue, Aug 27, 2002 at 06:49:51PM -0700, Terry Lambert wrote: +> For example, I notice you are not locking the symbol before +> replacing it, to ensure that there is not another CPU in the +> code with an instruction counter somewhere in the region +> being replaced. +> +> There's also no accesso

Re: Replacing kernel functions.

2002-08-27 Thread Terry Lambert
Pawel Jakub Dawidek wrote: > Hello hackers... > > I've wrote two functions to replace kernel functions. [ ... functions to replace functions with stub calls to other functions, so as to avoid the symbol fixup problem for already linked code ... ] > Ok... And now what I want from You

Replacing kernel functions.

2002-08-27 Thread Pawel Jakub Dawidek
Hello hackers... I've wrote two functions to replace kernel functions. /* * sysfun - address of kernel function * myfun - address of our function *buf - 5 bytes length buffer to keep old first 5 kernel function bytes */ static u_int funchange(void *sysfun, void *myfun, void *buf) {

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 06:24:29PM -0400, Mark wrote: > > Greets. I'm using bridge(4) for some slightly unintended purposes, and > need some insight or alternative suggestions. > > I have a FreeBSD 4.6.2 box with six NICs. :) I want to use bridge to > mirror traffic from xl1 to xl2 and xl3 (a

Re: SMP on Intel SE7500CW2

2002-08-27 Thread Craig Hawco
Alright, I'll fill in the missing info. It's a 4.6.2-RELEASE system, but I've seen nothing committed to -STABLE to fix the problem. Compile options: (from make.conf) CPUTYPE=p4 CFLAGS = -O -pipe Attached is the output of mptable. Anything else you guys could use? --Craig At 02:54 PM 27/08/2

Re: bridge(4)

2002-08-27 Thread Mark
To follow-up to my own message, in case this was of interest to anybody I have tried this approach with a link generating less traffic, and I'm successfully duplicating traffic from 1 interface to 4 others. I still welcome any input to the original problem, especially if there is an alter

Re: USB->ATA devices

2002-08-27 Thread Terry Lambert
Soeren Schmidt wrote: > It seems Ian Dowse wrote: > > There are many possible ATA/ATAPI over USB protocols, so turning > > the ATA request into one or more USB transfers is a bridge-specific > > operation. Basically these odd protocols exist because the manufacturers > > of the various bridges hav

bridge(4)

2002-08-27 Thread Mark
Greets. I'm using bridge(4) for some slightly unintended purposes, and need some insight or alternative suggestions. I have a FreeBSD 4.6.2 box with six NICs. :) I want to use bridge to mirror traffic from xl1 to xl2 and xl3 (and possibly others). I don't have a hub. :( Of course, I'm no

Enabling the SMBUS controller on an ASUS P4B motherboard

2002-08-27 Thread Dan Larsson
While trying to get hardware monitoring to work on my computer I found the below procedure to enable the smbus device. It didn't get me any closer to actually monitoring the hardware with xbmon, lmmon or healthd. But the device is there. Can this probe/tweak be done during boot somehow? I'd glad

Re: SMP on Intel SE7500CW2

2002-08-27 Thread Doug White
On Tue, 27 Aug 2002, Craig Hawco wrote: > I've been looking into PR i386/40564 as I'm the owner of an Intel > SE7500CW2. I managed to track it down to start_ap in mp_machdep.c. Can you grab an mptable(8) output for this board? I wasn't aware that these were broken, I've seen other ones work fine

Re: USB->ATA devices

2002-08-27 Thread Bruce M Simpson
On Tue, Aug 27, 2002 at 08:29:00PM +0200, Nick Hibma wrote: > > > There are many possible ATA/ATAPI over USB protocols, so turning > > > the ATA request into one or more USB transfers is a bridge-specific > > > operation. Basically these odd protocols exist because the manufacturers > > > of the v

Re: USB->ATA devices

2002-08-27 Thread Nick Hibma
> > This would be hard to do right, as the preferred way to talk to USB > > devices is with a request-callback model. The ATA command would > > need to be put into a request structure and handed to the USB device > > driver, and the USB driver would then call back when the request > > completes. T

Re: Hello from Kabul

2002-08-27 Thread Paul Everlund
Continuing the top posting to avoid a mess... Actually there was/is a Unix-like OS for the Commodore 64. It actually worked, though not very well I guess comparing with today's best OS (which of course is FreeBSD :-) "Alex V." wrote: > > Yeah.! > ;-) > > - Original Message

Re: CAM "wiring", LUNs and duplicate wired entries

2002-08-27 Thread Peter Dufault
On Mon, Aug 19, 2002 at 02:55:38PM -0600, Kenneth D. Merry wrote: > > That's some sneaky code. 8-). If this works and you commit it, > > can you add an expository comment? > > Maybe. Peter Wemm wrote the hardwiring code, and would likely be in a > slightly better position to explain it. Peter

Re: USB->ATA devices

2002-08-27 Thread Bruce M Simpson
On Tue, Aug 27, 2002 at 05:36:50PM +0200, Soeren Schmidt wrote: > > This would be hard to do right, as the preferred way to talk to USB > > devices is with a request-callback model. The ATA command would Exactamundo. That's what makes it messy. > > There are many possible ATA/ATAPI over USB prot

Re: USB->ATA devices

2002-08-27 Thread Soeren Schmidt
It seems Ian Dowse wrote: > In message <[EMAIL PROTECTED]>, Soeren Schmidt writes: > >It should be possible to hide the USB stuff under the ATA_* macroes > >or even just under bus_space_*. > >I need a bit more concrete details on how to call into the USB > >code, then it should be pretty easy to a

programming tools

2002-08-27 Thread tapeworm
i don't know if this is necessarily the recommended place to ask this, but here we go. i've recently become more actively interested in learning programming. freebsd, obviously, has a pretty wide range of tools available, and i'm a little unsure where to start. rather than ask something too gen

Re: USB->ATA devices

2002-08-27 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Soeren Schmidt writes: >It should be possible to hide the USB stuff under the ATA_* macroes >or even just under bus_space_*. >I need a bit more concrete details on how to call into the USB >code, then it should be pretty easy to add... This would be hard to do righ

Re: USB->ATA devices

2002-08-27 Thread Soeren Schmidt
It seems Bruce M Simpson wrote: > > If you're interested, I wrote a functional but incomplete driver > > for a similar device, the Prolific Technology PL2307 bridge. I just > > This is good stuff. > > The Onspec expects a command packet containing the ATA register contents > in the order they ap

Re: The current status of FreeBSD

2002-08-27 Thread George Barnett
Iwank Regularly posted: > Do yourselves a favor and download the latest SuSE ISO. SuSE is available as an ISO? heh.. I was under the impression the only ISO you got was a trial "live system" one, and you had to fiddle with an FTP install or buy a full copy? Has this changed? --george To Unsu

System crash 4 times/hour.

2002-08-27 Thread Marcin Jurczuk
Hello ! I'm using old dual pentium Pro 200MHz box with 256 MB RAM. Instaled system is FreeBSd 4.6-STABLE. Every time after 15-30 min since boot up system showing something like: -- cut here -- Fatal trap 12: page fault while in kernel mode mp_lock = 0103; cpuid = 1; lapic.id = fault v

Re: USB->ATA devices

2002-08-27 Thread Bruce M Simpson
Hi Ian, [Moved to -hackers because no longer directly relevant to -mobile.] Please let me know if I'm talking complete monkey dung here. On Tue, Aug 27, 2002 at 02:20:09PM +0100, Ian Dowse wrote: > If you're interested, I wrote a functional but incomplete driver > for a similar device, the Prol

Re: problems with pthreads

2002-08-27 Thread Hiten Pandya
--- Kip Macy <[EMAIL PROTECTED]> wrote: > [...] > As an aside: this only belongs on -questions. However, considering I got > _zero_ response after posting to one then the other when one of my boxes > failed to boot after cvsupping -STABLE and doing a make world I can > understand the crosspostin

Re: VMware 3 on FreeBSD?

2002-08-27 Thread Josef Karthauser
On Tue, Aug 27, 2002 at 02:30:54PM +0200, Stijn Hoop wrote: > Hi, > > sent this to -questions a week ago, got no response, so I'm asking > again here: is it possible to run VMware 3 on -STABLE? If so, how? > I noticed there is no port like there is for VMware 2, so that's > why I'm asking. > It

VMware 3 on FreeBSD?

2002-08-27 Thread Stijn Hoop
Hi, sent this to -questions a week ago, got no response, so I'm asking again here: is it possible to run VMware 3 on -STABLE? If so, how? I noticed there is no port like there is for VMware 2, so that's why I'm asking. Thanks, --Stijn -- Help Wanted: Telepath. You know where to apply. msg3

The current status of FreeBSD

2002-08-27 Thread Phil Boumerola
Gentlemen, FreeBSD is a sinking ship for the true hackers among us. Perhaps due to bad politics, perhaps due to envy on Linux' success and hype, FreeBSD had no resemblance of what it once was. It's now 'yet another Linux distro'/'commercial unix wannabe'. In the wise words of Chris G Demetriou

implementing Via LongHaul technology

2002-08-27 Thread Simon Lai
Hi, Via uses a technology called LongHaul in its low power CPUs, to save power and reduce operating temperatures. Its activated through MSRs, but has some particular timing requirements. An example code fragment from the programmers manual for this technology is mov [_temp],eax

Re: SMP on Intel SE7500CW2

2002-08-27 Thread Terry Lambert
Craig Hawco wrote: > I've been looking into PR i386/40564 as I'm the owner of an Intel > SE7500CW2. I managed to track it down to start_ap in mp_machdep.c. > > snippet from start_ap(): > > while (read_apic_timer()) > if (mp_ncpus > cpus) > retur

SMP on Intel SE7500CW2

2002-08-27 Thread Craig Hawco
Hello, I've been looking into PR i386/40564 as I'm the owner of an Intel SE7500CW2. I managed to track it down to start_ap in mp_machdep.c. snippet from start_ap(): while (read_apic_timer()) if (mp_ncpus > cpus) return 1; /* return SUCCE