Regarding dynamic kernel modules in freeBSD

2004-06-15 Thread ravi
Hi,
How to write dynamic kernel modules using C in FreeBSD ?

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


Regarding FreeBSD proc entries

2004-06-21 Thread ravi
Hi,
Is it possible to create a new proc entry under /proc ?
If yes, then how to do that ?
Please tell me the relevant documents for this .

-- 
Regards,
N Ravi

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


4.9-RELEASE Xorg switch question

2005-05-05 Thread ravi


hello all,

i switched from XFree86 to X.org on my 4.9-RELEASE system, using the
instructions in UPDATING. i had to do one extra things, before i could
finish the Xorg install: i had to force upgrade of mesa-4 to mesa-6
(under new name, which i forget). i also edited make.conf and changed
X_WINDOW_SYSTEM.

now, after the switch, i have the same problem with 'pkgdb -F', reported in:

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/063409.html

kris kennaway responded to that question with the below:

--

 On Wed, Nov 03, 2004 at 08:10:51PM -0500, Ralph M. Los wrote:
 
 OK, so what I did was followed the UPDATING file's advice, and did the
 customary:
 
   pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
   cd /usr/ports/x11/xorg  make install
   pkgdb -F
 
 But I STILL get this after the pkgdb -F, now what??
 
 Er, read the rest of the advice ;-)
 
 Hint: the 20040723 entry.
 
--

i looked at the 20040723 entry again, but there is nothing more to do
(in my case) listed there. also 20040723 gives instructions for 5.x,
FreeBSD-current, -stable and older -current, but doesn't explicitly
mention -release (which is what i run).

to restate, my problem is that 'pkgdb -F' now reports many stale
dependencies on imake-4 and XFree86*. (i could probably run 'pkgdb ...
-s /imake-4/imake-6/ ...' to fix the image-4 issue, though i am not sure
even that's the right fix. that still leaves me with the XFree86
dependencies).

i am sure i am missing something obvious, but having searched the
archives, i haven't found the fix. any advice? thank you!

--ravi

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


Re: 4.9-RELEASE Xorg switch question

2005-05-06 Thread ravi
On 05/06/05 16:39, Lowell Gilbert wrote:
 ravi [EMAIL PROTECTED] writes:
 
 i looked at the 20040723 entry again, but there is nothing more to do
 (in my case) listed there. also 20040723 gives instructions for 5.x,
 FreeBSD-current, -stable and older -current, but doesn't explicitly
 mention -release (which is what i run).
 
 4.x was the -STABLE branch at the time of that entry.
 You are running 4.9, which was a release from the -STABLE branch.
 
 Just follow the advice that entry gives for -stable and you'll be fine.


lowell,

thanks for the response. greatly appreciated -- i was afraid my post
would be buried by the archive copyright debate ;-). w.r.t your advice:
i did follow the instructions in UPDATING. i am sure i am missing
something obvious. here's the entry:

   20040723:
 AFFECTS: users of FreeBSD-current, users of xorg
 AUTHOR: [EMAIL PROTECTED]
 
 The XFREE86_VERSION variable is deprecated and has been replaced by the
 X_WINDOW_SYSTEM variable. X_WINDOW_SYSTEM may be set to xorg, xfree86-4, 
 or
 xfree86-3.  X_WINDOW_SYSTEM defaults to xorg on FreeBSD-current.  If you 
 are
 switching to xorg, you should follow this set of commands to cleanly 
 upgrade:
 
 pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
 cd /usr/ports/x11/xorg  make install
 pkgdb -F
 
 Users of -stable or older -current can switch to X.Org by setting
 X_WINDOW_SYSTEM=xorg in make.conf and following the same process.
 
 Alternately, FreeBSD 5.x and later users can use portupgrade with 
 packages:
   cd /var/db/pkg
   rest deleted since 5.x instructions not applicable


i did the pkg_delete -f, xorg make install and ran pkgdb -F. i also set
X_WINDOW_SYSTEM=xorg in /etc/make.conf.

i still get errors from portupgrade, etc., regarding stale dependencies
on imake-4 and various XFree86 ports.

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


Re: 4.9-RELEASE Xorg switch question

2005-05-12 Thread ravi
On 05/06/05 17:49, Alex Zbyslaw wrote:
 ravi wrote:
 
pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
cd /usr/ports/x11/xorg  make install
pkgdb -F

Users of -stable or older -current can switch to X.Org by setting
X_WINDOW_SYSTEM=xorg in make.conf and following the same process.

 i did the pkg_delete -f, xorg make install and ran pkgdb -F. i also set
 X_WINDOW_SYSTEM=xorg in /etc/make.conf.

 i still get errors from portupgrade, etc., regarding stale dependencies
 on imake-4 and various XFree86 ports.
  
 Stupid question, but you did run these as root?  I followed this same
 procedure and remember no hitches.  Even upgraded gnome as well, and
 everything came back working.  Clutching at straws, have you cvsup-ed
 your ports?  Does pkgdb -F run cleanly?  Does pkg_info show anything
 unexpected as being installed (such as imake or XFree)?
 

yes: ran as root, cvsup'ed ports. pkgdb -F reports a whole host of stale
dependencies on XFree86* and imake-4. pkg_info shows nothing but
imake-6.8.2 (and the only xfree86 related package shown is warpper-1.0_3).

thanks for the response!

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


Re: 4.9-RELEASE Xorg switch question

2005-05-12 Thread ravi
On 05/07/05 11:12, Lowell Gilbert wrote:
 ravi [EMAIL PROTECTED] writes:
 
 thanks for the response. greatly appreciated -- i was afraid my post
 would be buried by the archive copyright debate ;-).
 
 I'm not even reading it.  I'm sure I'm not the only one.  Good
 software for reading mail groups is important if you're going to try
 to follow lists like this...
 

oh definitely. i wasn't reading it either, but was afraid what other
readers where seeing...


 Hmm.  Are you sure that you deleted the imake ports before building
 X.Org?  You shouldn't have stale imake dependencies from X.Org  if you
 rebuilt both.  And the stale dependencies from other X ports should
 get fixed up by pkgdb -F (which *will* require you to redirect the
 dependencies, of course).


w.r.t your last point, are you saying then that i have to:

pkgdb ... -s /imake-4.../imake-6.../
pkgdb ... -s /XFree86-libraries-.../xorg-libraries-.../
etc

or run 'pkgdb -F' and delete all the stale dependencies? (which i am
guessing is a bad thing to do).

thank you,

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


Re: 4.9-RELEASE Xorg switch question

2005-05-13 Thread ravi
On 05/13/05 08:50, Lowell Gilbert wrote:
 ravi [EMAIL PROTECTED] writes:
 On 05/07/05 11:12, Lowell Gilbert wrote:
 
  Hmm.  Are you sure that you deleted the imake ports before building
  X.Org?  You shouldn't have stale imake dependencies from X.Org  if you
  rebuilt both.  And the stale dependencies from other X ports should
  get fixed up by pkgdb -F (which *will* require you to redirect the
  dependencies, of course).
 
 w.r.t your last point, are you saying then that i have to:
 
 pkgdb ... -s /imake-4.../imake-6.../
 pkgdb ... -s /XFree86-libraries-.../xorg-libraries-.../
 etc
 
 or run 'pkgdb -F' and delete all the stale dependencies? (which i am
 guessing is a bad thing to do).
 
 If you run 'pkgdb -F', it should suggest redirecting the dependencies,
 and it will probably suggest the correct new dependencies.  But if you
 really deleted all of the imake ports before building x.org, you
 wouldn't have incorrect dependencies in the first place.


unfortunately, 'pkgdb -F' does not suggest the redirections. perhaps, as
you seem to suspect ;-), i messed up (or plain forgot) the deletion of
the imake ports. now that i am in the state i am in, would you consider
it safe to run 'pkgdb -F' (or -s) and provide the xorg equivalents as
replacements for the XFree86 ports?

thank you,

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


cannot find label and other woes with a 3ware raid5

2004-02-21 Thread ravi pina
hi.

i have a 3ware 7410 with 4 250G disk in a raid5 config.

at one point i lost a disk and for some reason the system
kernel paniced and rebooted.  not knowing that the array
had gone to a degraded state i did a fsck and began
correcting errors that it found.  after noticing a lot of
unrecoverable files i aborted the fsck where i later
learned of the condition of the array.  i copied over some
important data and left the array unmounted till i was able
to replace the failed disk.

once the disk was swapped out i had the 3ware card rebuild
the array.  it was after this that it seems that the
disklabel and other related filesystem information has
disappeared.  there were no errors on the rebuild and as
best i can tell the data should be there but i'm not sure
of how to access it, if at all conventionally.

i'm running 4.8 using the twe kernel module.  anyone have
any suggestions on how to move forward or am i looking at
sending all the disk to a data recovery company?

thanks,

-r

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


Re: Monitoring TCP/IP traffic

2004-03-04 Thread ravi pina
On Thu, Mar 04, 2004 at 11:44:48AM +, Francisco Reyes said at one point in time:
[...]
 Is there is anything like TOP for TCP/IP?
 I saw ntop in ports, but it seems only analyzes LAN/internal subnet.

net/iftop

-r

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


System hangs for 30 minutes before booting normally into freebsd 6.0

2006-01-13 Thread Ravi Kumar
Hello,
   I am a new convert to freebsd 6.0. I installed it
on one of my old machine - a celeron 333 MHz, 98 MB
RAM, with ISA slots. While installing it on my system,
I faced a problem that it took a long time to load the
freebsd installer menu. So I rebooted and selected the
FreeBSD installation in verbose mode. 

This is the verbose output snippet I recieved:

...
pci0: bridge at device 73 (no drivers attached)
pci0: display, VGA at device 16.0 (no driver
attached)
ex_isa_identify()
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it

pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
...

The problem is the last 8 lines above. It is I believe
scanning some ports and is taking such a long time.
After this the normal booting is quite fast. 

Is there any way I can disable this process of
scanning that is taking place? After installing
freebsd, each time I boot into it, it hangs for 30
minutes at the code snippet above.

My uname -a command gave the following output.

FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


Looking forward to a reply to this problem.

Kind regards
Ravi



___ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo 
http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread ravi pina
On Fri, Jan 13, 2006 at 08:15:24PM -0800, David Benfell said at one point in 
time:
 Hello all,
 
 It seems like no matter which site I try, I get a message that
 pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 doesn't exist.
 
 So I guess I've got two questions:
 
 1) Where are the ISOs really?
 2) Why is the website wrong?

[EMAIL PROTECTED]:[ttypc][12:19am](4):101:~ ftp ftp.freebsd.org
Trying 62.243.72.50...
Connected to ftp.freebsd.org.
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ravi): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #143 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp cd /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/
250 /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 is new cwd.
ftp ls
227 Entering Passive Mode (62,243,72,50,213,75)
150 Data connection accepted from 208.48.232.100:2935; transfer starting.
-rw-r--r--   1 ftpuser  ftpusers  45936640 Nov  3 15:25 
6.0-RELEASE-i386-bootonly.iso
-rw-r--r--   1 ftpuser  ftpusers 578408448 Nov  3 17:13 
6.0-RELEASE-i386-disc1.iso
-rw-r--r--   1 ftpuser  ftpusers 682371072 Nov  3 18:45 
6.0-RELEASE-i386-disc2.iso
-rw-r--r--   1 ftpuser  ftpusers   207 Nov  3 18:45 CHECKSUM.MD5
-rw-r--r--   1 ftpuser  ftpusers   312 Nov  3 18:45 CHECKSUM.SHA256
226 Listing completed.
ftp bye
221 Goodbye.

-- 
+++ATH
7MN; {{{
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broadcom driver code,

2008-09-18 Thread Ravi Mahadevappa
Hi,
  I am looking for Broadcom BCM57710 driver. Could you please let me know if
this driver is available in FreeBSD sources ?
If not can I have a look at the source ?

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