Re: Experimental FreeBSD and Linux kernel source cross reference web site

2003-10-30 Thread Hiten Pandya
Robert Watson (Wed, Oct 29, 2003 at 11:18:51PM -0500) wrote:
 
 In the past when browsing the Linux source code, I've made extensive use
 of the Linux Cross-Reference (LXR) hosted at lxr.linux.no.  This web site
 provides a cross-referenced and searchable HTML interface to the Linux
 source code; you can perform freetext and identifier searches, check
 differences between revisions, etc.  For FreeBSD, we provide a cvsweb
 interface that is extremely useful for tracking changes, but a little less
 useful for raw browsing when you're looking for use of an identifier. In
 the past, CMU's PDL (and possibly others) have provided FreeBSD
 cross-reference web pages, but I was unable to find one once that site
 went down.  As such, I've experimentally set up the LXR software with
 access to several branches of the FreeBSD source code, as well as 2.4 and
 2.6 Linux kernels at: 
 
 http://fxr.watson.org/
 

Thank you very very much! ;-)

Atlast, someone got to it.  I have been wanting to setup LXR for
DragonFly for quite some time now, but did not have enough time
on my hands to mess with it.  Does it require any sort of
patching for it to work on FreeBSD ?  I recall it requires MySQL
and some other stuff..

Regards,

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


Re: tcp_output starving -- is due to mbuf get delay?

2003-04-12 Thread Hiten Pandya
[ cross post to hackers removed, thanks ]

Mike Silbersack (Thu, Apr 10, 2003 at 11:44:42AM -0500) wrote:
 
 On Thu, 10 Apr 2003, Borje Josefsson wrote:
 
  What we did in NetBSD (-current) was to increase IFQ_MAXLEN in (their)
  sys/net/if.h, apart from that it's only traditional TCP tuning.
 
  My hosts are connected directly to core routers in a 10Gbps nationwide
  network, so if anybody is interested in some testing I am more than
  willing to participate. If anybody produces a patch, I have a third system
  that I can use for piloting of that too.
 
  --B?rje
 
 This brings up something I've been wondering about, which you might want
 to investigate:
 
 From tcp_output:
 
   if (error == ENOBUFS) {
   if (!callout_active(tp-tt_rexmt) 
 !callout_active(tp-tt_persist))
   callout_reset(tp-tt_rexmt, tp-t_rxtcur,
   tcp_timer_rexmt, tp);
   tcp_quench(tp-t_inpcb, 0);
   return (0);
   }
 
 That tcp_quench knocks the window size back to one packet, if I'm not
 mistaken.  You might want to put a counter there and see if that's
 happening frequently to you; if so, it might explain some loss of
 performance.

Maybe something like this:

%%%
Index: sys/netinet/tcp_output.c
===
RCS file: /home/ncvs/src/sys/netinet/tcp_output.c,v
retrieving revision 1.78
diff -u -r1.78 tcp_output.c
--- sys/netinet/tcp_output.c19 Feb 2003 22:18:05 -  1.78
+++ sys/netinet/tcp_output.c12 Apr 2003 19:52:31 -
@@ -930,6 +930,7 @@
 !callout_active(tp-tt_persist))
callout_reset(tp-tt_rexmt, tp-t_rxtcur,
   tcp_timer_rexmt, tp);
+   tcpstat.tcps_selfquench++;
tcp_quench(tp-t_inpcb, 0);
return (0);
}
Index: sys/netinet/tcp_var.h
===
RCS file: /home/ncvs/src/sys/netinet/tcp_var.h,v
retrieving revision 1.88
diff -u -r1.88 tcp_var.h
--- sys/netinet/tcp_var.h   1 Apr 2003 21:16:46 -   1.88
+++ sys/netinet/tcp_var.h   12 Apr 2003 19:52:31 -
@@ -394,6 +394,8 @@
u_long  tcps_sc_zonefail;   /* zalloc() failed */
u_long  tcps_sc_sendcookie; /* SYN cookie sent */
u_long  tcps_sc_recvcookie; /* SYN cookie received */
+
+   u_long  tcps_selfquench;/* self-quench count */
 };
 
 /*
Index: usr.bin/netstat/inet.c
===
RCS file: /home/ncvs/src/usr.bin/netstat/inet.c,v
retrieving revision 1.58
diff -u -r1.58 inet.c
--- usr.bin/netstat/inet.c  2 Apr 2003 20:14:44 -   1.58
+++ usr.bin/netstat/inet.c  12 Apr 2003 19:52:32 -
@@ -389,6 +389,7 @@
p(tcps_sndprobe, \t\t%lu window probe packet%s\n);
p(tcps_sndwinup, \t\t%lu window update packet%s\n);
p(tcps_sndctrl, \t\t%lu control packet%s\n);
+   p(tcps_selfquench, \t\t%lu send%s resulting in self-quench\n);
p(tcps_rcvtotal, \t%lu packet%s received\n);
p2(tcps_rcvackpack, tcps_rcvackbyte, \t\t%lu ack%s (for %lu byte%s)\n);
p(tcps_rcvdupack, \t\t%lu duplicate ack%s\n);
%%%

Cheers.

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


pmap_wired_count() macro?

2003-03-18 Thread Hiten Pandya
Hi Gang.

Can someone enlighten me as to where I can find the
pmap_wired_count() macro? I have tried a quick grep
through sys but I am not able to find where it is.

I ask this because I was browsing through our mlock()
implementation and the 'ifndef pmap_wired_count' and
was wondering what it did.  I do have an idea what this
macro would do, but I just failed to find it in our src
tree.

Thanks in advance.

  -- Hiten

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


Re: Disk scheduling in FreeBSD

2003-02-28 Thread Hiten Pandya
[EMAIL PROTECTED] (Thu, Feb 27, 2003 at 06:12:29PM +0100) wrote:
 In message [EMAIL PROTECTED],  writes:
 Hello gang.
 
 Does anyone know what kind of `Disk Scheduling' algorithm,
 if any, is used in FreeBSD?
 
 One way elevator sort.

Thanks for the interesting reply, phk@ and all.

Cheers.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


Re: scan_ffs for UFS2

2003-02-24 Thread Hiten Pandya
Michael Ranner (Sun, Feb 23, 2003 at 03:40:20PM +0100) wrote:
 Am Freitag, 21. Februar 2003 22:38 schrieben Sie:
  At 10:20 PM +0100 2/19/03, Michael Ranner wrote:
 
  For what it's worth, we (FreeBSD) have a simple SuperBlock recovery
  program in /usr/src/tools/tools/find-sb.  I picked up some updates
  from Dave Cross for that, and have a few more of my own.  I just
  have to sit down and get them all together into a single version.
  I don't know how find-sb compares to the program you're talking
  about, but they sound kind of similar.
 
 Scan_ffs can print the lost disklabel for use with disklabel(8).
 Find-sb, that version from cvs, seems only to print info about
 the superblocks of each file system and you have to rebuild the
 lost disklabel for your self. I was on the search for a simple
 tool for everybody, and found scan_ffs several months ago
 in the OpenBSD distribution (so it seems find-sb was like
 reinventing the wheel) and Robert Watson suggested in a posting
 december last year to adopt scan_ffs for UFS2. IMHO we should
 reuse a already written program with existing man pages, so
 we have the same sounding tools for the same tasks.
 
 I don't know what find-sb could do with your patches applied.
 If it's superior to scan_ffs, we can forget scan_ffs.

FWIW, I did make scan_ffs work with UFS2 at one point in time, but I
lost my stuff in a disk crash.  It's a pretty good utility with good
documentation.  The only thing you need to worry about in the scan_ffs
code is the opendisk() routine, or something like that, but it shouldn't
be hard.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


Re: about kern/47512: LOR? help needed (fwd)

2003-02-21 Thread Hiten Pandya
Friedemann Becker (Fri, Feb 21, 2003 at 12:22:14PM +0100) wrote:
 I try to get the clue about this mutex lock thing, but I think, I just
 don't understand right what the different types of locks are used for.

John Baldwin has written a fine paper on locking in the FreeBSD kernel.
It explains everything clearly:

http://www.usenix.org/events/bsdcon02/baldwin.html

Also checkout the mutex(9) manual page.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: ACPI: working ACPI vs broken ACPI

2003-02-16 Thread Hiten Pandya
On Sat, Feb 15, 2003 at 08:27:45PM -0600, Mike Silbersack wrote the words in effect of:
 
 On Sat, 15 Feb 2003, Martin Blapp wrote:
 
  Feb 13 17:41:05 ibm-01 kernel: ACPI-0625: *** Info: GPE Block0 defined as GPE0
  to GPE31
  Feb 13 17:41:05 ibm-01 kernel: ACPI-0625: *** Info: GPE Block1 defined as GPE32
  to GPE63
 
 I see similar errors on my Presario 2100US...

  Wild guess: Seem to result from this. If I'm looking at NetBSD's
  http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/acpi/acpi_ec.c they
  have a lot done since they took acpi from us. I'm sure it works
  for netbsd.
 
  Is anybody working on this ?
 
  Martin
 
 I've been trying to load that URL since yesterday, but it's not working
 from here.  Can you elaborate on what it does?

Try the following URL:

- http://cvsweb.no.netbsd.org/bsdweb.cgi/src/sys/dev/acpi/acpi_ec.c

Cheers.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Help with understanding process state, context switching and

2003-02-07 Thread Hiten Pandya
On Fri, Feb 07, 2003 at 03:35:15PM +0200, Andrey Simonenko wrote the words in effect 
of:
 On Thu, Feb 06, 2003 at 10:50:28AM -0800, Julian Elischer wrote:
 In this case, as I understand, I need to modify some parts of the kernel.
 What is IP ?

I think Julian meant IPI (Inter-Processor Interrupt), basically, a way
of communicating with other CPUs in an x86 SMP system.  They allow you
to 'interrupt any other processor or set of processors' [1] -- This
guide should give you a lot of valuable information regarding IPIs and
basic SMP stuff.  More details on SMP can be found in [2] for x86s.

Cheers.

[1] - IA-32 Intel(R) Architecture Software Developer's Manual
  Volume 3: System Programming Guide.  Available from:
  http://developer.intel.com/

[2] - Intel(R) MultiProcessor Specification.  Available from:
  http://developer.intel.com/


-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Anyone with an lge(4) NIC?

2002-12-23 Thread Hiten Pandya
Hi all.

Is there anyone outthere who has a NIC which uses the lge(4) device
driver? Contact me by private email if you are willing to test some
patches for this driver.

Cheers.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: FEC doesn't build on 5.0

2002-12-21 Thread Hiten Pandya
 Hello
 
 Heither of the original (http://people.freebsd.org/~wpaul/FEC/) not
 the in tree FEC implementations build.

Hi there.  The reason it doesn't build is because, the ng_fec was
somehow left out when Sam Leffler was making changes to the
ether_if{de,at}tach() and bpf interfaces.  Anyway, a complete fix, which
should be committed is attached with this mail.

Also, I believe you have used the implementation from wpaul's website.
Could you try using the `in-tree' version of the FEC Netgraph driver,
because many of the ifnet_addrs* related problems have been resolved in
it by julian@.

Cheers.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

Index: netgraph/ng_fec.c
===
RCS file: /home/hiten/ncvs/src/sys/netgraph/ng_fec.c,v
retrieving revision 1.2
diff -u -r1.2 ng_fec.c
--- netgraph/ng_fec.c   1 Nov 2002 23:09:15 -   1.2
+++ netgraph/ng_fec.c   21 Dec 2002 22:34:27 -
@@ -188,6 +188,10 @@
 static voidng_fec_print_ioctl(struct ifnet *ifp, int cmd, caddr_t data);
 #endif
 
+/* ng_ether_input_p - see sys/netgraph/ng_ether.c */
+extern void (*ng_ether_input_p)(struct ifnet *ifp, struct mbuf **mp,
+   struct ether_header *eh);
+
 /* Netgraph methods */
 static ng_constructor_tng_fec_constructor;
 static ng_rcvmsg_t ng_fec_rcvmsg;
@@ -760,7 +764,7 @@
mh.mh_next = m;
mh.mh_data = (char *)eh;
mh.mh_len = ETHER_HDR_LEN;
-   bpf_mtap(bifp, (struct mbuf *)mh);
+   BPF_MTAP(bifp, (struct mbuf *)mh);
}
 
return;
@@ -977,8 +981,7 @@
if (m0 == NULL)
return;
 
-   if (ifp-if_bpf)
-   bpf_mtap(ifp, m0);
+   BPF_MTAP(ifp, m0);
 
/* Queue up packet on the proper port. */
error = ng_fec_choose_port(b, m0, oifp);
@@ -1097,7 +1100,7 @@
ng_ether_input_p = ng_fec_input;
 
/* Attach the interface */
-   ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
+   ether_ifattach(ifp, priv-arpcom.ac_enaddr);
callout_handle_init(priv-fec_ch);
 
TAILQ_INIT(b-ng_fec_ports);
@@ -1190,7 +1193,7 @@
 
if (ng_ether_input_p != NULL)
ng_ether_input_p = NULL;
-   ether_ifdetach(priv-arpcom.ac_if, ETHER_BPF_SUPPORTED);
+   ether_ifdetach(priv-arpcom.ac_if);
ifmedia_removeall(priv-ifmedia);
ng_fec_free_unit(priv-unit);
FREE(priv, M_NETGRAPH);
Index: modules/netgraph/fec/Makefile
===
RCS file: /home/hiten/ncvs/src/sys/modules/netgraph/fec/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- modules/netgraph/fec/Makefile   29 Oct 2002 19:12:44 -  1.1
+++ modules/netgraph/fec/Makefile   21 Dec 2002 22:57:09 -
@@ -4,7 +4,7 @@
 SRCS=  ng_fec.c opt_inet.h opt_inet6.h
 #MAN4= ng_fec.4
 NOMAN= yes
-KMODDEPS=  netgraph
+MODULE_DEPEND= netgraph
 
 CFLAGS +=  -DINET -DINET6
 



System-wide totals via sysctl (struct vmtotal)

2002-12-08 Thread Hiten Pandya
Hello Gang!

Currently, people, the vm.vmmeter sysctl is bogus and misleading.  It
refers to struct vmtotal, which gives us the system wide totals, and
does not relate/refer to struct vmmeter in _any_ way.

It is silently skipped by sysctl -a listing, because there is no handler
for it:

   # sysctl vm.vmmeter  # nothing returned...
   # sysctl -ao vm.vmmeter
   vm.vmmeter: Format:S,vmtotal Length:48 Dump: 

It has been this from the days of 3.0-CURRENT, and earlier, I think. PR
kern/5689 addressed this problem.  Johan Karlsson assigned this PR to
phk@ in 2000 (submitted: 1998), but no action was taken by anyone anyway, 
and eventually, patch was left to rot.

Well, I have updated the patch for 3.0-CURRENT, for our latest -current,
and also made one more change vmmeter-vmtotal, as requested in the PR.
The patches are attached with this mail.  I would be very grateful is
someone can commit (and review) them for me.

Cheers.

P.S. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/5689

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

Index: sbin/sysctl/sysctl.c
===
RCS file: /home/ncvs/src/sbin/sysctl/sysctl.c,v
retrieving revision 1.48
diff -u -r1.48 sysctl.c
--- sbin/sysctl/sysctl.c2002/11/12 21:18:21 1.48
+++ sbin/sysctl/sysctl.c2002/12/08 14:58:56
@@ -54,6 +54,7 @@
 #include sys/resource.h
 #include sys/stat.h
 #include sys/sysctl.h
+#include sys/vmmeter.h
 
 #include ctype.h
 #include err.h
@@ -323,6 +324,29 @@
 }
 
 static int
+S_vmtotal(int l2, void *p)
+{
+   struct vmtotal *v = (struct vmtotal *)p;
+
+   if (l2 != sizeof(*v)) {
+   warnx(S_vmtotal %d != %d, l2, sizeof(*v));
+   return (0);
+   }
+
+   printf(\nSystem wide totals computed every five seconds:\n);
+   printf(===\n);
+   printf(Processes: (RUNQ:\t %hu Disk Wait: %hu Page Wait: %hu Sleep: %hu)\n,
+   v-t_rq, v-t_dw, v-t_pw, v-t_sl);
+   printf(Virtual Memory:\t\t (Total: %hu Active %hu)\n, v-t_vm, v-t_avm);
+   printf(Real Memory:\t\t (Total: %hu Active %hu)\n, v-t_rm, v-t_arm);
+   printf(Shared Virtual Memory:\t (Total: %hu Active: %hu)\n, v-t_vmshr, 
+v-t_avmshr);
+   printf(Shared Real Memory:\t (Total: %hu Active: %hu)\n, v-t_rmshr, 
+v-t_armshr);
+   printf(Free Memory Pages:\t %hu\n, v-t_free);
+   
+   return (0);
+}
+
+static int
 T_dev_t(int l2, void *p)
 {
dev_t *d = (dev_t *)p;
@@ -587,6 +611,8 @@
func = S_timeval;
else if (strcmp(fmt, S,loadavg) == 0)
func = S_loadavg;
+   else if (strcmp(fmt, S,vmtotal) == 0)
+   func = S_vmtotal;
else if (strcmp(fmt, T,dev_t) == 0)
func = T_dev_t;
else
Index: sys/vm/vm_meter.c
===
RCS file: /home/ncvs/src/sys/vm/vm_meter.c,v
retrieving revision 1.66
diff -u -r1.66 vm_meter.c
--- sys/vm/vm_meter.c   2002/10/02 20:31:47 1.66
+++ sys/vm/vm_meter.c   2002/12/08 14:59:01
@@ -222,7 +222,7 @@
return(error);
 }
 
-SYSCTL_PROC(_vm, VM_METER, vmmeter, CTLTYPE_OPAQUE|CTLFLAG_RD,
+SYSCTL_PROC(_vm, VM_TOTAL, vmtotal, CTLTYPE_OPAQUE|CTLFLAG_RD,
 0, sizeof(struct vmtotal), vmtotal, S,vmtotal, 
 System virtual memory statistics);
 SYSCTL_NODE(_vm, OID_AUTO, stats, CTLFLAG_RW, 0, VM meter stats);
Index: sys/vm/vm_param.h
===
RCS file: /home/ncvs/src/sys/vm/vm_param.h,v
retrieving revision 1.15
diff -u -r1.15 vm_param.h
--- sys/vm/vm_param.h   2001/10/10 23:06:54 1.15
+++ sys/vm/vm_param.h   2002/12/08 14:59:02
@@ -76,7 +76,7 @@
 /*
  * CTL_VM identifiers
  */
-#defineVM_METER1   /* struct vmmeter */
+#defineVM_TOTAL1   /* struct vmtotal */
 #defineVM_LOADAVG  2   /* struct loadavg */
 #define VM_V_FREE_MIN  3   /* cnt.v_free_min */
 #define VM_V_FREE_TARGET   4   /* cnt.v_free_target */
@@ -91,7 +91,7 @@
 
 #define CTL_VM_NAMES { \
{ 0, 0 }, \
-   { vmmeter, CTLTYPE_STRUCT }, \
+   { vmtotal, CTLTYPE_STRUCT }, \
{ loadavg, CTLTYPE_STRUCT }, \
{ v_free_min, CTLTYPE_INT }, \
{ v_free_target, CTLTYPE_INT }, \
Index: usr.bin/systat/vmstat.c
===
RCS file: /home/ncvs/src/usr.bin/systat/vmstat.c,v
retrieving revision 1.52
diff -u -r1.52 vmstat.c
--- usr.bin/systat/vmstat.c 2002/06/06 23:01:50 1.52
+++ usr.bin/systat/vmstat.c 2002/12/08 14:59:05
@@ -784,7 +784,7 @@
 
size = sizeof(ls-Total);
mib[0] = CTL_VM;
-   mib[1] = VM_METER;
+   mib[1] = VM_TOTAL;
if (sysctl(mib, 2, ls-Total, size, NULL, 0)  0

Re: documentation on kernel locks, mutexes?

2002-12-01 Thread Hiten Pandya
--- Terry Lambert [EMAIL PROTECTED] wrote:
 I was thinking more in terms of device driver information.  All
 of the how to write a driver for newbus, how to write a CAM
 driver, how to use devfs from the kernel, what XXX to do in
 FreeBSD, given YYY in Linux, how to port a driver from Linux
 to FreeBSD, etc., are missing.

Well, there is a chapter, that gives a good introduction to newbus 
in the Developers Handbook.  IMHO, it gives enough pointers to the 
reader, so he can begin his journey on Newbus Avenue.

I will continue documenting it, as I learn more.  Once my exams are 
over, I will start looking into how ACPI affects Newbus etc, and 
things like that.  We lack information on bus_space(9) and 
bus_dma(9), the latter one is mostly finished, and I will resume on 
it, as time permits. URL:
http://www.FreeBSD.ORG/doc/en/books/developers-handbook/newbus.html

	on -CURRENT:
	# apropos 9 | less

Indicates that we have a good deal of manual pages, which document 
kernel interfaces.  Its just a matter of someone putting their time 
in documenting it for the Developers-Handbook.  Thanks to Doug 
Rabson for the excellent set of VFS manual pages and many others! 
FWIW, there is a doc, somewhere on the net, in which R. Watson has 
documented the VOP table, which is better than nothing.

Regarding what XXX to do in FreeBSD, given YYY in Linux, is quite 
a difficult topic to cover, because, documenting each opposite will 
take us centuries.  Although, documenting FreeBSD-Linux VFS is one 
of the simple things.

No comment on your last one. :-)

 While it's true that kernel locks and mutexes are documented for
 SMPng, he posted to -hackers, not -current, and so he's probably
 not interested in -current primitives that aren't available in
 the 4.x -RELEASE and -STABLE branches.

Erm.  IIRC, there is documentation lockmgr(), lockinit(), 
lockdestroy() etc. in -STABLE.

Also, make sure you read the paper, available at the following URL:
http://www.lemis.com/~grog/SMPng/

--
Hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


SMBFS uses incorrect field for process identification.

2002-11-24 Thread Hiten Pandya
Hello there.

The SMBFS build fails miserably, if SMB_VNODE_DEBUG is defined.  It
fails in smbfs_vnops.c, line 255.  Only in -CURRENT.  This is, because
it enquires the wrong / inexistent field (struct thread)-td_pid.

I am submitting a teeny weeny delta, which changes this, to use the
correct field, which is: (struct thread)-td_proc-p_pid.  You can get
justification for this, by:

# cd /sys/fs/smbfs
# cvs log -r1.13 smbfs_vnops.c

  
  revision 1.13
  date: 2001/12/02 08:56:58;  author: bp;  state: Exp;  lines: +66 -65
  Catch up with KSE changes.
  
  Submitted by:   Max Khon [EMAIL PROTECTED]
  

# cvs diff -u -r1.12 -r1.13 smbfs_vnops.c

%-- (extract from the diff)
- SMBVDEBUG(name=%s, pid=%d, c=%d\n,np-n_name, p-p_pid, np-n_opencount);
+ SMBVDEBUG(name=%s, pid=%d, c=%d\n,np-n_name, td-td_pid, np-n_opencount);
--%

Fix is attached.  I have tested it with build/ and it works.
Debug extract:

smbfs_closel: name=TheRooT, pid=927, c=1

Cheers.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

Index: smbfs_vnops.c
===
RCS file: /home/ncvs/src/sys/fs/smbfs/smbfs_vnops.c,v
retrieving revision 1.24
diff -u -r1.24 smbfs_vnops.c
--- smbfs_vnops.c   2002/09/26 14:07:43 1.24
+++ smbfs_vnops.c   2002/11/24 11:43:06
@@ -252,7 +252,7 @@
struct vattr vattr;
int error;
 
-   SMBVDEBUG(name=%s, pid=%d, c=%d\n,np-n_name, td-td_pid, np-n_opencount);
+   SMBVDEBUG(name=%s, pid=%d, c=%d\n,np-n_name, td-td_proc-p_pid, 
+np-n_opencount);
 
smb_makescred(scred, td, ap-a_cred);
 



Re: if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraphcouldbe a router also)

2002-11-20 Thread Hiten Pandya
[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hiten Pandya wrote:


On Tue, Nov 19, 2002 at 02:32:00PM -0800, Terry Lambert wrote the words in effect of:


I asked that someone with an if_ti test it first, and report
back to me.  As far as I know, no one has tested it yet, or
if they have, they're not talking.

I don't personally own an if_ti at this point.


Right.


Seriously.  I don't own one.



[double take]

toneofvoice=play nicely boys

I don't think Hiten was questioning that.  Rather he was acknowledging your statement.

Oh, right. may have conveyed his meaning a little better.

/toneofvoice

ttfn,
Tony




Hehe.  I was not being sarcastic.  I just acknoledged your statement.  The 
reason I asked about committing the patch in the first place, is because I 
thought that the patch had been around on the -net@ list, and had been reviewed.

My apologies.

--
Hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


Re: if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraphcouldbe a router also)

2002-11-20 Thread Hiten Pandya
On Wed, Nov 20, 2002 at 09:20:17AM -0800, Terry Lambert wrote the words in effect of:
 Hiten Pandya wrote:
  Hehe.  I was not being sarcastic.  I just acknoledged your statement.  The
  reason I asked about committing the patch in the first place, is because I
  thought that the patch had been around on the -net@ list, and had been reviewed.
  
  My apologies.
 
 It's been around on the list for a while, but if it's working for
 the people involved, they are not saying anything.
 
 Last I heard, the person who had the problem had tried the Intel
 Gigabit card, but not the Tigon III, but was looking for a Gigabit
 card recommendation.
 
 I suppose I could make the same patch for the Intel card.
 
 The problem is that DEVICE_POLLING is an all-or-nothing thing,
 you can't control it on a card-by-card basis, even with a
 sysctl, because it fills out an entry point that's statically,
 rather than procedurally initialized.
 
 Basically, that means that the worst case, you could not turn
 it on for cards that are known to work, if the patch fails to
 work for the Tigon III.
 
 If someone with a Tigon III card could try the patch with the
 DEVICE_POLLING option enabled, and device polling turned on,
 and let us know that the card keeps functioning, rather than
 them getting a panic, then that would be enough, I think, to
 say commit it.

I think the Device Polling sysctls will need tuning, if I am
thinking straightly. No?

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraphcouldbe a router also)

2002-11-20 Thread Hiten Pandya
Don Bowman wrote:

From: Terry Lambert [mailto:[EMAIL PROTECTED]]
Don Bowman wrote:


Is there any point to using device polling with the tigon 3
(broadcom 570x etc)? It has a pretty good interrupt reducer in it
by itself.
Just tune the 2 rx and the 2 tx parameters and you get a constant
interrupt rate with good latency for any packet rate.


This is hardware interrupt coelescing.  It is a totally seperate
thing.

The point of DEVICE_POLLING is to avoid the receiver livelock
case, when you are under extreme load.

What this probably means is that you haven't put enough load
on the hardware to see the livelock case.




Actually I have pushed it to the livelock case. I'm shocked at how
easy this is to do with BSD (I'm used to system like vxworks with
much lower over head interrupt processing).
I found that for a 2x XEON @ 2GHz that I can achieve this @ ~100Mbps
of minimal size UDP fragments. Tuning the driver dramatically improved
the situation. Reducing the size of its receive ring to the proper
amount also helps since it will then run out of buffers and
drop packets.  This isn't extreme load, it isn't really particularly
heavy load, its only like ~200Kpps. I suspect the defragmenting
is the issue, so I tried it again with ARP's. This helped a lot.

I'm still not clear on how the receiver polling helps me, it also
makes a constant rate consumption of packets. If I set the bds 
to the max, then I will only be interrupted @ constant rate by 
the device.

Thanks to Luigi for writing a nice manual page on Device Polling 
operation.  It explains most of the things clearly.  There is also 
something about tuning the HZ kernel configuration option.  FYI, the 
manual page is polling(4).

For more information, and Frequently Asked Questions, checkout the 
following Luigi's homepage: http://info.iet.unipi.it/~luigi/polling/

Cheers.

--
Hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraph couldbe a router also)

2002-11-19 Thread Hiten Pandya
: We're definately livelocking with the fxps.  I'd be interested in your
: patches for the GigE drivers.

[ CC list trimmed ]

 The if_ti patches to add polling support are:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=407328+0+archive/2002/freebsd-net/20021013.freebsd-net

Just wondering, if it works, did you submit the patch as a PR, or asked 
someone to commit them for you?  Some people may find it useful.

Cheers.

--
Hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message


Re: if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraph couldbe a router also)

2002-11-19 Thread Hiten Pandya
On Tue, Nov 19, 2002 at 02:32:00PM -0800, Terry Lambert wrote the words in effect of:
 I asked that someone with an if_ti test it first, and report
 back to me.  As far as I know, no one has tested it yet, or
 if they have, they're not talking.
 
 I don't personally own an if_ti at this point.
 
 -- Terry

Right.

-- 
Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED])
http://www.unixdaemons.com/~hiten/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: gethostbyname_r() fbsd equiv?

2002-09-27 Thread Hiten Pandya

On Fri, Sep 13, 2002 at 09:01:45AM -0700, Terry Lambert wrote the words in effect of:
 Terry Lambert wrote:
  Jev wrote:
   Im trying to build some software on freebsd, which wants to use
   the thread safe gethostbyname_r(). Despite having very bad C skills im
   going to attempt to patch it. What would I use in place of
   gethostbyname_r() on freebsd?
  
  Do you need the real gethostbyname_r(), or do you need the
  bastardized Linux version?  The real version has the prototype:
 
 In case anyone cares, it's the pre-knowing the buffer size, with
 no ability to return partial results and at the same time indicate
 the buffer is to short, and the h_errno pointer and the return
 of the hostent structure whose address was passed, rather than an
 int, that I object to in the Linux interface.
 
 And yes, I know it matches the Solaris interface.

Aplogies, for the late arrival of this mail.  I do not read -hackers
very much these days.  But I found this worth the while to comment.

Doesnt getaddrinfo() do whatever gethostbyname() can do?  And also, if
my source of information is correct, getaddrinfo() should be thread-safe
and also, it is under the POSIX p1003.1g.

Regards.

-- 
Hiten Pandya
http://www.unixdaemons.com/~hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandyaop=index

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



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 crossposting. I think responding to trolls is more fun for 
 many people.

Gerardo,

FYI: the pthread(3) manual page holds information about this, and so does 
the gcc(1) manual page.

Take Care.
Regards.

  -- Hiten

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Fixing issues with the MSDOSFS code. [w/ PATCH(es)]

2002-08-14 Thread Hiten Pandya

Hello all.

OK.  I am going to get straight to the point.  I was going through the
PR database yesterday, and I saw that there are three PRs submitted on
one same MSDOSFS issue.

As we know, that there is no MSDOSFS maintainer;  I have taken the
courage to gather the patches, which, have know to work, and are still
applicable to date.  Below is my research: :-)

I am submitting this, in the hopes, that a committer will pick them up,
commit them, and put the PRs it affects into 'feedback' state.

Thanking in advance.
Regards.

P.S. Findings attached with this mail.

-- 
Hiten Pandya
http://www.unixdaemons.com/~hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandyaop=index


The following patch fixes a number of issues within the FreeBSD
MSDOS File System code.

Delta one:
--

Author:  Semen Ustimenko [EMAIL PROTECTED]
The problem as submitted by the author (kern/24393) is:
  There are sometimes a FAT filesystems not handled correctly by msdosfs 
  driver, but handled by mtools and other OSes. The problem is that 
  msdosfs assume . entry in directory have cluster number set to real 
  directory cluster number. But sometimes cluster number for . entry is 
  set to 0, and msdosfs behaves wrong with such filesystems.

Index: msdosfs_denode.c
===
RCS file: /home/ncvs/src/sys/fs/msdosfs/msdosfs_denode.c,v
retrieving revision 1.62
diff -u -r1.62 msdosfs_denode.c
--- msdosfs_denode.c2002/08/04 10:29:26 1.62
+++ msdosfs_denode.c2002/08/14 00:09:19
@@ -356,6 +356,17 @@
 */
u_long size;
 
+   /*
+* XXX Sometimes, these arrives that . entry have cluster
+* number 0, when it shouldn't.  Use real cluster number
+* instead of what is written in directory entry.
+*/
+   if ((diroffset == 0)  (ldep-de_StartCluster != dirclust)) {
+   printf(deget(): . entry at clust %ld != %ld\n,
+   dirclust, ldep-de_StartCluster);
+   ldep-de_StartCluster = dirclust;
+   }
+
nvp-v_type = VDIR;
if (ldep-de_StartCluster != MSDOSFSROOT) {
error = pcbmap(ldep, 0x, 0, size, 0);

Delta two:
--

Author: Jiangyi Liu [EMAIL PROTECTED]
Check against: NetBSD MSDOS-FS (they have similar fix)

Problem:
This delta fixes a bunch of problems, from fsck_msdosfs related
problems, to 2GB hard drives; and last but not least, letting
an msdosfs extended partition (massive ones) live peacefully.

The following PRs are closable by applying this patch:
  - i386/28536
  - misc/30168
  - kern/32256 (hopefully)
  - kern/29121 (hopefully)

Index: msdosfs_vfsops.c
===
RCS file: /home/ncvs/src/sys/fs/msdosfs/msdosfs_vfsops.c,v
retrieving revision 1.91
diff -u -r1.91 msdosfs_vfsops.c
--- msdosfs_vfsops.c2002/08/13 10:05:46 1.91
+++ msdosfs_vfsops.c2002/08/14 00:31:16
@@ -543,8 +543,14 @@
}
 
/*
-* Check and validate (or perhaps invalidate?) the fsinfo structure?   
 XXX
+* Check and validate (or perhaps invalidate?) the fsinfo structure?
 */
+   if (pmp-pm_fsinfo  pmp-pm_nxtfree  pmp-pm_maxcluster) {
+   printf(Next free cluster in FSInfo (%u) exceeds maxcluster (%u)\n,
+   pmp-pm_nxtfree, pmp-pm_maxcluster);
+   error = EINVAL;
+   goto error_exit;
+   }
 
/*
 * Allocate memory for the bitmap of allocated clusters, and then



Re: SysV IPC related question

2002-08-14 Thread Hiten Pandya

--- Terry Lambert [EMAIL PROTECTED] wrote:
 I don't know why NetBSD doesn't have this.  Perhaps they are
 unconcerned with the portability of code using SYSV message
 queues, when it comes to internal structure packing.
 
 I would think directly casting it to a long in the kernel would
 be a bad thing on Alpha, with certain source code in user space.
 
 I expect that they define it for the regression test so that
 they can actually do regression on these cases.

I was going on about:
basesrc/regress/sys/kern/sysvmsg

  Also, if possible, could you outline some situations where this would be
  used?  Help will be very appreicated.
 
 It's because if you don't ask for a specific meswsage type (e.g.
 it is important for you to get messages in the order they were
 sent), then you can't control which message will be returned in
 your message buffer passed to msgrcv(2).
 [ ... ]

Thank you for the information.  Very appreciated, as always. 8-)

  -- Hiten

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



SysV IPC related question

2002-08-13 Thread Hiten Pandya

Hi all.

I was wondering why we have a struct mymsg in sys/msg.h, when many
utilities defined their own version of it.  I am curious about this
because our stock version of struct mymsg:

struct mymsg {
  long mtype;   /* message type */
  char mtext[1];/* message body */
};

Why do we have a value of [1] in the mtext array?  Are we meant to
define a struct mymsg at all!?

Thanks.
Regards.

-- 
Hiten Pandya
http://www.unixdaemons.com/~hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandyaop=index

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: SysV IPC related question

2002-08-13 Thread Hiten Pandya

--- Terry Lambert [EMAIL PROTECTED] wrote:
 Hiten Pandya wrote:
  I was wondering why we have a struct mymsg in sys/msg.h, when many
  utilities defined their own version of it.  I am curious about this
  because our stock version of struct mymsg:
  
  struct mymsg {
long mtype;   /* message type */
char mtext[1];/* message body */
  };
  
  Why do we have a value of [1] in the mtext array?  Are we meant to
  define a struct mymsg at all!?
 
 This is the message contents.  It is an overlay structure.  The
 [1] is the same thing that, in the current ANSI C standard, you
 would define in terms of [0].
 
 The point is that you have a structure that sonsists of a long
 followed by an indeterminate number of bytes.  You cast the
 combination to a pointer to a structure of this type, and you
 can reference the long as mymsgp-mtype, and the contents as
 mymsgp-mtype.
 
 Please leave it alone.  8-).

OK.  One more question; so, is there any particular reason why our cousin 
NetBSD doesnt use this overlay structure?  Also, the NetBSD SysV Msg
regression tool defines its own struct mymsg; and doesnt have one standard
in the sys/msg.h header file.

Also, if possible, could you outline some situations where this would be
used?  Help will be very appreicated.

Thanks.

  -- Hiten

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Newbus Draft

2002-08-09 Thread Hiten Pandya

Hi.

Does anyone have a copy of the newbus draft?  It used to reside on asmodai's
space on http://people.FreeBSD.org, but it has disappeared.  It will be very
appreciated.

Thank you.

-- 
Hiten Pandya
http://storm.uk.FreeBSD.org/~hiten
Finger [EMAIL PROTECTED] for PGP public key
-- 4FB9 C4A9 4925 CF97 9BF3  ADDA 861D 5DBD E4E3 03C3 



msg36145/pgp0.pgp
Description: PGP signature


Re: Assembly, Kernels and Bootstraps

2002-08-01 Thread Hiten Pandya

--- Sergey Lyubka [EMAIL PROTECTED] wrote:
 [ ... ]
 Respected FreeBSD gurus, please answer on this. Share your knowledge :-)
 What about you, Terry?

I have heard that, Dr. Kirk McKusick, is going to publish a book on
FreeBSD 5.x internals, sometime next year.  Till then, I would say
people to hold their horses. :)

  -- Hiten

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Assembly, Kernels and Bootstraps

2002-08-01 Thread Hiten Pandya

--- Michael Lucas [EMAIL PROTECTED] wrote:
 Yes, this would be nice.  But there's a reason why that book is such a
 standout: that sort of writing is very difficult to do.

[ ... ]

  Is it possible to get frosen version, say, 5.0 - current,
  and describe it? I think it is. Many things may become obsolete,
  but the knowledge I'm talking about will be revealed. Such book
  must paint a solid and complete picture of FreeBSD kernel.
 
 You can write all you want, but if a publisher won't print it, you're
 out of luck.  Publishers are very leery of things that are obsolete
 before they're printed.  I'm not saying it *can't* be done, but it
 would be difficult to get a publisher to bite.

Not necceserily, a person from Addison Wesley , was interested in 
publishing the developer's handbook, when it was filled with information.
I am not trying to argue though. :-)

 That's why we have the developers' handbook online, specifically so
 things can be updated quickly.  And it's difficult to get more text
 for that; the people who can write that text are busy writing code.

  -- Hiten

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: AMI MegaRAID + Reboot issues

2002-07-02 Thread Hiten Pandya

--- Garance A Drosihn [EMAIL PROTECTED] wrote:
 At 4:49 PM +0100 7/2/02, Byron Schlemmer wrote:
 Hi,
 
 I've posted on this before, and I've received no reply. I'm
 cross-posting just in case it was missed before (I am desperate for
 help) and to ask for further advice.
 
 Basically we have a number of FreeBSD servers, running 4.5-RELEASE
 and 4.6-RELEASE, that use AMI MegaRaid 500 controllers. These boxes
 refuse to reboot when sent a reboot or shutdown -r. They simply
 close all processes and show :
 
 amr0: flushing cache...done
 Rebooting...
 
 At this point the numlock key is locked, and Ctrl + Alt + Deleting
 does nothing.
 
 This will not help much, but I can at least say that I have noticed
 your messages go by.  Unfortunately I have no experience with any
 raid controllers under freebsd.  If you made it successfully to the
 Rebooting... line, then I think it's at the point that freebsd
 has done everything it expected to do, and freebsd has told the
 hardware to reboot.
 
 I do not know why the hardware wouldn't reboot at that point.

Did you check the BIOS settings on that machines, and if the Raid controller
has its own BIOS, did you check that as well?

Just an FYI.

  -- Hiten

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: dual booting current/stable on x86?

2002-07-01 Thread Hiten Pandya

: x86 bootloaders terrify me, so  I have not tried grub.  Does grub
: understand reiserfs?

--- Kip Macy [EMAIL PROTECTED] wrote:
 Yes. If you had ever worked with the source to LILO it would terrify you
 too.

As far as I know, Grub is one of the best bootloaders around.  It supports
IBM JFS (OS/2 and Linux version), ReiserFS, Ext3, Ext2FS, and UFS.

-- 
Hiten Pandya
http://storm.uk.FreeBSD.org/~hiten
Finger [EMAIL PROTECTED] for PGP public key
-- 4FB9 C4A9 4925 CF97 9BF3  ADDA 861D 5DBD E4E3 03C3 



msg35438/pgp0.pgp
Description: PGP signature


Re: The problem with FreeBSD

2002-06-18 Thread Hiten Pandya

--- Bill Flamerola [EMAIL PROTECTED] wrote:
 I'm talking to you, fucking Hiten Pandya, damned asshole. And I'm talking 
 to you, stupid Alfred Perlstein. Alfred is an interesting person. He seems

I know this address of yours is shit, but I know you read this list.

I think you are making nice fun out of your fucking self; I think you should
go and screw yourself in a big tub of water.  If you are so inclined on 
judging people, please do so that with people who are stupid enough to listen
to you.

 Matthew Dillon is one of the few hackers worth his salt, what does he get
 in return? A 5 day commit bit suspension. Matt, please, join NetBSD, they 
 need help in the SMP code, and leave all these hypocrites alone.

Get your facts right!

 David O'Brien - good hacker but a total asshole
 Dag-Erling Smorgrav - a total asshole
 Alfred Perlstein - drunktard and hypocrite
 Bill Fumerola - The überasshole, FUCK FUMEROLA
 Kris Kennaway - Hyprocrite

 Hiten Pandya - an IMBECILE, grow up fucking moron

I think you are the IMBECILE MORON!  I think you should be the one who
should apologise to all the people you have just said bad things about.

  -- Hiten Pandya
  -- [EMAIL PROTECTED], [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: kernel thread

2002-06-10 Thread Hiten Pandya

--- Andy Sporner [EMAIL PROTECTED] wrote:
 My fault.  I am using 5.0
 man shutdown_kproc

Ok, I cant find any man page called shutdown_kproc in either 4.3 or 4.4.
Anyway, he wants to destroy a thread, and not an internal daemon/process.

To destroy a kernel thread, you need to make use of the kthread_exit()
operation.  It is prototyped as follows:

void kthread_exit(ecode);

The *ecode* arg to kthread_exit() is used to specify the return code of
the thread which you are going to terminate.

Additonal Information can be found from:
kthread(9)  -- (available in FreeBSD 5.0)
sys/kthread.h

HTH.

Hiten
[EMAIL PROTECTED], [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Newbie needs help!!!!!

2002-06-04 Thread Hiten Pandya

--- Ferruccio Vitale [EMAIL PROTECTED] wrote:
 Ok, I've already read those pages, real useful to start.
 Now I've my module, which creates dynamic sysctl and so on; now I need to
 monitor the existence of another process and I tough at kqueue/kevent
 method. But are these functions for userland process, aren't they? How
 could I do the same in kernel land?

Try the kevent(2) manual page.  It has some good amount of information.  I
am including some more pointers for you.  Hope they are useful.  Thanks.

http://www.madison-gurkha.com/publications/kqueue/
http://people.freebsd.org/~jlemon/kqueue_slides/

As a bonus, and example of how  use the kqueue(2)/kevent(2) API:
http://www.monkeys.com/freeware/kqueue-echo.c

Have fun.  Hope this helps.
Regards.

  -- Hiten

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



GFP_NOFS alternative/information for FreeBSD Kernel Malloc

2002-06-01 Thread Hiten Pandya

Hi All.

I was wondering if there is an alternative to the GFP_NOFS flag provided
in Linux Kernel Malloc [kmalloc()  kfree()] for FreeBSD, or is there any
info. I am missing?

Linux calls the kmalloc() system call as:
[ an extract from jfs_dtree.c (jfs4bsd) ]

%%%
ciKey.name =
(wchar_t *) kmalloc((JFS_NAME_MAX + 1) * sizeof(wchar_t), GFP_NOFS);
%%%

As of now, I have changed this to just use M_WAITOK and malloc() call, but
I was wondering if anyone can guide me on this GFP_NOFS alternative.  Also,
Alfred to told me on IRC to just #define M_NOFS 0 for now, and then worry
about it later.

TIA.

Hiten
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: H8/300 cross compiling under FreeBSD

2002-05-28 Thread Hiten Pandya

--- Joe Karthauser [EMAIL PROTECTED] wrote:
 Is anyone here using the Hitach H8 embedded processor?
 
 I've just got my hands on one and would love to develop for it under
 FreeBSD.  In particular I was hoping that someone could tell me how
 to get a gcc that generates code for it, and whether the easyflash.exe
 program runs under doscmd, or equiv.

Hiya Joe.

I am no expert on cross-compiling, but I found the following which you
might find interesting:

http://h8300-hms.sourceforge.net/
http://gcc.gnu.org/onlinedocs/gcc/H8-300-Options.html#H8%2f300%20Options

Hope that helps.
Thanks.

  -- Hiten
  -- [EMAIL PROTECTED], [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: tuning a CPU bound server

2002-05-19 Thread Hiten Pandya

--- Peter Wemm [EMAIL PROTECTED] wrote:
  -- Hiten Pandya [EMAIL PROTECTED] wrote:
  Just wondering, are these the kind of problems which can be solved by
  using the kqueue(2) mechanism, or am I talking nuts again?
  
  Regards.
 
 Yes, kqueue solves it nicely.  I overestimated the work required.  In
 fact, it looks like it would be quite easy to do.  There are three places
 that need work.
 src/util/events.c  (the main event loop, keeps a persistent select mast)
 src/util/readable.c (quick select-until-readable)
 src/util/writable.c (quick select-until-writable)
 
 events.c is practically begging to be converted to kqueue as it has
 explicit init/register/unregister/loop type operation that allows callers
 to register/unregister callbacks for given fd's when they become readable
 or writable.  This is the exact scenario that kqueue is ideal for.
 
 The other two are not heavily used and could quickly whip up their own mini
 kqueue for the task.

Sounds like a good task for someone with time in their hands. ;)
As an example: http://www.monkeys.com/freeware/kqueue-echo.c, someone might
find that useful.

Regards.

  -- Hiten Pandya
  -- [EMAIL PROTECTED], [EMAIL PROTECTED]

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: How to dump a 4gig system on panic ?

2002-05-17 Thread Hiten Pandya

--- Marc G. Fournier [EMAIL PROTECTED] wrote:
 Well, downloaded the files (a .tar.gz would be nice? *grin*) and the
 client built perfectly, and kldload worked fine ... is there some way
 someone can suggest of 'simulating a crash'?  Some way to test to make
 sure that it is working as expected?  I have a 4.6-PRE machine on my desk
 that I'd like to test with before I try it on the real thing, if at all
 possible?

If you have DDB in your kernel, then you can press Ctrl+Alt+Esc; by doing
that, you will enter into the kernel debugger (DDB).  At the prompt
displayed,
type 'panic' without the quotes and then should hopefully generate a dump.

Regards.

  -- Hiten

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: /usr/include/netinet/in.h

2002-05-09 Thread Hiten Pandya

 :  The general rule is including includes from includes is bad.

Correct me if I am wrong; doesn't the curses library do this.  I saw in
one of Eric's (Raymond) documentation about it.  Also, have a look at:

  := src/sys/dev/vinum/vinumhdr.h

JFYI. :-)

  -- Hiten

__
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: deltas for sys/kern/vfs_syscalls.c and sys/kern/vfs_subr.c

2002-05-04 Thread Hiten Pandya

--- Bosko Milekic [EMAIL PROTECTED] wrote:
 On Fri, May 03, 2002 at 10:45:32PM +0100, Hiten Pandya wrote:
  I am submitting a patch which removes the register keyword from 
  sys/kern/vfs_syscalls.c.  The reason I am doing this is very simple.
  
  The 'register' keyword has no effect, as compilers do enough
 optimizations
  on their own.   Also, I have seen commits made before which do the same
  thing which I am doing now.  I have talked about this patch with
 jmallett,
  and various other developers.
  
  This patch is located at: 
  http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_syscalls.diff.1
 
   Looks good.

Cool.  Any chance of getting it committed.  Note,  I also did an md(5) test
and both vfs_syscalls.o came out with the same checksum.

  The second issue, is what I am not very sure about, but I had a little
  discussion about this with rwatson.  The vfs_subr.c module contains
  a large #if 0'ed section, which basically contains some sysctls.  I
  think it has been forgotten for removal, so I am submitting a delta which
  can be used to remove that #if 0'ed section.
  
  Note, I am not very sure about this, that is why I am posting this to
  -hackers.
  
  The patch is located at: 
  http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_subr.c.diff.1
 
   I don't think that removing the code is a problem.  The real person to
   ask would be dillon, since he was the one who placed the #if 0 around
   the block.

Matt, what do you think about it; do you think that there is chance of
removing that section of code?  It has been lying there for ages.  If you
think it can be removed, I will be greatful if you can commit my delta for
it.

Regards,

  -- Hiten

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



deltas for sys/kern/vfs_syscalls.c and sys/kern/vfs_subr.c

2002-05-03 Thread Hiten Pandya

Hi all,

I am submitting a patch which removes the register keyword from 
sys/kern/vfs_syscalls.c.  The reason I am doing this is very simple.

The 'register' keyword has no effect, as compilers do enough optimizations
on their own.   Also, I have seen commits made before which do the same
thing which I am doing now.  I have talked about this patch with jmallett,
and various other developers.

This patch is located at: 
http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_syscalls.diff.1

The second issue, is what I am not very sure about, but I had a little
discussion about this with rwatson.  The vfs_subr.c module contains
a large #if 0'ed section, which basically contains some sysctls.  I
think it has been forgotten for removal, so I am submitting a delta which
can be used to remove that #if 0'ed section.

Note, I am not very sure about this, that is why I am posting this to
-hackers.

The patch is located at: 
http://storm.uk.FreeBSD.org/~hiten/diffs/vfs_subr.c.diff.1

Thanks.  If anyone finds them interesting, please commit them to the
CVS repository.

P.S. Please do not hesitate to contact me for more information reg.
these deltas.

-- 
Hiten Pandya
http://storm.uk.FreeBSD.org/~hiten
Finger [EMAIL PROTECTED] for PGP public key
-- 4FB9 C4A9 4925 CF97 9BF3  ADDA 861D 5DBD E4E3 03C3 



msg34094/pgp0.pgp
Description: PGP signature


Re: determining context switching?

2002-03-29 Thread Hiten Pandya

--- Russell Francis [EMAIL PROTECTED] wrote:
 I was wondering if there is a way to determine the context switching rate?
 
 In /usr/include/sys/vmmeter.h the structure
 
 struct vmmeter {
   u_int v_swtch;  /* context switches */
   .
   .
   .
 }
 
 looks like what I want but I can't find a function which returns this data
 to a user land application.  Is this possible?  If so how?

Have you tried to use any of the sysctl(3) functions?  Try doing the
following on the command line:

  shell# apropos sysctl

Hope this helps. :)

Thanks,

  -- Hiten Pandya
  -- [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Writing a file system? Docs? Info? Article?

2002-03-28 Thread Hiten Pandya

--- Paolo Pisati [EMAIL PROTECTED] wrote:
 Sometimes ago, I heard someone wanted to write a fs example
 (article? howto?) just to teach how to write a real fs under FreeBSD.

Hmm, I don't think there any such examples.. or such a howto.. :(
but you can have a look at the source code for nullFS which is useful if
you are interested. It has very clean commented code, which is also
very easily understandable.

You should also have a look at information VFS, which is the filesystem
interface provided by FreeBSD, for exporting filesystem services, and
what not. :)  Just type VFS on google without the quotes, and you should
be able to find a paper or couple of papers by Marshal Kirk McKusick. :) You
can also have a look at other 4.4BSD Docs at:

http://docs.FreeBSD.org/doc

  Hope this helps.. :)

  -- Hiten Pandya
  -- [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Debugging BTX Faults

2002-03-20 Thread Hiten Pandya

Hi all,

How does one debug faults in the BTX Loader?  I am currently trying
to work on PR i386/21559, and after reading jhb's document on the
loading process, I was curious to know..

Thanks,
Regards,

  -- Hiten Pandya

-- 
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve



msg33022/pgp0.pgp
Description: PGP signature


Re: Debugging BTX Faults

2002-03-20 Thread Hiten Pandya

On 20-Mar-2002 Hiten Pandya wrote:
 Hi all,
  How does one debug faults in the BTX Loader?  I am currently trying
 to work on PR i386/21559, and after reading jhb's document on the
 loading process, I was curious to know..

 Well, you need to be fairly familiar with how IA32 works.  The int=
 number is the fault that was triggered.  Then, use a program to convert 
 the hex dump at cs:eip to binary

Which tool can be used for this task?  Any available in the ports?

 and run that through ndisasm or ndisasm -U depending on if the code 
 segment in cs is USE32 or not) to see what instruction it died on. 
 You then look up that instruction in teh reference manual and see how 
 the given fault can be triggered.  Some faults are rather obvious just 
 from the fault number and don't require you to look up the instruction.  
 Sometimes it's not the actual instruction that's the problem, but instead 
 you managed to hose the stack or some such in which case you just ahve to 
 look at the register and stack dumps to try and figure out what went 
 wrong.

Thanks for the kind help. :)
Regards,

-- 
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve

Public Key: http://www.pittgoth.com/~hiten/pubkey.asc
--- 4FB9 C4A9 4925 CF97 9BF3  ADDA 861D 5DBD E4E3 03C3 ---



msg33027/pgp0.pgp
Description: PGP signature


Re: Documents on FreeBSD Make system?

2002-03-18 Thread Hiten Pandya

--- George V. Neville-Neil [EMAIL PROTECTED] wrote:
 Is there a set of docs or a Daemon News article on working with the BSD
 make system?  I'd like to write my code as closely to whatever that
 standard
 is as possible but reading through all the .mk files seems a bit less
 efficient
 if there is a doc.

Hi,

Have you had a look at the PSD (Programmer Supplemetery Documents) for the
4.4BSD Operating System, there some docs on the make(1) build system, as well
some important documents on the 4.4BSD architecture.  They are all available
at:

  http://docs.FreeBSD.org/doc

Also, for reference, the make system is called BSD Make, as far as I know,
hehe :)

Thanks,
Regards,

  -- Hiten

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: PR's in need of a home

2002-03-16 Thread Hiten Pandya

Hi Matthey,

This kind of messages belong in the [EMAIL PROTECTED] list.  This list
has been opened by the bugmeister for sending PRs which need closing an
the jazz.. ;)  It is called the BugBusting Project.

This list was previously [EMAIL PROTECTED]  Please send all stocked close
requests to this list (bugbuster@).

Thanks,
Regards,

  -- Hiten Pandya
  -- [EMAIL PROTECTED]

--- Matthew D. Fuller [EMAIL PROTECTED] wrote:
 So, whose palm do I grease to get some PR's taken care of?   ;-)
 
 - docs/31265 - Documentation (and adjustment) of cron allow/deny file
formats
 Best (IMO, but then, I wrote it ;) patch at end of audit trail.
 
 - docs/35436 - Webpage update; don't push PAO
 Patch in PR
 
 - docs/35575 - pw(8) manpage update: document /var/log/userlog
 Patch in audit trail
 
 - bin/35505 - sed(1) feature: esed - sed -E
 bde doesn't like it.  I like it, but not enough to fight more than
   casual criticism of it.  If anybody else cares enough, it could be
   discussed; if not, the PR can just be closed.

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Should the stat(2) man page contain information on test macros

2002-03-15 Thread Hiten Pandya

Hi,

I might be missing the point here, and I tried looking for this in all
the stat man pages (apropos stat), but couldn't find it.

OK, is it a good idea, to have the S_IS* macros documented in the
stat(2) man page, or are they documented in the man pages (other
than stat(2)) already? :)

Thanks,
Regards,

-- 
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve



msg32881/pgp0.pgp
Description: PGP signature


Re: Should the stat(2) man page contain information on test macros

2002-03-15 Thread Hiten Pandya

 Just cross-reference to a man page that has them.  chmod(2)
 seems to be the most logical choice.

The chmod(2) man page doesn't have the S_ISBLK, S_ISCHR and related
macros documented, and personally I don't think that is the right
place for this particular stat related macros.. :)

Thanks,
Regards,

-- 
Hiten Pandya
http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD)
http://www.FreeBSD.org - The Power to Serve



msg32883/pgp0.pgp
Description: PGP signature


Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable)

2002-03-11 Thread Hiten Pandya

--- Kris Kennaway [EMAIL PROTECTED] wrote:
 As you are no doubt aware there are significant infrastructural
 changes in -current relating to SMP scalability.  It's in a very
 interim state at the moment, and one of the downsides is increased
 interrupt latency and lock contention for certain operations (yes,
 audio playback is one of them).
 
 Basically, it's a known issue.

Yep.  I agree with Kris, as this issue was discussed in the -current
list somewhere.  And also, I have been running CURRENT for a while now
(around 7/8 months), and it has been going pretty smoothly in the tasks
I do.  I use mpg123, and xamp for a while with CURRENT and although there
are lock issues, but they will be solved by either me, or someone else who
can do it. (as I am running an SMP test CURRENT system)

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable)

2002-03-11 Thread Hiten Pandya

--- Luigi Rizzo [EMAIL PROTECTED] wrote:
 As I already asked:
 what compile time options were used in the two cases ?
 They surely can make a huge difference.
 
   cheers
   luigi
 

Could it also be a possibility, that the NetBSD defaults differ from
the FreeBSD defaults, I think this could make some difference too. :)

Regards,

  -- Hiten Pandya
  -- [EMAIL PROTECTED]

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: In-Kernel HTTP Server (name preference)

2002-02-18 Thread Hiten Pandya

hi all,

As to conclude this thread (for me.), I have come to the decision of 
actually starting a project for making a BSD Licensed in-kernel HTTPd 
server.  The project will be on SourceForge.net.

As you all know, that when starting a project, a name is needed for
project; I completely out of ideas, and I have literally no creative
skills. :)

I wanted some names, which could be used for the project.  Also,
because this code, will be coming back to the FreeBSD community,
people should have the chance to decide on the name.  Once I have
got enough names, I will count the vote on them, and choose the
final name, if that is OK with everyone. I am supplying some of
the names which came out of my  and from my un-creative mind. ;)

To vote, give a +1 for yes, and -1 for no.

  o fhttpd (I donno what the 'f' is for..)
  o quarx
  o starling
  o rattlesnake

If someone has better ideas, please do not hesitate to pass me
your suggestions.

Thanks,
Regards,

  -- Hiten Pandya
  -- [EMAIL PROTECTED]



msg31952/pgp0.pgp
Description: PGP signature


in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Hiten Pandya

hi all,

[ I am not currently subscribed to -questions, please CC a copy to
me, thanks. :) ]

I beleive this question is not intended for the -hackers list,
but might be interesting.  I have also cc'ed this to the
-questions list.

Is there any In-Kernel HTTP Server for FreeBSD, like there is
kHTTPD for Linux?

Thanks,
Regards,

  -- Hiten Pandya
  -- [EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Hiten Pandya

On Sun, Feb 17, 2002 at 11:05:04AM -0800, John Polstra wrote:
 Yes, I wrote one.  Yes, it's proprietary.
 
 One obvious example is as part of a testbed for performance 
 testing various kinds of network appliances.

hmm,
Well, so, forgive my bluntness, in a nutshell, there is no
in-kernel (un-proprietory) HTTP Server.  Also, as John said,
it is very useful in some situations.  As you visit the kHTTPD
website at:

http://www.fenrus.demon.nl/

You will see how much performance it offers, compared to 
userland web servers.  I don't mean polluting the kernel
with this kind of stuff, but I wouldn't mind having an
in-kernel HTTP Accelerator (for static pages).

Nothing so fancy, but, just to do its job, which it is
good at: Providing static pages. Anyway, I don't mean
that people have to make it.  I know I talk to too much,
and do less, :), but I will start a project at SourceForge,
unless somebody has better options. ;)

In a nutshell, it is better to have an in-kernel web
server, as some people might like using it, even though
it doesn't matter what we say, hehe :)

Thanks,
Regards,

  -- Hiten Pandya
  -- The JFS4BSD Project
  -- [EMAIL PROTECTED]



msg31906/pgp0.pgp
Description: PGP signature


weird pthread related errors

2002-02-14 Thread Hiten Pandya

Howdy!,

I am having some very weird problems with the pthread.h
library.  The following statement is in the source-file:

 #include pthread.h

But, the compiler fails with the following error messages.
All the other typedefs, structs are recognised except:

  - pthread_create();
  - pthread_exit();

It would be very appreciated if someone can help me solve
this dillema.  I have tried to look _just_ about everywhere,
including the headers, but cannot find a clue why it is
failing.

If needed, I can also file an official PR regarding this
problem, but I have posted to the list, as I assumed someone
might have solved this dillema before. ;)

The following is the error output:

gcc  -g -O2   -o fsck.jfs  fsckbmap.o fsckconn.o  fsckdire.o fsckdtre.o fsckea.o  
fsckimap.o fsckino.o fsckmeta.o  fsckmsgs.o fsckpfs.o fsckwsp.o  fsckxtre.o xchkdsk.o 
fsckruns.o ../libfs/libfs.a 
fsckruns.o: In function `fsck_hbeat':
/c0/cvs/j4b/jfsutils/fsck/fsckruns.c:156: undefined reference to `pthread_exit'
fsckruns.o: In function `fsck_hbeat_start':
/c0/cvs/j4b/jfsutils/fsck/fsckruns.c:180: undefined reference to `pthread_create'

Thanks,
Regards,

  -- Hiten Pandya
  -- The JFS4BSD Project
  -- [EMAIL PROTECTED]



msg31832/pgp0.pgp
Description: PGP signature


re: Urgent! Can not load the kernel

2002-02-01 Thread Hiten Pandya

hello,

It would be better, if you submitted this as a Problem Report, so
the Committers and *BugBusters* can track it. :) Also, the problem
details are very scarce.


Your best bet, would be to have a look at the FreeBSD FAQ, and at
the Handbook, which provide extensive detail on installation,
and the kernel.  The URLs are below:

Handbook: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook
FAQ: http://www.FreeBSD.org/doc/en_US.ISO8859-1/faq

If still are having problems, then please submit an official
Problem Report. :)

Thanks,
Regards,

 - Hiten Pandya
 - [EMAIL PROTECTED]



msg31321/pgp0.pgp
Description: PGP signature


Re: developers always wanted , join up : gopenports project

2002-01-10 Thread Hiten Pandya

--- Jordan Hubbard [EMAIL PROTECTED] wrote:
 This is ridiculous.  Why the hell you felt compelled
 to fill my
 mailbox with *nine* copies of this message is beyond
 me, and spamming
 in the name of project evangelism is hardly getting
 things off on the
 right foot!  You've certainly left me without any
 desire to contribute
 to or even endorse this project and I seriously
 doubt I'm the only
 person who feels this way.
 
 You owe this group an apology, I think.
 
 - Jordan

He certainly does..

 - Hiten

=
SSH Fingerprint:
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 [EMAIL PROTECTED]

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



About the MAKEDEV script

2002-01-05 Thread Hiten Pandya

hi all,

is it true, that the MAKEDEV script only appears if
the DEVFS option in the kernel is not enabled, or I
am talking nuts..?

The reason I am asking is because, when I built my
first CURRENT, the MAKEDEV script disappeared out of
the blue.

If I am right, will this be like that in the 4.5 
release of FreeBSD?

thanks,
regards,

 - Hiten
 - [EMAIL PROTECTED]


=
SSH Fingerprint:
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 [EMAIL PROTECTED]

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



about sysinstall(8) package managment

2002-01-05 Thread Hiten Pandya

hi all,

I was wondering that, the sysinstall(8) utility
doesn't
have package managment facilities designed for people
to view even if they don't have some kind of
connection
to the media.

Example:
When you select the 'packages' option, it will ask you
about your media type.  If someone doesn't have any of
the media, than, they wouldn't be able to know what
packages are installed on their system. (Only by doing
pkg_info, but not from sysinstall.. :)

What I am suggesting is, that we can make a section in
the sysinstall configure menu, where we can show all
the currently installed packages, and we can link up
the current pkg routines such as adding, removing, so
that people can easily see what packages are
installed,
and they can also remove them from that menu..

let me know about your views on this..

thanks,
regards,

 - Hiten
 - [EMAIL PROTECTED]

=
SSH Fingerprint:
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 [EMAIL PROTECTED]

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: kernel panic on boot with 4G RAM

2002-01-02 Thread Hiten Pandya

hi,
happy 2002 to all!,

 As I said before, look at the handbook, though it is
 somewhat incomplete.

Don't you think this should be documented properly in
the handbook, in the 'kernel config' chapter?

Cause if thats so, I can advice 'darklogik' who is
currently rewriting the 'kernel config' chapter. :-)

regards,
 - Hiten
 - [EMAIL PROTECTED]


=
SSH Fingerprint:
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 [EMAIL PROTECTED]

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



how to mirror gnats db?

2001-12-21 Thread Hiten Pandya

hi all,
I wanted to ask, how I could mirror the gnats database
to my own system.  I have cvsup.

I am very sorry if this is the wrong list to ask this
question.

thanks,
regards,
=Hiten
=[EMAIL PROTECTED]

=
SSH Fingerprint:
1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 [EMAIL PROTECTED]

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Another filesystem test program

2001-12-20 Thread Hiten Pandya

 On 21-Dec-01 Alfred Perlstein wrote:
  * Matthew Dillon [EMAIL PROTECTED]
 [011221 01:18] wrote:
  This was developed by SGI for XFS.  Andi
 Kleen adapted it
  to operate on non-XFS filesystems.  Jordan
 forwarded it
  to me and I hacked, ahh, cleaned it up so it
 would compile
  under FreeBSD:
  
  

http://apollo.backplane.com/FreeBSD/fsstress-1.00.tgz
  
  ports/regression ?
  
  This would be really nifty, it could be a depot
 for various test
  programs, unless of course we want it to be in
 src/ ?
 
 src/tools/regression :)  Jordan committed fsx there
 a day or so ago.

can it be used for any type of filesystem?
I was wondering if it would be useful for the JFS port
I am doing.


thanks,
regards,
=Hiten
=[EMAIL PROTECTED]

=
=Hiten
=[EMAIL PROTECTED]

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Instead of JFS, why not a whole new FS?

2001-12-17 Thread Hiten Pandya

--- Dave Reyenga [EMAIL PROTECTED] wrote:
 How about writing a new filesystem based on UFS?
 This would save all of the
 hassle that JFS would bring: licensing, porting
 time, etc. Of course, it
 would likely bust any compatibility desired.

hi,
first of all,
a project called UFS2 has been started by Kirk
McKusick
on improving the existing UFS file system and
improving
'softupdates' and other stuff in this file system.

 What I'm thinking is a filesystem that takes the
 current UFS and improves
 upon it. It could support larger partitions, more
 partitions in a slice, and
 perhaps a Journal partition (like the current
 swap partition) among
 other new features.

I dont know that this could be possible of having
a 'Journal' partition, though I may be wrong.

 What do others have to say about this? Are there any
 major flaws in my idea?
 It just seems to me that this would cut a lot of
 hassle.

One flaw in your idea is, that it would literally take
longer to make this kind of file system on our current
UFS source base.  The reason is due to the code
maturity level that UFS has reached of around 20
years.

I think porting JFS will take less time than upgrading
the current UFS, which as a matter of fact has already
been started by Kirk McKusick himself.

Regarding 'hassle', for me; nothing is a hassle as
long
as it can be acheived.  If you are really interested
in upgrading the current UFS, it would be good if you
got in touch with Kirk McKusick himself.

regards,
=Hiten
=[EMAIL PROTECTED]

=
=Hiten
=[EMAIL PROTECTED]

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



JFS4BSD Project @ SourceForge.net

2001-12-17 Thread Hiten Pandya

Hello,
Greetings,

Regarding the 'JFS for FreeBSD' discussion, I have
started a project at SourceForge.net, which is for
the porting of JFS.

If you would like to join the JFS4BSD team in porting
the JFS to the FreeBSD Operating System, please do not
hesitate to either send a mail through SourceForge.net
or send me an email at: [EMAIL PROTECTED], and
write
the following in the subject: [subscribe] jfs4bsd,
which will help me sort the mail out for the 
subscription.

Everyone is welcome!

Note: You will need an account at SourceForge in order
to join any project including 'jfs4bsd'.

The following are the details for the project:


Project Full Name:  JFS for FreeBSD (JFS4BSD)
Project Unix Name:  jfs4bsd
CVS Server: cvs.jfs4bsd.sourceforge.net
Web Site:   jfs4bsd.sourceforge.net


If you are not intending to join the project, please
ignore this mail.

Thank You for your co-operation,
Regards,

Hiten Pandya
[EMAIL PROTECTED]

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



boot0

2001-12-15 Thread Hiten Pandya

hi,
I found this piece of code in boot0.s, is it possible
if you could explain me a bit about it.

.set NHRDRV,0x475# Number of hard drives

The hex value comes out to: 1141.

Does that mean, that this is the amound of maximum
hard drives a user can have on FreeBSD?

If that is so, is there a way to boost that value a
bit
higher, or am I just getting the whole point wrong?

Thanks,
=Hiten
=[EMAIL PROTECTED]


__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: New vhost bugs.FreeBSD.org

2001-12-13 Thread Hiten Pandya

hi,
i would like it to... it would save an effort for us,
and people from typing lond URLs.

Cool Idea!

=Hiten
=[EMAIL PROTECTED]

=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: [SUGGESTION] - JFS for FreeBSD [VOTE]

2001-12-12 Thread Hiten Pandya

Hi,

as i said also before, my intentions were never to 
cause havoc on the mailing list. :-)

In simple terms, what i am saying is, the people who
would like to port the JFS file system, should put a 
+1 in their next message and -1 if they dont like to
port JFS.

Then, i will count the votes, and if +1 outweighs -1,
then i will try to gether developers who can help me
in this task, and try to finish it by Sept. 2002.

BUT, if -1 outweighs +1, then i will cancel the
project
and live it for my spare time, and will not go around
asking everyone about it...

OR, another way of doing this would be to, just try
and get this JFS porting done by people who would like
to do it (including me), and then put it on the 
FreeBSD site.

AND, then we will see which company/corporate would
like to use the GPL version of a FreeBSD FileSystem.

Suppose, if there are very less, we abandon the
project
and forget about it.

In that way, there would be no hassle. Only people who
would like to port this File System should put a +1
in their next reply or -1 if they do not agree with
porting JFS.

Thanks.
=Hiten
=[EMAIL PROTECTED]


=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: [SUGGESTION] - JFS for FreeBSD

2001-12-11 Thread Hiten Pandya

 [... Hiten want's to GPL'ify FreeBSD ...]

hi,
first of all, i would like to clear of some point
which
have been taken wrongly.

o  My Intentions were never to GPL'ify FreeBSD :-)

o  The reason i started this discussion was because
   i think JFS/JFS2 would be a nice addition to
   FreeBSD like the rest of the other filesystems.

o  The JFS does _not_ have to be root, and even if
   people were to download it because it is GPL'ed,
   the size of the filesystem is only around 1.0MB

o  Statistically, not everyone is going to run after
   IBM's JFS, when there are other similar File
Systems

o  If people did want JFS, they can download it of
   our website, say http://www.FreeBSD.org/~jfs

o  It can also be a child project, like the JAVA
   Project.

o  I think, (personally), that we migh be able to get
   more Corporates attracted, if we take the step of
   porting quality (not exactly) GPL'ed technologies
   for FreeBSD (my personal thoughts)

o  It is hard to Port AIX or OS/2 based code, but we
   have to agree that, BSD Users were meant to take
   that kind of challenges, have taken before

o  The JFS, can just be a bonus addition for FreeBSD,
   and does not have to be part of the base addition,
   example: CD-ROMS /DVD or any other releases which
   prohibit GNU Code.






=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: [SUGGESTION] - JFS for FreeBSD

2001-12-11 Thread Hiten Pandya

hi,

BTW, i am a first timer at porting a file system...

if the proffesionals think that it is not wise or
useful to port the FS (especially IBM's), it is OK,

but, just in case, anyone else (more than three
people)
would like to port this FS to FreeBSD, my target would
be to get it done by September 2002, if we work in a
group...

i dont have web-space where i can host this project,
and we would need a mailing list... probably

freebsd-jfs would help..
and http://people.freebsd.org/~bsdjfs

but thats only if three of more people are _really_
interested in porting it... cause as you know...
porting an IBM file system (from looks) is not a 
one man job :-)

=Hiten
=[EMAIL PROTECTED]

 What mail client do you use? It seems to be playing
 havoc with your 
 line breaks.

Sorry, as you know, i am only 15 years old, and my
dad has no plans to get me a pop account and let me
have my machine on 24/365 jus' to receive mail.. :-(

but... i use Yahoo! Mail, which if by far the fastest
mail i am using at the moment... i used to have
hotmail
but as you know Microsft-Hotmail.. so i  left it..

You can point me to a better free mail account, which
i can use in conjuction with my FreeBSD system having
to keep it on 24/7

 Yes, but your plans do involve making FreeBSD
 contain potentially 
 more GPL'ed code than it already does. There are
 good reasons to keep 
 GPL code away from the rest of the source (Legal and
 emotive).

well.. yeah

=Hiten
=[EMAIL PROTECTED]

=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: [SUGGESTION] - JFS for FreeBSD

2001-12-11 Thread Hiten Pandya

that would be nice i suppose.. :-)

BTW, where is this non-GPL code.. i wouldn't mind
putting my hands on it and working on it...

=Hiten
=[EMAIL PROTECTED]

--- Terry Lambert [EMAIL PROTECTED] wrote:
 Maxim Sobolev wrote:
   OK, I load the kernel from the JFS.  I mount the
 root FS, which
   is a JFS.  I read the module jfs.ko from the
 JFS so that I can
   mount the root FS, which is a JFS, so I can read
 the module jfs.ko
   from the JFS so that I can mount the root FS,
 which is a JFS, so I
   can read the module jfs.ko from the JFS so
 that I can mount the
   root FS, which is a JFS, so I can...
  
   Do you see the problem yet?
  
  Libstand (and hence the loader) could be extended
 to allow reading
  files from jfs without using any GPL'ed code. For
 example our loader
  can load modules from the FAT even though we do
 not have any M$ code.
  :) Alternatively, /boot could be placed on
 separate filesystem, which
  could be ufs or anything else supported by the
 loader.
 
 Patches appreciated.
 
 Note that if you do a read-only JFS, you are more
 than half way there
 to a n0n-GPL'ed implementation, so you might as well
 finish it off,
 instead of porting the IBM code.
 
 -- Terry


=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: cable modem connection problem

2001-12-10 Thread Hiten Pandya

what kind of mucking could cause such kind of
behaviour?.

this kind of problem did occur to me several times
with NTL (http://ntl.com/) in UK...

there were installing a Universal Shared Bandwith
Router in their CO (Central Office), after they
installed this piece of sh*t, the bandwith was
throttled from 5.00pm evening to 5.00am morning,
which was to slow down users from downloading large
files i.e. Music Sharing and such

but after 5.00am, it was all fine and back to 85.0KBps
when before 5.00am and after 5.00pm was around
12.0KBps
which is sad but was true for a while till users 
complained about it... (like me)...

so that is a possibility, or it could be that the
signal you are receiving (cable modem signal) is very
weak thats a possibility too...

=Hiten
=mailto:[EMAIL PROTECTED]



=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



[SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Hiten Pandya

hi all,

this is a wild idea...suggestion...

i wanted to ask if there were any _plans_ to port
JFS (Journaled File System) to FreeBSD...

as for JFS, it is developed by IBM for Linux and
is licensed under GPL, so we could put this into
src/gnu/

It is used on IBM MainFrames and Enterprise servers
for
high performance and maximum throughput...





=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: [SUGGESTION] - JFS for FreeBSD

2001-12-10 Thread Hiten Pandya

hi,
the license issues dont really affect us...
after all we have an src/gnu directory... thats what
it is for... dumping GPL'ed stuff
 
and talking about GPL, we can even publish the code
as the GPL license states... after all we are an
open Source Project, but if we were commercial...

it would have affected us.. but thats not the
case...
 
the only other thing is, i am itermediatory C
programmer and i have never ported a filesystem
before.

but.. that doesn't affect me a lot.. its experience
which i will gain...

After all the whole of the FreeBSD Team is on my
back,
so there is nothing to worry about...

have already turned the Source code tree for JFS
into DoxyGen Generated Pages... i have started to look
into it...

I am sure it is possible to port it to FreeBSD... 
though... it may be a bit trickier (not hard)...
 
never say never :-)

=Hiten
=[EMAIL PROTECTED]
 
--- Alfred Perlstein [EMAIL PROTECTED] wrote:
 * Matthew Emmerton [EMAIL PROTECTED] [011210
 16:40] wrote:
   * Hiten Pandya [EMAIL PROTECTED] [011210
 16:02] wrote:
hi all,
   
this is a wild idea...suggestion...
   
i wanted to ask if there were any _plans_ to
 port
JFS (Journaled File System) to FreeBSD...
   
as for JFS, it is developed by IBM for Linux
 and
is licensed under GPL, so we could put this
  into
src/gnu/
   
It is used on IBM MainFrames and Enterprise
 servers
for
high performance and maximum throughput...
  
   I'm glad you took the time to read the
 marketting literature.
  
   The problem is that porting it is going to be
 a
 bit more complicated
   than just dumping it into src/gnu.
  
   Feel free to take a shot at porting it though,
 let us know
   when you're done.
  
  I'm gainfully employed by IBM (although not for
 FreeBSD pursuits), and have
  had this on my TODO list for a while.
  
  The licence issue is a real sticky point,
  especially since the GPL and BSD
  licences are like oil and water.  Because of the
 GPL licence, JFS support
  can never become part of the GENERIC kernel, and
 any related support tools
  will have to exist as separate binaries
 (newfs.jfs, fsck.jfs), as is
  currently done with the EXT2FS filesystem.
 
 This is pretty much how they all work, on netbsd
the
 LFS filesystem
 has its own suite of seperate utilities as well. 
 Don't be discouraged,
  get hacking! :)

=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k


=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



about boot0

2001-12-09 Thread Hiten Pandya

hi all,
is there a reason behind.. why all Windows related
boot
options are marked as DOS?...

src/sys/boot/i386/boot0.s

is it because of the 512-byte limit...

=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Tangent for discussion: FreeBSD performs worse that Linux

2001-12-09 Thread Hiten Pandya

hi,
does anyone need any special skills to manage the
kind of branch you are talking about...
example.. RELENG_4_4_BUGFIX

what kind of skills and experience in FreeBSD would
be needed for this kind of branch

-Hiten

 I could maintain a not-FreeBSD-sanctioned site
 for patches of -CURRENT and -STABLE code applyable
 to previous releases,
 but that would only muddy
 the FreeBSD maintenance and distribution waters
 that I think work well for
 what they're intended to address, as well as open
 myself up to all sorts
 of support and maintenance headaches.
 

i wouldn't mind helping :-)





=
-Hiten,

Thank You,
Yours Sincerely,
Hiten Pandya,
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



what is PSEUDOFS?

2001-12-06 Thread Hiten Pandya

hi all...
i would like to know if possible what is PSEUDOFS...
cause i forgot to update my kernel configuration file,
regarding the message in the UPDATING section...

i know what DEVFS is... after the lecture at the
BSDCon
2001 Europe by phk



=
thanks...
regards...
Hiten Pandya

[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



re: intel gigabit driver

2001-11-29 Thread Hiten Pandya

hi all...
i was asking...

it might sound daft...

is the driver already existing in the -CURRENT
repository...

my main point is... when are we going to put the entry
for it in devices.c for src/usr.sbin/sysinstall

thanks...
regards...

Hiten Pandya
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k


=
regards,
Hiten Pandya
[EMAIL PROTECTED]
http://geocities.com/hitmaster2k

MOTD: I just like _pumping_ the daylights out of a
PENGUIN!!!

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



RE: (no subject)

2001-11-29 Thread Hiten Pandya

hi,
i am butting in the argument half way but...

although i am new to FreeBSD... what i am saying
is...
even if intel's driver is better... i dont care
about
that because... after all, thats their device...

so.. of course they will make the device driver
better
ecause they were the ones who made the device in
the
first place... but in time.. the ng driver will
become
good as well...

after all... we are quite far away from releasing
5.0...

regards..
Yours Sincerely,

Hiten Pandya
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: Interesting stuff here hehe ;-) (VIRUS!!!)

2001-11-23 Thread Hiten Pandya

this mail containes  VIRUS...
please barge this email address...!!! it is bringing
virus to the mailing lists...

DO NOT OPEN THE ATTACHMENT (for windows and wine
users!)

--- [EMAIL PROTECTED] wrote:

HR
HTMLHEAD/HEADBODYiframe src=cid:SOMECID
height=0 width=0/iframe
fontpeace/font/BODY/HTML


 ATTACHMENT part 2 audio/x-wav name=whatever.exe



__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: many shit check (ITS A VIRUS!!!)

2001-11-22 Thread Hiten Pandya

hey guys...
dont open this file...

it containes a virus/worm...
if possible, barge this email address from all the
mailing lists, because the same email address was used
to send a virus previously...

thanks...


=
regards,
Hiten Pandya
[EMAIL PROTECTED]
http://geocities.com/hitmaster2k

Guys!... stay away from Einstein Junior!


__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



NetBSD Guides

2001-11-18 Thread Hiten Pandya

hi all,
i just wanted to know..

the guides located in the NetBSD Documentation
Project... are they any useful for development on the
FreeBSD Platform... even a bit...

help is appreciated... thanks



=
regards,
Hiten Pandya
[EMAIL PROTECTED]
http://geocities.com/hitmaster2k

Guys!... stay away from Einstein Junior!


__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: processor recommendations for multi-user freeBSD system ?

2001-11-09 Thread Hiten Pandya


--- Joesh Juphland [EMAIL PROTECTED] wrote:
 
 I am planning on building a true multi-user system
 (as opposed to a NFS 
 server, or a web server, or a mail server) - many
 people with many shells 
 will be doing many things.
 
 Two things have been decided:
 
 - it will run freeBSD
 - it will be dual processor
 
 -
 
 So what two processors should I use ?  Coming from a
 Sun hardware 
 background, I originally thought to use PIII Xeons
 .. since they have a lot 
 of cache, and fast cache.  I was thinking 512meg
 cache p3 xeons running at 
 550mhz.
 
 But what about a modern athlon MP processor ?  Much
 less cache, but it runs 
 at 266mhz, and it is much faster ... 1700mhz or so.
 
 One specific question might be, at what bus speed
 and mhz speed do the 
 advantages of a good processor like a xeon start
 to not matter ?
 

hi joesh,
i think the two Xeon Processors will do the job.  As
long as you have that good cache with ya...

thanks,
regards,

Hiten Pandya
[EMAIL PROTECTED]

=
thanks,
regards,

Hiten Pandya
[EMAIL PROTECTED]
http://www.geocities.com/hitmaster2k

__
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



CVS: connection refused

2001-10-31 Thread Hiten Pandya

hi all,
i have been trying to connect to the FreeBSD Anonymous
CVS Server.. and it always keeps on saying no to me...
could some guide me thru this please..

thanks...

error:
cvs [login aborted]: connect to
anoncvs.FreeBSD.org:2401 failed: Connection refused


-
regards,
hiten pandya

__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message