RE: Number of mbuf clusters (NMBCLUSTERS)

2002-07-24 Thread Balaji, Pavan
]] > Sent: Wednesday, July 24, 2002 2:32 PM > To: Balaji, Pavan > Cc: 'James Snow'; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Number of mbuf clusters (NMBCLUSTERS) > > > On Wed, 24 Jul 2002, Balaji, Pavan wrote: > > > > > You can increas

RE: Number of mbuf clusters (NMBCLUSTERS)

2002-07-24 Thread Balaji, Pavan
You can increase the maximum number of clusters in /usr/src/sys/sys/sysctl.h and recompile the kernel. But make sure that you have a stable kernel image ready, just in case you increase this value so much that your kernel doesn't boot ;) I guess the default value is around 9, while for 256MB mem

RE: Sockets function list

2002-07-24 Thread Balaji, Pavan
  Richard Stevens -- UNIX Network Programming Richard Stevens & Gary Wright -- TCP Illustrated Vol II   Pavan Balaji, Intel Corporation     "Only the Paranoid Survive"  --  Andy Grove -Original Message-From: Sulaiman Khan [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 24, 200

RE: If a disk is mounted read only is it possible to corrupt it?

2002-07-22 Thread Balaji, Pavan
Corruption need not necessarily be s/w based. If your reader/writer is screwed up, it might still corrupt it. Guess, I'm too paranoid ;-) Pavan Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Brian T. Schellenberger [mailto:[EMAI

RE: Boot -s doesn't work any other ideas

2002-07-21 Thread Balaji, Pavan
Did you make some modifications to the kernel? Probably it's become unstable. Did you try to boot it in some other kernel? Pavan Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: george rousson [mailto:[EMAIL PROTECTED]] > Sent: Sa

RE: make buildworld error

2002-07-21 Thread Balaji, Pavan
libpam -- the 'cause of the error is not installed by the standard installation settings in FreeBSD 4.6. You need to either use completer installation from the CD or remove libpam from the Makefile in /usr/src/lib -- I used the second one, and it hasn't given any problems so far. Pavan Balaji,

RE: giving priority to udp over tcp?

2002-07-18 Thread Balaji, Pavan
TCP traffic as such does not get any priority over UDP traffic, but the way in which the TCP messages are sent (Data Streaming) is different from the way UDP messages are sent (Datagram). In essense, UDP messages wait till there's enough space for the entire message before the message is added t

RE: Error mounting cdrom

2002-07-18 Thread Balaji, Pavan
y 18, 2002 9:23 AMTo: Balaji, PavanSubject: RE: Error mounting cdromHi, In a not too recent posting you said   > Date: Tue., 9 Jul 2002 21:20:03 -0700 > From: "Balaji, Pavan" <[EMAIL PROTECTED]> > Subject: RE: Error mounting cdrom. > &

RE: help !!!

2002-07-18 Thread Balaji, Pavan
Is this printer on the network, or a local setup? If it is on the network -- check if your/it's IP address, etc are configured correctly. Are you able to access other machines from your machine? Are other machines able to access the printer? If it's a local setup == check dmesg for peripheral d

RE: /cdrom for normal users?

2002-07-18 Thread Balaji, Pavan
By default, cdrom is /dev/acd0c is only mountable by root in FreeBSD. You can make it mountable by normal users by changing the /etc/fstab entry to users,ro,noauto /dev/acd0c /cdrom cd9660 users,ro,noauto 0 0 Pavan Balaji, Intel Corporation "Only the Paranoid

RE: ssh problem

2002-07-17 Thread Balaji, Pavan
The reason why this output would have come up is that you might have initialized the system to use the S/Key one time passwords -- probably using keyinit. I don't know exactly how to get rid of the problem (I myself have it too), but you can set the password to your login password using keyinit

RE: Question on order and targets of kernel and world builds

2002-07-17 Thread Balaji, Pavan
Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Kevin Kinsey, DaleCo, S.P. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 10:51 AM > To: Brian T.Schellenberger; parv; John Mills > Cc: Balaji,

RE: Question on order and targets of kernel and world builds

2002-07-16 Thread Balaji, Pavan
"make buildworld" -- builds the kernel and the libraries (both kernel and user level) "make buildkernel" -- builds only the kernel You can build kernels with different configuration files using "make buildkernel KERNCONF=". Once you do the 'build', the kernel image is stored as /kernel More in

RE: tcsh: list of all files when pressing tab

2002-07-16 Thread Balaji, Pavan
What's the bash equivalent for "bindkey"? Pavan Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Balaji, Pavan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 3:26 PM > To: 

RE: tcsh: list of all files when pressing tab

2002-07-16 Thread Balaji, Pavan
Is there somewhere I can get the key names to use with bindkey? Pavan Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Roger P. Johnson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 3:00 PM > Cc: [EMAIL PROTECTED] > Su

RE: su to root

2002-07-16 Thread Balaji, Pavan
If you read the 'su' manpage, it says that IF the group '0', which usually corresponds to the 'wheel' group is missing, any user can use 'su'. I don't want to try removing group '0' on my machine, 'cause I'm pretty sure my 'root' account (and all the other accounts in the wheel group will be usel

RE: Unable to compile the kernel

2002-07-15 Thread Balaji, Pavan
means that you have decided to see beyond the imperfections" -- Rash > -Original Message- > From: Brian T.Schellenberger [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 11:23 PM > To: Balaji, Pavan; '[EMAIL PROTECTED]'; > [EMAIL PROTECTED] >

RE: Unable to compile the kernel

2002-07-15 Thread Balaji, Pavan
--Original Message- > From: Warren Block [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 6:45 PM > To: Balaji, Pavan > Cc: [EMAIL PROTECTED] > Subject: RE: Unable to compile the kernel > > > On Mon, 15 Jul 2002, Balaji, Pavan wrote: > > > I suspect some d

RE: Unable to compile the kernel

2002-07-15 Thread Balaji, Pavan
esn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash > -Original Message- > From: Fernando Gleiser [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 1:36 PM > To: Balaji, Pavan > Cc: [EMAIL P

RE: Unable to compile the kernel

2002-07-15 Thread Balaji, Pavan
> > I added a system call to the FreeBSD-4.6 kernel and > compiled the kernel, > > it compiled properly. Now, in my new kernel, if I try to make some > > changes in the system call (very minor changes) and recompile the > > kernel, it gives a compilation error and stops. > > Which error? No fix

Unable to compile the kernel

2002-07-15 Thread Balaji, Pavan
I added a system call to the FreeBSD-4.6 kernel and compiled the kernel, it compiled properly. Now, in my new kernel, if I try to make some changes in the system call (very minor changes) and recompile the kernel, it gives a compilation error and stops. I removed all the changes I had made and tr

RE: argc/argv in bash!

2002-07-14 Thread Balaji, Pavan
IL PROTECTED]] > Sent: Sunday, July 14, 2002 3:05 PM > To: Balaji, Pavan > Cc: '[EMAIL PROTECTED]' > Subject: Re: argc/argv in bash! > > > On 2002-07-14 12:53 +, Balaji, Pavan wrote: > > > > How do we use argc and argv (C like) in bash script

RE: rsh not working

2002-07-14 Thread Balaji, Pavan
rsity "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash > -Original Message- > From: Jonathan Chen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 14, 2002 2:39 PM > To: Balaj

argc/argv in bash!

2002-07-14 Thread Balaji, Pavan
How do we use argc and argv (C like) in bash scripts? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash To Unsubscribe: send mail to [EMAIL PROTECTED

RE: rsh not working

2002-07-14 Thread Balaji, Pavan
that you have decided to see beyond the imperfections" -- Rash > -Original Message- > From: Simon Dick [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 14, 2002 1:56 PM > To: Balaji, Pavan > Cc: '[EMAIL PROTECTED]' > Subject: Re: rsh not working &

rsh not working

2002-07-14 Thread Balaji, Pavan
I'm not able to get rsh or telnet to work on my FreeBSD box (however ssh works fine). Is there some file I need to edit to get this to work? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you have decided to

RE: as(1) make error on make buildworld

2002-07-13 Thread Balaji, Pavan
I had a similar problem with libpam where the compiler wasn't able to recognise the inline command. I removed it's entry from my makefile for the time being. If you do figure out what the problem is, please post it on the group. Thanx! Pavan Balaji, CIS Graduate Student, Ohio State University

RE: Library functions

2002-07-13 Thread Balaji, Pavan
ED]] > Sent: Saturday, July 13, 2002 3:35 AM > To: Balaji, Pavan > Cc: '[EMAIL PROTECTED]' > Subject: Re: Library functions > > > > From: "Balaji, Pavan" <[EMAIL PROTECTED]> > > To: "'[EMAIL PROTECTED]'" > <[EMAI

Library functions

2002-07-13 Thread Balaji, Pavan
I was having some problem adding a new library call in FreeBSD. I added a simple library function in /usr/src/lib/libc/net and did a "make buildworld" on /usr/src. It compiled properly, but I'm not able to use the library call in my programs. Am I doing something wrong? Here's the file added to

RE: need help configuring X

2002-07-12 Thread Balaji, Pavan
There was a similar question posted this morning. The solution turned out that FreeBSD wasn't able to detect the Monitor Horizontal and Vertical syncs. Try setting them manually, maybe yours might work too. :-) Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean

One more question on System Calls

2002-07-12 Thread Balaji, Pavan
I have now been able to add my own system call, but right now, I'm able to access it only through the system(param) command. How do I let my program directly call the function? For example if my system call is: mycall (void) with a syscall number as 300. Right now I'm able to call this from my

RE: Problem adding new system call!!

2002-07-12 Thread Balaji, Pavan
; -Original Message- > From: Adam Weinberger [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 1:41 PM > To: Balaji, Pavan > Cc: 'Adam Weinberger'; [EMAIL PROTECTED] > Subject: Re: Problem adding new system call!! > > > >> (07.12.2002 @ 1134 PST)

RE: Problem adding new system call!!

2002-07-12 Thread Balaji, Pavan
University "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash > -Original Message- > From: Adam Weinberger [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 1:24 PM > To:

RE: Problem adding new system call!!

2002-07-12 Thread Balaji, Pavan
I added a header file which prototypes the system call. Btw, I forgot to mention that I changed the libc/sys/Makefile.inc file to add the system call stub too. But, no good!! :-( Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect...

RE: XFree86 4.2 screen resolutions

2002-07-12 Thread Balaji, Pavan
Also, where are you copying the newly created XF86Config files? FreeBSD used to let me copy them to a number of locations, but the current version works only if I copy it to /etc/X11 (don't know if the case is the same with the others too). Pavan Balaji, CIS Graduate Student, Ohio State Univer

RE: XFree86 4.2 screen resolutions

2002-07-12 Thread Balaji, Pavan
Not too sure, but try this: Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" DefaultDepth 24 DefaultModes"1024x768" <--- Added this SubSection "Display" Depth 24

RE: http site

2002-07-12 Thread Balaji, Pavan
No. http//www.freebsd.org has no http mirrors to download FreeBSD. You have only ftp mirrors out there. Why do you need a http mirror anyway? Something you can't do with a ftp mirror? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfec

RE: bootloader

2002-07-11 Thread Balaji, Pavan
I'm not too sure about this. My impression was that all bootloaders (including grub) load themselves into the primary disk -- do you have an option to specify which harddisk you want to load to. Infact that's the reason why most (if not all) Operating Systems need the primary partition to be on t

RE: bootloader

2002-07-11 Thread Balaji, Pavan
  The bootloader is always installed on the primary harddisk! Infact the primary partition of FreeBSD also is installed on the primary harddisk. This is my guess, maybe I'm wrong -- Run cfdisk on linux as root -- you might find some FreeBSD partition. Delete it! (or convert to linux native).