Re: BCM4401 Support for FreeBSD

2003-08-17 Thread Aeefyu
Duncan Barclay wrote:
Joe Marcus Clarke wrote:

On Mon, 2003-07-28 at 12:18, Aeefyu wrote:

i.e. Broadcom 440x NIC support for FreeBSD 4.x and 5.x (as found on
latest Dell's Notebooks - mine is a 8500)
Would anyone  be so kind to enlighten me on the the current status?
Last I heard of developments being made was end of June.
This was forwarded to me from Greg Lehey.  The dcm driver works okay for
me, but I had to hack it for some new bus dma changes.  I have noticed a
few issues of slowness with it when using it in a more "normal" sense
(i.e. using it to read mail, ssh to machines, etc.).
http://marc.theaimsgroup.com/?l=freebsd-hackers&m=105593188923273&w=2

I cant compile the above on my machine
Its only applicable for 5.x and not 4.x?
Sighs 
--
Feisal
Webcraft Solutions - http://www.webcraftsolutions.com
--
Conscious is when you are aware of something and conscience is when you
wish you weren't.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is tar doing the right thing here?

2003-08-17 Thread Dan Nelson
In the last episode (Aug 18), Dan Langille said:
> Why is this message not being suppressed?
> 
> $ tar -czf test.tgz / 2>&1 > /dev/null
> tar: Removing leading `/' from member names

What you did was dup fd1 onto fd2, then redirect fd1 to /dev/null:

fd1 -> stdoutfd2 -> stderr
2>&1
fd1 -> stdoutfd2 -> stdout
>/dev/null
fd1 -> /dev/null fd2 -> stdout

Swap the two redirects, so you redirect fd1 to /dev/null, then dup it
onto fd2:

fd1 -> stdoutfd2 -> stderr
>/dev/null
fd1 -> /dev/null fd2 -> stdout
2>&1
fd1 -> /dev/null fd2 -> /dev/null

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is tar doing the right thing here?

2003-08-17 Thread Dan Langille
Why is this message not being suppressed?

$ tar -czf test.tgz / 2>&1 > /dev/null
tar: Removing leading `/' from member names

And I don't really want to use the -P option.

[Please cc me on all replies; thanks]
-- 
Dan Langille : http://www.langille.org/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed-urgent

2003-08-17 Thread Mikko Työläjärvi
On Mon, 18 Aug 2003, DANDY King wrote:

> hello
>
>
> our product is DVR(digital video recorder), it runs on linux system.
> i am sending very imp inofrmation to server through sockets. some time i am
> getting full data, some time i am getting partial data.
> i don't know reasons please advice.
> client side we uses VC++ GUI. client sending data neatly. in client  side
> what i did

And that is related to FreeBSD... how?

>
> while((nread = read(fd,buff,BUFFSIZE)) >0)
>   send(sockfd,buff,nread,0);
>
> in server same data should receive.

Wrong.  You are not qualified to work on that product before taking at
least "socket network programing 101".  Hint: "short write".

> but some time i am receiveing full and some time 90% only
>
> please advice

Please post the name of the "product" and the company you work for, so
I can stay way clear of both.

>
> Dharanish
>
> _
> MSN Hotmail now on your Mobile phone.
> http://server1.msn.co.in/sp03/mobilesms/ Click here.
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed-urgent

2003-08-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
"DANDY King" <[EMAIL PROTECTED]> writes:
: while((nread = read(fd,buff,BUFFSIZE)) >0)
:   send(sockfd,buff,nread,0);
: 
: in server same data should receive.
: but some time i am receiveing full and some time 90% only

Get a copy of Stevens.  It describes this in detail.  Breifly, TCP
doesn't preserve record boundaries.  The quirks of Linux and Windows
are beyond the scope of this list, however.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ASUS P4P800-VM + AD1980 (Was Re: VIA8235 + AD1980)

2003-08-17 Thread Orion Hodson
/-- Rudolf Cejka wrote:
| Orion Hodson wrote (2003/06/26):
| > Oleg, Well done on working out a working fix for this problem...
| > ... There are some comments inline below that may help.  
| > - Orion
| 
| Hello,
|   how did you solve it in the end? Recently, I have got my new
| machine with ASUS P4P800-VM with AD1980 and I came into exactly
| same problem with no sound. Oleg's patch was very good starting
| point how to get working sound and where to start ;o)

Yes, I'll commit it shortly.

| I have another machine with different problem: Output is good, however
| main volume is not adjusted by Master Volume (0x02) register, but by
| Headphone Volume (0x04) register (Monitor Volume in Aumix). 

There's a patch below that should help with this case - let
me know how you go as I have no similar h/w.

| It is just though, but maybe my and Oleg's machine is case 3 in
| 5.2.1 AUX_OUT Options and the another machine would be case 1 or 2,
| so that it is needed to implement checking procedure at the end of
| 5.2.1 AUX_OUT Options.  However, I have to access the another
| machine and check its chipset and registers first. If there is
| anybody with AD1980 chip too, it would be interesting to see content
| of 0x00, 0x04, 0x28, and 0x38 registers and experiences with current
| pcm driver.

The existing code does something already (ac97_fix_auxout in ac97.c),
but the available options are limited by the OSS mixer interface.

Kind Regards
- Orion
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed-urgent

2003-08-17 Thread leafy
On Sun, Aug 17, 2003 at 08:02:24PM -0700, Justin Freitag wrote:
> linux server, windows client, commerical product...and
> you post an "urgent help" request to
> freebsd-hackers...
> 
> LMAO.
> --- DANDY King <[EMAIL PROTECTED]> wrote:
And he is from Hotmail, amen.

-- 
"Without the userland, the kernel is useless."
   --inspired by The Tao of Programming
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed-urgent

2003-08-17 Thread Justin Freitag
linux server, windows client, commerical product...and
you post an "urgent help" request to
freebsd-hackers...

LMAO.

--- DANDY King <[EMAIL PROTECTED]> wrote:
> hello
> 
> 
> our product is DVR(digital video recorder), it runs
> on linux system.
> i am sending very imp inofrmation to server through
> sockets. some time i am 
> getting full data, some time i am getting partial
> data.
> i don't know reasons please advice.
> client side we uses VC++ GUI. client sending data
> neatly. in client  side  
> what i did
> 
> while((nread = read(fd,buff,BUFFSIZE)) >0)
>   send(sockfd,buff,nread,0);
> 
> in server same data should receive.
> but some time i am receiveing full and some time 90%
> only
> 
> please advice
> 
> Dharanish
> 
>
_
> MSN Hotmail now on your Mobile phone. 
> http://server1.msn.co.in/sp03/mobilesms/ Click here.
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help needed-urgent

2003-08-17 Thread Kirk Strauser
At 2003-08-18T02:52:39Z, "DANDY King" <[EMAIL PROTECTED]> writes:

> our product is DVR(digital video recorder), it runs on linux system.

Then ask in a Linux mailing list.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


help needed-urgent

2003-08-17 Thread DANDY King
hello

our product is DVR(digital video recorder), it runs on linux system.
i am sending very imp inofrmation to server through sockets. some time i am 
getting full data, some time i am getting partial data.
i don't know reasons please advice.
client side we uses VC++ GUI. client sending data neatly. in client  side  
what i did

while((nread = read(fd,buff,BUFFSIZE)) >0)
send(sockfd,buff,nread,0);
in server same data should receive.
but some time i am receiveing full and some time 90% only
please advice

Dharanish

_
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GEOM Gate.

2003-08-17 Thread Dan Nelson
In the last episode (Aug 17), Pawel Jakub Dawidek said:
> On Sat, Aug 16, 2003 at 08:50:30PM -0500, Dan Nelson wrote:
> +> What kind of hardware were you using?  2.5MB/sec NFS sounds
> +> abysmal.
> 
> I don't think it is a hardware problem.
> 
> Run this test on 5.1-CURRENT with:
> 
> options   INVARIANTS
> options   INVARIANT_SUPPORT
> options   WITNESS
> 
> and without any network and NFS optimization.

Yes, another test system (P5 MMX/233 laptop) drops its NFS throughput
from 4MB/sec to 2.5MB/sec when built with those flags.  So I'm assuming
you're doing these benchmarks on a comparable system?

I think this just demonstrates that you should not run benchmarks with
all your debugging flags enabled :)  Most people will not be running
production systems with WITNESS, and parts of the kernel that bog down
under the heavy load of WITNESS may work just fine on a regular kernal
config.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[future patch] dropping user privileges on demand

2003-08-17 Thread ari
Currently, root is the only user that can actually drop significant
privileges, as root is the only user that has access to such functions.
This is flawed --- any user should be able to relinquish his privileges,
and i've begun a patch to put this into effect.

However, the fact that this is a security-related kernel feature
modification warrants peer-review, in both design and implementation.
It would be unwise of me to create the patch without consulting such.

The web page that discusses the patch may be found at:

http://www.episec.com/people/edelkind/patches/kernel/flowpriv/

I welcome any discussion and criticism.

ari

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GEOM Gate.

2003-08-17 Thread Attila Nagy
Terry Lambert wrote:
It works on firewire and it works on a dual port RAID array (as a
separate box containing the RAID array).
What does 'it' means? I guess it's not UFS, but the pure ability of 
sharing a device on a bus, connected to more than one adapters.

SAN and NAS are also options, but of course, you still have to have
an FS that can deal with it, and an external locking protocol.
Right, we were talking about FreeBSD, which lacks such a filesystem :(

--
Attila Nagy   e-mail: [EMAIL PROTECTED]
Free Software Network (FSN.HU)   phone @work: +361 210 1415/127
ISOs: http://www.fsn.hu/?f=downloadcell.: +3630 306 6758
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: VGL

2003-08-17 Thread Pedro F. Giffuni
VGL is unmaintained (my patches to it were never committed and then dropped).
KGI/GGI is now the way to go:

http://people.freebsd.org/~nsouch/kgi4BSD/

cheers,

   Pedro.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: VGL

2003-08-17 Thread Martin
On Sun, 2003-08-17 at 16:13, zera holladay wrote:

> Good day, what or where are the valid values for the
> parameter (int mode) for the functions of vgl.h as in
> VGLInit(int mode)?

You can find them in /usr/include/sys/consio.h
Look at the #defines prefixed with "SW_".

Can you give me feedback if everything works
for you? I have troubles. I cannot use any single
mode, even when vidcontrol reports them as valid.

:( I'm not happy with libvgl. Are there any other
alternatives to use graphics on console? 

Martin


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


VGL

2003-08-17 Thread zera holladay
Good day, what or where are the valid values for the
parameter (int mode) for the functions of vgl.h as in
VGLInit(int mode)?  The man page for the VGL is a dead
end on that topic.  This could be ignorance on my
part, so would someone be so kind as to point me the
right direction.  Thank you. zh

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GEOM Gate.

2003-08-17 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Pawel Jakub Dawidek writes
:
>
>--X8oaj2qX3NXXvcHN
>Content-Type: text/plain; charset=iso-8859-2
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On Fri, Aug 15, 2003 at 11:53:11AM -0400, Robert Watson wrote:
>+> That said, I think the geom gate stuff looks very cool :-).  You might be
>+> able to run some interesting performance numbers comparing NFS and UFS
>+> over a remote block device.
>
>Ok. After last geom gate optimizations I'm ready to show some tests.
>
>NFS read:  2539890 bytes/sec
>NFS write: 2668428 bytes/sec
>
>GG read file:  5791796 bytes/sec (file was exported)
>GG write file: 4071411 bytes/sec (file was exported)
>
>GG read device:4635277 bytes/sec (disk device was exported)
>GG write device: I wasn't able to test

Please use /usr/src/tools/tools/ministat to do a proper statistical
benchmark.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"