Re: tuning for samba

2002-07-10 Thread Richard Sharpe
On Thu, 11 Jul 2002, Darren Pilgrim wrote: > Richard Sharpe wrote: > > On Wed, 10 Jul 2002, Darren Pilgrim wrote: > > > Samba uses a seperate process for each connection, and Windows opens > > > one connection per share. > > > > Yes to the first claim, no to the second. Most definitely not. For

Re: tuning for samba

2002-07-10 Thread Darren Pilgrim
Richard Sharpe wrote: > On Wed, 10 Jul 2002, Darren Pilgrim wrote: > > Samba uses a seperate process for each connection, and Windows opens > > one connection per share. > > Yes to the first claim, no to the second. Most definitely not. For a > single client, windows puts all share access (net us

Re: tuning for samba

2002-07-10 Thread Richard Sharpe
On Wed, 10 Jul 2002, Darren Pilgrim wrote: > Chad David wrote: > > > > A local company has been having issues with samba for some time (it kills > > an e250, and has seriously stressed an e5000) and I've been telling the > > admin (half seriously) that he should just toss it on a PC with FreeBSD

Re: tuning for samba

2002-07-10 Thread Darren Pilgrim
Chad David wrote: > > A local company has been having issues with samba for some time (it kills > an e250, and has seriously stressed an e5000) and I've been telling the > admin (half seriously) that he should just toss it on a PC with FreeBSD. > Well they finally got tired of hearing FreeBSD thi

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
On Thursday 11 July 2002 02:45, Jake Burkholder wrote: > > I think this is because your console driver (hc) doesn't have a tty > interface, just the low level cn* stuff. If you look at the > ofw_console driver, it provides a rudimentary tty interface using > polling and cngetc, cnputc equivalents

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
On Wednesday 10 July 2002 23:04, Julian Elischer wrote: > OK so I have to ask.. S/390 as in IBM Mainframem S/390? Yeas, ESA/390. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

termios guru ?

2002-07-10 Thread bruno schwander
I making a port (not much really) of Irit (http://www.cs.technion.ac.il/~irit/) a modelling environment. I am having some problems with terminal handling, so all termios guru out there, please help ! :-) At stratup, irit does the following Termio.c_cc[VEOF] = 0; /* MIN = 0, no minimal length t

Re: tuning for samba

2002-07-10 Thread Chad David
On Wed, Jul 10, 2002 at 09:36:10PM -0500, Dan Nelson wrote: > In the last episode (Jul 10), Chad David said: > > As a side note, the data being served will be attached to the samba server > > via NFS. > > Wouldn't it be better to run samba directly on the server that's > providing the data? They

Re: tuning for samba

2002-07-10 Thread Dan Nelson
In the last episode (Jul 10), Chad David said: > As a side note, the data being served will be attached to the samba server > via NFS. Wouldn't it be better to run samba directly on the server that's providing the data? Why force it over the network twice? -- Dan Nelson [EMAIL

Re: terminfo/termcap and cygwin

2002-07-10 Thread Cyrille Lefevre
message resent due to mta misconfigation. On Thu, Jul 11, 2002 at 01:45:09AM +0200, Cyrille Lefevre wrote: > On Wed, Jul 10, 2002 at 03:48:32PM +0200, Alex Dupre wrote: > > In normal situation accessing to a FreeBSD 4.x machine from cygwin is not > > very pleasant: editing files is quite a pain,

Re: tuning for samba

2002-07-10 Thread Daniel O'Connor
On Thu, 2002-07-11 at 10:14, Chad David wrote: > This is my biggest concern. I just don't know what to tune here since > the data just basically passes straight through the box, and the with > about of data being served and the access patterns buffering is pointless. I disagree.. Buffering is pr

IDE EIDE ATAPI Low Level Format tools by vendor

2002-07-10 Thread Terry Lambert
Feel free to add to this list, and repost, to capture in the list archive. Seagate "DiscWizard": http://www.seagate.com/support/kb/disc/low_level_ata.html Maxtor "LLFUTIL.EXE": http://www.maxtor.com/SoftwareDownload/utilities.html Western Digital "Data Lifeguard Tools":

Re: tuning for samba

2002-07-10 Thread Richard Sharpe
On Wed, 10 Jul 2002, Chad David wrote: > On Thu, Jul 11, 2002 at 11:20:51AM +0930, Richard Sharpe wrote: > > > > Certainly, a 2GB machine that I regularly test against does not notice the > > smbds start up all that much. > > I have no real way of testing this type of load here, but first thin

Memory layout tools ... to tweak Samba's memory footprint

2002-07-10 Thread Richard Sharpe
Hi, I am looking for tools that will help me find data-structures in Samba that should be in shared pages but aren't because they are not marked appropriately by the source code. Are there any tools that will allow me to break out the layout of an executable file, but also that will allow me

Re: tuning for samba

2002-07-10 Thread Chad David
On Thu, Jul 11, 2002 at 11:20:51AM +0930, Richard Sharpe wrote: > > Certainly, a 2GB machine that I regularly test against does not notice the > smbds start up all that much. I have no real way of testing this type of load here, but first thing tomorrow morning I'll know.. > > > As a side not

Re: tuning for samba

2002-07-10 Thread Chad David
On Thu, Jul 11, 2002 at 09:45:46AM +0930, Daniel O'Connor wrote: > On Thu, 2002-07-11 at 09:37, Chad David wrote: > > A local company has been having issues with samba for some time (it kills > > an e250, and has seriously stressed an e5000) and I've been telling the > > admin (half seriously) tha

Re: tuning for samba

2002-07-10 Thread Richard Sharpe
On Wed, 10 Jul 2002, Chad David wrote: > A local company has been having issues with samba for some time (it kills > an e250, and has seriously stressed an e5000) and I've been telling the > admin (half seriously) that he should just toss it on a PC with FreeBSD. > Well they finally got tired of

Re: offtopic: low level format of IDE drive.

2002-07-10 Thread Sergey Babkin
Greg 'groggy' Lehey wrote: > > On Monday, 8 July 2002 at 14:46:29 -0700, Kent Stewart wrote: > > All of the manufacturers have a program that will do that. Many of > > them even produce a bootable floppy. Check their support web page. > > I went looking for format utilities and didn't find any

Re: tuning for samba

2002-07-10 Thread Daniel O'Connor
On Thu, 2002-07-11 at 09:37, Chad David wrote: > A local company has been having issues with samba for some time (it kills > an e250, and has seriously stressed an e5000) and I've been telling the > admin (half seriously) that he should just toss it on a PC with FreeBSD. > Well they finally got ti

Re: tuning for samba

2002-07-10 Thread Daniel O'Connor
On Thu, 2002-07-11 at 09:37, Chad David wrote: > A local company has been having issues with samba for some time (it kills > an e250, and has seriously stressed an e5000) and I've been telling the > admin (half seriously) that he should just toss it on a PC with FreeBSD. > Well they finally got ti

tuning for samba

2002-07-10 Thread Chad David
A local company has been having issues with samba for some time (it kills an e250, and has seriously stressed an e5000) and I've been telling the admin (half seriously) that he should just toss it on a PC with FreeBSD. Well they finally got tired of hearing FreeBSD this and FreeBSD that and asked

Re: 'make release' tries to build a port?

2002-07-10 Thread Makoto Matsushita
reichert> How to I transform a RELEASETAG into a BUILDNAME? I suspect reichert> I really need some meta-knowledge about what tags are in the reichert> CVS tree... I used to check src/sys/conf/newvers.sh. -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubsc

Re: ipfilter

2002-07-10 Thread Nielsen
That's not how you specify rules. Read the ipf(8) manual page. Cheers Nate > (14:58) root@(bgd)[~] ipf block in all from any to any To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: A question about S/390 port

2002-07-10 Thread Jake Burkholder
Apparently, On Wed, Jul 10, 2002 at 03:54:09PM +0400, Serguei Tzukanov said words to the effect of; > Some working notes. > > I've written the libc/csu part, kernel successfully starts init and init > forks off for the execve of -sh, > (http://tzukanov.narod.ru/freebsd390/bootlog.txt) >

Re: Uptime of a system

2002-07-10 Thread Mike Silbersack
On Wed, 10 Jul 2002, David Schultz wrote: > Thus spake Attila Nagy <[EMAIL PROTECTED]>: > > > > hub# uptime > > > > 8:09PM up 5790 days, 1:24, 1 user, load averages: 0.00, 0.00, 0.00 > > > Now just run an HTTP server. Netcraft will hate you. ;-) > > Netcraft doesn't run "uptime" on his machi

Re: Uptime of a system

2002-07-10 Thread David Schultz
Thus spake Attila Nagy <[EMAIL PROTECTED]>: > > > hub# uptime > > > 8:09PM up 5790 days, 1:24, 1 user, load averages: 0.00, 0.00, 0.00 > > Now just run an HTTP server. Netcraft will hate you. ;-) > Netcraft doesn't run "uptime" on his machine... Userland hacks don't > count. Right... the real

Re: A question about S/390 port

2002-07-10 Thread Terry Lambert
John Baldwin wrote: > Why does the cast from 32 to 64 treat r3 as the lower 32-bits when > a 64-bit return value treats r3 as the upper 32-bits and r2 as the > lower 32-bits? That is inconsistent and you are going to have > problems with either one or the other. I also don't understand > exactly

Re: terminfo/termcap and cygwin

2002-07-10 Thread Terry Lambert
Alex Dupre wrote: > PE> cd to /usr/ports/devel/ncurses > PE> Comment out the following 3 lines: > PE> Save the Makefile, and type: make && make install && make clean > PE> Terminfo (including the db's) should now install fine... > > Yes, but this is a work-around. If terminfo is needed, it should

Re: terminfo/termcap and cygwin

2002-07-10 Thread Terry Lambert
Alex Dupre wrote: > In normal situation accessing to a FreeBSD 4.x machine from cygwin is not > very pleasant: editing files is quite a pain, there are many terminal > "glitches" like the cursor in the wrong position and garbage text. Sounds like Cygwin's terminal program fails to correctly imple

Re: swap & huge mem systems

2002-07-10 Thread Giorgos Keramidas
On 2002-07-10 00:48 +, David Schultz wrote: > But to be fair, I have heard that Western Digital drives also used > to have problems, back in the early 90's when the company was > struggling financially. Maybe Fujitsu has changed as well. Western Digitals used to be horrible back in 1994-1998

Re: ipfilter

2002-07-10 Thread Giorgos Keramidas
On 2002-07-10 14:55 +, Bogdan TARU wrote: > > (14:57) root@(bgd)[~] ipf -E > IP Filter: already initialized > (14:58) root@(bgd)[~] ipf block in all from any to any > (14:58) root@(bgd)[~] ipfstat -i > empty list for ipfilter(in) > (14:58) root@(bgd)[~] ipfstat -o > empty list for ipfilter(out

Re: A question about S/390 port

2002-07-10 Thread Terry Lambert
It sounds like a tty driver problem. Does the emulator even support this? Do you have a package, so that people can install your developement environment and use your patches so they can participate in helping you code? -- Terry Serguei Tzukanov wrote: > > Some working notes. > > I've writte

ÊÓËÃѺ¼Ùé·Õèµéͧ¡ÒÃâÍ¡ÒÊ㹡ÒÃà»ÅÕè¹á»Å§ªÕÇÔµ

2002-07-10 Thread international e-business
! Part-Time Job!! ÊÓËÃѺ¹Ñ¡àÃÕ¹ ¹Ñ¡ÈÖ¡ÉÒ áÅмÙé·Ó§Ò¹»ÃÐ¨Ó ¤Ø³µéͧ¡ÒçҹẺ¹ÕéºéÒ§äËÁ…?? -§Ò¹ parttime ·Ó§Ò¹·ÕèºéÒ¹ä´é ¶éҤسãªé Internet à»ç¹ -·Ó§Ò¹à¾Õ§ÇѹÅÐ 2-3 ªÁ. -ÃÒÂä´é 5,000 – 15,000 ºÒ· ¶éҤسà»ç¹¤¹Ë¹Ö觷Õè·Ó§Ò¹»ÃШÓËÃ×ÍÂѧäÁèÁÕ§Ò¹·Ó ¹Ñ¡ÈÖ¡ÉÒ·Õè¡ÓÅѧÈÖ¡ÉÒÍÂÙè ¼ÙéÇèÒ§§Ò¹ ËÃ×ͼÙé·Õè

Re: A question about S/390 port

2002-07-10 Thread Julian Elischer
OK so I have to ask.. S/390 as in IBM Mainframem S/390? On Wed, 10 Jul 2002, Serguei Tzukanov wrote: > > > td_retval[0] is the low word, and td_retval[1] is the high word, you > > just need to make sure the values from those two words get returned > > properly to userland. > > 1) syscall ret

Re: bug in ssh handling rgid

2002-07-10 Thread Simon 'corecode' Schubert
On Wed, 10 Jul 2002 19:27:40 +0200 Simon 'corecode' Schubert wrote: > (= old ssh, though the new one seems to have the same problem as i can > tell that from the sources) well it seems i didn't look good enough. after installing the latest ssh binary the problem vanished :/ sorry for the fuzz

Re: ipfilter

2002-07-10 Thread Alex
Hello/Beste Bogdan, Wednesday, July 10, 2002, 2:55:45 PM, you wrote: BT> Hi, BT> I have the following problem on a FreeBSD 4.6 machine: compiled the BT> kernel with the following options: BT> options IPFIREWALL #firewall BT> options IPFIREWALL_VERBOSE

Changes in kernel between 4.5-R to 4.6-R

2002-07-10 Thread Tomoyuki Murakami
Hi, hackers. I have a SCSI host adapter, called 'DMX3194UP' manufactured by Taiwan company (http://www.domex.com.tw/). I had privately adapted its device driver to FreeBSD 4.4. (http://www.c-wind.com/~tomo/i91u-newbus.tar.gz) and, have used with kernel 4.4-R and 4.5-R, driving IBM S

Re: A question about S/390 port

2002-07-10 Thread John Baldwin
On 10-Jul-2002 Serguei Tzukanov wrote: > >> td_retval[0] is the low word, and td_retval[1] is the high word, you >> just need to make sure the values from those two words get returned >> properly to userland. > > 1) syscall returns 32-bit value: > r2 = rv[0]; > r3 = rv[1]; > r

Re: terminfo/termcap and cygwin

2002-07-10 Thread Dan Nelson
In the last episode (Jul 10), Alex Dupre said: > In normal situation accessing to a FreeBSD 4.x machine from cygwin is not > very pleasant: editing files is quite a pain, there are many terminal > "glitches" like the cursor in the wrong position and garbage text. > A trick to resolve this issue i

Re: Motherboard temperature sensing

2002-07-10 Thread Doug Ambrisko
Dan Nelson writes: | In the last episode (Jul 09), Julian Elischer said: | > I haven't been following this so now naturally | > it becomes important.. | > | > anyone have good pointers? | | healthd, mbmon, or lmmon, in ports. Healthd and lmmon don't get all my | variables, mbmon does (Asus cuv4

Re: 'make release' tries to build a port?

2002-07-10 Thread Brian Reichert
On Wed, Jul 10, 2002 at 10:25:52AM +0900, Makoto Matsushita wrote: > > reichert> Unfortunately, I had to delve into other bits of mystery and wonder: > reichert> - The Makefile in usr/src/release; that's where KERNEL_FLAGS and > reichert> WORLD_FLAGS are mentioned. > > Ya, it should be documen

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
> td_retval[0] is the low word, and td_retval[1] is the high word, you > just need to make sure the values from those two words get returned > properly to userland. 1) syscall returns 32-bit value: r2 = rv[0]; r3 = rv[1]; r3 is irrelevant here (ABI: "32-bit values returne

Re: swap & huge mem systems

2002-07-10 Thread Dmitry Morozovsky
On Tue, 9 Jul 2002, Terry Lambert wrote: TL> > So, if someone wants to get really quick swap and allocates 4 partitions TL> > on 4 drives *AND* also wand to get crashdumps, (s)he has to do this TL> > suboptimally (either allocate 1st more sized than phys RAM and other much TL> > smaller, or alloc

Kernel space: MALLOC() & TAILQ_*()

2002-07-10 Thread =?unknown-8bit?q?Aur=E9lien?= Nephtali
Hi, I'm new in kernel coding (i'm making a kernel module) so i had to learn how to use MALLOC*() macros to get memory, not very difficult in fact. But when the moment of making a chained list came, the first difficulty appears :/ Before, i made chained lists like that: struct my_type { s

RE: A question about S/390 port

2002-07-10 Thread John Baldwin
On 10-Jul-2002 Serguei Tzukanov wrote: > Some working notes. > > I've written the libc/csu part, kernel successfully starts init and init > forks off for the execve of -sh, > (http://tzukanov.narod.ru/freebsd390/bootlog.txt) > but there is problem with printing from userland, e.g. output from

Re: terminfo/termcap and cygwin

2002-07-10 Thread Alex Dupre
Wednesday, July 10, 2002, 4:19:15 PM, you wrote: PE> cd to /usr/ports/devel/ncurses PE> Comment out the following 3 lines: PE> Save the Makefile, and type: make && make install && make clean PE> Terminfo (including the db's) should now install fine... Yes, but this is a work-around. If terminfo

Re: terminfo/termcap and cygwin

2002-07-10 Thread Peter Elsner
cd to /usr/ports/devel/ncurses and edit the Makefile. Comment out the following 3 lines: .if ${OSVERSION} >= 40 FORBIDDEN=  already is in the base system .endif Save the Makefile, and type: make && make install && make clean Terminfo (including the db's) should now install fine... At 03:48 PM

terminfo/termcap and cygwin

2002-07-10 Thread Alex Dupre
In normal situation accessing to a FreeBSD 4.x machine from cygwin is not very pleasant: editing files is quite a pain, there are many terminal "glitches" like the cursor in the wrong position and garbage text. A trick to resolve this issue is to copy the binary cygwin terminfo file in /usr/shar

[hackers] Re: swap & huge mem systems

2002-07-10 Thread David Gilbert
> "Dmitry" == Dmitry Morozovsky <[EMAIL PROTECTED]> writes: Dmitry> BTW, is it safe to create _interleaved_ swap totally sized Dmitry> slightly above the amount of physical RAM? I mean, is core Dmitry> writer interleve-aware, or does it need the first swap Dmitry> partiton large enough? The

[hackers] Re: swap & huge mem systems

2002-07-10 Thread David Gilbert
> "Brandon" == Brandon D Valentine <[EMAIL PROTECTED]> writes: Brandon> Allocating swap = physical RAM doesn't buy you any expansion Brandon> though. I always try to do at least twice physical RAM so Brandon> that if I ever double the RAM in my machine I'm still able to Brandon> catch crash

ipfilter

2002-07-10 Thread Bogdan TARU
Hi, I have the following problem on a FreeBSD 4.6 machine: compiled the kernel with the following options: options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent

security problem in sysctl?

2002-07-10 Thread Bogdan TARU
Hi guys, I have just rebooted my machine, and immediately after boot I have run 'sysctl -a' as an usual user. Well, in 'kern.msgbuf' I have found the whole master.passwd file, with combinations of usernames/passwords. Isn't that a security threat? bogdan

A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
Some working notes. I've written the libc/csu part, kernel successfully starts init and init forks off for the execve of -sh, (http://tzukanov.narod.ru/freebsd390/bootlog.txt) but there is problem with printing from userland, e.g. output from userland are not visible. Write syscall to descs 1,2

Error in keyboard(4) manpage, off by one

2002-07-10 Thread Marco van de Voort
The keyboard(4) manpage is a bit vague about the numbering convention for thefunction keys (that generate multi byte escape) SETFKEY ioctl and in the keymap structure. The problem is that the C-level routines (SETFKEY, GETFKEY macro's, indices in the KEYMAP structure) are 0 based. (first functio

Re: Uptime of a system

2002-07-10 Thread Attila Nagy
Hello, > > hub# uptime > > 8:09PM up 5790 days, 1:24, 1 user, load averages: 0.00, 0.00, 0.00 > Now just run an HTTP server. Netcraft will hate you. ;-) Netcraft doesn't run "uptime" on his machine... Userland hacks don't count. [ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Image

Re: swap & huge mem systems

2002-07-10 Thread David Schultz
Thus spake Chuck Robey <[EMAIL PROTECTED]>: > On Tue, 9 Jul 2002, David Schultz wrote: > > > Thus spake Chuck Robey <[EMAIL PROTECTED]>: > > > I just bought that new Fujitsu Ultra160 > > > screamer, fastest disk in the West (3.5ms access, 15K rotation). Eat my > > > dust! > > > > Given the relia