Re: crash dump output

2001-07-31 Thread Eugene L. Vorokov
> Can you compile a debug kernel please and repeat this? That way you will have > debug symbols so that you can get more useful information out of gdb. You'll > have to get a new crashdump with the debug kernel running however. Maybe it's offtopic a bit, but can you please give exact instructio

help me !!!!!!!

2001-07-31 Thread srinivasarao
Hi, By the chance is there any possibility to build the kernel without VGA card serially  either for newly building of kernel or for exisiting kernel after modifications in FreeBSD?  if any chance please guide me ? what are all steps to be taken care?  Please help me.   thank u, S.Srinivasa

wd and burncd

2001-07-31 Thread Rachmat Hidajat
Hi All, I have a Sony CRX140E/1.0s CD-RW installed in my computer running FreeBSD(98) 4.3-STABLE. It is recognized as /dev/wcd1c, and working fine for reading. However, I fail to run burncd on this drive, as I always get: burncd: ioctl(CDRIOCWRITESPEED): Inappropriate ioctl for device I tried t

Re: Finding MAC address of interface - programming question

2001-07-31 Thread Julian Elischer
Michael VanLoon wrote: > > Please point me to a more appropriate forum if there is one. I'm kinda out > of my depth on this question. Pseudo code is fine. :-) > > What I'm looking for is how to enumerate the network interfaces and get the > Ethernet MAC address of one programmatically. Can an

Re: review request: vlan cloning and modularization patch

2001-07-31 Thread Brooks Davis
On Tue, Jul 31, 2001 at 11:46:09AM -0700, Brooks Davis wrote: > I've updated the patch to fix a bug in ether_input and wrap > vlan_input(_tag) in marcos to enable locking later. This patch also > reflects the latest fixes to the txp driver. I've included it below or > you can find it at: > > ht

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread David O'Brien
On Tue, Jul 31, 2001 at 10:26:06AM -0500, Dan Nelson wrote: > In the last episode (Jul 31), Dima Dorfman said: > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > wasn't renamed to rpcbind_enable when portmap became rpcbind? It > > seems odd to have a knob called portmap_e

Re: ie ethernet device fix needs to be committed

2001-07-31 Thread David O'Brien
On Tue, Jul 31, 2001 at 03:42:33PM -0500, [EMAIL PROTECTED] wrote: > I have machines which still use the ie ethernet driver. It no longer > auto-detects without the following fix. > > Is it possible to get this fix commited? Having it MFC'd for the > 4.4-RELEASE would be even better. This fi

RE: Finding MAC address of interface - programming question

2001-07-31 Thread Michael VanLoon
Thanks that's just exactly the information I was looking for. :-) I'm slow grunging through the code and man pages that take this apart. As far as UNPv1 I assume you're referring to Stevens' "Unix Network Programming"? If I'm not mistaken he doesn't go much below the socket level. A quick glan

RE: Finding MAC address of interface - programming question

2001-07-31 Thread Jag Johal
Use sysctl(3), basically, its something like this. mib[0] = CTL_NET; mib[1] = AF_ROUTE; mib[2] = 0; mib[3] = AF_INET; mib[4] = NET_RT_IFLIST; mib[5] = 0; sysctl(mib, 6, buf, &len, NULL, 0); buf will contain for each interface, an if_msghdr followed by a sockaddr_dl, the sockaddr_dl will contain t

RE: Finding MAC address of interface - programming question

2001-07-31 Thread Michael VanLoon
> From: Chris Faulhaber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 3:56 PM > > On Tue, Jul 31, 2001 at 03:56:40PM -0700, Michael VanLoon wrote: > > Please point me to a more appropriate forum if there is > one. I'm kinda out > > of my depth on this question. Pseudo code is fine.

RE: crash dump output

2001-07-31 Thread John Baldwin
On 31-Jul-01 Dennis Moore wrote: > i don't know if this yields any useful information.. the machine crashed a > few times under heavy disk i/o the other day so i set up a crash device. > then today it crashed while i was compiling something. Can you compile a debug kernel please and repeat this

crash dump output

2001-07-31 Thread Dennis Moore
i don't know if this yields any useful information.. the machine crashed a few times under heavy disk i/o the other day so i set up a crash device. then today it crashed while i was compiling something. FreeBSD 4.3-STABLE #0: Thu Jun 21 22:43:18 CDT 2001 SMP 2 cpus IdlePTD 3403776 initial pcb a

Re: Finding MAC address of interface - programming question

2001-07-31 Thread Chris Faulhaber
On Tue, Jul 31, 2001 at 03:56:40PM -0700, Michael VanLoon wrote: > Please point me to a more appropriate forum if there is one. I'm kinda out > of my depth on this question. Pseudo code is fine. :-) > > What I'm looking for is how to enumerate the network interfaces and get the > Ethernet MAC a

Finding MAC address of interface - programming question

2001-07-31 Thread Michael VanLoon
Please point me to a more appropriate forum if there is one. I'm kinda out of my depth on this question. Pseudo code is fine. :-) What I'm looking for is how to enumerate the network interfaces and get the Ethernet MAC address of one programmatically. Can anyone point me in the right direction

address resolution question

2001-07-31 Thread Weiguang SHI
Hi, I need your help to understand this. In machdep.c, 1451 /* 1452 * map page 1 R/W into the kernel page table so we can use it 1453 * as a buffer. The kernel will unmap this page later. 1454 */ 1455 pte = (pt_entry_t)vtopte(KERNBASE +

ie ethernet device fix needs to be committed

2001-07-31 Thread steve . d . meacham
I have machines which still use the ie ethernet driver. It no longer auto-detects without the following fix. Is it possible to get this fix commited? Having it MFC'd for the 4.4-RELEASE would be even better. This fix has been running on two machines still in production since sometime during

New to this

2001-07-31 Thread Mike Dorin
I have a freebsd system that locks up from time to time. Is it possible to recompile the kernel with gdb support and figure out where the lockup is occurring? Is there a better way to do that? Thanks, Mike _ Get your FREE downlo

Re: inet_aton

2001-07-31 Thread Warner Losh
In message <[EMAIL PROTECTED]> Julian Elischer writes: : hmm I thought it was you doing an in-kernel proxy? : ah no wait it was an in-kernel server? : (wasn't it?) Neither. You have me confused with someone else. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-

Re: inet_aton

2001-07-31 Thread Julian Elischer
hmm I thought it was you doing an in-kernel proxy? ah no wait it was an in-kernel server? (wasn't it?) On Tue, 31 Jul 2001, Warner Losh wrote: > In message <[EMAIL PROTECTED]> Julian >Elischer writes: > : I think Warner Losh may have already done this > > I don't think I've done this. > >

Re: review request: vlan cloning and modularization patch

2001-07-31 Thread Brooks Davis
I've updated the patch to fix a bug in ether_input and wrap vlan_input(_tag) in marcos to enable locking later. This patch also reflects the latest fixes to the txp driver. I've included it below or you can find it at: http://people.freebsd.org/~brooks/patches/vlan.diff Apply the patch as befo

REMINDER: FreeBSD Monthly Development Status Report -- Request For Submissions (fwd)

2001-07-31 Thread Robert Watson
First of (n) reminders, where the value of (n) will depend on how many reports are submitted :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Project [EMAIL PROTECTED] NAI Labs, Safeport Network Services -- Forwarded message -- Date: Sat, 28 Jul 2001 18:26:3

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
> In message <[EMAIL PROTECTED]> Brian Somers writes: > : > In message <[EMAIL PROTECTED]> Dima Dorfman writes: > : > : Does anybody know (remember?) why portmap_enable (the rc.conf knob) > : > : wasn't renamed to rpcbind_enable when portmap became rpcbind? It > : > : seems odd to have a knob cal

Re: inet_aton

2001-07-31 Thread Warner Losh
In message <[EMAIL PROTECTED]> Julian Elischer writes: : I think Warner Losh may have already done this I don't think I've done this. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Warner Losh
In message <[EMAIL PROTECTED]> Brian Somers writes: : > In message <[EMAIL PROTECTED]> Dima Dorfman writes: : > : Does anybody know (remember?) why portmap_enable (the rc.conf knob) : > : wasn't renamed to rpcbind_enable when portmap became rpcbind? It : > : seems odd to have a knob called portma

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
> In message <[EMAIL PROTECTED]> Dima Dorfman writes: > : Does anybody know (remember?) why portmap_enable (the rc.conf knob) > : wasn't renamed to rpcbind_enable when portmap became rpcbind? It > : seems odd to have a knob called portmap_enable that actually starts > : something called rpcbind (

Re: inet_aton

2001-07-31 Thread Julian Elischer
I think Warner Losh may have already done this On Tue, 31 Jul 2001, Anjali Kulkarni wrote: > Hi, > > Thanks for your response. > The reason I am trying to use inet_aton is because I am writing a kernel > proxy which connects to a webserver etc. etc. > So, I need to convert the server's ip

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Alfred Perlstein
* Dima Dorfman <[EMAIL PROTECTED]> [010731 10:53] wrote: > David Malone <[EMAIL PROTECTED]> writes: > > On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: > > > Dan Nelson <[EMAIL PROTECTED]> writes: > > > > In the last episode (Jul 31), Dima Dorfman said: > > > > > Does anybody know (r

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Warner Losh
In message <[EMAIL PROTECTED]> Dima Dorfman writes: : Does anybody know (remember?) why portmap_enable (the rc.conf knob) : wasn't renamed to rpcbind_enable when portmap became rpcbind? It : seems odd to have a knob called portmap_enable that actually starts : something called rpcbind (not to men

Re: Softupdate gripe...

2001-07-31 Thread Karsten W. Rohrbach
Alfred Perlstein([EMAIL PROTECTED])@2001.07.30 16:07:17 +: > * Alfred Perlstein <[EMAIL PROTECTED]> [010730 16:01] wrote: > [re: speeding up freeing of space when using softupdates] > > > > If you want to accellerate the release of blocks issue a couple > > of sync(1) commands: > > > > sync;

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Dima Dorfman
David Malone <[EMAIL PROTECTED]> writes: > On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: > > Dan Nelson <[EMAIL PROTECTED]> writes: > > > In the last episode (Jul 31), Dima Dorfman said: > > > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > > > wasn't rena

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread John Baldwin
On 31-Jul-01 David Malone wrote: > On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: >> Dan Nelson <[EMAIL PROTECTED]> writes: >> > In the last episode (Jul 31), Dima Dorfman said: >> > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) >> > > wasn't renamed to rpcb

RE: portmap_enable vs. rpcbind_enable

2001-07-31 Thread John Baldwin
On 31-Jul-01 Dima Dorfman wrote: > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > wasn't renamed to rpcbind_enable when portmap became rpcbind? It > seems odd to have a knob called portmap_enable that actually starts > something called rpcbind (not to mention violating POL

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread David Malone
On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: > Dan Nelson <[EMAIL PROTECTED]> writes: > > In the last episode (Jul 31), Dima Dorfman said: > > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > > wasn't renamed to rpcbind_enable when portmap became rpcbind?

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Dima Dorfman
Dan Nelson <[EMAIL PROTECTED]> writes: > In the last episode (Jul 31), Dima Dorfman said: > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > wasn't renamed to rpcbind_enable when portmap became rpcbind? It > > seems odd to have a knob called portmap_enable that actually s

portmap_enable vs. rpcbind_enable

2001-07-31 Thread Dima Dorfman
Does anybody know (remember?) why portmap_enable (the rc.conf knob) wasn't renamed to rpcbind_enable when portmap became rpcbind? It seems odd to have a knob called portmap_enable that actually starts something called rpcbind (not to mention violating POLA). To Unsubscribe: send mail to [EMAIL P

help me !!!!!!

2001-07-31 Thread srinivasarao
Hi, By the chance is there any possibility to build the kernel without VGA card serially  either for newly building of kernel or for exisiting kernel after modifications?  if any chance please guide me ? what are all steps to be taken care?  Please help me.   thank u,   with regards    S.Sri

Re: inet_aton

2001-07-31 Thread Terry Lambert
Anjali Kulkarni wrote: > Thanks for your response. I am new to kernel programming, and so cud u tell > me why it is a bad idea to pass strings to the kernel? Is it due to static > memory is used etc.? > Actually, I am not passing strings to the kernel, I am writing code in > kernel which has a rem

Re: inet_aton

2001-07-31 Thread Anjali Kulkarni
Hi Terry, Thanks for your response. I am new to kernel programming, and so cud u tell me why it is a bad idea to pass strings to the kernel? Is it due to static memory is used etc.? Actually, I am not passing strings to the kernel, I am writing code in kernel which has a remote server's ip-addres

Re: inet_aton

2001-07-31 Thread Anjali Kulkarni
Hi, Thanks for your response. The reason I am trying to use inet_aton is because I am writing a kernel proxy which connects to a webserver etc. etc. So, I need to convert the server's ip address to the network byte address, and hence I need to use this function. I do not see how else I can get th