locale problems with linux 7.1 base upgrade

2002-04-11 Thread Theo Pagtzis
Hi all, I upgraded to linux 7.1 base successfully for the purposes of getting linux java 1.4. The upgrade has created a consistent problem with the locale for any application that I am running. These applications are so far, Netscape and java 1.4 runtime. I have tried to set the XNLSPATH to some

Re: Is natd the right tool?

2002-04-11 Thread Crist J. Clark
On Thu, Apr 11, 2002 at 09:24:24AM -0400, Matt Simerson wrote: > Natd is a very cool tool for doing stuff like redirecting > connections from an external network to an internal one but I'm have a > slightly different problem. I have a single host with one public > interface: > > host -

Re: quotactl issues

2002-04-11 Thread Terry Lambert
John Baldwin wrote: > > Note the warnx() call. It writes directly to the quota file so you can > > set quotas even if your current kernel is not capable of enforcing > > them. Is your kernel compiled with "options QUOTA"? I can tell you on > > all my 4.* systems (4.0 through 4.5) edquota calls

Re: FreeBSD Advanced tuning advice

2002-04-11 Thread Coleman Kane
The CPUTYPE variable in make.conf handles this, look at src/share/mk/bsd.cpu.mk. -- coleman On Thu, Apr 11, 2002 at 11:05:38AM -0400, Michael Lucas wrote: > On Thu, Apr 11, 2002 at 05:04:23PM +0300, Peter Pentchev wrote: > > > > Erm.. gcc has quite a lot more flags than the -On optimizations :

A blind carbon copy

2002-04-11 Thread imp
This is a blind carbon copy. --- Begin Message --- In message: <[EMAIL PROTECTED]> Bogdan TARU <[EMAIL PROTECTED]> writes: : bgd@cvs$ mkdir temp : bgd@cvs$ ln -s temp b : bgd@cvs$ ls -ald temp b : lrwxr-xr-x 1 bgd wheel4 Apr 9 11:27 b -> temp : drwxr-xr-x 2 bgd wheel 512 Ap

Re: quotactl issues

2002-04-11 Thread John Baldwin
On 11-Apr-2002 Dan Nelson wrote: > In the last episode (Apr 11), Michael R. Wayne said: >> Now - to re-iterate my point. The code for edquota FAILS IN EXACTLY >> THE SAME WAY with EINVAL. But edquota IGNORES this error. The >> reason that edquota works is that, when it gets this failure, it >>

Re: read a file from a driver

2002-04-11 Thread Brian Somers
There's an example of how to do this in the ``digi'' driver. It loads it's firmware module on-the-fly (if it can) and dumps it afterwards. As you can see, this saves a bunch of runtime space (digi is the base driver, digi_* are the firmware modules): $ ls -l /boot/kernel/digi* -r-xr-xr-x 1

md_image

2002-04-11 Thread Max Shron
Happy day, I found the documentation in the 5.0-prerelease for working md_images. A 5.0 based kernel loaded with MD_ROOT will automagically find the first md_image file and turn it into a root filesystem... anybody have anything more to say, like compatibility being merged into 4.x? Oh, and I

Re: quotactl issues

2002-04-11 Thread Dan Nelson
In the last episode (Apr 11), Michael R. Wayne said: > Now - to re-iterate my point. The code for edquota FAILS IN EXACTLY > THE SAME WAY with EINVAL. But edquota IGNORES this error. The > reason that edquota works is that, when it gets this failure, it > reads and writes the quota file directl

Re: quotactl issues

2002-04-11 Thread Michael R. Wayne
On Thu, Apr 11, 2002 at 01:48:40PM -0700, Terry Lambert wrote: > "Michael R. Wayne" wrote: > > No replies on this. Nobody has any ideas? > > Nobody has seen it until now. SOMEbody did - that's why they hacked edquota.c! See code fragment below. > > On Wed, Apr 10, 2002 at 01:33:21PM -0400, Mi

Re: quotactl issues

2002-04-11 Thread Terry Lambert
"Michael R. Wayne" wrote: > No replies on this. Nobody has any ideas? Nobody has seen it until now. > On Wed, Apr 10, 2002 at 01:33:21PM -0400, Michael R. Wayne wrote: > > Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL > > when trying to: > >quotactl("var/mail", QCM

build of usbhidctl broken in -stable?

2002-04-11 Thread Marco Molteni
Hi, I think the build of usbhidctl is broken in stable, and by this I mean it is not self-contained under /usr/src but expects to have include files under /usr/include and the library uder /usr/lib. If I do a make buildworld I get ===> usr.bin/usbhidctl cc -O -pipe -c /usr/src/usr.bin/usbhi

Re: Is natd the right tool?

2002-04-11 Thread Matt Simerson
On Thursday, April 11, 2002, at 01:39 PM, Julian Elischer wrote: > check out ipfw's 'fwd' command Cool, never realized that was there. So, I tried it: I recompiled my kernel after adding IPFIREWALL_FORWARD to it. Then: ipfw add fwd 127.0.0.2,53 udp from any to 192.168.7.251 55 ipfw add fwd 12

Re: ALi M5451 Sound card wont work. Please Help!

2002-04-11 Thread Farooq Mela
Hi, Did you try disabling PnP in your BIOS? This is the exact same message I was getting with my onboard sound card (YMF724F) until I disabled PnP in the bios, after which it worked great. HTH, Farooq > mithril wrote: > > Hi Everyone, > [snip] > pcm0: port 0xd000-0xd0ff mem 0xdd00-0xdd00

Re: quotactl issues

2002-04-11 Thread Dan Nelson
In the last episode (Apr 11), Michael R. Wayne said: > No replies on this. Nobody has any ideas? > > /\/\ \/\/ > > On Wed, Apr 10, 2002 at 01:33:21PM -0400, Michael R. Wayne wrote: > > > > Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL > > when trying to: > >quotac

[no subject]

2002-04-11 Thread Matt Simerson
Natd is a very cool tool for doing stuff like redirecting connections from an external network to an internal one but I'm have a slightly different problem. I have a single host with one public interface: host - fxp0 = 192.168.7.251 Also on this same host is a bunch more IP's on the loopback i

Re: Is natd the right tool?

2002-04-11 Thread Julian Elischer
check out ipfw's 'fwd' command On Thu, 11 Apr 2002, Matt Simerson wrote: > > Natd is a very cool tool for doing stuff like redirecting connections > from an external network to an internal one but I'm have a slightly > different problem. I have a single host with one public interface: > [...

Re: SSE bcopy

2002-04-11 Thread Andrew Gallatin
Denis Serenyi writes: > I don't think there will be a problem with releasing my source code. > That is, if it works and is truly a performance win :) Cool! > There are some PDF docs available on Intel's web site that have sample > code for an SSE bcopy, and give performance results (in pa

Re: Is natd the right tool?

2002-04-11 Thread Matt Simerson
My apologies, I didn't realize the default format on my new client was rich text format. Matt On Thursday, April 11, 2002, at 01:17 PM, Asenchi wrote: > could you please not send emails to the list in html. thank you. > asenchi. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsu

Re: quotactl issues

2002-04-11 Thread Michael R. Wayne
No replies on this. Nobody has any ideas? /\/\ \/\/ On Wed, Apr 10, 2002 at 01:33:21PM -0400, Michael R. Wayne wrote: > > Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL > when trying to: >quotactl("var/mail", QCMD(Q_GETQUOTA, USRQUOTA), VALID_UID, &blk) > Looked at

RE: Is natd the right tool?

2002-04-11 Thread Asenchi
could you please not send emails to the list in html. thank you. asenchi. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

tekram SCSI DC3x5 driver

2002-04-11 Thread Olivier Houchard
Hi, I updated the driver provided by tekram for these cards so that it actually compiles (and works :)) under -CURRENT (it uses old macros to compile under -STABLE). You may find it at www.ci0.org/trm. It seems it is not in the FreeBSD source tree because none of the committers owns this ca

Re: Is natd the right tool?

2002-04-11 Thread Doug White
On Thu, 11 Apr 2002, Matt Simerson wrote: > natd -n fxp0 -redirect_port udp 127.0.0.2:53 192.168.7.251:55 > > However, doing so simply get's me a connection refused when I send it a > query like this: > > matt@matt: {102} % dig -p 55 @192.168.7.251 www.foo.com > > ; <<>> DiG 8.3 <<>> -p @19

Voui vincere con internet?

2002-04-11 Thread [EMAIL PROTECTED]
Vorresti davvero Vincere con Internet? Questo Sistema è diverso da tutti gli altri, ti assicuro che dopo averlo compreso a fondo sarà per te IRRESISTIBILE la voglia di partecipare. QUESTO E` SENZA DUBBIO IL GIORNO PIU` FORTUNATO DELLA TUA VITA !!! IMMAGINA COSA POTRESTI FARE CON 750.000 EURO (

Is natd the right tool?

2002-04-11 Thread Matt Simerson
Natd is a very cool tool for doing stuff like redirecting connections from an external network to an internal one but I'm have a slightly different problem. I have a single host with one public interface: host - fxp0 = 192.168.7.251 Also on this same host is a bunch more IP's on the loopback

Re: FreeBSD Advanced tuning advice

2002-04-11 Thread Kenneth Culver
> Yes, but every time I've seen those brought up, the high-level hackers > here say "Don't do that." :) > > If we could get a definitive answer on acceptable flags, I'll put it > in the FAQ. > Basically (although I'm not a "high-level hacker") what I've gathered is that -O optimization above -O (

Re: SSE bcopy

2002-04-11 Thread Denis Serenyi
I don't think there will be a problem with releasing my source code. That is, if it works and is truly a performance win :) There are some PDF docs available on Intel's web site that have sample code for an SSE bcopy, and give performance results (in particular, "Block Copy Using Pentium III S

vuoi davvero vincere con Internet?

2002-04-11 Thread [EMAIL PROTECTED]
Vorresti davvero Vincere con Internet? Questo Sistema è diverso da tutti gli altri, ti assicuro che dopo averlo compreso a fondo sarà per te IRRESISTIBILE la voglia di partecipare. QUESTO E` SENZA DUBBIO IL GIORNO PIU` FORTUNATO DELLA TUA VITA !!! IMMAGINA COSA POTRESTI FARE CON 750.000 EURO (

vuoi davvero vincere con Internet?

2002-04-11 Thread [EMAIL PROTECTED]
Vorresti davvero Vincere con Internet? Questo Sistema è diverso da tutti gli altri, ti assicuro che dopo averlo compreso a fondo sarà per te IRRESISTIBILE la voglia di partecipare. QUESTO E` SENZA DUBBIO IL GIORNO PIU` FORTUNATO DELLA TUA VITA !!! IMMAGINA COSA POTRESTI FARE CON 750.000 EURO (

Re: FreeBSD Advanced tuning advice

2002-04-11 Thread Michael Lucas
On Thu, Apr 11, 2002 at 05:04:23PM +0300, Peter Pentchev wrote: > > Erm.. gcc has quite a lot more flags than the -On optimizations :) > There are things like -march, -mcpu, -fomit-frame-pointer, -funroll-loops > and others.. unfortunately, I am not the best person to ask about those :) > Yes,

How to catch closef()?

2002-04-11 Thread Pawel Jakub Dawidek
Hey. How to catch all file descryptors closing when I'm in kld module? I can't catch closef() because this isn't syscall of course:) At the moment I'm catching succeded close(), sys_exit(), and succeded kill(). But what with kernel kills (I mean segfaults, etc.)? I need this, because in cerb (ht

Re: FreeBSD Advanced tuning advice

2002-04-11 Thread Peter Pentchev
On Thu, Apr 11, 2002 at 08:18:11AM -0400, Michael Lucas wrote: > On Wed, Apr 10, 2002 at 08:38:28PM -0400, Storms of Perfection wrote: > > I am looking for some more in-dept tuning related articles that go beyond > > the scope of the tuning(5) document that is currently on FreeBSD. > > > > I am

Re: SSE bcopy

2002-04-11 Thread Simon Dick
On Thu, Apr 11, 2002 at 09:42:42AM -0400, Andrew Gallatin wrote: > > Denis Serenyi writes: > > I've been looking at adding an SSE bcopy that runs at user-level to a > > program that I'm working on. I'm using FreeBSD 4.3 currently. > > > > I wrote the routine, and when I execute it, I get an

Re: SSE bcopy

2002-04-11 Thread Andrew Gallatin
Denis Serenyi writes: > I've been looking at adding an SSE bcopy that runs at user-level to a > program that I'm working on. I'm using FreeBSD 4.3 currently. > > I wrote the routine, and when I execute it, I get an illegal instruction > exception when I try to execute the first SSE instru

Re: FreeBSD Advanced tuning advice

2002-04-11 Thread Michael Lucas
Hello, This sort of tuning you're discussing really depends on your particular system. What are you running, what's your system doing, and are you seeing any problems? For the most part, the sysctl interface lets you tune everything. And compiler flags above -O2 are not supported on FreeBSD, s

Re: SSE bcopy

2002-04-11 Thread David Malone
On Wed, Apr 10, 2002 at 03:24:20PM -0700, Denis Serenyi wrote: > After searching the hackers archives, I'm guessing that this is because > FreeBSD 4.3 does not execute the instructions at boot time to enable SSE > instructions to be executed, and also because FreeBSD 4.3 does not save > the 128