Help with AMD64 install on nforce 590 sli motherboard

2008-12-23 Thread Brent Hostetler
Hello,

I am having a rough time trying to install freebsd on one of my machines.
The machine in question has the following: ATHLON 64 X2 6000 , EVGA
Motherboard 122-M2-NF59-AX (nForce 590 SLI), 2 SATA HDs, PATA DVDRW..

I have tried the following releases: Freebsd 6.4 Release, Freebsd 7.0
Release, Freebsd 7.1 RC1, and Freebsd Snapshot 8-Current. The snapshot of
current panics, 7  7.1 I can get to the installer screen but no sata drive
is detected. I see the controllers being detected fine.

I upgraded the mboard bios to latest version. Raid is deselected in BIOS. I
do not believe there is a hardware problem. The system currently boots
Windows XP fine. I installed Ubuntu 8.10 AMD64 sucessfully and it runs find.


I am at a loss of how to proceed.


Brent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [6.3] Assigning shutdown to eg. Syst?

2008-12-23 Thread Frank Shute
On Mon, Dec 22, 2008 at 03:31:27PM +0100, Gilles wrote:

 Hello
 
 I'd like to make it easier for my dad to shutdown a server. Instead of
 having him plug a keyboard, log on as root (with a complicated
 password) and finally type shutdown -h now, is it possible to assign
 this command to some unused key like eg. Syst? Even better, send this
 command only if the key is hit eg. three times within 2 seconds?
 
 Thank you.
 

What I'd do is use sudo to enable him to shutdown. Then I'd add this
to /etc/rc.local:

kbdcontrol -f 10 sudo shutdown -h now

So, pressing F10  hitting return will shut the machine down.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: [6.3] Assigning shutdown to eg. Syst?

2008-12-23 Thread perryh
 The only other thing being in group operator lets you run,
 apart from what you've added into /etc/devfs.{conf,rules} is
 /sbin/mksnap_ffs ..

In a default devfs config, it grants read permission to
the disk devices (presumably to enable running dump(8)).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound from snd_hda

2008-12-23 Thread Alexander Motin
Steve Franks wrote:
 Should I be asking you about the old snd_hda?  I'm having this same
 problem and ignoring it for some time (no sound), but on
 
 FreeBSD aire.franks-development.dyndns.biz 6.4-STABLE FreeBSD
 6.4-STABLE #9: Sat Dec 13 18:25:36 MST 2008
 r...@aire.franks-development.dyndns.biz:/usr/obj/usr/src/sys/GENERIC
 amd64
 
 instead of current.  

Just take HDA driver from CURRENT, it works fine on RELENG_7 and I think
it may work on your RELENG_6.

 I read the warning:
 
  A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering
  the snd_hda driver useless, which usually results in a state where the
  snd_hda driver seems to attach and work, but without any sound.

Such unresolved cases are happen sometimes, but they are really rare. I
have being reported only 2 or 3 of them while working on new driver.
Absolute majority of devices working fine out of the box, or sometimes
require minimal tuning to fix BIOS issues.

-- 
Alexander Motin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD and OpenCL

2008-12-23 Thread Eduardo Morras


Hello:

Is there any plan to implement/use the new OpenCL standard in 
FreeBSD? What's needed to use/implement it? Better 
nvidia/ati/intel/other gpu drivers? I don't want to switch my data 
crunching apps from FreeBSD to linux/windows due to this technology 
is already working there.



http://www.khronos.org/opencl/ 


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


Re: [6.3] Assigning shutdown to eg. Syst?

2008-12-23 Thread Ian Smith
On Tue, 23 Dec 2008, per...@pluto.rain.com wrote:
   The only other thing being in group operator lets you run,
   apart from what you've added into /etc/devfs.{conf,rules} is
   /sbin/mksnap_ffs ..
  
  In a default devfs config, it grants read permission to
  the disk devices (presumably to enable running dump(8)).

True, so if Gilles' dad really wants to run dump, he most likely can.

The .snap directory in the root of a (mounted) file system to be dumped 
has owner root, group operator, mode 0770 - paraphrasing from dump(8) -
and then he'd need mount and write permissions on the dump destination.

Doesn't sound too risky if Gilles trusts him enough to run shutdown :)

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [6.3] Assigning shutdown to eg. Syst?

2008-12-23 Thread Mike Clarke
On Tuesday 23 December 2008, Ian Smith wrote:

 Doesn't sound too risky if Gilles trusts him enough to run shutdown
 :)

For a desktop there's no logic in restricting the shutdown command to 
only trusted users anyway. An untrusted user can't be prevented from 
shutting down by pulling the plug, far better to let (and encourage) 
him use shutdown instead

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Wireless router?

2008-12-23 Thread Roland Smith
On Mon, Dec 22, 2008 at 04:31:56PM -0800, Nerius Landys wrote:
 Thank you all for your suggestions.  This will be a project for me
 over the holidays.  I decided to go the standalone wireless router
 approach.

That's probably the easiest way.

 I already have.  Also I don't know too much about security, like how
 to prevent eavesdroppers from connecting to my internal network.

There are some things you could do.  
- Use WPA2 if available or else at least WPA
  [http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access] 
- When using WPA with pre-shared keys, use long and random generated
  pre-shared keys. And change them often.
- You can turn off the broadcasting of the SSID 
  [http://en.wikipedia.org/wiki/SSID] to discourage casual snooping. 
  This will not deter a determined attacker, however.
- If you are using the pf(4) firewall you could use authpf(8) as an
  additional security measure. [http://www.openbsd.org/faq/pf/authpf.html]
  It requires users to log in via ssh(8) and alters the firewall rules
  as long as the ssh session exists. This requires that the user must
  have additional authentication in the form of passwords or ssh keys in
  order to use the network. It provides an additional layer of access control.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpN6XRlNFJcB.pgp
Description: PGP signature


Perl 5.10?

2008-12-23 Thread Dr. Jennifer Nussbaum
Its now just over a year since Perl 5.10.0 was relased, but its still not in 
FreeBSD. (/usr/ports/lang only has 5.8). 

Can someone tell me why? Is there any way to get it working stably? Is there 
any schedule for when it will be added? This is a major release of a major 
language, not an obscure maintenence update.

Jen


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


Re: Perl 5.10?

2008-12-23 Thread Jerry
On Tue, 23 Dec 2008 04:06:46 -0800 (PST)
Dr. Jennifer Nussbaum bg271...@yahoo.com wrote:

Its now just over a year since Perl 5.10.0 was relased, but its still
not in FreeBSD. (/usr/ports/lang only has 5.8). 

Can someone tell me why? Is there any way to get it working stably? Is
there any schedule for when it will be added? This is a major release
of a major language, not an obscure maintenence update.

I asked that same question on the FreeBSD-Ports forum a few months
ago; however, I never did receive a satisfactory answer. I believe it
is readily apparent that it will not be included with the next release
of FreeBSD; i.e., '7.1'.

Since it does seem to work quite well under Linux, I was wondering
if there was some fundamental flaw in FBSD that prevented it from
working correctly here. Even so, failing to get  a major project like
Perl running properly in over a year on FBSD does not bode well for the
OS.

-- 
Jerry
ges...@yahoo.com

When everything is coming your way, you are probably in the wrong lane.


signature.asc
Description: PGP signature


Re: Network Stack Code Re-write (Possible motivations...?)

2008-12-23 Thread Ott Köstner

Martes G Wigglesworth wrote:

A year, or two, ago, I found such information buried within the Juniper
website; however, upon recent attempts at further investigation, both
for learning about certifications, and subject matter for this topic, I
am unable to locate said information.  The historic Juniper blurbs
were very informative.  I am sure that the information is still
available, however, I have not been successful in locating it.
  

Maybe this link helps a little:
http://www.juniper.net/solutions/literature/white_papers/200264.pdf
Network Operating System Evolution JUNOS Software: Architectural 
Choices at the Forefront of Networking


Juniper’s main operating system, JUNOS software, is an excellent 
illustration of this industry
trend . The basis of the JUNOS software kernel comes from the FreeBSD 
UNIX OS, an open-source
software system . The JUNOS software kernel and infrastructure have 
since been heavily modified to
accommodate advanced and unique features such as state replication, 
nonstop active routing and
in-service software upgrades, all of which do not exist in the donor 
operating system . Nevertheless,
the JUNOS software tree can still be synchronized with the FreeBSD 
repository to pick the latest in
system code, device drivers and development tool chains, which allows 
Juniper Networks engineers to

concentrate on network-specific development .



Best regards,
O.K.



--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/


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

Re: truss is buggy?

2008-12-23 Thread Laszlo Nagy



It looks like the ptrace() syscall is the problem:

DESCRIPTION
 The ptrace() system call provides tracing and debugging
 facilities.  It allows one process (the tracing process) to
 control another (the traced process).  The tracing process must
 first attach to the traced process, and then issue a series of
 ptrace() system calls to control the execution of the process, as
 well as access process memory and register state.  For the
 duration of the tracing session, the traced process will be
 ``re-parented'', with its parent process ID (and resulting
 behavior) changed to the tracing process.

I imagine that also explains why a truss'ed program will die if you
kill -9 the truss process.  It looks like the reset parent when
trussing behaviour appeared back in 1996 (sys_process.s r1.21).  The
fix would probably be to store the pid of the tracing process somewhere
other than p_ppid...
  
My problem is that there is a process (namely, postgresql stats 
collector) that may have a bug inside. I was asked on the devel list to 
send in some traces so they can figure out why it is in an infinite 
loop, eating 100% CPU time.


However, when I start truss-ing this process, getppid() call changes 
return value. The postgresql stats collector periodically checks if the 
postmaster (its parent process) is alive or not, and will exit 
unconditionally if the postmaster has died. After I start truss-ing, the 
stats collector exits, making it impossible to debug the problem.


I'm not able to change the stats collector's source code, because I'm 
not a C programmer, and because it is a production server and this would 
be too risky.


I also tried to install strace, but it is not available on my platform 
(amd64). I cannot move to i386, because (apparently) the problem exists 
on this platform only. Is this a hopeless situation?


BTW I'm not an expert, but I believe that the process being debugged 
should not see any difference, and it should not be able to tell if it 
is debugged or not. I think this is a bug indeed.



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


May I load DLL same as SO in FreeBSD?

2008-12-23 Thread KES


Is it possible to load DLL?

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


Re: Wireless router?

2008-12-23 Thread Roger Olofsson



Nerius Landys skrev:

Thank you all for your suggestions.  This will be a project for me
over the holidays.  I decided to go the standalone wireless router
approach.  I will need to figure out how to configure my standalone
wireless router to pass everything through to the internal LAN that
I already have.  Also I don't know too much about security, like how
to prevent eavesdroppers from connecting to my internal network.  One
of you mentioned access lists, and I assume that means I tell the
wireless router which MAC addresses it accepts, and nothing else.  Is
there any other way to provide security?  Like a password-protected
network?  What are the buzzwords for these security schemes?  Which
security scheme do you recommend for preventing random people within
proximity from connecting to my internal netowrk?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello again Nerius,

You have understood the MAC filtering correctly. You should also encrypt 
the wifi traffic by using at least WPA encryption. For most wifi routers 
this is a checkbox and a key or a passphrase that you enter. All clients 
that wants access and have their MAC address in the access list will 
have to enter the passphrase/key on the first connect.


This means that you control the MAC address list - all new wifi devices 
that wants to connect to your wifi LAN needs to get added to the MAC 
access list - manually by you. You also control the encryption 
passphrase - all wifi clients that wants to connect to your wifi LAN 
need to know the encryption passphrase. If you use WPA for encryption 
you will have a higher degree of security than using the old and 
hackable WEP.


Of course both the MAC list and the encryption key/passphrase are stored 
in the wifi router - so if you don't set a proper password for admin 
access to this one - all is lost. You should disable wireless access for 
admin (remote management) to it - only allow cabled access and use a 
good strong password.


Buzzwords? I dunno - I hope people on the mailing list help me out 
here... Is there a better/simpler way of doing this?


Greetings

/Roger

For a good laugh ... Enjoy Jason Dixons presentations from the BSDcon on 
http://www.youtube.com/watch?v=g7tvI6JCXD0feature=channel_page or 
http://www.youtube.com/watch?v=mMmbjJI5su0feature=channel_page





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


Re: Wireless router?

2008-12-23 Thread Roger Olofsson



Corey Chandler skrev:

Nerius Landys wrote:

Thank you all for your suggestions.  This will be a project for me
over the holidays.  I decided to go the standalone wireless router
approach.  

Good man!

I will need to figure out how to configure my standalone
wireless router to pass everything through to the internal LAN that
I already have.  
It's called Bridge mode on most APs-- it does exactly what you 
describe.  Just make sure things like DHCP server are turned off or 
you'll see some... odd breakages.

Also I don't know too much about security, like how
to prevent eavesdroppers from connecting to my internal network.  One
of you mentioned access lists, and I assume that means I tell the
wireless router which MAC addresses it accepts, and nothing else.  
Ugh.  MAC addresses are trivial to spoof-- I usually don't bother with 
using them for security, although I do use 'em to ensure that particular 
machines always inherit particular addresses.



Is there any other way to provide security?  Like a password-protected
network?  What are the buzzwords for these security schemes?  Which
security scheme do you recommend for preventing random people within
proximity from connecting to my internal netowrk?
  


Absolutely.  Google for WPA or WPA2; WEP has been broken and is trivial 
to bruteforce, so I'd not bother with that.


Once you get the unit in, feel free to email me off list for 
configuration questions; it sounds like a fun project!


-- CJC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23




Hello Corey,

I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - 
as well as ips to the FreeBSD gateway and dns. This is for the LAN part 
of the router - then another internal LAN ip for the wifi part.


To examplify.

Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns 
192.168.0.10 and 192.168.0.11.


Wifi wifi part - network 10.0.0.1 - 10.0.0.10.

MAC addresses are indeed trivial to spoof - but if combined with a wifi 
encryption key/passphrase it adds to security.


Greetings

/Roger
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: May I load DLL same as SO in FreeBSD?

2008-12-23 Thread cpghost
On Tue, Dec 23, 2008 at 03:04:11PM +0200, KES wrote:
 Is it possible to load DLL?

AFAIK, no. The loader would need to undertand the PE-COFF format
(which it doesn't -- yet?). But more importantly, DLLs tend to
interact with other Windows DLLs and with the NT kernel, and we don't
have an NTlator comparable to the linuxulator.

Of course, there's always /usr/ports/emulators/wine, which has the
limited ability to load DLLs.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to use openjade chages from from sgml to tex ?

2008-12-23 Thread PstreeM China
Hello all:

 i want change the format from sgml to tex , search the google find the
methods about : sgmltools , openjade and so on ...

 after install the ports sgml-tools-lite,openjade ,there is no man about
sgml-tools. read the man openjda ,there is a option :

  -t output_type
  output_type specifies the type of output as follows:

  ^^
  tex TeX (used for SGML/XML to TeX transformations)

  but when i use the command : %openjade -t tex book.sgml  (the file of
book.sgml is in the path /usr/doc/en_US.ISO8859-1/books/faq/)
  the command tell me: Segmentation fault

 can somebody help me , tell me how to use the openjade to change format
from sgml to tex , or how to change sgml to tex format ???  thanks !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


user and group probleme

2008-12-23 Thread Eric Turgeon
Ok In gnome menu you have shoftware call user and group is halo you to add 
remove user  group. it work good in FreeBSD  7.0 but in 7.1rc and 6.4 in
cant do noting whit in the root like user. is look  like  if  I don t have
the permission to do the change on root.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How can I link two separate internal networks to two separate external networks

2008-12-23 Thread Geoff Roberts
Hi Mike,

On Tue, 23 Dec 2008 04:14:51 am you wrote:
 I think this will work.  Let's assume:

 $vlan10_if - macro for your tagged VLAN 10 interface
 $vlan20_if - macro for your tagged VLAN 20 interface
 $vlan50_if - macro for your tagged VLAN 50 interface
 $vlan60_if - macro for your tagged VLAN 60 interface
 $vlan50_gw = 10.10.10.9
 $vlan60_gw = 10.10.10.13

 pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) from any to any
 pass in on $vlan20_if route-to ($vlan60_if $vlan60_gw) from any to any

 That would be in conjunction with your NAT's and any RDR's as well.

Spot on! Thanks for that, it worked like a charm.

I have a couple more questions below. Firstly, just for completeness, I've 
listed what the NAT and RDRs look like for others that may be interested.

$vlan10_server - macro for IP address of server on vlan10

nat on $vlan50_if proto {tcp udp icmp} from $vlan10_if to any - ($vlan50_if)

rdr on $vlan50_if proto tcp from any to ($vlan50_if) port 80 - $vlan10_server 
port 80

pass in on $vlan50_if inet proto tcp from any to $vlan10_server port 80
pass out  on $vlan50_if inet proto { tcp udp icmp }  from ($vlan50_if)  to any


Remaining questions:

a) I found I didn't need a reply-to statement on the redirect for the vlan50 
interface above. Could someone elaborate or point to a URL that might help 
explain a little more why this wasn't needed and in what circumstance I might 
need a reply-to statement.

There isn't much about reply-to in the pf pdf. Since my default route is on 
vlan60 as opposed to vlan50 where the redirect is, you'd think I need a 
reply-to at first glance.

Is the single route-to (pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) 
from any to any) covering me here?

If I had a redirect such as:

rdr on $vlan50_if proto tcp from any to ($vlan50_if) port 80 - $vlan20_server 
port 80

would I need a reply-to?

b) I've also found I needed to assign IP addresses (doesn't matter what they 
are) to the actual interfaces the VLANs sit on within the FreeBSD box (int0 
and ext0).

If not, things don't appear work. Should this be necessary, and if so why? If 
I shouldn't need IP addresses on the actual interfaces themsleves I've 
probably mucked up someting else in the pf rules :)

For example:

  ext0 (192.168.1.1)
|
--
||
vlan50  vlan60

Thanks again for your help,

Geoff


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


Alert Notification: Billing Pending Inactivation in Account

2008-12-23 Thread customersolutions--ysm

Renew Your Account Now !

   Dear Advertiser,
  This is your official notification from Yahoo! Inc. that the
   service(s) listed below will be deactivated and deleted if not renewed
   immediately.
  As the Primary Contact, you must renew the service(s) listed below
   or it will be deactivated and deleted.
  [1]Renew Now your Yahoo Sponsored Search services.
   SERVICE: Yahoo Sponsored Search
   EXPIRATION: December, 23 2008
   Thank you for using Yahoo Inc service.
   We appreciate your business and the opportunity to serve you.
   Yahoo Inc. Sponsored Search Service
   *Note : Please do not reply to this Customer Service e-mail. 

  Copyright ©2008 Yahoo! Inc. All rights reserved.

References

   1. 
http://www.yahoobusinessupdate.com/marketingsolutions/adui/renew/login/loadSignin.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: user and group whit gnome

2008-12-23 Thread Glen Barber
Please, do not reply to me off-list.

On Tue, Dec 23, 2008 at 11:13 AM, Eric Turgeon corpsemassa...@gmail.com wrote:
 ok In gnome menu you have shoftware call user and group is halo you to add 
 remove user  group. it work good in FreeBSD  7.0 but in 7.1rc and 6.4 in
 cant do noting whit in the root like user. is like  if  I dont have the
 permision to do the change on root.

 On Tue, Dec 23, 2008 at 4:43 AM, Glen Barber glen.j.bar...@gmail.com
 wrote:

 On Mon, Dec 22, 2008 at 10:54 PM, Eric Turgeon corpsemassa...@gmail.com
 wrote:
  Hi my name is Eric Turgeon I use freebsd 7.0, 6.4  7.1rc with gnome.
  But my big probleme with 6.4  7.1 is user and group cant be use in
  root what is the problem we have with gnome2.22 and not 2.20. please
  help
  tanks.


Your response is unclear, at best.  Could you provide specific details
about what you need/want?


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems installing FreeBSD 7.0

2008-12-23 Thread Jack Raats
Hi,

At this moment I have problems installing FreeBSD 6.4 and FreeBSD 7.0.
After booting from CD the system I get the menu. I have tried all possible 
options.
The system starts checking all hardware but freezes after finding the CD-ROM 
drives printing the GEOM_LABLE (on FB 7.0, not 6.4)
(acd0)

The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB

Can anyone help me. I never had this problems before on other systems.

Thanks 
Jack
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems installing FreeBSD 7.0

2008-12-23 Thread Glen Barber
On Tue, Dec 23, 2008 at 1:30 PM, Jack Raats j...@jarasoft.net wrote:
 Hi,

 At this moment I have problems installing FreeBSD 6.4 and FreeBSD 7.0.
 After booting from CD the system I get the menu. I have tried all possible 
 options.
 The system starts checking all hardware but freezes after finding the CD-ROM 
 drives printing the GEOM_LABLE (on FB 7.0, not 6.4)
 (acd0)

 The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB

 Can anyone help me. I never had this problems before on other systems.


Have you tried disabling DMA or ACPI?

hw.ata.ata_dma=0


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


starting Tomcat6

2008-12-23 Thread Joseph Simmons
uname -a gives:
7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I installed Apache Tomcat from the ports collection
(/usr/ports/www/tomcat6) without error. From the documentation that
I've seen, starting tomcat is done with the following command

/usr/local/etc/rc.d/tomcat6 start

But when I do this (as root or otherwise), the tomcat process doesn't
seem to start. Should there be some other way of starting the process?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Matthew Seaman

Joseph Simmons wrote:

uname -a gives:
7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I installed Apache Tomcat from the ports collection
(/usr/ports/www/tomcat6) without error. From the documentation that
I've seen, starting tomcat is done with the following command

/usr/local/etc/rc.d/tomcat6 start

But when I do this (as root or otherwise), the tomcat process doesn't
seem to start. Should there be some other way of starting the process?


Did you put:

  tomcat6_enable=YES

into /etc/rc.conf ?

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Sed question

2008-12-23 Thread Gary Kline
On Mon, Dec 22, 2008 at 08:53:36AM +, Matthew Seaman wrote:
 Gary Kline wrote:
 
  anyway, this is one for giiorgos, or another perl wiz. i've
  been using the perl subsitution cmd one-liner for years with
  unfailing success.  is there a way of deleting lines with perl
  using the same idea as:
 
perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN
 
 To delete lines matching a R.E. (grep -v effectively):
 
perl -ni.bak -e 'm/SOMETHING/ || print;' file1 file2 fileN
 

Matthew, 

I've been trying, unsuccessfully, to parse the above.  What does
the m [in 'm/SOMETHING/' do.  i thought it was 'match'  ... and
another one, just FWIW: can perl's regex be set to ignore cases?


 To delete lines by number from many files -- eg. exclude lines 3 to 7:
 
perl -ni.bak -e 'print unless ( 3 .. 7 ); close ARGV if eof;' \
   file1 file2 fileN
 
 The malarkey with 'close ARGV' is necessary because otherwise perl
 won't reset the input line number counter ($.) for each new file.


yeah, it's pretty important to reset the counter to zero since
i've got so many files.

one way to avoid that extended line would be to embed the perl
string within a /bin/shell script, :-)  Scripts within scripts,
eh? lol.  Oh: a final question.  does the perl regex match vi's
/\foo\ ?  it seemed like this plot in /OLDSTRING/ failed last
sunday.  i'm not entirely sure, tho.

thanks much,

gary



 The range expression ( N .. M ) can take matching terms rather than
 line numbers, so you can also do things like:
 
perl -ni.bak -e 'print unless ( m/FIRST/ .. m/SECOND/ )' \
file1 file2 fileN
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.17a release of Jottings: http://jottings.thought.org/index.php

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


NTPD on 7.1-PRERELEASE

2008-12-23 Thread Jason C. Wells
My ntpd will not sync on my newly installed 7.1-PRERELEASE hosts.  The 
configuration is the same as other correctly time synched hosts.  They 
are behind the same firewall.  The only difference is that these hosts 
are running 7.1.


Does anyone have any tricks for getting ntpd to sync on 7.1?  Did 
something time related change in the kernel?


Thanks,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Joseph Simmons
It is now :), but that should only effect things when the computer
starts up. I'm still not able to start tomcat from it's rc.d script.

On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 Joseph Simmons wrote:

 uname -a gives:
 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 I installed Apache Tomcat from the ports collection
 (/usr/ports/www/tomcat6) without error. From the documentation that
 I've seen, starting tomcat is done with the following command

 /usr/local/etc/rc.d/tomcat6 start

 But when I do this (as root or otherwise), the tomcat process doesn't
 seem to start. Should there be some other way of starting the process?

 Did you put:

  tomcat6_enable=YES

 into /etc/rc.conf ?

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


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


Re: starting Tomcat6

2008-12-23 Thread matt donovan
On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons josephdsimm...@gmail.comwrote:

 It is now :), but that should only effect things when the computer
 starts up. I'm still not able to start tomcat from it's rc.d script.

 On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman
 m.sea...@infracaninophile.co.uk wrote:
  Joseph Simmons wrote:
 
  uname -a gives:
  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
  r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
  I installed Apache Tomcat from the ports collection
  (/usr/ports/www/tomcat6) without error. From the documentation that
  I've seen, starting tomcat is done with the following command
 
  /usr/local/etc/rc.d/tomcat6 start
 
  But when I do this (as root or otherwise), the tomcat process doesn't
  seem to start. Should there be some other way of starting the process?
 
  Did you put:
 
   tomcat6_enable=YES
 
  into /etc/rc.conf ?
 
 Cheers,
 
 Matthew
 
  --
  Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
  PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


no you must have tomcat_enable=yes  in your rc.conf to even run the script
unless you forcestart it. so ps aux does not show tomcat as running?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gnome problem with user and group.

2008-12-23 Thread Eric Turgeon
Ok In gnome menu you have shoftware call user and group is halo you to add 
remove user  group. It work good in FreeBSD  7.0 but in 7.1rc and 6.4 in
cant do noting whit in the root like user. is look  like  if  I don t have
the permission to do the change on root.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems installing FreeBSD 7.0

2008-12-23 Thread Jack Raats


- Original Message - 
From: SDH Admin ad...@stardothosting.com



The system starts checking all hardware but freezes after finding the
CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4)
(acd0)

The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB



Can you try to paste exactly what was on the screen before the freeze 
for

both 6.4 and 7.0?


How can I do this if the systeem freezes???

Jack


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


RE: Problems installing FreeBSD 7.0

2008-12-23 Thread SDH Admin
 The system starts checking all hardware but freezes after finding the
 CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4)
 (acd0)
 
 The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB


Can you try to paste exactly what was on the screen before the freeze for
both 6.4 and 7.0?

Thanks.



---
Kevin K.
Systems Administrator
www.stardothosting.com


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


Re: starting Tomcat6

2008-12-23 Thread Joseph Simmons
I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
process when I ps aux. When I try to start the script, nothing is
returned either, I'd expect there to be some success or failure
message as there is when starting apache22.

On Tue, Dec 23, 2008 at 1:23 PM, matt donovan kitchet...@gmail.com wrote:


 On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons josephdsimm...@gmail.com
 wrote:

 It is now :), but that should only effect things when the computer
 starts up. I'm still not able to start tomcat from it's rc.d script.

 On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman
 m.sea...@infracaninophile.co.uk wrote:
  Joseph Simmons wrote:
 
  uname -a gives:
  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
  r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
  I installed Apache Tomcat from the ports collection
  (/usr/ports/www/tomcat6) without error. From the documentation that
  I've seen, starting tomcat is done with the following command
 
  /usr/local/etc/rc.d/tomcat6 start
 
  But when I do this (as root or otherwise), the tomcat process doesn't
  seem to start. Should there be some other way of starting the process?
 
  Did you put:
 
   tomcat6_enable=YES
 
  into /etc/rc.conf ?
 
 Cheers,
 
 Matthew
 
  --
  Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
  PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 no you must have tomcat_enable=yes  in your rc.conf to even run the script
 unless you forcestart it. so ps aux does not show tomcat as running?


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


RE: Problems installing FreeBSD 7.0

2008-12-23 Thread SDH Admin




 How can I do this if the systeem freezes???



Good old fashioned pen + paper (as long as it's not too long). Never fails.



---
Kevin K.
Systems Administrator
www.stardothosting.com


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


Going back to generic kernel

2008-12-23 Thread Zbigniew Szalbot
Hi friends,

I have a test machine with a custom kernel, which I copied (as the
handbook suggests) to /root/kernels/. However, I do not really need
it.

My question is how do I switch back to the generic kernel? Many thanks
and all the best to you all!

-- 
Zbigniew Szalbot
www.fairtrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Glen Barber
On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons
josephdsimm...@gmail.com wrote:
 I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
 process when I ps aux. When I try to start the script, nothing is
 returned either, I'd expect there to be some success or failure
 message as there is when starting apache22.


After entering the rcvar to rc.conf, did you *start* tomcat again?
Doesn't tomcat also require apache22_enable=YES in rc.conf?

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Going back to generic kernel

2008-12-23 Thread Jason C. Wells

Zbigniew Szalbot wrote:

Hi friends,

I have a test machine with a custom kernel, which I copied (as the
handbook suggests) to /root/kernels/. However, I do not really need
it.

My question is how do I switch back to the generic kernel? Many thanks
and all the best to you all!

  
/root/kernels is not booted by default.  I doubt this is the kernel that 
is running.


To run generic again, simply install the generic kernel much the same 
way you did the custon kernel.


cd /usr/src
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC

or set KERNCONF in /etc/make.conf

If you tweaked /boot/loader.conf to load something other than 
/boot/kernel/kernel then you'll need to untweak it.



Later,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Joseph Simmons
Yes, I tried starting it again and got the same result as before which
is nothing at all happened.
Apache HTTP server works fine, it starts with the computer in fact.
I'm not sure if Apache's configuration would effect Tomcat, if so, the
following is in rc.conf

apache22_enable=YES
apache22_profiles=
apache22limits_enable=NO
apache22_flags=
apache22limits_args=-e -C daemon
apache22_http_accept_enable=NO


On Tue, Dec 23, 2008 at 1:46 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons
 josephdsimm...@gmail.com wrote:
 I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
 process when I ps aux. When I try to start the script, nothing is
 returned either, I'd expect there to be some success or failure
 message as there is when starting apache22.


 After entering the rcvar to rc.conf, did you *start* tomcat again?
 Doesn't tomcat also require apache22_enable=YES in rc.conf?

 --
 Glen Barber

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


Re: starting Tomcat6

2008-12-23 Thread Glen Barber
On Tue, Dec 23, 2008 at 2:52 PM, Joseph Simmons
josephdsimm...@gmail.com wrote:
 Yes, I tried starting it again and got the same result as before which
 is nothing at all happened.
 Apache HTTP server works fine, it starts with the computer in fact.
 I'm not sure if Apache's configuration would effect Tomcat, if so, the
 following is in rc.conf

 apache22_enable=YES
 apache22_profiles=
 apache22limits_enable=NO
 apache22_flags=
 apache22limits_args=-e -C daemon
 apache22_http_accept_enable=NO


Try this:


/usr/local/etc/rc.d/tomcat rcvar


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Going back to generic kernel

2008-12-23 Thread Zbigniew Szalbot
Hello,

 My question is how do I switch back to the generic kernel? Many thanks

 /root/kernels is not booted by default.  I doubt this is the kernel that is
 running.
It is as I symlinked it.

 To run generic again, simply install the generic kernel much the same way
 you did the custon kernel.

 cd /usr/src
 make buildkernel KERNCONF=GENERIC
 make installkernel KERNCONF=GENERIC

That was all that I needed. I just failed to realize I need to compile
it one more time and specify a generic one! Thanks!

-- 
Zbigniew Szalbot
www.fairtrade.net.pl
www.slowo.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Joseph Simmons
Ok I get what's below

[r...@cougar /usr/local/etc/rc.d]# ./tomcat6 rcvar
# tomcat60
tomcat60_enable=NO

I haven't restarted this computer since I've installed tomcat, could
that be a problem?

On Tue, Dec 23, 2008 at 1:53 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 On Tue, Dec 23, 2008 at 2:52 PM, Joseph Simmons
 josephdsimm...@gmail.com wrote:
 Yes, I tried starting it again and got the same result as before which
 is nothing at all happened.
 Apache HTTP server works fine, it starts with the computer in fact.
 I'm not sure if Apache's configuration would effect Tomcat, if so, the
 following is in rc.conf

 apache22_enable=YES
 apache22_profiles=
 apache22limits_enable=NO
 apache22_flags=
 apache22limits_args=-e -C daemon
 apache22_http_accept_enable=NO


 Try this:


 /usr/local/etc/rc.d/tomcat rcvar


 --
 Glen Barber

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


Re: starting Tomcat6

2008-12-23 Thread Peter Boosten
Glen Barber wrote:
 On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons
 josephdsimm...@gmail.com wrote:
 I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
 process when I ps aux. When I try to start the script, nothing is
 returned either, I'd expect there to be some success or failure
 message as there is when starting apache22.

 
 After entering the rcvar to rc.conf, did you *start* tomcat again?
 Doesn't tomcat also require apache22_enable=YES in rc.conf?
 

It's tomcat60_enable=YES

(/usr/local/etc/rc.d/tomcat6 rcvar)

You won't see any 'tomcat' process running, only java processes (default
listening on port 8180 (use sockstat).

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Matthew Seaman

Joseph Simmons wrote:

I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
process when I ps aux. When I try to start the script, nothing is
returned either, I'd expect there to be some success or failure
message as there is when starting apache22.


The process you'ld start is called 'java' according to ps(1) -- tomcat
runs inside that.

You certainly should get some output from the startup script.  Seeing nothing
at all is a classic symptom of not having the right settings in rc.conf

Try using sockstat(1) to see if you have anything likely with a network
listener on ports 8180 8005 or 8009.  Note that tomcat doesn't bind to
port 80 (or 443 for SSL enabled versions) unless you modify server.xml 


If there's a port 8180 listener, then http://localhost:8180/ should get
you the default tomcat home page.

If not then you should be able to find some logs in
/usr/local/apache-tomcat6.0/logs  which may offer clues.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: starting Tomcat6

2008-12-23 Thread Peter Boosten
Joseph Simmons wrote:
 Ok I get what's below
 
 [r...@cougar /usr/local/etc/rc.d]# ./tomcat6 rcvar
 # tomcat60
 tomcat60_enable=NO

put this in your /etc/rc.conf
tomcat60_enable=YES

then

/usr/local/etc/rc.d/tomcat6 start

look for the java process and browse to http://yourhost:8180

 
 I haven't restarted this computer since I've installed tomcat, could
 that be a problem?

No, it isn't.

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: starting Tomcat6

2008-12-23 Thread Joseph Simmons
Changing tomcat6_enable to tomcat60_enable worked I'm able to connect
on port 8180, thanks for the help.

On Tue, Dec 23, 2008 at 1:57 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 Joseph Simmons wrote:

 I have tomcat6_enable=YES in rc.conf and I don't see any tomcat
 process when I ps aux. When I try to start the script, nothing is
 returned either, I'd expect there to be some success or failure
 message as there is when starting apache22.

 The process you'ld start is called 'java' according to ps(1) -- tomcat
 runs inside that.

 You certainly should get some output from the startup script.  Seeing
 nothing
 at all is a classic symptom of not having the right settings in rc.conf

 Try using sockstat(1) to see if you have anything likely with a network
 listener on ports 8180 8005 or 8009.  Note that tomcat doesn't bind to
 port 80 (or 443 for SSL enabled versions) unless you modify server.xml
 If there's a port 8180 listener, then http://localhost:8180/ should get
 you the default tomcat home page.

 If not then you should be able to find some logs in
 /usr/local/apache-tomcat6.0/logs  which may offer clues.

Cheers,

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


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


Re: Going back to generic kernel

2008-12-23 Thread Glen Barber
On Tue, Dec 23, 2008 at 2:45 PM, Zbigniew Szalbot zszal...@gmail.com wrote:
 Hi friends,

 I have a test machine with a custom kernel, which I copied (as the
 handbook suggests) to /root/kernels/. However, I do not really need
 it.

 My question is how do I switch back to the generic kernel? Many thanks
 and all the best to you all!


cd /usr/src; make kernel; reboot

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Going back to generic kernel

2008-12-23 Thread Manolis Kiagias
Zbigniew Szalbot wrote:
 Hi friends,

 I have a test machine with a custom kernel, which I copied (as the
 handbook suggests) to /root/kernels/. However, I do not really need
 it.

 My question is how do I switch back to the generic kernel? Many thanks
 and all the best to you all!

   
If you don't have a copy of your previous GENERIC kernel, you can still
get one from the CD.
Here is an example, using a FreeBSD 7.0-RELEASE CD:

# mount /cdrom
# cd /cdrom/7.0-RELEASE/kernels
# ./install.sh GENERIC

This will install it to /boot/GENERIC and you can copy it to
/boot/kernel if you wish. Or you can use nextboot(8) to boot it once and
see what happens.  Keep in mind that if you have updated your system
(e.g. freebsd-update), this kernel may not be in sync with the rest of
the system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sed question

2008-12-23 Thread Matthew Seaman

Gary Kline wrote:

On Mon, Dec 22, 2008 at 08:53:36AM +, Matthew Seaman wrote:

Gary Kline wrote:


anyway, this is one for giiorgos, or another perl wiz. i've
been using the perl subsitution cmd one-liner for years with
unfailing success.  is there a way of deleting lines with perl
using the same idea as:

  perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN

To delete lines matching a R.E. (grep -v effectively):

   perl -ni.bak -e 'm/SOMETHING/ || print;' file1 file2 fileN



	Matthew, 


I've been trying, unsuccessfully, to parse the above.  What does
the m [in 'm/SOMETHING/' do.  i thought it was 'match'  ... and
another one, just FWIW: can perl's regex be set to ignore cases?


It's the standard perl regular expression matching operator.  See the
section on Regexp Quote-Like Operators in the perlop(1) man page.  What
is does is quite similar in English to the way it's written in perl: it
checks each line, and either matches SOMETHING or prints the line.

Perl RE's can do just about anything (including some things that are
actually impossible with pure Regular Expressions (like counting opening
and closing brackets)).  To make the match case insensitive just use:

   m/SOMETHING/i

(There are several other ways to achieve the same effect: this is perl, after
all)




To delete lines by number from many files -- eg. exclude lines 3 to 7:

   perl -ni.bak -e 'print unless ( 3 .. 7 ); close ARGV if eof;' \
file1 file2 fileN

The malarkey with 'close ARGV' is necessary because otherwise perl
won't reset the input line number counter ($.) for each new file.



yeah, it's pretty important to reset the counter to zero since
i've got so many files.

one way to avoid that extended line would be to embed the perl
string within a /bin/shell script, :-)  Scripts within scripts,
eh? lol.  Oh: a final question.  does the perl regex match vi's
/\foo\ ?  it seemed like this plot in /OLDSTRING/ failed last
sunday.  i'm not entirely sure, tho.


No need to do that.  perl is not just for one-liners, and it can be used as
the interpreter on shebang lines.  In fact, that's probably the most common way
of running perl stuff.  You can write the above (in a more long-winded way) as:

#!/usr/bin/perl -n

print unless ( 3 .. 7 );
close ARGV if eof;

Save as a file 'foo.pl', make it executable by chmod +x foo.pl and then just
run it as:

   ./foo.pl file1 file2 fileN

I'm not sure what \foo\ means in vi(1), but I'll hazard a guess that you're 
trying to match word boundaries.  Sure perl can do that.  You want the '\b'

thingy[*], like so: m/\bfoo\b/  which will match 'foo' as a separate word.  See
perlre(1) for the gory details (but be warned, it's a long read).

I did see another answer to your question by Jonathan McKeown who was actually a
lot more thorough about how to do this than I was.  He discussed the important
point about what happens if eg. you apply the 'delete lines 3 .. 7' command to a
file with only 6 lines, and more importantly how to stop that ruining your whole
day.

Cheers,

Matthew



thanks much,

gary







The range expression ( N .. M ) can take matching terms rather than
line numbers, so you can also do things like:

   perl -ni.bak -e 'print unless ( m/FIRST/ .. m/SECOND/ )' \
   file1 file2 fileN

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW







[*] Described as a 'zero width assertion' in the man page, but that's too
much typing.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: [solved] Re: usb-stick accessible, but doesn't boot

2008-12-23 Thread clemens fischer
 Hans Petter Selasky:

 Try the attached patch to sys/kern/vfs_mount.c

 Thanks for reporting. I have been aware about this issue for some time
 now, but the patch has not been committed to current yet.

Sorry, currently I get build errors, possibly unrelated:

  === zyd (depend)
  @ - /usr/src-main/sys
  machine - /usr/src-main/sys/i386/include
  ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h
  awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
  awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
  awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
  rm -f .depend
  mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
-I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 
/usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c
  1 error
  *** Error code 2
  1 error
  *** Error code 2
  1 error

I'll svn the repo (to HEAD of CURRENT) and try again.


regards, clemens




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


Re: NTPD on 7.1-PRERELEASE

2008-12-23 Thread Nerius Landys
There was recently a thread that I started relating to ntpd not
starting correctly becuase DNS and network were not available at the
time of start.  Do a

  ps -U root | grep ntpd

If you see 2 processes, then the thread I mention may apply to you.
If you see one or no processes, then that thread probably does not
apply to you.  In the thread, we were talking about how the DNS
resolver helper process did not return successfully, causing 2
processes to appear and the ntpd not working.

The subject of the thread in question is named and ntpd start order in rc.d.

On Tue, Dec 23, 2008 at 10:58 AM, Jason C. Wells
j...@highperformance.net wrote:
 My ntpd will not sync on my newly installed 7.1-PRERELEASE hosts.  The
 configuration is the same as other correctly time synched hosts.  They are
 behind the same firewall.  The only difference is that these hosts are
 running 7.1.

 Does anyone have any tricks for getting ntpd to sync on 7.1?  Did something
 time related change in the kernel?

 Thanks,
 Jason
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


boot0 loader minor problems

2008-12-23 Thread EforeZZ
Hello,

I have a minor problem with boot0 loader on Acer Extensa 5220.
I have four slices: FreeBSD, Windows, FreeBSD, FreeBSD.

The problem is that sometimes boot0 code loads OS from active
partition no matter which of F[1-4] I press. Sometimes boot0 code
starts loading OS from the default slice and gives me no chances to
select the slice to boot from (I have ticks=12000!)

Should it be a problem with my buggy BIOS?

Thanks for any suggestions.

Best regards,
EforeZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[3]: can not start SVNserve

2008-12-23 Thread KES
Здравствуйте, KES.

Вы писали 21 декабря 2008 г., 13:49:04:

K Здравствуйте, Mel.

K Вы писали 21 декабря 2008 г., 13:10:47:

M On Thursday 18 December 2008 09:03:54 KES wrote:
 Здравствуйте, Mel.

 Вы писали 18 декабря 2008 г., 9:05:35:

 M On Wednesday 17 December 2008 21:02:07 KES wrote:
  Здравствуйте, Mel.
 
  Вы писали 17 декабря 2008 г., 9:11:19:
 
  M On Sunday 14 December 2008 16:11:17 KES wrote:
   Здравствуйте, Polytropon.
  
   Вы писали 14 декабря 2008 г., 15:11:35:
  
   P On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar
  
   P woj...@wojtek.tensor.gdynia.pl wrote:
 su: Sorry


 kes# pw user mod svn -s /bin/bash
 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
 kes# /usr/local/etc/rc.d/svnserve start
 Starting svnserve.
 su: Sorry
   
try to change directory to existent
  
   P (1) What's /bin/bash? Check existing shell.
  
   P (2) As you said: Check existing directory.
  
   P (3) Regarding su, check for wheel group inclusion.
  
   home# uname -a
   FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12
   02:11:24 EEST 2008
   k...@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user
   show svn
   svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin
  
   As you can see on 'home' machine svn user has no valid shell also it
   has not valid home directory and it is not included into wheel group
  
   But svnserve is started and works fine. With same settings svnserve
   does not work on
   kes# uname -a
   FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov
   23 17:19:12 EET 2008
   k...@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386
 
  M echo 'rc_debug=YES'/etc/rc.conf
  M /usr/local/etc/rc.d/svnserve start
 
  M Show output from /var/log/messages.
 
  kes# kes# /usr/local/etc/rc.d/svnserve start
  /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set
  to YES. Starting svnserve.
  /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c
  'sh -c /usr/local/bin/svnserve -d --listen-port=3690 --foreground -r
  /var/db/trunk' su: Sorry

 M Does this command work from the command line?
 M If not, does it work if called as su -fm rather then su -m?
 M If that does not work, does the primary group svn is supposed to be in
 exist?


 kes# su -m svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690
 --foreground -r /var/db/trunk' su: Sorry
 kes# su -fm svn -c 'sh -c /usr/local/bin/svnserve -d --listen-port=3690
 --foreground -r /var/db/trunk' su: Sorry
 kes# pw group show svn
 svn:*:1005:
 kes# cat /etc/group | grep svn
 svn:*:1005:
 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash

 As you see it does not work also with -fm option


 Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below)
 Notice that on both system account is locked, has no valid shell and
 home directory
 on FreeBSD 7.0 when I try to login with svn user it says: This account is
 currently not available. on FreeBSD 7.1 when I try to login with svn user
 it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1?



 home# pw user show svn
 svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin
 home# su svn
 This account is currently not available.


 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
 kes# su svn
 su: Sorry
 kes# pw user mod svn -s /usr/bin/nologin
 kes# pw user show svn
 svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin
 kes# su svn
 su: Sorry

M The problem is elsewhere. Probably in pam(3) on the faulty machine. The only
M change to su.c from 7.0 to 7.1 is fixing a compiler warning. There are 3
M instances where su exits with Sorry. All occasions are logged to syslog.
M Can you dig those log entries up?

K Dec 21 13:47:54 kes su: kes to root on /dev/ttyp5
K Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: checkyesno: svnserve_enable is 
set to YES.
K Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: run_rc_command: doit:
K su -m svn -c 'sh -c /usr/local/bin/svnserve -d
K --listen-port=3690 --foreground -r /var/db/trunk'
K Dec 21 13:47:58 kes su: pam_acct_mgmt: authentication error

K Yeah, there is problem with pam. Why pam restrict root to run command
K under other user?

Strange, but mysql works... ((

kes# /r/mysql-server start
/r/mysql-server: DEBUG: checkyesno: mysql_enable is set to YES.
/r/mysql-server: DEBUG: pid file (/var/db/mysql/kes.net.ua.pid): not readable.
/r/mysql-server: DEBUG: run_rc_command: start_precmd: mysql_prestart
/r/mysql-server: DEBUG: checkyesno: mysql_limits is set to NO.
Starting mysql.
/r/mysql-server: DEBUG: run_rc_command: doit: su -m mysql -c 'sh -c 
/usr/local/bin/mysqld_safe  --defaults-extra-file=/var/db/mysql/my.cnf 
--user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/kes.net.ua.pid   
/dev/null 21 '
/r/mysql-server: DEBUG: run_rc_command: start_postcmd: mysql_poststart


-- 
С уважением,
 KES

Re: boot0 loader minor problems

2008-12-23 Thread Glen Barber
On Tue, Dec 23, 2008 at 5:47 PM, EforeZZ efor...@gmail.com wrote:
 Hello,

 I have a minor problem with boot0 loader on Acer Extensa 5220.
 I have four slices: FreeBSD, Windows, FreeBSD, FreeBSD.

 The problem is that sometimes boot0 code loads OS from active
 partition no matter which of F[1-4] I press. Sometimes boot0 code
 starts loading OS from the default slice and gives me no chances to
 select the slice to boot from (I have ticks=12000!)

 Should it be a problem with my buggy BIOS?


Or a corrupt bootsector.  One way to test if it is hardware/software
related would be to install sysutils/grub

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


biojava port fails on jakarta-commons-dbcp

2008-12-23 Thread Kayven Riese
My prompt for root is KV_BSD#

Here is my java version:

KV_BSD# java -version
java version 1.6.0_07
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Here is my BSD build:

KV_BSD# uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC
2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I was trying to build this port:

KV_BSD# pwd
/usr/ports/biology/biojava
KV_BSD#
-- 

Here are the error messages:

===  Building for jakarta-commons-dbcp-1.2.1_2
Buildfile: build.xml

BUILD FAILED
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88)
at
javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
at
org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120)
at
org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104)
at
org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96)
at org.apache.tools.ant.Main.runBuild(Main.java:683)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88)
at
javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
at
org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120)
at
org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104)
at
org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96)
at org.apache.tools.ant.Main.runBuild(Main.java:683)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Bad version number in .class file
*** Error code 1

Stop in /usr/ports/java/jakarta-commons-dbcp.
*** Error code 1

Stop in /usr/ports/java/jakarta-commons-dbcp.
/usr/ports/biology/biojava

I tried googling, have a feeling that java is the culprit, but I am getting
a stomach ache now.

*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org

Use Sysinstall/Configure on geom's

2008-12-23 Thread Stephen Corbesero

How can I use the visual label editor on a geom object like a mirror,
or is using bsdlabel/disklabel the only way to create the partitions?



-- 
Stephen CorbeseroIt's always darkest 
Bethlehem, PA 18015  before pitch black.
corbes...@ptd.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Kernel Variables Sanity Check

2008-12-23 Thread Jason C. Wells
Based on someone elses historical message I tried changing the time 
counter from TSC to i8254


# sysctl kern.timecounter.hardware=i8254

and after doing some manual calculations I tweaked

# sysctl machdep.i8254_freq=1187216
# machdep.i8254_freq: 1193182 - 1187216

Is doing this safe?  I'm concerned that there are unforeseen 
consequences to messing with these kernel variables.  Ntpd seems to like 
this setup.  Anything to make ntpd happy.


And if I may, why can't ntpd do this? (Don't answer that.) I use the 
FINE software to set my clock so I don't have to.  It's supposed to make 
my life easier.


Thanks,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org