BSD derivatives

2007-06-02 Thread Blake Finley, MA, ABD-2
I am primarily concerned about security from internet hacking, and am 
therefore considering setting up a separate internet computer with BSD.

What is your association with Open BSD?  with Linux?
Are there copyright or other related issues involved?
It appears that FreeBSD is the most closely associated with the original 
Berkeley programmers.
I was told that OpenBSD provided the best security.  But I also note 
that changes have occurred at OBSD, and wonder if this is still true.


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


Fatal trap 30: reserved (unknown) fault while in kernel mode

2006-12-17 Thread Ma

I'm using the newest FreeBSD 6.2-PRERELEASE on our web server (compiled at
last friday, 06-12-15). But it always crashes these days.
The following information displayed on the screen with system crashed.

Fatal trap 30: reserved (unknown) fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0xc0b9bed1
stack pointer   = 0x28:0xdc95fcd8
frame pointer   = 0x28:0xdc95fcd8
code segment= base 0x0, limit oxf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflag = interrupt enabled, IOPL = 0
current process = 10 (idle: cpu1)
trap number = 30
panic: reserved (unknown) fault
cpuid = 1
uptime: 3m52s
ahc0: WARNING no command for scb 79 (cmdcmplt)
QOUTPOS = 235

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


Giving more CPU time to a swapping process?

2006-04-06 Thread Karl Ma
Hi,

I have a python program in freebsd, doing a heavey indexing job involving a
mega size array.

The process is so memory-hungry that it starts swap after the physical RAM
max out. (To be exact, I've lowered the per-process limitation to make this
possible).

However, when I use top to monitor the status, the STATE of the process
started to stay as swread for most of the time (instead of RUN before
using swap) and its priority has dropped to -20; and the corresponding WCPU
drops to around 1% only. And the CPU consumption time in total (for the
whole job) would only increase a minute or two even the process has been
running for more than a few hours.
In Windows XP, which has less per-task resource restriction (I guess?), I
did successfully complete the task on the same hardware machine; although it
takes more than 30 mins.

How can I push up the priority of the whole paging task? How can I
allocate more CPU attention to this process? I've tried using nice
but it does not help.

Please refer to the below top's snapshots at different times. (A) is earlier
than (B), and so on.

Thanks for your help in advance.


= (A) =
last pid:   766;  load averages:  0.66,  0.21,  0.11up 0+00:19:54
23:23:04
63 processes:  2 running, 61 sleeping
CPU states: 96.6% user,  0.0% nice,  3.4% system,  0.0% interrupt,  0.0%idle
Mem: 341M Active, 35M Inact, 98M Wired, 704K Cache, 91M Buf, 522M Free
Swap: 998M Total, 998M Free

PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
751 root1 1180   245M   244M RUN  0:59 96.57% python

= (B) =
last pid:   792;  load averages:  1.02,  0.70,  0.36up 0+00:24:20
23:27:30
62 processes:  2 running, 60 sleeping
CPU states: 92.5% user,  0.0% nice,  6.0% system,  1.5% interrupt,  0.0%idle
Mem: 766M Active, 67M Inact, 115M Wired, 45M Cache, 109M Buf, 3636K Free
Swap: 998M Total, 37M Used, 962M Free, 3% Inuse, 17M Out

PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
751 root1 1280   744M   743M RUN  5:14 94.63% python

= (C) =
last pid:   792;  load averages:  1.06,  0.81,  0.43up 0+00:25:54
23:29:04
62 processes:  2 running, 60 sleeping
CPU states: 95.5% user,  0.0% nice,  4.1% system,  0.4% interrupt,  0.0%idle
Mem: 849M Active, 2868K Inact, 115M Wired, 28M Cache, 109M Buf, 1656K Free
Swap: 998M Total, 95M Used, 903M Free, 9% Inuse, 236K Out

PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
751 root1 1280   848M   841M RUN  6:42 91.46% python

= (D) =
last pid:   792;  load averages:  1.15,  0.87,  0.47up 0+00:26:36
23:29:46
62 processes:  1 running, 61 sleeping
CPU states: 28.6% user,  0.0% nice, 18.8% system,  1.5% interrupt, 51.1%idle
Mem: 843M Active, 5380K Inact, 116M Wired, 31M Cache, 109M Buf, 1656K Free
Swap: 998M Total, 142M Used, 856M Free, 14% Inuse, 932K In, 56M Out

PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
751 root1 -200   878M   841M swread   7:14 79.05% python

= (E) =
last pid:   817;  load averages:  0.06,  0.36,  0.36up 0+00:32:31
23:35:41
62 processes:  1 running, 61 sleeping
CPU states:  4.9% user,  0.0% nice,  7.1% system,  0.0% interrupt, 88.0%idle
Mem: 803M Active, 76M Inact, 88M Wired, 28M Cache, 109M Buf, 1656K Free
Swap: 998M Total, 234M Used, 765M Free, 23% Inuse, 3148K In, 2284K Out

PID USERNAME  THR PRI NICE   SIZERES STATETIME   WCPU COMMAND
751 root1 -200   915M   756M swread   8:01  1.03% python
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem connecting a freebsd server using ssh

2006-03-01 Thread Ma
You've put your FreeBSD_B in data center? Perhaps the network architecture
causes the difficulty of ssh. Are these machines in the same subnet? Any
special configure in the network switchs and routers?

2006/2/24, Lei Sun [EMAIL PROTECTED]:

 Actually, both of them are releng_6-p4, and I had no problem
 connecting in both directions before Freebsd_B is put into the data
 center.

 Any more help or suggestions would be gladly appreciated.

 Thanks


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


Can gaim-openq connect to Tencent QQ now?

2006-02-05 Thread Ma Jie
I cannot use gaim-openq for serval days. Anybody know how to connect to QQ
under FreeBSD now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot start firefox 1.5 while firefox-zh_CN installed.

2005-12-23 Thread Ma Jie
When I installed firefox-zh_CN for firefox 1.5, the firefox cannot be
started. It always display a message window which show the following lines:
===
window id=main-window
^menuitem id=menu_HelpPopup_reportertoolmenu
^menu id=helpMenu
^
===
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fail to install subversion-1.3.0.r2 while compile with WITH_MOD_DAV_SVN=yes

2005-11-13 Thread Ma Jie
I'm using FreeBSD 6.0-STABLE. It is OK to compile subversion using
standalone mode. But when I want to use apache2 protocol with
subversion, a compiling failure occured as below:

--
# make WITH_MOD_DAV_SVN=yes install
===  Installing for subversion-1.3.0.r2
===   subversion-1.3.0.r2 depends on executable:  - not found
===Verifying install for  in /usr/ports/www/apache2
===   Returning to build of subversion-1.3.0.r2
===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
===   subversion-1.3.0.r2 depends on shared library: intl - found
-e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
libexec/apache2/mod_dav.so
-e: not found
*** Error code 127

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


Re: Fail to install subversion-1.3.0.r2 while compile with WITH_MOD_DAV_SVN=yes

2005-11-13 Thread Ma Jie
Yeah. It is compiled OK with the `-D' before the switch. But another
problem is that I cannot find the mod_dav_svn.so in ths system after
the compling. It is needed to use HTTP protocol in subversion.

And, when I install apache2 and subversion (after sucessful comple),
it prompted a lot of warnings show that some files are not installed
in to /usr/local/lib. Anyone have the same thing? I have tested on
FreeBSD 5.4-STABLE and 6.0-STABLE.

2005/11/14, Philip Lykke Carlsen [EMAIL PROTECTED]:
 Monday 14 November 2005 02:19 skrev Ma Jie:
  I'm using FreeBSD 6.0-STABLE. It is OK to compile subversion using
  standalone mode. But when I want to use apache2 protocol with
  subversion, a compiling failure occured as below:
 
  ---
 --- # make WITH_MOD_DAV_SVN=yes
  install
  ===  Installing for subversion-1.3.0.r2
  ===   subversion-1.3.0.r2 depends on executable:  - not found
  ===Verifying install for  in /usr/ports/www/apache2
  ===   Returning to build of subversion-1.3.0.r2
  ===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
  ===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
  ===   subversion-1.3.0.r2 depends on shared library: intl - found
  -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
  libexec/apache2/mod_dav.so
  -e: not found
  *** Error code 127
 
  Stop in /usr/ports/devel/subversion.

 make -DWITH_MOD_DAV_SVN=yes install

 in order to set a make-variable from the commandline you have to prepend a -D
 to the switch.. that should do the trick
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Fail to install subversion-1.3.0.r2 while compile with WITH_MOD_DAV_SVN=yes

2005-11-13 Thread Ma Jie
I'm not sure why. But now, I built it without ports. Just entered the
`work' directory and read the INSTALL file. After compile, I found the
mod_dav_svn.so and mod_authz_svn.so in the directory and copied them
manually into /usr/local/libexec/apache2/. It works now. But I don't
know how to automatic build it using ports.

2005/11/14, Ma Jie [EMAIL PROTECTED]:
 Yeah. It is compiled OK with the `-D' before the switch. But another
 problem is that I cannot find the mod_dav_svn.so in ths system after
 the compling. It is needed to use HTTP protocol in subversion.

 And, when I install apache2 and subversion (after sucessful comple),
 it prompted a lot of warnings show that some files are not installed
 in to /usr/local/lib. Anyone have the same thing? I have tested on
 FreeBSD 5.4-STABLE and 6.0-STABLE.

 2005/11/14, Philip Lykke Carlsen [EMAIL PROTECTED]:
  Monday 14 November 2005 02:19 skrev Ma Jie:
   I'm using FreeBSD 6.0-STABLE. It is OK to compile subversion using
   standalone mode. But when I want to use apache2 protocol with
   subversion, a compiling failure occured as below:
  
   ---
  --- # make WITH_MOD_DAV_SVN=yes
   install
   ===  Installing for subversion-1.3.0.r2
   ===   subversion-1.3.0.r2 depends on executable:  - not found
   ===Verifying install for  in /usr/ports/www/apache2
   ===   Returning to build of subversion-1.3.0.r2
   ===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
   ===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
   ===   subversion-1.3.0.r2 depends on shared library: intl - found
   -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
   libexec/apache2/mod_dav.so
   -e: not found
   *** Error code 127
  
   Stop in /usr/ports/devel/subversion.
 
  make -DWITH_MOD_DAV_SVN=yes install
 
  in order to set a make-variable from the commandline you have to prepend a 
  -D
  to the switch.. that should do the trick
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Fail to install subversion-1.3.0.r2 while compile with WITH_MOD_DAV_SVN=yes

2005-11-13 Thread Ma Jie
As shown in Jason's reply, I don't think use -D is a right thing when
make in ports. It doesn't make effect when use -D before
WITH_MOD_DAV_SVN at all.

2005/11/14, Philip Lykke Carlsen [EMAIL PROTECTED]:
 Monday 14 November 2005 02:19 skrev Ma Jie:
  I'm using FreeBSD 6.0-STABLE. It is OK to compile subversion using
  standalone mode. But when I want to use apache2 protocol with
  subversion, a compiling failure occured as below:
 
  ---
 --- # make WITH_MOD_DAV_SVN=yes
  install
  ===  Installing for subversion-1.3.0.r2
  ===   subversion-1.3.0.r2 depends on executable:  - not found
  ===Verifying install for  in /usr/ports/www/apache2
  ===   Returning to build of subversion-1.3.0.r2
  ===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
  ===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
  ===   subversion-1.3.0.r2 depends on shared library: intl - found
  -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
  libexec/apache2/mod_dav.so
  -e: not found
  *** Error code 127
 
  Stop in /usr/ports/devel/subversion.

 make -DWITH_MOD_DAV_SVN=yes install

 in order to set a make-variable from the commandline you have to prepend a -D
 to the switch.. that should do the trick.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]